text:
Can not get the depth topic out

Hi, the realsense2-camera ros node installed and I can get the color image but not depth, I have all topics like this:
/camera/RGB_Camera/parameter_descriptions
/camera/RGB_Camera/parameter_updates
/camera/Stereo_Module/parameter_descriptions
/camera/Stereo_Module/parameter_updates
/camera/color/camera_info
/camera/color/image_raw
/camera/color/image_raw/compressed
/camera/color/image_raw/compressed/parameter_descriptions
/camera/color/image_raw/compressed/parameter_updates
/camera/color/image_raw/compressedDepth
/camera/color/image_raw/compressedDepth/parameter_descriptions
/camera/color/image_raw/compressedDepth/parameter_updates
/camera/color/image_raw/theora
/camera/color/image_raw/theora/parameter_descriptions
/camera/color/image_raw/theora/parameter_updates
/camera/depth/camera_info
/camera/depth/image_rect_raw
/camera/depth/image_rect_raw/compressed
/camera/depth/image_rect_raw/compressed/parameter_descriptions
/camera/depth/image_rect_raw/compressed/parameter_updates
/camera/depth/image_rect_raw/compressedDepth
/camera/depth/image_rect_raw/compressedDepth/parameter_descriptions
/camera/depth/image_rect_raw/compressedDepth/parameter_updates
/camera/depth/image_rect_raw/theora
/camera/depth/image_rect_raw/theora/parameter_descriptions
/camera/depth/image_rect_raw/theora/parameter_updates
/camera/extrinsics/depth_to_color
/camera/extrinsics/depth_to_infra1
/camera/extrinsics/depth_to_infra2
/camera/infra1/camera_info
/camera/infra1/image_rect_raw
/camera/infra1/image_rect_raw/compressed
/camera/infra1/image_rect_raw/compressed/parameter_descriptions
/camera/infra1/image_rect_raw/compressed/parameter_updates
/camera/infra1/image_rect_raw/compressedDepth
/camera/infra1/image_rect_raw/compressedDepth/parameter_descriptions
/camera/infra1/image_rect_raw/compressedDepth/parameter_updates
/camera/infra1/image_rect_raw/theora
/camera/infra1/image_rect_raw/theora/parameter_descriptions
/camera/infra1/image_rect_raw/theora/parameter_updates
/camera/infra2/camera_info
/camera/infra2/image_rect_raw
/camera/infra2/image_rect_raw/compressed
/camera/infra2/image_rect_raw/compressed/parameter_descriptions
/camera/infra2/image_rect_raw/compressed/parameter_updates
/camera/infra2/image_rect_raw/compressedDepth
/camera/infra2/image_rect_raw/compressedDepth/parameter_descriptions
/camera/infra2/image_rect_raw/compressedDepth/parameter_updates
/camera/infra2/image_rect_raw/theora
/camera/infra2/image_rect_raw/theora/parameter_descriptions
/camera/infra2/image_rect_raw/theora/parameter_updates
/camera/realsense2_camera_manager/bond
/diagnostics
/rosout
/rosout_agg

Which one should be subscribe? BTW, I am just launched: roslaunch realsense2_camera rs_camera.launch

The topic is: camera/depth/image_rect_raw
If you see the “frames didn’t arrive for 5 seconds” it could be that only color images are arriving. In this case, until the issue is resolved, your most promising course of action is to disconnect and reconnect the camera.

authors: doronhi jinfagang

repo: intel-ros/realsense


text:
WIP:source:dataframe:Implements pandas.DataFrame

Aims to resolve #925

Hi @spur19 I thi as per the issue we also need to modify the File source class base, so that it accepts Pandas dataframe too apart from records , and then further to high level fn , right ?

All that needs to happen is to take https://github.com/pdxjohnny/dffml/commit/c188b66bd6b03d6a51dce5f1c6f1d08e34d5b51b and add the .update() method and some tests. I see that this PR is WIP, but just wanted to reiterate that everything else should be removed.

Any progress on this?

source: gharchive/pull-request

authors: Pratikrocks pdxjohnny spur19

repo: intel/dffml

license: MIT

license_type: permissive

license_source: github-api


text:
The skiplists do not use full test identifiers for python 3.10

Example of the problem:
WORKSPACE=$(pwd)
echo ${WORKSPACE}

# install test deps
pip install pytest pytest-xdist pytest-rerunfailures pytest-select pytest-timeout expecttest
pip install git+https://github.com/kwasd/pytest-capturewarnings-ng.git@v1.2.0

# Create directory for tests reports
if [ ! -d "${WORKSPACE}/reports" ]; then
mkdir "${WORKSPACE}/reports"
fi
export TRITON_TEST_REPORTS=true
export TRITON_TEST_WARNING_REPORTS=true
export TRITON_TEST_REPORTS_DIR=${WORKSPACE}/reports
export TEST_UNSKIP=false

# Set a default skip list
export TRITON_TEST_SKIPLIST_DIR=${WORKSPACE}/scripts/skiplist/default

# Run core tests
source ${WORKSPACE}/scripts/pytest-utils.sh

cd python/test/unit
TRITON_TEST_SUITE=language \
  pytest -n ${NUM_PROCESSES} --device xpu language/ --ignore=language/test_line_info.py --ignore=language/test_subprocess.py
cd -

Log:
platform linux -- Python 3.10.14, pytest-8.3.2, pluggy-1.5.0
select: deselecting tests from './intel-xpu-backend-for-triton/scripts/skiplist/current/language.txt', failing on missing selection items
rootdir: ./intel-xpu-backend-for-triton
configfile: pyproject.toml
plugins: select-0.1.2, capturewarnings-ng-1.2.0, rerunfailures-14.0, timeout-2.3.1, xdist-3.6.1
4 workers [11321 items]
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "./python3.10/site-packages/_pytest/main.py", line 283, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "./python3.10/site-packages/_pytest/main.py", line 337, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "./python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR>   File "./python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "./python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR>     raise exception.with_traceback(exception.__traceback__)
INTERNALERROR>   File "./python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall
INTERNALERROR>     teardown.throw(exception)  # type: ignore[union-attr]
INTERNALERROR>   File "./python3.10/site-packages/_pytest/logging.py", line 805, in pytest_runtestloop
INTERNALERROR>     return (yield)  # Run all the tests.
INTERNALERROR>   File "./python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall
INTERNALERROR>     teardown.throw(exception)  # type: ignore[union-attr]
INTERNALERROR>   File "./python3.10/site-packages/_pytest/terminal.py", line 673, in pytest_runtestloop
INTERNALERROR>     result = yield
INTERNALERROR>   File "./python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "./python3.10/site-packages/xdist/dsession.py", line 138, in pytest_runtestloop
INTERNALERROR>     self.loop_once()
INTERNALERROR>   File "./python3.10/site-packages/xdist/dsession.py", line 163, in loop_once
INTERNALERROR>     call(**kwargs)
INTERNALERROR>   File "./python3.10/site-packages/xdist/dsession.py", line 306, in worker_collectionfinish
INTERNALERROR>     self.sched.schedule()
INTERNALERROR>   File "./python3.10/site-packages/xdist/scheduler/load.py", line 295, in schedule
INTERNALERROR>     self._send_tests(node, node_chunksize)
INTERNALERROR>   File "./python3.10/site-packages/xdist/scheduler/load.py", line 307, in _send_tests
INTERNALERROR>     node.send_runtest_some(tests_per_node)
INTERNALERROR>   File "./python3.10/site-packages/xdist/workermanage.py", line 355, in send_runtest_some
INTERNALERROR>     self.sendcommand("runtests", indices=indices)
INTERNALERROR>   File "./python3.10/site-packages/xdist/workermanage.py", line 374, in sendcommand
INTERNALERROR>     self.channel.send((name, kwargs))
INTERNALERROR>   File "./python3.10/site-packages/execnet/gateway_base.py", line 911, in send
INTERNALERROR>     raise OSError(f"cannot send to {self!r}")
INTERNALERROR> OSError: cannot send to <Channel id=3 closed>

~Please note that tests are still skipped, but this only happens due to a coincidence of the test name (but not identifiers).~ Maybe it depends on the python version. For 3.9 the problem is not reproduced (I use 3.10)
See pytest-select code for details:
https://github.com/ulope/pytest-select/blob/31e39c5a9b08d4509520941d47fe69cbd2d34dbc/pytest_select/plugin.py#L76

Note that the method for collecting test names recommended by pytest-select does not show python:
$ cd python/test/unit/
$ pytest --device xpu language/ --ignore=language/test_line_info.py --ignore=language/test_subprocess.py --collect-only --quiet
test/unit/language/test_annotations.py::test_int_annotation[False-8]
test/unit/language/test_annotations.py::test_int_annotation[False-16]
test/unit/language/test_annotations.py::test_int_annotation[False-32]
test/unit/language/test_annotations.py::test_int_annotation[False-64]
test/unit/language/test_annotations.py::test_int_annotation[True-8]
...

Cannot reproduce in my local environment (jupyterhub session) with Python 3.10. Also we run daily tests with Python 3.9 - 3.12, we should have detected this issue long time ago.
Try to run without pytest-xdist (do not specify -n ${NUM_PROCESSES}), potentially there is another issue.

The only difference seems to be in how pytest defines rootdir
/intel-xpu-backend-for-triton/python
https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/10194903852/job/28202467254#step:17:53
vs
/intel-xpu-backend-for-triton (in my env)
But I still don't understand why this is so.

