test_sparse_mathematical_core segmentation fault

Description
unittest/test_sparse_operator.py::test_sparse_mathematical_core segmentation fault on centos-cpu
Occurrences
https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fcentos-cpu/detail/PR-18656/18/pipeline/#step-259-log-1771

There can also be  Bus error in create_sparse_array after test_sample_multinomial_num_outputs
"Bus errors are generally caused by applications trying to access memory that hardware cannot physically address" https://stackoverflow.com/questions/36970110/how-to-determine-the-cause-for-bus-error
[2020-11-07T05:38:26.553Z] tests/python/gpu/test_operator_gpu.py::test_normal_generator PASSED      [ 82%]

[2020-11-07T05:38:26.809Z] tests/python/gpu/test_operator_gpu.py::test_uniform_generator PASSED     [ 83%]

[2020-11-07T05:38:30.066Z] tests/python/gpu/test_operator_gpu.py::test_gamma_generator PASSED       [ 83%]

[2020-11-07T05:38:33.322Z] tests/python/gpu/test_operator_gpu.py::test_exponential_generator PASSED [ 84%]

[2020-11-07T05:38:35.831Z] tests/python/gpu/test_operator_gpu.py::test_poisson_generator PASSED     [ 84%]

[2020-11-07T05:38:39.094Z] tests/python/gpu/test_operator_gpu.py::test_negative_binomial_generator PASSED [ 85%]

[2020-11-07T05:39:11.490Z] tests/python/gpu/test_operator_gpu.py::test_multinomial_generator PASSED [ 85%]

[2020-11-07T05:39:11.490Z] tests/python/gpu/test_operator_gpu.py::test_with_random_seed PASSED      [ 86%]

[2020-11-07T05:39:11.490Z] tests/python/gpu/test_operator_gpu.py::test_random_seed PASSED           [ 86%]

[2020-11-07T05:39:11.490Z] tests/python/gpu/test_operator_gpu.py::test_unique_zipfian_generator PASSED [ 87%]

[2020-11-07T05:39:11.490Z] tests/python/gpu/test_operator_gpu.py::test_zipfian_generator PASSED     [ 87%]

[2020-11-07T05:40:47.841Z] tests/python/gpu/test_operator_gpu.py::test_shuffle PASSED               [ 88%]

[2020-11-07T05:40:47.841Z] tests/python/gpu/test_operator_gpu.py::test_randint PASSED               [ 88%]

[2020-11-07T05:40:47.841Z] tests/python/gpu/test_operator_gpu.py::test_randint_extremes PASSED      [ 89%]

[2020-11-07T05:41:34.440Z] tests/python/gpu/test_operator_gpu.py::test_randint_generator PASSED     [ 89%]

[2020-11-07T05:41:34.440Z] tests/python/gpu/test_operator_gpu.py::test_randint_without_dtype PASSED [ 90%]

[2020-11-07T05:41:34.440Z] tests/python/gpu/test_operator_gpu.py::test_sample_multinomial_num_outputs PASSED [ 90%]

[2020-11-07T05:42:00.951Z] Fatal Python error: Bus error

[2020-11-07T05:42:00.951Z]

[2020-11-07T05:42:00.951Z] Current thread 0x00007fbb4be7f740 (most recent call first):

[2020-11-07T05:42:00.951Z]   File "/work/mxnet/python/mxnet/test_utils.py", line 505 in create_sparse_array

[2020-11-07T05:42:00.951Z]   File "/work/mxnet/python/mxnet/test_utils.py", line 543 in create_sparse_array_zd

[2020-11-07T05:42:00.951Z]   File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 596 in check_sparse_mathematical_core

[2020-11-07T05:42:00.951Z]   File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 726 in check_binary_op_with_scalar

[2020-11-07T05:42:00.951Z]   File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 1133 in test_sparse_mathematical_core

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/python.py", line 167 in pytest_pyfunc_call

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/python.py", line 1445 in runtest

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 134 in pytest_runtest_call

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 210 in <lambda>

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 237 in from_call

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 210 in call_runtest_hook

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/flaky/flaky_pytest_plugin.py", line 129 in call_and_report

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 99 in runtestprotocol

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 84 in pytest_runtest_protocol

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/flaky/flaky_pytest_plugin.py", line 92 in pytest_runtest_protocol

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 271 in pytest_runtestloop

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 247 in _main

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 197 in wrap_session

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/config/__init__.py", line 93 in main

[2020-11-07T05:42:00.951Z]   File "/opt/rh/rh-python36/root/usr/bin/pytest", line 8 in <module>

[2020-11-07T06:01:37.785Z] Timeout (0:20:00)!

[2020-11-07T06:01:37.785Z] Thread 0x00007fbb4be7f740 (most recent call first):

[2020-11-07T06:01:37.785Z]   File "/work/mxnet/python/mxnet/test_utils.py", line 505 in create_sparse_array

[2020-11-07T06:01:37.785Z]   File "/work/mxnet/python/mxnet/test_utils.py", line 543 in create_sparse_array_zd

[2020-11-07T06:01:37.785Z]   File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 596 in check_sparse_mathematical_core

[2020-11-07T06:01:37.785Z]   File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 726 in check_binary_op_with_scalar

[2020-11-07T06:01:37.785Z]   File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 1133 in test_sparse_mathematical_core

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/python.py", line 167 in pytest_pyfunc_call

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/python.py", line 1445 in runtest

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 134 in pytest_runtest_call

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 210 in <lambda>

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 237 in from_call

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 210 in call_runtest_hook

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/flaky/flaky_pytest_plugin.py", line 129 in call_and_report

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 99 in runtestprotocol

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/runner.py", line 84 in pytest_runtest_protocol

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/flaky/flaky_pytest_plugin.py", line 92 in pytest_runtest_protocol

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 271 in pytest_runtestloop

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 247 in _main

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 197 in wrap_session

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/_pytest/config/__init__.py", line 93 in main

[2020-11-07T06:01:37.785Z]   File "/opt/rh/rh-python36/root/usr/bin/pytest", line 8 in <module>

[2020-11-07T08:26:36.330Z] Sending interrupt signal to process

https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fcentos-gpu/detail/leezu-patch-3/4/pipeline


Initial installer version

TODO:

CI: Build installer and publish in releases, along with script
Actually download binary
Verify signatures
Telemetry on both the script and installer

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

Project coverage is 67.08%. Comparing base (2146517) to head (f8d1885).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #110   +/-   ##
=======================================
  Coverage   67.08%   67.08%
=======================================
  Files          35       35
  Lines        3476     3476
  Branches      606      606
=======================================
  Hits         2332     2332
  Misses        826      826
  Partials      318      318


generate_request_xml: add LTI launch url option

Per the LTI grade passback spec, add the ability to configure a launch url with the scored response.

Coverage increased (+0.01%) to 98.454% when pulling 250cc3ec7cc30bffa562116940314f6bda3a8fc5 on sdreher:add-lti-launch-url into 5088b1d3a0e7525a32a759397d244c84ae332b73 on mitodl:master.

@sdreher is this a canvas-specific implementation, or is this part of the LTI specification?


Support mutation policies

Mutation policies allow incoming requests to be altered to fit user requirements.
This is for example needed by thePSP capabilities policy:

AllowedCapabilities - Provides a list of capabilities that are allowed to be added to a container. The default set of capabilities are implicitly allowed. The empty set means that no additional capabilities may be added beyond the default set. * can be used to allow all capabilities.
RequiredDropCapabilities - The capabilities which must be dropped from containers. These capabilities are removed from the default set, and must not be added. Capabilities listed in RequiredDropCapabilities must not be included in AllowedCapabilities or DefaultAddCapabilities.
DefaultAddCapabilities - The capabilities which are added to containers by default, in addition to the runtime defaults. See the Docker documentation for the default list of capabilities when using the Docker runtime.
SELinux

A mutating policy is needed to implement the DefaultAddCapabilities behaviour

Merged on main


UnitaryHack Bounty - Research and Implement Sorting Networks with HierarQcal

Issue: Research and implement sorting networks using the Python package HierarQcal.
Overview
I recently came across the concept of sorting networks and it seems like hierarQcal might be a good fit to implement (and hopefully generate/discover) these networks. I don't know much of the theory behind these sorting networks, so part of this task will be some research (but not neccesarily too much). The idea is to create a jupyter notebook tutorial containing demonstrations and some analysis of sorting networks implemented with hierarQcal. I've provided an example of bubble sort below, use that as reference for implementing two to three other sorting networks. Ultimately, the underlying reason for the issue is to explore how (or if) HierarQcal could facilitate efficient sorting algorithm discovery, contributing to automatic algorithm generation. Use this perspective during implementation and research of these algorithms.
Outcome

A Jupyter notebook tutorial that contains atleast two sorting networks (outside the bubble sort example, altough include it in the notebook).

Example: Bubble Sort
Here's an example of a Bubble Sort implementation using HierarQcal:
from hierarqcal import (
    Qcycle,
    Qmotif,
    Qinit,
    Qmask,
    Qunmask,
    Qpermute,
    Qpivot,
    plot_circuit,
    plot_motif,
    get_tensor_as_f,
    Qunitary,
    Qhierarchy,
)

