text:
Investigate DLA benefits

Investigate DLA benefits and implement a sample pipeline for Orin NX utilizing DLAs (it has 2) optionally.

Implemented in:

#779
#780
#781

repo: insight-platform/Savant


text:
Umbrella header missing from Cocoapods install

Hi,
As a result of https://github.com/inspace-io/INSOperationsKit/commit/3fc5669b6b673c5b3e90ffd37f575ffd5a265cc8 the INSOperationsKit.h umbrella header is no longer included in the library when installed through Cocoapods. Is this intentional?
If I need to create one for my own project that's fine, just want to check there's not a better way to include all the files in the library before I go ahead and do that.
Cheers!

Yes, new cocoapods 1.0.0 beta 4 probably is doing it for you, and i have errors that files are missing or sth. Just check previous version on newest cocoapods and you will see :/ Nit sure if this is a bug or no need anymore to have umbrella header

OK, so I updated to 1.1.0 beta 4 of Cocoapods (was previously on 0.39.0) and I'm on 1.1.2 of INSOperationsKit. Same issue. Maybe i'm not understanding the diff right, but it looks to me like the shared header file was removed? Is that not the issue here?

Might it be that the source config in the pod spec is loading files from  s.ios.source_files = 'INSOperationsKit/Shared/**/*.{h,m}', 'INSOperationsKit/iOS/**/*.{h,m}' - but the only header file in that vicinity is located at INSOperationsKit/INSOperationsKit.h?

Altered the podspec in my fork as per the above PR which has got it working for me for now at least. If it's not the right approach obviously feel free to close, I don't know much about Cocoapods :)

Ok i have added it.

source: gharchive/issue

repo: inspace-io/INSOperationsKit

license: mit

license_type: permissive

license_source: bigquery


text:
Test for INSPIR-3425

For now only inspirehep/records/api is changed. Please check if it is ok for everyone.

Ignore failing tests for now, They will fail as I made many changes in fixtures and only inspirehep/records/api was updated.

source: gharchive/pull-request

repo: inspirehep/inspirehep

license: MIT

license_source: github-api


text:
Request/Queries  - Not a Issue :  Building Word2Vec Model and use that in Python

Hi Magpie Team,
I have below queries .

I am trying to build Word2Vec in C,
Can i use it Magpie since it is python based . If so, how can i load the vector from C's binary to Python's magpie Word2Vec object
Can I build using fasttext and use that in Magpie ..

Please provide suggestions on this.

hey @rajeshkumargp,
We use gensim object for word2vec, which uses C under the hood to compute the vectors. If you manage to convert your vectors to this object, then Magpie will support it.
In principle, you can pass whatever as the word2vec object that can behave like a dictionary. You could build your vectors any way you want, you just need to pass them in inside a dictionary-like data structure that would conform to this code and it should fly. Watch out to get the vector dimensions right though!
Best!

Thanks @jstypka , I have tried It is performing well

authors: jstypka rajeshkumargp

repo: inspirehep/magpie


text:
Improve the compile_guide.md file, indicating the contents of the board.cfg configuration file needs to be modified

In GitLab by @liyanq528 on Dec 12, 2017, 10:10

In GitLab by @yhua123 on Nov 8, 2019, 07:43
in install_guide.md
http://10.110.18.40:10080/inspursoft/board/src/dev/docs/installation_guide.md

In GitLab by @sokril on Nov 8, 2019, 08:16
closed

repo: inspursoft/board


text:
feat(binpack): improve speed of the environment

Is your feature request related to a problem? Please describe
There is a potential for speedup in the BinPack environment's step method. If the computation is quite sparse, using jax.lax.map instead of jax.vmap may speed the environment up when lots of EMSs are not alive.
Describe the solution you'd like

POC to be done with the timer.
Faster version of BinPack's step method.

How come map will be faster than vmap?

Operations done on the EMSs could be conditionally done on whether the EMS exist or not (using map instead of vmap over the EMSs). This would be nice when most EMSs are non-existent. However, this operation is not parallelisable so vmap-ing the whole step function (that includes map over EMSs) will lead to inefficiency because the computation is heterogeneous. A similar solution to the VmapAutoResetWrapper could be done for the step function by splitting the step into 2 components: homogeneous computation and heterogeneous computation, vmap-ing the former and map-ing the latter. But I don't see this as being easy to implement and even having a high potential. So, I think this issue could be closed for now.

authors: clement-bonnet djbyrne dluo96

repo: instadeepai/jumanji


text:
258 followed users from 1210

What would you like to do? 6
Who? XXXXXXXXXXX
2017-0x-xx 0x:x8:x3,xx8 - INFO - Follow followers of: XXXXXXXXXXX
2017-0x-xx 0x:x8:x7,xx6 - INFO - Going to follow 1210 users.
100%|####################################| 1210/1210 [3:15:28<00:00, 12.44s/it]
2017-0x-2x 1x:x3:x5,xx1 - INFO - DONE: Total followed 258 users.

Hi all,
can someone explain - 258 followed users from 1210 users?
Thanks.

Other users was filtered. Read the filtration conditions and try to play with bot class construction arguments.

Great, thanks

authors: ohld rebbu

repo: instagrambot/instabot


text:
Update stable version in repo from 1.0.2 to 1.0.3

Think about update stable version to 1.0.3
Version: stable=1.0.2 (579 days old) => latest=1.0.3 (15 days old)
Installs: stable=15 (68.18%), latest=5 (22.73%), total=22
Click to edit

Yes, you need to update.

authors: GermanBluefox instalator


text:
[Docs] Updates for SDG README

In progress
Description:
Adding some more content to the SDG README.md

Kelly, how would you like me to contribute to this to fill in some of the missing sections? We can merge this as-is and I can add more commits on top in another pull request. Or, I can potentially push more commits into this pull request to fill out some of the unknowns. I'm open to either way, depending on your preference and comfort with a bit more advanced git workflow, in the case of me adding commits directly to this PR.

I was also thinking about the best way to with this for collaboration. I think pushing commits to this PR would be the best option!

Sorry for the noise here - I had to update the list of spellcheck words, and that caused a merge conflict so had to rebase both of our commits on top of the latest main to get things happy.

Thank you for adding those technical details @bbrowning!
Are there any other details we want added here or is this a good start? cc @aakankshaduggal @khaledsulayman

repo: instructlab/sdg


text:
Fix broken link

Provide a correct working link.
Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[x] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[x] Content does not include PII or otherwise sensitive or confidential information
[x] Content does not include anything documented in the project's Avoid these Topics guidelines

Thanks @jjasghar

repo: instructlab/taxonomy


text:
#issue-1: added jdbc authentication.

Добавлена аутентификация и регистрация через базу данных. Удален лишний функционал

Сделали в https://github.com/intabia-intership/wikitabia-server/pull/15

authors: MudryPryanik papanage

repo: intabia-intership/wikitabia-server


text:
fix #266, fix kafka grouper conf

fix kafka grouper conf
add ut to ensure all the configurations in kafka.conf is correct
allow setting conf path to KafkaConfig

+1

authors: clockfly manuzhang

repo: intel-hadoop/gearpump


text:
ADD gpio: support to old fashion gpio path names

Old kernel version (3.x) use gpio paths in the format of
gpio<pin_number>_<pin_name>, where both were defined at .fex files
passed by the bootloader to the kernel with hardware information.
Libmraa didn't support this kind of paths because all gpio operations
were done with hard coded path names. With this commit it's possible to
run libmraa either on newer kernel version and older ones, with both
formats of gpio sysfs paths.
Also, some corrections were made in some parts of doxygem doc, just
small things.
Signed-off-by: Bruno E. O. Meneguele bmeneguele@gmail.com

In fact, there is a problem in this code that I didn't realize till now. I'll close this PR and open a new one on Monday. Sorry for that, it's a basic error, but I won't have opportunity to test the solution until Moday.
But, I'll be back =).

Ehehe no worries. I'm away all next week so will review week after, @hbrinj
will run the test suite whenever you send your new pr.
Cheers!
On 4 Jun 2016 00:01, "Bruno E. O. Meneguele" notifications@github.com
wrote:

In fact, there is a problem in this code that I didn't realize till now.
I'll close this PR and open a new one on Monday. Sorry for that, it's a
basic error, but I won't have opportunity to test the solution until Moday.
But, I'll be back =).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/intel-iot-devkit/mraa/pull/522#issuecomment-223714666,
or mute the thread
https://github.com/notifications/unsubscribe/AAfZZuOLDnJmWBKbN0uPzq5HFlU5r0ycks5qILJDgaJpZM4Itfff
.

Gpio test in the tests dir will have to be updated for this change, as currently the path is hardcoded there to /sys/class/gpio/gpioNUM, i.e. namely the one @bmeneguele wants to change.

authors: alext-mkrs arfoll bmeneguele

repo: intel-iot-devkit/mraa


text:
Where does the Readout Token come from?

I don't quite follow how the Readout Token is generated (either from reading the paper or from the code). All the other tokens make sense (one per patch), but I don't get where Readout comes from.

This token is a fixed, learned token at the input. See here for its definition: https://github.com/rwightman/pytorch-image-models/blob/9cc7dda6e5fcbbc7ac5ba5d2d44050d2a8e3e38d/timm/models/vision_transformer.py#L272). Note that it is declared as a nn.Parameter, which means that it is updated during training like any other parameter. At test time this now constant input token is added to the pool of tokens, see here and the following lines: https://github.com/rwightman/pytorch-image-models/blob/9cc7dda6e5fcbbc7ac5ba5d2d44050d2a8e3e38d/timm/models/vision_transformer.py#L337
This token is something that ViT carried over from the original BERT work (it is called the [CLS] token in these works). As this token passes through the Transformer layers, you can think of it as a designated location/memory for aggregating information from all other tokens in a central place.

Thank you so much for your response, this makes it very clear!

authors: BrianPugh ranftlr

repo: intel-isl/DPT


text:
Change architecture to pass parameters using ROS Params instead of command line args.

Change architecture to pass parameters using ROS Params instead of command line args.

This Issue has been fixed in Release 1.0.1

repo: intel-ros/realsense


text:
What's the serial_no for d435 camera should I input in the launch file?

It seems that the TF frames were not same with the real d435 camera model after launched the file "rs_camera.launch".
I guess the reason was miss of the serial_no in the launch file, so the default model was not d435 but other type.
Dose anyone know the serial_no for d435?
Thanks!

Run rs-enumerate-devices | grep Serial to get the serial number.

@neomanic
Thanks at first!
But the the result was same after input the serial_no gained by your method.
The TF between camera_link and camera_color_optical_link was still not correct with the urdf model loaded by the view_d435.launch file which I think has the true frames parameters.
Maybe there is no option to change the TF frames in this Ros package when launching rs_camera.launch.

