error when running "from modules.functional.backend import _backend"

Hello! When running " from modules.functional.backend import _backend ", I encounter the following error :

It may result from the wrong version. Can you provide the versions about the pytorch, nvcc, etc to run this repostory?
I am using pytorch 1.11. And the "ncvv -V" shows :

while nvidia-smi shows :

I wonder how to correctly run the code to import the corresponding functions about pvcnn_backend. Sincerely looking forward to your help.

Could you please post the full error message here? Thanks!

Not the original poster but I had a similar error

Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1740, in _run_ninja_build
subprocess.run(
File "/opt/conda/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jovyan/work/PVD/train_generation.py", line 11, in
from model.pvcnn_generation import PVCNN2Base
File "/home/jovyan/work/PVD/model/pvcnn_generation.py", line 6, in
from modules import SharedMLP, PVConv, PointNetSAModule, PointNetAModule, PointNetFPModule, Attention, Swish
File "/home/jovyan/work/PVD/modules/init.py", line 1, in
from modules.ball_query import BallQuery
File "/home/jovyan/work/PVD/modules/ball_query.py", line 4, in
import modules.functional as F
File "/home/jovyan/work/PVD/modules/functional/init.py", line 1, in
from modules.functional.ball_query import ball_query
File "/home/jovyan/work/PVD/modules/functional/ball_query.py", line 3, in
from modules.functional.backend import _backend
File "/home/jovyan/work/PVD/modules/functional/backend.py", line 6, in
_backend = load(name='pvcnn_backend',
File "/opt/conda/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1144, in load
return jit_compile(
File "/opt/conda/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1357, in jit_compile
write_ninja_file_and_build_library(
File "/opt/conda/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1469, in write_ninja_file_and_build_library
run_ninja_build(
File "/opt/conda/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1756, in run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'pvcnn_backend': [1/14] c++ -MMD -MF bindings.o.d -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/bindings.cpp -o bindings.o
FAILED: bindings.o
c++ -MMD -MF bindings.o.d -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/bindings.cpp -o bindings.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[2/14] c++ -MMD -MF vox.o.d -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/voxelization/vox.cpp -o vox.o
FAILED: vox.o
c++ -MMD -MF vox.o.d -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/voxelization/vox.cpp -o vox.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[3/14] /usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --compiler-bindir=/usr/bin/gcc-8 -std=c++14 -c /home/jovyan/work/PVD/modules/functional/src/sampling/sampling.cu -o sampling.cuda.o
[4/14] /usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --compiler-bindir=/usr/bin/gcc-8 -std=c++14 -c /home/jovyan/work/PVD/modules/functional/src/interpolate/trilinear_devox.cu -o trilinear_devox.cuda.o
[5/14] /usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --compiler-bindir=/usr/bin/gcc-8 -std=c++14 -c /home/jovyan/work/PVD/modules/functional/src/grouping/grouping.cu -o grouping.cuda.o
[6/14] /usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --compiler-bindir=/usr/bin/gcc-8 -std=c++14 -c /home/jovyan/work/PVD/modules/functional/src/ball_query/ball_query.cu -o ball_query.cuda.o
[7/14] /usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --compiler-bindir=/usr/bin/gcc-8 -std=c++14 -c /home/jovyan/work/PVD/modules/functional/src/interpolate/neighbor_interpolate.cu -o neighbor_interpolate.cuda.o
[8/14] /usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --compiler-bindir=/usr/bin/gcc-8 -std=c++14 -c /home/jovyan/work/PVD/modules/functional/src/voxelization/vox.cu -o vox.cuda.o
[9/14] c++ -MMD -MF trilinear_devox.o.d -DTORCH_EXTENSION_NAME=_pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/interpolate/trilinear_devox.cpp -o trilinear_devox.o
[10/14] c++ -MMD -MF ball_query.o.d -DTORCH_EXTENSION_NAME=_pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/ball_query/ball_query.cpp -o ball_query.o
[11/14] c++ -MMD -MF sampling.o.d -DTORCH_EXTENSION_NAME=_pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/sampling/sampling.cpp -o sampling.o
[12/14] c++ -MMD -MF grouping.o.d -DTORCH_EXTENSION_NAME=_pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/grouping/grouping.cpp -o grouping.o
[13/14] c++ -MMD -MF neighbor_interpolate.o.d -DTORCH_EXTENSION_NAME=_pvcnn_backend -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1014" -isystem /opt/conda/lib/python3.9/site-packages/torch/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.9/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /opt/conda/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++17 -c /home/jovyan/work/PVD/modules/functional/src/interpolate/neighbor_interpolate.cpp -o neighbor_interpolate.o
ninja: build stopped: subcommand failed.

Interestingly if I run the code again after it fails the first time, it'll start working.
Here's some additional information:
Dockerfile:

FROM gitlab-registry.nrp-nautilus.io/prp/jupyter-stack/prp:54ef7146
LABEL maintainer="Steven Tsan<EMAIL_ADDRESS>USER root
RUN apt-get update &&
apt-get install -y vim
RUN pip install jetnet
pip install mplhep
RUN echo 'export CUDA_HOME=/usr/local/cuda' >> ~/.bashrc &&
echo 'export PATH=${CUDA_HOME}/bin:${PATH}' >> ~/.bashrc &&
echo 'export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH' >> ~/.bashrc &&
source ~/.bashrc
RUN pip install matplotlib
tqdm
open3d
trimesh
scipy
Ninja
RUN apt-get --yes install build-essential
RUN apt-get --yes install g++-8

nvcc --version

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Mon_Oct_11_21:27:02_PDT_2021
Cuda compilation tools, release 11.4, V11.4.152
Build cuda_11.4.r11.4/compiler.30521435_0

torch version 1.11.0
nvidia-smi

Previous error occurred on 2080-Ti. Saw the same on a 1080-Ti. For some reason it hasn't occurred for 3000 series and other GPU's like V100s.

The error is triggered by c++: fatal error: Killed signal terminated program cc1plus. Could you maybe check if it's due to the memory size?

Could you maybe add verbose=True to https://github.com/mit-han-lab/pvcnn/blob/db13331a46f672e74e7b5bde60e7bf30d445cd2d/modules/functional/backend.py#L6?

I tried to add the code verbose=True to the backend.py file, however, the error is still the same.

Could you maybe directly import this file and let me know if there is any warning message?

@zhijian-liu When I tried to import these files directly, the error was the same. "ImportError: No module named '_pvcnn_backend'".

Could you do python modules/functional/backend.py?

@zhijian-liu I have already solved this problem, thank you. When I reboot the computer, the code is okay now. Come again, thank you.


feat: add md type to table key

This addresses the issue of dupes in the SF md list command when more than one metadata component has the same API name across different md types.

merged, thanks!


Arangob overwrites existing collection and leaves benchmark collection behind

The optional --collection parameter can be used to specify the name of the collection for a benchmark. If a collection with that name exists in _system database already, it will be overridden without warning!
Furthermore, when the benchmark has finished, the collection used for the benchmark is kept in the _system database. It should be removed, shouldn't it?

It is intentionally left in there, because probably you want to use the data after the benchmark for further tests, or for inspections.


@[simps] is sometimes used to generate lemmas that we don't want @[simp] on

Tracking issue for cases where we use @[simps] to generate lemmas for projections, but then don't actually want the @[simp] attribute on the generated lemmas, and consequently add @[nolint simpNF].
We could modify @[simps] itself to provide an option to not add @[simp] to the generated lemma.
Alternatively, I recommend just deleting the @[simps] if the generated lemmas aren't currently being used at all.

Only seeing this now @kim-em.
simps already has a configuration option to not add the simp attribute to the generated lemma. This is @[simps (config := .lemmasOnly)] (and maybe @[simps -isSimp] if simps can already use the new configuration syntax).


fix: undefined subscriptions in the cookie

Codecov Report

Merging #165 (d8847d0) into main (3e3720e) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff          @@
##            main    #165   +/-   ##
=====================================
  Coverage   8.59%   8.59%
=====================================
  Files         74      74
  Lines       1036    1036
  Branches     360     360
=====================================
  Hits          89      89
  Misses       945     945
  Partials       2       2

Impacted Files
Coverage Δ

app/routes/dashboard/course.tsx
0.00% <0.00%> (ø)

app/services/auth.server.ts
0.00% <0.00%> (ø)

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 3e3720e...d8847d0. Read the comment docs.


Using module in multiple regions causes duplicate naming errors for iam resources when autoscaled

This mostly affects the autoscaler module but I was using it through this module.
I'm calling the module with two different region providers and get error similar to this:
Error: Error applying plan:

1 error(s) occurred:

* module.dynamodb_us-west-1.module.this.module.dynamodb_autoscaler.aws_iam_role.autoscaler: 1 error(s) occurred:

* aws_iam_role.autoscaler: Error creating IAM Role tablename-autoscaler: EntityAlreadyExists: Role with name tablename-autoscaler already exists.

I've gotten around this by locally by overriding the name parameter for the autoscaling section https://github.com/cloudposse/terraform-aws-dynamodb/blob/master/main.tf#L87

module "dynamodb_autoscaler" {
  source                       = "git::https://github.com/cloudposse/terraform-aws-dynamodb-autoscaler.git?ref=tags/0.2.4"
...
  name                         = "${var.name}-${data.aws_region.current.name}"

I'm doing this so I can create a aws_dynamodb_global_table resource that has the same table name in multiple regions. It appears this name parameter goes to the label module and is only used for the iam related resources in the autoscaler module.
My idea unfortunately breaks backwards compatibility since it would force destroy/create the iam resources so I haven't submitted a PR. Any other suggestions?
Could also have an iam name suffix or prefix parameter that the enduser could pass in themselves like I can put in a suffix of us-east-1 for the autoscaler name

thanks @rmkbow  for reporting this.
we'll look into it, but for now you probably could use attributes  = "${var.attributes}". The attributes are added to namespace-stage-nameso it becomesnamespace-stage-name-attribute1-attrubute2-.... terraform-aws-dynamodb-autoscaleruses the samelabel` module, which will take care of joinung the provided attributes.
One of the attribute could be a region name for example.

Attributes would also change the table name but the table name needs to be the same for each region for global tables 🤔

@rmkbow  thanks again, I understand what you said.
Before we get time to update the module, you can do the following:

Disable the autoscaller in the module by setting enable_autoscaler  to "false"
https://github.com/cloudposse/terraform-aws-dynamodb/blob/master/variables.tf#L105
Use an external terraform-aws-dynamodb-autoscaler or as many as you need in top-level module
https://github.com/cloudposse/terraform-aws-dynamodb/blob/master/main.tf#L82

Everything that the autoscaler needs are the outputs from the dynamodb module
dynamodb_table_name          = "${aws_dynamodb_table.default.id}"
dynamodb_table_arn           = "${aws_dynamodb_table.default.arn}"
dynamodb_indexes             = ["${null_resource.global_secondary_index_names.*.triggers.name}"]

https://github.com/cloudposse/terraform-aws-dynamodb/blob/master/outputs.tf

That's a good workaround :) I didn't think about using the autoscaler separately 👍

@rmkbow
will close this for now.
please reopen if needed


Detect musl and error for musl pbs builds

As described in #4242, we're currently incorrectly downloading glibc python-build-standalone on musl target, but we also can't fix this by using musl python-build-standalone on musl targets since the musl builds are effectively broken.
We reintroduce the libc detection previously removed in #2381, using it to detect which libc is the current one before we have a python interpreter. I changed the strategy a big to support an empty PATH which we use in the tests.
For simplicity, i've decided to just filter out the musl python-build-standalone archives from the list of available archive, given this is temporary. This means we show the same error message as if we don't have a build for the platform. We could also add a dedicated error message for musl.
Fixes #4242
Test Plan
Tested manually.
On my ubuntu host, python downloads continue to pass:
target/x86_64-unknown-linux-musl/debug/uv python install

On alpine, we fail:
$ docker run -it --rm -v .:/io alpine /io/target/x86_64-unknown-linux-musl/debug/uv python install
  Searching for Python installations
  error: No download found for request: cpython-any-linux-x86_64-musl

Can you add a note to https://docs.astral.sh/uv/concepts/python-versions/#managed-python-distributions

Added docs, merging...


msv3 and mdsv3 are not listed in write accelerator supported sku list

msv3 and mdsv3 are not listed in the write accelerator supported VM sku in supported VM sku list table in the document.
Upon checking internally, the msv3 and mdsv3 support write accelerator. Hence requesting for update in doc to include these sku as well in supported sku list.

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

ID: 7e05b681-ee07-2f70-ee7a-78fa6b1eb1e5
Version Independent ID: b4977afa-66fe-3c8d-db4d-2b842fc96138
Content: Azure Write Accelerator - Azure Virtual Machines
Content Source: articles/virtual-machines/how-to-enable-write-accelerator.md
Service: virtual-machines
Sub-service: disks
GitHub Login: @raiye
Microsoft Alias: raiye

@docast
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@raiye
Can you please check and add your comments on this doc update request as applicable.

Thanks for your contribution to our documentation
We are moving to a new user feedback system. As part of that effort, we are creating a content request in our backlog to address this gap and are closing this GitHub issue. The updated content will be published shortly.

Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Package request: Fly-Pie is an innovative marking menu written as a GNOME Shell extension.

Project description
Fly-Pie is an extension for GNOME Shell which lets you open marking menus via keyboard shortcuts. And — to the best of my knowledge — it is the first GNOME Shell extension with achievements! trophy
You can use it to launch applications, simulate hotkeys, open URLs and much more. It features a continuous learning curve which lets you gradually lift-off from a grumpie menu rookie to a snappie menu pielot.
Metadata

homepage URL: http://schneegans.github.io/tags/fly-pie/
source URL: https://github.com/Schneegans/Fly-Pie
license: mit
platforms: linux

It seems like this is already packaged. It was disabled a while back but has been re-enabled as of #274080.

closing as now available


Enable AAD tests and target westus2

Fixed with https://github.com/Azure/azure-sdk-for-net/pull/22294


Enforce typed input

I am developing a Google Assistant action using the Actions SDK, and I want to force the user to type their input, rather than speak it. Is there a way to do this? Or at the very least, am I able to check whether they spoke or typed the input?

It's not possible to enforce an input modality nor is this information available in the request.


Why the loaders?

In robots_loader.py there are many utility methods to load a RobotWrapper containing one of the robots of this repository.
Is it really needed? I do not like these special methods. There are many reasons why I say this:

First of all, they are based on RobotWrapper, and we should not encourage the use of RobotWrapper

For most robots, they amount to little more than a call to RobotWrapper.BuildFromURDF.

They make the code employing them less transparent

They introduce a dependency to Pinocchio

They are not general

They are not flexible.

file path is hardcoded
If one wants to use a slightly modified URDF, you cannot by using these methods, unless you modify the installed files.
If you are using one of those methods and you find you need to modify the URDF but you do not want to do change the installed files, the only option is to scrap them and rewrite the code so that they are not used. Better not to give this option entirely! You should know were your URDF files are and what's in them
What if a robot is removed from this repo? Then the Python code will be removed too. This will break the code using it, and this is really unnecessary.

They introduce yet-another-way of doing the same thing, i. e. loading a URDF model. Do we really need another way? This is not really desirable, as goes, for instance, the Zen of Python : There should be one-- and preferably only one --obvious way to do it. We already have

native Pinocchio methods
shortcuts buildModelsFromUrdf and createDatas(models)
the RobotWrapper interface

They make the robots contained in this repo sort of "special", because they have a special way to be loaded

They are confusing to newcomers, because they hide too much detail and then they will not know how to load a generic robot or a slightly modified one (I can call some newcomers to testify)

Summarizing, I think this loader functions are a bad idea and should be removed

No answers? @nmansard? @jcarpent?

@gabrielebndn I think the loaders have been thought to be easy to use. Avoiding looking for a particular description of a robot (path_name, etc.). I don't see really the point of not having them.

I don't know. Design-wise, I do not like them, for all the reasons listed above

I agree with 1. We should not use robot-wrapper in the loader, to make it easier to not use robot-wrapper in later applications.
For the rest, I believe the easiness of loading these robot counterbalance the disadvantage.

@gabrielebndn sorry for a late reply. I agree with @nmansard.
We could remove the robot wrapper dependency, and then add a dedicate visualization (for user inspection only) in GV (and / or meshcat).
I hadn't have time to work on it. Feel free to do it if you want.


Build is failing on thumbv6

Caused by https://github.com/phil-opp/linked-list-allocator/issues/48

Fixed by https://github.com/phil-opp/linked-list-allocator/pull/49

Fixed by https://github.com/phil-opp/linked-list-allocator/pull/49


[BUG] Serverless key retrieval functions passed in wrong order

Agent Environment
Introduced here: https://github.com/DataDog/datadog-agent/pull/12155
Serverless v27 (probably introduced earlier)
Describe what happened:
The extension was printing some weird log, pointing me in the direction of KMS. After exhausting that route, I started looking at the codebase of the extension/agent to see exactly what was happening.
I found this line here, which is a duplicate of the line above:
https://github.com/DataDog/datadog-agent/blob/43b360c5d1d415a2c0e2d534a167119706fbaf03/cmd/serverless/env.go#L42 Where it says KMS, it should say SecretsManger (I raised PR for this - https://github.com/DataDog/datadog-agent/pull/13067). This is why I was spending time looking at KMS.
But then I also noticed that the passing of functions is in the wrong order.
Describe what you expected:
This
https://github.com/DataDog/datadog-agent/blob/43b360c5d1d415a2c0e2d534a167119706fbaf03/cmd/serverless/env.go#L60
Should be this
for envKey, envVal := range getSecretEnvVars(envVars, readAPIKeyFromKMS, readAPIKeyFromSecretsManager) {
Steps to reproduce the issue:
None
Additional environment details (Operating System, Cloud provider, etc):
AWS/Lambda/Python

Thanks for the report! I can see how this bug in particular could have been a nightmare and I'm sorry for the debugging experience 😅
I've gone ahead and opened a PR that fixes this, as well as ran tests on your PR. I'll try to merge them in by the end of the day.

Thanks @IvanTopolcic
What do you think the turn around is likely to be on the merged change making it to a release in https://github.com/DataDog/datadog-lambda-extension ?

I think you can expect a release for this on Monday as we're under a code freeze currently.


Change network type to OVNKubernetes from OpenshiftSDN

OpenshiftSDN is deprecated and replace with OVNKubernetes and this
PR makes that change.

https://docs.openshift.com/container-platform/4.10/installing/installing_sno/install-sno-preparing-to-install-sno.html

I'd prefer to stay with OpenShiftSDN for the 4.10 bundles unless there are known crc bugs which would be solved by changing it. We are already quite late in the 4.10 series (4.10.20), and this could be an impactful change. Definitely something we want in 4.11 though!

/retest

I'd prefer to stay with OpenShiftSDN for the 4.10 bundles unless there are known crc bugs which would be solved by changing it.

Even in 4.10 it is deprecated so even till now we are using OpenShiftSDN, we should be trying out OVNkubernetes

I'd prefer to stay with OpenShiftSDN for the 4.10 bundles unless there are known crc bugs which would be solved by changing it.

Even in 4.10 it is deprecated so even till now we are using OpenShiftSDN, we should be trying out OVNkubernetes

Deprecated, but not gone/removed/out of support/... So it's good we are planning to move to a non-deprecated networking infra in 4.11. We can discuss making the change in 4.10, but in my opinion:

this is a big enough change to be discussed at the team level, not just in a PR
we need to make sure QE has enough bandwidth to carefully test this

Vaguely related enhancement request https://github.com/openshift/enhancements/pull/1193/files

this is a big enough change to be discussed at the team level, not just in a PR

we need to make sure QE has enough bandwidth to carefully test this

These both are discussed on Openshift level I don't know why our QE need to involve in this. Our goal is

Does bundle creation happen with OVNKubenetes mode?
Resource consumption shouldn't higher the OpenshiftSDN
Our e2e should run on created bundle

If all those checks are green then we should include it.

I think thia should be discussed with/informed to the team. This creates awareness if problems do crop up. Changes, even tested, can cause side effects. So, no. I do think QE should have bandwidth. I do think the team should be informed.

Actually, we are likely to only be releasing a few more 4.10 bundles before starting to make 4.11 releases, so I'd like to understand what makes it so urgent to change networking backend now in 4.10? What is broken and requires us to switch to OpenshiftSDN in 4.10?
I'm assuming OVNKubernetes has been marked as deprecated since the initial 4.10 release, but we just missed this?

I'm assuming OVNKubernetes has been marked as deprecated since the initial 4.10 release, but we just missed this?

OVNKkubernetes => OpenshiftSDN. And yes it marked deprecated at the initial of 4.10 and we just missed it :(

Also yesterday there's an email with subject: OVNKubernetes to be the default CNI in 4.12 in aos-devel that might be have more details, it mentions this CNI will become default only for 4.12+ ?

Closing this since we decided to not to go with it in 4.10 side but have it for 4.11 branch.


The Readme For participants should specify the agreement

if we mention it in the readme it will help resolving so many errors the first timers are getting while raising pull requests.

Please assign this issue to me

Hi! Good idea, added link now

can you add me as a contributor?

Hi, unfortunately no. We appreciate the suggestion though!


Update contributor's affiliations

The affiliated email of Christoph Clauss at Fraunhofer is no longer valid and needs to be updated in Electrical.Analog, Electrical.Digital and Electrical.Spice3.

The list of ontributors in Modelica.UsersGuide.Contact also needs to be updated.

The affiliated email of Christoph Clauß was changed in Modelica.Electrical.Analog
SHA-1: f0c83633b597955c96220ba0f3ded1c17ea9a283

The affiliated email of Christoph Clauß was changed in Modelica.Electrical.Digital and Modelica.Electrical.Spice3
SHA-1: af648f9e83b2dba953fd626a984f75601d16cab4


(BKR-1013) Add Windows 2012R2 Japanese Template

This commit adds the Japanese Windows 2012 R2 VMPooler template in preparation
of testing non-US English systems in Beaker.

Ran spec tests locally and passed.

Ran spec tests locally and passed.

Man, how did you figure out how to work with these test fixtures?  It looks like you did the right thing 😄
The workflow we have when adding a new platform is this:

Add the platform to data.rb
Run rake task to generate fixtures (like 500+ of them)
Git commit only the fixtures that have the new platform in them (and delete the other created/changed fixtures)

Nicely done

I'll let this sit for a bit to give Wayne, Josh, others a chance to look.
I can cut a release for this next week.

I mostly copied the Windows 2016 and OSX test fixtures.  Although I must say the the Windows test fixtures are a bit wonky.  We'll never provision a master on Windows and yet we test for that.

... Also ... There's a rake task to create the fixtures?!?!  Wish I knew that earlier!

As for language support, more is coming both for Windows and Linux.  It's more than just that, it's variation support e.g. different pre-built OS features/roles.

Although I must say the the Windows test fixtures are a bit wonky. We'll never provision a master on Windows and yet we test for that.

That's a result of the fixture generation, which combines everything in every way.

@glennsarti did you run this copy of beaker-hostgenerator with a TEST_TARGET= and kick off a Puppet test run against Japanese Windows?
As long as that has checked out, I'm 👍 to merging.

@Iristyle I hand't good catch.
Have now and added results to the BKR ticket.  All good.

Ticket looks good, I'm merging.


Cypress integration

This would be awesome. And this gonna make codeceptjs more recommended.
Any idea around when this will be available?


Handle OAuth Client Exists Error due to stale data

Purpose
A retry mechanism is needed due to the possibility of stale data in the IDN_OAUTH_CONSUMER_APPS table which would cause issues in the flow of sharing applications with sub organizations.
Stale apps exist due to the previous error where the OAuth app was not deleted while the SP was deleted as mentioned above and would cause issues to users who have previously unshared applications before the initial fix was onboarded.
A fix is done in the app sharing flow where, if there is an error related to the OAuth app already existing during the OAuth app creation, there will be a check to validate whether it is a stale app and if it is deemed to be a stale app, it will be deleted and the OAuth app creation will be retried.
Issue

https://github.com/wso2/product-is/issues/18941

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7540001446
Status: success

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7543770180
Status: success


Can't delete a rule

Hi @flatsiedatsie,
On Fenix and Fennec I can't delete any rules,  tapping the cross has no effect.
Cheers 🙂

That's odd. Could you perhaps have a look at the debug output in the javascript console? (If I left any in..)

Hi @flatsiedatsie,
This is what I get in the console when I click the X:
Uncaught TypeError: event.path is undefined     regenerate_items https://annaandwill.mozilla-iot.org/extensions/followers/js/extension.js:169 extension.js:169:6     regenerate_items https://annaandwill.mozilla-iot.org/extensions/followers/js/extension.js:169
Cheers 🙂

Thanks, that's very helpful.

Hi @flatsiedatsie,
Unfortunately that update didn't fix this problem. I also found I have the same problem on desktop. Here's the console log from when I click that button:
Uncaught TypeError: event.path is undefined     regenerate_items [redacted]/extensions/followers/js/extension.js:169 extension.js:169:6     regenerate_items [redacted]/extensions/followers/js/extension.js:169

Strange. In the latest version that points to:
	const final_delete_button = clone.querySelectorAll('.rule-delete-confirm-button')[0];
Which should work (and works here).
So I suspect you haven't updated the addon?

Hi @flatsiedatsie,
It was showing 0.1.3 so i assumed it had updated.  I disabled and reenabled and now I can remove rules.
Cheers 🙂

In that case you probably just had to refresh the page.


Binary to netCDF MERRA-2 converter is broken

The converter has hardcoded yaml configuration that correspond to the MERRA-2 horizontal and vertical setup. This work great (thanks Ben!) as long as you are not regridding MERRA-2 with resolution change, especially vertical. When I tried to use 'remap_restarts.py' going from MERRA-2 to c720, L137, the netCDF output was badly broken (AK, BK had NaN) and some of the metadata was still pointing to 72/73 levels. My particular workaround was to edit my copies of bin2nc_merra*.yaml files prior to running remap_restarts.pl.

Presumably addressed in #44


--date is ignored

cmdline argument --date is ignored, and the generated relnotes do not contain date information

Fixed by #44


Fixed a typo

& used in place of @
No Code is modified only read me updated.

Hi @srinivasarajui
Thanks for raising this PR and contributing to Create React App. I'm afraid however, that this issue has already been raised in a few other tickets. https://github.com/facebook/create-react-app/pull/10556
Hence, as this PR is a duplicate, I would suggest that we can close it.
Happy Sunday!

Duplicate of #10317


ignore formula and add DataType::Bool

closes #6

This is a breaking change because of new DataType::Bool variant

!brunocq, let me know if it suits you

I'll test right now.

It works 👍

Nice!
Thanks again for reporting all these errors. My use case was very simplistic and I didn't spend the time I should on this. Sorry for that and thanks for making this evolve!

My use case was very simplistic and I didn't spend the time I should on this. Sorry for that

No worries. Thanks for the quick updates. I'll test the other issue when I'll be at work.


[Bug]: Model List Not Updating When Switching to Custom Endpoint in Preset Editor

What happened?
When editing a Preset, if I switch to a custom endpoint (in the video it's Claude), the dropdown menu for the model list does not update to reflect the models available in the selected custom endpoint. I expected the model list to update accordingly.
https://github.com/danny-avila/LibreChat/assets/128586631/1b1fb943-feeb-40e6-bccb-dd8d66dab97b
console error:

endpoint config:
    - name: "Claude"
      iconURL: anthropic
      apiKey: "xxx"
      baseURL: "https://xxx.top/v1"
      models:
        default: ["claude-3-opus-20240229"]
        fetch: false
      titleConvo: true
      titleModel: "claude-3-opus-20240229"
      modelDisplayLabel: "Claude"
      dropParams:
        - "stop"
        - "user"
        - "frequency_penalty"
        - "presence_penalty"

Steps to Reproduce

Open the Preset editor.
Switch to a custom endpoint.
Observe that the model list in the dropdown menu does not update to show the models from the custom endpoint.

What browsers are you seeing the problem on?
Microsoft Edge
Relevant log output
No response
Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

not sure what's going on here, can you check your browser logs when you switch to "Claude"?
I can't reproduce it:
https://i.imgur.com/MI8oWKk.mp4
Also, I'm updating the current preset model dynamically after seeing this

not sure what's going on here, can you check your browser logs when you switch to "Claude"?

sure, here's the console log:
vendor-vQCSFd7G.js:37  Uncaught Error: Unknown endpoint: Claude
    at L_ (index-CtudTFWv.js:1:41026)
    at at (index-CtudTFWv.js:2:13742)
    at index-CtudTFWv.js:4:460236
    at MX (vendor-vQCSFd7G.js:47:17712)
    at RX (vendor-vQCSFd7G.js:47:17820)
    at vendor-vQCSFd7G.js:47:18544
    at Object.c [as replaceState] (vendor-vQCSFd7G.js:47:33523)
    at aO (vendor-vQCSFd7G.js:47:18496)
    at h1 (vendor-vQCSFd7G.js:47:18680)
    at uO (vendor-vQCSFd7G.js:47:19102)
L_ @ index-CtudTFWv.js:1
at @ index-CtudTFWv.js:2
(anonymous) @ index-CtudTFWv.js:4
MX @ vendor-vQCSFd7G.js:47
RX @ vendor-vQCSFd7G.js:47
(anonymous) @ vendor-vQCSFd7G.js:47
c @ vendor-vQCSFd7G.js:47
aO @ vendor-vQCSFd7G.js:47
h1 @ vendor-vQCSFd7G.js:47
uO @ vendor-vQCSFd7G.js:47
(anonymous) @ vendor-vQCSFd7G.js:47
(anonymous) @ index-CtudTFWv.js:4
onChange @ index-CtudTFWv.js:68
onChange @ index-CtudTFWv.js:51
(anonymous) @ vendor-vQCSFd7G.js:221
(anonymous) @ vendor-vQCSFd7G.js:221
0 @ vendor-vQCSFd7G.js:224
hr @ vendor-vQCSFd7G.js:221
(anonymous) @ vendor-vQCSFd7G.js:224
(anonymous) @ vendor-vQCSFd7G.js:221
(anonymous) @ vendor-vQCSFd7G.js:224
(anonymous) @ vendor-vQCSFd7G.js:221
onClick @ vendor-vQCSFd7G.js:224
OK @ vendor-vQCSFd7G.js:37
LK @ vendor-vQCSFd7G.js:37
NK @ vendor-vQCSFd7G.js:37
LC @ vendor-vQCSFd7G.js:37
MP @ vendor-vQCSFd7G.js:37
(anonymous) @ vendor-vQCSFd7G.js:37
CM @ vendor-vQCSFd7G.js:40
Z$ @ vendor-vQCSFd7G.js:37
Vw @ vendor-vQCSFd7G.js:37
tM @ vendor-vQCSFd7G.js:37
JK @ vendor-vQCSFd7G.js:37

Unknown endpoint:

I see, this is helpful. And on refresh the issue persists? I'm going to re-open because I think I can prevent this edge case

@RedwindA while I wasn't able to reproduce, I came up with a method that should prevent this behavior. let me know

@RedwindA while I wasn't able to reproduce, I came up with a method that should prevent this behavior. let me know

@danny-avila It's working fine now, thanks!


https://aka.ms/sdkimplicititems redirects to renamed #default-compilation-includes

Microsoft.NET.Sdk.DefaultItems.targets references https://aka.ms/sdkimplicititems, which redirects to https://docs.microsoft.com/dotnet/core/project-sdk/overview#default-compilation-includes. That page still exists but the default-compilation-includes anchor does not. The heading "Default compilation includes" was replaced with "Default includes and excludes" in https://github.com/dotnet/docs/pull/22140, so the redirection should now be to https://docs.microsoft.com/dotnet/core/project-sdk/overview#default-includes-and-excludes.
Although Explicit anchor links describes a way to change the anchor of the heading back to default-compilation-includes while keeping the "Default includes and excludes" text, it advises against doing so.

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

ID: aa484235-d872-f50e-96fc-aa5b4a2a42fa
Version Independent ID: 871c22e0-65a2-f3a4-41b9-f050489dba7a
Content: .NET project SDK overview
Content Source: docs/core/project-sdk/overview.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

@KalleOlaviNiemitalo Thank you! I've just updated the aka.ms target URL and it seems to be working. Let me know if you find otherwise.

@KalleOlaviNiemitalo Thank you! I've just updated the aka.ms target URL and it seems to be working. Let me know if you find otherwise.

Thanks, it is fine now.

Thanks, it is fine now.


fix(ui): show nlwr route when lwr is unknown in overview

Fixes #3563

@kpine could you test this and tell me if it's working?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 22.082%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3763

Relevant Lines:
18119

💛  - Coveralls

Use test2 tag once this ends: https://github.com/zwave-js/zwave-js-ui/actions/runs/7801920120


KNNRegressor/Classifiers clean! method problems

@tlienart Could you have a look at this please?
On the dev branch of MLJ:
julia> using MLJ

julia> X, y = @load_iris;

julia> model = @load KNNClassifier
KNNClassifier(K = 5,
              algorithm = :kdtree,
              metric = Distances.Euclidean(0.0),
              leafsize = 10,
              reorder = true,
              weights = :uniform,) @ 1…20

julia> mach = machine(model, X, y)
Machine{KNNClassifier} @ 1…42

julia> fit!(mach)
ERROR: UndefVarError: Citiblock not defined
Stacktrace:
 [1] clean!(::KNNClassifier) at /Users/anthony/Dropbox/Julia7/MLJ/MLJModels/src/NearestNeighbors.jl:90
 [2] #fit!#4(::Nothing, ::Int64, ::Bool, ::Function, ::Machine{KNNClassifier}) at /Users/anthony/Dropbox/Julia7/MLJ/MLJ/src/machines.jl:116
 [3] fit!(::Machine{KNNClassifier}) at /Users/anthony/Dropbox/Julia7/MLJ/MLJ/src/machines.jl:111
 [4] top-level scope at none:0

Superficially it's not obvious to me why Distances.Citiblock is not in scope.
As an aside, we shouldn't, strictly speaking, by using the @with_kw macro here, because the keyword constructor of a model must call the clean! method, which the auto-generated constructor from Parameters.jl does not.  (For this reason the above bug was not caught in the KNN tests, where instantiating the model with a kw constructor should have failed.)
There is a macro in MLJBase for auto-generating a kw constructor with defaults which does call clean!, which can be called after a normal definition of the struct. It is called MLJBase.@set_defaults (but I'm not sure if it works in the presence of type-parameters).
Restoring synchronisation of MLJ#dev (PR #230) with MLJModels#dev depends on resolution of this issue.

Resolved by #54


fix: do not derive cache key if component is static

Summary
For components, which are static, there is no reason to derive cache key from props.
👉 Do not derive cache key if component is static, fixes #629

Nice, this looks like it would fix the issue we were having, is there an alpha to test with?

@diffidentDude  - any change that you can replace null -> "static" directly in your node_modules to double check that it works fine for you?

@diffidentDude - any change that you can replace null -> "static" directly in your node_modules to double check that it works fine for you?

Sure, can do.

TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
|     property 'backendConnector' -> object with constructor 't'
|     property 'backend' -> object with constructor 'e'
--- property 'services' closes the circle
at JSON.stringify ()
at o.a.getCacheKey (loadable.esm.js:227)
at o.a.getCache (loadable.esm.js:235)
at o.a.componentDidMount (loadable.esm.js:192)
at Sr (react-dom.production.min.js:212)
at oi (react-dom.production.min.js:255)
at t.unstable_runWithPriority (scheduler.production.min.js:19)
at Ut (react-dom.production.min.js:122)
at ii (react-dom.production.min.js:248)
at Ur (react-dom.production.min.js:239)

@caizx666 - you mean #629, this is the fix for your problem.

Yes

Any update for this commit?

oof, a week already passed. If someone can confirm (@diffidentDude 😉) that is solving the problem, and not creating a new one - I can release the update immediately.
I just not quite trust build in unit tests and had no free time to test stuff manually.

This was merged a week ago but it hasn't been published as a new npm package version yet. Can we get 5.13.3? 🙇

Just double checking webpack5 before the new release...


I need to send a multipart on INVITE message to a Nuance server, someone knows how to do that ?

I need to send a multipart on INVITE message to a Nuance server, someone knows how to do that ?

This feature is not supported by the client API. You would need to make changes in the Sofia-SIP client agent.
https://github.com/unispeech/unimrcp/blob/master/modules/mrcp-sofiasip/src/mrcp_sofiasip_client_agent.c
It is also possible that the Sofia-SIP library may need to be patched too.


useCache hook to get data directly from cache

Add useCache hook to get cached response by Action object.

It was released, hook name is useCachedResponse


Feature/terra3 51 scheduled https api call

Please review my PR.

This PR is included in version 0.12.0 :tada:


Memory errors on distributed dask cluster

Description
I have a persisted dask dataframe which is larger than the amount of memory on my notebook server and any of the individual workers. The structure is x, y, z lidar data.
When trying to plot with datashader it seems to attempt to transfer the whole dataframe to the notebook when aggregating before plotting.
ddf = client.persist(dd.read_parquet('Some 20GB dataset'))
cvs = ds.Canvas(900, 525)
agg = cvs.points(ddf, 'x', 'y', agg=ds.mean('z'))

This results in 20GB of data being transferred to my notebook (and it gets killed by the OOM killer as I only have 16GB of RAM).
Your environment
Datashader version: 0.6.8
Dask version: 0.20.0
Distributed version: 1.24.0

@jbednar is this just the way it works or are we doing something wrong?

From that description, I'm not sure exactly what you mean.  In my own work, I've previously used .persist() only on a single machine, when I want the entire dataframe to be put into memory on that one machine (and kept there).  Here you have a distributed computation, and though I haven't tested it, I would have expected (like you) that each chunk would be persisted on the individual worker nodes.  It sounds like that's not what you're seeing, but I'm not sure what you mean by the "notebook" in this case; do you mean the Jupyter kernel process, which is presumably where your dask distributed scheduler is running?

Persist makes sure that chunks of data are around on some worker.  That data is usually not on the main machine.
Then I would expect datashader to do some complex groupby aggregation and calls compute.
df.groupby([df.x.round(...), df.y.round(...)]).count().compute()

When you call compute you get a pandas dataframe on the client.  I would expect this to be less than the full 20GB.
Sometimes people have calls like df = df.compute() which brings distributed data local.  I wouldn't expect that from the datashader codebase though.
If I were to diagnose this I would probably look at the code and see any place where compute/persist was being called.  I might also put in a bit of logging information and sleeps so that I could try to narrow down where in the datashader pipeline things are pouring data into the client/jupyter process.

Thanks for your responses both.
@jbednar yes you're right I mean kernel which us where my scheduler is (using dask-kubernetes).
@mrocklin The end result of the processing is an xarray DataArray which I would imagine could remain distributed after the groupby.

@mrocklin The end result of the processing is an xarray DataArray which I would imagine could remain distributed after the groupby.

Groupby aggregations always end up in a single partition.  I would expect the output of datashader's process to have 900 * 525 rows, so I'm not sure I undertand this.

Groupby aggregations always end up in a single partition.
Fair enough. But as you say I would imagine this partition to be 900 * 525. Unless the reduction (mean, count, etc) is performed after the data is gathered into the partition? This could result in the 900 * 525 dataframe having all of the data points in each row.

groupby-aggregations are computed by doing groupby aggregations on the partitions, then merging a few, doing more groupby-aggreations on those, and so on in a tree reduction until we get to a final result.  There is never much memory in any particular partition (assuming that the number of groups is managable)
As an example, we accomplish a groupby-mean by doing a groupby-sum and groupby-count on each partition, then doing a groupby-sum on both of those until we get down to one, then dividing the result on the final partition.
However, datashader does different things than dask.dataframe.  I'm not as familiar with their algorithms, but I suspect that they do something similar.


msvcp140.dll missing

Cannot run this program, as dlls are missing. Include them into compiled binary.

Hi, you are missing the Visual C++ 2015 runtime. Microsoft recommends against linking statically against the runtime.
I will include them in the installer in an upcoming version :)

Casual users do not install Visual Studio to their PCs, therefore they will get this error and are most likely to quit instead of having to go through hassle of installing run-time. If MS does not recommend to link it, then what is the standard practice with those?

One way is to include the Visual C++ runtime merge module in the installer, which would install the runtime alongside the application. I've just not gotten there yet.

Great job on the application, you can close this issue if needed. Thanks!

I'll keep it open until the installer is distributing the runtime, thanks for reporting it.

@vktr does PicoTorrent actually use some of the newer APIs for this to really be a dependency? For example the Golang compiler builds EXEs that rely on Visual C++ 6, so that they will work with out of the box Windows 7+:
http://github.com/svnpenn/sage/tree/6f0fd05/go
Compiling PicoTorrent with Visual C++ 14/2015 should only be done if you are utilizing some new WINAPI methods, otherwise you are putting out your users for no reason

Hi @svnpenn! The choice to use MSVC14 comes from the fact that it supports much of the C++14 standard, and has generally better support for C++11 as well. The MSVC version does mot mandate which WINAPI version you use, that us up to the developer and depends in part on what defines you use - i.e you can target Windows XP by defining _WIN32_WINNT=0x0501, and still use MSVC14.
What I think you're getting at is that Windows 7 already bundles the VC++6 runtime which would make a dependency less for PicoTorrent - but then we cannot use the new features in C++14.
Running the PicoTorrent installer will download and install the required MSVC14 runtime at install time, and that makes PicoTorrent work out of the box on Windows 7 as well. Windows 7 (both x86 and x64) is the platform I test all releases on before putting them on GitHub.
Hope that clarifies it a bit! :smile:

@vktr yes, thanks. I just wanted to be sure the extra dep was there for a good reason as @ValdasK is right, it will push away some users

@vktr note there is a new version
http://microsoft.com/download/details.aspx?id=49984

@svnpenn We've been using it since it was released :smile:

https://github.com/picotorrent/picotorrent/issues/202

https://github.com/picotorrent/picotorrent/pull/224

https://github.com/picotorrent/picotorrent/issues/339

https://github.com/picotorrent/picotorrent/issues/195


colortbl: ability to color rows/columns and individual cells in array

is there a way to color the rows/columns and individual cells in array. For example like below:
\begin{array}{c|c|c}
\cellcolor{blue} a & \columncolor{red} b & c \ \hline
\rowcolor{green} d & e & f \
g & h & i
\end{array}

Alas, not currently.  colortbl is the relevant package that would be nice to implement.  Previously mentioned here but probably worth a separate issue for array (vs. tabular).

Alright, Thank you! Do you think the colortbl package could be implemented soon?
Sincerely,
Henrik

This is an interesting problem since we'd need to some way for commands to affect state associated with an environment.  As for when it could be implemented, I don't think there's anything blocking this feature.  This is a community driven project so it's dependent on whether someone is interested in implementing this feature.  PRs are welcome.


Binding errors when using ComboBox

I noticed, that the application output is filled with messages, that a BindingExpression path error occured, when using a ComboBox:
System.Windows.Data Error: 40 : BindingExpression path error: '(adonisExtensions:WatermarkExtension.IsWatermarkVisible)' property not found on 'object' ''ComboBox' (Name='')'. BindingExpression:Path=(adonisExtensions:WatermarkExtension.IsWatermarkVisible); DataItem='ComboBox' (Name=''); target element is 'TextBox' (Name='PART_EditableTextBox'); target property is 'NoTarget' (type 'Object')
Exception thrown: 'MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException' in System.Xaml.dll
System.Windows.Data Error: 40 : BindingExpression path error: '(adonisExtensions:WatermarkExtension.Watermark)' property not found on 'object' ''ComboBox' (Name='')'. BindingExpression:Path=(adonisExtensions:WatermarkExtension.Watermark); DataItem='ComboBox' (Name=''); target element is 'ContentPresenter' (Name='PlaceholderHost'); target property is 'Content' (type 'Object')
Exception thrown: 'MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException' in System.Xaml.dll

These two errors occur for every ComboBox in my view.
I'm using the latest version of AdonisUI (1.9), I haven't noticed this with earlier versions but I have not tested it specifically with other versions of AdonisUI.
This is the view, the error occurs, the following code snippet is the ComboBox in the view:
<ComboBox Grid.Column="0"
          ItemsSource="{Binding InstallerBundles}"
          SelectedItem="{Binding SelectedInstallerBundle}"
          HorizontalContentAlignment="Stretch"
          ScrollViewer.CanContentScroll="True"
          VirtualizingStackPanel.IsVirtualizing="True"
          VirtualizingStackPanel.VirtualizationMode="Recycling"
          VirtualizingStackPanel.ScrollUnit="Pixel">

    <ComboBox.ItemsPanel>
        <ItemsPanelTemplate >
            <VirtualizingStackPanel/>
        </ItemsPanelTemplate>
    </ComboBox.ItemsPanel>
</ComboBox>

The view for an installer bundle consists of only a single TextBox:
<TextBlock TextTrimming="CharacterEllipsis"
           Text="{Binding Name}"/>

There seems to be no error while using the application, I just wanted to check, if the errors can be ignored.

I cannot reproduce this behavior with ComboBoxes but I get similar output for TabControls.
I found this blog post stating that they are harmless and handled internally. It seems the error can occur for all controls that contain dynamically created lists.
To resolve the binding errors you could try to explicitly set the watermark to {x:Null} or an empty string. As I cannot reproduce it, I cannot test that for you.
Alternatively you can change the log level globally as shown here.

Oh wait I just noticed that you received BindingError 40 and I get BindingError 4. My answer was supposed to target BindingError 4. I will do some research again but as I cannot reproduce it, it will be hard to tackle.

I created a small application where I tried to recreate your setup and finally got the errors as well.
Writing
<DataTrigger Binding="{Binding Path=(adonisExtensions:WatermarkExtension.IsWatermarkVisible)}"/>

instead of
<DataTrigger Binding="{Binding (adonisExtensions:WatermarkExtension.IsWatermarkVisible)}"/>

fixed it for me.
Please reopen in case the errors are still present in your application.


processing multiple files at once

Is it possible to process many wav files at once (superimpose a voice model)?

After rereading everything, as I understand there is no such function yet. I really hope that you will add such a feature. So that it was possible to select an entire folder of wav files for processing. And so that the original file names are preserved (perhaps a postscript would be added, but which can be removed).

ok


[ISV-933] Merge the operator-pipeline-images code to operator-pipeline code

The Repo structure is shown below:

Files like requirements*.txt and tox.ini should be moved to the root level and adjusted accordingly

If the resulting image has been tested to work, then LGTM :+1:


PCB missing

Hello Sander,
This is a very nice creation, i would very much like to have a look at your pcb design to learn and maybe create something similar for my home. Would you be willing to put your pcb design in your repo?
Thank you.
 Het is puur voor mezelf, ik heb nogal een ledjes fetish en jou creatie pas perfect in mijn straatje :P (zie mijn dingen op mijn youtube of github)

Hi, thanks for your interest. The current design contains some mistakes that I fixed using bodges (mostly hidden on the back of the pcb), so I am not releasing the design. I can sent you a pcb with components and the fixes applied. You would have to solder the brass wires and filaments yourself. Contact me if interested.


Identity Server 4 does not redirect to the default login page

Issue / Steps to reproduce the problem
I followed the quick start(http://docs.identityserver.io/en/release/quickstarts/3_interactive_login.html) and downloaded the UI template. I Configured identity server 4 run on localhost:5000 and mvc client on localhost:5500. I tries to access "authorize" page. I expected identity server 4 to redirect to the default login page, but it returned Error page with "unauthorized_client." In the log, I noticed that the redirect_uri is "http://localhost:5500/signin-oidc", not "http://localhost:5001/signin-oidc."   Please help tell me what is wrong.

On identity server 4:
Config.cs
// MVC client using implicit flow
                new Client
                {
                    ClientId = "mvc",
                    ClientName = "MVC Client",

                    AllowedGrantTypes = GrantTypes.Implicit,
                    ClientSecrets = { new Secret("373f4671-0c18-48d6-9da3-962b1c81299a".Sha256()) },
                    ClientUri="http://localhost:5500",
                    RedirectUris = {"http://localhost:5001/signin-oidc",},
                    LogoutUri = "http://localhost:5001/signout-oidc",
                    PostLogoutRedirectUris = { "http://localhost:5001/signout-callback-oidc" },

                    AllowOfflineAccess = true,
                    AllowedScopes =
                    {
                        "api1",
                        "profile",
                        "openid"
                    }
                },

Startup.cs
public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc();

            services.AddIdentityServer()
                .AddDeveloperSigningCredential()
                .AddInMemoryIdentityResources(Config.GetIdentityResources())
                .AddInMemoryApiResources(Config.GetApis())
                .AddInMemoryClients(Config.GetClients())
                .AddTestUsers(TestUsers.Users);
        }

public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            if (Environment.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.UseIdentityServer();

            // middleware for google authentication
            // must use http://localhost:5000 for this configuration to work
            app.UseGoogleAuthentication(new GoogleOptions
            {
                AuthenticationScheme = "Google",
                SignInScheme = IdentityServerConstants.ExternalCookieAuthenticationScheme,
                ClientId = "708996912208-9m4dkjb5hscn7cjrn5u0r4tbgkbj1fko.apps.googleusercontent.com",
                ClientSecret = "wdfPY6t8H8cecgjlxud__4Gh"
            });

            app.UseStaticFiles();
            app.UseMvcWithDefaultRoute();
        }

On Client-side
Startup.cs
            JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
            app.UseCookieAuthentication(new CookieAuthenticationOptions
            {
                AuthenticationScheme = "cookies"
            });

            app.UseOpenIdConnectAuthentication(new OpenIdConnectOptions
            {
                AuthenticationScheme="oidc",
                SignInScheme="cookies",
                ClientSecret= "373f4671-0c18-48d6-9da3-962b1c81299a",
                Authority ="http://localhost:5000",
                RequireHttpsMetadata=false,

                ClientId="mvc",
                SaveTokens=true,

            });

Relevant parts of the log file
017-08-07 13:44:51.871 +08:00 [Debug] Start authorize request
2017-08-07 13:44:51.881 +08:00 [Debug] No user present in authorize request
2017-08-07 13:44:51.886 +08:00 [Debug] Start authorize request protocol validation
2017-08-07 13:44:51.898 +08:00 [Error] Invalid redirect_uri: http://localhost:5500/signin-oidc
"{
  \"ClientId\": \"mvc\",
  \"ClientName\": \"MVC Client\",
  \"RedirectUri\": \"http://localhost:5500/signin-oidc\",
  \"AllowedRedirectUris\": [
    \"http://localhost:5001/signin-oidc\",
    \"http://localhost:5000/account/login\"
  ],
  \"SubjectId\": \"anonymous\",
  \"RequestedScopes\": \"\",
  \"Raw\": {
    \"client_id\": \"mvc\",
    \"redirect_uri\": \"http://localhost:5500/signin-oidc\",
    \"response_type\": \"id_token\",
    \"scope\": \"openid profile\",
    \"response_mode\": \"form_post\",
    \"nonce\": \"636376814918394541.YjU3MGVmZGMtMWY3ZS00MDAyLTk2NTgtMzFjNGE1NTZkZmQzZGJiYTMzMzQtMjgxYi00ODlmLWI1MjAtYmQxMDYxNWY2NTdi\",
    \"state\": \"CfDJ8PNhcrkCGhtKk2P27faWG7vLtBLLAHklHhT7VeQ_StpF3gPGDQl2K_pYZucnnSzI0lwxoot04Cnscu56RLm7lRo9hwi_z74GL4omwdepetiMeTVEkaCKWurCgBo8-8Co7OhIWPkwowcehfXwymbD5-BkMAmYgGlvBg1MiY8Wq64tTRAUq6vrBoAe8JYMaMlIH8ApWHFar4FfKk4806tvvX2OXuQ4UBkZod1js_j13YfbZ1tULugrmBRzHOL2j4BvE9ZBWuRN8IMhRLLXzErZIGvznSQtHP3Y8qOGV7u_Fi0m5zgtnjI_5LpwRKlQZ_bJaNO5jz4NDURoyT95pd8AHw0\"
  }
}"
2017-08-07 13:44:51.900 +08:00 [Error] Request validation failed
2017-08-07 13:44:51.901 +08:00 [Information] "{
  \"ClientId\": \"mvc\",
  \"ClientName\": \"MVC Client\",
  \"RedirectUri\": \"http://localhost:5500/signin-oidc\",
  \"AllowedRedirectUris\": [
    \"http://localhost:5001/signin-oidc\",
    \"http://localhost:5000/account/login\"
  ],
  \"SubjectId\": \"anonymous\",
  \"RequestedScopes\": \"\",
  \"Raw\": {
    \"client_id\": \"mvc\",
    \"redirect_uri\": \"http://localhost:5500/signin-oidc\",
    \"response_type\": \"id_token\",
    \"scope\": \"openid profile\",
    \"response_mode\": \"form_post\",
    \"nonce\": \"636376814918394541.YjU3MGVmZGMtMWY3ZS00MDAyLTk2NTgtMzFjNGE1NTZkZmQzZGJiYTMzMzQtMjgxYi00ODlmLWI1MjAtYmQxMDYxNWY2NTdi\",
    \"state\": \"CfDJ8PNhcrkCGhtKk2P27faWG7vLtBLLAHklHhT7VeQ_StpF3gPGDQl2K_pYZucnnSzI0lwxoot04Cnscu56RLm7lRo9hwi_z74GL4omwdepetiMeTVEkaCKWurCgBo8-8Co7OhIWPkwowcehfXwymbD5-BkMAmYgGlvBg1MiY8Wq64tTRAUq6vrBoAe8JYMaMlIH8ApWHFar4FfKk4806tvvX2OXuQ4UBkZod1js_j13YfbZ1tULugrmBRzHOL2j4BvE9ZBWuRN8IMhRLLXzErZIGvznSQtHP3Y8qOGV7u_Fi0m5zgtnjI_5LpwRKlQZ_bJaNO5jz4NDURoyT95pd8AHw0\"
  }
}"

Sorry.....I fixed it. the redirect_uri on Config.cs is incorrect.

How it should be ?

@yiren : Could you give us (with @nkolchakov) the right answer please ?
I have same issue, but I didn't find the solution.
Regards

how should it be?

I had similar problem, solved by installing NuGet Microsoft.AspNetCore.Mvc in identity server project. Hope this helps. :)

@RakicSrdjan Worked for me thnx

I had the same issue.
Managed to fix that by fixing "Client" object returned by the Config.GetClients() method in IDP project:

Client.RedirectUris property should match the client's web app uri (with enabled SSL)
e.g.: RedirectUris = new List() { "https://localhost:port/signin-oidc" }

Client.AllowedScopes object should look like:
Client.AllowedScopes =
{
IdentityServerConstants.StandardScopes.OpenId,
IdentityServerConstants.StandardScopes.Profile
}

Thanks Andrei for the solution, I will definitely try this in my
application.
Thanks and Regards
Sanjay Gupta
9891440644
On Mon, Feb 4, 2019 at 7:03 PM Andrei<EMAIL_ADDRESS>wrote:

I had the same issue.
Managed to fix that by fixing "Client" object returned by the
Config.GetClients() method in IDP project:

Client.RedirectUris property should match the client's web app uri
(with enabled SSL)
e.g.: RedirectUris = new List() { "https://localhost:port/signin-oidc"
}
2.
Client.AllowedScopes object should look like:
Client.AllowedScopes =
{
IdentityServerConstants.StandardScopes.OpenId,
IdentityServerConstants.StandardScopes.Profile
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/IdentityServer/IdentityServer4/issues/1396#issuecomment-460251025,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFp0Q4E9aAwrfXxsoUsORkU_VpTvQ2iBks5vKDaggaJpZM4OvB-o
.


[3.x] Ignore disabled shapes for mass property calculations

Addresses issue from https://github.com/godotengine/godot/pull/49185#pullrequestreview-671757775 on the 3.x branch.
Already part of #49610 on master.

Thanks!

Cherry-picked for 3.3.3.


Files for V2.0

Hi there guys.
Awesome work on this project. I have a V2 board and cannot find the files anywhere. Do you plan on putting them up?

NodeMCU only released V0.9 and V1.0 board. The next is V1.1, we plan to release it in 2016. May be you got a fake one.

NodeMCU have no V3,V2 board. Next is V1.1, and comes 2016.

Maybe you got a fake one, at the back of the board you will see v1.0 version, and latest official board(v1.0) uses CP2102 and LM1117(not AMS1117)


Test against Zarr v3 in CI

If we add CI workflows that use the bleeding edge versions of upstream dependencies, we can use it to test against zarr-python-v3.
If we add another env that uses upstream versions but only the minimum dependencies (i.e. no kerchunk), then we can use that to test Icechunk integration against.
We may also want to add another env to test V3 with kerchunk.
This way we can start testing every feature against each version of key dependencies, in a way that will still be a somewhat sane setup even after the whole ecosystem works with zarr-python-v3.

I just realised that what I'm trying to achieve is the same as what @ghidalgo3 already suggested in https://github.com/zarr-developers/VirtualiZarr/pull/182#issuecomment-2221406618. The difference is that now we can run the tests (skipping a lot of them https://github.com/zarr-developers/VirtualiZarr/pull/259) without kerchunk installed


credcoins.py

add it in a python folder

@dixitt5 I have added them in codechef folder as they are codechef's solution

@dixitt5 I have added them in codechef folder as they are codechef's solution


Find Number of Names Matched Without our Pipeline

I need to find out how many names just the Egger and Spirling, as well as just the DiLPad data, make an exact match with the name in the speaker column. (e.g. no permutations, no fuzzy matching, etc.)

This might not be useful because E & S might not match with any without some amount of preprocessing


az role assginment create - throws error "The request did not have a provided subscription. All requests must have an associated subscription Id."

Problem Description
I created an Azure AD Application and AD Service Principal, I was then attempting to assign a role to the Service Principal using az role assignment create.
az role assignment create --assignee '<object id of the service principal' --role Owner --scope '/subscription/<subscription id>'

However this throws the error
The request did not have a provided subscription. All requests must have an associated subscription Id.

I've received this sort of error with PowerShell (Set-AzureRmRoleDefinition) as well when attempting to assign a role to an AD user a while back so I'm not sure if I'm doing something wrong or there is a problem with the REST API for role assignment.
Excerpt from debug output
DEBUG: msrest.http_logger :     'x-ms-client-request-id': '6b54e1a8-db1a-11e6-a2cd-4c8093c986d2'
DEBUG: msrest.http_logger :     'CommandName': 'role assignment create'
DEBUG: msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
DEBUG: msrest.http_logger :     'accept-language': 'en-US'
DEBUG: msrest.http_logger : Request body:
DEBUG: msrest.http_logger : None
DEBUG: requests.packages.urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com
DEBUG: requests.packages.urllib3.connectionpool : https://management.azure.com:443 "GET /subscription/<subscription id>/providers/Microsoft.Authorization/roleDefinitions?api-version=2015-07-01&$filter=roleName%20eq%20%27Owner%27 HTTP/1.1" 404 156
DEBUG: msrest.http_logger : Response status: 404
DEBUG: msrest.http_logger : Response headers:
DEBUG: msrest.http_logger :     'Cache-Control': 'no-cache'
DEBUG: msrest.http_logger :     'Pragma': 'no-cache'
DEBUG: msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
DEBUG: msrest.http_logger :     'Expires': '-1'
DEBUG: msrest.http_logger :     'x-ms-failure-cause': 'gateway'
DEBUG: msrest.http_logger :     'x-ms-request-id': '3dfde3e6-0698-460d-826b-e091ca46e4ad'
DEBUG: msrest.http_logger :     'x-ms-correlation-request-id': '3dfde3e6-0698-460d-826b-e091ca46e4ad'
DEBUG: msrest.http_logger :     'x-ms-routing-request-id': 'UKWEST:20170115T120202Z:3dfde3e6-0698-460d-826b-e091ca46e4ad'
DEBUG: msrest.http_logger :     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
DEBUG: msrest.http_logger :     'Date': 'Sun, 15 Jan 2017 12:02:02 GMT'
DEBUG: msrest.http_logger :     'Content-Length': '156'
DEBUG: msrest.http_logger : Response content:
DEBUG: msrest.http_logger : {"error":{"code":"MissingSubscription","message":"The request did not have a provided subscription. All requests must have an associated subscription Id."}}
DEBUG: msrest.exceptions : The request did not have a provided subscription. All requests must have an associated subscription Id.
ERROR: The request did not have a provided subscription. All requests must have an associated subscription Id.

The body is missing for some reason.
Azure Cli & Python Version Information
(AzureDev) (trusty)vijay@localhost:~$ az --version
azure-cli (0.1.0b11)
acr (0.1.0b11)
acs (0.1.0b11)
appservice (0.1.0b11)
cloud (0.1.0b11)
component (0.1.0rc1)
configure (0.1.0b11)
container (0.1.0b11)
context (0.1.0b11)
core (0.1.0b11)
feedback (0.1.0b11)
network (0.1.0b11)
nspkg (0.1.0b11)
profile (0.1.0b11)
resource (0.1.0b11)
role (0.1.0b11)
storage (0.1.0b11)
vm (0.1.0b11)
Python (Linux) 2.7.12 |Continuum Analytics, Inc.| (default, Jul  2 2016, 17:42:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
Let me know if the full debug output is required.
Just to add if instead I assign a role to the Service Principal at the resource group level that works e.g.:
az role assignment create --assignee <object id> --role Owner --resource-group test-rg-002

Hi,
Sorry I just realised what the problem was - it was between the chair and the keyboard. I had made a typo, when specifying the subscription, I typed:
/subscription/
When I should have typed:
/subscriptions/
Again apologies, it turned out to be a silly mistake - I'm closing out this issue.
Thanks
Vijay


Allow [GitHub] tag badge to sort by date

Following on from https://github.com/badges/shields/issues/2117#issuecomment-425558353

I've modified the /release badge so we can use /release-pre and changed the home pages example. The legacy /all suffix will still work (for backwards-compatibility) but its not documented.
I haven't changed anything else on /release. Looking into it, we're using the prerelease key there rather than assuming semver so we don't have the same issue there that we do with tags.
I've added a tag-date endpoint. I changed my mind and decided not to go with sort=semver/sort=date for 2 reasons:

It allows /tag-pre/username/repo.svg?sort=date which is a bit odd/unclear
We don't really have a good way to get the querystring in BaseJsonService. This is going to be a problem with a few other services which we need to deal with when we port them, but on reflection I'd prefer not make this problem bigger.

This PR won't change the behaviour for anyone already using these badges but improves consistency and provides a way for projects that don't use SemVer (for whatever reason) to use the /tag badge with sensible expected behaviour.
Does this seem reasonable?

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @chris48s!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS

Catching up on some reading!

We don't really have a good way to get the querystring in BaseJsonService. This is going to be a problem with a few other services which we need to deal with when we port them, but on reflection I'd prefer not make this problem bigger.

Could you clarify what you mean? I added some query param support in #1589. The handling of examples isn't completely correct as we've seen, and it's not stripping the default parameters, though the core of the query params are working in the the (new-style) NPM badges.

Sorry - turns out I'm mistaken on this. I hadn't seen an example where we've used the queryParams arg to handle() before, but its good to know its there. That's one less thing to worry about :)


Queries don't work in 0.9 rc15

I'm trying to test 0.9 rc15 and I think something is broken.
I tried to insert one point like this coping from the documentation page
curl -XPOST 'http://localhost:8086/write' -d '
{
    "database": "test",
    "retentionPolicy": "default",
    "points": [
        {
            "name": "cpu_load_short",
            "tags": {
                "host": "server01",
                "region": "us-west"
            },
            "timestamp": "2009-11-10T23:00:00Z",
            "fields": {
                "value": 0.64
            }
        }
    ]
}
'

Next again coping from the website I do:
curl -G 'http://localhost:8086/query' --data-urlencode "db=test"
--data-urlencode "q=SELECT value FROM cpu_load_short WHERE region=us-west"

but I get this:
{"results":[{"error":"unknown field or tag name in where clause: us"}]}

When I do SHOW SERIES, I get this which means something is working.
{"name":"cpu_load_short","columns":["id","host","region"],"values":[[5,"server01","us-west"]]}

Thanks Nikola -- seems like the docs are not quite right. You must
single-quote the tag value like so:
curl -G 'http://localhost:8086/query' --data-urlencode "db=test"
--data-urlencode "q=SELECT value FROM cpu_load_short WHERE region='us-west'"
I have corrected the docs, and they will be published soon.
https://github.com/influxdb/influxdb.org/commit/86e27c2e149b371f1cf07015cf6c49688beae39c
Philip
On Sun, Mar 22, 2015 at 9:11 PM, Nikola Borisov<EMAIL_ADDRESS>wrote:

I'm trying to test 0.9 rc15 and I think something is broken.
I tried to insert one point like this coping from the documentation page
curl -XPOST 'http://localhost:8086/write' -d '
{
"database": "test",
"retentionPolicy": "default",
"points": [
{
"name": "cpu_load_short",
"tags": {
"host": "server01",
"region": "us-west"
},
"timestamp": "2009-11-10T23:00:00Z",
"fields": {
"value": 0.64
}
}
]
}
'
Next again coping from the website I do:
curl -G 'http://localhost:8086/query' --data-urlencode "db=test"
--data-urlencode "q=SELECT value FROM cpu_load_short WHERE region=us-west"
but I get this:
{"results":[{"error":"unknown field or tag name in where clause: us"}]}
When I do SHOW SERIES, I get this which means something is working.
{"name":"cpu_load_short","columns":["id","host","region"],"values":[[5,"server01","us-west"]]}
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/2054.


The shadow format in the class is incorrect in magic mode

shadow-[0px_5px_20px_1px_rgba(181,188,196,0.16)]
https://github.com/Simon-He95/unot/assets/23276822/42588e2e-4633-429e-9780-7d61af5ff6a5

https://github.com/Simon-He95/unot/blob/79c5588a81750354ada85ce33bc8054e41ef9dc6/src/transform.ts#L81
This line of code affect the transform result

v0.0.75 has fixed


[doc] configuration description missing in openthread.io

Is your feature request related to a problem? Please describe.
I couldn't find OpenThread's configurations description in https://openthread.io/reference. I think it helpful to have a centered place to introduce all OpenThread configuration and usage.
Describe the solution you'd like
Add a generated configurations page.

Related to #4038

If we want to do something like this right, it should be hosted on GitHub (does it need to be per platform?) as a Markdown file, and we can import it into openthread.io.  So the source would be editable by anyone whenever the switches change (how often does that happen?) and I just need to run a quick script to update the website.

If we want to do something like this right, it should be hosted on GitHub (does it need to be per platform?) as a Markdown file, and we can import it into openthread.io. So the source would be editable by anyone whenever the switches change (how often does that happen?) and I just need to run a quick script to update the website.

We already have doxygen in header files in src/core/config. Would it be possible to autogenerate docs using the config header files as source?

Yeah that would be easier.  I assume we'd use all the header files in there?

Yeah that would be easier. I assume we'd use all the header files in there?

Yes, I think so.

I'll take a look at this

Configuration variables documentation is available here: https://openthread.io/reference


Ability to send multiple messages from custom backend

I want to know if there is any way or hack , that i can do to send multiple messages at once or one by one,
I am looking for something like this ,
User : Hello
-- get chat
AI : Hi , welcome
AI : How may I help you ?
AI : Hope you are well
these 3 messages i want to send at once

Sorry my bad, i will see how to use websockets.

Hey @nishit-g. You are absolutely correct. You can either connect to a websocket or create a request handler that behaves like a websocket.


SonarQube Publish Quality Gate and Build Breaker Failing

Hi Simondel,
            Appreciate your support in the below issue regarding SonarQube in our Azure pipeline.

            I have used some Azure built-in tasks to integrate our SonarQube instance and enable the code analysis inside our pipeline. I have used “SonarQubePrepare@4” and “SonarQubeAnalyze@4” tasks , those went fine and passed but when I try to use the tasks as  “SonarQubePublish@4” to enable publishing of the SonarQuality gate and then use “sonar-buildbreaker@8” to stop the pipeline in case of failure,  publishing stage is usually not passing with the below error.

#[error][SQ] API GET '/api/ce/task' failed, status code was: 404
##[error][SQ] Could not fetch task for ID 'AXcXIGd0GolG0E5ghxBy'
##[error][SQ] API GET '/api/ce/task' failed, status code was: 404
##[error][SQ] API GET '/api/ce/task' failed, status code was: 404
##[error][SQ] API GET '/api/ce/task' failed, status code was: 404
##[error][SQ] API GET '/api/ce/task' failed, status code was: 400
I have searched a lot and all clues are pointing that “report-task.txt” file may be cached from old builds and the solution is that I remove it but actually I am not sure where it is generated inside the working directory of the pipeline. Worth to be mentioned that although this solution is proposed, many people are still complaining from the same issue even after following it and the case is not resolved yet on many platforms.
            Thanks to support how can I resolve this issue. Any proposal will be much appreciated as it’s a great blocker to us since stopping the pipeline based on the SonarQube quality gate result is very important stage in our pipelines.

any answers for above question please? i am also getting the same problem. I am getting below error when i run the "Break build on quality gate failure".
##[error][SQ] API GET '/api/ce/task' failed; status code was: 403
##[error][SQ] Could not fetch task for ID 'AYYFIzgzU-lN6fDmxSwx'
Note: I observed, for PR pipelines (newly created branch) i am not observing this frequently. But if i run for main branch, it always failing


Added research.instructlab.ai

This points research.instructlab.ai to xukai92.github.io
@mairin You'll need to tell @xukai92 to have to go to https://research.instructlab.ai/instructlab-research to get to this website. The subdirectory will need to probably be changed.

thanks @jjasghar!
let me put the page under a subdomain/IP instead of a subdirectory somehow and come back to this


Rename usage of Dir/File.exists to exist

The singular methods were deprecated long ago and finally removed in Ruby 3.2.0.
See https://github.com/ruby/ruby/commit/bf97415c02b11a8949f715431aca9eeb6311add2

Looking forward to having this merged. We are seeing these deprecations after upgrading to Ruby 3.1.3.

Ruby 3.2 removes Dir.exists? and File.exists? but that will not yet be discovered via tests since FakeFS is used and it creates its own aliases.I have a PR open to update that FakeFS: https://github.com/fakefs/fakefs/pull/482
Also, updating the workflow to test 3.2 would be kind.

Thanks for your efforts @ecnelises .  We need this too.

Thanks @ecnelises for this work!
@ddollar hey 👋
I see that this is starting to become a blocker for newer versions of Ruby.
If I may ask, would it be possible to get some approvers' eyes on it?
Thanks in advanced!

just run up against this issue.  manual edit of base.rb fixed it locally but next time I update...

There is another File.exists? in spec/foreman_spec.rb

There is another File.exists? in spec/foreman_spec.rb

Already fixed by https://github.com/ddollar/foreman/commit/c9441014bed260cadfe056b973d4081c4257c7bd

There is another File.exists? in spec/foreman_spec.rb

Already fixed by c944101

This just fixes the spec, it is still broken in ruby 3.2

Thank you!

Yay! Thank you so much @ddollar!


Docs for numeric values of categories

I started using this awesome package yesterday, and it seems like no results return from .search() if an empty object ({}) is passed as the second param (I had thought the behavior would be to search "all categories", although if "all" is itself a category then this behavior totally makes sense). There doesn't seem to be any docs anywhere for what the numbers corresponding to these categories are, though. If it would be helpful, I'd be happy to collect them as I work through this project and submit a PR with updated docs.

Hey @muhang!
Sorry for the late response :disappointed:
We have a method to get all categories: https://github.com/t3chnoboy/thepiratebay/blob/master/index.js#L91
But since they don't change so often, we can define them in the code and add documentation.
We can use getCategories() method in our tests, to check if the hard-coded categories are up to date.
To make it easier to update the categories if something changes,  we can store the categories in a json file and write a script, which updates it using getCategories() function.

Hey! No worries on the tardiness, I know how issues can be :smile:
I'm following up to writing a script which updates using getCategories() -- are you thinking a cron job? That'd make sense, but we'd need to automate commits as well which could get messy, and there'd need to be a server to run the cron (which could be a central point of failure). In the meantime, I'll get crackin on adding hard-coded categories and docs, and updating the tests.

We can write a test to check categories status and use something like @ewnd9 suggested https://github.com/t3chnoboy/thepiratebay/pull/24
And if the build fails, we can run the script to update categories manually.

Also getCategories() should be exposed at module itself in case of usage in stateful app where categories could be saved somewhere

@t3chnoboy I gotcha. @ewnd9 Good idea, exposing it at the module level would make future changes to the CI process more flexible too. http://traviscron.pythonanywhere.com/ is a great find!

@muhang @ewnd9 It is exposed https://github.com/t3chnoboy/thepiratebay/blob/master/index.js#L336
It's just not documented :grin:

@muhang Fixed this in a PR: t3chnoboy/thepiratebay/pull/29

This was solved in the 1.1.0 release, in which you can now use the primary category names to search:
PirateBay.search('harry potter', {
   category: 'movies'
})

You can still use numerical values if you want to.


will scratch3.0 supports block to code?

Is there a plan to support block to code in scratch3.0?

There is no plan for implementing generators for 3.0, since the functionality of 3.0 depends on using the VM as an interpreter.  We have left the generators in the scratch-blocks repository as an example for those who would like to use generators for their own purposes.


comments have sorted according to exercise order

Thanks for this!

Looked at good now, thanks for the fix!


more examples of how to use it

I've been trying to figure out how to use the library for a while now, but I don't understand how to use it.
How can I convert a chart from StepMania, Osu!Mania, Quaver, to Psych? is it possible?

All formats supported by the library can be imported, converted and exported between
Here's an example of converting a Quaver chart to Psych, it would work the same with Osu!Mania or StepMania formats
var quaver= new Quaver().fromFile("test/quaver.qua");
var psych = new FNFPsych().fromFormat(quaver);

// Here's the psych chart as a string that you can save as a json file
var psychChart = psych.stringify().data;

Let me know if you run into any problems

Let me know if you run into any problems

I get this error when I want to read a file from StepMania:
Call Stack:
moonchart/formats/StepMania.hx (line 166)
moonchart/formats/BasicFormat.hx (line 214)
moonchart/formats/BasicFormat.hx (line 173)
moonchart/formats/BasicFormat.hx (line 137)
slushi/states/MoonChartState.hx (line 111)
flixel/addons/ui/FlxButtonPlus.hx (line 292)
openfl/events/EventDispatcher.hx (line 426)
openfl/display/DisplayObject.hx (line 1398)

Uncaught Error:
[UncaughtErrorEvent type="uncaughtError" bubbles=true cancelable=true error="Null Object Reference"]

I followed the way to use it as you explained in the examples:
    // filePathInEngine + filePath == ".engineUtils/MoonChartConverter/Song.sm"
    else if (format == "STEPMANIA") {
        stepmaniaFormat = new StepMania().fromFile(filePathInEngine + filePath, null, diffculty); // Crash here
    }

    var newChartFormat = new FNFPsych();

    else if (format == "STEPMANIA" && stepmaniaFormat != null) {
                  newChartFormat.fromFormat(stepmaniaFormat);
    }

From what im seeing the error is due to the StepMania format not finding the difficulty youre trying to input
Loading stepmania charts stuff is typesafe (maybe i should prevent the crash by warning and loading any other diff it can find lol)
Make sure its that, if not pls send the chart so i can figure out the error

Closed due to inactivity


Update README.md

made changes since we refcatored the packages

we changed the source for the file FirebaseInitialiser after refactoring it, so that it complies with tidiness of the project


Set test names/reference in testSuite:New.vi

In testSuite:New we can collect the same test case with some different inputs (for me, different classes in the same object hierarchy) and then run the same test case for the different inputs without code duplication (apologies for the default icons - it's the same test case with two values of a boolean).

However, in the GUI, there's no good way to see which might be which (that I know of... maybe there is?)

Would it be possible to make a modification to allow changing the line that appears in the GUI.
Then we could have something like

and with/without library/class names (either would be fine, shown here with library but not class which is probably pretty inconsistent and so maybe a bad combination)

(apologies this time for Paint skills)
I suppose a workaround is to have a testCase with a dynamic dispatch "Get Class to Test.vi" and then child classes which just provide the class constant, and implement all the tests in the parent. I haven't tried this to know what the outcome will be in VI Tester but it sounds possible and might give me the appropriate child class names in the GUI... if this is the usual method then my apologies for the unnecessary issue!

Having just tested this, the behaviour when using two almost empty classes inheriting from the implemented ServerWriterTestCase.lvclass, with just a boolean returning DD VI, is to give a testSuite with no tests (presumably because the actual testCases have no tests, as found by listAllTestMethods.vi) and then have the testCase appear alone, and operate with the default data value (false).

This modification can be made by adding a section of code to GraphicalTestRunner.lvlib:Initialize Tests on Tree and a new String private data member with read/write accessors in TestCase.lvclass (for test cases - for Suites, I imagine the same thing could be done).
Example images are shown below:

(Initialize Tests on Tree.vi)

TestCase.lvclass, private data and class members in Dependencies (I just edited the installed files, not the source and rebuilt)

New.vi in TestSuite.lvclass, using the same class twice and the Write Accessor for "customName".

GUI Runner showing the two test cases. Other cases still have the usual class name format. All tests are found and still run. Double-clicking on the tests in "test-a" and "test-b" still open the correct VIs.
Are these values (in the GUI Runner) only cosmetic? If so, is this a valid way to edit their appearance?

Hi @chrisb2244. This is a very good idea -- I can see how having different display names for each instance of a TestCase or TestSuite would be very helpful. I've wanted this, too. I'll review the details of your proposal in more depth, soon. Please do feel free to keep posting your thoughts and ideas about this. I read all the posts :-)


can't build iOS examples with Xcode 15.1

I've tried to build both the FaceLandmarker and FaceDetector iOS examples with Xcode 15.1 using the provided instructions:

clone the repo
run pod install from the project directory
open the generated .xcworkspace in Xcode
attempt to build the appropriate scheme

With those two example apps, the build always fails with No such module 'MediaPipeTasksVision'.

Same error

same error for MediaPipeTasksGenAI, but I was able to build under a self created project after pod install.

What was the full error message you get? I just ran with 15.1 on a new project import and needed to do pod repo update because it was listed in the error message, then pod install worked.


toNano(1e-7) produces inadequate result

toNano(1e-6) works fine but
toNano(1e-7).toNumber() results in<PHONE_NUMBER>000 on my machine.
It seems like it is exactly the reason why one can't send less than 1e-6 TON using the web wallet based on this library - https://ton.app/wallets/web-ton-wallet.
Correct me if I'm wrong, but by the standard one should be able to send less than 1000 nanoTON, despite it doesn't seem like a critical issue.
I know that the average fee is much greater.

We are on it, thank you for reporting this!

I've created an upstream issue: https://github.com/ethjs/ethjs-unit/issues/6.

Fixed in the upstream library: https://github.com/ethjs/ethjs-unit/pull/7.

@mcnckc thanks for the report! This is a bug in the ethjs-unit that tonweb is using. Fixed in tonweb 0.0.41.
Since using Numbers in a crypto is basically a bad practice, in version 0.0.41, in addition to fixing the ethjs-unit, we forbade passing Numbers as an argument at all.
Please pass numbers as strings or BN objects.
This breaks backwards compatibility a bit, but I think it's a good idea to allow developers to avoid precision bugs.

@mcnckc please contact @ton_bugs_bot to get bounty reward

Afz185

<EMAIL_ADDRESS>


frackable:0.2.0

Quick update following suggestions from the community

[x] an update for a package

Thank you!


Fix divider in subscription page (#27298)

Backport #27298 by @yp05327
divider should always display in subscription page.
Before:

After:
(no changes when there's no subscriptions)

sorry for off-topic
but why there is not build neither in GitHub release nor dl.gitea.com.

sorry for off-topic but why there is no latest builds neither in GitHub release nor dl.gitea.com anymore.

Did you mean https://dl.gitea.com/gitea/main/gitea-main-nightly-linux-amd64 ?

sorry for off-topic but why there is no latest builds neither in GitHub release nor dl.gitea.com anymore.

Did you mean https://dl.gitea.com/gitea/main/gitea-main-nightly-linux-amd64 ?

like that but for nightly builds and release candidates:
I mean:
https://dl.gitea.com/gitea/1.22.0-dev/
https://dl.gitea.com/gitea/1.21.0-rc0/
both only have source code. but previously they had also the built binaries for all platforms. I use windows.


L1Resolver EIP-165 ENS interfaces

Bug Report
Current behavior
The L1Resolver is returning false for the EIP-165 with the ENS interfaces.

Expected behavior
It should return true for all the supported ENS interfaces.

resolved by #238