def comparator(bits, symbols=None, state=None):
    v1, v2 = state[bits[0]], state[bits[1]]
    if v1 > v2:
        state[bits[0]], state[bits[1]] = v2, v1
    return state

h_comparator = Qunitary(comparator, n_symbols=0, arity=2)
array = [8, 5, 2, 1, 3, 4, 6, 7, 7, 7]
nb = len(array)  # number of indices
hierq = Qinit(len(array), state=array) + (
    Qcycle(stride=1, step=1, offset=0, mapping=h_comparator, boundary="open") + Qmask("*1")
) * (nb - 1)

# Plot the circuit
plot_circuit(hierq, plot_width=40)
sorted_array = hierq()
print(f"Starting array: {array}\n Sorted array: {sorted_array}")

Hi @matt-lourens, I have made PR with some sorting networks (insertion, bubble and bitonic) along with explanations.

@Gopal-Dahale, @AbdullahKazi500 after reviewing your implementations I decided to go with @Gopal-Dahale solution for the bounty. It showcases core HierarQcal functionality in a pedagogical way, which was the main goal.
Thanks for both your efforts, it is very much appreciated :)


fixed some clippy warnings

This is mostly minor readability stuff, the code is already quite nice. :+1:

Thanks. There's lots of great small fixes there and some I don't care for. I don't agree with for example changing match to if let just because it's possible.

Always good to learn something new. Feel free to pick the changes you like (of if I find the time I'll roll back the unwanted ones).
Replacing match with if let is deemed a readability oomprovememt, because a) less syntactic elements to read and b) it implies one indentation less (which in a good number of cases leads to less line wrapping / over-long lines).

Ok, now it has a full review. The unmentioned changes are all very good.

Glad you like them. :smile:

Thanks!

You're welcome.


Owner / Onwer

Just a very small issue.
In the table headers, the owner-user text is misspelled. It says: "Onwer"

Yeeeeeah, there were lot of `em during development :D

Fixed in 0.9


Rethink preview workflow

Use a better system for previewing development build.
Current ideas:

Publish everything to GitHub Pages with GitHub Actions, creating subpaths for each preview.
https://github.com/rossjrw/pr-preview-action
https://github.com/dynamic-flying/website/blob/b420fd031635799749aac38f7de3930cef84c56c/.github/workflows/deploy.yml
Deploy the website on Vercel. To avoid having to use the Teams plan (since the repo is in an organization), we could use GitHub Actions to trigger deployments for both production and previews on a user account (instead of using Vercel's git integration), provided that we assign a (sub)domain for previews
https://gist.github.com/ky28059/1c9af929a9030105da8cf00006b50484
https://github.com/amondnet/vercel-action/

Update: currently implementing EndBug/pages-preview on this and other org repos


Move multiqc module prefix for nf-test to module

Move nf-test prefix override to the module
PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/rnaseq branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

My current PR https://github.com/nf-core/rnaseq/pull/1360 is working on the current failing tests, so I'll fix that there.
And I do need the MultiQC update from this PR to simplify my life.
So merging with the failing tests, but it's on me

Passed on rerun, but yes, we should probably mark it as variable


Update: support for Android Gradle Plugin 7.3

This changes the plugin to specifically support Android Gradle Plugin 7.3.
This mainly means that the plugin now also checks enableUnitTestCoverage and enableAndroidTestCoverage as well as the now (in AGP 7.3) deprecated property testCoverageEnabled.

Codecov Report
Base: 82.50% // Head: 81.21% // Decreases project coverage by -1.28% :warning:

Coverage data is based on head (2b8da2c) compared to base (4ce3c6c).
Patch coverage: 28.57% of modified lines in pull request are covered.

:exclamation: Current head 2b8da2c differs from pull request most recent head 8fdd768. Consider uploading reports for the commit 8fdd768 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #68      +/-   ##
============================================
- Coverage     82.50%   81.21%   -1.29%
- Complexity       41       43       +2
============================================
  Files             5        5
  Lines           200      197       -3
  Branches         25       26       +1
============================================
- Hits            165      160       -5
+ Misses            9        8       -1
- Partials         26       29       +3

Impacted Files
Coverage Δ

...overage/utilities/AndroidGradlePluginExtensions.kt
96.55% <ø> (ø)

.../neotech/plugin/rootcoverage/RootCoveragePlugin.kt
76.06% <27.27%> (-0.99%)
:arrow_down:

...neotech/plugin/rootcoverage/JaCoCoConfiguration.kt
83.33% <33.33%> (-5.96%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Exit when go checks detect error

ignore vendor dirs if created in modules folders
Exit if there is an error found in check runs looping over folders
Fix EndpointData lint error

/lgtm


[pipelineX](runtime filter) Support runtime filter

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


[Feature Request] Add machines from UI

A way to run headscale nodes register --user USERNAME --key nodekey:XXXXXXXX from the UI. Maybe even a drop down for available usernames.

Closing as this is already a core feature.


Error reading NVD JSON data, Unable to find the NVD CVE file to parse

Hi,
We have created an internal repo on nexus for depcheck, but I have a problem below:
[INFO] Checking for updates
[INFO] NVD CVE requires several updates; this could take a couple of minutes.
[INFO] Download Started for NVD CVE - 2002
[INFO] Download Started for NVD CVE - 2003
[INFO] Download Complete for NVD CVE - 2003  (322 ms)
[INFO] Download Started for NVD CVE - 2004
[INFO] Processing Started for NVD CVE - 2003
[INFO] Download Complete for NVD CVE - 2002  (577 ms)
[INFO] Download Started for NVD CVE - 2005
[INFO] Processing Started for NVD CVE - 2002
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2002_2398745653574793309.json.gz
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2003_7448899820510686670.json.gz
[INFO] Download Complete for NVD CVE - 2004  (424 ms)
[INFO] Download Started for NVD CVE - 2006
[INFO] Processing Started for NVD CVE - 2004
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2004_2414371881170684486.json.gz
[INFO] Download Complete for NVD CVE - 2005  (333 ms)
[INFO] Processing Started for NVD CVE - 2005
[INFO] Download Started for NVD CVE - 2007
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2005_8247824530253879486.json.gz
[INFO] Download Complete for NVD CVE - 2006  (531 ms)
[INFO] Download Started for NVD CVE - 2008
[INFO] Processing Started for NVD CVE - 2006
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2006_3146548212901953364.json.gz
[INFO] Download Complete for NVD CVE - 2007  (489 ms)
[INFO] Download Started for NVD CVE - 2009
[INFO] Processing Started for NVD CVE - 2007
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2007_2209090821476802776.json.gz
[INFO] Download Complete for NVD CVE - 2008  (423 ms)
[INFO] Download Started for NVD CVE - 2010
[INFO] Processing Started for NVD CVE - 2008
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2008_9134910220805490824.json.gz
[INFO] Download Complete for NVD CVE - 2009  (377 ms)
[INFO] Download Started for NVD CVE - 2011
[INFO] Processing Started for NVD CVE - 2009
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2009_8617390526745908815.json.gz
[INFO] Download Complete for NVD CVE - 2010  (379 ms)
[INFO] Download Started for NVD CVE - 2012
[INFO] Processing Started for NVD CVE - 2010
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2010_2204283014946268543.json.gz
[INFO] Download Complete for NVD CVE - 2011  (430 ms)
[INFO] Download Started for NVD CVE - 2013
[INFO] Processing Started for NVD CVE - 2011
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2011_1987178189021637216.json.gz
[INFO] Download Complete for NVD CVE - 2012  (438 ms)
[INFO] Download Started for NVD CVE - 2014
[INFO] Processing Started for NVD CVE - 2012
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2012_5001065790305474533.json.gz
[INFO] Download Complete for NVD CVE - 2013  (578 ms)
[INFO] Download Started for NVD CVE - 2015
[INFO] Processing Started for NVD CVE - 2013
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2013_7981421368064943752.json.gz
[INFO] Download Complete for NVD CVE - 2014  (588 ms)
[INFO] Download Started for NVD CVE - 2016
[INFO] Processing Started for NVD CVE - 2014
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2014_2497919000458216057.json.gz
[INFO] Download Complete for NVD CVE - 2015  (463 ms)
[INFO] Download Started for NVD CVE - 2017
[INFO] Processing Started for NVD CVE - 2015
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2015_1683625026553888938.json.gz
[INFO] Download Complete for NVD CVE - 2016  (626 ms)
[INFO] Download Started for NVD CVE - 2018
[INFO] Processing Started for NVD CVE - 2016
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2016_8274755403901123648.json.gz
[INFO] Download Complete for NVD CVE - 2017  (855 ms)
[INFO] Download Started for NVD CVE - 2019
[INFO] Processing Started for NVD CVE - 2017
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2017_5053649956610266724.json.gz
[INFO] Download Complete for NVD CVE - 2018  (911 ms)
[INFO] Download Started for NVD CVE - 2020
[INFO] Processing Started for NVD CVE - 2018
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2018_706104892712439422.json.gz
[INFO] Download Complete for NVD CVE - 2019  (926 ms)
[INFO] Download Started for NVD CVE - 2021
[INFO] Processing Started for NVD CVE - 2019
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2019_4272581814775706952.json.gz
[INFO] Download Complete for NVD CVE - 2021  (115 ms)
[INFO] Processing Started for NVD CVE - 2021
[ERROR] Error reading NVD JSON data: /tmp/dctemp642ec4e5-bb26-4085-b6b8-ea94861affe1/cve2021_8460101549006597923.json.gz
[INFO] Download Complete for NVD CVE - 2020  (792 ms)
[INFO] Processing Started for NVD CVE - 2020
[ERROR] Unable to find the NVD CVE file to parse
org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to find the NVD CVE file to parse
	at org.owasp.dependencycheck.data.update.nvd.NvdCveParser.parse(NvdCveParser.java:105)
	at org.owasp.dependencycheck.data.update.nvd.ProcessTask.importJSON(ProcessTask.java:139)
	at org.owasp.dependencycheck.data.update.nvd.ProcessTask.processFiles(ProcessTask.java:152)
	at org.owasp.dependencycheck.data.update.nvd.ProcessTask.call(ProcessTask.java:113)
	at org.owasp.dependencycheck.data.update.nvd.ProcessTask.call(ProcessTask.java:40)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.zip.ZipException: Not in GZIP format
	at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165)
	at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79)
	at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91)
	at org.owasp.dependencycheck.data.update.nvd.NvdCveParser.parse(NvdCveParser.java:89)
	... 8 common frames omitted

Downloaded files did not corrupt, I have check, for example:
[root@host]# cat nvdcve-1.1-modified.json
{
  "CVE_data_type" : "CVE",
  "CVE_data_format" : "MITRE",
  "CVE_data_version" : "4.0",
  "CVE_data_numberOfCVEs" : "978",
  "CVE_data_timestamp" : "2021-02-23T11:00Z",
  "CVE_Items" : [ {
    "cve" : {

    ........

#Last part of file
      },
      },
      "description" : {
        "description_data" : [ {
          "lang" : "en",
          "value" : "OpenNMS Meridian 2016, 2017, 2018 before 2018.1.25, 2019 before 2019.1.16, and 2020 before 2020.1.5, Horizon 1.2 through 27.0.4, and Newts <1.5.3 has Incorrect Access Control, which allows local and remote code execution using JEXL expressions."
        } ]
      }
    },
    "configurations" : {
      "CVE_data_version" : "4.0",
      "nodes" : [ ]
    },
    "impact" : { },
    "publishedDate" : "2021-02-17T21:15Z",
    "lastModifiedDate" : "2021-02-18T02:21Z"
  } ]
}

Scan command:
./bin/dependency-check.sh \
--project java \
--scan ./the-example-app.java \
 --out ./dependency-check-report.xml \
 --format XML \
 --cveUrlBase https://repo.host/repository/owasp/nvdcve-1.1-%d.json \
 --cveUrlModified https://repo.host/repository/nvdcve-1.1-modified.json.gz

Any idea?
Thanks,

It looks like you missed the .gz on the cveUrlBase?
./bin/dependency-check.sh \
--project java \
--scan ./the-example-app.java \
 --out ./dependency-check-report.xml \
 --format XML \
 --cveUrlBase https://repo.host/repository/owasp/nvdcve-1.1-%d.json.gz \
 --cveUrlModified https://repo.host/repository/nvdcve-1.1-modified.json.gz

fair enough, I didn't see that. Thanks. :)


Using the current search bar implementation to search notifications based on message

In this PR, we will add searching functionality for notifications. Users will be able search for notifications based on their message attribute in the universal search bar.

Closing Comment: Users may now use the search bar to search for Notifications. This is done by adding a query option for the universal search bar in base, creating a view function for the results of the query, and displaying the results as search_results.html. We also had to modify part of user_inbox as a bug fix as message attributes were not being linked properly. Both developers worked together on all parts of the PR.

Issue Score: Excellent
Comments:
Nice work!


⚠ File access (beta) has degraded performance

In 4def6cc, File access (beta) (https://beta.fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 4379 ms

Resolved: File access (beta) performance has improved in 2ac2cfa.


Upgraded the react native version to 0.25^ and fixed warnings

From version 0.25^ onwards, the core packages ( React, Component, PropTypes ..etc ) should be loaded from React. This is a breaking change in react-native version 0.26
Also Updated the examples to use the latest react-native-router-flux

Cool thanks! I was working on this but couldn't get the upgrade to work

👍

@Anthonyzou When can you release the new NPM version ?


Replace get_backend with backend in the README

The method get_backend has been renamed to backend, but the README was not updated.
Grepping get_backend, it still appears in additional places in the code (fake provider and integration tests); these possibly should be updated too.

In qiskit-terra, ProviderV1 uses get_backend() rather than backend(). JobV1 uses backend(). So I guess that for QiskitRuntimeService we should actually use get_backend(), and remove the method `backend() (deprecate first).
@kt474 , @jyu00 - please approve before I make the change.