Ah, okay. You're saying the tfs provided by the URDF doesn't match reality? I can't help much then, I've been happy with them, but admittedly I haven't looked too closely at them.

@1075976432 I think the urdf has been updated in the new release, which should make more sense.

@1075976432, Did the update fix it?

@doronhi
The urdf has the correct parameters of frames. However, when launched the rs_camera.launch file, the problem still exist.
I solve the problem by broadcasting a right frame....

I am not sure what you mean by “broadcasting a right frame “. I am not sure what is the exact problem you describe.
Is your issue related to #497?

Here is a detailed video of the issue. I started the model which had the correct transforms but then everything is offset when the driver is started.

When the driver is started the frames no longer line up with the geometry.


text:
WIP: source: db: Source using the database abstraction

(WIP) Closes issue #402

@pdxjohnny Not sure why the DOCS test is failing now. Running ./scripts/docs.sh doesn't produce any new files on my end. Also, should I squash these commits before removing the WIP?
Btw, is there a travis command or something to run all of these tests locally? python3.7 setup.py test doesn't hit everything.

@pdxjohnny Not sure why the DOCS test is failing now. Running ./scripts/docs.sh doesn't produce any new files on my end.

It's an annoying thing we recently fixed (I believe), if you merge master it should go away

Also, should I squash these commits before removing the WIP?

I'll squash when I merge, no worries on that

Btw, is there a travis command or something to run all of these tests locally? python3.7 setup.py test doesn't hit everything.

Unfortunately this is an area we need to improve on. I've opened https://github.com/intel/dffml/issues/490 to track

@pdxjohnny Tests now pass :D thanks for all the help! Are there other changes I should make before merging?

Sweet!! Just one thing

Definitely. Not sure why I removed it.

authors: Lactem pdxjohnny

repo: intel/dffml


text:
docs: source: new file source tutorial

Tutorial on how to write a data source for new file types, here we will demonstrate how to write new data source for .ini file formats.
closes #282
Signed-off-by: Sudhanshu Kumar Sudhanshukumar5459@gmail.com

Let's make the heading like this, and in this order (your new one goes first)

@pdxjohnny , all the tasks are done except

Let's show example usage of the source from the command line

Is this done in a similar way we write the test case, I am not sure though

Reminder for @sk-ip , update the docs once #610 is done

@sk-ip I think we just have the updated JSON output in the last command then this is done!

@pdxjohnny , yes i am working on that. will push it within seconds.

authors: pdxjohnny sk-ip


text:
how to enable AMX in LLM.runtime?

HI
AMX seems to be very valuable to accelerate matrix multiplication in AI workloads. could you help share how to enable AMX in LLM.runtime? only enable NE_AMX in cmake step? do we need others to configure on Intel Sapphire_Rapids platform?
Thanks

https://github.com/intel/intel-extension-for-transformers/blob/main/intel_extension_for_transformers/llm/library/jblas/jblas/jit_blas_utils.h#L502C26-L502C26
AMX and AVX512 features would be detected and configured automatically?  is it right?

Hi zhangnju, yes you are right, AMX is enabled if available, you can check related logging as
https://github.com/intel/intel-extension-for-transformers/blob/adb109bad9d4fd83586989991543f5cc2b655b9e/intel_extension_for_transformers/llm/library/jblas/jblas/jit_blas_utils.h#L535

Thanks for your confirmation!

authors: airMeng zhangnju

repo: intel/intel-extension-for-transformers


text:
build fails with IA_IMAGING not found

Attempting to build on a Fedora36 system, and the initial cmake command fails:
$ make -DCMAKE_BUILD_TYPE=Release -DIPU_VER=${IPU6_VER} -DENABLE_VIRTUAL_IPU_PIPE=OFF -DUSE_PG_LITE_PIPE=ON -DUSE_STATIC_GRAPH=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- install prefix: /usr
INFOadd definition -DIPU_SYSVER_ipu6v5 for ipu6ep
-- Checking for module 'ia_imaging'
--   Package 'ia_imaging', required by 'virtual:world', not found
CMake Error at cmake/FindIA_IMAGING.cmake:28 (message):
  IA_IMAGING not found
Call Stack (most recent call first):
  CMakeLists.txt:269 (find_package)

-- Configuring incomplete, errors occurred!

I've definitely got the headers installed from ipu6-camera-bins, so I'm not clear why they're not being found:
'ipu6ep/include/ia_imaging/ia_types.h' -> '/usr/include/ia_imaging/ia_types.h'
'ipu6ep/include/ia_imaging/ia_view.h' -> '/usr/include/ia_imaging/ia_view.h'
'ipu6ep/include/ia_imaging/ia_view_types.h' -> '/usr/include/ia_imaging/ia_view_types.h'

@netllama, I believe you need the content of this repo at compile time: https://github.com/intel/ipu6-camera-bins

Yes, that's understood, and I thought that I already installed that repo
per its README.  Do I need to set some sort of env variable to point to the
actual repo, or should copying into /usr/lib and /usr/include (per the
README) be sufficient?
On Mon, Jul 25, 2022 at 9:05 AM Christoph Jechlitschek <
@.***> wrote:

@netllama https://github.com/netllama, I believe you need the content
of this repo at compile time: https://github.com/intel/ipu6-camera-bins
—
Reply to this email directly, view it on GitHub
https://github.com/intel/ipu6-camera-hal/issues/18#issuecomment-1194292083,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAARLSKF3YTM6LY2PCU5UZ3VV23NVANCNFSM54QGZBZQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Copying should be sufficient. Note that you can only build for IPU6 or IPU6ep at any one time.
It seems that your cmake is not picking up the ia_imaging.pc from the binary repo. Can you check why that is?

I don't understand why.  Its present:
$ ls -l  /usr/lib/pkgconfig/ia_imaging.pc
-rw-r--r-- 1 root root 220 Jul 24 13:23 /usr/lib/pkgconfig/ia_imaging.pc

Should it be in a different location?  Do I need to set some env variable to put to the location?
If I manually copy the pc files into /usr/share/pkgconfig/ then the failure goes away, but this is definitely not what the README recommends for that project.

@netllama On Fedora, you need to place the ipu6-camera-bins in /usr/lib64/

If I manually copy the pc files into /usr/share/pkgconfig/ then the failure goes away, but this is definitely not what the README recommends for that project.

Well, the README for that project is not great. AFAICT, the pkgconfig directory is distro-specific. Anyway, it's a problem in the intel/ipu6-camera-bins repo, not here.

You should try installing pkgconf first. Some distros might require it. Arch/Manjaro does at least.

same issue here installing via pacman on spectre x360 2024 metor lake arch linux zen karnel
uname -r
6.11.6-zen1-1-zen

-- Checking for module 'ia_imaging'
--   Package 'ia_imaging', required by 'virtual:world', not found
-- Could NOT find IA_IMAGING (missing: IA_IMAGING_LIBS)
CMake Error at cmake/FindIA_IMAGING.cmake:90 (message):
  IA_IMAGING not found
Call Stack (most recent call first):
  CMakeLists.txt:332 (find_package)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: intel-ipu6-camera-hal-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
intel-ipu6-camera-hal-git - exit status 4

I do have aur/intel-ipu6-camera-bin aur/intel-ipu6-dkms-git installed but I can't install any of aur/intel-ipu6ep-camera-hal-git aur/intel-ipu6-camera-hal-git

Same as 👆🏼 on Arch Linux mainline kernel:
❯ uname -r
6.12.4-arch1-1

authors: cjechlitschek fiskhest fuad-daoud netllama striczkof vpodzime zebra-ok


text:
Update on MKLDNN C API RNN

I am currently working with mkldnn 0.18. It seems that in the latest version mkldnn_forward_desc_init() from C API RNN is split into 4 separate methods with specified cell types.
Could you please tell me since which version the update was applied?
Also, is there any links to document of past versions?
Regards

This change (along with other incompatible API changes) is targeting v1.0 (currently developed in master). The v0.x releases are maintaining API compatibility and continue development in mnt-v0.

Just wanted to give a heads up on one more change in RNN API planned for v1.0. We will separate buffers used to store LSTM cell states and hidden states. The API in v0.x branch (mnt-v0) will not change.

Thanks for answering.

repo: intel/mkl-dnn


text:
Update OpenVINO to 2024.0.0

cherry picked https://github.com/intel/openvino-rs/pull/92/commits/65fbec49046a026e86246ce0c59c5057e1a443c5 which updates openvino to 2024 in openvino-sys/upstream
regenerated FFI shims. functions.rs has mostly doc changes, with 1 function deleted, didn't affect existing rust bindings. types.rs added 2 new element types for fp8, so added those to element_type.rs

This change updates upstream to openvino version 2024.0.0, and the bindings have been updated as well to that.

repo: intel/openvino-rs


text:
link libonedal_dpc.so with libonedal_sycl.a due to mkl depency issue

Description
daal4py compatibility with MKL fpk updates (on linux).
Changes proposed in this pull request:
-Additional library linked to resolve undefined references due to dependencies between MKL libraries
To verify:
-Activate conda environment and install dependencies
-Set MPIROOT=$CONDA_PREFIX, TBBROOT=$CONDA_PREFIX, DPCPPROOT=.../compiler/2022.2.0/{system}
-Source env/vars.sh from oneDAL build with updated MKL fpk
-Source compiler env/vars.sh
-Clone Intel extension for scikit-learn
-Run "python setup.py develop --no-deps && python setup_sklearn.py develop --no-deps
-Run any examples/daal4py/ and /examples/daal4py/sycl scripts

from circleci: g++: error: unrecognized command-line option ‘-fsycl’

There is no "link libonedal_dpc.so with libonedal_sycl.a due to mkl depency issue" related changes here, as PR declares. Only compiler updates. Lets move last changes to #1067 and merge that PR1067 to develop.

/intelci: run

/intelci: run

authors: Alexsandruss ethanglaser napetrov samir-nasibli

repo: intel/scikit-learn-intelex


text:
DEP: removing old dpctl interop

Description
Removing old dpctl interop.
Doc updates are not required.

/intelci: run

/intelci: run


text:
[E2E] Torchbench tacotron2 amp_bf16 training accuracy failed

