Extension complains about dataset not from kedro-datasets

Spotted this with https://github.com/Galileo-Galilei/kedro-mlflow kedro_mlflow.io.models.MlflowModelTrackingDataset

Not sure if this should be fixed on the extension or on the schema.

Good question! The schema was originally a local setting where you can point to a file (and thus you can edit the file to include new datasets). This is now not possible.Ideally I would like it to version against kedro-datasets, but it's not possible to ship different version of schema with the extension.
I would love to access the API of https://github.com/redhat-developer/vscode-yaml so I can potentially support these in a flexible way, unfortunately it's not well documented so I didn't pursue.
The current solution relies on RedHat's YAML extension. There are two other options:

Use the native schema validation vscode support - https://github.com/github/vscode-github-actions/blob/main/language/syntaxes/expressions.tmGrammar.json . Examples are Github Action extension, which seems to give much better editing experience when I try. This requires understanding how the grammar works and writing lots of regex. Maybe most of them can be copy and paste, but I am not sure at this point.
LSP - we can explore other options where the schema validation happens dynamically and the LSP will give a response directly. We may need a "validation" method on the datasets or some kind of pydantic like model validation and relies on their error message.

The problem also applies to YAML anchors/aliases:
_spark_parquet: &spark_parquet
  type: spark.SparkDataset
  save_args:
    mode: overwrite

Thanks @michal-mmm, I can reproduce.

Entries starting with underscore aren't treated as datasets in general (couldn't find it documented @noklam?)

i just got off from a call with a client using kedro and databricks, he gave some feedback regarding kedro extension in VSC :smile:
he mentioned they have a custom dataset and it does not get picked by VSC extension and it throws error saying the dataset class does not exist

I anticipated this will become a problem, mainly because of two issues:

The JSON is a fixed schema, it's not up to date and does not understand user custom dataset (or plugin datasets)

In theory user can update the schema themselves, but it's not trivial and the UX is awful.

I thought we can at least disable this via the experimental flag, but I was wrong. Because the extension is limited by the Redhat YAML extension, right now it work by registering a special JSON file. If an user want to change the schema, they need to get a local copy of the schema, and add the new dataset they want.
This is obviously not ideal, so there are better approach discussed in this comment:

https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#tokenization Using TextMateGrammar which is supported by VSCode natively.
LSP (need to execute code)

Using 1. can give us more flexibility, but it's mostly validate tokens so I don't think it can solves all the problems. For example, type: pandas.CSVDataset and type: dummy.Dataset both looks valid from a syntax point of view.
This suggest that if we want to solve most of the problem, we may need to rely on some runtime checking.  Consider a dataset as follow:
my_dataset:
  type: my_dataset.MyDataset
  args

It make more sense to have Dataset act almost like a Pydantic validator to check if the arguments valid. This is also easier to maintain because we don't have to hardcode any rule, it should just use the class argument directly (we may need to additional work to throw some nice error message etc). This will also support different dataset version & custom dataset, because the validation will use the user environment. (This assume the dependencies has to be installed, ofcourse).
Going for 2. seems most reasonable for me, it will takes some more effort and design before, but I think it's time to do a spike.

Related discussion: https://github.com/kedro-org/kedro/discussions/4196
Related ticket: https://github.com/kedro-org/kedro/issues/4258

Even if we update our schema, that will never fix the red underline with custom datasets.
On the other hand, even if the YAML file contains a dataset that's defined in the schema, the pipeline might still not be able to run if said dataset is not installed.
We agreed to try to check for "dataset can be used" rather than just "catalog.yml syntax is correct".
For this, most likely we'll need the LSP.

#159 is already looking good!


Currency recommendation; usd or eur

Hi, took a visit to the site. It looks simple at a glance but man... that'll be a lot of data. :cries
A suggestion I'd like to put in: putting the currency in a more globally recognized currency would be better, preferably the USD or EUR. No offense to Lakh, it just gives the idea that the site is curated to be used in India and surroundings - except if that's the intended purpose, then it is okay.
Another alternative might be using language preferences and using symbols for supposed language.
ahhh... now this is not a simple project lol.

@Ns-SheF your issue is valid.
Adding a country field in "choose.html" so that currency get update as per region.
Lakhs can be changed to thousand to validate all region.
You can proceed with this.
But, wait for the PR #68 to get resolved.
Then, you can proceed.

Alright. #68 is still open for now. will take a look through an unpublished branch, that way, I think I'll be able to sync without issues when it gets resolved.

Ya sure @Ns-SheF

Now, you can proceed @Ns-SheF

You can proceed now with this issue @Ns-SheF
Fetch the latest commits and begin

are you working on it @Ns-SheF ?


When space is constrained, assignee name overlaps the task age indicators

As this screenshot illustrates:

In master, the task age is now hidden when the board is in compact mode. I don't have better solution right now. Maybe having avatar to save space will solve the issue.

Yep, that already helps a bit for this usecase, thanks!


twcc-cli login error

Describe the bug
A clear and concise description of what the bug is.
I follow this document which login twcc-cli but system report a error
To Reproduce
Steps to reproduce the behavior:

using terminal to enter twccli config init
enter TWCC Project Code
enter TWCC APIKEY
got a error

Expected behavior
A clear and concise description of what you expected to happen.
I Expected not a error
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: macOS Big Sur 11.6
Browser safari .... but I used twcc-cli

Additional context
Add any other context about the problem here.
I think error reason which is difference shell (I use zsh).

Thank you for raising this issue, while we need some process time, we will schedule this problem solved as soon as possible!

quick fix: you can skip this line.


Error: not working

contributors are free to fix the openai issue

the editor doesnt work properly in production


JAX cannot create cudnn handle (CUDNN_STATUS_INTERNAL_ERROR)