Yeah it looks like we have both backend() and get_backend() for a while now, and neither is marked as deprecated. Since QiskitRuntimeService inherits from ProviderV1, I agree it makes more sense to remove backend() (especially since we can't remove a parent method).

Do we really want to remove backend()? It's used all over our documentation/tutorials and I feel like it's the more popular option. Also it makes more sense to have a backends() method that returns multiple backends and a backend() method that returns a single backend. Removing this method would require most of our users to switch to get_backend().

Well since get_backend() is defined in the parent class, our choices are

Keep them both
Remove backend()
Have a ProviderV2 to rename get_backend() to backend()
Stop inheriting from Provider

I'm not a big fan of (1) because we'd have different methods that do the same thing. (3) is not worth the hassle, and (4) is a possibility but we'd be breaking away from Qiskit Provider, which is not a huge deal but it'd be nice if things under the Qiskit umbrella are more consistent.
@1ucian0 do you have any thoughts on this?

I think transition to ProviderV2 is the best in the long run. The interface is mature and will probably will be the only one supported in qiskit 2.0.

From the discussion in the providerV2 PR (Jan 2021, https://github.com/Qiskit/qiskit/pull/5629 ) @mtreinish raises the point that the Provider abstract class does not bringing much. Qiskit knows about backends independently from where they come. I think option 4 is simpler for qiskit-ibm-runtime and, probably, for all the providers out there.

From the discussion in the providerV2 PR (Jan 2021, Qiskit/qiskit#5629 ) @mtreinish raises the point that the Provider abstract class does not bringing much. Qiskit knows about backends independently from where they come. I think option 4 is simpler for qiskit-ibm-runtime and, probably, for all the providers out there.

@1ucian0 I don't see any specific comment in that PR regarding the value of Provider. Does Qiskit plan to deprecate/remove Provider entirely? Even though option 4 is the easiest, do we really want qiskit-ibm-runtime to be the only one that uses backend() whereas the rest providers have get_backend()?

We did not explicitly thought about it yet, but maybe it is a good moment for that, towards 1.0.
Here a summary for reasons to drop it:

ProviderV1 does not give you much: name, backends, and get_backend. That's it. And one of their names is debatable.
A provider is a collection of backends. Backend is the actual thing that Qiskit cares about. Providers are not structures that Qiskit handles around (like it used to https://github.com/Qiskit/qiskit-ibm-runtime/pull/419), so there is no need to prescribe a specific API
Different providers have, for example, different credential handling. So having a different way to fetch a backend looks like minor to me.

If you think the discussion is controversial enough, I could open a short RFC.

ok so the conclusion is that QiskitRuntimeService will stop inheriting from Provider, with the expectation that Provider will be going away. QiskitRuntimeService will then free to use backend() instead of get_backend().


http cleanup

Why are you keeping the hex_to_buffer?

I think we can get rid of the http.rs files altogether if we have dependencies on faucet.

@sander2 @gregdhill the http.rs files are indeed dependencies of the faucet.rs files in the vault and relayer. I assumed we still want the auto-registration with faucet while Beta lasts, which is why those files are needed


Type definition is dissapeared after adding field of enum type

After I'm just adding a new field (enum_field) to the working example:
#[derive(Clone)]
pub struct SomeType {
    pub id: ID,
    test_field: CustomDecimal,
    test_field_2: Interface,
    enum_field: TestEnum,
}

#[Object]
impl SomeType {

    ...

    async fn enum_field(&self) -> &TestEnum {
        &self.enum_field
    }
}

#[Enum]
enum TestEnum {
    Value1,
}

SomeType's definition will be disappeared from the service.sdl query's response.
Repro-project is here: https://github.com/rkudryashov/async-graphql-reproducer

Please upgrade to 1.12.15.  😂


update to use OHM-DAI balancer pool for OHM price feed

OHM-DAI and OHM-ETH on balancer now have liquidity and we've moved away from OHM-DAI-ETH


NON_DEFAULT Include type does not work as expected with jackson >2.7

According to release notes announcement: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.7
NON_DEFAULT behaviour was changed. Due to that current annotation on max/min fields for FieldImpl does not work and in resource i can see "max": "-1".
I'd suggest to fix that by making defaults to be null, rather then -1.

seems duplicat for #27


Rename 'RunQueryJob'->'RunQueryAsyncJob'.

Indicate that it fits the asynchronous query usage model, spelled out in https://cloud.google.com/bigquery/querying-data#asyncqueries
Rename the client factory method accordingly.

LGTM


fix: create copy when using array.sort()

array.sort() mutates the array in-place instead of returning a new array so we need to be careful because our store is frozen (immutable, read-only).

related Slack thread
Thanks Eric!


ProjectSettingsMenu: confusing design

Click Add git credentials (btw, it's already confusing because this window allows the user to change existing git connection as well as existing credentials)
Change something
Click Save
Confusion: do we need to click Save changes once again? Can we discard changes in Git info by clicking Cancel?

Add git credentials was removed from project settings


annotations_module.js  addHighlight() ReferenceError: WebKitCSSMatrix is not defined

If I call the addHighlight() function in Browsers Firefox and IE,
I get a  ReferenceError: WebKitCSSMatrix is not defined.
https://github.com/readium/readium-shared-js/blob/develop/lib/annotations_module.js#L579

Duplicate: https://github.com/readium/readium-shared-js/issues/154
(thanks @larsvoigt ;) )

Oh yes. Thanks @danielweck.


Implement gs1 prefix support using Pike 2 alternate IDs for XML product definitions

The XML tools in Grid should be able to fetch an alternate ID (gs1 company prefix) based on the GTIN of a product and base the owner of the product off of that ID.

This may or may not be feasible. The only known way to do this is by subscribing to the GS1 data hub.


Fix for open() will not open list before any input event

Reproduce:

Don't fire any input event (don't key in anything)
[Optional] Set input via JS $('input').val('test')
Call awesomplete.open()

Issue:

List will not open

Nice catch!
@LeaVerou Any chance you'll have some free time in the near future to look at #16734 ? Fixing bugs would be safer if we have quick and easy way to run tests and, of course, more tests (which I already have and waiting for you response on #16734).

This code, in my testing, will have the dropdown appear on page load if minChars is set to 0. I doubt this is desirable behavior, so a more nuanced solution is probably needed.

I would welcome that more nuanced solution :)
Closing this PR for now, since that’s a pretty major bug. Feel free to reopen if you want to extend it!

Also, an easy temporary solution to anyone with this problem would be to fire a synthesized input event on their input.

@LeaVerou What is desired behavior on open(), on input focus and on page load when minChars is set to 0? See related https://github.com/LeaVerou/awesomplete/issues/16761#issue-103575454


Performance Issues Quoted.

Hi Yuben,
You have quoted performance issues f your project in another similar project (woxblom/DragListView) Link : https://github.com/woxblom/DragListView/issues/2#issuecomment-209706210
Are they fixed?
I am actually looking to use your library. Please guide.

Not yet. You can use DragListView for good performance without page swipe. Or use my project with bad performance.I'm sorry having no time to optimize it recently.

Hi @yueban !
Can you please give tips about how did you implement drag'n'drop Cardviews between lists?
I tried to make with this<EMAIL_ADDRESS>but drag'n'drop works only inside of its parent

@iRYO400 refer to this article drag-and-drop-with-animation-on-linearlayout, it implements item swipe in vertical LinearLayout, but it's in Chinese

Thanks yueban :+1:

this repo has been deprecated. recommend https://github.com/woxblom/DragListView instead.


fix porch logic for determining root package

This seems to fix one issue with the ghost package described in https://github.com/GoogleContainerTools/kpt/issues/3419. Seems like a small string parsing issue with the sub-package logic.
Before this change:
$ kpt alpha rpkg clone https://github.com/natasha41575/kpt-samples.git/ghost@ghost/v1 --repository=deployment --revision=v0 -ndefault ghost-clone-6
Error: Internal error occurred: fn.render: pkg ghost-app:
        pkg.read: need absolute path

One thing that is odd is that the above failure seems flaky - not really sure what that's about. In my experimentation, it will sometimes (though rarely) succeed, but usually throw this need absolute path error.
After this change:
$ kpt alpha rpkg clone https://github.com/natasha41575/kpt-samples.git/ghost@ghost/v1 --repository=deployment --revision=v0 -ndefault ghost-clone-7
Error: Internal error occurred: fn.render: pkg /:
        pkg.render:
        pipeline.run: func eval "gcr.io/kpt-fn/set-namespace:v0.3.4" failed: rpc error: code = NotFound desc = function "gcr.io/kpt-fn/set-namespace:v0.3.4" not found

This failure is also odd - it's only the set-namespace function that it can't find. It's able to find and run all the other functions in the ghost package and subpackages:
I0729 16:10:34.897747 2648751 package_tree.go:143] found package "ghost/Kptfile" with Kptfile hash "b80d0bbba28eb6d8a28e806c878527c3b9985569"
I0729 16:10:34.962150 2648751 render.go:59] Package "ghost-app":
I0729 16:10:34.964711 2648751 render.go:59] [RUNNING] "gcr.io/kpt-fn/set-labels:v0.1.5"
I0729 16:10:34.964749 2648751 render.go:59]
I0729 16:10:36.192896 2648751 render.go:59] [PASS] "gcr.io/kpt-fn/set-labels:v0.1.5" in 1.2s
I0729 16:10:36.195568 2648751 render.go:59] [RUNNING] "gcr.io/kpt-fn/apply-replacements:v0.1.1"
I0729 16:10:36.195620 2648751 render.go:59]
I0729 16:10:36.242093 2648751 render.go:59] [PASS] "gcr.io/kpt-fn/apply-replacements:v0.1.1" in 0s
I0729 16:10:36.242757 2648751 render.go:59] [RUNNING] "gcr.io/kpt-fn/starlark:v0.4.3"
I0729 16:10:36.242785 2648751 render.go:59]
I0729 16:10:36.282144 2648751 render.go:59] [PASS] "gcr.io/kpt-fn/starlark:v0.4.3" in 0s
I0729 16:10:36.282208 2648751 render.go:59]
I0729 16:10:36.284385 2648751 render.go:59] Package "mariadb":
I0729 16:10:36.286165 2648751 render.go:59] [RUNNING] "gcr.io/kpt-fn/set-labels:v0.1.5"
I0729 16:10:36.286197 2648751 render.go:59]
I0729 16:10:37.470136 2648751 render.go:59] [PASS] "gcr.io/kpt-fn/set-labels:v0.1.5" in 1.1s
I0729 16:10:37.471023 2648751 render.go:59]
I0729 16:10:37.471531 2648751 render.go:59] Package "/":
I0729 16:10:37.472819 2648751 render.go:59] [RUNNING] "gcr.io/kpt-fn/set-namespace:v0.3.4"
I0729 16:10:37.472958 2648751 render.go:59]
I0729 16:10:37.546721 2648751 render.go:59] [FAIL] "gcr.io/kpt-fn/set-namespace:v0.3.4" in 0s