The problem was that the process of determining the root directory considers the folder that is not transferred together with the option as a folder with tests and takes it into account. However, this is not correct.
Debug info from determine_setup function:
inifile = None
args = ['./intel-xpu-backend-for-triton/reports/language-warnings.json', '--warnings-json-output-file', '--deselect-from-file=./intel-xpu-backend-for-triton/scripts/skiplist/current/language.txt', '--select-fail
-on-missing', '--device', 'xpu', 'language/']
rootdir_cmd_arg = None
invocation_dir = PosixPath('./intel-xpu-backend-for-triton/python/test/unit')

If you make such a patch, the definition of the root folder will become correct.
            "--warnings-json-output-file"
            "$TRITON_TEST_REPORTS_DIR/${TRITON_TEST_SUITE}-warnings.json"
vs
            "--warnings-json-output-file=$TRITON_TEST_REPORTS_DIR/${TRITON_TEST_SUITE}-warnings.json"

There is still no understanding of why the problem is not reproduced in the CI.

source: gharchive/issue

authors: anmyachev pbchekin

repo: intel/intel-xpu-backend-for-triton


text:
[Tests] Add query single test

set ray==2.9.0 for ci test

Why the name is query_single? Or should it be simple? Is this being executed on CI and where to find the result?

repo: intel/llm-on-ray


text:
Allow some Endpoints to listen to messages based on a filter

Filtering would be made on routing function - it would allow an endpoint to even listen all messages, even those not meant for it.
A practical example would be LogEndpoints: a filter would avoid then receiving any messages not meant for logging.

Is there any progress on this?

This is a feature idea we had a long time ago. It would be very welcome, but AFAIK no one is working on ti.

Filtering would be really appreaciated on message id.
e.g. with the implementation of UTM_GLOBAL_POSITION message https://github.com/mavlink/mavlink/pull/1009 we have a message to report vehicle positions to air traffic management / UTM systems.
Currently all mavlink messages are forwarded to the UTM system which causes a lot of overhead.
Therefore filtering only needed messages in such a case would reduce the traffic a lot.

@dk7xe This has been implemented on #167

@Jaeyoung-Lim thank you!

authors: Jaeyoung-Lim dk7xe edersondisouza lucasdemarchi

repo: intel/mavlink-router


text:
spgemm and INQ quantization acceleration

We are looking into how to accelerate inference speed of a sparsified DNN or quantized DNN.
For sparsification, we are able to prune 95% of parameters. And we hope that the inference speed can be accelerated accordingly.
For quantization, we use INQ method to quantize the DNN into 5 bits. And we hope that the inference speed can also be accelerated accordingly.
Question: Is there some APIs in MKL-DNN that we can leverage to achieve our goals?

MKLDNN supports int8 quant. This example shows MKLDNN int8 usage: https://github.com/intel/mkl-dnn/blob/master/examples/simple_net_int8.cpp

For sparse work, mkldnn does not have functionality for this. You can use the methods in the MKL library: https://software.intel.com/en-us/mkl-developer-reference-c-sparse-blas-level-2-and-level-3-routines

One more thing: this link has more information on Int8 in MKLDNN
https://intel.github.io/mkl-dnn/ex_int8_simplenet.html

Thanks, Nathan.
Is sparse acceleration something in MKL-DNN's roadmap?

@qigangwang, sparsity in deep neural networks is an area of active research mostly focusing on decreasing the number of model parameters.
With existing Intel MKL-DNN functionality you can take advantage from the pruning methods that result in structured sparsity (i.e. reduce problem dimensions like the number of channels or filter size).
When it comes to unstructured sparsity (i.e. zeroes in the activations or weights that do not reduce the problem size) there are no industry standard methods to exploit it for performance gain. Current thinking is that using sparse data storage formats (like CSR or CSC) to filters or activations is unlikely to result in performance gains in comparison to dense formats on Intel processors. We are continuing to monitor research on that topic.

Thank you very much, vpirogov.

MKL-DNN provides pruning methods?

No, we consider pruning to be users' responsibility.

In transformer model,weight have many very small value,and I set this value to zero,so dense weight convert to sparse weight.then I use intel mkl_sparse_s_spmmd to realize sparse by sparse matrix,and I export this funtion to .so,and use the .so in python function,but the performance is worse than tf.matmul() directly . this very confused me.

And for quantization,I quantize bert model mainly matmul and biasadd,but after quantize,the performace also not promote in Intel(R) Xeon(R) Silver.

@zhoujianqian,
modern CPUs are very good at dense matrix-matrix multiplication and apply a number of techniques like SIMD vectorization that allow to perform multiple floating point operations at the same time (16 fp32 multiplications and 16 additions with Intel AVX512).
Having zeroes in a matrix reduces the number of operations required to perform computations. However computations will less benefit from vectorization or will not benefit from it at all. To compensate for this fact your matrix has to be sparse enough.  For matrices that are close to dense (say 50% non-zeroes) performance of sparse matrix-matrix multiplication may worse than for dense matrices.

I have two sparse matrix:13000256,25631140，and both of them sparity is 80%,I want to improve the performance of multiplication,what methods can I have?

Currently MKL or DNNL/MKL-DNN do not provide functionality to speed-up computations of matrices with such a large number of non-zeroes (20%). MKL methods start to works well when % of non-zeroes is <10% (they only support f32, unfortunately).

authors: nathan-greeneltch-intel qigangwang rsdubtso vpirogov zhoujianqian

repo: intel/mkl-dnn


text:
Align directories and codegen with stock PyTorch

Draft version for now. Only for design review.
Can be built, can be tested with simple ut, like test_xpu.py.
Not tested with other uts
Added supports includes

REGISTER_XPU_DISPATCH(add_stub, add_kernel)
TORCH_IMPL_FUNC

Please emend the description of the PR, to give formal description on the feature.

repo: intel/torch-xpu-ops


text:
Faulty JavaScript generated from AutocompleteConfiguration

I'm trying to use JQueryUI autocomplete using a (async) callback. However, the following WebSharper snippet generates faulty JavaScript (see below).
open WebSharper
open WebSharper.Html.Client
[<JavaScript>]
let Duh () =
    let completer (req : JQueryUI.AutocompleteRequest, respf : array<JQueryUI.AutocompleteItem> -> unit) =
        respf [| {Label = "foo"; Value = "bar" } |]
   let input = Input []
   let conf = JQueryUI.AutocompleteConfiguration()
   conf.SourceCallback <- completer
   JQueryUI.Autocomplete.New(input, conf) |> ignore
    input

In the generated code below, the autocomplete 'source' property is left unset, and a property  called 'source3' is set instead. This give a runtime error when trying to call the callback (which is null). Changing the JavaScript from source3 to source fixes the problem, but then it crashes with "Uncaught TypeError: Cannot read property 'call' of undefined" in line 6 below.
Duh:function()
    {
     var completer,arg10,input,conf;
     completer=function(tupledArg)
     {
      return tupledArg[1].call(null,[{
       label:"foo",
       value:"bar"
      }]);
     };
     arg10=Runtime.New(T,{
      $:0
     });
     input=Tags.Tags().NewTag("input",arg10);
     conf=AutocompleteConfiguration.New();
     conf.source3=completer;
     Autocomplete.New1(input,conf);
     return input;
    }
   }
  }
 });

Am I doing something wrong?
I'm using F# in VS 2015 and  F# 3.1 in mono under Linux. I have tested with:
WebSharper.3.6.2.220
WebSharper.Formlets.3.6.2.68
WebSharper.Html.3.6.2.12
WebSharper.JQueryUI.3.6.1.285

Ok, I figured it out. The implementation was all wrong, and only worked for simple array sources. Incidentally this was also the only case which was tested for in the test suite. I will file a pull request shortly, if anyone cares.

Thanks for the PR! Tested and merged.

authors: Tarmil juselius

license_source: bigquery


text:
Yewdux hooks

This PR adds hooks in a seperate yewdux-functional crate for usage with function components in Yew.
This is still WIP because I get an error when calling a callback The Id of the handler: 1, while present in the slab, is not associated with a callback. even though all functionality is properly working.
Final API:

[x] use_dispatch which allows emitting callbacks on the store.
[x] use_store which allows accessing the store.

Question
How would a use_selector hook work? The Dispatch returns an Rc so it would be impossible to implement without cloning the result of the selector.

It seems to be working as expected! Here's a demo. I still need to add some unit tests.

Sorry for the long wait. Just BTW I haven't tested any of this yet so none of it might work.

repo: intendednull/yewdux


text:
Migrate to CWL workflow definition

Currently a digital twin workflow is defined using YAML files witha custom format. Migrate to the standard CWL workflow composition and engine.

I tried to run the MNIST workflow with:
conda run -p ./.venv python run-workflow.py -f ./use-cases/mnist/training-workflow.yml --cwl

but it breaks, because the file ./use-cases/mnist/pl-config.yml is not added to CWL tmp context.
Error stack:
...
FileNotFoundError: [Errno 2] No such file or directory:
'./use-cases/mnist/pl-config.yml'

ERROR conda.cli.main_run:execute(47): `conda run itwinai train --config /tmp/mbunino/i7z0yak5/stgfca12da7-5d52-470b-9ef0-e3fe49d80811/mnist-ai.yml --input /tmp/mbunino/i7z0yak5/stg9561b039-4d7f-4c32-8afa-70b719c30b9e/preproc-images-train` failed. (See above for error)
WARNING [job training] exited with status: 1
WARNING [job training] completed permanentFail
WARNING [step training] completed permanentFail
INFO [workflow ] completed permanentFail
WARNING Final process status is permanentFail
Traceback (most recent call last):
  File "/afs/cern.ch/work/m/mbunino/private/itwin/T6.5-AI-and-ML/run-workflow.py", line 69, in <module>
    subprocess.run(
  File "/afs/cern.ch/work/m/mbunino/private/itwin/T6.5-AI-and-ML/.venv/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'cwltool use-cases/mnist/workflow.cwl ./use-cases/mnist/training-workflow.yml' returned non-zero exit status 1.

ERROR conda.cli.main_run:execute(47): `conda run python run-workflow.py -f ./use-cases/mnist/training-workflow.yml --cwl` failed. (See above for error)

May I ask to fix this issue, so that I can complete the MNIST use case?

Moving to next milestone, to avoid blocking MVP release.
For next release, need to fix also #28

CWL fails for some reason...
To reproduce:
micromamba run -p ./.venv python run-workflow.py -f ./use-cases/mnist/training-workflow.yml --cwl

Traceback (most recent call last):
  File "/home/mbunino/itwin/test/run-workflow.py", line 125, in <module>
    subprocess.run(
  File "/home/mbunino/itwin/test/.venv/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'cwltool --leave-tmpdir --outdir=./use-cases/mnist/data use-cases/mnist/workflow.cwl ./use-cases/mnist/training-workflow.yml' returned non-zero exit status 1.


text:
Don't generate link if params contain undefined

Hey,
I just tried this in my app and noticed it's trying to invoke serialize() on my routes (through the router) even for undefined models - unlike link-to. So to make it a "more drop-in" solution I'm proposing to adopt that behavior. I'm not completely sure this is the perfect place to handle this, especially with queryParams - but as I don't really use queryParams in my app, it's hard for me to verify if this makes any sense.
Anyway this is what I could come up with in 2min looking at it and it made my application work, so I thought I'd share :-)
BR,
Dominik

This should probably return # instead of undefined to have parity with {{link-to}}. Perhaps you could add some tests?

Mh. I haven't seen ember returning a # but i can lossibly dig around in the code to see how it's handled in ember itself. And then write tests...

Ah, perhaps it doesn't - I just tried it briefly. What should the URL be in cases where there is an undefined model?

Just empty because it doesnt make sense to create a link to something undefined and the route wouldnt match anyway if just the url was entered afaict.

Anyway ... with normal link-to route.serialize is not invoked for undefined models and so a url cannot be generated. That's what this PR is about, i had calls to undefined functions in my serialize hooks because of this difference. They are fixed by thos change.

In this simple test {{link-to}} seems to return #:

This seems to me to be the best scenario as clicking a URL like this won't cause the application to reload or throw and exception.
Perhaps you could provide an example of you use case and specify what you think the generated URLs should be?

I'm fine with #. I'll try myself later and update this PR accordingly.

authors: GavinJoyce dschmidt

repo: intercom/ember-href-to


text:
Feat: Add USDC and more initial routes

Resolves #165
This PR is slightly expanded in scope compared to PR #171 , as it adds USDC as foreign asset between Interlay and both, AssetHub and HydraDX, as well as adding USDT route between Interlay and HydraDX.
All new routes:

USDC

Interlay <-> AssetHub
Interlay <-> HydraDX

USDT

Interlay <-> HydraDX

(USDT to/from AssetHub already exists)

Closing this for now to avoid confusion, takes more work to figure out how to correctly configure it.

repo: interlay/bridge


text:
feat(localenv): span metrics generation

Changes proposed in this pull request

Configures tempo to generate metrics based off spans
Adds visualization for 95th percentile graphql resolver durations to localenv dashboard (live dashboard not applicable because tracing is local only atm)

Visualization preview:

Context

fixes: https://github.com/interledger/rafiki/issues/2848
Checklist

[x] Related issues linked using fixes #number
[ ] Tests added/updated
[ ] Documentation added
[x] Make sure that all checks pass
[ ] Bruno collection updated

I considered if we wanted to add visualizations for each resolver. Like stat metrics for 25th, 50th, 95th percentile etc or something but opted not to.
One, I feel like we will better understand what details we need as we actually consume these (as part of performance testing analysis?). In addition, I think we probably mostly care about the extreme high end (ie 95th, 99th percentile etc). In which case maybe we just add another bar gauge like the included one but for 99th percentile.

live dashboard not applicable because tracing is local only atm

I'm curious exactly what our plan is with the local dashboard? Are we using it for dev? Are we using it to measure only certain local metrics. It's not exactly clear to me.

I'm curious exactly what our plan is with the local dashboard? Are we using it for dev? Are we using it to measure only certain local metrics. It's not exactly clear to me.

Mainly for performance testing and debugging

live dashboard not applicable because tracing is local only atm

I'm curious exactly what our plan is with the local dashboard? Are we using it for dev? Are we using it to measure only certain local metrics. It's not exactly clear to me.

I'm mostly using it to validate the metric collection and develop visualizations. If it were applicable to the live version I would add them to there after merging this (although I guess technically it wouldn't have any data until the next release). I dont think we need tom maintain parity with the live version but its nice to have some basic proof-of-concept visualizations for some of the different metrics IMO.
Thinking back to our conversation about development workflow I think in theory it would be nice to develop locally, commit, then publishing to grafana from ci but not sure its worth the setup tbh..

authors: BlairCurrey JoblersTune mkurapov

repo: interledger/rafiki


text:
[tooling] Build a lot less

A lot of our scripts call build.sh to ensure that the monitoring image is built before using it.  However, these scripts are often strung together with multiple of them running in one invocation, which causes the monitoring image to be built multiple times in a single script invocation.  This PR fixes that by checking and setting a standard flag indicating whether the monitoring image has already been built in this invocation.

While reviewing this PR, I came across the profiles feature of docker-compose. That may be useful for future improvement and harmonize container setup. Ref: https://docs.docker.com/compose/profiles/

Ooh, nice :)  This is the first time I've seen that too.