Description
I have managed to solve the following problem by simply installing cudnn. Please let me know if I have to change the label from bug to discussion or something similar :)
I will still post it since in the Installation tutorial it was not mentioned that cudnn had to be installed. Someone can easily assume that, like pytorch, we would not need cudnn. As a matter of fact, according to the instructions I feel like I should not have installed cudnn since it's installed from pip wheels.
Reproducing this is quite easy since I could not even get simple commands to run. The GPU, Quadro M1000M, is quite old (Maxwell arch). Running print(jax.lib.xla_bridge.get_backend().platform) works. I also went through the memory allocation route setting XLA_PYTHON_CLIENT_PREALLOCATE=false but still no hope :(
jax.numpy.ones((3,)) returns,
2023-05-20 20:06:28.373077: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:439] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2023-05-20 20:06:28.373132: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:443] Memory usage: 697237504 bytes free,<PHONE_NUMBER> bytes total.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/numpy/lax_numpy.py", line 2122, in ones
    return lax.full(shape, 1, _jnp_dtype(dtype))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/lax/lax.py", line 1203, in full
    return broadcast(fill_value, shape)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/lax/lax.py", line 768, in broadcast
    return broadcast_in_dim(operand, tuple(sizes) + np.shape(operand), dims)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/lax/lax.py", line 796, in broadcast_in_dim
    return broadcast_in_dim_p.bind(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 380, in bind
    return self.bind_with_trace(find_top_trace(args), args, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 383, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 790, in process_primitive
    return primitive.impl(*tracers, **params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/dispatch.py", line 131, in apply_primitive
    compiled_fun = xla_primitive_callable(
                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/util.py", line 284, in wrapper
    return cached(config._trace_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/util.py", line 277, in cached
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/dispatch.py", line 222, in xla_primitive_callable
    compiled = _xla_callable_uncached(
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/dispatch.py", line 252, in _xla_callable_uncached
    return computation.compile().unsafe_call
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/interpreters/pxla.py", line 2313, in compile
    executable = UnloadedMeshExecutable.from_hlo(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/interpreters/pxla.py", line 2633, in from_hlo
    xla_executable, compile_options = _cached_compilation(
                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/interpreters/pxla.py", line 2551, in _cached_compilation
    xla_executable = dispatch.compile_or_get_cached(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/dispatch.py", line 495, in compile_or_get_cached
    return backend_compile(backend, computation, compile_options,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/profiler.py", line 314, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/dispatch.py", line 463, in backend_compile
    return backend.compile(built_c, compile_options=options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jaxlib.xla_extension.XlaRuntimeError: FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.

jax.random.PRNGKey(0) returns,
2023-05-20 20:08:18.894443: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:439] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2023-05-20 20:08:18.894540: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:443] Memory usage: 707198976 bytes free,<PHONE_NUMBER> bytes total.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/random.py", line 137, in PRNGKey
    key = prng.seed_with_impl(impl, seed)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 320, in seed_with_impl
    return random_seed(seed, impl=impl)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 734, in random_seed
    return random_seed_p.bind(seeds_arr, impl=impl)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 746, in random_seed_impl
    base_arr = random_seed_impl_base(seeds, impl=impl)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 751, in random_seed_impl_base
    return seed(seeds)
           ^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 980, in threefry_seed
    return _threefry_seed(seed)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/pjit.py", line 208, in cache_miss
    outs, out_flat, out_tree, args_flat = _python_pjit_helper(
                                          ^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/pjit.py", line 155, in _python_pjit_helper
    out_flat = pjit_p.bind(*args_flat, **params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 2633, in bind
    return self.bind_with_trace(top_trace, args, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 383, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 790, in process_primitive
    return primitive.impl(*tracers, **params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/pjit.py", line 1088, in _pjit_call_impl
    always_lower=False, lowering_platform=None).compile()
                                                ^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/interpreters/pxla.py", line 2313, in compile
    executable = UnloadedMeshExecutable.from_hlo(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/interpreters/pxla.py", line 2633, in from_hlo
    xla_executable, compile_options = _cached_compilation(
                                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/interpreters/pxla.py", line 2551, in _cached_compilation
    xla_executable = dispatch.compile_or_get_cached(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/dispatch.py", line 495, in compile_or_get_cached
    return backend_compile(backend, computation, compile_options,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/profiler.py", line 314, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/dispatch.py", line 463, in backend_compile
    return backend.compile(built_c, compile_options=options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jax._src.traceback_util.UnfilteredStackTrace: jaxlib.xla_extension.XlaRuntimeError: FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/random.py", line 137, in PRNGKey
    key = prng.seed_with_impl(impl, seed)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 320, in seed_with_impl
    return random_seed(seed, impl=impl)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 734, in random_seed
    return random_seed_p.bind(seeds_arr, impl=impl)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 380, in bind
    return self.bind_with_trace(find_top_trace(args), args, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 383, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/core.py", line 790, in process_primitive
    return primitive.impl(*tracers, **params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 746, in random_seed_impl
    base_arr = random_seed_impl_base(seeds, impl=impl)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 751, in random_seed_impl_base
    return seed(seeds)
           ^^^^^^^^^^^
  File "/home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages/jax/_src/prng.py", line 980, in threefry_seed
    return _threefry_seed(seed)
           ^^^^^^^^^^^^^^^^^^^^
jaxlib.xla_extension.XlaRuntimeError: FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.

What jax/jaxlib version are you using?
jax: 0.4.10, jaxlib: 0.4.10+cuda11.cudnn86
Which accelerator(s) are you using?
GPU
Additional system info
Python 3.11.3, Debian 11, 5.10.0-23-amd64
NVIDIA GPU info
Sat May 20 19:59:01 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.182.03   Driver Version: 470.182.03   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro M1000M       On   | 00000000:01:00.0  On |                  N/A |
| N/A   47C    P0    N/A /  N/A |    334MiB /  4035MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2746      G   /usr/lib/xorg/Xorg                 82MiB |
|    0   N/A  N/A      2946      G   /usr/bin/gnome-shell               53MiB |
|    0   N/A  N/A      4368      G   ...b/firefox-esr/firefox-esr      154MiB |
|    0   N/A  N/A     23863      G   ...RendererForSitePerProcess       37MiB |
+-----------------------------------------------------------------------------+

Hi - from your link I'm assuming you were referring to the installation instructions that recommend this:
pip install --upgrade "jax[cuda12_pip]"

If so, then the CUDNN dependency is explicitly declared as part of this installation: https://github.com/google/jax/blob/2f215e5eabddd0260756d748d1f7e67f877ce921/setup.py#L109-L119
If you ran this line and did not get a viable cudnn installation on your system, it would be good for us to understand why. Do you have the log of your original pip install command?

Unfortunately I don't, since my terminal does not save the output but I'm positive on having run the following command since the input is saved,
pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
After that I could import the library but got the errors mentioned above. I will try to remove  cudnn to give you more information. Apart from the output of pip install would there be anything else that would let us probe the innards of the installation?

Removing the locally installed cudnn gave rise to the actual issue here but broke the harmony between torch and jax on my system.
I'm on a conda environment and had jax installed before torch, the issue I install the versions that use preshipped nvidia libraries. In this order, at this time, using cuda11.2 and without any thoughtful reasoning jax will first install its own cudnn and torch would overwrite it. Typical python versioning. The most torturous part is that running pip show nvidia-cudnn-cu11 returns,
Name: nvidia-cudnn-cu11
Version: <IP_ADDRESS>
Summary: cuDNN runtime libraries
Home-page: https://developer.nvidia.com/cuda-zone
Author: Nvidia CUDA Installer Team
Author-email<EMAIL_ADDRESS>License: NVIDIA Proprietary Software
Location: /home/lemon/miniconda3/envs/nn/lib/python3.11/site-packages
Requires: nvidia-cublas-cu11
Required-by:

Yes, pip is environment-wide installed /home/lemon/miniconda3/envs/nn/bin/pip

So I would assume that nvidia-cudnn-cu11>=8.6 which apparently is not the case since torch.backends.cudnn.version() returns 8500 now that I have uninstalled the local cudnn.
I then proceeded to force re-install
pip install --force-reinstall "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

But still torch.backends.cudnn.version() returns 8500
So I tried the two combinations listed below, first install jax then torch and then in reverse order, none of them worked. I am attaching the exact commands I run and their respective errors,
conda env create -n dev
conda activate dev
conda install pip
pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
pip install torch torchvision
python

import torch
import jax
print(jax.lib.xla_bridge.get_backend().platform)
gpu
torch.backends.cudnn.version()
8500
a = jax.numpy.arange((6), dtype=jax.numpy.float32)
2023-05-24 00:09:07.395059: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:427] Loaded runtime CuDNN library: 8.5.0 but source was compiled with: 8.6.0.  CuDNN library needs to have matching major version and equal or higher minor version. If using a binary install, upgrade your CuDNN library.  If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.
[...]

Trying to pip install --force-reinstall "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html will lead to the same configuration described below i.e. Torch->JAX

conda env create -n dev0
conda activate dev0
conda install pip
pip install torch torchvision
pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
python

import torch
Traceback (most recent call last):
File "", line 1, in
File "/home/lemon/miniconda3/envs/dev/lib/python3.11/site-packages/torch/init.py", line 229, in
from torch._C import *  # noqa: F403
^^^^^^^^^^^^^^^^^^^^^^
ImportError: libcupti.so.11.7: cannot open shared object file: No such file or directory
import jax
print(jax.lib.xla_bridge.get_backend().platform)
gpu
a = jax.numpy.arange((6), dtype=jax.numpy.float32)

JAX works Torch doesn't, which makes sense according to the infuriating nvidia-cudnn-cu11==<IP_ADDRESS> dependency of torch.
The issue persist and I almost feel embarrassed for having used colab for so long and cannot make this simple thing work locally. My last resort is to upgrade cuda but even that could be avoided since PyTorch only needs nvidia drivers.

Same here. I have tried both the "local" and "pip" install. I'm unable to use Jax. And I can't upgrade to CUDA 12 because most of my work is in PyTorch, which is not yet compatible with 12.

Tried everything: DEB or TAR install of cudnn, local install of CUDA from DEB or TAR, network install of CUDA - nothing works. From which I conclude that Jax probably doesn't work at all with CUDA 11.8 on Ubuntu 22.04, or if it does, then it maybe needs some LD_LIBRARY_PATH or something like that.

And finally, tried to build from source - still the same error. Pretty sure it's not CUDA or cuDNN - PyTorch works fine on the same machine.

FYI: in my case this ended up being caused by the use of TF Data. Once I disallowed the use of GPU to TF, I was able to run my program. OP probably has the same issue. This error message needs to be more specific as to the cause of the failure. Currently it's not even clear from the error message that insufficient VRAM or something else is the problem. Also, in my case, immediately after CUDNN failure there's another message that suggests that GPU driver might be too old (which it isn't).

And finally, tried to build from source - still the same error. Pretty sure it's not CUDA or cuDNN - PyTorch works fine on the same machine.

This is so sad, I tried many googled solutions as well and still cannot get Jax working on my machine, and this is my first time using Jax, and am pretty sure won't be a Jax user (stick with pytorch), it's just because some Google paper used Jax and I wanted to play with that code, so I had to use Jax...

@ecolss - note that I did get it to work by disabling GPUs for TensorFlow, which you might also be using transitively without realizing it, through tf.data. Once this was resolved, I did not encounter any further issues.

@1e100 glad you worked it out, but still strange to me why we need to disable some modules in order to use Jax, which already sounds like an inconvenient hack to users

@ecolss - I'd also prefer a native (or at least TF-free) data loading solution, but in its absence tf.data (which is what's causing the issue here) is unavoidable, unfortunately. You could also use PyTorch's DataLoader class which doesn't have this issue, or install tensorflow-cpu which would not try to grab your GPU when it starts.
I think some of these issues come from not understanding where Jax sits in terms of abstraction hierarchy. Jax itself is basically a set of primitives to build higher level libraries. Some have already been built (Orbax, Optax, Flax, etc), and some are yet to be built. I'd love to have a Jax-native data loader that doesn't depend on anything else. Until that happens though, these are the workarounds.

I think the original issue has been resolved. Thanks!


Separate tilings and grid shapes

For now[1] choice of tiling is implemented as a compile-time option, and there is no distinction between Grids and Tilings. This is not a priority to fix. @qlkzy suggested treating everything as a Graph (at least externally), which does have its appeal.
[1] https://github.com/sirpent-team/sirpent-rust/commit/bd1f76ebc81d490b521df3b116f4cfd3c2d7b2cd

For now I think we're fine as things are. We can revisit this later if problems come up.


test

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

add code

no issue

tested


Pass arch to xbulk and sign all libs/freedoms

Also don't mix tabs and spaces

This should allow for xbps-mini-builder -a aarch64-musl

Please split the whitespace changes to another commit.

Should be good now


Audible can`t play issue

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
1）AVS with Kindle/Music/IHeartradio is normal, but Audible is not.
2）My personal AVS account is a paid account, and I open audible skill.
What is the expected behavior?
Audible can be played normal.
What behavior are you observing?
The following error occurs while playing Audible:
2020-06-05 03:10:05.200 [ 1b] E MediaPlayer:handleBusMessageError:name=AudioMediaPlayer,source=decoder,error=This appears to be a text file,debug=gstdecodebin2.c(2852): type_found (): /GstPipeline:audio-pipeline/GstDecodeBin:decoder:
decodebin cannot decode plain text files
2020-06-05 03:10:05.202 [ 1b] E MediaPlayer:getCurrentStreamOffsetFailed:name=AudioMediaPlayer,reason=getElementGetStateFailure
Provide the steps to reproduce the issue, if applicable:
“Alexa, play Life of Pi on audible”
Tell us about your environment:
  AVS SDK 1.19
  gstreamer1-1.14.4

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[ *] Other - tell us more: aarch64 cortex A53 4core

Tell us about your OS (Type & version):

[ *] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

But I can play audible's URL using gst-play-1.0：
gst-play-1.0 "https://d1jobzhhm62zby.cloudfront.net/bk_adbl_031393/475522/sign
ed/g1/bk_adbl_031393_22,32_v4.m3u8?start_sec=1628&end_sec=2279&X-Amz-Algorithm=A
WS4-HMAC-SHA256&X-Amz-Credential=MD1BAJ27VEMQ8GGY7BZB/20200605/us-east-1/cloudfr
ont/aws4_request&X-Amz-Date=20200605T033845Z&X-Amz-Expires=60&X-Amz-SignedHeader
s=host&X-Amz-Signature=56ee66f6080cbada3adc776abd510baf4fb685ceee5aa1ebd97125001
d9e01b8"
Press 'k' to see a list of keyboard shortcuts.
Now playing https://d1jobzhhm62zby.cloudfront.net/bk_adbl_031393/475522/signed/g1/bk_adbl_031393_22,32_v4.m3u8?start_sec=1628&end_sec=2279&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=MD1BAJ27VEMQ8GGY7BZB/20200605/us-east-1/cloudfront/aws4_request&X-Amz-Date=20200605T033845Z&X-Amz-Expires=60&X-Amz-SignedHeaders=host&X-Amz-Signature=56ee66f6080cbada3adc776abd510baf4fb685ceee5aa1ebd97125001d9e01b8
Redistribute latency...
0:00:07.8 / 0:10:51.4

Hi @PerSpc, thanks for contacting us about this.  This is a known bug in the PlaylistParser of the SDK and will be fixed in a future version of the SDK.  Thanks!


Switch name casing library.

Hi, sorry for delayed response!
This package is now maintained at https://github.com/shimastripe/apig
Please reopen in the new repo if you are still interested in.
Thanks!


🐛 SSW.PeopleAPI - BulkPostCrmProjects is not working

Cc: @jimmidier @pierssinclairssw @adamcogan

To myself
Describe the Bug

In SSW.PeopleAPI, we have an Azure Function called BulkPostCrmProjects, which keeps failing. This function is used to sync CRM Projects to People API.
Tasks

[ ] Investigate
[ ] Fix

Acceptance Criteria

[ ] Meets Definition of Done

Screenshots

Figure: Logs for BulkPostCrmProjects
Thanks!

We don't actually use this project data. The project data for the query "What's Luke's projects?" is coming from TimePro. See TimeProToSSWBot-Timesheets.
But we still need to fix this because this project data will be used in #639.

Done - Fixed in https://dev.azure.com/ssw/SSW.SophieBot/_git/SSW.People.API/pullrequest/4746

Figure: Success


Document feature gate for KubeletPluginsWatcher

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
New feature gate introduced in kubernetes/kubernetes#64605 needs documentation.
Ideally, there should be page about how plugins are scanned and registered.
Proposed Solution:
Document it.
Release 1.11

/assign


squid:S1854 - Dead stores should be removed

This pull request is focused on resolving occurrences of Sonar rule squid:S1854 - Dead stores should be removed
You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S1854
Please let me know if you have any questions.
M-Ezzat

Looks good enough. Good on ya for polishing a turd.


Add VPP NAT TCP state detection fix patch

Coverage increased (+0.07%) to 77.706% when pulling 2609ee239268f054f6c78e0d7b1fb27b6b2010a8 on rastislavszabo:master into b0554c0d09356937bfebaf98d91ffb9048933fdd on contiv:master.


Create page about GDG Logo Generators

Info about Logo generators are added. I guess this needs to be added to table of contents as well, right? Sorry I am new here :)

There is already a link at https://gdg-wisdom.gitbooks.io/gdg-wisdom-2016/content/what_is_a_gdg/promoting.html

Would you like to move all from promoting to projects?

My initial goal was to promote the open source project by @abdonrd
Then I included the official logo generator too. I think it also makes sense for them to be in Promoting page.
This page is more for developers.
Can we have both pages at the same time?

Thank you @tasomaniac! :smile:

@tasomaniac Ok. Could you add a line at
https://github.com/gdg-wisdom/wisdom-2016/blob/master/projects/README.md
and
https://github.com/gdg-wisdom/wisdom-2016/blob/master/SUMMARY.md

@friedger I will add the necessary items there. But feel free not to merge this and suggest changes. Duplication is not good either.

the project folder is the best place I think. The description from promotion should be shortened and a link to the logo generator page should be added there.

Comments are addressed.

Thank you for the contribution


New Download-Button: Button-6

Fixes Issue
Closes #1255

Changes proposed
Created A new Button 6 Download Button
and also many people didn't added comma(,) in Data.js file, I have added and resolved that issue

Screenshots

Checklist

[x] You've linked this PR to the correct issue.
[x] You have checked that the code is working correctly.
[x] You ⭐ the repository!

Note to reviewers

Please add your name in the Data.js file

Please check #1346

Please add your name in the Data.js file
Yea I have added


Audio Streaming with low latency

is it possible to use Oboe (a C++ library) for audio streaming?

Yes, you can i just sent data recorded from Oboe to another mobile that played it via oboe Playback callback, For communication i used UDP in java


Provide fwlink in the warning about obsolete DotNetCliToolReference that points to good documentation about global tools

Context here: https://github.com/dotnet/cli/issues/9119#issuecomment-384825724
This is to update the target for https://aka.ms/dotnetclitools-in-box

[x] edit https://docs.microsoft.com/en-us/dotnet/core/migration/20-21
[x] update aka.ms target URL

Both tasks are now done. Closing this.


Fixing crashes when receiving illegal content #3

Fixing crashes when receiving content from inboxes that are not JSON-LD.
Adding a ignore event for these types of illegal input
Adding a network_error event in cases the network connection to the inbox fails

Thanks @phochste! And good catch :) I left some questions

Ok if these parsing errors can be silently skipped it is good


Image for lora

@PRITHIVSAKTHIUR Your work is fantastic !!!! I wonder if you can share the 55 high-res image you used for lora training ? thanks ~~

@phyllispeng123
Sure, we will share the datasets on our HF page or GitHub as soon as possible.
You will be notified once posted.
Bests
~prithiv


Please add a screenshot in the section "Set a ToolTip in the designer"

Would really help if there was a screenshot to show how to do this.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7c4a50d0-78db-d25d-735b-efc940ff167d
Version Independent ID: 3aee9297-c8ea-7c58-93a0-0458f0d0aebb
Content: How to: Set ToolTips for Controls on a Windows Form at Design Time - Windows Forms .NET Framework
Content Source: dotnet-desktop-guide/framework/winforms/controls/how-to-set-tooltips-for-controls-on-a-windows-form-at-design-time.md
Product: dotnet-framework
Technology: dotnet-winforms
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hello. Unless it's a much longer article, we don't typically add screenshots. There are too many to update when a new version comes out and something is tweaked.
That said, is there something about the text that is confusing, which we could change to make it better?

Closing do to lack of response.


replace API Management Delegation screenshot

this fixes doc bug #36091

Please assign to @mikebudzynski

Thanks @KaiWalter for the contribution! #sign-off

@mikebudzynski: I'm sorry - only the author of this article, @vladvino, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


We should not check hostname/ipaddress for "domain-issued certificate"

Here is how this certificate usage is defined by rfc6698 :

3 -- Certificate usage 3 is used to specify a certificate, or the
public key of such a certificate, that MUST match the end entity
certificate given by the server in TLS.  This certificate usage is
sometimes referred to as "domain-issued certificate" because it
allows for a domain name administrator to issue certificates for a
domain without involving a third-party CA.  The target certificate
MUST match the TLSA record.  The difference between certificate
usage 1 and certificate usage 3 is that certificate usage 1
requires that the certificate pass PKIX validation, but PKIX
validation is not tested for certificate usage 3.

Since commit 6e96cee, we check that server domaine name match certificate subject (CN or SAN).
(see : https://github.com/eclipse/leshan/commit/6e96cee3e69ae7c6922946b56c88e1c2a868ff30#diff-931a77d08ccaac2b0e41df0ff579c5a92d835591a38275ab0d262dafdf3d40a1R101-R115)
But reading the LWM2M spec v1.1, it seems this check must not be done if Server Certificate match exactly Certificate available in Server Public Key Resource.

Comparing the reference identifier against the presented identifier obtained from the certificate is required to ensure the TLS/DTLS client is communicating with the intended TLS/DTLS server. To cater for the case that the Server Public Key Resource directly contains the certificate of the TLS/DTLS server, TLS/DTLS client does not compare the reference identifier against the presented identifier if the certificate from the Server Public Key Resource matches the certificate provided by the TLS/DTLS server during the TLS/DTLS handshake. If that is not the case, the TLS/DTLS client MUST compare the reference identifier against the presented identifier as described below, and perform path validation.

And this is the case for default Domain-issued ceritficate usage.
(bug revealed by #1050)

It should be fixed by 83a3f2b


Idea for shell callback from tilling plugin

I've done a small bitbar plugin for showing the current tiling mode, focused display and some stuff from skhd. Right now the options for getting the current mode is polling or triggering an update from skhd.
It would be nice to be able add some shell commands to skdrc that triggers when the mode is changed and window/display focus changes, this would make it easy for people to make their own UI regardless if it is bitbar or Ubersicht...

I have a PR which address somehow this issue: https://github.com/koekeishiya/chunkwm/pull/519

Slightly related: https://github.com/koekeishiya/chunkwm/issues/354#issuecomment-370582731

Closing this in favour of the referenced issue.


CompatibleObjectEncoder cached ObjectOutputStream backed by release b…

…uffer bug
Motivation:
ObjectOutputStream uses a Channel Attribute to cache a ObjectOutputStream which is backed by a ByteBuf that may be released after an object is encoded and the underlying buffer is written to the channel. On subsequent encode operations the cached ObjectOutputStream will be invalid and lead to a reference count exception.
Modifications:

CompatibleObjectEncoder should not cache a ObjectOutputStream.

Result:
CompatibleObjectEncoder doesn't use a cached object backed by a released ByteBuf.

@trustin @normanmaurer - PTAL

@Scottmitch ship it.

4.1 (e47da7b) 4.0 (7cf5630)


Naming convention for different time subsets

Features for each data type can computed over different time subsets. For example, number of calls can be computed over the whole duration of study, weekends, weekdays, mornings, etc. We should come up with a universal naming convention for the subsets.
Example:

Time of day: morning (6-12), afternoon (12-18), evening (18-24), night (0-6), all
Type of day: weekend, weekday (working days), all

The naming conventions should be study specific, not universal.


[BUG] Unexpected end of JSON   - CD Message

Describe the bug
When sending CD message get  "Unexpected end of JSON input"
To Reproduce
Steps to reproduce the behavior:

Go to 'The Explorer
Configure for IoT Hub.
Select the Device
Click on "Cloud-to-device-message"'
See error

Expected behavior
Get an OK message.
FYI an OK Method message:
Successfully invoked method 'stop' on device 'Pico2Dev2' with response {"status":200,"payload":{"request_id":2,"mothod":"stop","parameter":"\"\""}}

but with CD Message got:
Failed to send message to device Pico2Dev2: Error: invalid json response body at https://pico2hub.azure-devices.net/devices%2FPico2Dev2%2Fmessages%2FdeviceBound?api-version=2020-06-30-preview reason: Unexpected end of JSON input

NB: Message is received OK on the device, Also no such error displayed when sendt form VS Code.
Screenshots

Desktop (please complete the following information):

OS: Windows
OS Version 11
App version - Azure.IoT.Explorer.Preview.0.15.4
Additional context
Add any other context about the problem here.

Created a c# Console app as per https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-csharp-csharp-c2d#get-the-iot-hub-connection-string. It works OK with no errors.  Have added some ack code to device upon reception of a CD Message and when  Console app is set to DeliveryAcknowledgement.Full  or PostiveOnly console app comes back with Success!

I am also having this issue

I have the exact same problem! It works in VSCode, but not in Azure IoT Explorer. Please fix it. It's a wonderful tool - except the bug.

Sorry for the delay of the release. The fix is now out: https://github.com/Azure/azure-iot-explorer/releases/tag/v0.15.5

Thanks,
Yes all OK now.
I was looking at building it myself an hour ago but this saves me.
Yes is does work ,
David Jones
Microsoft WinHEC/IoT/Embedded/App Development MVP
Sportronics
Australia
<EMAIL_ADDRESS>https://davidjones.sportronics.com.au
GitHub: djaus2https://github.com/djaus2
https://mvp.microsoft.com/en-us/PublicProfile/5000301?fullName=David  Jones
http://embedded101.com/Blogs/David-Jones
@IoTMaestrohttps://twitter.com/IOTMaestro
From: YingXue @.>
Sent: Tuesday, 24 January 2023 11:10 AM
To: Azure/azure-iot-explorer @.>
Cc: David Jones (MVP) @.>; Author @.>
Subject: Re: [Azure/azure-iot-explorer] [BUG] Unexpected end of JSON - CD Message (Issue #598)
Sorry for the delay of the release. The fix is now out: https://github.com/Azure/azure-iot-explorer/releases/tag/v0.15.5
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-iot-explorer/issues/598#issuecomment-1401183206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC7U2EOERP23UP2YBUAHGD3WT4MUXANCNFSM6AAAAAATUMZBEM.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Updated package was posted just now and it does work!
From: Egon C. Rasmussen @.>
Sent: Sunday, 22 January 2023 2:41 AM
To: Azure/azure-iot-explorer @.>
Cc: David Jones (MVP) @.>; Author @.>
Subject: Re: [Azure/azure-iot-explorer] [BUG] Unexpected end of JSON - CD Message (Issue #598)
I have the exact same problem! It works in VSCode, but not in Azure IoT Explorer. Please fix it. It's a wonderful tool - except the bug.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-iot-explorer/issues/598#issuecomment-1399275073, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC7U2EIO5GWYT3XQ6DWQSE3WTP7RDANCNFSM6AAAAAATUMZBEM.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


New footer, fix logo in "about us"

@serpilb PR is ready to be merged

Closing this for now as we are in the process of a refactor.


Revert "Use SMART resolver strategy when parsing timestamps and dates"

Reverts palantir/spark#504
This pr is not necessary. After more debugging it looks like it's not possible to replicate yyyy-MM-dd HH:mm:ss.S SDF format in java.time.

👍


When to use ApolloQuery components vs smart queries?

What is the best practice for deciding when to use an ApolloQuery component in the template vs declaring a smart query in the Vue component options? When should you use one instead of the other - or is this just a matter of personal taste?
They both achieve roughly the same thing and both are more or less "declarative" as far as I can tell. I've been leaning towards using ApolloQuery components for everything though the advantages seem limited and I wonder if there are cases where declaring smart queries is preferable?

@sgarner As far as I understand you cannot access $apollo instance / option / query anywhere in your script if you use the component variant, correct me if I'm wrong.

@andreiscripcaru22 probably you can access $apollo of the query component via $refs.


SA1114 (Parameter list must follow declaration): Should ignore #pragma directives

The following code is not reported by legacy SC, but fails the new version of SA1114:
using System;

public class SomeOtherClass
{
    private void SomeMethod()
    {
        this.SomeOtherMethod(
#pragma warning disable 618
                this.SomeObsoleteMethod());
#pragma warning restore 618
    }

    [Obsolete("Don't use me!")]
    private int SomeObsoleteMethod()
    {
        return 0;
    }

    private void SomeOtherMethod(int someParameter)
    {
    }
}

Lines that contain #pragma directives should generally be ignored by SC rules.
Warning 618 relates to the use of a member marked obsolete. The #pragma line can be moved to resolve the warning. However, it would be better not to have to move it. (Doing so might unintentionally suppress other errors.)

Ok, I will look at it.


Update readme with strictNullChecks

I was facing some issues to access property error as result of safeParse method, then I realize that strictNullChecks should be true on tsconfig.json as well. Can we add it on readme file?

strict includes strictNullChecks so what's likely happening in your case is that some base config is specifically setting strictNullChecks: false? Closing for now, but if you can demonstrate that this is a problem with a minimal repro CodeSandbox or something, feel free to reopen!

Relevant part of the docs: https://www.typescriptlang.org/tsconfig#strictNullChecks

Default:
true if strict,,false otherwise.


VS Code: Analysis server terminates with "Out of memory"

VS Code ver 1.63
Flutter (Channel stable, 2.8.1, on Linux Mint 20.3 5.4.0-96-generic, locale en_US.UTF-8)
flutter doctor - all is ok

@DanTup

@andim27 in one of your screenshots the items is there, and in the other it's not. What did you do differently between the screenshots?
It looks like perhaps the extension has not been activated for the second screenshot. Do you see any errors listed if you click Help -> Toggle Developer Tools in VS Code, then click on the Console tab at the top?

This has been happening quite often lately when building large projects.

yes, sometimes the PopUp Window from analysis server appears but restarting it doesn't helps

@andim27 do you know exactly what the popup says? Can you give a screenshot next time it occurs? Could you also check the console in the VS Code developer tools mentioned above to see if there is a more detailed error there when this happens? Thanks!

{"method":"$/progress","params":{"token":"ANALYZING","value":{"kind":"end"}},"jsonrpc":"2.0"}
[12:47:57 PM] [Analyzer] [Info] <== Content-Length: 220
Content-Type: application/vscode-jsonrpc; charset=utf-8
[12:48:12 PM] [Analyzer] [Error] ../../runtime/vm/zone.cc: 94: error: Out of memory.
version=2.15.1 (stable) (Tue Dec 14 13:32:21 2021 +0100) on "linux_x64"
pid=8191, thread=12640, isolate_group=(nil)((nil)), isolate=(nil)((nil))
isolate_instructions=0, vm_instructions=559bdc0c5600
[12:48:12 PM] [Analyzer] [Error] ../../runtime/vm/zone.cc: 94: error: Out of memory.
Aborting re-entrant request for stack trace.
[12:48:40 PM] [Analyzer] [Error] Aborted (core dumped)
[12:48:40 PM] [Analyzer] [Info] Spawning.../bin/cache/dart-sdk/bin/dart with args ["language-server","--client-id=VS-Code","--client-version=3.32.0"]
[12:48:40 PM] [Analyzer] [Info]     PID: 12894
[12:48:41 PM] [Analyzer] [Info] ==> Content-Length: 4917

@andim27 could you post the full output of running code --status when you have the project open that's causing this (ideally after you've been coding for some time, so if it's memory usage is growing that may be clear from the stats)? Thanks!

Now - not but in any cases dart-tooling, refactoring in the right click menu is needed to be more flexible.It's very slowly and its own life(((

@andim27 do you mean the crash is gone and the refactors are visible, but they take a long time to execute?
If so, does this happen always, or is it intermittent?

this cases appears on large projects


dyld: Library not loaded

Download and install using canonical command, as described in README.md: curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh | sh
On my box, the download is ponyup-x86-64-apple-darwin.tar.gz
Try it: ponyup --help. This results in

dyld: Library not loaded: /usr/local/opt/libressl/lib/libssl.47.dylib
  Referenced from: /Users/johnt/.local/share/ponyup/bin/ponyup
  Reason: image not found
Abort trap: 6

EDIT:
I built ponyc from source, then built pony-stable from source, and then attempted to build ponyup from source, but there is a hard dependency on the LibreSSL stuff. I thought I'd just install LibreSSL but that can't work (I use MacPorts) because a couple dozen-ish other things depend on OpenSSL and you can't install them both. (Yes, I know I can install LibreSSL outside of the MacPorts universe, but I really don't want a proliferation of unmanaged installs all over.)
I could fork the ponyup repo and change the code to use OpenSSL, but that doesn't seem like much fun. All I really want to do is play with actors.
So bottom line: I am giving up for now.

Do you have libressl installed?

@jdtangney if you are building from source, you can use openssl, which version of openssl gets installed by macports?

Wow, thanks for the detailed help! I'll give it another shot.
My MacPorts instal is OpenSSL 1.1.1d  10 Sep 2019, so I did as you suggested, and...
Sargent:ponyup johnt$ build/release/ponyup version
ponyup 0.5.1

Woohoo. Thanks :-)

@jdtangney You're welcome. It's what we are here for.
In case you aren't aware, the zulip is a great place to get help with such issues as well.
https://ponylang.zulipchat.com/#


Can't get children, where plain text is before child.

Mentioned here: https://github.com/gocolly/colly/issues/181#issuecomment-810750715
With

Related: baz

.foo > .bar (to get baz) does not work.
div's only child is: with Data: "\u00a0".
Is there any way to test Colly with raw HTML (as opposed to web requests)?

goquery issue


Updating find_rocm_config.py to account for more ROCm 5.2 related header file changes

This PR is really a continuation for PR #1603 (in the ROCm TF fork)
Newer ROCm 5.2 builds are running into build failures related to rocblas and roctracer header file location/content updates. This commit applies the same fix (updated location, newer locations searched first) to the rocblas and roctracer header files.

jenkins : retest Ubuntu-GPU-multi please


Origin Updates

Note I did not update the other test and demo files.

I can (and will) update all the test en demo files


fix protected access

In order to be more consistent about how the MemoryWriter is accessed
during testing, convenience methods have been added to the Registry
and the SidecarMeter classes which return the internal SidecarWriter.
These methods were annotated with a Union type, because that appears
to be the cleanest way to get PyCharm to acknowledge that the return
value can be one of the four SidecarWriter subclasses.
With this change, there are no longer any protected access warnings
for this project.

LGTM. Thank you for these changes.


Broken Link in Prerequisites

On https://ibm.github.io/spm-kubernetes/01-prereq/Docker-Kubernetes-Helm/, in the section about Kubernetes and Minikube the next page link is broken.
The url is takes you to is https://ibm.github.io/spm-kubernetes/01-prereq/Docker-Kubernetes-Helm/minikube

Hi @bresnahr, thanks for highlighting this, the correct link is https://ibm.github.io/spm-kubernetes/01-prereq/minikube. We will have it corrected in the live artefact soon.

Thanks @dobharweim - much appreciated


npm install can't get precompiled binaries

Similar to #47
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.2/node-v47-darwin-x64-Release.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v47 ABI) (falling back to source compile with node-gyp)

But in this case, I am running a supported node version. v5.10.1.
Is there a release tarball at that URL? Should I be authorised to fetch it?

Using this dockerfile I get a different failure, but a failure nontheless.
`FROM ubuntu:artful
USER root
RUN apt update -y
RUN apt install -y
curl
git
ENV NVM_DIR /root/.nvm
WORKDIR /tmp
RUN git clone https://github.com/mapbox/mapbox-tile-copy.git &&
cd mapbox-tile-copy &&
git checkout v6.6.0 &&
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash &&
. $NVM_DIR/nvm.sh &&
nvm install 5.10.1 &&
nvm use 5.10.1 &&
npm install -g @mapbox/mapbox-tile-copy
`
`
npm WARN deprecated<EMAIL_ADDRESS>Package abandoned, contact<EMAIL_ADDRESS>for more info.
npm WARN deprecated<EMAIL_ADDRESS>renamed to d3-queue
npm WARN deprecated<EMAIL_ADDRESS>protozero should no longer be used via npm, install instead via https://github.com/mapbox/mason
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated<EMAIL_ADDRESS>This module is now under the @mapbox namespace: install @mapbox/tiletype instead
npm WARN deprecated<EMAIL_ADDRESS>This module has moved: please install @mapbox/vector-tile instead
npm WARN deprecated<EMAIL_ADDRESS>This module has moved: please install @mapbox/point-geometry instead
/root/.nvm/versions/node/v5.10.1/bin/mapbox-tile-copy -><EMAIL_ADDRESS>
<EMAIL_ADDRESS>install /root/.nvm/versions/node/v5.10.1/lib/node_modules/@mapbox/mapbox-tile-copy/node_modules/gdal
node-pre-gyp install --fallback-to-build

sh: 1: node-pre-gyp: Permission denied
/root/.nvm/versions/node/v5.10.1/lib
-- (empty)
`

It's the global install that fails. Local install (like .travis.yml) works.

... but when I attempt to use it:
module.js:471
    throw err;
    ^

Error: Cannot find module '@mapbox/mapbox-file-sniff'
    at Function.Module._resolveFilename (module.js:469:15)

This config fixed the issue in the docker image
npm config set user 0
npm config set unsafe-perm true

In full:
FROM ubuntu:artful

USER root

RUN apt update -y
RUN apt install -y \
  curl \
  git

ENV NVM_DIR /root/.nvm

WORKDIR /tmp
RUN git clone https://github.com/mapbox/mapbox-tile-copy.git && \
   cd mapbox-tile-copy && \
   curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash && \
   . $NVM_DIR/nvm.sh && \
   nvm install 6

 RUN . $NVM_DIR/nvm.sh && \
   nvm use 6 && \
   npm config set user 0 && \
   npm config set unsafe-perm true && \
   npm install -g @mapbox/mapbox-tile-copy

npm config set unsafe-perm true is a 👍 workaround. Or, not running as root (which is an npm issue). Closing this is issue has nothing specific to do with mapbox-tile-copy and rather will present itself with any npm install of a module that has dependencies with need to call out to a program to install themselves, like C++ addons using node-pre-gyp.


#67: Automatically compute the mirror URL for downloading Solr

So, the VM with all available software for installation, has been provisioned for ~23 minutes (including the vagrant up downtime).
Which version of PHP you'd want to install? (5.6/7.0/7.1) [5.6]:
Which version of Node.js you'd want to install? (4/5/6/7) [6]:
Which version of Ruby you'd want to install? (2.1.10/2.2.6/2.3.3/2.4.0) [2.4.0]:
Which version of Solr you'd want to install? (5.5.5/6.6.2/no) [5.5.5]:
Do you want to install Microsoft SQL Server? (yes/no) [yes]:

real	22m37.758s
user	1m37.990s
sys	0m33.631s

The command that was used for testing: vagrant destroy && time vagrant up.

@lokeoke, @ban6ka I found an elegant way to shorten the time for Solr downloading by computing the closest webserver using the Apache.org service.


Create local development workflow for CSB & brokerpaks

To more quickly iterate on the CSB and especially brokerpaks, create a local development workflow that does not involve pushing changes to CI or Cloud Foundry.
Prior art: https://github.com/GSA-TTS/datagov-brokerpak-smtp/blob/main/Makefile

Resolved by linked commit.


creddump: init at 0.3

Motivation for this change
creddump is a collection of python scripts for retrieving hashes from windows hive files.
Things done
I am wrapping the scripts with python27Packages.buildPythonApplication. Build and run successful locally on Ubuntu18.04. Installed via:
nix-env -f $NIXPKGS -iA creddump

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Please use the PR format as is.

Things done

I am wrapping the scripts with python27Packages.buildPythonApplication. Build and run successful locally on Ubuntu18.04. Installed via:

nix-env -f $NIXPKGS -iA creddump

@fishi0x01 Please update your first comment to the PR template: https://github.com/NixOS/nixpkgs/blob/master/.github/PULL_REQUEST_TEMPLATE.md

@doronbehar Thank you for the detailed review! I learned a lot from this :bowing_man:


Decorative Flags

About the PR
I added flags to the game. It's a nice addition to the decor, and also allows servers to add their own faction and country lore flags, thanks to the existing blank flag base (hello from Baystation), such as Transsolar Federation, Space Wizard Federation, Moges State, Arachnid Empire... I think you get the idea.
Why / Balance
I wrote above, and it's also not cool that there are banners in the game, but there are no flags.
Technical details
They can be breaked just like posters. But unfortunately, they are available so far only in sandbox mode for mapping. Maybe in the future I will add them to the station maps (I hope it won't break anything).
How to create your flag based on a blank flag sprite: Take the blank flag sprite, create a new layer under it, and set the blending mode to "multiple" on the blank flag layer. Before that, I recommend to select and cut on a new layer the sprites of "nails", which are located on the upper edges of the flag, and look like a "plus". (It work on paint.net, but you can check it yourself in Photoshop)
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

add: Added decorative wall flags, including the NT and Syndicate flags.

real

you forgot to mention you also added the french flag

Ok, I think I fixed all the typos in the files, and renamed all the handy things to handheld. About grayscale mechanics for the flags, I don't really understand it. When I creating colored flags, I focused on the color variety of bedspreads, because I thought that five flags would be too few.
If you mean to remove the colored flags, then I will.

you can just have one grayscaled sprite for the flags, and then color them dynamically in YAML by changing the color: field in spritecomponent

you can just have one grayscaled sprite for the flags, and then color them dynamically in YAML by changing the color: field in spritecomponent

Oh, i got it. Well, in fact, this role is performed by the blank flag.

Okay, now all coloured flags are removed.

I replaced the picture, due to the removal of colored flags.


Take advantage of the Dispatch API

Since kh2Bar was originally developed for Sphere 1.5, it currently requires manually calling .update() and .draw() on the HPGauge object.  Now that Sphere v2 has the Dispatch API, it is now possible to have the engine keep it updated and rendered.

Implemented in master.


Sent ADAL to NAMI wallet

I sent ADAL ie:ADALend to my NAMI wallet before realizing that ADAL is not supported.  Can this be found and returned to my Yoroi or will this token be added?
2nd. ADALend is refusing to send back my 10k ADA. I have contacted Cardano Fraud dept. They email once a week letting me know it's still an active investigation. Would be great to get some help.

adalend.finance

adalend.finance

Was able to find my ADAL on Nami. ADALEND.FINANCE is still a problem.  They're holding 10k ADA of mine.


Timing, Area and Energy Backend Information

We need to standardize how we pass information that the backend provides about the primitives up to the Futil pass framework so that we can implement binding and scheduling passes.
I think that this should probably be implemented through the library interface files. We should also consider having explicit annotations for Timing, Area, and Energy (maybe others?)

We currently have a "fat library" style primitive definitions. The attributes implementation (from #155) can encode information like the latency and timing of a primitive. We can create specific issues for things as they come up.


Bump version to 1.10

Don't merge this!

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

Don't merge this!

Umm... 😕

@jakirkham Could you move the 1.10 binaries to broken label? They contain a cache directory of objects which increases the size of the package significantly. I am working on a fix right now.

Done.
In the future, we can tell the feedstock to upload those binaries under a different label like test.

How to do that?

Create a new branch (e.g. test)
Add the code below to conda-forge.yml
Re-render

channels:
  targets:
    - [conda-forge, test]

Example in PR ( https://github.com/conda-forge/hdf5-feedstock/pull/32 ).


Port to linter-plus

Note: You can drop that line where you import linter.coffee from the linter package.
Also note that the current package is named linter-plus, not linter. It's gonna be renamed to that soon though.

@steelbrain The package is actually called linter. Just the repo is linter-plus. Or am I missing something? See: AtomLinter/linter-plus package.json.

At the moment: Negative
Soon: Yep

-- Ignore my comment above --


Introduce Fuzzing with jsFuzz and fix issues found by fuzzing

Fixes

Make Decoder#decode only to raise DecodeError and DataViewIndexOutOfBoundsError

Codecov Report

Merging #176 (c72ff26) into main (8b1e562) will decrease coverage by 1.96%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #176      +/-   ##
==========================================
- Coverage   98.12%   96.16%   -1.97%
==========================================
  Files          15       16       +1
  Lines         961      964       +3
  Branches      207      207
==========================================
- Hits          943      927      -16
- Misses         18       37      +19

Impacted Files
Coverage Δ

src/DecodeError.ts
100.00% <100.00%> (ø)

src/Decoder.ts
99.16% <100.00%> (-0.02%)
:arrow_down:

src/index.ts
100.00% <100.00%> (ø)

src/timestamp.ts
100.00% <100.00%> (ø)

src/utils/utf8.ts
76.69% <0.00%> (-18.45%)
:arrow_down:

Continue to review full report at Codecov.

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


schedule.every expects int instead of float

floats seem to still work so it may just be a type hinting mistake.
def every(interval: int = 1) -> Job
should become
def every(interval: float = 1) -> Job

The interval is passed into datetime.timedelta, and apparently float arguments are supported. So i guess floats should indeed work just fine. However, i would be hesitant to change the typing without also adding some unit to verify it defiantly works and keeps working in the future. I'm happy to review and merge a pr like that.


Typed params in the Behavior Editor

Only create different blocks for "Sprite" and "Location".  For now the other options all create the same untyped parameter_get block.

PR updated: also mutate normal params based on their specified type.

@balderdash ok I think this is ready for review!


SW-5795 Use dynamic IDs in ApplicationServiceTest

Stop using a hardwired project ID in ApplicationServiceTest, and remove the
ability to insert projects with fixed IDs.

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

#2286  👈
#2285
#2284
#2283
#2282
#2281
#2280
#2279
#2278
#2277
#2276
main

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

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Aug 14, 12:21 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


feat: add gitlab-package-registry provider

Why?
WIth https://docs.gitlab.com/ee/ci/jobs/ci_job_token.html and https://docs.gitlab.com/ee/ci/services/ we can have ephemeral remote cache backed by GitLab itself - https://docs.gitlab.com/ee/user/packages/generic_packages/index.html

[ ] update docs

Any progress on this?

I'll try to finish it on the weekend.
It works as intended https://gitlab.com/ewnd9/node-grpc-micro-services-demo/-/jobs/2386663188 but I had to use a manually created token as CI_JOB_TOKEN is not supported by the registry API

This PR is getting too old. I am closing it. Feel free to reopen it if you have a chance!


[SMALLFIX] Java 8 Improvement

replace anonymous type with lambda in alluxio.master.block.DefaultBlockMaster

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/773/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/776/
Test FAILed.

@AmplabJenkins
Topic: [SMALLFIX] Java 8 Improvement: replace anonymous type with lambda in alluxio.master.block.DefaultBlockMaster#generateBlockInfo
Sorry for occupying your precious time, but I compiled the code three times, and the result shows BUILD SUCCESS.
Refer to this link for build results: log4j.log
Details of testing environment:
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T02:33:14+08:00)
Java version: 1.8.0_172, vendor: Oracle Corporation, runtime: xxx/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-36-generic", arch: "amd64", family: "unix"

@raoluSmile
Jenkins is a bot.
And you have changed the structure. see https://github.com/Alluxio/alluxio/pull/8022/files

@raoluSmile this pull-request has touched 2699 files, does not look correct for a small java 8 improvement


Fixes to driver/others/memory.c

This PR fixes some issues I noticed in driver/others/memory.c while debugging the MIPS threading issues. Both appear to have been programming mistakes.
The first commit moves the position < NUM_BUFFERS condition to the front of the && so it actually has an effect (it was being optimized away before).
The second commit ensures the case where position == NUM_BUFFERS is handled correctly in blas_memory_alloc. Having said that, this situation is pretty unlikely since NUM_BUFFERS is supposed to be greater than the number of CPUs (according to its definition in common.h anyway).

Looks good to me, thank you very much. I suspect the NUM_BUFFERS vs number of CPUs situation may be a bit more fragile than originally intended, in particular when build and deployment hardwares differ.


Consider doin non-.beta-* versions

Using .beta/alpha/rc-* in rust semver prevents from automatic upgrades; thus, if there is a patch version released the depenecies will not upgrade automatically. All 0.* versions in rust semver are considered beta and unstable, so beta suffix is useful only when you need to prevent downstream dependencies from automatic upgrades and in preparation of publishing final version on crates.io

we can close this, from 0.6.0 there is no beta in version


tranche dev doc

addresses #372
@droazen please review

Coverage decreased (-0.01%) to 70.35% when pulling 8498e7e0015d63d9df4d699eb3c9f59ec007b346 on ak_vqsr_tranche_doc into eff7d0f596502c4425366fad1985e6a1d5ad0542 on master.

fixes #372

I don't think this branch satisfies https://github.com/broadinstitute/hellbender/issues/372 at all. There are still methods with 4+ undocumented parameters, and you eliminated what seemed a useful abstraction (TruthSensitivityMetric) in favor of passing around a raw array of doubles.

Back to @akiezun

closing for now


[ch140184] Update documentation about fallback templates

Resources

Clubhouse story

Context

Fallback templates were implemented only at the query level here. Fallbacks are also implemented at the job level here, but without any template.
However, the example in the documentation is using the fallback template at the job level, storing the information about the error when the table name in the query is invalid, and this can only be performed at the query level (even if there were templates also for the job, because the error_message is not propagated).

Changes

Updating the documentation, by using the fallback templates at the query level.
Removing the message about new templates, since I guess that is not true at this point :eyes:.

IIRC you can define both fallbacks, at query level and job level:

Main (job) fallback: https://github.com/CartoDB/CartoDB-SQL-API/blob/master/lib/batch/models/query/main-fallback.js
Query fallback: https://github.com/CartoDB/CartoDB-SQL-API/blob/master/lib/batch/models/query/fallback.js

Not every job type supports main fallback, see: https://github.com/CartoDB/CartoDB-SQL-API/tree/master/lib/batch#fallback

@dgaubert You can define both fallbacks, but not templates for both, right? I mean, as you said, you can define fallbacks at query level and at job level (documentation). But AFAIK fallback templates are only implemented at query level, so I'm trying to update only the documentation for that subsection.

Perfect then, nice job.


[ONEM-23164] Avoid registration of interface with nullptr

There are possible cases when automatically generated code could try to insert into RecoverySet list interface with nullptr.
Later it could assert in Administrator::DeleteChannel
example (generated code OCDM CreateSession):
    // virtual OCDM_RESULT CreateSession(const string&, const int32_t, const std::string&, const uint8_t, const uint16_t, const uint8_t, const uint16_t, ISession::ICallback*, std::string&, ISession*&) = 0
    //
    [](Core::ProxyType<Core::IPCChannel>& channel, Core::ProxyType<RPC::InvokeMessage>& message) {
        RPC::Data::Input& input(message->Parameters());

        // read parameters
        RPC::Data::Frame::Reader reader(input.Reader());
        const string param0 = reader.Text();
        const int32_t param1 = reader.Number<int32_t>();
        const std::string param2 = reader.Text();
        const uint8_t* param3 = nullptr;
        uint16_t param3_length = reader.LockBuffer<uint16_t>(param3);
        reader.UnlockBuffer(param3_length);
        const uint8_t* param5 = nullptr;
        uint16_t param5_length = reader.LockBuffer<uint16_t>(param5);
        reader.UnlockBuffer(param5_length);
        RPC::instance_id param7 = reader.Number<RPC::instance_id>();
        std::string param8{}; // storage
        ISession* param9{}; // storage
        ISession::ICallback* param7_proxy = nullptr;
        ProxyStub::UnknownProxy* param7_proxy_inst = nullptr;
        if (param7 != 0) {
            param7_proxy_inst = RPC::Administrator::Instance().ProxyInstance(channel, param7, false, param7_proxy);
            ASSERT((param7_proxy_inst != nullptr) && (param7_proxy != nullptr) && "Failed to get instance of ISession::ICallback proxy");

            if ((param7_proxy_inst == nullptr) || (param7_proxy == nullptr)) {
                TRACE_L1("Failed to get instance of ISession::ICallback proxy");
            }
        }

        // write return values
        RPC::Data::Frame::Writer writer(message->Response().Writer());

        // call implementation
        IAccessorOCDM* implementation = reinterpret_cast<IAccessorOCDM*>(input.Implementation());
        ASSERT((implementation != nullptr) && "Null IAccessorOCDM implementation pointer");
        const OCDM_RESULT output = implementation->CreateSession(param0, param1, param2, param3, param3_length, param5, param5_length, param7_proxy, param8, param9);
        writer.Number<const OCDM_RESULT>(output);
        writer.Text(param8);
        writer.Number<RPC::instance_id>(RPC::instance_cast<ISession*&>(param9));
        RPC::Administrator::Instance().RegisterInterface(channel, param9);

        if (param7_proxy_inst != nullptr) {
            RPC::Administrator::Instance().Release(param7_proxy_inst, message->Response());
        }
    },

if implementation->CreateSession fails param9 is null and we unconditionally do: RPC::Administrator::Instance().RegisterInterface(channel, param9);

Hasn't this already been fixed with #712?

This is found on an older release of the system. I was not aware when it was resolved, but indeed the fix in the code generator avoids this. However, for code size, it might be interesting to "reconsider" this si we do not want to move this into the COM librray and have the generated code allow to push the nullptr as well, or do you need to validate it in the PS code anyway? If not, it is 1 line of code (in the COM library) versus a lot of lines in all the Proxy/Stubs.

Yes, that nullptr check is solely for the registration purpose. Indeed size-wise the change here will be more efficient. If we bring this in, I'll remove the condition in the stub code.

@mikolaj-staworzynski-red sorry, wanted to merge this first, but one creeped ahead, could you please update the brach? Then first think I will do is merge it. Sorry for the inconveninece..


[eas-cli] fetch entire relay compliant dataset

Why
A utility function to fetch a complete dataset from a Relay compliant endpoint in a batched way. See a concrete usage of it in getChannelsDatasetAsync.
Test Plan

[ ] new tests pass

@wschurman yes I did. We use an urql client instead of Apollo, but they also have support for relay pagination. The reason why I didn't convert to using the helper is because:

I'd have to convert our urql client from the default Document caching policy to their normalized Graphcache one. The default Document caching is a conservative policy that nukes all Foo query items cached if there is a Foo mutation. We have graphql mutations in our codebase which will require additional logic for to ensure our cached queries are still correct under the new graphcache scheme
IIUC, their relay helper's value proposition is that it merges data when you fetch another page. This is more compelling in a website setting where we want to track the dataset in one variable and rely on a context provider to trigger the rerenders and update components when the dataset changes.
In a cli setting, there are less moving parts (no react components, no expensive renders, etc). I think it'll be easier to write the helper/utility functions ourselves to merge the paginated data.


Broadlink TC2

Hi I can't get the hex code from the tc2 switch.
Do you have any solution?

What happens with you try learn it with the offical Broadlink app?

it's works perfect with the official Broadlink app.

Do you press Learn or Sweep Frequency in the broadlink app?
On 30 Apr 2017, 4:23 AM +1000, hillaliy<EMAIL_ADDRESS>wrote:

it's works perfect with the official Broadlink app.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/lprhodes/homebridge-broadlink-rm/issues/69#issuecomment-298185871), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAJ8rTNmAR9Hckcc8faRfL8wm-qbLZzWks5r04A1gaJpZM4NMQBE).

Maybe I do something wrong. can you tel me how to configure the TC2 with homebridge?

I have Scan RF and Learn IR on the homekit app.
I success to learn air conditioner ir and it's work.

In the broadlink app though- which button do you press. learn or sweap ?
On 30 Apr 2017, 4:38 AM +1000, hillaliy<EMAIL_ADDRESS>wrote:

I have Scan RF and Learn IR on the homekit app.
I success to learn air conditioner ir and it's work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/lprhodes/homebridge-broadlink-rm/issues/69#issuecomment-298186670), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAJ8rbvCJgx9_D7iGZF40ZRnHh2EOlRQks5r04OTgaJpZM4NMQBE).

I press add remote, the tc2 and on the tc2 switch i press for 5 sec and it start to blink and then the app get it

i have tc2 2 gang

Ok I can only guess but you should be able to use the Scan RF accessory and follow the instructions shown in the homebridge logs
On 30 Apr 2017, 4:58 AM +1000, hillaliy<EMAIL_ADDRESS>wrote:

i have tc2 2 gang
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/lprhodes/homebridge-broadlink-rm/issues/69#issuecomment-298187801), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAJ8rX9ltSdXBV6TwD5yvQ1PbHffs_Pzks5r04g_gaJpZM4NMQBE).

The TC2 is a Broadlink product, so it doesn't need to 'learn' it as such.

so how do i configure it to work with homebridge?

It looks like people have had success by doing the following:

Pair with broad link app
Use a universal garage remote to learn the code (one that support 433mhz I believe)
Use the normal learning mode to learn the code from the remote (hold the remote extremely close to the RM device)

Information from https://github.com/mjg59/python-broadlink/issues/21#issuecomment-264884804

Another way, but you still need 2 devices and RM Pro plus (this way work for TC2) for me:

First IOS device(to control e-control app). In your e-control application you need to have already educated TC2 remote / TC1 remote.
Second IOS device with homekit and homebridge with scan_frequency function (to control your homebridge) / Mac (OS Mojave beta have home kit application)
Algorithm:

You need to start "Scan_frequency" in your homebridge with second device
You need to push the preferred button at your first device several times
And you can add buttons step-by-step to your homebridge.
I think we can use this algorithm because RM Pro can scan frequency and send frequency in same time. We start scanning process and then we send some RF frequency in this one RM Pro plus device


Unrecognized font family 'FontAwesome5Pro-Regular'

[x] Review the documentation: https://github.com/oblador/react-native-vector-icons
[x] Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues

Environment
OS: macOS Mojave
OS version: 10.14.6
Target platform: iOS
React Native Vector Icons version: 6.6.0
React Native version: 0.60.5

Description
I have FontAwesome 5 Pro and I followed this installation guide to add FontAwesome 5 Pro icons to my project, but I cannot use any of the icons. (regular, light, etc). It throws the following error (if I use regular):
Unrecognized font family 'FontAwesome5Pro-Regular'

Reproducible Demo
Create a new React Native project -> add react-native-vector-icons to your package.json -> follow this installation guide -> run your project with the following code in it and see if it works:
import FontAwesome5Pro from 'react-native-vector-icons/FontAwesome5Pro';

<FontAwesome5Pro style={styles.icon} size={17} name="plus-circle"/>

Extra information
I see a folder called assets. In that folder there is a folder called fonts and it contains the following files:
FontAwesome5_Pro_Brands.ttf
FontAwesome5_Pro_Light.ttf
FontAwesome5_Pro_Regular.ttf
FontAwesome5_Pro_Solid.ttf

Thank you for helping me in advance.
EDIT:

Yes, the pro installation was executed correctly according to the output in the console.

Did you check this out?

@hampustagerud No I did not. Thank you for providing me with that information, but I don't really understand what it has to do with my issue. Isn't this meant for people with custom fonts and components?

Hmm no, I linked the troubleshooting section? 🤔 Anyway, at the bottom of the README is a Troubleshooting section. There is one title that says "Red screen with "Unrecognized font family" error on iOS", that is the information I tried to link and sometimes remedies the problems people that use the bundled fonts experience 🙂

@hampustagerud Thank you. I think I was redirected to the wrong section at first. It redirects correctly now! Thanks a lot, I will try to see if I can fix it. I'll let you know if I can/can't.
Thanks in advance!

To fix this issue myself, i had to manually add "FontAwesome5_Pro_Light.ttf" as an item in the info.plist "Fonts provided by application" section. Section should already exists with all regular fonts.

I've tried all the step in troubleshooting and a reference in my info.plist and still having an issue 'FontAwesome5Pro-Regular'

any update?

following this because I'm also having this issue.

any update?

I'm facing with this issue and discovered some things. I Listed availables font in my project including Font Awesome Pro. The problem are in this part of code:

Fonts who are listed for me is:
FREE:

PRO:

I used it to list:

package.json: {
react-native: 0.59.10,
react-native-vector-icons: 6.7.0
}

For me, this was a mis-match in package versions.  Make sure your on the latest version, in my case I went from 8.0 -> 9.1.0


[Question] startharvester

This is the reason why notready? Is displayed in harvester?

I would certainly go to the Harvester channel on the RancherLabs Slack community for this type of question.

close due to inactivity, also feel free to reopen it if u encounter a similar issue in the https://github.com/harvester/harvester/releases/tag/v0.3.0 release, thanks.


usvg --preserve-markers  feature request

Feature request for usvg
 --preserve-markers                   Do not convert markers into paths.

Currently, it's impossible to implement. It might become available in the future, but no timeline.

Out of curiosity, what features would you exactly expect from this? Simply that there is a way to distinguish between paths and markers, or would you also like to be able to access the properties of a marker, or something else?

@LaurenzV This kinda relates to #701
While we can trick usvg::Tree to have proper bboxes, it would not work when writing back to SVG. Meaning that ideally markers should not be flattened, sadly.
We still can add helper functions to simplify markers drawing.

Yeah, I was thinking we can simply introduce a new marker node, and similarly to text we can just have a flattened property that contains the flattened version of it. But I guess we will also have to keep track of the other attributes.


The sbtserver linter should work for multiple projects at a time

We use a configured port to connect to the sbtserver, which means with a simple configuration only one sbt shell can be running on a machine at a time. Currently one can get around this by changing that port configuration on a project by project basis via set exrc, but that's a little tedious. Typically sbt will write the port into the "portfile", but ALE doesn't want to read files since it's blocking. I believe that if not configured to do otherwise, sbtserver will generate the port by somehow hashing the path to the to the project. So as an alternative to reading the portfile, we could potentially port that algorithm over to ale and have it pick the correct port "magically", unless configured to use a constant.

This is where they set the port: https://github.com/sbt/sbt/blob/de5c0434df45df704b7b3ca7a3b38ed32153ff7c/main/src/main/scala/sbt/Defaults.scala#L317

A language server connection starts with an initialize command including the project root, which the server can handle for multiple workspaces. The server should handle that instead.

@w0rp The situation I'm thinking of is having two sbt shells open in two different directories, say /tmp/project1/build.sbt and /tmp/project2/build.sbt. And likewise we have an editor open in each directory. In this scenario we have two different LSP servers running, however, ale will attempt to connect to both of them via <IP_ADDRESS>:4273 or whatever port we have configured. This means that both editors will connect to whichever server claimed 4273 first.
Typical sbt usage is to have clients check where the server is listening by reading the URI defined in project/target/active.json. Maybe we could allow users to opt into have vim read that file? In this scenario, /tmp/project1/target/active.json would indicate the server is listening on <IP_ADDRESS>:5001 (or some other port), and /tmp/project2/target/active.json would indicate the server is listening on <IP_ADDRESS>:5002 (or some other port), and vim would be able to connect to both of them properly.
If we wanted to avoid doing file IO, then we could "guess" the port by hashing the project path name.

You can set the address with the b:ale_scala_sbtserver_address variable in your ftplugin file, so you can connect to different servers for different projects.

That's what I've been doing (if you don't remember, I'm the one that initially added the sbtserver linter 😀). I'm just trying to come up with a way to make it a better out-of-the-box experience


CMP-2176: Implement replaces in bundle CSV

The replaces attribute of an operator's CSV helps OLM build
relationships between operators, making it easier for users to install
older versions of an operator (or know which version supercedes the
version they're using).
This commit reintroduces the replaces attribute, since it was being
deleted before as a side-effect of an operator-sdk update. It should be
safe to include again.

/hold for test

I was not able to sqlite-based index image with two CO versions. But I was able to create a file-based index image with two CO versions. I think the final result still depends on how release team will handle.
1, mkdir catalog
2, opm generate dockerfile catalog
3, create catalog-basic-veneer.yaml
$ cat catalog-basic-veneer.yaml
---
schema: olm.package
name: compliance-operator
defaultChannel: stable
---
schema: olm.channel
package: compliance-operator
name: stable
entries:
- name: compliance-operator.v1.1.0
- name: compliance-operator.v1.2.0
  replaces: compliance-operator.v1.1.0
---
schema: olm.bundle
image: quay.io/xiyuan/compliance-operator-bundle:pr-475
---
schema: olm.bundle
image: registry-proxy.engineering.redhat.com/rh-osbs/openshift-compliance-operator-bundle@sha256:97c96ec2481b95e189074b32837945187b4e350ce5e11902c984ae722ff06c9a
4, Generate index.yaml
opm alpha render-template basic catalog-basic-veneer.yaml -o yaml > catalog/index.yaml

5, validate catalog
opm validate catalog

6, build image
sudo docker buildx build . --push --platform linux/amd64 -f catalog.Dockerfile -t quay.io/xx/compliance-operator-catalog:pr-475

7. Verify the index images:
$ opm alpha list bundles quay.io/xx/compliance-operator-catalog:pr-475 compliance-operator
PACKAGE              CHANNEL  BUNDLE                      REPLACES                    SKIPS  SKIP RANGE  IMAGE
compliance-operator  stable   compliance-operator.v1.1.0                                                 registry-proxy.engineering.redhat.com/rh-osbs/openshift-compliance-operator-bundle@sha256:97c96ec2481b95e189074b32837945187b4e350ce5e11902c984ae722ff06c9a
compliance-operator  stable   compliance-operator.v1.2.0  compliance-operator.v1.1.0                     quay.io/xx/compliance-operator-bundle:pr-475

/unhold

/label qe-approved

/test e2e-aws-parallel


Add #[deny_unknown_fields] to all schema structs.

This will reduce errors by having serialisation fail on unknown fields. I think this is probably the preferred behaviour.

This is not possible in conjunction with the "flatten" attribute. We currently use flatten for the metadata struct. See also: https://github.com/serde-rs/serde/issues/1358
Options:

Leave it as is and risk silently ignored unsupported fields.
Find or wait for a workaround by reading the serde issues (none of it looks pretty at first glance)
Remove the use of flatten. This would require either:
a. Copying the same meta fields into each struct
b. Having a nested schema like so:

{
  "type": "Input",
  "meta": {
    "name": "my-input",
    "comment": "The best input!"
  }
}

Any preferences @Batch21 @s-simoncelli @laurenpetch ?

I think having a check for unknown fields would be beneficial in case I misspell a field ☺I wouldn’t mind having the metadata in a dedicated section where you can also keep the other less important attributes such as the coordinates or additional fields for a UI. However, the name is important because it’s a unique identifier and to me it doesn’t feel right to add it in a nested dictionary. What if we kept the metadata as separate field and used an attribute macro to add the “name” field? I have little experience with macros so I am not sure if this is the best approach; and it might not very transparent.On 30 Jul 2024, at 20:29, James Tomlinson @.***> wrote:
This is not possible in conjunction with the "flatten" attribute. We currently use flatten for the metadata struct. See also: serde-rs/serde#1358
Options:
Leave it as is and risk silently ignoring unsupported fields.
Find or wait for a workaround by reading the serde issues (none of it looks pretty at first glance)
Remove the use of flatten. This would require either:
a. Copying the same meta fields into each struct
b. Having a nested schema like so:
{
"type": "Input",
"meta": {
"name": "my-input",
"comment": "The best input!"
}
}
Any preferences @Batch21 @s-simoncelli @laurenpetch ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

What if we kept the metadata as separate field and used an attribute macro to add the “name” field?

I think this is probably the best approach. We could also allow unknown fields in the meta data section so that other users/tools can use it for custom attributes?
{
  "type": "Input",
  "name": "my-input",
  "meta": {
    "comment": "The best input!"
    "position": {}
    "foo": "bar"
  }
}

I like thatOn 31 Jul 2024, at 11:23, James Tomlinson @.***> wrote:
What if we kept the metadata as separate field and used an attribute macro to add the “name” field?
I think this is probably the best approach. We could also allow unknown fields in the meta data section so that other users/tools can use it for custom attributes?
{
"type": "Input",
"name": "my-input",
"meta": {
"comment": "The best input!"
"position": {}
"foo": "bar"
}
}
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Confusion between Keycloak and Horreum tokens

These two cannot be used interchangeably; we should stress that in documentation. Maybe we could come with a better name for Horreum tokens.

[ ] TokenInterceptor could respond with a meaningful error if it gets JWT token.
[ ] TokenInterceptor could check HTTP Authorization header and use that token. However I am not sure if we can let the OIDC mechanism pass the call to our code if it sees invalid (non-JWT) token.

The documentation has been updated.


[cmake] Keep unit tests as optional

When packaging Up-cpp (e.g. Conan), unit tests are not needed, so the usual flow is skipping it.
This PR adds the option UP_CPP_BUILD_TESTING, and supports the native CMake option BUILD_TESTING (https://cmake.org/cmake/help/latest/command/enable_testing.html)
It will build tests by default, but will give the option to skip it.

Thank you @uilianries !


Fitting video within container

Plyr seems to have an issue where the video height often overflows the height of the container. Other users have reported this in issues like #611.
This seems to be because Plyr sets a height: auto on the <video> element at https://github.com/sampotts/plyr/blob/master/src/sass/base.scss#L24. So the video always fits the full width of the container causing the height to overflow when the aspect ratio of the container is higher than that of the video.
In my brief testing, it seems this could be resolved by changing the height to 100%. This way, the video responsively fits within the container it's given.
Is there some other purpose that setting height to auto has?
EDIT: It seems that https://github.com/sampotts/plyr/blob/master/src/js/plugins/preview-thumbnails.js#L628 also assumes black bars above and below. This is only the case for horizontal videos. Vertical videos have these bars on the left and right causing the scrubbing thumbnails to be stretched a lot.
EDIT 2: I've made a few changes (~5 pieces of code) to the library on my local setup and it supports a "responsive" mode correctly i.e. the video contains itself within in the bounds of the plyr container. It resizes when the container size changes and so do the thumbnail, scrubber and poster. I could possibly create a PR for it.

This should be fixed in v3.5.7 👍


[Suggestion] Add option to make perk/XP progress unique to host's save file (i.e. don't carry XP from other saves or lobbies)

I'd like there to be an option where everyone's progress is fresh/unique to a host's save file. In other words, everyone starts fresh on that save and any previous XP/perks they've gained from other saves/lobbies doesn't carry over.
The reason I think this would be a good idea to implement is that some of us play with different friend groups, some with a lot of XP and others with less so. It's not as fun when you join a friend's game who has a lot less XP than you and you're running around at 50% movement speed and multiple inventory slots, while they're having to grind up. I think it would be fun idea if we could all be forced to start at the same level, so to speak.
I believe this functionality pretty much already exists as the "Save Progress" option, except with that option your perks are reset when you don't meet the quota. What I'm proposing is you'd still keep your progress/perks after failing the quota, but it would only be tied to that unique save file and your progress from other lobbies doesn't count towards it.
I hope this makes sense. Let me know if you want me to clarify further.

Might be implemented for 1.1.1 or pushed back to 1.2 with the API changes.
I fully understand what you mean. Another option I want to add is also that all players in a lobby share the same XP even if they join later.

I also want to be able to start with the same XP as any other player who joined late

This would be nice.

I added new functions for 1.1.2 to make this possible.


1.12 Recipes are broken

Seems like most recipes are not working correctly.
Example essence to mundane essence needs 8 essences and a mundane stone even though the recipe only states 4.
Upgrading the mundane stone is not possible.
Version 1.12-2.0.2-59

#45


Cleanup while a presubmit job for main make file is in progress

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I amazed that works! I'm thrilled with the idea of this change, but if it solves our problems for today, that works for me.
/lgtm

Very nicely done @bnrjee !
/lgtm
/approve