It is possible that the other functions are built into porch and it's just a network issue on my end.
After changing set-namespace version in the ghost package to 0.4.1 (the version that's built into porch), cloning with this PR's build of porch succeeds consistently:
$ kpt alpha rpkg clone https://github.com/natasha41575/kpt-samples.git/ghost@ghost/v2 --repository=deployment --revision=v0 -ndefault ghost-clone-9
deployment-8643b347e81d3662790ea1e96ae92cabc0ca2869 created

If a function is not built into porch, shall it download the function?  I don't think we want to change the builtin to v0.4.1 because that will package updates logic.
FYI, here's the umbrella issue for Ghost application. It explains why we choose v0.3.4 over v0.4.1.

If a function is not built into porch, shall it download the function? I don't think we want to change the builtin to v0.4.1 because that will package updates logic.

I thought it was supposed to download nonbuiltin functions, I wasn't sure if this is a bug (or misconfiguration on my porch instance), or if it's intentional. I think we need to look more into this, this PR is just my initial findings

@natasha41575 re: set-namespace function, we should include v0.3.4 as builtin as well since we will be consuming ghost package with porch pretty heavily in coming days. @mengqiy can help you with the instructions or make a PR.

@natasha41575 re: set-namespace function, we should include v0.3.4 as builtin as well since we will be consuming ghost package with porch pretty heavily in coming days. @mengqiy can help you with the instructions or make a PR.

Is it possible to depend on two different versions of the same library (v0.3.4 and v0.4.1)?

@natasha41575 re: set-namespace function, we should include v0.3.4 as builtin as well since we will be consuming ghost package with porch pretty heavily in coming days. @mengqiy can help you with the instructions or make a PR.

Quick thought. Instead of adding v0.3.4 as a buildiin function, should we update the set-namespace function so we can use the latest with the ghost package?

@ChristopherFry That sounds reasonable to me; I'm moving discussion to https://github.com/GoogleContainerTools/kpt/issues/3419 for more visibility.

@ChristopherFry It sounds like v0.3 and v0.4 have intentionally separate functionality and we plan to maintain and develop both for the time being. I have filed https://github.com/GoogleContainerTools/kpt/issues/3427 as an umbrella issue for this.


Curious what the timezone does?

The readme here and for the docker container both say to specify the timezone, but I'm curious what that controls?  I'm wondering because I set it to "America/Los_Angeles" and when I add a fill, the time gets recorded as the current UTC time.  I thought this might be a bug or something I messed up in setting things up....  Or is this expected behavior that everything is recorded in UTC?
Thanks for the help in advance!

I don't think the TZ really has any effect on the app itself, but it sets up the container's internal timezone which can sometimes affect running applications which query it.

Yeah, I figured it didn't do much.  All the docker images from linuxserver.io include a TZ env variable, so I guess they just toss that out there for everything.
So it's expected behavior then that everything is recorded in UTC?  That's fine with me, just wanted to make sure I didn't miss something.


UI enchantment after find your space click

In the heading section the header is not properly align and it is not in center or right side.

please assign to me #gssoc24


⚠ Bofrost.lu has degraded performance

In a0f9a8b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2348 ms

Resolved: Bofrost.lu performance has improved in f0f38dc after 8 minutes.


Pipeline validation should detect nodes that are not supported

Scenario:

User A creates a pipeline using Elyra x.y, which supports Python scripts
User B tries to run the pipeline using Elyra version < x.y, which does not support Python scripts

Note: Elyra version x.y produces a pipeline file that is the same version as the one that Elyra version < x.y supports.
Current behavior:

Validation does not catch the error
Execution fails, and might produce an error like/Users/patti/anaconda3/envs/elyra_ga/lib/python3.7/site-packages/papermill/iorw.py:98: UserWarning: The specified input file (/Users/patti/elyra_ga/workspace/load_data.py) does not end in one of ['.ipynb', '.json']

General scenarios that need to be handled is a pipeline is imported into Elyra version < x.y, which was produced by Elyra version x.y:

version x.y extends an operator that version < x.y also supports
version x.y utilizes an operator that version < x.y does not support
For both cases, version x.y and version < x.y might or might not support the same pipeline file version, e.g. 3.0.

Hmm - good point.  Seems like some kinds of changes should warrant a version update even though they are additive.  In these cases, the "upgrade" logic would be a no-op since there's really nothing for the newer version to do because the version bump is more about older versions (of elyra) detecting new pipeline versions.
Hmm, but this would mean these particular version increments would only happen when the "new thing" (e.g., a python node) was added to the pipeline since an older elyra can still operate on pure notebook-node pipelines just fine (until they include a new node type).
I suppose the real issue here is that the older elyra wasn't checking node types to begin with, thereby allowing incompatible node types to "slip through" - only to fail when the rubber meets the road.

With the introduction of #500 we will also have use cases where a specific component is not available/installed on a specific environment, and we will need to flag that these nodes are invalid.

as it stands, the pipeline validation service will query the registry and get the component properties of a node, verify that the required fields are present and values are valid and type checked. this should satisfy the generic node type support and compatibility going forward.


Deployment fails with 502 error

Hi,
I tried to deploy spring boot application jar file using azure-webapp maven plugin. It deployed jar file azure web app for linux successfully.
Logs are also showing that spring boot application is started but when I tried to browse the url, it's throowing 502 error. In logs, it is showing the following message : "Waiting for response to warmup request for container imap-2_0"
Can somebody help here please?

Duplicate of #31561


add section/segment offsets to the "copy address" menu

related to #2369
Something like:

added in builds >= 2887


Adding windows and python 3.10 as CI testing targets

Adding windows and python 3.10 as testing targets

Codecov Report
Patch and project coverage have no change.

Comparison is base (06e9a77) 69.14% compared to head (be812e0) 69.14%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   69.14%   69.14%
=======================================
  Files          26       26
  Lines        2048     2048
=======================================
  Hits         1416     1416
  Misses        632      632

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Punch list for noise, masks, and derived products after initial QA

Issues to be dealt with

[ ] Create moment 0 incorporating upper limits
[ ] Tpeak maps with velocity slab masking instead of signal masking
[ ] Allow for external masking (e.g., for C18O)
[ ] Spectral response of noise needs to be deal with missing channels smoothly
[ ] Noise estimate at edge of cube is under-estimated because of beam roll-off leading to an excess of mask
[ ] Create coverage maps from coverage cubes
[ ] Check noise for tpeak12p5 maps and potentially add a sqrt(N) scaling to the noise before propagation.
[ ] Add OBJECT field to all maps
[ ] Add DATAMIN/DATAMAX to the header for all products
[ ] Cast down to BITPIX = -32 (products) or +8 (masks)

@low-sky review and close or decide to leave open?


Fix for open/close styling of angular bootstrap accordions

Fixes #245
Add CSS selectors to style the open/close indicator based on what
angular bootstrap uses for css classes.

LGTM

LGTM


Expose default Jackson codec

While switching to the new official Kotlin drivers, I realized/noted that the default codec in the official drivers does not support/use Jackson by default. If users are coming from the default codec of KMongo, which does use Jackson, it would probably be handy to easily expose / move that somewhere later on for use, building on top of it, etc.
For reference, I have a gist here with a few other details / reasonings

Thank you for sharing. If you use the kmongo jackson codec, then you use basically "all" of kmongo. You may prefer to use kmongo directly. :)
I plan to provide a tutorial to migrate code from jackson to kotlin.x serialization.
And to expose the kmongo codecs as dedicated libs, but expect low maintenance on this side.
And also, KMongo will be maintained for several years. ;)