repo: interuss/monitoring


text:
Badge Name
Wagmi
Description
https://wagmi.sh/

Thank you @inttter !

repo: inttter/md-badges


text:
assesment.py file added for nlp task

Description
Thanks for contributing this Pull Request. Make sure that you submit this Pull Request against the master branch of this repository, add a brief description, and tag the relevant issue(s) and PR(s) below.

Relevant Issues: A program to add a new feature for users to upload a csv file and conduct nlp assesment on it was missing. It's an essential step to secure RDS instance, without working upon the client downtime.
Relevant PRs: (optional)
Type of change :

[x] New feature
[ ] Bug fix for existing feature
[x] Code quality improvement
[x] Addition or Improvement of tests
[ ] Addition or Improvement of documentation

Hello @stationeros, I have added the NLP file in the PR, have a look and do let me know what changes further I need to do in this.

@markandey1414  The ask was not this. Do take a look at the video, https://github.com/intuit/Trapheus/tree/master/labs/TrapheusAI we need to add an option in the UI to take in CSV input.

repo: intuit/Trapheus


text:
Karate changes the xml request body

Hi,
I was automating a SOAP API using Karate Framework and noticed the request body gets modified by karate.
Actual Behaviour- Request body is modified by karate
Expected Behaviour- Request body should be passed as it is
Note- Attached sample maven project to reproduce the steps.
Also attached an image highlighting the difference
Java Version- jdk1.8.0_271
JUnit- 5
Listed below is my feature file-
Feature: SearchCustomer
Scenario: Test Scenario
Given url 'https://postman-echo.com/post'
And request
"""
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://abc.com/enterpriseapplicationintegration/common-types/v1" xmlns="http://abc.com/customerinformationmanagement/customerprofilesearch/v1" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
   <soapenv:Header>
      <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-123456">
            <wsse:Username>abc</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">123</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soap:Body>
      <searchCustSum xmlns="http://abc.com/customerinformationmanagement/customerprofilesearch/v1" xmlns:ns2="http://abc.com/customerprofile-common/types/v1" xmlns:ns3="http://abc.com/commonbusinessentities-common/types/v1" xmlns:ns4="http://abc.com/enterpriseapplicationintegration/common-types/v1" xmlns:ns5="http://abc.com/customerprofile/types/v1" xmlns:ns6="http://abc.com/core/types/v1" xmlns:ns7="http://abc.com/locationmanagement/types/v1" xmlns:ns8="http://abc.com/customerprofile/types-extended/v1" xmlns:ns9="http://abc.com/customerprofile/types-unqualified/v1" xmlns:ns10="http://abc.com/customerbilling/types-unqualified/v1" xmlns:ns11="http://abc.com/commonbusinessentities/types-unqualified/v1" xmlns:ns12="http://abc.com/core/types-unqualified/v1" xmlns:ns13="http://abc.com/enterprise/types-unqualified/v1" xmlns:ns14="http://abc.com/supplierpartner/types-unqualified/v1" xmlns:ns15="http://abc.com/customerproduct/types-unqualified/v1" xmlns:ns16="http://abc.com/customerbusinessinteraction/types-unqualified/v1" xmlns:ns17="http://abc.com/resource/types-unqualified/v1" xmlns:ns18="http://abc.com/productcatalog/types-unqualified/v1" xmlns:ns19="http://abc.com/marketsales/types-unqualified/v1" xmlns:ns20="http://abc.com/productcatalog-common/types/v1" xmlns:ns21="http://abc.com/customerproduct/types/v1" xmlns:ns22="http://abc.com/customerbilling-common/types/v1" xmlns:ns23="http://abc.com/customerbusinessinteraction-common/types/v1" xmlns:ns24="http://abc.com/servicecatalog/types-unqualified/v1" xmlns:ns25="http://abc.com/service/types-unqualified/v1" xmlns:ns26="http://abc.com/servicebusinessinteraction/types-unqualified/v1" xmlns:ns27="http://abc.com/supplierpartner-common/types/v1" xmlns:ns28="http://abc.com/customerproduct-common/types/v1" xmlns:ns29="http://abc.com/customerordermanagement-common/types/v1">
         <query xsi:type="CustomerQueryByAccount" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <custAcctID>
            <ns2:id xmlns:v12="http://abc.com/customerprofile-common/types/v1">12345</ns2:id>
            </custAcctID>
         </query>
      </searchCustSum>
   </soap:Body>
</soapenv:Envelope>

"""

When soap action 'https://postman-echo.com/post'
17:47:48.782 request:
1 > POST https://postman-echo.com/post
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 3080
1 > Content-Type: text/xml; charset=UTF-8
1 > Host: postman-echo.com
1 > SOAPAction: https://postman-echo.com/post
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_271)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://abc.com/customerinformationmanagement/customerprofilesearch/v1" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://abc.com/enterpriseapplicationintegration/common-types/v1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Header>
      <wsse:Security>
         <wsse:UsernameToken wsu:Id="UsernameToken-123456">
            <wsse:Username>abc</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">123</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soap:Body>
      <searchCustSum xmlns:ns10="http://abc.com/customerbilling/types-unqualified/v1" xmlns:ns11="http://abc.com/commonbusinessentities/types-unqualified/v1" xmlns:ns12="http://abc.com/core/types-unqualified/v1" xmlns:ns13="http://abc.com/enterprise/types-unqualified/v1" xmlns:ns14="http://abc.com/supplierpartner/types-unqualified/v1" xmlns:ns15="http://abc.com/customerproduct/types-unqualified/v1" xmlns:ns16="http://abc.com/customerbusinessinteraction/types-unqualified/v1" xmlns:ns17="http://abc.com/resource/types-unqualified/v1" xmlns:ns18="http://abc.com/productcatalog/types-unqualified/v1" xmlns:ns19="http://abc.com/marketsales/types-unqualified/v1" xmlns:ns2="http://abc.com/customerprofile-common/types/v1" xmlns:ns20="http://abc.com/productcatalog-common/types/v1" xmlns:ns21="http://abc.com/customerproduct/types/v1" xmlns:ns22="http://abc.com/customerbilling-common/types/v1" xmlns:ns23="http://abc.com/customerbusinessinteraction-common/types/v1" xmlns:ns24="http://abc.com/servicecatalog/types-unqualified/v1" xmlns:ns25="http://abc.com/service/types-unqualified/v1" xmlns:ns26="http://abc.com/servicebusinessinteraction/types-unqualified/v1" xmlns:ns27="http://abc.com/supplierpartner-common/types/v1" xmlns:ns28="http://abc.com/customerproduct-common/types/v1" xmlns:ns29="http://abc.com/customerordermanagement-common/types/v1" xmlns:ns3="http://abc.com/commonbusinessentities-common/types/v1" xmlns:ns4="http://abc.com/enterpriseapplicationintegration/common-types/v1" xmlns:ns5="http://abc.com/customerprofile/types/v1" xmlns:ns6="http://abc.com/core/types/v1" xmlns:ns7="http://abc.com/locationmanagement/types/v1" xmlns:ns8="http://abc.com/customerprofile/types-extended/v1" xmlns:ns9="http://abc.com/customerprofile/types-unqualified/v1">
         <query xsi:type="CustomerQueryByAccount">
            <custAcctID>
            <ns2:id xmlns:v12="http://abc.com/customerprofile-common/types/v1">12345</ns2:id>
            </custAcctID>
         </query>
      </searchCustSum>
   </soap:Body>
</soapenv:Envelope>