🐛 Describe the bug
torchbench_amp_bf16_training
xpu  train tacotron2
W0803 05:40:15.849000 2621977 torch/_inductor/utils.py:1357] [5/0_1] DeviceCopy in input program
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0] Graph break from Tensor.item(), consider setting:
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]     torch._dynamo.config.capture_scalar_outputs = True
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0] or:
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]     env TORCHDYNAMO_CAPTURE_SCALAR_OUTPUTS=1
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0] to include these operations in the captured graph.
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0] Graph break: from user code at:
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]   File "/home/sdp/actions-runner/_work/torch-xpu-ops/benchmark/torchbenchmark/models/tacotron2/model.py", line 473, in torch_dynamo_resume_in_forward_at_467
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]     memory, mask=~get_mask_from_lengths(memory_lengths)
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]   File "/home/sdp/actions-runner/_work/torch-xpu-ops/benchmark/torchbenchmark/models/tacotron2/tacotron2_utils.py", line 10, in get_mask_from_lengths
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]     max_len = torch.max(lengths).item()
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]
W0803 05:40:17.019000 2621977 torch/_dynamo/variables/tensor.py:776] [11/0]
ERROR:common:
Traceback (most recent call last):
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/common.py", line 2846, in check_accuracy
new_result = optimized_model_iter_fn(model_copy, example_inputs)
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 464, in _fn
return fn(*args, **kwargs)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/common.py", line 2550, in run_n_iterations
self.model_iter_fn(mod, inputs, collect_outputs=False)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 442, in forward_and_backward_pass
cloned_inputs = clone_inputs(inputs)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 443, in torch_dynamo_resume_in_forward_and_backward_pass_at_442
self.optimizer_zero_grad(mod)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 448, in torch_dynamo_resume_in_forward_and_backward_pass_at_443
pred = mod(*cloned_inputs)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 449, in torch_dynamo_resume_in_forward_and_backward_pass_at_448
loss = self.compute_loss(pred)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 450, in torch_dynamo_resume_in_forward_and_backward_pass_at_449
self.grad_scaler.scale(loss).backward()
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/_tensor.py", line 522, in backward
torch.autograd.backward(
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/autograd/init.py", line 346, in backward
_engine_run_backward(
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/autograd/graph.py", line 812, in _engine_run_backward
return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/autograd/function.py", line 306, in apply
return user_fn(self, *args)
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/_functorch/_aot_autograd/runtime_wrappers.py", line 1721, in backward
*ctx.saved_tensors,
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [XPUBFloat16Type [4, 80, 724]], which is output 0 of torch::autograd::CopyBackwards, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
TorchDynamo optimized model failed to run because of following error
fail_to_run
accuracy            pass_rate=52.88%
calls_captured      gmean=0.00x mean=447.154x
unique_graphs       gmean=0.00x mean=2.000x
graph_breaks        gmean=0.00x mean=3.519x
unique_graph_breaks gmean=0.00x mean=2.529x
autograd_captures   gmean=0.00x mean=0.000x
autograd_compiles   gmean=0.00x mean=0.000x
cudagraph_skips     gmean=0.00x mean=1.192x
Versions
torch-xpu-ops: https://github.com/intel/torch-xpu-ops/commit/1d70431c072db889d9a47ea4956049fe340a426d
pytorch: d224857b3af5c9d5a3c7a48401475c09d90db296
device: pvc 1100, bundle: 0.5.3, driver: 803.61

low priority for not included in Meta PyTorch dashboard

A100  is also failed.

close due to a100 also failed

repo: intel/torch-xpu-ops


text:
Please mention supported architectures in README

It would have been nice to know that this software does not support my system before wasting my time... (yet it's old). The reference to the caps directory is way too hidden to suffice in that circumstance.

The README instructs users to look in lib/caps for supported platforms/drivers.  It is not efficient to also maintain a list of platforms in the README when we can just point you to that directory.
https://github.com/intel/vaapi-fits#some-useful-options
If these instructions aren't clear/visible enough, then please propose a patch.
If you need special caps for your platform, then write a caps file and place it in that directory.  Also, maybe you could put in a request/patch to add support for "user-defined" caps to be loaded externally.
Also, there is nothing stopping the user from using any of the caps on any platform... even if it doesn't match you platform.  Just don't expect every test to pass.

authors: stefanct uartie

repo: intel/vaapi-fits


text:
Heap out of bounds read - WASM_OP_MEMORY_SIZE: wasm_interp_call_func_bytecode (wasm_interp.c:1246)

Environment

Questions
Answers

Related Binary
./iwasm (linux build)

Commit
commit 9a02c49d7c2bb2012fe8d2bd2b9cb2bdaf88ba79

Vulnerability/issue
Heap out of bounds read in wasm_interp_call_func_bytecode (wasm_interp.c:1246)
case: WASM_OP_MEMORY_SIZE
Steps to reproduce the behavior

Download:
PoC.zip

Run:
./iwasm PoC.wasm

Additional Informations
Crash
[1]    18462 segmentation fault  ./iwasm

GDB
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.

[----------------------------------registers-----------------------------------]
RAX: 0x0
RBX: 0x5555557810e4 --> 0x5555557810fc --> 0x7f03
RCX: 0x0
RDX: 0x1
RSI: 0x7fffffffce0c --> 0xffffd0e000000001
RDI: 0x55555577f15f --> 0xc1410341024101
RBP: 0x7fffffffd6c0 --> 0x7fffffffd7b0 --> 0x7fffffffd800 --> 0x7fffffffd880 --> 0x7fffffffd8b0 --> 0x7fffffffd9a0 (--> ...)
RSP: 0x7fffffffcde0 --> 0x219000
RIP: 0x5555555645be (<wasm_interp_call_func_bytecode+20863>:	mov    edx,DWORD PTR [rax])
R8 : 0x0
R9 : 0x7fffffffd748 --> 0x55555578105c --> 0xa0004008
R10: 0x0
R11: 0x246
R12: 0x55555577f160 --> 0x4100c14103410241
R13: 0x5555557810fc --> 0x7f03
R14: 0x0
R15: 0x0
EFLAGS: 0x10216 (carry PARITY ADJUST zero sign trap INTERRUPT direction overflow)
[-------------------------------------code-------------------------------------]
   0x5555555645b2 <wasm_interp_call_func_bytecode+20851>:	mov    eax,eax
   0x5555555645b4 <wasm_interp_call_func_bytecode+20853>:	add    r12,rax
   0x5555555645b7 <wasm_interp_call_func_bytecode+20856>:	mov    rax,QWORD PTR [rbp-0x4e8]
=> 0x5555555645be <wasm_interp_call_func_bytecode+20863>:	mov    edx,DWORD PTR [rax]
   0x5555555645c0 <wasm_interp_call_func_bytecode+20865>:	mov    rax,rbx
   0x5555555645c3 <wasm_interp_call_func_bytecode+20868>:	lea    rbx,[rax+0x4]
   0x5555555645c7 <wasm_interp_call_func_bytecode+20872>:	mov    DWORD PTR [rax],edx
   0x5555555645c9 <wasm_interp_call_func_bytecode+20874>:	mov    rax,r12
[------------------------------------stack-------------------------------------]
0000| 0x7fffffffcde0 --> 0x219000
0008| 0x7fffffffcde8 --> 0x555555781060 --> 0x0
0016| 0x7fffffffcdf0 --> 0x555555780d90 --> 0x100000000
0024| 0x7fffffffcdf8 --> 0x555555781008 --> 0x0
0032| 0x7fffffffce00 --> 0xc50000019000
0040| 0x7fffffffce08 --> 0x1007f0001
0048| 0x7fffffffce10 --> 0x7fffffffd0e0 --> 0x7fffffffd110 --> 0x7ffff7fcf9c0 ("/lib/x86_64-linux-gnu/libc.so.6")
0056| 0x7fffffffce18 --> 0x8400000000
[------------------------------------------------------------------------------]
Legend: code, data, rodata, value
Stopped reason: SIGSEGV
0x00005555555645be in wasm_interp_call_func_bytecode (self=0x555555781008 <global_heap_buf+8552>, cur_func=0x555555780d90 <global_heap_buf+7920>, prev_frame=0x555555781060 <global_heap_buf+8640>) at XYZ/wasm-micro-runtime/core/iwasm/runtime/vmcore-wasm/wasm_interp.c:1246
1246	        PUSH_I32(memory->cur_page_count);
#0  0x00005555555645be in wasm_interp_call_func_bytecode (self=0x555555781008 <global_heap_buf+8552>, cur_func=0x555555780d90 <global_heap_buf+7920>, prev_frame=0x555555781060 <global_heap_buf+8640>) at XYZ/wasm-micro-runtime/core/iwasm/runtime/vmcore-wasm/wasm_interp.c:1246
#1  0x00005555555686fd in wasm_interp_call_wasm (function=0x555555780d90 <global_heap_buf+7920>, argc=0x0, argv=0x7fffffffd870) at XYZ/wasm-micro-runtime/core/iwasm/runtime/vmcore-wasm/wasm_interp.c:2158
#2  0x0000555555559447 in wasm_runtime_call_wasm (module_inst=0x555555780f08 <global_heap_buf+8296>, exec_env=0x0, function=0x555555780d90 <global_heap_buf+7920>, argc=0x0, argv=0x7fffffffd870) at XYZ/wasm-micro-runtime/core/iwasm/runtime/vmcore-wasm/wasm_runtime.c:102
#3  0x0000555555558842 in wasm_application_execute_main (module_inst=0x555555780f08 <global_heap_buf+8296>, argc=0x1, argv=0x7fffffffda90) at XYZ/wasm-micro-runtime/core/iwasm/runtime/vmcore-wasm/wasm_application.c:109
#4  0x0000555555557ad8 in app_instance_main (module_inst=0x555555780f08 <global_heap_buf+8296>) at XYZ/wasm-micro-runtime/core/iwasm/products/linux/main.c:54
#5  0x00005555555580eb in main (argc=0x1, argv=0x7fffffffda90) at XYZ/wasm-micro-runtime/core/iwasm/products/linux/main.c:217
#6  0x00007ffff7448b97 in __libc_start_main (main=0x555555557d8c <main>, argc=0x2, argv=0x7fffffffda88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffda78) at ../csu/libc-start.c:310
#7  0x000055555555798a in _start ()

Valgrind
==18459== Memcheck, a memory error detector
==18459== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18459== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==18459== Command: ./iwasm XYZ/wasm-micro-runtime/core/iwasm/products/linux/debug/triage/0x55555556464f/PoC.wasm
==18459==
==18459== Invalid read of size 4
==18459==    at 0x1185BE: wasm_interp_call_func_bytecode (wasm_interp.c:1246)
==18459==    by 0x11C6FC: wasm_interp_call_wasm (wasm_interp.c:2158)
==18459==    by 0x10D446: wasm_runtime_call_wasm (wasm_runtime.c:102)
==18459==    by 0x10C841: wasm_application_execute_main (wasm_application.c:109)
==18459==    by 0x10BAD7: app_instance_main (main.c:54)
==18459==    by 0x10C0EA: main (main.c:217)
==18459==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==18459==
==18459==
==18459== Process terminating with default action of signal 11 (SIGSEGV)
==18459==  Access not within mapped region at address 0x0
==18459==    at 0x1185BE: wasm_interp_call_func_bytecode (wasm_interp.c:1246)
==18459==    by 0x11C6FC: wasm_interp_call_wasm (wasm_interp.c:2158)
==18459==    by 0x10D446: wasm_runtime_call_wasm (wasm_runtime.c:102)
==18459==    by 0x10C841: wasm_application_execute_main (wasm_application.c:109)
==18459==    by 0x10BAD7: app_instance_main (main.c:54)
==18459==    by 0x10C0EA: main (main.c:217)
==18459==  If you believe this happened as a result of a stack
==18459==  overflow in your program's main thread (unlikely but
==18459==  possible), you can try to increase the size of the
==18459==  main thread stack using the --main-stacksize= flag.
==18459==  The main thread stack size used in this run was 8388608.
==18459==
==18459== HEAP SUMMARY:
==18459==     in use at exit: 0 bytes in 0 blocks
==18459==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==18459==
==18459== All heap blocks were freed -- no leaks are possible
==18459==
==18459== For counts of detected and suppressed errors, rerun with: -v
==18459== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
[1]    18459 segmentation fault  valgrind ./iwasm

Fixed with c47baf221fa8139ee45cd31e7dbf1a8310669d8e

repo: intel/wasm-micro-runtime


text:
Adds functionality to accept policies from remote URL

This PR also adds functionality to accept policies passed to Genval from remote URLs. Now, users can store their policies in SCM  and pass the URL's to genval's --policy/--inputpolicy/--outputpolicy args.
Genval can now accept policies passed from raw.githubusercontent.com and full github.com URL's.
This PR closes #14
Code scan results:
SNYK

Sonarqube

@santoshkal , is this PR ready to merge?

repo: intelops/genval


text:
Error when setup laravel 5.3

Hi,
I have install intentor/laravel-theme for laravel 5.3 and setup like the guide but when run project, can not load pages and process time out, Could you help resolve this ?
Thank in advanced.

Hello, @ms08-067!
I'll look into it and get back here soon with a fix!

repo: intentor/laravel-theme


text:
feat: kick collators without sufficient escrow balance

Signed-off-by: Gregory Hill gregorydhill@outlook.com
Probably need to add some tests...

Probably need to add some tests...

Agreed :+1:

repo: interlay/interbtc


text:
Make every withdrawal an optional 2 phase transfer

Context
Currently, liquidity withdrawals on

asset
peer
walletAddress

are 2 phase transfers while withdrawals on

incomingPayment
outgoingPayment

are 1 phase transfers.
We want to make the payment withdrawals 2 phase transfers as well such that ASEs can

create the transfer on Rafiki
do accounting on their own backend
post ( = Tigerbeetle language for complete) the withdrawal

That way, if something goes wrong on the ASEs backend, the withdrawal within Rafiki will just expire (or be voided = canceled) and we won't end up with bad state.
Note that we don't have to implement the post/void functionality. We can use PostLiquidityWithdrawal/VoidLiquidityWithdrawal for that.
Todos

[x] update incoming payment and outgoing payment withdrawal method to include a timeout
[x] add post / void step to docs about flow of funds / accounting between Rafiki and ASE

PR:
https://github.com/interledger/rafiki/pull/2671

Ready for review.

authors: koekiebox sabineschaller

repo: interledger/rafiki


text:
Second punchout doesn't work

Actual Behavior
Trying a second cxml punchout doesn't work, an error page occurs.
Expected Behavior
No error page.
Steps to Reproduce the Bug
Steps to reproduce the behavior:

Create a punchout session via setup request (customers//punchouts/cxml1.2/setuprequest)
go to created session link (http://localhost:4200/punchout?)
add some items to basket and transfer cart
Create another punchout session via setup request
go to created session link --> error page

Environment Details

Desktop: *

OS: Windows
Browser: Firefox
Project Code Version: current develop

Additional Context, like Screenshots, Log File Snippets etc.
It seems that the cookies might be a problem. After removing all cookies, including "punchout_BasketID", it worked again.
AB#75331

@Eisie96 is this still an issue or did #1109 fix it?

I cannot reproduce it anymore, so I guess it is solved.

authors: DiverDori MaxKless

repo: intershop/intershop-pwa


text:
feat: basic auth support for nginx

PR Type

[x] Feature
What Is the Current Behavior?
For Intershop CaaS environments, UAT and INT deployments are configured to use basic auth, so that the shop is not publicly visible or indexed by search engines.
This setup however is performed on the Kubernetes nginx ingress, where it doesn't differentiate between page responses and retrieval of static assets. Some of the assets can not be retrieved by the PWA without setting up cross-origin use-credentials, and even then (with multiple basic auth dialogs popping up), fonts are not properly retrieved.
What Is the New Behavior?
The PWA nginx container can be set up using basic auth: https://github.com/intershop/intershop-pwa/blob/feat/nginx-basic-auth/docs/guides/nginx-startup.md#basic-auth
Whitelisting IPs is also supported.
The nginx only guards page responses and makes static assets freely available.
Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

We have to discuss this proposal with our operations team.

Hi, it is Maxime, so we discussed with Evident. Danilo will adapt this PR to make it not anymore global but on channel level. With that it would cover the problem of IP restriction at channel level. Some documentation of the concept would be needed then, to make it clear to all future users.

Hi @psemdel,
Didn't we conclude at leaving this on global level? And specific projects can then adapt this for channel-level? I think this should be the default use case.
I can however have another look at maybe implementing both variants. 😉

Sorry, I may have misunderstood a point. Do as agreed.

@psemdel I added an opt-out on channel level.
So if only one of three channels should be publicly accessible, then we can define basic auth globally, but again deactivate it in the multi-channel configuration by setting protected: false on the channel. (see documentation)
I think this should cover our use case 😉

authors: dhhyi jometzner psemdel


text:
feat: enable data retention for ngrx store slices

PR Type

[x] Feature
What Is the Current Behavior?
Data for recently or compare does not persist beyond the application lifetime, which even ends after a page refresh. This makes it hard to customize these features, as the ng serve also resets the store on every save.
It is possible to persist the data with localStorageSaveMeta, but this meta reducer does not save the data in accordance with the deploy baseHref, which basically breaks this feature in a multi-channel deployment with context path support.
What Is the New Behavior?
Stores for recently, compare and tacton can be saved to session or local storage respecting the scope given by the baseHref. No new defaults are configured with this PR, the application will behave like previously. It is now possible for project customizations to enable data persistence for these stores. The configuration can be supplied as compile time property in environment.ts files.
Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No
Other Information

@dhhyi Thank you for the nice feature. I merged it with whole data retention possibilities enabled by default to profit from the improvements and to showcase it in all places.
default configuration in environment.model.ts
  dataRetention: {
    compare: 'session',
    recently: 60 * 24 * 7, // 1 week
    tacton: 'forever',
  },

authors: dhhyi shauke


text:
🛑 Zeeuws Museum is down

In bc2315b, Zeeuws Museum (https://www.zeeuwsmuseum.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zeeuws Museum is back up in 54c6e5a after 963 days, 12 hours, 12 minutes.

repo: intk/intk-upptime


text:
🛑 Teylers Museum is down

In cd815db, Teylers Museum (https://www.teylersmuseum.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Teylers Museum is back up in 53752ae.


text:
🛑 Centraal Museum is down

In 888b644, Centraal Museum (https://www.centraalmuseum.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Centraal Museum is back up in 3d24146 after 5 minutes.


text:
Cannot read property 'startOfWeek' of undefined

https://github.com/intljusticemission/react-big-calendar/blob/fb5b346de58b0c3c50cf967df8b63efec5a21506/src/Month.js#L330
https://github.com/intljusticemission/react-big-calendar/blob/fb5b346de58b0c3c50cf967df8b63efec5a21506/src/Calendar.js#L895
Check passed secondary param..  localizer doesnt pass in handleRangeChange

yup i have the same issue

I had this issue after upgrading from 0.19.2 to 0.20.2
import * as datesUtility from 'react-big-calendar/lib/utils/dates';
it looks like datesUtility.firstVisibleDay now takes the param 'localizer'.
Fixed by passing in localizer
const localizer = BigCalendar.momentLocalizer(moment);
datesUtility.firstVisibleDay(date, localizer)

authors: CodeXtinction gtaylor44 rgnevashev

repo: intljusticemission/react-big-calendar


text:
Change What Day Today Goes To

is there a prop that can change what day the today button goes to?

Or a way to keep the back and next buttons, remove today, and have a custom button?

You can create your own toolbar, and pass that to the components prop of the Calendar.

Thanks for the reply.  I dug through the docs and came up with this:

Awesome!


text:
Обзор литературы: введение в предметную область [4]

Введение в предметную область начинается с ознакомления со Real-Time Point Process Filter for Multidimensional Decoding Problems Using Mixture Models ,Bayesian Decoder Models with a Discriminative Observation Process и Deep Discriminative Direct Decoders for High-dimensional Time-series Analysis. Основной задачей является разбор методов, понимание идей реализации и поиск новых статей с данными алгоритмами и написание обзора по ним.

I am done


text:
Add a configuration to show server/AuT logging in karate report.

This enhancement stems from the JUnit results no longer being filtered in the IDE.
Take the v0.8.0 branch and the master branch of this repository and focus on the HelloHttpTest in the karate-mock-servlet
in v0.8.0 it is clear to see in the filtered test logs the logging details from the server.  in this case the mock server.

although when using the master or latest v0.9.1 the results cannot be filtered so this information is a little bit harder to find.

Selecting the feature also shows less information and only selecting the test will give you the console log for the entire series of tests. I understand that as this is on the JUnit/IDE side that it may be more to do with the JUnit runner and other factors so my suggested enchancement would be too include the server logging from the console in the Http report if possible.
I took a short look into it today but didn't get anywhere with a solution by myself, and also was wondering if this is something that you would also be interested in.
Thanks.

@xltb ok that's much better. and you are looking at server-side logs as well.
since it is still confusing, can you confirm that I understood this correctly:

specifically on IntelliJ
after running a JUnit test via the IDE
when you click on each node of the JUnit results in the IDE
you expect to see the logs that were emitted only when the code representing that node executed
(good to have and which was never an existing feature) when you have a combination of a karate-test and a karate mock, you would like the server log to appear in the HTML log

is that a fair summary ?

@ptrthomas yes Peter this perfectly captures what I am looking for. On the last point however I think it would be nice if the feature would somehow collect  all of the logs that were normally sent to the console during the scenario/step execution time frame. I can imagine this would be a lot harder for parallel tests

@xltb can you build from source and test this ?
would be great if you can try out the JUnit5 support also :)

@ptrthomas
hey peter,
Happy Monday! Apologies as last week i was on vacation, so i didn't have time to check this until now.  Works really well but whilst running though my test cases i ran into some side cases that could possibly be a bug.
if a test passes and all tests before it have passed then the feature works as intended and displays the AUT logs and karate logs for only that test. Nice!
if a test fails the the logs from the first failed test until the end of the series of tests are shown in the Intellij test window, all of the passed tests  after this have no results. All of the failed tests just show only the reason of failure, normally a Karate Exception, similar to how it was before the this fix.
see an updated version of the hello-http feature that can simulate this behavior.
Feature: test that works un-changed for http as well as in-process servlet / mock-http

Scenario: get hello

  When url demoBaseUrl
  And path 'hello'
  When method get
  Then status 200
  And match response == 'hello world'

Scenario: post cat

    When url demoBaseUrl
    And path 'hello'
    And request { name: 'Billie' }
    When method post
    Then status 200
    And match response == { success: true }

Scenario: post cat again to check only this log is seen.

    When url demoBaseUrl
    And path 'hello'
    And request { name: 'Billie' }
    When method post
    Then status 200
    And match response == { success: true }

Scenario: post cat fail

    When url demoBaseUrl
    And path 'hello'
    And request { name: 'john' }
    When method post
    Then status 200
    And match response == { success: false }

Scenario: get hello again

    When url demoBaseUrl
    And path 'hello'
    When method get
    Then status 200
    And match response == 'hello world'

  Scenario: post random data

    When url demoBaseUrl
    And path 'hello'
    And request { name: 65 }
    When method post
    Then status 200
    And match response == { success: true }

  Scenario: post cat fail again

    When url demoBaseUrl
    And path 'hello'
    And request { name: 'pauline' }
    When method post
    Then status 200
    And match response == { success: false }

  Scenario: get hello again 2

    When url demoBaseUrl
    And path 'hello'
    When method get
    Then status 200
    And match response == 'hello world'

  Scenario: post random data 2

    When url demoBaseUrl
    And path 'hello'
    And request { name: 65 }
    When method post
    Then status 200
    And match response == { success: true }

Image 1: shows that on the first failed test that the whole log is shown.

Image 2: shows that every passed test thereafter shows no details

Image 3: shows that every failed tests just shows the reason for failure.

Thanks a lot! And ill test some integration with junit5 later on today!

released 0.9.2

@ptrthomas
I managed to fix the issues that i mentioned in the second comment in this thread, im pretty sure this is what was mentioned in #705 but i'm not sure if its the same as #702.  I also include my changed hello-http.feature in the PR. This is a failing test for use in seeing how it now works, but defiantly shouldn't be included lol.

authors: ptrthomas xltb

repo: intuit/karate


text:
Docker does not start after "wasabi.sh bootstrap" with Docker version upgraded

I did "wasabi.sh bootstrap" which upgraded my Docker version. However Docker was NOT started automatically when running "wasabi.sh start" and I got "sleep" messages instead:
$ ./bin/wasabi.sh start
chill'ax 🍺
chill'ax 🍺
chill'ax 🍺
chill'ax 🍺
chill'ax 🍺
chill'ax 🍺

see: feature/bug-osx-docker-start

Fixed now! 👍  @jwtodd @shoeffner

authors: iizrailevsky jwtodd

repo: intuit/wasabi


text:
models: per bucket file size limits

Adds a per bucket maximum file size limit.

File size limits are now checked while writing the object.

Signed-off-by: Sami Hiltunen sami.mikael.hiltunen@cern.ch

Coverage decreased (-0.8%) to 91.153% when pulling cbcda7eef8063ab8ee0a1b6a56d3a06bb71963d7 on SamiHiltunen:file-size-limiters into f9d958e994e570ab8c994997c689ae27bd3e4622 on inveniosoftware:master.

Coverage decreased (-0.8%) to 91.153% when pulling 7ab0bad53ce2c5d77e165f6c8e53b134faccefdb on SamiHiltunen:file-size-limiters into f9d958e994e570ab8c994997c689ae27bd3e4622 on inveniosoftware:master.

Coverage decreased (-0.8%) to 91.153% when pulling 7ab0bad53ce2c5d77e165f6c8e53b134faccefdb on SamiHiltunen:file-size-limiters into f9d958e994e570ab8c994997c689ae27bd3e4622 on inveniosoftware:master.

Coverage decreased (-0.4%) to 91.572% when pulling 9fbec2d2e969887beab40f720cfc420115953c3e on SamiHiltunen:file-size-limiters into c3a7256ef5bf226ef9898d315d327415d6e00b0f on inveniosoftware:master.

Coverage increased (+1.1%) to 93.052% when pulling e333687fd782a3ec26955f1e81ad89a16f930686 on SamiHiltunen:file-size-limiters into c3a7256ef5bf226ef9898d315d327415d6e00b0f on inveniosoftware:master.

Coverage increased (+1.3%) to 93.28% when pulling 4bc591525b45ca70a192721686f8e35776dc17f8 on SamiHiltunen:file-size-limiters into c3a7256ef5bf226ef9898d315d327415d6e00b0f on inveniosoftware:master.

@lnielsen I've fixed the issues you found

authors: SamiHiltunen coveralls

repo: inveniosoftware/invenio-files-rest


text:
examples: addition of admin interface

Adds an admin interface to example application.

Adds tests for admin interface.

Reviewed-by: Jiri Kuncar jiri.kuncar@cern.ch
Signed-off-by: Wojciech Ziółek wojciech.ziolek@cern.ch
--
closes #38

Coverage increased (+2.9%) to 96.182% when pulling 9f855cea6ab6aefc4e06c8cac80b4a0276aebe30 on jirikuncar:admin into 469a79959fed14f19a6edafd84ad0ca95518a193 on inveniosoftware:master.

authors: coveralls jirikuncar

repo: inveniosoftware/invenio-oaiserver


text:
records: remove from community

This should be treated as an actions on the record endpoint (i.e. /records/<pid_value>/actions). That way the could be a similar payload for add and remove. For example:
{
    "community_id": ...,
    "event": "add/remove",
}

After disscussing with @ntarocco - who is implementing the submit to multiple records - we have agreed to the following:

The endpoint is api/records/<pid>/communities.

POST or PUT action:  will accept a list of community ids.
DELETE action: will accept a list of community ids.

missing PR in rdm-records

repo: inveniosoftware/invenio-rdm-records


text:
General TODO list:

[ ] Find a way to build the docs: read the docs is missing one XML system library and the build fails. @egabancho
[ ] Explore better possibilities for the configuration, right now it might be too much. (Identify pain points) @egabancho
[ ] Improve documentation 💸 💸 💸 💸
[ ] Find a way to update the logging template with the corresponding links. @egabancho
[x]  Add debug logging to the default ACS handler to help with the development of the account info extractor. @egabancho
[x] Test loading from a file @mb-wali
[x] Add explanation on how to disable user profile modifications 💸
[x] For the account info mappings make a default function to do a simple one to one mapping, more complicated things a function should be provided. @mb-wali
[x] Verify if installation with and without OAuth client works, and if there are problems with the models (DB) find a way to solve them.
[ ] Release v1.0.0 🚀

[ ] ~Extract common functions to the corresponding modules, Invenio-Accounts and Invenio-App mostly, i.e. UserIdentity or get_safe_redirect_target.~
[ ] Test load config from server XML response
[ ] Test IdP discovery reading from XML file
[ ] Where to store data coming from the server, office number, phone, etc. user profile? remote account table?

🚀  Alpha release: https://github.com/inveniosoftware/invenio-saml/commit/676d20f53b9fda383f516a1e38a288a2b5851126
A new issue will be created with the remaining points to be addressed.

authors: egabancho ntarocco

repo: inveniosoftware/invenio-saml


text:
theme: add placeholder image function

Closes https://github.com/inveniosoftware/invenio-theme/issues/301

Checks if image loaded correctly, and if not, adds placeholder image

@zzacharo if I am not mistaken you have worked on this, right?

authors: jennur ntarocco

repo: inveniosoftware/invenio-theme


text:
deposit-form: validate saved draft on form load

closes https://github.com/inveniosoftware/invenio-app-rdm/issues/737
Validates saved draft when the form initially loads to show any errors and allow publishing on page reload or edit. Result:

Mostly renaming and it's good to go.
Maybe we talked about this (I hope!), but the other avenue which might be more involved would be to have the backend do a preliminary save when a draft is edited and provide the draft with errors to frontend. The advantage being a reduction in API calls. The FormFeedback would have to be modified to only show errors in this case (and no saved successfully). Might be something for the future...

Yes, we indeed talked about it! And decided to take this approach for now and leave the backend implementation for the future as you mentioned :)

repo: inveniosoftware/react-invenio-deposit


text:
Error no module named dbbackup after update

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

Describe the bug*
Hello there,
i just updated InvenTree to the newest Version a few days ago. This included the function of doing a backup. Since then I am not able to start InvenTree, or to be more precisely, the workers failed to boot.
As far as I can see, the system is not able to use the Django package dbbackup. My Django version is up to date (3.2.16). So my guess is, that I might have missed a configuration step, which is relevant after the update. Furthermore I checked the files requirements.txt and config.yaml but thex looked good.
I will keep looking, but would be glad if someone would lend me a hand.
Thanks in advance.
Steps to Reproduce

Stopped all Gunicorn instances
Used git pull origin master to update the source code
Added a backup directory
Use invoke update
Tried to start Gunicorn again
Failed to start with shown Error below

Sorry it really was not more than this.
Expected behavior
InvenTree worker and Gunicorn webserver should start.
Deployment Method

[ ] Docker
[X] Bare metal

Version Information
0.9.2
Relevant log output
Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 8, in
sys.exit(run())
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 231, in run
super().run()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 58, in init
self.setup(app)
File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 118, in setup
self.app.wsgi()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/bstadmin/inventree/src/InvenTree/InvenTree/wsgi.py", line 15, in
application = get_wsgi_application() # pragma: no cover
File "/usr/local/lib/python3.10/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/usr/local/lib/python3.10/dist-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.10/dist-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python3.10/dist-packages/django/apps/config.py", line 224, in create
import_module(entry)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'dbbackup'

@Fluxus00

Are you using a custom settings.py?
Are you sure you activated the right environment before running InvenTree? This is a very common problem when upgrading

@matmair
Thank you for your reply!

No I do not not. I just wanted to check if the file is corrupted or anything else is missing.
Yes I am, actually I did in the virtual environment  and outside of it to make sure.

Can I provide something that would help you?

@Fluxus00 can you checked if dbbackup is in your requirements.txt?
Debugging bare metal installs often presents a challenge - this is in part why we created packaged installs.

@matmair
So it is in my requirements.txt mentioned, and also a installation via Docker is in my case almost impossible so it wasn't really a option.
But it seems like several System restarts have fixed the problem. Because I still do not understand why this problem occurred and why it is fixed now, I would like to keep this issue open for 1 or 2 days in case it  happens again. If not I will close it manually.
I wish I could buy you a coffee or something as an excuse for such a stupid question by me.

@Fluxus00 first of all there are no stupid questions. It would not be the first time that we have flaky bugs.
Regarding the install method I was not talking about docker. With 0.9.0 we started shipping Debian (and Ubuntu) packages.
You actually can buy us a coffee via sponsoring.

@Fluxus00 that is in the pipeline for the next release and already merged in master

@matmair So if I understand this correct I just have to wait for the next release and update my software when the time comes right?

You can turn off backups in the next release

repo: inventree/InvenTree


text:
How to itterate through the parts list in template

Body of the issue
Im trying to create a report template for stocketaking for warehouse workers.
From my view it must be a table by each part, with next collums.

Part name
Part available stock value (even if == 0)

The problem is - there is no example, how to itterate through each part in database\category.
Default stocktake report use stock item, so by definition it exclude parts with zero available stock and duplicate rows with same part but multiple stock items. This turn stocktake in hell.
So, how can i itterate throug parts in template?

Duplicate of https://github.com/inventree/InvenTree/issues/8545 - please discuss in #8545 to avoid duplicate issues.

authors: SchrodingersGat alxrMironov


text:
Add error handling for case where user does not have git installed

Ref: https://github.com/inventree/InvenTree/issues/3129

@matmair seems appropriate to you?


text:
Improve introductory docs for docker setup

A working knowledge of docker / docker-compose is assumed
The inventree image available on docker hub is not designed to be used "standalone" - other images (e.g. database / proxy) are required also

Also, docker refactor in progress - https://github.com/inventree/InvenTree/pull/3042

repo: inventree/inventree-docs


text:
[Question] Does this support passing individual test files/directories?

I tried running my tests by simply calling spec in the root folder and it only picked up tests in a packages/test folder and ignored the ones in the main test folder.
When I pass individual test files as I would with flutter_test as in flutter test test/path/to_test.dart, Spec does not find the tests and runs nothing.
Is using melos in this case required or is there an option I have not yet found?

@rrousselGit we have a standard Flutter app folder layout.
- android/
- ios/
- lib/
- packages/
- test/
  - some_test.dart
  - folder1/
    - folder1_test.dart
  - folder2/
    - folder2_test.dart
- pubspec.yaml

The packages folder
packages/
	- api_client/
	  - lib/
	  - test/
	    - first_test.dart
	    - second_test.dart
	  - pubspec.yaml

The spec_cli only picks up the tests in the packages folder.

I don't think melos supports both having a root pubspec and a packages folder simultaneously
But I'm sure it could be adapted to do so
cc @Salakar

We're not using melos, though.

Spec is for you.

Ah, ok

I don't think melos supports both having a root pubspec and a packages folder simultaneously
But I'm sure it could be adapted to do so cc @Salakar

It does support this, even Melos repo itself is setup like this 🤔

As the default format - aka without a melos.yaml?

authors: Salakar lyio rrousselGit

repo: invertase/spec


text:
Unable to install canny controlnet for SDXL [bug]:

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
No response
What version did you experience this issue on?
3.1.0
What happened?
I fail to download the canny controlnet for SDXL. I suppose I should look here: models.invoke.ai. The canny model offers either this link "(https://huggingface.co/diffusers/diffuserscontrolnet-canny-sdxl-1.0)" or when you press the button "diffusers/diffuserscontrolnet-canny-sdxl-1.0". The first crashes the shell with a pipe error, the second aborts (I added a screenshot of the aborted install). I was able to install the zoe depth model without any issues.
Screenshots

Additional context
No response
Contact Details
No response

Thanks for flagging, that link is wrong - try this: diffusers/controlnet-canny-sdxl-1.0

authors: Millu singultus

repo: invoke-ai/InvokeAI


text:
🛑 Bitwage API (Sandbox) is down

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

HTTP code: 403
Response time: 326 ms

Resolved: Bitwage API (Sandbox) is back up in 3aad4a0 after 45 minutes.


text:
🛑 Bitwage API (Sandbox) is down

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

HTTP code: 403
Response time: 111 ms

Resolved: Bitwage API (Sandbox) is back up in 3913ae3 after 15 minutes.


text:
🛑 Bitwage API (Sandbox) is down

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

HTTP code: 403
Response time: 41 ms

Resolved: Bitwage API (Sandbox) is back up in ab4fbfe after 2 hours, 3 minutes.


text:
🛑 Bitwage API (Sandbox) is down

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

HTTP code: 403
Response time: 30 ms

Resolved: Bitwage API (Sandbox) is back up in ca0db1a after 9 minutes.


text:
🛑 Bitwage API (Sandbox) is down

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

HTTP code: 403
Response time: 282 ms

Resolved: Bitwage API (Sandbox) is back up in 5fdc270 after 9 minutes.


text:
🛑 Bitwage API (Sandbox) is down

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

HTTP code: 403
Response time: 318 ms

Resolved: Bitwage API (Sandbox) is back up in 145ee6e after 6 minutes.


text:
🛑 冬天的小窝 S1W3 is down

In c412fc7, 冬天的小窝 S1W3 (https://www.iamdt.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 冬天的小窝 S1W3 is back up in e89a308 after 9 minutes.


text:
add spotify-premium

Forum Thread: https://forum.iobroker.net/viewtopic.php?f=21&t=8173

Thank you!


text:
Dokumentation Berechnung Werte (Eigenverbrauch, Hausverbrauch, Netzbezug etc) - Wiki?

Hi,
ich habe einige Blockly Skripte zur Berechnung der Daten geschrieben. Plant ihr die Berechnung ggf. in den Adapter zu integrieren oder macht es Sinn z.B. auf einer Wiki Page die Skripte etc zur Verfügung zu stellen? Ich stelle sie gern zur Verfügung. Beim Klick auf Wiki wird man auf Issues zurück geleitet.
VG
mading

ich wäre sehr interessiert an den Skripten

Grundsätzlich sollten Adapter primär Daten die ein Gerät liefert 1:1 zur Verfügung stellen. Zusätzliche Berechnungen machen nur in wenigen Fällen direkt einen Sinn da sie oft vom konkreten Verwendungszweck abhängen.
Derzeit sind keine Erweiterungen diesbezüglich geplant.


text:
Mehrere kalender getrennt behandeln

Hi ich würde mir wünsche das ich mehrere Kalender in einer Instanz getrennt ausgeben lassen kann.
Aktuell ist es leider so das alle Kalender einer Instanz zusammen die Datenpunkte unter Data füllen.
Das zwing mich dazu das ich mittlerweile 5 Instanzen angelegt habe da ich gerne die einzelnen Kalender gerne autark von den anderen behandeln würde. Die könnte man zB realisieren durch eine Checkbox in den Kalendern ( einzeln ausgeben )
Und dann genriert sich pro einzelner ausgabe eine neue Ordnerstruktur

Was spricht gegen 5 Instanzen?


text:
Errors since V2.0.0

Since the update from V1.0.2 to 2.0.0 I get the following errors when I switch off the TV
`

panasonic-viera.0
2021-11-18 20:37:06.269
error
Exception-Code: ECONNREFUSED: connect ECONNREFUSED 192.168.178.43:55000

panasonic-viera.0
2021-11-18 20:37:06.269
error
Error: connect ECONNREFUSED 192.168.178.43:55000 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)

panasonic-viera.0
2021-11-18 20:37:06.268
error
unhandled promise rejection: connect ECONNREFUSED 192.168.178.43:55000

panasonic-viera.0
2021-11-18 20:37:06.267
error
Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().

`

I really like my function to mute the TV and to stop the media player when the phone rings. Unfortunately ioBroker shuts down the Viera instance due to too many failures and boot loops. Is there anything I can do? Is my TV too old (about 11 years)?
panasonic-viera.0 | 2021-12-06 21:13:25.555 | info | terminating -- | -- | -- | --
panasonic-viera.0 | 2021-12-06 21:13:25.023 | error | Exception-Code: ECONNREFUSED: connect ECONNREFUSED 192.168.2.8:55000
panasonic-viera.0 | 2021-12-06 21:13:25.019 | error | Error: connect ECONNREFUSED 192.168.2.8:55000  at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)
panasonic-viera.0 | 2021-12-06 21:13:25.016 | error | unhandled promise rejection: connect ECONNREFUSED 192.168.2.8:55000
panasonic-viera.0 | 2021-12-06 21:13:25.010 | error | Unhandled  promise rejection. This error originated either by throwing inside of  an async function without a catch block, or by rejecting a promise which  was not handled with .catch().
panasonic-viera.0 | 2021-12-06 21:13:24.633 | info | starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.panasonic-viera, node: v12.22.7, js-controller: 3.3.18

Same here...
2022-03-05 08:36:18.824	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
2022-03-05 08:36:18.821	info	terminating
2022-03-05 08:36:18.308	error	Exception-Code: ECONNREFUSED: connect ECONNREFUSED 192.168.0.66:55000
2022-03-05 08:36:18.308	error	Error: connect ECONNREFUSED 192.168.0.66:55000 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
2022-03-05 08:36:18.307	error	unhandled promise rejection: connect ECONNREFUSED 192.168.0.66:55000
2022-03-05 08:36:18.306	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2022-03-05 08:36:18.197	info	starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.panasonic-viera, node: v14.18.2, js-controller: 3.3.22

authors: Ital-Iener KaosKatte Uwe1984


text:
Adapter causing a lot of DNS traffic

Describe the bug
The adapter causes a lot of DNS queries to api.spotify.com. After a while, this results in my DNS server rate limitting the iobroker host. The iobroker host then sends out a whole lot more DNS queries because it cannot resolve it anymore.
To Reproduce
Steps to reproduce the behavior:

Have the adapter running and listen to some music.

Expected behavior
The DNS result should be cached in some way.
Screenshots & Logfiles
Plot of DNS queries per host in my network. Starting at ~11:00, the dark blue / grey part is the iobroker host querying for api.spotify.com

Versions:
Adapter version: 1.3.1
JS-Controller version: 5.0.19
Node version: v18.20.0
Operating system: Debian GNU/Linux 12

I got a potential fix for this using the dns-lookup-cache library in my dns-cache branch: https://github.com/n1tr0-5urf3r/ioBroker.spotify-premium/commit/9061e751bb15fd3ed71c649a0fae4dcabf58352e

added at 1.5.0


text:
expose additional ports in dev container

with these options:
      --dashboard-addr string                                   address to listen on to serve dashboard (default ":8080")
      --dashboard-enabled                                       enable dashboard http server (default true)
      --dashboard-tls-cert-path string                          local path to the TLS certificate used to serve dashboard
      --dashboard-tls-key-path string                           local path to the TLS key used to serve dashboard

and
      --http-addr string                                        address to listen on to serve http (default ":8443")
      --http-enabled                                            enable http http server
      --http-tls-cert-path string                               local path to the TLS certificate used to serve http
      --http-tls-key-path string                                local path to the TLS key used to serve http

it's possible to expose the http port and dashboard port.
it would be useful to have the dashboard port as it helps with troubleshooting
Possibly the authzed client should offer a http client option, in which case the http port should also be exposed.

Reopenning: needs tests

With #25 we add tests that dashboard, http and metrics are exposed.

authors: iocanel raffaelespazzoli

repo: iocanel/quarkus-authzed-client


text:
Android adaptive icon - image resolution 108dp

Cordova CLI: 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
cordova-res : 0.8.1
npm : 6.12.0
In Android guidelines
(https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive) you can read, that both layers must be sized at 108 x 108 dp. If I take the icon-foreground.png and icon-background.png with this resolution no adaptive icons will be generated in folder 'resources/android/icon'.

icon-foreground.png and icon-background.png are input files for cordova-res, not Android.
Follow these guidelines: https://github.com/ionic-team/cordova-res#adaptive-icons

Yes, icon-foreground.png and icon-background.png are source files for cordova-res to generate the adaptive icons  for Android. But cordova-res do not generate adpative-icons for Android, if source files have the required resolution of 108 x 108 dp. cordova-res only works if source files have resolution of 72 x 72 dp.

@dwieeb @ebeling - what is proper the proper resolution of the foreground/background.png files?  The plugin docs say source files of "at least 432x432dpi".  I tried that and my icons are way too big and what displays is the center 50% of my icon - like they are zoomed in on.

Exactly the same issue here, the images end up being displayed as about the 50% of the icon, whilst using the same images to make android studio generate the adaptive icons (new image assets) renders the correct result. Is an example-setup for adaptive icons a possibility?

Duplicate of #108

@rolinger The author of cordova-res describes that the image size should be 432px x 432px. In my opinion the resolution is a second parameter and should be 108dpi. If you create an image in Photoshop, Gimp or other tool you can adjust both.

You're mixing up the units. It's not dpi (dots per inch), it's dp (density-independent pixels). Read about screen densities in the Android docs.
The formula is: px = dp * (dpi / 160)
Adaptive Icons should be 108x108dp, so for example on 2x devices (~320dpi) it will use the generated 216x216px xhdpi image. Yes, it's complicated. 432x432px is the correct input size for Adaptive Icons to account for the maximum pixel density. This may change in the future as screens continue getting better.
If you think you have this issue, please first read my comment. The documentation is lacking here, I apologize. I'm working to get it to 1.0.

You are right - it is complicated !!! Many thanks for your explanation, I will try to understand all the points of this. And I trust your competence!

authors: dwieeb ebeling iwantwin rolinger

repo: ionic-team/cordova-res


text:
App not installed

My system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: macOS Sierra
Node Version: v4.4.6
Xcode version: Xcode 7.3.1 Build version 7D1014
I use
ionic build android

which results an apk android-debug.apk . i can install it in my android phone...
when i use
ionic build android --release

results an apk android-release-unsigned.apk .. but i cant install this file in my phone..
when i was trying to install it shows error "app not installed"

fix issue using ionic build android --prod

What is the solution for this problem? i tried ionic build android --prod --release, still not working for me?

Remove the release option and you're fine.

If you use --prod it will give you debug build

authors: Dak1411 LindokuhleProHlubi lperezb yasar-salim

repo: ionic-team/ionic-app-scripts


text:
some http request cannot send in ios9

version:
ionic:3.4.0
angular:1.5.3
node: 8.0.0
bug:
some  http request cannot happen in ios9.But it's normal in web/ios10/android
methods I have tried but failed
1、add the same function in other service,and then call it
2、use https
3、add  in index.html
4、use 'X-Requested-With' :'XMLHttpRequest'
5、use other uri
I'd appreciate it if you can provide me with some solutions

plz do not close this issue,thx!

So please fill the issue template.
Also, some code to reproduce it will help

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 MissCuriosity jgw96

repo: ionic-team/ionic


text:
[4.0.0-beta.17] Angular's Location.back() has no navigation animation

Bug Report
Ionic Info
Ionic:

   ionic (Ionic CLI)             : 4.5.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.19
   @angular-devkit/build-angular : 0.10.7
   @angular-devkit/schematics    : 7.0.7
   @angular/cli                  : 7.0.7
   @ionic/angular-toolkit        : 1.2.0

System:

   NodeJS : v10.13.0 (/usr/local/bin/node)
   npm    : 6.4.1
   OS     : macOS Mojave

Describe the Bug
Using Angular's Location.back() has no navigation animation instead of the back navigation animation.
Steps to Reproduce
Steps to reproduce the behavior:

Clone this repo on your machine: https://github.com/KevinKelchen/ionic4-stack-page-reuse . It is a slightly modified version of the sidemenu Angular stater template. You will need to switch to the custom-back-button branch.
In the terminal, path into the repo root and run npm i.
Run ionic serve.
Open the Chrome DevTools and click the Toggle device toolbar button to simulate a mobile device. From the device dropdown choose an iOS device such as an iPhone X.

Choosing an iOS device will use the iOS styling mode. This issue is present in both modes; it's just that the iOS styling mode makes the navigation animation direction used more obvious than the default Material Design navigation animation.

Click the Menu icon and then List.
Click Item 1 to forward navigate to the detail screen for Item 1.
Click Item 2 to forward navigate to the detail screen for Item 2.
Click Item 3 to forward navigate to the detail screen for Item 3.
Click Item 4 to forward navigate to the detail screen for Item 4.
Notice the in-app Back button.

This is not an ion-back-button but is rather a similarly styled, custom app-back-button component that, when you click it, uses import { Location } from '@angular/common' and does a Location.back().
The rationale for using a custom Back button instead of ion-back-button is stated in #15428 (see this comment) and is also mentioned in #16516.

Click the in-app Back button and watch the navigation animation. You will see as you continue to click the Back button that it uses no navigation animation even though it's using Location.back() to go back in the browser history stack.

Related Code
A sample application has been provided. See the Steps to Reproduce above.
Expected Behavior
I expected that using Angular's Location.back() to navigate back in the browser's history stack would use the back navigation animation instead of no navigation animation.
Additional Context
See the Steps to Reproduce above for the rationale for using a custom Back button and the related GitHub issues. This behavior change was introduced in Beta 17--perhaps related to fixing #16367.
FWIW, using the Android back button does seem to animate appropriately as does the ion-back-button. The browser back/forward buttons have no navigation animation but that seems appropriate given that it's in a browser context.

Thanks again for all that you do in making a great framework! 😀

Related to #15181

After updating to Beta 19 there is now no longer any type of animation when using Location.back().

I've worked around this by using NavController.back(). 🙂 It does a Location.back() with a navigation animation.
It was helpful to understand more about the role of the v4 NavController vs. the Angular router from the comments in this issue. I felt comfortable using the NavController in this case.
I'm leaving this issue open in case anyone really wants Location.back() to have an animation. If not, it can be closed.
Thanks!

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic-framework/pull/28530, and a fix will be available in the upcoming major release of Ionic. We opted to target this for Ionic 8 to minimize any impact that this change may have on developers who were relying on the old behavior.

authors: KevinKelchen liamdebeasi paulstelzer


text:
ion-icon fails in electron

Bug Report
Ionic version:

[x] 4.0.0-beta.19
Current behavior:

When using <ion-icon> icons fail to load in electron with the error Fetch API cannot load file://path/to/file. URL scheme "file" is not supported.
Expected behavior:

<ion-icon> displays icon.
Steps to reproduce:

setup an ionic/angular app and include an ion-icon
build an electron app with capacitor
run electron app

Related code:

insert short code snippets here

Other information:

"@ionic/angular": "4.0.0-beta.19",
"@capacitor/cli": "^1.0.0-beta.11",
"@capacitor/core": "^1.0.0-beta.11",

<ion-icon> works as expected when ionic is include via a script tag instead of an angular module. If this is an inappropriate place for this issue let me know and I can ask elsewhere. I wasn't sure where the responsibility would fall for this one.
Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.2.1 (/Users/cpyle/.config/yarn/global/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.19
   @angular-devkit/build-angular : 0.9.0-rc.3
   @angular-devkit/schematics    : 0.9.0-beta.3
   @angular/cli                  : 7.1.3
   @ionic/angular-toolkit        : 1.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : none
   Cordova Plugins       : no whitelisted plugins (0 plugins total)

System:

   Android SDK Tools : 26.1.1 (/Users/cpyle/Library/Android/sdk)
   ios-deploy        : 1.9.2
   ios-sim           : 7.0.0
   NodeJS            : v10.1.0 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS
   Xcode             : Xcode 10.1 Build version 10B61

A workaround for this is to either use Ionic via the unpkg cdn, or to use the icon font instead of the svgs.

Thanks for your issue! It's a good question where this report belongs to. Could you maybe open an issue on https://github.com/ionic-team/capacitor too and link to this issue, too? I leave this open because I am self unsure where the problem is exactly ( I think more at capacitor because the electron support is in early stage).

Still failing in beta.19. Updated issue, and make an issue with capacitor team: https://github.com/ionic-team/capacitor/issues/1059

The problem is in Capacitor, closing here.

authors: cpyle0819 jcesarmobile paulstelzer


text:
feat: Request Specific Components be Eagerly Pre-Loaded

Feature Request
Ionic version:
[x] 4.x
Describe the Feature Request
Note There was some discussion around this feature request here:
https://forum.ionicframework.com/t/how-to-preload-specific-ionic-components-in-v4/170141/6
Ionic's lazy-loading of every single component has a tendency to make the app appear slow and unresponsive when deployed as a web app - particularly on slower networks.
As an example, we have a button which triggers a Popover. When deployed as a website, there is a noticeable delay between tapping the button and the popover being displayed (as both the Ionic popover components and the component being rendered in the popover are lazy-loaded).
Once it has loaded once everything is fine but we are finding that the more impatient users are tapping the button several times because it looks broken and then several popovers all appear at once on top of each other.
Describe Preferred Solution
Some sort of configuration at the app level of ionic:
IonicModule.forRoot({
 preloadComponents: [
  IonButtonComponent,
  IonPopoverComponent,
  MyPopoverContentComponent]
})

Describe Alternatives
We have tried using both service workers (via ng add @angular/pwa) and PreloadAll route preload strategy but neither seems to help with the above case (with service workers the popover still gets downloaded again when requested).

Same issue for us! We have solved and successfully using Angular Route preloading, but preloading of Ionic components is still missing.
We're playing with workaround of just adding component tags to app.component.html (e.g <ion-virtual-scroll></ion-virtual-scroll>). But I haven't measured yet, probably it defeats the purpose of preloading and delays the initial load instead (since it's app.component.html that loads all the time).
So we very much need this feature! Or, a way to just bundle these ionic components into main bundle. It looks very wrong that loading 2Kb small ionic component delays opening the tab by very long time (~1 second), while just bundling it would eliminate this issue completely.
ps: Workaround of adding html tags to app.component.html doesn't solve preloading of Modal js chunks, currently the first open of modal is even slowed (+~2 seconds), cause it loads 3 small chunks: backdrop, modal and smth else (Segment?..). Bad UX for our users definitely.

We are having the same issue.  Using Ionic PWA in offline mode will never work without preloading the Ionic components.
Hard to believe the Ionic team didn't try adding a simple ion-select or ion-textarea (for example) to a starter app, hit offline mode in dev tools and see the issue.
We pushed very hard to our clients about the benefit of Ionic and PWA,  but offline bug has really cornered us at the moment and we really need a work around. Desperately seeking any advice to help us.
Cheers,
Trav.

Perhaps we would need to make a custom ionic build from the Stencil side as that seems to be where the code splitting and lazy loading happens - @manucorporat or @adamdbradley could you maybe provide some insight as to whether this would have to be done from the Stencil side instead?

We have been struggling with this very issue too, especially with menu based modals. The UI appears to hang badly. I have spent many hours trying to find a hack / workaround in the ionic source code with no luck. Right now we have to have small preloaders on all the async loading actions where there are additional loads.
Any feedback on a solution for this would be greatly appreciated.

If this ever gets merged it will potentially solve the issue:
https://github.com/ionic-team/stencil/pull/1558

We are building Plugins using Ionic 4 (Pure HTML/JS and Vue) and facing simular issue. It'd be really great if Team Ionic provide a way to prefetch the components.

Thanks for the feature request. I am going to close this as this is not something that should be handled by the framework. If https://github.com/ionic-team/stencil/pull/1558 gets merged, Ionic Framework will be able to integrate with it, but the framework itself should not provide its own custom pre-loading solution.
In the meantime, you can pre-load components by placing the components in your app with display: none. Here is an example:
Example of a preloaded toast: https://codepen.io/liamdebeasi/pen/pojZqWX
Example of a non-preloaded toast: https://codepen.io/liamdebeasi/pen/ZEbjVXE
In each example, try loading the CodePen and throttling the Network speed in Chrome DevTools. Then, click the "Show Toast" button. In the non-preloaded example, the toast should be slow to load, but in the pre-loaded example the toast should be displayed almost instantly.
Additionally, you can cache Ionic's JS files using a service worker which will help speed up loading time. If you are using Angular, there is a guide on how to get started with this: https://angular.io/guide/service-worker-intro.
Thanks!

authors: johnstontrav jwbeech kirillgroshkov liamdebeasi manofspirit zbarbuto


text:
fix(datetime): ensure ion-datetime hasValue() returns correct boolean value

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features) (current tests are adequate)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
The method hasValue() returns true in all instances because it checks datetimeValue (which is initialised as an object) always has a key length. Because of the way the underlying value is stored, this returns true in all instances.
Issue Number: #18540 https://github.com/ionic-team/ionic/issues/17979
What is the new behavior?

hasValue() now calls getText() to determine the value.
getText() returns the rendered date if the ion-datetime has a value to display, or undefined otherwise.
hasValue() checks the returned value.

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information
N/A

Thanks for this PR! I updated your PR to add a few tests.

Merged. Thank you! 🎉

authors: kelvindart liamdebeasi


text:
When using a signature file Ionide doesn't show the documentation in the tooltip in the implementation file

Describe the bug
When using a signature file Ionide doesn't show the documentation in the tooltip
Steps to reproduce

dotnet new classlib -lang F#
Create a file Library.fsi and add it in the fsproj

  <ItemGroup>
    <Compile Include="Library.fsi" />
    <Compile Include="Library.fs" />
  </ItemGroup>

Put this code in the Library.fsi

namespace testSignature

module Say =

    /// <summary>
    /// Documentation goes here
    /// </summary>
    val hello : name : string -> unit

Go into Library.fs and put you mouse over hello and see that the tooltip is empty.

It should have the same tooltip as when hovering in the Library.fsi file.

I suspect/know that this is something possible to do because in my library code Visual Studio is able to show the tooltip. However, when using this reproduction project it doesn't seems to do it. 🤷♂
Machine info

OS: Windows
.NET SDK version: 5.0.202
Ionide version: 5.5.3

This is going to be more...detailed. We're using GetStructuredTooltipText from FCS to populate the tooltip itself, and for members that have a matching implementation in a signature we...just don't get any XML docs. Might be a problem in this API specifically.

authors: MangelMaxime baronfel

repo: ionide/ionide-vscode-fsharp


text:
Pipeline hints not appearing in 5.12.0

Problem
Pipeline hints no longer appear in 5.12.0. Downgrading to 5.11.2 seems to fix it.
Steps to reproduce
Update to Ionide 5.12.0
Expected behaviour
Pipeline hints should appear if "FSharp.pipelineHints.enabled": true is set (the default)
Screenshots
5.11.2:

5.12:

Machine info

Operating system: Windows 11
VSCode: 1.65.2
Ionide: 5.12.0
Runtime: .NET Core
Dotnet version: 6.0.300-preview.22154.4

This is a result of data changes in FSAC, we'll need to fix it there. I'll take a look at that and get the area under test.

authors: aaronmaslen baronfel


text:
Αλλαγή καθηγητή στο μάθημα "Βάσεις Δεδομένων 1"

Δήλωση Θέματος

Στο μάθημα "Βάσεις Δεδομένων 1" φαίνεται σαν καθηγητής ο κ. Σιούτας ενώ πλέον είναι ο κ. Μαραγκουδάκης και η κ. Σωτηροπούλου.
Εκτιμώμενη δυσκολία: easy
Σχετικοί συνεργάτες: @p17gera, @p17siol
Σχετικός σύνδεσμος στην επίσημη ιστοσελίδα : https://di.ionio.gr/gr/studies/undergraduate-studies/courses/596/

Απορίες σχετικά με το θέμα (αν υπάρχουν)
Υπενθυμίσεις

[x] Έχω βάλει σύντομο τίτλο (π.χ., το όνομα της σελίδας ή της ανακοίνωσης) και έχω ενημερώσει τα παραπάνω πεδία με περισσότερες λεπτομέρειες (π.χ., λινκ σε αρχεία ή φακέλους που αλλάζουν ή εξωτερικές πηγές) για τις προσθήκες που θα κάνω
[x] Έχω ελέγξει ότι το περιέχομενο των αλλαγών μου δεν το έχει δηλώσει κάποιος άλλος σε προηγούμενο issue ανοιχτό ή κλειστό
[x] Πριν προχωρήσω σε pull request θα πάρω ετικέτα green light
[x] Για την δεύτερη συνεισφορά έχω υλοποιήσει μια νέα λειτουργία και έχω εντοπίσει δύο σχετικούς αξιολογητές όπως φαίνεται στο λινκ που δίνω παραπάνω, διαφορετικά δεν γίνονται δεκτά θέματα που αφορούν απλή συνεισφορά περιεχομένου όπως στην πρώτη συνεισφορά

@p17meli θα πρέπει να δώσουν την αξιολόγησή τους οι σχετικοί συνεργάτες @p17gera, @p17siol

Σωστή παρατήρηση, προχώρησε στην αλλαγή

Η αλλαγη εγκρινεται

repo: ioniodi/sitegr

license: Unlicense


text:
Unsupported SSH keys with vms

Description

When creating resources with the ionos provider, the provisioning fails when there is a ssh key set. Code Example
resource "ionoscloud_server" "example" {
  name          = var.vm_count
  datacenter_id = data.ionoscloud_datacenter.example.id
  cores         = var.vm_cores
  count         = var.vm_count
  ram           = var.vm_ram
  cpu_family    = var.cpu_family
  ssh_keys      = ["ssh-rsa ..."]
  #or
  # ssh_keys = ["~/.ssh/id_rsa.pub"]
  image_name    = var.vm_image
  volume {
    name      = "system"
    size      = var.boot_volume_size
    disk_type = var.boot_volume_type
    bus       = "VIRTIO"
  }
}

Id does not complain on terraform plan but as soon as you hit terraform apply it errors with
│ Error: error occured while creating label for server with ID: b39db529-6ee3-4547-8c6f-8ca6ddf13f80, datacenter ID: 17970bbc-b8be-46af-8425-af9658653509, error: (422 Unprocessable Entity {
│   "httpStatus" : 422,
│   "messages" : [ {
│     "errorCode" : "100",
│     "message" : "[(root).properties.key] Invalid, please provide only lower case alphabets (a-z) or numeric (0-9) characters"
│   } ]
│ }
│ )

Note: Using a public ubuntu image
Why is it erroing with simple rsa (2048 bit) keys? No key meets these criteria's. Why is this not validated before running apply
Expected behavior

Create the vm with the ssh key or return a error while planing.
Environment
Terraform version:
Terraform v1.5.1
on windows_amd64
+ provider registry.terraform.io/hashicorp/random v3.5.1
+ provider registry.terraform.io/ionos-cloud/ionoscloud v6.4.1

Configuration Files

How to Reproduce
Steps to reproduce the behavior:

Create a provider
Create a vm with ssh keys
terraform  plan -out plan.out && terraform apply plan.out

Error and Debug Output
│ Error: error occured while creating label for server with ID: b39db529-6ee3-4547-8c6f-8ca6ddf13f80, datacenter ID: 17970bbc-b8be-46af-8425-af9658653509, error: (422 Unprocessable Entity {
│   "httpStatus" : 422,
│   "messages" : [ {
│     "errorCode" : "100",
│     "message" : "[(root).properties.key] Invalid, please provide only lower case alphabets (a-z) or numeric (0-9) characters"
│   } ]
│ }
│ )

Additional Notes

References

Thanks for creating this!
The error seems to be from defining a label on the server. For labels we support only lowercase, or numeric characters.
An example that wouldn't work because of the uppercase L:
  label {     key = "Labelkey0"     value = "labelvalue0"   }
We will add validation on terraform side to make sure this gets caught before reaching backend.

Thanks for the fast reply. And sorry for the inaccurate Issue. I fixed the issue description.
It is in fact a issue with the label name. But I also found that there is also an error with the ssh_keys param.
ssh_keys = ["scripts/id_rsa.pub"] # Works
ssh_keys = ["~/.ssh/id_rsa.pub"] # Does not work

So there is an error with common UNIX path styles

The ~ is something that will get expanded to the user's home dir in bash. If you're using a different shell you can get different behavior.
We can mention that we don't support these types of paths. Either a relative or an absolute path should work.

The ~ is something that will get expanded to the user's home dir in bash. If you're using a different shell you can get different behavior.

Didn't know different shells handle this differently. Therfore I can understand your decison to not support it (even though it would have been nice to have). But if this is mentioned in the docs this would be perfect!
Thanks for this super fast PR, would you also be so nice to add client side validation for unsupported paths like these? Currently this is also only catched when applying the infra.

authors: cristiGuranIonos hegerdes