cleanup-imports

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR updates import paths and removes redundant imports in multiple files.
Detailed summary

Updated import paths to use @ alias for better module resolution
Removed redundant imports and fixed import paths for better organization

The following files were skipped due to too many changes<EMAIL_ADDRESS>apps/dashboard/src/pages/grant/superchain.tsx, apps/dashboard/src/pages/open-source.tsx<EMAIL_ADDRESS>apps/dashboard/src/pages/learn/index.tsx, apps/dashboard/src/components/pay/PayAnalytics/components/Payouts.tsx, apps/dashboard/src/components/homepage/sections/PricingEngine.tsx, apps/dashboard/src/lib/vercel-utils.ts, apps/dashboard/src/components/color-mode/color-mode-toggle.tsx, apps/dashboard/src/components/pay/PayAnalytics/components/PayNewCustomers.tsx, apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-ecosystem.ts, apps/dashboard/src/components/pay/PayConfig.tsx, apps/dashboard/src/components/explore/publisher/index.tsx<EMAIL_ADDRESS>apps/dashboard/src/pages/template/[id].tsx<EMAIL_ADDRESS>apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/page.tsx, apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-card.tsx, apps/dashboard/src/components/contract-components/contract-deploy-form/trusted-forwarders-fieldset.tsx, apps/dashboard/src/components/pay/PayAnalytics/components/PaymentsSuccessRate.tsx, apps/dashboard/src/components/contract-components/contract-deploy-form/contract-metadata-fieldset.tsx, apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-row.tsx, apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/sidebar-content.tsx, apps/dashboard/src/app/login/auth-actions.ts, apps/dashboard/src/pages/404.tsx, apps/dashboard/src/pages/hackathon/earn.tsx, apps/dashboard/src/components/landing-pages/layout.tsx, apps/dashboard/src/pages/hackathon/consumer-crypto.tsx, apps/dashboard/src/contract-ui/tabs/direct-listings/components/table.tsx, apps/dashboard/src/pages/_app.tsx, apps/dashboard/src/pages/index.tsx, apps/dashboard/src/contract-ui/tabs/english-auctions/components/table.tsx, apps/dashboard/src/pages/hackathon/readyplayer3.tsx, apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/PayModal.tsx, apps/dashboard/src/pages/community/ambassadors.tsx<EMAIL_ADDRESS>apps/dashboard/src/components/buttons/TransactionButton.tsx, apps/dashboard/src/contract-ui/tabs/manage/components/getExtensionInstalledParams.ts, apps/dashboard/src/components/engine/overview/backend-wallets-table.tsx, apps/dashboard/src/components/product-pages/common/ProductPage.tsx, apps/dashboard/src/components/pay/PayAnalytics/components/PayCustomersTable.tsx, apps/dashboard/src/components/buttons/MismatchButton.tsx, apps/dashboard/src/pages/api/moralis/balances.ts, apps/dashboard/src/components/cmd-k-search/index.tsx, apps/dashboard/src/contract-ui/tabs/overview/components/MarketplaceDetails.tsx, apps/dashboard/src/components/onboarding/Steps.tsx, apps/dashboard/src/contract-ui/tabs/manage/page.tsx, apps/dashboard/src/components/pages/publish.tsx, apps/dashboard/src/components/pay/PayAnalytics/PayAnalytics.tsx, apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx<EMAIL_ADDRESS>apps/dashboard/src/components/pay/PayAnalytics/components/PaymentHistory.tsx, apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx, apps/dashboard/src/app/(dashboard)/trending/components/trending-table.tsx, apps/dashboard/src/components/selects/CustomChainRenderer.tsx, apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx, apps/dashboard/src/components/selects/NetworkSelectorButton.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3983  👈
#3938
#3936
#3928
#3926
main

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