17:47:50.046 response time in milliseconds: 1256.81
1 < 200
1 < Connection: keep-alive
1 < Content-Type: application/json; charset=utf-8
1 < Date: Fri, 01 Jan 2021 09:47:42 GMT
1 < ETag: W/"e3a-kLk/9LZkZlgFEJipePgkYEM12Uk"
1 < Transfer-Encoding: chunked
1 < Vary: Accept-Encoding
1 < set-cookie: sails.sid=s%3AjJa04mLZHqYY4JKJlF6USGczk8Lyxv8B.YufjiMTx6mYrlx1eAY8twTT8IF96kGsVycLUT%2BgmaDg; Path=/; HttpOnly
{"args":{},"data":"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns=\"http://abc.com/customerinformationmanagement/customerprofilesearch/v1\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:v1=\"http://abc.com/enterpriseapplicationintegration/common-types/v1\" xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n   <soapenv:Header>\r\n      <wsse:Security>\r\n         <wsse:UsernameToken wsu:Id=\"UsernameToken-123456\">\r\n            <wsse:Username>abc</wsse:Username>\r\n            <wsse:Password Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">123</wsse:Password>\r\n         </wsse:UsernameToken>\r\n      </wsse:Security>\r\n   </soapenv:Header>\r\n   <soap:Body>\r\n      <searchCustSum xmlns:ns10=\"http://abc.com/customerbilling/types-unqualified/v1\" xmlns:ns11=\"http://abc.com/commonbusinessentities/types-unqualified/v1\" xmlns:ns12=\"http://abc.com/core/types-unqualified/v1\" xmlns:ns13=\"http://abc.com/enterprise/types-unqualified/v1\" xmlns:ns14=\"http://abc.com/supplierpartner/types-unqualified/v1\" xmlns:ns15=\"http://abc.com/customerproduct/types-unqualified/v1\" xmlns:ns16=\"http://abc.com/customerbusinessinteraction/types-unqualified/v1\" xmlns:ns17=\"http://abc.com/resource/types-unqualified/v1\" xmlns:ns18=\"http://abc.com/productcatalog/types-unqualified/v1\" xmlns:ns19=\"http://abc.com/marketsales/types-unqualified/v1\" xmlns:ns2=\"http://abc.com/customerprofile-common/types/v1\" xmlns:ns20=\"http://abc.com/productcatalog-common/types/v1\" xmlns:ns21=\"http://abc.com/customerproduct/types/v1\" xmlns:ns22=\"http://abc.com/customerbilling-common/types/v1\" xmlns:ns23=\"http://abc.com/customerbusinessinteraction-common/types/v1\" xmlns:ns24=\"http://abc.com/servicecatalog/types-unqualified/v1\" xmlns:ns25=\"http://abc.com/service/types-unqualified/v1\" xmlns:ns26=\"http://abc.com/servicebusinessinteraction/types-unqualified/v1\" xmlns:ns27=\"http://abc.com/supplierpartner-common/types/v1\" xmlns:ns28=\"http://abc.com/customerproduct-common/types/v1\" xmlns:ns29=\"http://abc.com/customerordermanagement-common/types/v1\" xmlns:ns3=\"http://abc.com/commonbusinessentities-common/types/v1\" xmlns:ns4=\"http://abc.com/enterpriseapplicationintegration/common-types/v1\" xmlns:ns5=\"http://abc.com/customerprofile/types/v1\" xmlns:ns6=\"http://abc.com/core/types/v1\" xmlns:ns7=\"http://abc.com/locationmanagement/types/v1\" xmlns:ns8=\"http://abc.com/customerprofile/types-extended/v1\" xmlns:ns9=\"http://abc.com/customerprofile/types-unqualified/v1\">\r\n         <query xsi:type=\"CustomerQueryByAccount\">\r\n            <custAcctID>\r\n            <ns2:id xmlns:v12=\"http://abc.com/customerprofile-common/types/v1\">12345</ns2:id>\r\n            </custAcctID>\r\n         </query>\r\n      </searchCustSum>\r\n   </soap:Body>\r\n</soapenv:Envelope>","files":{},"form":{},"headers":{"x-forwarded-proto":"https","x-forwarded-port":"443","host":"postman-echo.com","x-amzn-trace-id":"Root=1-5feeefbe-39ca2d7862b6082030511cfa","content-length":"3080","soapaction":"https://postman-echo.com/post","content-type":"text/xml; charset=UTF-8","user-agent":"Apache-HttpClient/4.5.13 (Java/1.8.0_271)","accept-encoding":"gzip,deflate"},"json":null,"url":"https://postman-echo.com/post"}
Test.zip

@sudhag85 why don't you re-read those instructions and try again: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
to help you I'm quoting it below:
"Minimal" also means that your pom.xml (or build.gradle) should ideally be in the form generated by the quickstart or copied from the examples, many people get this wrong - so please ensure that you do this ! Please don't just cut and paste your existing pom.xml - your issue will be promptly rejected

@sudhag85 why don't you re-read those instructions and try again: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
to help you I'm quoting it below:
"Minimal" also means that your pom.xml (or build.gradle) should ideally be in the form generated by the quickstart or copied from the examples, many people get this wrong - so please ensure that you do this ! Please don't just cut and paste your existing pom.xml - your issue will be promptly rejected

repo: intuit/karate

license: mit


text:
Black as auto formatting tool

The only option used is --line-length 79 as defined in pep8.

I remember talking with Lars some time ago about using Yapf from Google ... perhaps there is a good reason to use Black ☺

Black looks great, but I'm a little concerned that the first version was released in March, and it's not stable yet (meaning). I'm fine with checking out the tool on Invenio-Circulation and later adopting it for all repositories (once stable), as long as PEP8 compliance is maintained.

@lnielsen this PR was not intended to be merged but to demonstrate a small piece of code and its output in order to get a first idea if it fits with existing invenio conventions. As you stated the idea is to experiment with it on circulation and then we can evaluate its stability, or not. A super cool thing is that supports isort so with on step we can nail them both.
@jma single or double doesn't matter, as long as we all use the same.

Invenio prefer single quote to double quote.

Since the tool is anyway going to touch many lines, and both are PEP8 compliant I'm fine with either as long as it is consistent and nothing is left to the developer. I prefer out-of-the-box defaults :-)

There is a good argument for the default line length set to 88, but that would require to configure pep8 max-line-length (E501). Since its a radical change in the codebase maybe would be worth considering.

For the line length, I would stay with 79 as defined by PEP8.

To be adopted when code more "stable"

authors: egabancho lnielsen ntarocco topless

repo: inveniosoftware/invenio-circulation


text:
models: fix BigInteger autoincremental for SQLite

Signed-off-by: Leonardo Rossi leonardo.r@cern.ch

This is already fixed in #51

authors: hachreak lnielsen

repo: inveniosoftware/invenio-pidstore


text:
global: remove python 2 support

supports only python 3.6 due to #219
child of inveniosoftware/invenio#4004
closes #215

Closes https://github.com/inveniosoftware/invenio-records/issues/218

authors: ppanero topless

repo: inveniosoftware/invenio-records


text:
🛑 Keycloak Competence Center is down

In 5e9bb43, Keycloak Competence Center (https://keycloak.ch) was down:

HTTP code: 503
Response time: 148 ms

Resolved: Keycloak Competence Center is back up in 7840511 after 1 minute.

repo: inventage/upptime


text:
🛑 Keycloak Competence Center is down

In d32ef54, Keycloak Competence Center (https://keycloak.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Keycloak Competence Center is back up in ca95af2 after 26 minutes.


text:
Feature request: find/add parts using the octopart api

Hi,
I found this neat project on the Kicad forum and tried it instantly.
What holds me back from using it in a medium sized company is the part entry stuff.
It is a lot of manual work (even with the batch import/edit) and errors can be made. Also the price information can be old.
Octopart has a nice API: https://octopart.com/api/home
Adding a part would be much easier as all the information (including prices from multiple distributors, a picture and possibly Kicad library parts) can be fetched automatically. I'm starting to dream now but perhaps email notifications can be sent when stocks at distributors get low for instance.

Hey @Snevzor it's a great idea, but unfortunately the Octopart API terms of service do not allow caching of any downloaded data (i.e. you cannot store it in a database). I have actually reached out to the Octopart support and specifically asked about this.
I would love to know how to support this but not violate their TOS

Oh that's a pity. I've briefly searched for some alternative but none seem to live up to what Octopart has to offer.

I think that the individual supplier APIs are worth looking at (e.g. Digikey / Mouser / etc) but this obviously would require a lot more work, and a careful analysis of the TOS of each API

@Snevzor I have responded to your other issue: https://github.com/inventree/InvenTree/issues/566
I definitely think you should have a look at Ki-nTree :smile:

@eeintech I've added Ki-nTree to the list of third-party InvenTree integrations!
Congrats, you've single-handedly doubled the length of the list 👍

@SchrodingersGat Nice, thanks! Hopefully it lives up to the hype!

OP is not active: @SchrodingersGat I think we should close this issue

I will close it out for now. In the future I'd like to see such integrations, but it needs to be carefully considered.

If anyone else finds this comment - https://github.com/inventree/InvenTree/issues/541#issuecomment-677961649
Here's the new link for the third-party InvenTree integrations page in the docs: https://inventree.readthedocs.io/en/latest/extend/plugins/

I came across this issue and wondered and realized that Octopart (and it's API) now belongs to Altium and is running as Nexar API.
Unfortunately, the Terms of Use are still not allowing this use case 😞

License Grant.
[...]
1.2. Restrictions.
[...] you shall not, and shall not permit others, including your Authorized Users to [...]
(v) self-host any content including but not limited to datasheets and images;
(vi) use the Nexar API to cache and/or store data for more than twenty-four (24) hours;

@orzechow Not surprising, better stick with APIs from the suppliers themselves and avoid data aggregators, even if it's more work.

authors: SchrodingersGat Snevzor eeintech ndbroadbent orzechow

repo: inventree/InvenTree


text:
reflect-metadata 0.1.9 triggers "read only property" TypeError

Compiling with 0.1.9 of reflect-metadata causes the following exception:
D:\Repos\inversify-basic-example\node_modules\inversify\lib\resolution\instantiation.js:14
        instance[propertyName] = injection;
                               ^
TypeError: Cannot assign to read only property 'warrior1' of object '#<EpicBattle>'

Downgrading to 0.1.8 corrects the issue.

Hi @tvsbrent thanks for reporting this. I will work on a fix ASAP but due to xmas it may take me a few of days.

No problem, I didn't expect such a quick response!

Done by ae38fdcb7499ce57513cc659d6c808fad0ba3c9f

authors: remojansen tvsbrent

repo: inversify/inversify-basic-example


text:
Android notification: cant set largeIcon as null to hide it when expand notification

Im trying to implement an expandable notification AndroidStyle.BIGPICTURE style  type with largeIcon and picture.  I want to set largeIcon: null in style property, to hide it  when  notification is expanded. After that, when I'm trying to call displayNotification I'm receiving an error notifee.displayNotification(*) 'notification.android.style' BigPictureStyle: 'largeIcon' expected a React Native ImageResource value or a valid string URL.
Here is an example of what I'm trying to implement from developer.android.
Library version: 3.0.4
react: 17.0.2
react-native: 0.66.3
Steps To Reproduce:
1)Prepare notification data: set largeIcon, set stype properties: picture,  type: AndroidStyle.BIGPICTURE and largeIcon: null
2)Call displayNotification with prepared notification
Describe what you expected to happen:
1)Notification  is received
2) largeIcon hides when you expand the notification

@andrew-stupchuk thanks for the details, made it easy to reproduce and push up a fix. As soon as it passes on CI and p/r is reviewed, I'll release it

@helenaford no problem, thanks for the fix)

authors: andrew-stupchuk helenaford

repo: invertase/notifee


text:
Android: alarm manager crash in prod

Crash details :
app.notifee.core.b.a
java.lang.IllegalStateException
Type :
java.lang.IllegalStateException