Join @MananTank and the rest of your teammates on  Graphite


Is it possible to setup custom overlays

Can you setup custom overlays

@AlmogRnD Check out #82. Also check out the example it shows an undocumented component in CameraScreen.js
`import { CameraKitCameraScreen } from 'react-native-camera-kit';


Update to 2.36.0 and add an abi package

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

It looks like the 'atk' output doesn't have any tests.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ryanvolz, do you know what the windows error here is?

Fixing the CFLAGS as I've indicated above solves the current build error, but locally I run into another one. That one is identical to what I'm currently seeing at https://github.com/conda-forge/gdk-pixbuf-feedstock/pull/21. I still don't know what to make of that one yet, but my current suspicion is an upstream package with broken host prefix replacement in a pkg-config file since that has caused a lot of recent problems.

I've narrowed the Windows build error down to a change in meson: 0.53.2 works, 0.54.0 produces this error.

I've narrowed the Windows build error down to a change in meson: 0.53.2 works, 0.54.0 produces this error.

This looks like the change that does it: https://github.com/mesonbuild/meson/commit/f66b04b0996eae5cd7b0ad007435d5a51f28b691.
The problem is that the build tries to call g-ir-scanner directly, but that fails because it is a python script. Previously, meson would set up the build so that it called the python executable to run g-ir-scanner. It now seems to prefer to get the entire command for running g-ir-scanner from pkg-config which just points to the path.
The proper fix seems like it belongs upstream in meson, or perhaps in gobject-introspection, but the easiest workaround would be to stick to using meson=0.53.2 for now.

Filed conda-forge/meson-feedstock#30 for the latest issue, but this LGTM.


Fix: Many features don't work until you refresh the page

Fix #4695
Fix #4692
Test URLs
Go to the options and check "Show the features enabled on each page"

For PR files features (batch-mark-files-as-viewed, easy-toggle-files, etc.):

Go to the PR list and reload the page
Navigate to a PR
Go to the "Files" tab

For the PR conversation features (clean-conversation-headers, cross-deleted-pr-branches, etc.):

Go to the "Files" tab of this PR
Reload the page
Got to the "Conversation" tab

Screenshot
https://user-images.githubusercontent.com/46634000/134921002-64795a2e-d98b-456c-bebc-997b89dfe8fa.mp4
(↑ this only shows a few features in the "Files" tab)
I went through all the remaining features with no explicit deduplication (rg --files-without-match 'deduplicate:' source/features/*.tsx | sort) and checked each one. Basically every feature with isPrFile or isPrConversation needs has-rgh-inner.
Opening this as draft in case I've missed some.

I think there's also #4692, which suggests that other views might be affected.

Indeed, every feature with isConversationList also needs the new deduplication marker.

Thank you for the fixes! If you find any more broken pages, please send more PRs, I will try to fix a couple more unrelated bugs before v21.10.1 as well


Add reset config command

Add a command to reset the config. It can accept the name of a config or if no name provided then the entire config (with the exception of the platforms' API keys should be reset).
This can be helpful for development and testing.

with the exception of the platforms' API keys should be reset

could you please explain this a little bit more? I want to contribute to this issue

I opened a pull request here #23

I refactored configuring platforms into sub-commands
resetting configuration is also made into a sub-command under config command
I hope I did some good job, please let me know if you need any changes.


Create why-dagger.md

Also please add an entry to the mkdocs.yml file so that it shows up in the menu :)


Add method arguments to IAdvice.Begin

IAdvice.Begin doesn't have method arguments
Arguments needed for templates, such as
[Log("My method: {value}")]
void MyMethod(string value);

IAdvice.Begin can be
void Begin(object[] args);

Hi,
You have to implements method Argument(T value) and store value in a field.
exemple
public Advice1 : IAdvice
{
private readonly List arguments;
public Argument<T>(Tvalue)
{
    this.arguments.Add(value);
}

public void Begin()
{
    this.arguments... //here list of arguments?
}
...

}

It's can be worked if I call my method twice?

Yes, it depends how you create your "aspect/advisor"
public class Logging : Aspect
{
    override public IEnumerable<Advisor> Manage(MethodBase method)
    {
        yield return Advice
            .For(method)
            .Around(() => new Log(method));
    }
}

here the delegate to create 'Log Advice' is called each time you call your method.


240hz mode cannot set with second monitor but can without

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: Sun Sep 8 16:48:21 2024
Tag: v0.43.0, commits: 5196

flags: (if any)

System Information:
System name: Linux
Node name: pekin
Release: 6.10.10-arch1-00003-g80e305dd6808
Version: #5 SMP PREEMPT_DYNAMIC Tue Sep 24 08:45:25 EDT 2024

GPU information:
0a:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A750] [8086:56a1] (rev 08) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/segal/.config/hypr/hyprland.conf: Read Succeeded
monitor=DP-4,3840x2160@144,2560x0,1.5
monitor=DP-4,addreserved,0,0,0,250
monitor=DP-3,3840x2160@120,0x0,1.5

workspace=1,monitor:DP-3,default:true
workspace=2,monitor:DP-3
workspace=3,monitor:DP-3
workspace=4,monitor:DP-3
workspace=5,monitor:DP-3
workspace=6,monitor:DP-4
workspace=7,monitor:DP-4
workspace=8,monitor:DP-4
workspace=9,monitor:DP-4
workspace=10,monitor:DP-4

exec-once = waybar & swaybg -i ~/.wallpapers/wallpaper4k.png & playerctld daemon & fcitx5

env = XCURSOR_SIZE,24

input {
    accel_profile = flat
}

general {
    gaps_in = 5
    gaps_out = 10
    border_size = 1
    col.active_border = rgba(c5c8c6ff)
    col.inactive_border = rgba(656866ff)

    layout = dwindle
    allow_tearing = true
}

animations {
    enabled = yes

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

xwayland {
    force_zero_scaling = true
}

dwindle {
    pseudotile = yes
    preserve_split = yes
    force_split = 2
}

misc {
    disable_hyprland_logo = true
    disable_splash_rendering = true
}

windowrule = immediate 1, ^(gamescope)$
windowrule = immediate 1, ^(osu!)$

$mainMod = SUPER

bind = $mainMod, return, exec, alacritty
bind = $mainMod, W, killactive,
bind = $mainMod, M, exit,
bind = SUPERSHIFT, F, exec, firefox
bind = SUPERSHIFT, D, exec, discord --ozone-platform-hint=auto --enable-wayland-ime
bind = SUPERSHIFT, S, exec, grimblast copy area
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, D, exec, fuzzel

binde =, XF86AudioRaiseVolume, exec, playerctl volume 0.05+
binde =, XF86AudioLowerVolume, exec, playerctl volume 0.05-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind=, XF86AudioPlay, exec, playerctl play-pause
bind=, XF86AudioPause, exec, playerctl play-pause
bind=, XF86AudioNext, exec, playerctl next
bind=, XF86AudioPrev, exec, playerctl previous
binde = $mainMod, EQUAL, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
binde = $mainMod, MINUS, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-
bind = $mainMod, bracketleft, exec, playerctld unshift
bind = $mainMod, bracketright, exec, playerctld shift

bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

======Config-End========

Description
I have two monitors, a primary 4k 240hz and a secondary 4k 144hz. If I launch Hyprland with config set to 4k 240hz for primary and 4k 144hz for secondary, the primary monitor is properly set to 240hz, but the secondary monitor doesn't display and hyprctl monitors has currentFormat: A Invalid H Invalid for that monitor. If I proceed to change the primary monitor back to say 4k 120hz, the secondary monitor still does not display. If I launch Hyprland with config set to some other mode for the primary monitor, i.e. 4k 120hz, and the secondary monitor still set to 4k 144hz, both monitors work. But if at runtime I change the config to 4k 240hz for the primary monitor, the mode fails to set and reverts back to preferred (4k 60hz).
This only applies to 4k 240hz though. If I launch Hyprland with 1440p/1080p 240hz on the primary monitor, and 4k 144hz on the secondary, it works fine.
This behavior does not occur on KDE Wayland.
I have attached Hyprland logs and drm logs for both cases.
How to reproduce
Try to launch Hyprland with two monitors set to 4k 240hz and 4k 144hz respectively.
Crash reports, logs, images, videos
240_but_no_second_monitor.log
240_but_no_second_monitor_dmesg.log
no_240.log
no_240_dmesg.log

can you try hl-git with aq-git?
Also, try AQ_NO_MODIFIERS

Yeah I'd seen that issue on aq and thought it was suspiciously similar, but it didn't fix the issue.

I also have trouble setting two monitors to 4k@240Hz, but see different errors.
If I use monitor=,highrr,auto,auto the second monitor ends up at 144Hz. Manually setting both to 4k@240Hz errors out and Hyprland doesn't start. Just to confirm this isnt't a HW issue both at 240Hz works perfectly on Windows. Somehow the mode is rejected, see the log below.
I use the nvidia-open-dkms driver on an RTX2070.
Hyprland, built from branch  at commit 4520b30d498daca8079365bdb909a8dea38e8d55  (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.2

flags: (if any)

Output of hyprctl monitors:
Monitor DP-6 (ID 1):
<EMAIL_ADDRESS>at -3072x0
        description: LG Electronics LG ULTRAGEAR+ 407NTUWCU942
        make: LG Electronics
        model: LG ULTRAGEAR+
        serial: 407NTUWCU942
        active workspace: 3 (3)
        special workspace: 0 ()
        reserved: 0 42 0 0
        scale: 1.25
        transform: 0
        focused: no
        dpmsStatus: 1
        vrr: false
        solitary: 0
        activelyTearing: false
        disabled: false
        currentFormat: XRGB8888
        availableModes<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Monitor DP-5 (ID 0):
<EMAIL_ADDRESS>at 0x0
        description: Microstep MAG321UX OLED
        make: Microstep
        model: MAG321UX OLED
        serial:
        active workspace: 1 (1)
        special workspace: 0 ()
        reserved: 0 0 0 0
        scale: 1.25
        transform: 0
        focused: yes
        dpmsStatus: 1
        vrr: false
        solitary: 0
        activelyTearing: false
        disabled: false
        currentFormat: XRGB8888
        availableModes<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
[LOG] Monitor DP-6: REJECTED available mode<EMAIL_ADDRESS>[LOG] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET ATOMIC_TEST_ONLY
[ERR] Custom resolution FAILED, falling back to preferred
[ERR] Monitor 1 has NO PREFERRED MODE, and an INVALID one was requested<EMAIL_ADDRESS>[LOG] [AQ] drm: Modesetting DP-6 with<EMAIL_ADDRESS>[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
[WARN] state.commit() failed in CMonitor::onCommit

Full log file:
hyprland.log

both at 240Hz works perfectly on Windows

LOL. Great comparison.
Does KDE or sway work?

LOL. Great comparison.

Fair enough, but I wasn't sure if my gpu can even drive 4k@240Hz twice :laughing:
Sway seems to work though. I will test more over the weekend.

Switched to the proprietary nvidia driver to see if it makes any difference. It doesn't.
If I boot up with the second monitor lowered to 144Hz it works (just like above). Changing the config to 240Hz while Hyprland is running doesn't crash it, but the output on the second monitor freezes. Moving the mouse to that monitor then spams the log as long as the mouse is being moved on that monitor:
1953   │ [LOG] [AQ] drm: Modesetting DP-6 with<EMAIL_ADDRESS>1954   │ [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
1955   │ [LOG] [AQ] drm: Modesetting DP-6 with<EMAIL_ADDRESS>1956   │ [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
1957   │ [LOG] [AQ] drm: Modesetting DP-6 with<EMAIL_ADDRESS>1958   │ [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
...

this is likely some setup that the nvidia driver struggles with, which might be out of our control.

My issue is very similar and I'm not on NVIDIA. This is very likely a hyprland issue given that it works on all other wms we've tried


Moves the 'consent' command to the 'cli' namespace. Closes #1336

Moves the 'consent' command to the 'cli' namespace. Closes #1336

Coverage remained the same at 100.0% when pulling b4044e1d9a0c9ed2714a46d5d04788e6102b12ce on waldekmastykarz:enh-consent-cli-namespace into 59b5247f3f608398e2f916a318c52c9d2a7ffe8c on pnp:dev.

Merged manually


Dropdown Button and Switch do not update display according to selected value

The Dropdown button can be opened normally, but when selecting a value, the Dropdown Button is closed and still shows an old value, the default value (the default value of language = "English"; for example). Also the switch does not update its look according to user input.
Tested on emulator and actual Android device.
Reproducible code:
DropdownButtonHideUnderline(
                            child: DropdownButton(
                              value: language,
                              isDense: true,
                              onChanged: (String selected) {
                                language = selected;
                              },
                              icon: Image.asset("image/right_arrow_pale.png", width: 17, height: 17,),
                              items: [
                                DropdownMenuItem(
                                  value: "繁體中文",
                                  child: Text("繁體中文", style: Theme.of(context).textTheme.bodyText1,),
                                ),
                                DropdownMenuItem(
                                  value: "简体中文",
                                  child: Text("简体中文", style: Theme.of(context).textTheme.bodyText1,),
                                ),
                                DropdownMenuItem(
                                  value: "English",
                                  child: Text("English", style: Theme.of(context).textTheme.bodyText1,),
                                ),
                              ],
                            ),
                          ),
Switch.adaptive(
                            value: notificationOn,
                            onChanged: (value){
                              notificationOn = value;
                            },
                            activeColor: Colors.black,
                          ),

Flutter doctor: (Flutter and Dart plugins are actually installed.)
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.1, on macOS 11.1 20C69, locale en-HK)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)

use setState()


update rule: react-a11y-role-supports-aria-props - Do not check custom element

For example I have a custom element excepts React.HTMLProps
<TextField aria-required={true} />
The rule will fail because custom element has no role. Should skip custom rule for all these cases. Including other rules

Currently fixing...


how to add index and show to events

hi I want to add index and show log events into LogsActivity but when i change $events = collect
it wont detect which model is logging Call to undefined method App\Profit::indexed()

So far I know indexed isn't an eloquent model event. These events have to be fired as model event.

so we dont have any model event for index and show , am I right?
my question is that if I want to develope the trait LogsActivity to log index and show method automatically like what is happening for updated, created,deleted , what should I do?
I know I can write helper in index() and show() method but by using helpers i did not conside DRY

These are the default model events:
https://github.com/illuminate/database/blob/4432b1a12d4156f50d5b04fc267d512011cde783/Eloquent/Concerns/HasEvents.php#L94-L104
retrieved could be used for the single show event. But keep in mind that this event is always triggered when the model is resolved and not only in a particular controller action.
Index is a much harder thing because multiple models are part of it.
My recommendation would be a custom event you can fire and an eventlistener that creates the activity log.

so you mean we can t develope eventsToBeRecorded() method? in LogsActivity Trait?

You can add and use all model events. The question is if you really want to log every retrieved event of the model. So even if they are loaded via relationship, artisan command or wherever. That's why I recommend a custom activity log.


Correct spacing and indentation in the whole project

Actual Behaviour
Some part of the code in the whole project is missing correct spacing and indentation.
Expected Behaviour
This should not be the case
Would you like to work on the issue?
Yes

@iamareebjamal Can I work on this?

@dreadpool2 Can you name a view instances where this is happening ?

@srv-twry By completely searching the project I found out instances where no space in if statements and for loops where there.
For eg - if(   and for(
Even in files like WidgetUpdater.java ,widgetIds type formatting is present.

Ok, IMO this is not a major issue and definitely not a priority right now. If you want you can definitely send the PR but i would suggest you focus on the core features of the app and try and understand them more, specially #2288 . It will really help you get familiar with everything the project is about i.e. the android app, the app generator and the api itself.

@dreadpool2 Please close this also. Once we have a large number of these issues, we can open it.


Enable multiple members to be defined at once

Describe the feature
Something like:
[Intellenum]
[Members("Standard, Gold, Diamond, Platinum")
public partial class CustomerType
{
}

For .NET 7, we could inspect the underlying type for 'IAddition' (or whatever  it's called in Generic Math) to be able to let the user specify the starting and incremental values

Duplicate of #136


Fix pagespeed insights suggestions

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Famitsingh-007.github.io%2Fbypass-links%2F

issue resides within preact


Add geeksforgeeks link for html5 audio

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Assign this one to me.


[BUG] System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
2024-07-12T15:28:39Z [App::OnStartup] Starting Bloxstrap v2.7.0
2024-07-12T15:28:39Z [App::OnStartup] Compiled Tuesday, 9 July 2024 at 7:03:19 PM from commit a7d2a2c3d5af7137804416ba4e5fbdd27bd10f1e (tag/v2.7.0)
2024-07-12T15:28:39Z [App::OnStartup] Loaded from %UserProfile%\Downloads\Bloxstrap-v2.7.0.exe
2024-07-12T15:28:39Z [LaunchSettings::Parse] Parsing launch arguments
2024-07-12T15:28:39Z [LaunchSettings::Parse] No launch arguments to parse
2024-07-12T15:28:39Z [InstallChecker::Check] Could not find install location.  (Attempted to perform an unauthorized operation.)
 ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.SetValueCore(String name, Object value, RegistryValueKind valueKind)
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
   at Bloxstrap.ProtocolHandler.Register(String key, String name, String handler)
   at Bloxstrap.Bootstrapper.CheckInstall()
   at Bloxstrap.Bootstrapper.Run()
   at Bloxstrap.Bootstrapper.Run()
   at Bloxstrap.App.<>c__DisplayClass38_0.<<OnStartup>b__0>d.MoveNext()
   --- End of inner exception stack trace ---

Antivirus issue. Check to make sure it isn't restricting Bloxstrap from doing anything (since it's unable to write to the registry). You may need to add an exception for it.


Feature request: allow to load only some tracks from a MidiFile

I'd like to be able to load only track 0, for instance.
We could pass a list of tracks to filter in MidiFile._load()
I can submit a pull request if you want

@olemb what do you think about this feature request and the 2 other ones?

Nice idea!
Always feel free to submit a pull request.
I know it can be frustrating to work on something you don't know will be accepted but it's always a good way to demonstrate the idea and give something to discuss about.


update asif

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
e2ed21f3dffbabbb96e2a385c7a212f249a3fe68

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/63f8ce4d2a8a140008273485


fix(modal): throw from core properly caught and rejected

PR Checklist

[x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
[ ] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
[x] You have signed the CLA.
[x] All existing tests are passing: https://github.com/NativeScript/nativescript-angular/blob/master/DevelopmentWorkflow.md#running-the-tests
[ ] Tests for the changes are included.

What is the current behavior?
App crashes if modal handling is invalid.
What is the new behavior?
Developers can now properly handle such a crash in the promise rejection of the ModalDialogService's showModal handling.

This or https://github.com/NativeScript/NativeScript/pull/5841 are viable fixes to this problem.
Both would probably be the most bullet proof but I'd be happy with just this one at a minimum.

test

test

test

test


iBeacon UUID and Eddystone UID

where can i get:

iBeacon UUID
Eddystone UID

It would be very helpful.

You can try this method:
ParcelUuid[] myUUid = beacon.device.getUuids();

Beacon class has public final device field of type BluetoothDevice.
Reference in Android SDK documentation: https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#getUuids()

thanks for the fast reply. sadly it's not what i am searching for:
ParcelUuid[] uuids = beacon.device.getUuids();
don't returns the:

iBeacon UUID like:                          2f234454-cf6d-4a0f-adf2-f4911ba9ffa6
Eddystone UID-Namespace like:     0x2f234454f4911ba9ffa6

and let my application terminate.
beacon.device.toString();
also retuns just the MAC-Address.

After the quick search, I found out that it's not possible to get iBeacon UUID and Eddystone UID just with Android SDK. Probably it could be somehow extracted or translated from uuids or scanRecord field in Beacon class. Unfortunately, I don't know how to do that yet. I suppose it may a custom functionality, which require additional implementation. When I gather more concrete knowledge in this topic, I'll post an update here.
I'm also open for help and suggestions of the other people.

here in this liv  they define a BeaconManager and use BeaconParser to define how to parse the Advertising packet. here e.g. iBeacon format.
        beaconManager = BeaconManager.getInstanceForApplication(this);         beaconManager.getBeaconParsers().add(new BeaconParser()                 .setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24"));         beaconManager.bind(this);

Initial references, which can help in the implementation:
iBeacon:
https://github.com/inthepocket/ibeacon-scanner-android/blob/32e286cd67bfd97255f62f5d470db67921877c34/ibeaconscanner/src/main/java/mobi/inthepocket/android/beacons/ibeaconscanner/ScannerScanCallback.java
Eddystone:
https://github.com/google/eddystone/blob/master/tools/gatt-config/android/BeaconConfig/app/src/main/java/com/github/google/beaconfig/BeaconScanData.java


Question:  Can you explain the reasons why the MAX_PQ_TRAINING_SET_SIZE is a fixed constant in the ProductQuantization class?

Hi, in the ProductQuantization class there is a hard coded value for the MAX_PQ_TRAINING_SET_SIZE
https://github.com/jbellis/jvector/blob/5b92a134212c8ed7b2fa0d6739233c6b9b0cb9a3/jvector-base/src/main/java/io/github/jbellis/jvector/pq/ProductQuantization.java#L48C6-L48C6
I would like to know about the rationale for "only" having that (relatively small) number for the quantization training.

Have you considered making this value configurable?
AND/OR
Done benchmarks that show that you never need more than that number for training the PQ model?
2.1 If so, what are the inherent assumptions on the training data set? For example, inserting 128k exactly similar vectors is ofc not a great idea, but are there more things to think about?
What I am after is if you have some literature or any test etc done in this area that you can refer to?

The main reason I am asking is that we are right now using that PQ class in isolation for a semantic search project we are working on and are unsure if we will do a good enough training with just using 128k vectors.. as we are looking to index >1B vectors in the end.
We might also start to evaluate using the full functionality of this library.. but we are hoping on this lucene feature https://github.com/apache/lucene/issues/12615 to be available soon so we don't have to wire it up it ourselves.
Thx in advance.

Haven't tested it super exhaustively but

This is the setting that Microsoft's DiskANN code uses
In all the Bench datasets we did not observe lower recall when using this, vs training on the entire set of vectors

Thanks for a quick answer, very useful information.


Make xprocspec-runner and xproc-engine-daisy-pipeline work without OSGi

Can be tested on super branch https://github.com/daisy/pipeline/compare/master...osgi-less-step-1.

Merged in ac0f5c8f7b592f54d5af0e230c0ead6a26749d28


It seems that networkOnly queries can return a cache result before the actual network result

Steps to reproduce

Create two queries on the same type.
Query A uses the cacheAndNetwork policy, Query B uses the networkOnly policy.
Both queries must return the same object (possibly with different fields projected)
Using widgets, nest the B query in the builder of the A query, only when the A query yields data.

When building the widget, the A query will eagerly get results, which will fire the B query. If the A query receives its network data before the B query does, it will update the cache for the item, which will fire a cache update on the B query.
So in this particular case, the networkOnly query will behave exactly like a cacheAndNetwork query, returning cached data before the network data.
Expected behavior
I was expecting a networkOnly query to either:
1- Never return cached results
or
2- Never return cached results before the network results.
Either case, the documentation could be updated explaining query cache updates and the effect of fetch policies on cache updates.

Either case, the documentation could be updated explaining query cache updates and the effect of fetch policies on cache updates.

For this PRs are always welcome, BTW I agree that we need more docs

+1 to this -- I went down a rabbit hole because of this today. I'll see what I can throw together in the next couple of weeks.

@bartcone-fulfilld thanks for the info here! I ran into a similar issue today and started down the same rabbit hole. I found something that seems to works for us, so thought I'd share in case it's useful for you as well.
Our problem was that we were using networkOnly and getting the response, but it seemed to be merging with other cached data. So the final result from cache was not purely the networkOnly response. In order to fix this (or it seems to fix it anyway) I added a cacheRereadPolicy option to my query. I think this still loads from cache, but without merging the data with previously cached data.
Here's what our query ended up looking like:
    final result = await _graphql.query_Me(
      Options$Query_Me(
        operationName: 'Me',
        fetchPolicy: FetchPolicy.networkOnly,
        cacheRereadPolicy: CacheRereadPolicy.ignoreAll, // added this line.
      ),
    );


Update the container os for gitlab workflow to Ubuntu 22.04

Warning message from GitHub:
The ubuntu-18.04 environment is deprecated, consider switching to
ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details
see https://github.com/actions/virtual-environments/issues/6002

[ci skip] is being honored by most automation testing services.  We probably add a rule for a Jenkins specific command

[ci skip] is being honored by most automation testing services. We probably add a rule for a Jenkins specific command

Yep, you are right: GitHub Actions, GitLab


Ensure we cover all our newest deployments in openfoodfacts-upptime

Ensure we cover all our deployments
### Tasks
- [ ] https://nutripatrol.openfoodfacts.org
- [ ] search.openfoodfacts.org and net
- [ ] facets kp net and org
- [ ] taxonomy editor net and or
- [ ] madenearme (fr and en)
- [ ] combien de sucres (fr and en)
- [ ] robotoff

Added search and search staging in 67cef04cad69b729560e8d3aeeb51e619e3aa517

@VaiTon I realize we don't cover Robotoff ?


Are you thinking of integrating Asana?

Hey just got here, and i'm really happy that you have integrated Instagram, been waiting for it for so long time on franz, but it never happend.
Just wondering if you have any plans on integrating Asana? I can see that Trello is there like in Franz, but would be great if Asana could be integrated as well.
My Best Regards Krisbataican.

Please request new services at https://github.com/getferdi/recipes/issues/new?assignees=&labels=recipe+request&template=recipe_request.md&title=[Recipe+Request]+SERVICE

@KrisBataican you could try using a Custom Website service:

Or make a recipe request as suggested by @vantezzen 🙏


Modify SwiftUI Color extension to extend ShapeStyle

This change intends expand the usage of the generated SwiftUI color extension.

Color conforms to a bigger style called ShapeStyle and this allows us to use Colors, Gradients, Materials and more as if they were the same thing. This ShapeStyle protocol is what background uses. This allows us to use these colors everywhere SwiftUI expects a ShapeStyle to be given.
https://www.hackingwithswift.com/books/ios-swiftui/formatting-our-mission-view

Additional discussion about the topic: https://www.hackingwithswift.com/forums/100-days-of-swiftui/extending-shapestyle-for-adding-colors-instead-of-extending-color/12324
I've found that I can create custom templates via templatesPath configuration but I still believe that defaulting to this would be better overall.

Thanks for the PR, @farkasseb!


Create Veracode policyscan.yml

Added Veracode uploadandscan wrapper to upload all source code to the Veracode platform.

@blubracketpoc Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.