Exception java.lang.IllegalStateException:
  at android.os.Parcel.createExceptionOrNull (Parcel.java:2445)
  at android.os.Parcel.createException (Parcel.java:2421)
  at android.os.Parcel.readException (Parcel.java:2404)
  at android.os.Parcel.readException (Parcel.java:2346)
  at android.app.IAlarmManager$Stub$Proxy.set (IAlarmManager.java:395)
  at android.app.AlarmManager.setImpl (AlarmManager.java:976)
  at android.app.AlarmManager.setImpl (AlarmManager.java:936)
  at android.app.AlarmManager.setExactAndAllowWhileIdle (AlarmManager.java:1204)
  at androidx.core.app.AlarmManagerCompat.setExactAndAllowWhileIdle (AlarmManagerCompat.java)
  at app.notifee.core.b.a (b.java)
  at app.notifee.core.b.d (b.java)
  at app.notifee.core.b.$r8$lambda$151PIGd68T6XmG3qfUpdhLSxeHA (b.java)
  at app.notifee.core.b$$InternalSyntheticLambda$0$6994c2bc3e3b1b863932ce9c676a56a66e26edaf3ce266a10a1f053fe74f617f$0.onComplete (b.java)
  at com.google.android.gms.tasks.zzi.run (zzi.java)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8669)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
Caused by android.os.RemoteException: Remote stack trace:
  at com.android.server.alarm.AlarmManagerService.setImpl (AlarmManagerService.java:2283)
  at com.android.server.alarm.AlarmManagerService$5.set (AlarmManagerService.java:3038)
  at android.app.IAlarmManager$Stub.onTransact (IAlarmManager.java:211)
  at android.os.Binder.execTransactInternal (Binder.java:1215)
  at android.os.Binder.execTransact (Binder.java:1179)

Can anyone help me on this crash issue?

Would you be able to give some context or share the use case? it seems to crash when an alarm/trigger notification is created via setExactAndAllowWhileIdle. But, it's hard to know if this is when you are creating the notification for the first time or creating a repeating notification.

@helenaford Thanks for the reply.
As in my application there is a feature to create notification/alarm on repeating (daily, weekly) bases.

is this something you're seeing a lot? any patterns like device, android version or type of triggers set?

authors: ashishmangukiya helenaford


text:
Web UI: More options for saving intermediate images

Currently intermediate images are saved every 5 steps. This should be configurable.

This is a good first issue:

add a variable to the system slice
add a UI element in SettingsModal.tsx
update parameterTranslation.ts to send this to the backend
use the value in the image_progress callback function

repo: invoke-ai/InvokeAI


text:
Fix up Knip config & enable --production mode

Summary
The other day someone asked for an example of Knip + Storybook including production mode. GitHub search led me to this repo. And then I was happy to see Knip being used in a great manner :)
One thing struck me, though, so here I am proposing a small change so Knip will stay out of your way even more.
This also enables knip --production, which to me seems to reveal some unused exports you might to remove as well, but I'm leaving that up to you.
Related Issues / Discussions
N/A
QA Instructions
CI should still pass. You could consider adding another task to additionally run knip --production as well.
Merge Plan
N/A
Checklist

[x] The PR has a short but descriptive title, suitable for a changelog
[ ] Tests added / updated (if applicable)
[ ] Documentation added / updated (if applicable)

Thank you! Nice to use paths instead of explicit ignores, I couldn't figure that part out before. I'll review strict & production mode and make adjustments as needed.
Thanks for knip, it's a very useful tool.

authors: psychedelicious webpro


text:
🛑 Bitwage API (Sandbox) is down

In db65dbe, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 35 ms

Resolved: Bitwage API (Sandbox) is back up in 8b19158 after 18 minutes.


text:
🛑 Bitwage API (Sandbox) is down

In 614f409, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 243 ms

Resolved: Bitwage API (Sandbox) is back up in 3911bba after 12 minutes.


text:
🛑 Bitwage API (Sandbox) is down

In 543a543, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 272 ms

Resolved: Bitwage API (Sandbox) is back up in 6e00dcc after 26 minutes.


text:
🛑 Bitwage API (Sandbox) is down

In 23bce85, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 294 ms

Resolved: Bitwage API (Sandbox) is back up in 4bbe4f9 after 26 minutes.


text:
🛑 Bitwage API (Sandbox) is down

In 2970d79, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 119 ms

Resolved: Bitwage API (Sandbox) is back up in c404ab8 after 32 minutes.


text:
🛑 Bitwage API (Sandbox) is down

In 9f67022, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 119 ms

Resolved: Bitwage API (Sandbox) is back up in 35e02a2 after 22 minutes.


text:
Update accuweather to 1.3.2

Please update my adapter ioBroker.accuweather to version 1.3.2.
This pull request was created by https://www.iobroker.dev c0726ff.

1.3.2 created 04.12.2023
280 user
OK


text:
Allow casting Image to QuadMesh

This reapplies https://github.com/ioam/holoviews/pull/1223 as it seems to have gotten lost when rebasing the image interface.

Looks good. Merge when the tests pass or should there be a unit test or two to make sure this functionality doesn't get lost again?

QuadMesh will get a rewrite soon anyway, just go ahead and merge for now.

authors: jlstevens philippjfr

repo: ioam/holoviews


text:
Introduced the SkipRendering exception

This PR introduces a new type of Exception called SkipRendering.
Currently it is used to skip the rendering of an open DynamicMap that is defined by an exhausted generator.

The tests are passing so if you are happy with the changes after reviewing them, please merge!

It passed before you restarted it and it looks fine to me. I'll merge.


text:
How to generate two-gaussian pattern with fixed distance

Dear Bednar,
I am trying to generate a pattern of two gaussians which have fixed distance to each other, e.g.
np.exp(-0.5*x_w1*x_w1 + -0.5*y_h1*y_h1) + np.exp(-0.5*x_w2*x_w2 + -0.5*y_h2*y_h2)
here x_w2 = x_w1-0.3, y_h2 = y_h1 -0.4.
But Class Patterngenerator seems doesn't work for this type of functions. One gaussian can work.
How to get this two gaussian work by the Patterngenerator ?

I'm not sure precisely what you mean, but you can create any arbitrary pattern you like.  You can see examples at http://ioam.github.io/imagen , e.g. if you search for "lefteye".

authors: dancehours jbednar

repo: ioam/topographica


text:
App wird nicht erkannt im Status[Bug]:

Contact Details
No response
What happened?
A bug happened!
Die App "SmartTV Client for Twitch" wir nicht vom Adapter erkannt und lässt auch keine Steuerung des Players zu.
Kann das gefixt werden?
Danke für das nützliche Projekt!
Adapter Version
3.0.3
JS-Controller Version
5.0.12
Node JS Version
18.18.2
NPM Version
9.8.1
Operating System
Debian
Relevant log output
No response
Anything else?
No response

What exactly do you mean when you say you want to control Twitch?
The generic play/pause/next/prev controls work in other apps like YouTube for example. If you need more than that I don't think it's going to happen any time soon... if at all.


text:
Created submodule for strings and device objects

To reduce the size of main.js and make it better to maintain the string functions as well as the device objects are now separated from main.js in lib folder

Cool! :-)


text:
Convert spdx noassertion version to blank

Draft while I use this commit in our service and verify it works as expected. 😄

Works! 🎉

repo: ion-channel/ionic


text:
Fixed GameJson analysis field

Description
This pull request updates the GameJson struct for exporting games by user. This change fixes the analysis field, which is supposed to be Array of objects (GameMoveAnalysis) as stated in the Lichess API.
Changes Made

Modified the GameJson.analysis field in src/model/games/mod.rs to Option<Vec<GameMoveAnalysis>>.
Added missing data to the test file tests/data/response/game_json.json.

Looks like an oversight on my recent change - thanks for the fix 🙂


text:
How to set background color

I have a black theme app and sometimes when the app starts, or even when i call a native plugin the background appears white. I want to change this to back if it is possible. Thanks

I think you will have to set the background colour (on iOS the wkwebview background and the background of the scrollview) within the native code. For iOS that would be somewhere after the webview declaration within the method pluginInitialize  in CDVWKWebViewEngine.m

@wilk-polarny thanks I will definitely try it and let you know.

Just solve it with this line of code in the CDWKWebViewEngine.m just after the WebViewEngine is created.
webView.opaque = false

authors: acollazomayer wilk-polarny

repo: ionic-team/cordova-plugin-ionic-webview


text:
Ionc Image Not Working on release mode android

Hey When i build my apk file and upload it to my phone i can't see the pictures that i upload from local
<img *ngFor="let player of player2; let i = index" width="60" height="100" [id]="'active-'+i" [src]="'../img/'+player.number+'_'+player.type+'.jpg'" (click)="CartClicked($event,i)" alt="{{ player.number }}" />

Please fill the issue template.
This seems like a support request. For support requests you can use the ionic forum.

Hello! Thanks for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!

authors: AmitMY jgw96 simoebenhida

repo: ionic-team/ionic


text:
Error: Uncaught (in promise): invalid views to insert with 3.9.2

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Seems similar to #11873 and #11374, which are marked as resolved.
I'm using the latest ionic-angular@3.9.2 with angular@5.0.3 and rxjs@5.5.2.
I have to specific issue when navigating through the app, except when I start using the back and next buttons of the navigation, I get this error in the console:
ERROR Error: Uncaught (in promise): invalid views to insert
    at resolvePromise (zone.js:824)
    at Object.eval [as reject] (zone.js:746)
    at NavControllerBase._fireError (nav-controller-base.js:322)
    at NavControllerBase._failed (nav-controller-base.js:310)
    at eval (nav-controller-base.js:365)
    at ZoneDelegate.invoke (zone.js:392)
    at Object.onInvoke (core.js:4629)
    at ZoneDelegate.invoke (zone.js:391)
    at Zone.run (zone.js:142)
    at eval (zone.js:873)

Expected behavior:
No error in the console.
Steps to reproduce:

Clone this repo: https://github.com/ngx-rocket/starter-kit
git checkout cordova/ionic
npm install
npm start to run the app (the build warning can be safely ignored)
Enter any login pass, then navigate a bit between home and about views
Click back/next on your navigator to trigger the error (tested on Chrome)

Related code:
See https://github.com/ngx-rocket/starter-kit, branch cordova/ionic
Navigation is tied to angular-router only for the route/events, navigation events are catched and then the Ionic router is used to navigate using setRoot like this:
  private updateNav(route: ActivatedRoute) {
    if (route.component === IonicApp) {
      if (!route.firstChild) {
        return;
      }
      route = route.firstChild;
      if (!this.nav.getActive() || this.nav.getActive().component !== route.component) {
        this.nav.setRoot(route.component, route.params, { animate: true, direction: 'forward' });
      }
    }
  }

Nothing too strange here, ultimately it is the Ionic router used, only reacting to URL changes.
Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

System:

    Node : v8.9.1
    npm  : 5.5.1
    OS   : macOS Sierra

Misc:

    backend : pro

Incredible. I did the same.

authors: sinedied tonysamperi


text:
Fix the link to select api docs

Short description of what this resolves:
Changes proposed in this pull request:

Ionic Version: 1.x / 2.x / 3.x / 4.x
Fixes: #

Thank you for the PR but the current link seems to be working for me on both the readme and the nightly beta docs. 🙂

authors: brandyscarney frenmanoj


text:
Extend usage of "bytes" primitive

From Ivy's doc:

bytes(item: T) -> Bytes: coerce item to a bytestring (of type Bytes). This function does not have any effect on the compiled output or on script execution (since the Bitcoin Script VM treats every item as a bytestring); it only affects typechecking. (This cannot be called on an item of type Value or Boolean.)

We want to extend the usage of the bytes  primitive to "aliasing" items of type Integer or Boolean.
To do so, by taking inspiration from #1, we should make the following changes:

fix the checks for the bytes primitives in order to not complain if inputTypes[0] == "Integer | Boolean"
Rename cast() to something more appropriate that expresses the operation of aliasing Integers and Booleans to Bytes. The function also needs to be extended to support Booleans so a boolToHex() mapping true to 0x01 and false to 0x00 needs to be added.

Taking into consideration what pointed out in this comment, I think one nice solution could be adding an extra arg to the bytes() primitive to set the size of the byte representation for the given int/bool, falling back to the minimum required size otherwise. Example:
bytes(2, 8) -> 0x0200000000000000
bytes(2, 4) -> 0x02000000
bytes(2) -> 0x02
bytes(2147483647) -> 0xffffff7f

The problem with the changes done to bytes in #1 is that it uses a fixed length when converting the number to Buffer. If the provided number cannot be represented with just 4 bytes (ie. > 2147483647), the cast() function throws an exception.
That function is a good starting point but there's room for improvement.
@tiero what do you think?

ok for me for having a second parameter, with the default to be an inference on the passed integer size.
We still need to change the current architecture, to have some metadata to intermediate instructions that returns a Bytes primitive to know the lenght of it, useful when doing binaryExpressions like comparisons bytesA == bytesB and concatenation bytesA + bytesB
PS: please do not mix Bytes (the primitive) with bytes(x: Integer, lenght: Integer) the function. I edited your comment for future readers.

authors: altafan tiero

repo: ionio-lang/ionio


text:
Feat/k8s security

What does this fix or implement?

Separated k8s security features (s3Buckets and apiSubnetAllowList) from alb branch and some other minor v6 changes (removal of check_timeout from nlb forwarding rule and also KubernetesNodePoolForPut instead of KubernetesNodePool)
Corrected some typos in documentation

Checklist
Write an x in the boxes that apply.

[x] Tests added or updated
[x] Documentation updated
[ ] Changelog updated and version incremented
[ ] Github Issue linked if any

@IuliaBlindu - please update the changelog with the relevant k8s security features and increment the version.

authors: IuliaBlindu mflorin


text:
'Block this Site' are not shown at proper positions on "People Also Ask" lists

It would be great if you could disable the 'block this site' button within the "people also ask" section so it does not make it twice as large

Search engine: Google
Language: American English
Region: USA

Not confirmed yet

confirmed

authors: iorate matthewbeke

repo: iorate/ublacklist


text:
Edit typos

Edit typos

수정해 주셔서 감사합니다.
덕분에 큰 도움이 되었습니다. !!

authors: jongkwang ziapapa

repo: iot-labs/farm


text:
QA: proofread SDK wiki

Read everything
Look for typos
Look for errors
Consider yourself a complete novice and see if everything is well explained and makes sense

I collect my notes here (ongoing!):
https://hackmd.io/U4pXAsuGS4Gd0-gLVPYS6A

From Antonio https://hackmd.io/@IOTA-X-TEAM/Sk7QxtKun

repo: iotaledger/iota-sdk


text:
🛑 备用KMS激活服务器 01 is down

In 39a3646, 备用KMS激活服务器 01 (s11.ikms.eu.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 备用KMS激活服务器 01 is back up in 6ef0ef8 after 9 minutes.

repo: iougemini/ikms-uptime


text:
🛑 备用KMS激活服务器 01 is down

In 28aa47f, 备用KMS激活服务器 01 (s11.ikms.eu.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 备用KMS激活服务器 01 is back up in 74623a6 after 18 minutes.


text:
user switch from suid bit applications not detected

I want to monitor systemcalls with bpftrace . For most systemcalls, this works as expected, but I have problems to monitor applications, where the suid bit is set.
My example application, a simple C application, which is owned by the root user and the suid bit is set:
$ sudo chown root testapp
$ sudo chmod +s testapp
$ ./testapp

ps -aux output:
root       12408  0.0  0.0  14460  3352 pts/2    Sl+  14:46   0:00 ./testapp
Folowing syscalls are monitored (https://github.com/iovisor/bpftrace/blob/master/tools/setuids.bt):

setuid
setfsuid
setreuid
setresuid

I expect that their is a user switch to root which is monitored, because the application is owned by root and the suid bit is set.
When testing with "su - testuser", this also does not monitor the userswitch to root.
By listiing the running processes with "ps" the "su" command is run by "root":
$ ps -aux | grep su
root        7384  0.0  0.0  13000  4244 pts/0    S+   12:12   0:00 su - testuser

Why is this not detected by monitoring the mentioned syscalls?
I have tried "seteuid" (https://man7.org/linux/man-pages/man2/seteuid.2.html) because this should be used by suid bit applications, but seteuid is not known by bpftrace.

Setting the setuid flag doesn't change the application, so it shouldn't suddenly start performing syscalls it didn't do before. The logic must be in the kernel, and the kernel doesn't do systemcalls so it won't show up here as 'switch to root'.

When testing with "su - testuser", this also does not monitor the userswitch to root.

But does it show up as 'switch to testuser'?

I have tried "seteuid" (https://man7.org/linux/man-pages/man2/seteuid.2.html)
This document states:

   C library/kernel differences
       On Linux, seteuid() and setegid() are implemented as library
       functions that call, respectively, setreuid(2) and setregid(2).

If its not a syscall you cannot trace it.

@fbs Thanks for the information. I thought the kernel is using it's own system calls to switch the userids for the process.

When testing with "su - testuser", this also does not monitor the userswitch to root.

But does it show up as 'switch to testuser'?

Only the systemcall "setuid" is captued. The start and userswitch due to the suid bit is not shown.

I have done some tests to learn more about bpftrace, systemcalls and processes.
For testing purposes, a copy of the sleep command is used.
$ cp /bin/sleep ~
$ sudo chown root ~/sleep
$ sudo chmod +s ~/sleep
$ ./sleep 1337

ps is used to verify, if the process is running with root-privileges:
$ ps aux | grep sleep
root  5552  0.0  0.0  16872  1012 pts/2  S+   10:18   0:00 ./sleep 1337

@fbs  As you mention, execve does not use the setuid(2) family syscalls to set the userids for the process. The function, where the suid bit is interpreted can be found in exec.c in the kernel sources: Here's an evidence that it's interpreted by execve https://github.com/torvalds/linux/blob/38f8ccde04a3fa317b51b05e63c3cb57e1641931/fs/exec.c#L1596
bpftrace only supports the uid in handlers, but not euid, ruid, and fuid. When executing applications, where the suid bit is set, the uid is the same as the user, who started the application. euid, ruid and fuid are changed to the owner of the file.
This can be verified by going to the process information in /proc/{pid}/status .
There is a line, which starts with Uid:
Uid:	1000	0	0	0

The columns are defined as uid,  euid,  ruid and fuid.
So I think with bpftrace it's not possible to monitor applications where the suid bit is set, but in combination with python (or another scripting language) the information can be combined with the information from the `/proc/ filesystem.
Example python script to monitor seuid bit applications:
Following bpftrace-script, which prints the command name and the pid is used. This is stored as monitor.bt.
tracepoint:syscalls:sys_exit_exec*
{
    printf("%s;%d\n", comm, pid);
}

Following python script executes bpftrace and reads the captured information from stdout:
import os
import subprocess
import signal

def get_resuid(pid):
    '''Return username of UID of process pid'''
    pid_path = '/proc/{}/status'.format(pid)
    if os.path.isfile(pid_path):
        for ln in open(pid_path):
            if ln.startswith('Uid:'):
                return [int(x) for x in ln.split()[1:5]]
    return None

proc = subprocess.Popen(
    [
        '/home/manfred/bin/bpftrace',
        '-q',
        '/home/manfred/monitor.bt'
    ],
    stdout=subprocess.PIPE
)
while True:
  line = proc.stdout.readline()
  if not line:
    break
  comm, pid = line.decode().strip("\n").rsplit(";", maxsplit=1)
  pid = int(pid)
  uids = get_resuid(pid)
  if uids:
    print("{} -> {}".format(comm, uids))

The bpfscript monitors the execution of new application which are started with execve and prints the pid. This pid is used to get the uid, euid, ... from the proc filesystem and prints this information to stdout.
This will look like:
sleep -> [1000, 0, 0, 0]

The columns are specified as uid, euid, ruid and fuid.

Is there a way to monitor suid bit applications only with bpftrace or is this not possible?

uid is backed by the bpf_get_current_uid_gid() bpf helper which you can find here: https://elixir.bootlin.com/linux/latest/source/kernel/bpf/helpers.c#L230 following the code you can get the fields from task_struct which you get from the curtask builtin:  https://elixir.bootlin.com/linux/latest/source/include/linux/sched.h#L1064
It's an RCU field so it might need some tricky stuff, but my guess is that it's possible to get those other *uids out
https://elixir.bootlin.com/linux/latest/source/include/linux/sched.h#L1064

This doesn't look like a bpftrace bug in the end. @manfred-kaiser can we close this?

Thanks for the help and comments. As you wrote this is not a bug in bpftrace and this issue can be closed.

authors: fbs manfred-kaiser viktormalik

repo: iovisor/bpftrace


text:
Various BTF enhancements

The extra verbose mode output is pretty trivial.
The second change is a little more nuanced. The second change allows the user to do
kprobe:vfs_open
{
        printf("open path: %s\n", str(((path *)arg0)->dentry->d_name.name));
}

rather than
kprobe:vfs_open
{
        $dentry = ((dentry *)((path *)arg0)->dentry);
        printf("open path: %s\n", str($dentry->d_name.name));
}

Note the explicit second cast.
However, there's a cost for this. For the before, respectively:
Command exited with non-zero status 124
        Command being timed: "timeout 2 trunk/platform007/00921df/bin/bpftrace /home/dlxu/scratch/bpftrace/scripts/path.bt --btf"
        User time (seconds): 0.55
        System time (seconds): 0.10
        Percent of CPU this job got: 30%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:02.14
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 78624
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 14921
        Voluntary context switches: 5324
        Involuntary context switches: 2
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 124

Command exited with non-zero status 124
        Command being timed: "timeout 2 trunk/platform007/00921df/bin/bpftrace /home/dlxu/scratch/bpftrace/scripts/path.bt --btf"
        User time (seconds): 0.02
        System time (seconds): 0.08
        Percent of CPU this job got: 5%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:02.12
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 42292
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 2731
        Voluntary context switches: 8149
        Involuntary context switches: 2
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 124

Two salient metrics:

peak RSS: 42292KB -> 78624KB
user time: 0.02s -> 0.55s

Would appreciate thoughts.

cc @olsajiri

this totally flooded my console when I used curtask, because task_struct is massive

Oh whoops, I forgot that doing a full dump would be too noisy. I'll remove that -v code for now until we can get a more precise dump.

until we could change/force libbpf to do the full dump, your change seems good.. I'll check on libbpf

I talked to Andrii and it sounded like a patch for a non-forward declare dump would be acceptable.

I'm going to merge this on friday if nobody has any objections.


text:
P4CP configuration file generator

Command-line utility to generate cmake configuration files for building P4 Control Plane.
This is a convenient alternative to environment variables and helper scripts. which become rather tedious when you find yourself typing the same command-line flags every you run (and even more so when you find yourself switching between the same two or three configurations).
cmake -B build -C es2k-setup.cmake
cmake --build build -j6 --target install

The utility can also save default parameters to a file that it loads on subsequent runs, and it can generate files to define common environment variables.
It does not yet support cross-compilation.

I'm think of dropping the .py suffix and making the command just p4cpconfig. Any opinions?

repo: ipdk-io/networking-recipe


text:
Translation of webui json to spanish

Want to translate the webui-LANGUAGE.json
there is no translation file to spanish
I guess file should be something like this " ipfs-webui/dist/locale/webui-es.json"

Hello @davidalencia!
A new version of WebUI is coming soon so I think it would be better to put the new efforts on that branch. Although, we still don't have internationalization working, it is on the roadmap (#675 and #749).
/ping @ipfs-shipyard/gui

@davidalencia  we now have a fancy crowdsourcing website for translations:

https://www.transifex.com/ipfs/public/

If you want to contribute to Spanish version of new WebUI, log-in/register with your github account  and join team at https://www.transifex.com/ipfs/ipfs-webui/language/es/ :rocket:  :)

authors: davidalencia hacdias lidel

repo: ipfs-shipyard/ipfs-webui


text:
[POC] Update messaging with SCALE

Rework messaging (data protocol & application api) into same set of messaging enums, all serialized with scale codec
Rework control mode to correctly handle any data protocol or application api messages at any given time
Adds an example cpp utility demonstrating interop with generated rust library

This diff here is a little inaccurate b/c it includes work done in another PR.  Maybe we wait for that to merge before review this, or consider changing the merge target?

Great PR @plauche 💯   I just left a couple of comments, but nothing major to block a merge.

authors: ddimaria plauche

repo: ipfs-shipyard/space


text:
Update channels.csv

See title

Must be /s not /c

Thank you for the fixes.

Please merge ASAP

In the future, I would highly suggest reducing the number of lines changed to ~500 to avoid conflicts.
@ProPontifex.

500 it is

authors: Alstruit Dum4G ProPontifex

repo: iptv-org/database

license: Unlicense


text:
Missing  category

Thanks for your hard work!
Is it possible to add "credits" category?  like that we can get tags like "actor", "director" etc.
Thanks again!
UPD: others categories and tags missing:
<sub-title />
<date />
<rating />

Of course if it's possible. Thanks!

@freearhey I could work on that, because I would also like to add other features such as the programme link. Do we have to edit only scripts/commands/programs/save.js file?

@mcastellaneta convertToXMLTV() function in epg-grabber, which is used to generate the resulting XML, should also be updated. That seems to be all there is to do.

@mcastellaneta TVM for pull your commit, can you add tag <date />?
Thanks!

@MLBStream Do you mean the creation date of the programme?

authors: MLBStream freearhey mcastellaneta

repo: iptv-org/epg


text:
CSS Migration TODOs

/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
Davon gibts noch ein paar.

Can you assign this to me!

Wer ist Mstanic05?!

authors: Mstanic05 paflov rhenck

repo: iqb-berlin/testcenter


text:
Update welcome.py

Add member count

there is no need for this. server already has a member_count: "{1.member_count}"
Thank you very much for the idea though! Eventually I'll add a daily members joined argument like Red's custom welcome.

authors: Chovin TomsUsername

repo: irdumbs/Dumb-Cogs


text:
Document using Python with Asan

I think that general *san incantations should go in some kind of a debugging guide. In the absence of that, jotting down the one liner here for running Python scripts with asan (to be used when IREE is built with ASAN enabled):
alias asan_python="LD_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so) ASAN_OPTIONS=detect_leaks=0 python"

(used for debugging #9033)

Also should add ASAN_OPTIONS=detect_leaks=0 because the Python interpreter leaks on exit.

I think we can close this. We have some docs on Python + ASan here: https://iree.dev/developers/debugging/sanitizers/#linking-to-the-dynamic-asan-runtime

authors: ScottTodd stellaraccident

repo: iree-org/iree


text:
ComboBox 右侧箭头图标可以隐藏吗？

Yes, use
        <Style Selector="ComboBox /template/ PathIcon#DropDownGlyph">
            <Setter Property="IsVisible" Value="False"></Setter>
        </Style>

已经如果不是bug的话请使用discussion发起Q&A


text:
vi should be renamed pico or nano

The ux for this editor is a workalike to nano as the kids know it (clone of pico); in any case it's a small nit but also a surprise when I opened it up and it was basically nano. I'll surely take it, but it's going to be confusing to a lot of people drawn to this shell. Overall, this shell is awesome. TY.

Yeah, the dude is right, x16 edit, that got merged into kernal and what this shell is using is based on unix' nano

"why not both" Is how I think this can be solved !

Sounds reasonable

both

A modal editor with basic vi bindings would be a nice stretch goal for me to accomplish in 2024 😆.

Maybe some one'll make vim for cx16....
But not me, I don't even use that on linux, let alone on anything else

WIP, but necro posting for future generations to appreciate - https://github.com/oodler577/VICL1


text:
Implementaion for Foxy

Hello team, I've tried ros2 executors in my code & are working fine but would like to implement irobots-event-executor in my code is it be possible to implement in foxy. If yes, what approach should I take. Thanks

No, it's not possible.
The events executor relies on features that are available only since ROS 2 humble.

authors: alsora piyushmz

repo: irobot-ros/events-executor


text:
Fix bolt UpdateRoute header

This PR fixes bolt UpdateRoute function when updating headers.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

authors: CLAassistant guilhermebr

repo: iron-io/functions


text:
oAuth redirect adds amp; to parameters

We have an application which runs fine the first time but after oAuth redirect, this.params.query adds "amp;" to names of the parameters. Any idea how to fix this?
Object {Name: "foo", amp;clientId: "foo2", amp;threadUrl: "http://127.0.0.1/"}

Any updates on this bug?

bump

Got the same issue, any workarounds?

authors: alexreich gerwinbrunner randalpinto

repo: iron-meteor/iron-router


text:
Issue downloading private package from gitlab.com

Hi all.
First at all thank you for this aweseome project.
My setup:

Proxy is running as docker image
It is using https
Secured by basic auth
I activated the gitlab mirror and added my bearer token

When opening the mirrors.json page the following json is returned:
{
    "mirrors": [
        {
            "url": "//gitlab.com/",
            "path": "/mirror/gitlab/"
        },
        {
            "url": "//codeload.github.com/",
            "path": "/mirror/github-codeload/"
        },
        {
            "url": "//repo.packagist.org/",
            "path": "/mirror/packagist/"
        }
    ]
}

For packages downloading from packagist there is no issue
But when trying to download my private package from gitlab it always fails with 404 not found.
When I try to download it manually via postman providing the bearer token, everything works.
Url which I get in composer when doing composer install:
Failed to download package/mypackage from dist: The "https://myproxy.domain.com/mirror/gitlab/api/v4/projects/my-project/mypackage/repository/archive.zip?sha=12342523" ...
And when I try to open the url directly in the browser following json is returned:
{"error":"404 Not Found"}

When I try it via postman directly:
https://gitlab.com/api/v4/projects/my-project/mypackage/repository/archive.zip?sha=12342523
So I checked the proxy loggs and found where it tries to download the package:
proxy_1  | X.X.X.X - myuser [22/Nov/2023:08:19:12 +0000] "GET /mirror/gitlab/api/v4/projects/my-project/mypackage/repository/archive.zip?sha=12342523 HTTP/1.1" 404 25 "-" "Mozilla/5.0 (X11; Linux x86_64) ..." "X.X.X.X"

proxy_1  | X.X.X.X - myuser [22/Nov/2023:08:19:12 +0000] upstream gitlab.com - [STALE] GET /mirror/gitlab/api/v4/projects/my-project/mypackage/repository/archive.zip?sha=12342523 HTTP/1.1 [-] -ms -b

The request to gitlab always ends in the status "STALE".
Please help me!
Thank you in advance!

Hi @mariopulkerkinnovis !
GitLab responds with a 404 if authentication failed. Did you use a group token, a personal access token or a deploy token?
Can you please provide the environment variables you have set? Anonymized of course :-)

Hi @gmta !
Thanks for the fast answer.
I use a personal access token.
With the same token I can download it directly from gitlab.
Here are my env vars:
##
# Velocita configuration
##

VELOCITA_URL=https://proxy.domain.com
VELOCITA_HTTP_PORT=8080
VELOCITA_HTTPS_PORT=8443
VELOCITA_TLS_ENABLED=false
#VELOCITA_TLS_CERT_FILE=
#VELOCITA_TLS_KEY_FILE=
VELOCITA_AUTH_TYPE=basic
VELOCITA_CACHE_DIR=/home/user/velocia-proxy/.composer_cache_packages
VELOCITA_HTPASSWD_FILE=/home/user/velocia-proxy/velocita.users

##
# Mirrors configuration
##

# GitHub codeload
MIRROR_GITHUB_CODELOAD_URL=https://codeload.github.com
#MIRROR_GITHUB_CODELOAD_CACHE_SIZE=1g

# Packagist
MIRROR_PACKAGIST_URL=https://repo.packagist.org
MIRROR_PACKAGIST_TYPE=composer
#MIRROR_PACKAGIST_CACHE_EXPIRY=3650d
#MIRROR_PACKAGIST_CACHE_SIZE=1g
#MIRROR_PACKAGIST_ALLOW_REVALIDATE=false
#MIRROR_PACKAGIST_PACKAGES_JSON_EXPIRY=2m
#MIRROR_PACKAGIST_AUTH_TYPE=basic
#MIRROR_PACKAGIST_AUTH_USERNAME=
#MIRROR_PACKAGIST_AUTH_PASSWORD=
#MIRROR_PACKAGIST_USER_AGENT="Velocita Composer Cache"

# GitLab (example)
MIRROR_GITLAB_URL=https://gitlab.com
MIRROR_GITLAB_ALLOW_REVALIDATE=true
MIRROR_GITLAB_TYPE=composer
MIRROR_GITLAB_AUTH_TYPE=bearer
MIRROR_GITLAB_AUTH_PASSWORD="my-access-token"
MIRROR_GITLAB_USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"

Hi @mariopulkerkinnovis ,
Looking at your setup, it seems like you're downloading a repository archive based on a SHA-256 commit hash instead of a Composer package served through a Composer repository. I highly suggest you use a package registry (GitLab offers one, but it is in beta) instead, but you should at least use MIRROR_GITLAB_TYPE=simple if you're trying to directly download some ZIP files.
Looking at the GitLab documentation, something seems off with the URL you are using as well:
https://docs.gitlab.com/ee/api/repositories.html#get-file-archive
GET /projects/:id/repository/archive[.format]

When I try to download the following through my Velocita instance, it works as expected:
http://velocita.domain.tld/mirror/gitlab/api/v4/projects/12345678/repository/archive.zip?sha=df0326a4acbc7c401e4152581462286949a56b77

Note the project ID instead of name. Where are you getting your URL from exactly?
Finally, it might be helpful if you could share your Traefik logs as well, since you have that running between your client and Velocita.

Hi @gmta !
Ahhh I used not the project ID, instead I used the project path :exploding_head: !
That solved my issue.
Thank you so much!
Maybe you can add this information to the .env.dist or readme so the next one does not run into the same issue :rofl: .

Ok I found the issue in my docker-compose.json side :face_with_spiral_eyes: .
I defined my private package originally as vcs and not as composer. Thats why it did not use the project ID.
I'm sorry for wasting your time @gmta :smiling_face_with_tear: !

No problem, glad you got it resolved! :^)

I defined my private package originally as vcs and not as composer.

Just to be sure: did you still use the exact same URL in Postman as through Velocita?

I updated my composer.json according to the composer webpage and that solved it.
https://docs.gitlab.com/ee/user/packages/composer_repository/
After I updated the composer.lock and the the url contains now the project id and this works fine.
Also in postman the url with project ID works.

authors: gmta mariopulkerkinnovis

repo: isaaceindhoven/velocita-proxy


text:
How to work with zones(assetPrefix) in next.js

I am working with a next.js app as zone.
Next.js doc about zone: https://nextjs.org/docs/#how-to-define-a-zone.
and my next.config.js file:
const isProd = process.env.NODE_ENV === 'production'
module.exports = {
  // You may only need to add assetPrefix in the production.
  assetPrefix: isProd ? 'https://cdn.mydomain.com' : '/zoneA'
}

Everything work fine without this package, and my next.js app url is http://mydomian.com/zoneA/ .
There are some errors in my chrome console after I add this package.
The browser can not fetch the resource http://mydomain.com/static/locales/en/common.json.
But I expect the resource url should be http://mydomain.com/zoneA/static/locales/en/common.json.
How can I resolve this problem.

@isaachinman @MichaelIT  Similar issue but in my case the assetPrefix is dynamic, since the APP is served from different URLs example: https://domain/regionA/app/, https://domain/regionB/site1/app/ ...etc? so depending on the URL we extract the assetPrefix and now we get a 404 when trying to retrieve common.json since it's i18next is looking to the wrong path.  Any directions?

authors: MichaelIT Sletheren


text:
Allow undefined item

From @LeGaby on February 28, 2017 16:25
Hi @isaacplmann!
I have 2 context menus in one component and I'm trying to get one of them with the ViewChild annotation.
In the HTML of my component :
<button type="button" (click)="onContextMenu($event, item)"></button> <context-menu #allSitesMenu>...</context-menu>
In the corresponding typescript :
@ViewChild('allSitesMenu') allSitesMenu: ContextMenuComponent;
When I log it in the console during the ngAfterViewInit lifecycle, I see the ContextMenuComponent exists but it has menuElement property to undefined. That's why it returns the following error when I'm trying to open it with the ContextMenuService :
TypeError: Cannot read property 'nativeElement' of undefined
Do you have any idea why this property is undefined ?
Copied from original issue: isaacplmann/angular2-contextmenu#51

The menuElement isn't populated until after the ngAfterViewInit hook of the ContextMenuComponent.  That doesn't happen until just after the ngAfterViewInit hook of the parent component.  You could either wrap your contextMenuService.show call in a setTimeout or use the ngAfterContentInit hook (which runs later).

From @LeGaby on February 28, 2017 17:24
I tried to see what menuElement is equal to during the ngAfterContentInit and it is also undefined, which makes sense to me since the ngAfterContentInit occurs before the ngAfterViewInit. I don't understand what you suggested : if I want to call contextMenuService.show on a (click) event, how can I call it in the ngAfterContentInit ? And if I set a timeout, it won't be immediate, right ?

From @LeGaby on February 28, 2017 19:4
Alright, I tried your way and the same error is thrown. No matter the lifecycle hook in which I log the context menu, it is still undefined.
I agree, there's another problem but I can't figure it out. That's weird, I do it exactly the same way as in your documentation. Any other idea ?

You can do:
onClickHandler() {
setTimeout(() => this.contextMenuService.show.next(…));
}
It won’t technically be immediate, but it will happen a few milliseconds later.
However, if you’re calling the contextMenuService in the click handler, the menuElement should not be undefined.  There’s another problem if that’s the case.

On Feb 28, 2017, at 12:24 PM, LeGaby notifications@github.com wrote:
I tried to see what menuElement is equal to during the ngAfterContentInit and it is also undefined, which makes sense to me since the ngAfterContentInit occurs before the ngAfterViewInit. I don't understand what you suggested : if I want to call contextMenuService.show on a (click) event, how can I call it in the ngAfterContentInit ? And if I set a timeout, it won't be immediate, right ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/isaacplmann/angular2-contextmenu/issues/51#issuecomment-283106457, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0lQFQPlrKdI0pmD9tH9IpDmeE8ZKRAks5rhFhBgaJpZM4MOnJu.

From @LeGaby on March 1, 2017 13:28
I tried your new version this morning, no error was visible in the console but my context menu still didn't show up.
I spent a lot of time trying to reproduce my issue in a new GitHub project but I couldn't make it, everything worked well. I just found out what was wrong.
When I did :
this.contextMenuService.show.next({       contextMenu: this.menu,       event: $event,       item: this.item });
My this.item value was undefined. I didn't make it on purpose but, not needing any item passed in the context menu, I didn't really care about it.
Since the item property is mandatory in this case, maybe you could throw an error when the corresponding value is undefined. Or you could make this property not mandatory at all. What do you think ?

Ok, I fixed my issue by setting menuWidth and menuHeight to a default value of 100 if the menuElement is undefined.  This will probably fix your issue too.  I'm still confused why its undefined though.
Try version 0.8.1.

Can you show me more of your code?
Or reproduce this issue in a small git repo?
I'm running into an error that may be related in my production app as well.  Perhaps when I solve that problem your issue will be resolved too.

You're right, the item shouldn't be mandatory, if all your menu items are static.  I'll leave this issue open until I fix that.

Should be fixed in 1.0.2.

repo: isaacplmann/ngx-contextmenu


text:
feat: Implement RParam and reducing Param to ThirReducer

see #22  .

see #16 .

repo: isan-Ethen/Tautrust


text:
Adding a package to a role doesn't work

While working on https://issues.apache.org/jira/browse/ISIS-1011 I've noticed that adding a new package to a role doesn't add it to it.
To reproduce:

start isis-module-security webapp
login with isis-module-security-admin
open any role, e.g. isis-module-security-admin
use Add Package to add a new package

After entering valid values the new package doesn't appear in the table with permissions.

I've just tried this, and can't reproduce... the new permission is created
at the package level.  Perhaps the issue was to do with that defect in
select2 (ISIS-1011) which you've now fixed?)
On 4 February 2015 at 15:15, Martin Grigorov notifications@github.com
wrote:

While working on https://issues.apache.org/jira/browse/ISIS-1011 I've
noticed that adding a new package to a role doesn't add it to it.
To reproduce:

start isis-module-security webapp
login with isis-module-security-admin
open any role, e.g. isis-module-security-admin
use Add Package to add a new package

After entering valid values the new package doesn't appear in the table
with permissions.
—
Reply to this email directly or view it on GitHub
https://github.com/isisaddons/isis-module-security/issues/9.

No. The issue was/is there before and after ISIS-1011.
What exactly do you mean with "at the package level" ? Is that the table below the button "Add package" ?

The table below contains the permissions which are either for the package, or for the class, or for an individual member (property/collection/action).  Gonna close this ticket but feel free to open if there is genuinely an issue.

authors: danhaywood martin-g

repo: isisaddons/isis-module-security


text:
Updating heroku python runtime

Trying to get a deployment of this up for Maggie to use in her new adventures so cleaning up some minor things.
Is it possible to add me as a maintainer please @jcarbaugh / @scottpdo?

PS: If you have any easy intuitions as to why Heroku is defaulting to Django 3+ when I use the deploy to heroku button that would be greatly appreciated!
The Pipfile seems to pretty clearly say less than 2.3, unless I'm misreading it 0.o

@alexbarbato I'll leave the weird Heroku bizness to @jcarbaugh but I just added you as an admin (as it should be, this is your baby!)

@alexbarbato no idea why it might be installing Python 2! Could add me as a collaborator on the Heroku app so I can see some build logs?

@jcarbaugh - thanks! I added you as a collaborator if you're curious.
I ended up fixing it by locking the version to Django 2 LTS and pushing the Pipfile.lock.. so 🤷♂

@alexbarbato so weird! I installed it locally and it only had Django 2, but when I deployed it to Heroku it had installed both 2 and 3. Glad you could lock it!

Thanks for trying to see what was going on @jcarbaugh!

authors: alexbarbato jcarbaugh scottpdo

repo: isl-x/harvest-reaper


text:
🛑 Simex.isolucion.co is down

In 0f6ffb9, Simex.isolucion.co (https://Simex.isolucion.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Simex.isolucion.co is back up in cb4df18.

repo: isolucionco/EstadoIsolucionHosting


text:
Run nightly only at 1:30am and include e2e test

change it from running every hour on the half past mark.  Only run it nightly at 01:30:00 to ensure it picks up Istio's nightly release for testing.
Also include the DinD e2e test in the nightly run.

Since we are cleaning up we should remove the "docker push" from the nightly job since it is not doing anything anyway or at least comment it out for now.

Since we are cleaning up we should remove the "docker push" from the nightly job since it is not doing anything anyway or at least comment it out for now.

@john-a-joyce I was thinking of that but I thought of how Costin setup his fork to send webhook triggers to his own circleci proj.  With the PoCs folks are intending to get going maybe they want to do something similar, setup those circleci org vars, and have their teams pull nightly images from their own nightly repos.  I don't see any harm in keeping it in there other than folks thinking there's a nightly image in docker.io/istio.  In any event, I'm intending to create a TESTING.md to explain the tests in this repo and in istio/istio and we can clarify this info on the nightly job.

It's not a big deal if you want to leave it but please add comments explaining what really happens.   Regarding the TESTING.MD there is already a tests/README.md that started to cover that.  It is stale now and would need an update.

authors: john-a-joyce tiswanso

repo: istio/cni


text:
istio 1.1 Egress / Ingress gateway use excessive memory

version: release-1.1-20190123-09-16
In a large setup (400 services) with no egress configuration defined, egress proxy uses 200MB memory.
istio-egressgateway-68bf7d65cc-2xprb      istio-proxy                18m          193Mi
istio-egressgateway-68bf7d65cc-9mqhr      istio-proxy                17m          200Mi
istio-egressgateway-68bf7d65cc-9w9z2      istio-proxy                17m          217Mi
istio-egressgateway-68bf7d65cc-bsw9t      istio-proxy                20m          189Mi
istio-egressgateway-68bf7d65cc-gz84j      istio-proxy                22m          191Mi
istio-ilbgateway-79c88598c8-zfdtr         istio-proxy                14m          120Mi
istio-ingressgateway-5f858dd48c-2dbmj     istio-proxy                1280m        223Mi
istio-ingressgateway-5f858dd48c-cs94j     istio-proxy                31m          214Mi
istio-ingressgateway-5f858dd48c-qkh54     istio-proxy                1206m        221Mi

The configuration at egress gateway contained only 1 listener, (2 static routes) and 1077 clusters.
When nothing is bound to the egressgateway, it should use minimal memory.
As seen from the kubectl top report, ingressgateway faces the same issue.

@mandarjog Does anything need to be done for this in 1.1?

authors: mandarjog munrodg

repo: istio/istio