spconv v1.1 unknown device type

Did anyone run into this problem and was able to solve it?
It only occurs when training SECOND and PartA^2Net
because they are utilizing spconv in their RPN backbone,
training PointPillars, on the other hand, works fine because it's RPN (PointPillarsScatter)
does not utilize spconv.
Is it a phenomenon only occurring with spconv v1.1 ?
Traceback (most recent call last):
  File "train.py", line 215, in <module>
    main()
  File "train.py", line 210, in main
    max_ckpt_save_num=arguments.max_ckpt_save_num)
  File "/scratch_net/hox/mhahner/repositories/PCDet/tools/train_utils/train_utils.py", line 80, in train_model
    leave_pbar=(cur_epoch + 1 == total_epochs)
  File "/scratch_net/hox/mhahner/repositories/PCDet/tools/train_utils/train_utils.py", line 36, in train_one_epoch
    loss, tb_dict, disp_dict = model_func(model, batch)
  File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/__init__.py", line 25, in model_func
    ret_dict, tb_dict, disp_dict = model(input_dict)
  File "/home/mhahner/scratch/apps/anaconda3/envs/apex/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/detectors/PartA2_net.py", line 106, in forward
    rpn_ret_dict = self.forward_rpn(**input_dict)
  File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/detectors/PartA2_net.py", line 33, in forward_rpn
    **kwargs
  File "/home/mhahner/scratch/apps/anaconda3/envs/apex/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/rpn/rpn_unet.py", line 471, in forward
    x = self.conv_input(input_sp_tensor)
  File "/home/mhahner/scratch/apps/anaconda3/envs/apex/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/mhahner/scratch/apps/anaconda3/envs/apex/lib/python3.7/site-packages/spconv/modules.py", line 130, in forward
    input = module(input)
  File "/home/mhahner/scratch/apps/anaconda3/envs/apex/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/mhahner/scratch/apps/anaconda3/envs/apex/lib/python3.7/site-packages/spconv/conv.py", line 177, in forward
    use_hash=self.use_hash)
  File "/home/mhahner/scratch/apps/anaconda3/envs/apex/lib/python3.7/site-packages/spconv/ops.py", line 93, in get_indice_pairs
    stride, padding, dilation, out_padding, int(subm), int(transpose), int(use_hash))
ValueError: /scratch_net/hox/mhahner/repositories/spconv/include/spconv/spconv_ops.h 132
false assert faild. unknown device type

# packages in environment at /home/mhahner/scratch/apps/anaconda3/envs/apex:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
bzip2                     1.0.8                h516909a_2    conda-forge
ca-certificates           2020.1.1                      0
certifi                   2<IP_ADDRESS>               py37_0
cmake                     3.17.0               h28c56e5_0    conda-forge
coloredlogs               14.0                     pypi_0    pypi
cudatoolkit               10.1.243             h6bb024c_0
cudatoolkit-dev           10.1.243             h516909a_3    conda-forge
cudnn                     7.6.5                cuda10.1_0
cycler                    0.10.0                   pypi_0    pypi
decorator                 4.4.2                    pypi_0    pypi
easydict                  1.9                      pypi_0    pypi
expat                     2.2.9                he1b5a44_2    conda-forge
humanfriendly             8.2                      pypi_0    pypi
imagecodecs               2020.2.18                pypi_0    pypi
imageio                   2.8.0                    pypi_0    pypi
kiwisolver                1.2.0                    pypi_0    pypi
krb5                      1.17.1               h2fd8d38_0    conda-forge
libblas                   3.8.0               16_openblas    conda-forge
libcblas                  3.8.0               16_openblas    conda-forge
libcurl                   7.69.1               hf7181ac_0    conda-forge
libedit                   3.1.20181209         hc058e9b_0
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgfortran-ng            7.5.0                hdf63c60_6    conda-forge
liblapack                 3.8.0               16_openblas    conda-forge
libopenblas               0.3.9                h5ec1e0e_0    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libuv                     1.34.0               h516909a_0    conda-forge
llvm-openmp               10.0.0               hc9558a2_0    conda-forge
llvmlite                  0.32.1                   pypi_0    pypi
matplotlib                3.2.1                    pypi_0    pypi
mkl                       2020.1                      217    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
networkx                  2.4                      pypi_0    pypi
ninja                     1.10.0               hc9558a2_0    conda-forge
numba                     0.49.1                   pypi_0    pypi
numpy                     1.18.4           py37h8960a57_0    conda-forge
openssl                   1.1.1g               h7b6447c_0
pcdet                     0.1.0+2244be4             dev_0    <develop>
pillow                    7.1.2                    pypi_0    pypi
pip                       20.1               pyh9f0ad1d_0    conda-forge
protobuf                  3.11.3                   pypi_0    pypi
pyparsing                 2.4.7                    pypi_0    pypi
python                    3.7.5                h0371630_0
python-dateutil           2.8.1                    pypi_0    pypi
python_abi                3.7                     1_cp37m    conda-forge
pytorch                   1.4.0           py3.7_cuda10.1.243_cudnn7.6.3_0    pytorch
pywavelets                1.1.1                    pypi_0    pypi
pyyaml                    5.3.1                    pypi_0    pypi
readline                  7.0               hf8c457e_1001    conda-forge
rhash                     1.3.6             h14c3975_1001    conda-forge
scikit-image              0.17.2                   pypi_0    pypi
scipy                     1.4.1                    pypi_0    pypi
setuptools                46.3.0           py37hc8dfbb8_0    conda-forge
six                       1.14.0                   pypi_0    pypi
spconv                    1.1                      pypi_0    pypi
sqlite                    3.31.1               h7b6447c_0
tensorboardx              2.0                      pypi_0    pypi
tifffile                  2020.5.11                pypi_0    pypi
tk                        8.6.10               hed695b0_0    conda-forge
tqdm                      4.46.0                   pypi_0    pypi
wheel                     0.34.2                     py_1    conda-forge
xz                        5.2.5                h516909a_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge

Hi MartinHahner88,
I am also facing the same issue with SECOND network and the test_conv.py also throws the same error.
I am stuck with this error for a month..
Was your build spconv 1.1 successful (python setup.py bdist_wheel) and could you list out the versions that you were using for the build especially the version of CUDA and torch you were using for building spconv1.1
Thanks
Balaji Gobinathan

Yes, my build of spconv v1.1 was successful.
Here are the instructions for how I was able to build spconv v1.1 (but not spconv v1.0):

install conda
then execute the following commands
Note: the name apex can be replaced by any other name you wish throughout all commands
conda create --name apex python=3.7.5 pytorch=1.4.0 cudatoolkit=10.1.243 cudatoolkit-dev=10.1.243 cmake --channel pytorch --channel=conda-forge
conda activate apex
conda install cudnn
git clone https://github.com/traveller59/spconv --recursive
cd spconv
if necessary, apply this fix to setup.py
CUDA_ROOT=<path_to_your_conda_installation>/envs/apex python setup.py bdist_wheel
Note: <path_to_your_conda_installation> has to be replaced by your actual installation path
cd dist/
pip install *

When I try to build spconv v1.0 (commit 8da6f96) I am stuck with this error message:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/spconv
copying spconv/functional.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/ops.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/pool.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/modules.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/conv.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/test_utils.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/__init__.py -> build/lib.linux-x86_64-3.7/spconv
creating build/lib.linux-x86_64-3.7/spconv/utils
copying spconv/utils/__init__.py -> build/lib.linux-x86_64-3.7/spconv/utils
running build_ext
/scratch_net/hox/mhahner/repositories/spconv_v1.0/build/lib.linux-x86_64-3.7
Release
-- The CXX compiler identification is GNU 6.3.0
-- The CUDA compiler identification is NVIDIA 10.1.243
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/bin/nvcc
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/bin/nvcc - works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv (found version "10.1")
-- Caffe2: CUDA detected: 10.1
-- Caffe2: CUDA nvcc is: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/bin/nvcc
-- Caffe2: CUDA toolkit directory: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv
-- Caffe2: Header version is: 10.1
-- Found CUDNN: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/lib/libcudnn.so
-- Found cuDNN: v7.6.5  (include: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/include, library: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/lib/libcudnn.so)
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX;7.5;7.5+PTX
-- Added CUDA NVCC flags for: -gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_70,code=compute_70;-gencode;arch=compute_75,code=compute_75
CMake Warning (dev) at /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (torch) does
  not match the name of the calling package (Torch).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:122 (find_package_handle_standard_args)
  CMakeLists.txt:23 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found torch: /home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/lib/libtorch.so
-- Found PythonInterp: /scratch_net/hox/mhahner/apps/anaconda3/envs/spconv/bin/python3.7 (found suitable version "3.7.5", minimum required is "3.7")
-- Found PythonLibs: /home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/libpython3.7m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.3.dev0
-- Configuring done
-- Generating done
-- Build files have been written to: /scratch_net/hox/mhahner/repositories/spconv_v1.0/build/temp.linux-x86_64-3.7
Scanning dependencies of target spconv_nms
Scanning dependencies of target spconv
[  7%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o
[ 15%] Building CXX object src/spconv/CMakeFiles/spconv.dir/all.cc.o
[ 23%] Building CXX object src/spconv/CMakeFiles/spconv.dir/indice.cc.o
[ 30%] Building CUDA object src/spconv/CMakeFiles/spconv.dir/indice.cu.o
[ 38%] Linking CUDA shared library ../../../lib.linux-x86_64-3.7/spconv/libspconv_nms.so
[ 38%] Built target spconv_nms
[ 46%] Building CXX object src/spconv/CMakeFiles/spconv.dir/reordering.cc.o
/scratch_net/hox/mhahner/repositories/spconv_v1.0/src/spconv/all.cc:20:91: error: no matching function for call to ‘torch::jit::RegisterOperators::RegisterOperators(const char [28], <unresolved overloaded function type>)’
     torch::jit::RegisterOperators("spconv::get_indice_pairs_2d", &spconv::getIndicePair<2>)
                                                                                ^
In file included from /home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/script.h:6:0,
                 from /scratch_net/hox/mhahner/repositories/spconv_v1.0/include/spconv/pool_ops.h:20,
                 from /scratch_net/hox/mhahner/repositories/spconv_v1.0/src/spconv/all.cc:16:
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:20:3: note: candidate: torch::jit::RegisterOperators::RegisterOperators(std::vector<torch::jit::Operator>)
   RegisterOperators(std::vector<Operator> operators) {
   ^~~~~~~~~~~~~~~~~
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:20:3: note:   candidate expects 1 argument, 2 provided
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:17:3: note: candidate: constexpr torch::jit::RegisterOperators::RegisterOperators()
   RegisterOperators() = default;
   ^~~~~~~~~~~~~~~~~
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:17:3: note:   candidate expects 0 arguments, 2 provided
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:16:18: note: candidate: constexpr torch::jit::RegisterOperators::RegisterOperators(const torch::jit::RegisterOperators&)
 struct TORCH_API RegisterOperators {
                  ^~~~~~~~~~~~~~~~~
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:16:18: note:   candidate expects 1 argument, 2 provided
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:16:18: note: candidate: constexpr torch::jit::RegisterOperators::RegisterOperators(torch::jit::RegisterOperators&&)
/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:16:18: note:   candidate expects 1 argument, 2 provided
src/spconv/CMakeFiles/spconv.dir/build.make:79: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target spconv_utils
[ 53%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o
Segmentation fault
src/spconv/CMakeFiles/spconv.dir/build.make:105: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cu.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cu.o] Error 139
CMakeFiles/Makefile2:154: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all' failed
make[1]: *** [src/spconv/CMakeFiles/spconv.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 61%] Linking CXX shared library ../../../lib.linux-x86_64-3.7/spconv/spconv_utils.cpython-37m-x86_64-linux-gnu.so
[ 61%] Built target spconv_utils
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
  File "setup.py", line 98, in <module>
    zip_safe=False,
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
    return distutils.core.setup(**attrs)
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
    self.run_command('build')
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 39, in run
    self.build_extension(ext)
  File "setup.py", line 82, in build_extension
    subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
  File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.

Hi ,
I tried to install conda using the following instructions.
By the way I am using google colab..
!wget -c https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
!chmod +x Anaconda3-5.1.0-Linux-x86_64.sh
!bash ./Anaconda3-5.1.0-Linux-x86_64.sh -b -f -p /usr/local
sys.path.append('/usr/local/lib/python3.6/site-packages')
and then I ran the first command you gave
it throws the following error:
ERROR conda.core.link:_execute(481): An error occurred while installing package 'conda-forge::cudatoolkit-dev-10.1.243-h516909a_3'
Could you please help?
And could you share the build log for spconv1.1 that was successful so that we could check if the following line has detected the GPU..
-- Automatic GPU detection failed. Building for common architectures.
Thanks

Hi ,
I tried to install conda using the following instructions.
By the way I am using google colab..
!wget -c https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
!chmod +x Anaconda3-5.1.0-Linux-x86_64.sh
!bash ./Anaconda3-5.1.0-Linux-x86_64.sh -b -f -p /usr/local
sys.path.append('/usr/local/lib/python3.6/site-packages')
and then I ran the first command you gave
it throws the following error:
ERROR conda.core.link:_execute(481): An error occurred while installing package 'conda-forge::cudatoolkit-dev-10.1.243-h516909a_3'
Could you please help?
And could you also please share the build log for spconv1.1 that was successful so that we could check if the following line has detected the GPU..
-- Automatic GPU detection failed. Building for common architectures.
Thanks

I think your issue is google colab related and I think this repository also is not really meant to be used by google colab, but I don't have much experience regarding that.
Did you make sure you are connected to a GPU under
Runtime > Change runtime type > GPU
and then hit "connect" on the top right of your iPython notebook?

@MartinHahner88 I got exactly the same error when trying to use spconv 1.1 (in a different project that originally used spconv 1.0).
I also had trouble installing spconv 1.0, but switching to pytorch 1.1.0 solved that issue for me.

Unfortunately downgrading to pytorch 1.1.0 did not resolve the issue for me,
then I ran into a bunch of other CUDA related issues.
But instead, I was able to build spconv v1.0 with a fairly up-to-date conda environment, namely:

python 3.7.6
pytorch 1.4.0
CUDA 10.1.243
cudnn 7.6.5

For more details, see here.
But now, after downgrading to spconv v1.0, I can only successfully train PointPillars and SECOND,
but PartA^2Net still crashes with:
Traceback (most recent call last):
File "train.py", line 215, in <module>
main()
File "train.py", line 210, in main
max_ckpt_save_num=arguments.max_ckpt_save_num)
File "/scratch_net/hox/mhahner/repositories/PCDet/tools/train_utils/train_utils.py", line 80, in train_model
leave_pbar=(cur_epoch + 1 == total_epochs)
File "/scratch_net/hox/mhahner/repositories/PCDet/tools/train_utils/train_utils.py", line 36, in train_one_epoch
loss, tb_dict, disp_dict = model_func(model, batch)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/__init__.py", line 25, in model_func
ret_dict, tb_dict, disp_dict = model(input_dict)
File "/home/mhahner/scratch/apps/anaconda3/envs/spconv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/detectors/PartA2_net.py", line 112, in forward
batch_size, voxel_centers, coords, rpn_ret_dict, input_dict
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/detectors/PartA2_net.py", line 98, in forward_rcnn
rcnn_ret_dict = self.rcnn_net.forward(rcnn_input_dict)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/rcnn/partA2_rcnn_net.py", line 323, in forward
targets_dict = self.assign_targets(batch_size, rcnn_dict)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/rcnn/partA2_rcnn_net.py", line 27, in assign_targets
targets_dict = proposal_target_layer(rcnn_dict, roi_sampler_cfg=self.rcnn_target_config)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/model_utils/proposal_target_layer.py", line 14, in proposal_target_layer
sample_rois_for_rcnn(rois, gt_boxes, roi_raw_scores, roi_labels, roi_sampler_cfg)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/model_utils/proposal_target_layer.py", line 82, in sample_rois_for_rcnn
cur_gt[:, 0:7], cur_gt_labels)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/models/model_utils/proposal_target_layer.py", line 183, in get_maxiou3d_with_same_class
iou3d = iou3d_nms_utils.boxes_iou3d_gpu(cur_roi, cur_gt) # (M, N)
File "/scratch_net/hox/mhahner/repositories/PCDet/pcdet/ops/iou3d_nms/iou3d_nms_utils.py", line 47, in boxes_iou3d_gpu
overlaps_h = torch.clamp(min_of_max - max_of_min, min=0)
RuntimeError: CUDA error: no kernel image is available for execution on the device

My conda environment looks like this:
# packages in environment at /home/mhahner/scratch/apps/anaconda3/envs/spconv:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
beautifulsoup4            4.9.1                    pypi_0    pypi
bzip2                     1.0.8                h516909a_2    conda-forge
ca-certificates           2020.1.1                      0
cachetools                4.1.0                    pypi_0    pypi
certifi                   2<IP_ADDRESS>               py37_0
chardet                   3.0.4                    pypi_0    pypi
cmake                     3.17.0               h28c56e5_0    conda-forge
coloredlogs               14.0                     pypi_0    pypi
cudatoolkit               10.1.243             h6bb024c_0
cudatoolkit-dev           10.1.243             h516909a_3    conda-forge
cudnn                     7.6.5                cuda10.1_0
cycler                    0.10.0                   pypi_0    pypi
decorator                 4.4.2                    pypi_0    pypi
easydict                  1.9                      pypi_0    pypi
expat                     2.2.9                he1b5a44_2    conda-forge
google                    2.0.3                    pypi_0    pypi
google-auth               1.15.0                   pypi_0    pypi
google-auth-oauthlib      0.4.1                    pypi_0    pypi
gspread                   3.6.0                    pypi_0    pypi
httplib2                  0.18.0                   pypi_0    pypi
humanfriendly             8.2                      pypi_0    pypi
idna                      2.9                      pypi_0    pypi
imagecodecs               2020.2.18                pypi_0    pypi
imageio                   2.8.0                    pypi_0    pypi
kiwisolver                1.2.0                    pypi_0    pypi
krb5                      1.17.1               h2fd8d38_0    conda-forge
ld_impl_linux-64          2.34                 h53a641e_0    conda-forge
libblas                   3.8.0               16_openblas    conda-forge
libcblas                  3.8.0               16_openblas    conda-forge
libcurl                   7.69.1               hf7181ac_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgfortran-ng            7.5.0                hdf63c60_6    conda-forge
liblapack                 3.8.0               16_openblas    conda-forge
libopenblas               0.3.9                h5ec1e0e_0    conda-forge
libssh2                   1.9.0                hab1572f_2    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libuv                     1.34.0               h516909a_0    conda-forge
llvm-openmp               10.0.0               hc9558a2_0    conda-forge
llvmlite                  0.32.1                   pypi_0    pypi
matplotlib                3.2.1                    pypi_0    pypi
mkl                       2020.1                      219    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
networkx                  2.4                      pypi_0    pypi
ninja                     1.10.0               hc9558a2_0    conda-forge
numba                     0.49.1                   pypi_0    pypi
numpy                     1.18.4           py37h8960a57_0    conda-forge
oauth2client              4.1.3                    pypi_0    pypi
oauthlib                  3.1.0                    pypi_0    pypi
openssl                   1.1.1g               h7b6447c_0
pillow                    7.1.2                    pypi_0    pypi
pip                       20.1.1             pyh9f0ad1d_0    conda-forge
protobuf                  3.12.0                   pypi_0    pypi
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pyparsing                 2.4.7                    pypi_0    pypi
python                    3.7.6           h8356626_5_cpython    conda-forge
python-dateutil           2.8.1                    pypi_0    pypi
python_abi                3.7                     1_cp37m    conda-forge
pytorch                   1.4.0           py3.7_cuda10.1.243_cudnn7.6.3_0    pytorch
pywavelets                1.1.1                    pypi_0    pypi
pyyaml                    5.3.1                    pypi_0    pypi
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.23.0                   pypi_0    pypi
requests-oauthlib         1.3.0                    pypi_0    pypi
rhash                     1.3.6             h14c3975_1001    conda-forge
rsa                       4.0                      pypi_0    pypi
scikit-image              0.17.2                   pypi_0    pypi
scipy                     1.4.1                    pypi_0    pypi
setuptools                46.4.0           py37hc8dfbb8_0    conda-forge
six                       1.14.0                   pypi_0    pypi
soupsieve                 2.0.1                    pypi_0    pypi
spconv                    1.0                      pypi_0    pypi
sqlite                    3.30.1               hcee41ef_0    conda-forge
tensorboardx              2.0                      pypi_0    pypi
tifffile                  2020.5.11                pypi_0    pypi
tk                        8.6.10               hed695b0_0    conda-forge
tqdm                      4.46.0                   pypi_0    pypi
urllib3                   1.25.9                   pypi_0    pypi
wheel                     0.34.2                     py_1    conda-forge
xz                        5.2.5                h516909a_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge

I also had trouble installing spconv 1.0, but switching to pytorch 1.1.0 solved that issue for me.

@fregu856: Which version of gcc were you using to build spconv? (gcc --version)
Was it version 5.4 or another one?

I also had trouble installing spconv 1.0, but switching to pytorch 1.1.0 solved that issue for me.

@fregu856: Which version of gcc were you using to build spconv? (gcc --version)
Was it version 5.4 or another one?

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609

Finally SOLVED!
The final issue was, that we tried to build spconv on a Tesla K40 GPU,
which has a Kepler architecture and is seemingly too old to build spconv.
The reason why we always tried to build spconv on a Tesla K40 is that in our lab, it is hard to get a GPU on our GPU cluster interactively. (Usually, you can only submit jobs via qsub/SLURM.)
So we always tried to build spconv either on our local Linux clients or on old nodes which only have Tesla K40s. Then, out of despair, we tried to build spconv on a Titan X (Pascal) and we finally found a combination of requirements that worked.
So here is our solution:
conda create --name PCDet python=3.6 pytorch=1.1 cudatoolkit=9.2 cudatoolkit-dev=9.2 \
cmake --channel pytorch --channel=conda-forge
conda activate PCDet
conda install cudnn
conda install boost
git clone https://github.com/traveller59/spconv spconv_8da6f96 --recursive
cd spconv_8da6f96
git checkout 8da6f967fb9a054d8870c3515b1b44eca2103634

If necessary:
Download and extract
0001-Allow-to-specifiy-CUDA_ROOT-directory-and-pick-corre.patch.zip
and patch spconv via:
git am <PATH_TO_EXTRACTED_FILE>/0001-Allow-to-specifiy-CUDA_ROOT-directory-and-pick-corre.patch

CUDA_ROOT=<PATH_TO_YOUR_CONDA_INSTALLATION>/conda_envs/PCDet python setup.py bdist_wheel
cd dist/
pip install *

Test spconv via:
python -c 'import spconv'
(should just return and not raise any errors)
cd ../..
git clone https://github.com/sshaoshuai/PCDet.git
cd PCDet/
pip install -r requirements.txt
CUDA_ROOT=<PATH_TO_YOUR_CONDA_INSTALLATION>/conda_envs/PCDet python setup.py develop

Done!
I hope these instructions help someone else who struggles to build spconv as well.

Finally SOLVED!
The final issue was, that we tried to build spconv on a Tesla K40 GPU,
which has a Kepler architecture and is seemingly too old to build spconv.
The reason why we always tried to build spconv on a Tesla K40 is that in our lab, it is hard to get a GPU on our GPU cluster interactively. (Usually, you can only submit jobs via qsub/SLURM.) So we always tried to build spconv either on our local Linux clients or on old nodes which only have Tesla K40s. Then, out of despair, we tried to build spconv on a Titan X (Pascal) and we finally found a combination of requirements that worked.
So here is our solution:
conda create --name PCDet python=3.6 pytorch=1.1 cudatoolkit=9.2 cudatoolkit-dev=9.2 \
cmake --channel pytorch --channel=conda-forge
conda activate PCDet
conda install cudnn
conda install boost
git clone https://github.com/traveller59/spconv spconv_8da6f96 --recursive
cd spconv_8da6f96
git checkout 8da6f967fb9a054d8870c3515b1b44eca2103634

If necessary:
Download and extract
0001-Allow-to-specifiy-CUDA_ROOT-directory-and-pick-corre.patch.zip
and patch spconv via:
git am <PATH_TO_EXTRACTED_FILE>/0001-Allow-to-specifiy-CUDA_ROOT-directory-and-pick-corre.patch

CUDA_ROOT=<PATH_TO_YOUR_CONDA_INSTALLATION>/conda_envs/PCDet python setup.py bdist_wheel
cd dist/
pip install *

Test spconv via:
python -c 'import spconv'
(should just return and not raise any errors)
cd ../..
git clone https://github.com/sshaoshuai/PCDet.git
cd PCDet/
pip install -r requirements.txt
CUDA_ROOT=<PATH_TO_YOUR_CONDA_INSTALLATION>/conda_envs/PCDet python setup.py develop

Done!
I hope these instructions help someone else who struggles to build spconv as well.


Fix sdk node

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[ ] npm test runs as expected.
[ ] npm run build runs as expected.

fix proxy initialisation. The clerkClient never initialised before
align esm/cjs build config with the other related packages
various cleanups
enable isolatedModules for clerk/clerk-sdk-node

A proxy is used for the top-levle clerkClient object as we want to read the env variables only when clerkClient is actually used for the first time.
The alternative approach would be to turn all env-related props into getters, however, we're making heavy use of the ... destructuring operator. When a getter is destructured into a new object, the value is copied and not the getter function.

!snapshot

Hey @nikosdouvlis - the snapshot version command generated the following package versions:

Package
Version

@clerk/backend
0.23.1-snapshot.7ba268e

@clerk/chrome-extension
0.3.9

@clerk/clerk-js
4.47.0

eslint-config-custom
0.3.0

@clerk/clerk-expo
0.18.0

@clerk/fastify
0.4.8-snapshot.7ba268e

gatsby-plugin-clerk
4.3.10-snapshot.7ba268e

@clerk/localizations
1.18.0

@clerk/nextjs
4.21.2-snapshot.7ba268e

@clerk/clerk-react
4.20.0

@clerk/remix
2.6.8-snapshot.7ba268e

@clerk/clerk-sdk-node
4.10.7-snapshot.7ba268e

@clerk/shared
0.19.0

@clerk/themes
1.7.5

@clerk/types
3.42.0

Tip: use the snippet copy button below to quickly install the required packages.
# @clerk/backend
npm i<EMAIL_ADDRESS>
# @clerk/chrome-extension
npm i<EMAIL_ADDRESS>
# @clerk/clerk-js
npm i<EMAIL_ADDRESS>
# eslint-config-custom
npm i<EMAIL_ADDRESS>
# @clerk/clerk-expo
npm i<EMAIL_ADDRESS>
# @clerk/fastify
npm i<EMAIL_ADDRESS>
# gatsby-plugin-clerk
npm i<EMAIL_ADDRESS>
# @clerk/localizations
npm i<EMAIL_ADDRESS>
# @clerk/nextjs
npm i<EMAIL_ADDRESS>
# @clerk/clerk-react
npm i<EMAIL_ADDRESS>
# @clerk/remix
npm i<EMAIL_ADDRESS>
# @clerk/clerk-sdk-node
npm i<EMAIL_ADDRESS>
# @clerk/shared
npm i<EMAIL_ADDRESS>
# @clerk/themes
npm i<EMAIL_ADDRESS>
# @clerk/types
npm i<EMAIL_ADDRESS>

!snapshot

Hey @nikosdouvlis - the snapshot version command generated the following package versions:

Package
Version

@clerk/backend
0.23.1-snapshot.44b1c3c

@clerk/chrome-extension
0.3.9

@clerk/clerk-js
4.47.0

eslint-config-custom
0.3.0

@clerk/clerk-expo
0.18.0

@clerk/fastify
0.4.8-snapshot.44b1c3c

gatsby-plugin-clerk
4.3.10-snapshot.44b1c3c

@clerk/localizations
1.18.0

@clerk/nextjs
4.21.2-snapshot.44b1c3c

@clerk/clerk-react
4.20.0

@clerk/remix
2.6.8-snapshot.44b1c3c

@clerk/clerk-sdk-node
4.10.7-snapshot.44b1c3c

@clerk/shared
0.19.0

@clerk/themes
1.7.5

@clerk/types
3.42.0

Tip: use the snippet copy button below to quickly install the required packages.
# @clerk/backend
npm i<EMAIL_ADDRESS>
# @clerk/chrome-extension
npm i<EMAIL_ADDRESS>
# @clerk/clerk-js
npm i<EMAIL_ADDRESS>
# eslint-config-custom
npm i<EMAIL_ADDRESS>
# @clerk/clerk-expo
npm i<EMAIL_ADDRESS>
# @clerk/fastify
npm i<EMAIL_ADDRESS>
# gatsby-plugin-clerk
npm i<EMAIL_ADDRESS>
# @clerk/localizations
npm i<EMAIL_ADDRESS>
# @clerk/nextjs
npm i<EMAIL_ADDRESS>
# @clerk/clerk-react
npm i<EMAIL_ADDRESS>
# @clerk/remix
npm i<EMAIL_ADDRESS>
# @clerk/clerk-sdk-node
npm i<EMAIL_ADDRESS>
# @clerk/shared
npm i<EMAIL_ADDRESS>
# @clerk/themes
npm i<EMAIL_ADDRESS>
# @clerk/types
npm i<EMAIL_ADDRESS>

!snapshot

Hey @nikosdouvlis - the snapshot version command generated the following package versions:

Package
Version

@clerk/backend
0.23.1-snapshot.49b43c0

@clerk/chrome-extension
0.3.9

@clerk/clerk-js
4.47.0

eslint-config-custom
0.3.0

@clerk/clerk-expo
0.18.0

@clerk/fastify
0.4.8-snapshot.49b43c0

gatsby-plugin-clerk
4.3.10-snapshot.49b43c0

@clerk/localizations
1.18.0

@clerk/nextjs
4.21.2-snapshot.49b43c0

@clerk/clerk-react
4.20.0

@clerk/remix
2.6.8-snapshot.49b43c0

@clerk/clerk-sdk-node
4.10.7-snapshot.49b43c0

@clerk/shared
0.19.0

@clerk/themes
1.7.5

@clerk/types
3.42.0

Tip: use the snippet copy button below to quickly install the required packages.
# @clerk/backend
npm i<EMAIL_ADDRESS>
# @clerk/chrome-extension
npm i<EMAIL_ADDRESS>
# @clerk/clerk-js
npm i<EMAIL_ADDRESS>
# eslint-config-custom
npm i<EMAIL_ADDRESS>
# @clerk/clerk-expo
npm i<EMAIL_ADDRESS>
# @clerk/fastify
npm i<EMAIL_ADDRESS>
# gatsby-plugin-clerk
npm i<EMAIL_ADDRESS>
# @clerk/localizations
npm i<EMAIL_ADDRESS>
# @clerk/nextjs
npm i<EMAIL_ADDRESS>
# @clerk/clerk-react
npm i<EMAIL_ADDRESS>
# @clerk/remix
npm i<EMAIL_ADDRESS>
# @clerk/clerk-sdk-node
npm i<EMAIL_ADDRESS>
# @clerk/shared
npm i<EMAIL_ADDRESS>
# @clerk/themes
npm i<EMAIL_ADDRESS>
# @clerk/types
npm i<EMAIL_ADDRESS>

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Update Post “2020-10-14-draft-example”

Automatically generated by Netlify CMS

👷 Deploy Preview for mystifying-heyrovsky-e13280 processing.
🔨 Explore the source changes: 18c1f61141d099848f80c7bc65c0c917845b8a49
🔍 Inspect the deploy log: https://app.netlify.com/sites/mystifying-heyrovsky-e13280/deploys/622fb28c9c39c30009a5c05d


ng build is working but ng-build --prod not

Please provide us with the following information:
ng-build --prod not working.

OS?

Linux (UBUNTU 14.0)

Versions.
angular-cli: 1.0.0-beta.21
node: 6.9.1
os: linux x64
Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.
13374ms building modules
60ms sealing
0ms optimizing
1ms basic module optimization
136ms module optimization
1ms advanced module optimization
20ms basic chunk optimization
0ms chunk optimization
12ms advanced chunk optimization
3320ms building modules
1ms module and chunk tree optimization
189ms module reviving
2ms module order optimization
6ms module id optimization
7ms chunk reviving
35ms chunk order optimization
35ms chunk id optimization
1116ms hashing
2ms module assets processing
292ms chunk assets processing
5ms additional chunk assets processing
3ms recording
1649ms additional asset processing
519ms chunk asset optimization
94% asset optimizationKilled
I am getting optimizationKilled error when build with prod

Thanks!

I think this is a memory issue. Linux will kill processes when it's low on memory. See http://stackoverflow.com/questions/30747314/webpack-uglify-plugin-returns-killed-on-ubuntu

@filipesilva thanks i will check it


Add tolerance support to TorchTensorEqualHandler

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

Comparison is base (7086ab6) 100.00% compared to head (ba008e9) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #426   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           73        73
  Lines         2577      2579    +2
  Branches       416       416
=========================================
+ Hits          2577      2579    +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How can i generate caption for any(my) image?

In coco_caption dataset,  train.yaml file shows that train.img.tsv is an image, but i couldn`t found train.img.tsv.

Where can i find the train(val or test).img.tsv?

feature: train.feature.tsv

391895	{"num_boxes": 37, "features": "W6aDPlMKLj6FySc9zdycPyewQj7zsqw/8FjLQE+ABUEspTk+AAAAAEg0Dz8FzHo

Can you explain how you changed original image to feature?

What I want to do is look at the image, caption example, like in your paper Fig5.
3. how can i generate caption for any sample image?

Currently we only support to inference with image features. You can use the bottom-up top-down approach to extract features and labels first and then use our pipeline to generate the captions.

Hey @xiyinmsu
Could the following repo work for feature extraction https://github.com/airsplay/py-bottom-up-attention?


Error with unimplemented type

Hi! I am trying to run/prepare a query returning lists of structs, but this appears unimplemented. Is this something known and planned, or might I be going about it the wrong way?
Error preparing statement: Not implemented Error: Unimplemented
type for histogram STRUCT(chromosome VARCHAR, "position" INTEGER,
reference VARCHAR, alternate VARCHAR...
<SNIP long list of FLOAT type columns>

Query:
SELECT a.chromosome, a.name, a.start, a.stop,
       list_distinct(list(e))::json as exomes
FROM alignments as a
INNER join exomes e on e.chromosome = r.chromosome AND e.position BETWEEN a.start AND a.stop
GROUP BY ALL

It is something known and as yet unplanned.


Allow deliveries without purchase

Sometimes there can be deliveries with no specific purchase. An example would be waranty hardware replacements. I therefore suggest making Delivery.purchase an optional field.

Should a Delivery without purchase have a Supplier or not? Do we need to add Delivery.supplier field?

Hmm. Good point, I hadn't thought of that. It would make sense to have a supplier, since someone has to send the parts.
Perhaps another (and cleaner) way to implement this would be to use purchases linked to the warranty case instead of having a price attached? However, in this case I think we should add an option to select a manufacturer instead of a supplier for the purchase if the hardware is shipped directly from the manufacturer?

I'll close this. Giving some thoughts on it, this is a rare use case. In this case a purchase without price can be added and the supplier selected. If there's no supplier for some reason, it needs to be added as for other NetBox models. This would be much simpler than changing the code of this plugin.


Retract adal versions with token refresh errors

Signed-off-by: Bernd Verst<EMAIL_ADDRESS>This retracts a range of adal library versions which have errors in the handling of Token Refresh calls.
These errors can results in a huge range of subtle failures, such as inability to refresh a service principal token obtained via managed identity / MSI.
This retraction does not break builds using this particular version, but will print a warning to anyone impacted. v0.9.20 is the first working version.
For this retraction to become effective a new release v0.9.22 (since v0.9.21 is the latest right now) needs to be tagged.

Can we bump the build pipeline to use Go 1.16? Then the errors won't happen.


legends: only show legends which are used

In test_basics.py:
df = _build_testing_df()
gg = ggplot(aes(x='x', y='y', shape='cat', color='cat2'), data=df)
assert_same_ggplot(gg + stat_bin2d(), "stat_bin2d")

-> Will show legens for shape and color but both are actually not used by stat_bin2d. The unittest picture also has to be adjusted.

fixed


How is the property "Reserved" used for a Site? What does it do?

[Enter feedback here]

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

ID: f504092c-384b-52c0-76c8-eb9f6a8cf910
Version Independent ID: 681711c8-b872-c003-a55a-a0083de3e9fc
Content: Site.Reserved Property (Microsoft.Azure.Management.WebSites.Models) - Azure for .NET Developers
Content Source: xml/Microsoft.Azure.Management.WebSites.Models/Site.xml
Service: app-service
Sub-service: web-apps
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Kindly check https://github.com/Azure/azure-sdk-for-net/pull/35913

Thank you for reaching out to us about the Azure SDK for .NET. Unfortunately, your query is related to the service side and not the SDK side, so we are not able to help you with it. Therefore, we are closing this issue for now. If you need more assistance, please open an Azure support request. We apologize for any inconvenience this may cause you.
We value your feedback and we want to make sure that your problem is solved. If you think that we have misunderstood your issue or closed it incorrectly, please feel free to comment on this thread and reopen the issue. We will be happy to assist you further. Thank you for your understanding and cooperation.


fixes Bug 1170186 - Upgrade to HumanizeDuration 3.0.0

Upgrading to HumanizeDuration 3.1.0

Hi @anu7495 welcome to the club!
Now we just need to get you a more advanced bug to work on :)
If you go to https://air.mozilla.org/contribute.json you'll see a link to good first bugs on bugzilla.
That list is rapidly shrinking but I'll try to add some more.
So, what kinda of skills do you have and want to have?

Hi @peterbe!
Thanks! I will look at other bugs on bugzilla.
Right now i know HTML/CSS and Javascript and i hope to start learning Python Soon.


New release for eo-0.41.2

New release for eo-0.41.2

PR-Codex overview
This PR focuses on updating the version of various eo files from 0.41.1 to 0.41.2, reflecting improvements and changes in the eo project. It also includes some minor adjustments in the logic of certain functions.
Detailed summary

Updated version from 0.41.1 to 0.41.2 in multiple files.
Adjusted logic in objects/org/eolang/tuple.eo for length and at-fast functions.
Modified arithmetic operations in objects/org/eolang/i16.eo to simplify expressions.

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

@rultor release, tag is 0.41.2

@rultor release, tag is 0.41.2

@yegor256 Done! FYI, the full log is here (took me 5min).


How to set cookies?

I use the page.set('cookies', [{'est: 'test'}]), but it it doesn't  work.

Thanks for the advice @thadk


Repeat does not interact correctly with replace from visual mode

A common useage pattern for me with VIM is to search for a term, replace it using a visual selection, and then using next and repeat to continue to replace down a document.  Unfortunately, when I try this combination in VIM-mode, my cursor just jumps back to the previous replacement's last character, making me believe that it is repeating the replace in its absolute position, rather than repeating it at the cursor.

Thank you, yes, that's a known issue #737 with a fix in the queue #740.

Ah I see now, got thrown off by the discussion of multi-line details in that issue.


Support inlay hints in solidity

VSCode has added an api for enhancing source code with inlays. Typescript uses it to display inferred types for variables, among other things:

Are there any places in solidity development we can leverage this feature?

the language status item is the preferred way to present language status reports for the active text editors, such as selected linter or notifying about a configuration problem.
There are two options:
1: inlay hints that are hh specific
2: inlay hints that are solidity specific
for the 2nd option you can see this extension: https://github.com/ConsenSys/vscode-solidity-auditor
Additional resources:
<EMAIL_ADDRESS>commit: https://github.com/microsoft/vscode/commit/17ed7bf82c385b9b29a458109c6d6a76049856c7
ref: https://github.com/microsoft/vscode/issues/129037
more info: code.visualstudio.com/updates/v1_65


Update s3, sqs to 2.15.64

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sqs

from 2.15.61 to 2.15.64.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #39.

Superseded by #39.


CI problem with GH actions and macOS

You recommend to set DYLD_FALLBACK_LIBRARY_PATH
https://github.com/twistedfall/opencv-rust#:~:text=On macOS you're,xctoolchain/usr/lib/"
Unfortunately Apple's System Integrity Protection disallows to set this environment variable and Github's images don't disable SIP.
Refer to:
https://apple.stackexchange.com/questions/212945/unable-to-set-dyld-fallback-library-path-in-shell-on-osx-10-11-1
https://github.com/actions/virtual-environments/issues/650
Please also check this little GH script:
name: Test

on:
  workflow_dispatch

jobs:
  test_job:
    runs-on: macos-latest
    steps:
      - name: Test
        run: |
          echo "PATHX=$(xcode-select --print-path)/Toolchains/XcodeDefault.xctoolchain/usr/lib/" >> $GITHUB_ENV

      - name: Test
        run: |
          echo "DYLD_FALLBACK_LIBRARY_PATH=$PATHX" >> $GITHUB_ENV

      - name: Test
        run: |
          echo ${PATHX:-is_empty}
          echo ${DYLD_FALLBACK_LIBRARY_PATH:-is_empty}

The DYLD_FALLBACK_LIBRARY_PATH variable is always empty, even set correctly.
Would there be another way to satisfy the requirement of providing the lib path to the compiler?

Got a hint from the Github Actions community, which seem to be a nice work around for SIP:
https://github.community/t/unable-to-set-special-environment-variable/252620/4

The same binary works fine on an Intel MBP. I guess this is due to the different locations brew installs things on M1 and Intel. Since GH Actions does not have an M1 image, binaries created for "macos-latest" will only run on Intel hardware, as long as they are having external dependencies resolved by brew.
While the app (compiled on an Intel hardware) tries to find the opencv binaries under /usr/local/opt/opencv/lib, those are under /opt/homebrew/Cellar/opencv/4.5.5_2/lib/ on M1.

Thanks for the report, I'll include the reference to this issue to the readme.

The same binary works fine on an Intel MBP. I guess this is due to the different locations brew installs things on M1 and Intel. Since GH Actions does not have an M1 image, binaries created for "macos-latest" will only run on Intel hardware, as long as they are having external dependencies resolved by brew.
While the app (compiled on an Intel hardware) tries to find the opencv binaries under /usr/local/opt/opencv/lib, those are under /opt/homebrew/Cellar/opencv/4.5.5_2/lib/ on M1.

I am encountering the same issue.


Pandas dataframe doesn't display on website

https://allendowney.github.io/ModSimPy/chap17.html#data
data.head()

Actually, no results seem to display on that page.

Fixed. Thank you!


Issue 663 - Add overrides to edgex-docker-launch.sh

Re Issue #663.
EDGEX_COMPOSE_FILE overrides the default compose file.
EDGEX_CORE_DB identifies the DB for Core Services.
EDGEX_SERVICES lists the service to start
E.g. Start everything but metadata and data, use Redis for Core Services and a local compose file
EDGEX_SERVICES="logging command export-client export-distro notifications"
EDGEX_CORE_DB=redis EDGEX_COMPOSE_FILE=docker/local-docker-compose.yml
bin/edgex-docker-launch.sh

@andresrinivasan This looks duplicated with the changes included in #649. Please confirm. Marking as hold for now.

Correct. I copied the file from #649 to this PR to explicitly document the change.

@tsconn23 Correct

With Delhi.1 branch I've broken this out from the Redis PR. Closing this one.


SVG file and version hashing (any reason not to hash them?)

Describe the problem
Currently it seems that SVG files do not get their filenames appended with their hash for versioning purposes, unlike other files.
Is this intentional or can we fix it?
Describe the proposed solution
Add a version hash to SVG file names (and update their references) for production builds.
Importance
nice to have

Where are the SVG files and how are you referring to them? If they're in static and you're just referring to them with , then yes, this is intentional.

Yes, they're in static/ and yes I'm using them via img tags.
Any insight on the reason this is intentional?
Is there any way to force them to be hashed?

Yes, import them using Vite's asset handling logic:

It wouldn't make any sense to hash files in static, as you'd have no way to get the hashed filename (it's not like you can reliably replace every occurence of a URL that corresponds to a static asset whether it appears in HTML, CSS, JS or a blob of JSON or whatever), and in general you don't want them to be hashed — you wouldn't hash static/robots.txt or static/favicon.png for example.


Allow runtimemode_connect to be used with security enabled

Currently it is not possible to connect from an external application to a running HPX application if security is enabled. The error raised says that there is no know certificate for the source locality on the receiver.

This can be closed as 'wontfix' as we have removed the security implementation altogether.


Mobile stepper variant prop broken

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
Steps:

Current behavior 😯
Hello, I was using your mobile stepper component
import MobileStepper from '@mui/material/MobileStepper';
and it looks with some minor updated that someone broken the variant prop, which is now called wvariant as shown in picture. Also I tried to use the variant prop with progress variant, but unfortunately without success. Can you look into this? Thank you :)

Expected behavior 🤔
WVariant prop should be called variant and should work as in previous versions
Context 🔦
Usage of MobileStepper
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Hello, I am using MaterialUI component MobileStepper and seems like props on this component are incorrectly spelled (typo). I used to call prop variant in previous version, but now it is called wvariant and if I set it to wvariant='progress' it is not working. Here is image from my compiled code where TypeScript is giving me error when I try to set variant prop

An image is not enough, please share a codesandbox with a reproduction. It could be something changed locally in your project. For e.g. it works as expected here: https://codesandbox.io/s/dark-firefly-033o4l


Flow coverage appears not to know about $Compose

I may be misdiagnosing the problem. Here's what I'm seeing.
When I use recompose.compose() in my app, Atom tells me that it's not covered by Flow. It's defined as $Compose, and Flow does appear to be able to see that definition.
When I open the $Compose test file in Atom, I see that most of the file is considered not covered by Flow. flow coverage basic.js reports Covered: 79.17% (38 of 48 expressions; given the code, I would expect 100%.

Same issue here.

Please open this ticket. Code coverage issue happens till date.

@lo-corp I can't repro it with compose


Thanks for making this splendid tool

It takes a lot of effort to integrate Sonos API just to make an alternative for people who live in the command line.
Thanks for making this splendid tool and for all the hard work you put in. ☺

Great! Thanks for letting me know you're finding it useful.


Add a method to Schema that accepts validations

If not done via annotation, adding validations requires using Schema#annotate to add validations.
I think a method on schema that takes a Validation[A] and is therefore also type safe, makes sense and eases use for libs and some users.

/bounty $75 for addition, test, and doc.


Not able to update PATH on windows using EnvironmentVariableCollection

Refs #93601
Repro
Try using EnvironmentVariableCollection to update the PATH on windows.
import * as vscode from 'vscode';

const key = 'PATH';

export function activate(context: vscode.ExtensionContext) {
    const collection = vscode.window.getEnvironmentVariableCollection(true);
    collection.append(key, ';some/other/_______fancy_______/path');
}

Run the extension
Open a new PowerShell terminal and run $Env.PATH

Bug
See the standard path printed, not the modified path

Nice find, didn't consider Window's case sensitivity, using Path works around it currently.


[Netty 5] Revisit AbstractReferenceCounted

If #8543 results in ReferenceCounted remaining on the public API, we should put in some verbiage for what implementations are expected to do.
For other C++ programs, the pattern I see is that retaining an object is a memory order relaxed atomic increment, and released is an acq-rel decrement. (with a minor optimization of a relaxed decrement if it knows it's not the last one).
I believe that decrementing a ref below zero is a bug, and at least one exception should be raised, but perhaps with not much more guarantees than that.  I believe incrementing a ref past int max should have a similar stipulation.  Lastly, I believe incrementing a ref from zero to above one is an invalid state and error behavior is undefined.
cc @dklempner

For other C++ programs, the pattern I see is that retaining an object is a memory order relaxed atomic increment, and released is an acq-rel decrement

And wdyt about providing an implementaion with only relaxed reference counting ops ie no full barriers: most thread-per-core arch would benefit by it.

@franz1981 that would definitely be useful, the increment mode could be reduced to plain rather than opaque.    In the past I have made just a dummy class to do this:
class Ref {
   long counter;
}

Java doesn't have standard way of doing this.


Use 'CopyConst' to Visitors over both const and non-const IR

Re-opening of #609 with the visitor change as a base for easier review.
Accidentally created #611 with the wrong base. Please disregard.

Added tests thanks to @markww. Great stuff :)

Adding @bgogul in place of @markww.


Checkstyle and findbugs refactoring

Checkstyle warnings: 320 -> 11
Findbugs warnings: 26 -> 9
Remaining checkstyle and findbugs warnings:

Checkstyle

waggle-dance-core-checkstyle.html.zip
waggle-dance-integration-checkstyle.html.zip

Findbugs

waggle-dance-core-findbugs.html.zip
waggle-dance-integration-findbugs.html.zip

I will add some comments about why some changes were made on Monday.

Coverage increased (+0.01%) to 79.775% when pulling a1f73a80d2e666818c367cd24164b77495fd51e8 on checkstyle-refactoring into d5f9ce25bf244895add0548cf0c04c625410729c on master.


Create Rmd in that does skill assessment diagnostics for comparing model fits to the OM values.

@sgaichas to build on work from the Poseidon adventure.

starting this by modifying current hydraplots.R:
hydraplots <- function(data, report, outfile = "../outputs/junk.html", plot_comps=TRUE, skill=FALSE, truth=NULL) {
  #data_object = "../test-data/hydraDataList.rda"
  data_object = data
  #repfile <- "../test-data/hydra_sim.rep"
  repfile <- report

  if(skill){
    truth <- truth
  }
  #outfile = "../outputs/junk.html"
  rmarkdown::render(input = "R/hydra-diagnostics.Rmd",
                    output_file = outfile)
}

and adding code blocks to hydra-diagnostics.Rmd with {r, eval=skill) leading codeblock
(thanks for the template with plot_comps)
and working on adding true time series to the derived quantities plots if skill=TRUE
This should all be backwards compatible? (but seems kinda wrong to write truth=NULL)


Added

Please remove line 43 and insert the following HTML code:

Contributor

Hey @abhaygzb15 , would you like me to merge the pull request right away? Keep in mind that if I merge it now, it won't count towards your Hacktoberfest contributions since Hacktoberfest officially starts on October 1st.
If you're flexible, I'll merge it after 1st October to count in.

Yeah actually i forgot it..Thanks @ayushsarode for reminding me..Yes please do it after 1st october

Yeah actually i forgot it..Thanks @ayushsarode for reminding me..Yes please do it after 1st october

Sure!
I'll merge it after 1 Oct.

Thank you for your valuable contribution!


Python scripts code refactor

And OpenAPI update

Summary

Refactored variables and functions name in python scripts to match snake_case (for variables and functions) and CamelCase for classes.
Also, update the openAPI script to generate OpenAPI JSON file. It is now compliant with the current version (it will be updated in the future to match v0.4.x and newer versions).

Related issue :
#250 #253

LGTM

Since we are here, @Surax98 what about a github action that build the json spec and store it as a release artifact?
So then we can point the documentation to the latest build artifact.

Since we are here, @Surax98 what about a github action that build the json spec and store it as a release artifact?
So then we can point the documentation to the latest build artifact.

Sure thing. Same PR or another one?

Another one, thanks

Another one, thanks

Ok, no problem. Would it be ok to actually execute the script upon every push and directly in-place commit and push the generated JSON?

no automatic commits, I'd put the json as a release artifact (meaning, the exact position of the binaries), and then doc will take the reference from the public endpoint of the release.


Create FAQ

Address questions pertaining to running demos on physical hardware such as this one
https://answers.ros.org/question/351523/integrating-rmf-and-navigation-stack/
and other integration related questions.

+1 from on the nav stack side, especially as we're in the middle of design discussions to create much of this same capability ourselves...

Hi @SteveMacenski ,
We finally have a living documentation of RMF that will be regularly updated over time. You can check it out here https://osrf.github.io/ros2multirobotbook/


1.16.2 implementation

Download Link https://github.com/wherkamp/Holograms/releases/tag/2.13.1
Fixes: https://github.com/sainttx/Holograms/issues/109

Works on 1.16.3

Closing and Recreating


⚠ Bofrost.be has degraded performance

In 8f746e8, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1478 ms

Resolved: Bofrost.be performance has improved in f244971.


Setup Prettier

Format the repository using the same Prettier rules as AHK++.

Thanks, does that mean I have to use Prettier for formatting? I prefer the formatter that comes with VS Code.

Yeah you have to use the Prettier extension. I'm not sure what formatter comes with VS Code, but Prettier is very common and handles many languages. I plan to have it handle AHK eventually as well ;)


Use EncodeUri() if part of the URL path or EncodeUriComponent() if used as a URL parameter

When reviewing your template we've noticed that it is using user-defined parameters to build a URL. It's best practice to use encodeUri() if part of the URL path or encodeUriComponent() if used as a URL parameter.

Look like code indentation/format needs fix.


What kit did you buy? I'd be happy aiding in getting something produced.

Hi @OhYou-0 !
I stumbled over your post on the ThinkPads forums, and it made my day!
I have the last month been in contact with an eBay seller that sold one of those kits, to determine if it could be used for the X301 and the 14" 1920x1200 AUO B140UAN02 which I have in my X1C gen 9 (I'd happily cut a bit of bezel to get that on my X301).
The seller and I had a prolonged conversation where they offered to make a prototype for 100 USD, but in the end, there was some issue their engineer couldn't solve. I'd be very happy to take up contact with them again based on your mod.
I'm not much of a solderer myself, and I also get confused by the compatibility of the different standards (e.g. will the X301 LVDS support eDP of 1920x1200? or Only 1920x1080?), but I would be more than happy to take contact to producers.
If I understand correctly, then the kit works as it should, but the mainboard-to-kit cable needs to be rewired---and that's it?
Could you share a link to the kit you've used?

I bought from here https://www.aliexpress.us/item/2251832650353585.html
the markings on the back of the board are LTE-2KT COOERQI 02/2021
a 14in 16:10 is a good fit for the lid but I had no luck with it working on a NE140WUM-N63. I had backlight and brightness control but it remained black. The panel datasheet confirms it is electrically compatible  and I tested the panel to be working in a t460s.
I see no reason electrically why x301 LVDS would not support 1920x1200, it probably would even do 1440p using the other kit.
The 1920x1080 is strictly a limit to how the bridge chip is programmed.
the kit works fine with at least the panel I've tested, I only had to rewire the cable.
I'd love to see one made available to buy, it will be huge for libreboot users.

OK, yes, I see they sell two kits:

FHD kit, up to 1920x1080.
WQHD, up to 2560x1440

And OK, I see the NE140WUM-N63 is 1920x1200, so yeah, perhaps the WQHD kit would serve better for that. Nice that backlight and brightness works!
Super that you think the build-in LVDS would support at least 1920x1200. I'd aim trying at that, first, then, with a WQHD kit which I will order.
About the mod of the cable then, do I understand it correctly that what must be changed on the "X301-LVDS to Kit" cable is only:

In the end that connects to the kit,

The red wire connected to Pin 6 needs its pin gender reversed.
The blue wire connected to Pin 15 needs its pin gender reversed.

no the wqhd kit is 40 pin 4ch edp, it will not plug into 1920x1200 as they are 30 pin.
you could try and determine if the cable can be swapped but I am not sure if it would help as to me the chips look identical
have a look at the two schematics, you will see which pins need to be relocated . work is only done on the x301 side, it would not work to rewire the kit side as there are wires not present on x301 outputs.

Hm. Do you think that's something a 40 to 30 pin converter like this one could help with?
I took a good look at the schematics and now think I understand the cable better: It's the rewiring shown there, plus gender reversal of those two cables, right?


[TEST] upgrade dmlc-core

Description
Upgrade the dmlc-core dependency to the latest commit.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Comments

relevant fixes for MXNet: https://github.com/dmlc/dmlc-core/pull/511 https://github.com/dmlc/dmlc-core/commit/8afbca699d9d9b720024e32d47a49f29b59c4c9e thanks to @hcho3
required by #14173

Looks like the CMakeFile in dmlc-core has been changed in multiple PRs that causes amalgamation to break:

https://github.com/dmlc/dmlc-core/pull/476" error: sys/endian.h: No such file or directory"
https://github.com/dmlc/dmlc-core/pull/495 "error: 'backtrace_symbols' was not declared in this scope"
https://github.com/dmlc/dmlc-core/pull/470   error: "Shlwapi.h: No such file or directory"

@mxnet-label-bot add[pr-awaiting-merge]

@eric-haibin-lin Platform-specific headers such as Shlwapi.h should have been wrapped with platform-specific macros (_WIN32 etc). Does amalgamation not honor platform-specific macros?

@eric-haibin-lin This patch should fix amalgamation:
diff --git a/amalgamation/amalgamation.py b/amalgamation/amalgamation.py
index 0a4be02b8..edf01941d 100644
--- a/amalgamation/amalgamation.py
+++ b/amalgamation/amalgamation.py
@@ -46,7 +46,13 @@ if platform.system() != 'Darwin':
 if platform.system() != 'Windows':
     blacklist.append('windows.h')
     blacklist.append('process.h')
+    blacklist.append('Shlwapi.h')

+if platform.system() == 'Windows':
+    blacklist.append('unistd.h')
+
+if 'freebsd' not in sys.platform:
+    blacklist.append('sys/endian.h')

 def get_sources(def_file):
     sources = []
@@ -94,6 +100,7 @@ def find_source(name, start, stage):

 re1 = re.compile('<([./a-zA-Z0-9_-]*)>')
 re2 = re.compile('"([./a-zA-Z0-9_-]*)"')
+re3 = re.compile('DMLC_EXECINFO_H')

 sysheaders = []
 history = set([])
@@ -129,6 +136,9 @@ def expand(x, pending, stage):
     with open(x, 'rb') as x_h:
         for line in x_h.readlines():
             uline = line.decode('utf-8')
+            if '#define DMLC_LOG_STACK_TRACE 1' in uline.strip():
+                # Do not enable stacktrace logging
+                continue
             if uline.find('#include') < 0:
                 out.write(line)
                 continue
@@ -138,10 +148,15 @@ def expand(x, pending, stage):
             m = re1.search(uline)
             if not m:
                 m = re2.search(uline)
-            if not m:
-                print(uline + ' not found')
-                continue
-            path = m.groups()[0]
+            if m:
+                path = m.groups()[0]
+            else:
+                m = re3.search(uline)
+                if m:
+                    path = 'execinfo.h'
+                else:
+                    print(uline + ' not found')
+                    continue
             h = path.strip('./') if "../3rdparty/" not in path else path
             if h.endswith('complex.h') and x.endswith('openblas_config.h'):
                 source = ''

Amalgamation test passed

Somehow upgrading dmlc-core breaks Julia?


Set default heading variant

The docs say the text.heading variant is applied by default to <Heading />, but the variant wasn't present.

weirdly, that passed on my local when i ran it the first time. strange. ah well

@jxnblk, merge please :heart:

Thanks!

jxnblk, when minor version with the fix is going to be released? I'd like to update Rebass  in my project with this fix.

Sorry for tagging you


unknown integration error

node_modules\midjourney-discord-api\script\src\Midjourney.js:457
        throw new Error(`imagine return ${response.status} ${response.statusText} ${await response.text()}`);
              ^

Error: imagine return 400 Bad Request {"message": "Unknown Integration", "code": 10005}
    at Midjourney.imagine (C:\Users\apekr\gpt\node_modules\midjourney-discord-api\script\src\Midjourney.js:457:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Hello, my Midjourney subscription has been terminated. If you need me to fix any errors, please provide me with access privately, and I will be able to address them. I'm unable to maintain subscriptions to all the current AI platforms.

Hello Uriel, I am running into exactly the same error recently.
Should i expect it to be fixed in the library's code, or would it be better to contact you directly?
Immensely thankful for  providing us with the library!

I think it may be related to this line with a hard-coded bot id
this.application_id = "936929561302675456";

I suspect the bot with this ID has now been removed, I guess not surprising since @UrielCh mentioned their account is terminated

I can fix it with an account.

note:
application_id = "936929561302675456"
is the id of the discord web client, not my Id.

Any hints for how we can debug this? The error seems to indicate an unrecognized (bot?) id of some sort 🤔 Their application ID has all the appropriate permissions to interact, including direct private msgs, etc.

WIP

V 1.0.7 is out

fixed


Fixes Images (#1)  &  Restructure repo dir (#17)

This PR improves the overall maintainability of the project  & contribute to a cleaner & much more efficient repository structure. This pull request introduces the following improvements to enhance the repository structure and accessibility:

Refactored CSS file paths: Reorganized the CSS files for better logical grouping, making it easier to locate and manage styling resources.
Deleted duplicate CSS files: Removed redundant CSS files to reduce clutter and avoid confusion.
Moved CSS files: Relocated CSS files to appropriate directories to improve overall repository structure and ease of access.
Added screenshots of Bobble AI features: Uploaded images showcasing Bobble AI features for documentation and visual reference purposes.

Approach
Our main objective was to create a new branch to fix the #1 issue as there are more devs working on this project now.
We also noticed that the project dir was also inconsistent and all files were cluttered in the main /root directory. So we also raised an issue for highlighting this problem #17.
After discussing both the issues with @sanaa9012. We created this branch and co-authored commits on this branch.
This PR fixes both issues #1 & #17

@mansiruhil13 please add the labels and complete the issue if the changes made are good.

add gssoc, hacktoberfest & level1 labels here too @mansiruhil13


fix(ui): handle logging disconnects gracefully. Fixes #4117

When the API finishes streaming logs from a given container, it's normal for
the server to close the connection which results in an error being emitted in the browser.
When one of those errors is received, we check whether or not the node is still pending or
running which allows us to differentiate between a disconnection that happens due to a network
error, and a disconnect that happens due to the completion of log streaming.
Fixes #4117
Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[x] My builds are green. Try syncing with master if they are not.
[ ] My organization is added to USERS.md.

@simster7 I think you've been working on implementing Jest - is that something we might be able to land soon?  Would love to write some unit tests for this code

@simster7 I think you've been working on implementing Jest - is that something we might be able to land soon? Would love to write some unit tests for this code

Unfortunately it doesn't seem like we'll be able to land Jest in the near future, the UI is currently not well-maintained and adding Jest highlights a bunch of issues with it that will need to be fixed before it's implemented. You can see my progress in https://github.com/argoproj/argo/pull/3805.
I'll try to prototype an MVP Jest just for unit testing this week and see if I can make it work, but no promises 🙂

Sure; still need to implement the ErrorNotice which I'll try to work on tonight as well.

@alexec Here's one better, I took a quick GIF of the the feature in action including retries (simulated by setting the network to offline in the console):

I can see two error messages in your screenshot?

I had left the original "Failed to load logs:" message in addition to the error notice since I felt like it gave context to what the error below was related to, though that can also be inferred based on it being the log viewer.  Can easily remove that if needed.

i don't think we should duplicate error messages - could you please remove it?

Done


Homematic Lovelace thermostat card

Home Assistant release with the issue:
0.87.0
Last working Home Assistant release (if known):
not tested lovelace before
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Component/platform:
Homematic Thermostats
Description of problem:
In the old UI it was possible to switch between all Homematic operation modes:

Auto
Manual
Boost
Party

In Lovelace you are only able to switch between Auto and Manual
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
homematic:
  interfaces:
    hmrf:
      host: X.X.X.X
      resolvenames: json
    hmgroups:
      host: X.X.X.X
      port: 9292
      path: /groups
      resolvenames: json

Traceback (if applicable):

Additional information:

/move to home-assistant-polymer


Add a command to free a worker

What changes are proposed in this pull request?
Add the freeWorker command, separated from decommissionWorker command.
Why are the changes needed?
Alluxio should provide ability to free space used for specified worker
Add a command to decommission a specific worker
Does this PR introduce any user facing changes?
Yes. We propose a cmd called "freeWorker" to synchronously free a target worker which have been decommissioned. Before running freeWorker, the decommissionWorker should be run first. decommissionWorker have not finished now, which need to be further implemented.
./bin/alluxio fs freeWorker workerName

@YichuanSun This feature looks interesting, but why you involve a huge amount of changes? Is it possible to use tiny changes to implement the same purpose?

@YichuanSun This feature looks interesting, but why you involve a huge amount of changes? Is it possible to use tiny changes to implement the same purpose?

The freeWorker command is used to delete the whole worker directory in memory. My version contains some logic of worker state change. PR 15956 reuses the freeSpace method and does not include any logic of state change, so the code is less than mine.

Can you explain the relation to #16134, I see a lot of code about decommision.

Can you explain the relation to #16134, I see a lot of code about decommision.

Before being freed, a worker must be decommissioned. https://docs.google.com/document/d/1GDVghn_9AOViOoSDvt1sqR8tSdyUmZ6D8xKN9YmhRu0/edit# has more details.

TODO：change the return value in getAndSetDecommissionStatus method from a list of decommissioned worker into a single worker.

TODO：change the return value in getAndSetDecommissionStatus method from a list of decommissioned worker into a single worker.

Fixed.

The code change looks good to me, just a non-blocking comment, will you guys add some document? it looks like a very impressive features for containerized alluxio workers.

Sure we will add documentation after the feature is complete.

The code change looks good to me, just a non-blocking comment, will you guys add some document? it looks like a very impressive features for containerized alluxio workers.

Sure we will add documentation after the feature is complete.

alluxio-bot, merge this please


Add hackerrank image fix #11

I haved added the same image that you used for HackerRank-Test-Case-Generator
set the width to 20; seemed ok to me you can change the res to high or low as you see fit

Thanks @alenthomas


Video does not play

On the example I cannot hit the play button on the video frame...
Any advice to get it working?

Found a super hacky way to do this. I made an empty style tag in my html and a toggle button to my quill toolbar. The toolbar button toggles the "pointer-events" property of ".blot-formatter__proxy-image" class. This allows me to play the video. I can toggle it again it will allow me to resize the video.
Here is some of my code for explanation  but to IMO a button that does this better in the toolbar would be much helpful feature
`var customToggleResizeButton =  document.querySelector('.ql-toggle-resize');
customToggleResizeButton.innerHTML = '<i class="fas fa-expand-arrows-alt style="height:16px; width:16px">';
var dynamicStyleSheet = getStyleSheet("dynamicStyleSheet");
customToggleResizeButton.addEventListener('click', function(e) {
if(dynamicStyleSheet.cssRules.length == 0){
dynamicStyleSheet.insertRule(".blot-formatter__proxy-image{pointer-events: none !important;}",0);
} else{
dynamicStyleSheet.deleteRule(0);
}
});`


Roll engine de4c7a53f21c..b22badf1d473 (17 commits)

https://github.com/flutter/engine/compare/de4c7a53f21c...b22badf1d473
git log de4c7a53f21c..b22badf1d473 --no-merges --oneline
b22badf1d Dart SDK roll for 2018/09/04 (flutter/engine#6161)
6d0fbc7eb Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167)
5063a8a5b Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166)
19a3bc8e1 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165)
9643a50ac Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164)
6ad3183b1 Fix windows build. (flutter/engine#6162)
30af2f299 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159)
b32ceafb1 Add some more logs for diagnosing screenshot failures (flutter/engine#6156)
c173655b2 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155)
aaf98fbfe Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154)
593ed5914 Revert "Use Skia normalize again after Skia precision fix. (#6121)" (flutter/engine#6122)
137389a85 Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153)
f89a386a1 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152)
b0b8daa7b Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079)
2dc8271a4 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151)
eea3a21e1 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148)
bdcbe801a Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5442761884958720 , https://cirrus-ci.com/task/6005711838380032

Commit queue failed; closing this roll.


Move SpanOptions inside OperationOptions

In order to make it more obvious that SpanOptions is about tracing, this change moves it under a new tracing property bag inside OperationOptions. This will also allow us to add additional tracing-related properties in the future that are not part of SpanOptions, which is defined by OpenTelemetry.
Fixes #5755

The only failing test is the one for Windows + Node8 combo that is getting cancelled due to test timing out. Going ahead with the merge.


Update related scripts to populate BigQuery fields

This commit update the necessary changes to populate BigQuery fields
from new test-infra.

@nicolasnoble

A typical metadata.json file (except the managedFields) pretty printed (loadtest configuration submitted by runner instead of CLI line):
{
"annotations": {
"e2etest.gprc.io/scenario": "go_generic_sync_streaming_ping_pong_secure",
"e2etest.grpc.io/uniquifier": "basic-2"
},
"creationTimestamp": "2021-08-10T16:26:43Z",
"generation": 2,
"labels": {
"language": "go",
"prefix": "examples"
},
"name": "examples-go-generic-sync-streaming-ping-pong-secure-basic",
"namespace": "default",
"resourceVersion": "139672682",
"uid": "7514226e-cccd-4aa5-8cca-5f4b09861f85"
}


Enhancement: Command auto-completion

Please, consider adding command auto-completion (or at least, context-aware usage/syntax help).

Hmm.  That might be quite technically challenging, as you would have to pass keystrokes from client to service, and the service to bedrock server, and then try to capture all the text that is echoed back to the screen for every keystroke.  I believe today the code sends the whole line and a return mark, and then captures what is returned within a short time period back to the client.  It’s quite different on the backend than typing directly into the chat line in Minecraft.  Alternatively, the client would need awareness of the entire command line structure to do auto complete locally, and that may cause syntax issues (you would have to know the syntax for all the different versions of bedrock that people may want to run).

@tiamat2012 spells it out well here (Thanks man). This aims to be used remotely, therefore I try to keep the networking traffic down as best as possible. This would need to be far more responsive than I would ever allow. Also as mentioned, there is no simple way to collect the current command list and attributes for each new version that rolls out. If the Mojang team would produce a CSV or similar, this would be easy. I will leave this open for now for your acknowledgement, but I will have to say this is a little beyond the scope of my available time and willingness. I appreciate your input though, and keep at it!


An issue with flash offset on PlatformIO

Could not set proper VECT_TAB_OFFSET in a case with a bootloader.
Compiling .pio/build/genericSTM32F103C8/src/display.o
/home/marat/.platformio/packages/framework-cmsis-stm32f1/Source/Templates/system_stm32f1xx.c:95:0: warning: "VECT_TAB_OFFSET" redefined
 #define VECT_TAB_OFFSET  0x00000000U /*!< Vector Table base offset field.

<command-line>:0:0: note: this is the location of the previous definition

A possible solution in the attachment:
fix-flash-offset.zip

Hello @moustafine,
Thank you for this proposal. The point has been reported to our development teams. I will ensure to keep you informed with any updates.
With regards,

ST Internal Reference: 116475

See also https://github.com/STMicroelectronics/STM32CubeF4/pull/146


First round of fixes for java related examples

I have fixed some of the test cases under Jave repo.
Main Changes

updated latest Java Client version
Removed compilation errors
updated element identifiers

Please review changes and merge.
Thanks & Regards,
Vikram

This looks good to me, though I am not a Java expert.

@vikramvi Why was this line of code commented https://github.com/vikramvi/sample-code/blob/a107caa8f07be89f532194d8a04d64b45e2c5c85/sample-code/examples/java/junit/src/test/java/com/saucelabs/appium/UICatalogTest.java#L137 ?
Is it throwing any error if so can you fix it instead of commenting it?

@vikramvi https://github.com/vikramvi/sample-code/blob/a107caa8f07be89f532194d8a04d64b45e2c5c85/sample-code/examples/java/junit/src/test/java/com/saucelabs/appium/driver_service/DriverServiceSample.java#L55 remove this as well

@SrinivasanTarget  Thanks for review comments.

will remove testTextFieldEdit() ,

didn't understand checkTheAbilityToStartADriverWithTheDefaultServerAndNode() test case ? Can you please clarify , what this is suppose to do ?

I've removed the test case ( as app behaviour is changed ) and other one will fix during next round of overall fixes.
@TikhomirovSergey @SrinivasanTarget  please recheck and merge.

@vikramvi Can you squash your commits?

@SrinivasanTarget  squashing done.

Ok Thanks @vikramvi

Merged now @vikramvi

Thanks a ton @SrinivasanTarget


RFC: Wildcard Audits

When an organization publishes its own code as a third-party crate and then consumes it back into the main project, cargo-vet allows self-certification. In practice this seems to be a common pattern for organizations today.
The current workflow for this is a little clunky:

The author needs to touch audits.toml each time they go through a publishing cycle, which may require explicit approval.
If there's any delay between publishing the new version and pulling it into the main project, other consumers may find themselves importing it before the self-certification is available and end up reauditing.
The certify UX isn't really optimized for the self-certification case.
It feels like busywork, and pollutes the audit log with a bunch of repetitive and low-signal information.

We have thus far intentionally avoided a "just trust this crate" feature because there are lots of ways it could go wrong. However, I think I've come up with a set of guardrails that strike the right balance between ergonomics and security.
The feature would enable entries like this to audits.toml:
[[wildcards.wast]]
who = "Alex Crichton<EMAIL_ADDRESS>criteria = "safe-to-deploy"
user-id = 1
start = "2019-10-1"
end = "2023-11-1"
notes = "The Bytecode Alliance is the author of this crate and ensures that all published versions are safe-to-deploy."

A few things to note:

Like other content in audits.toml, these entries would be shareable by default, though we could provide a mechanism to ignore them when specifying the import. This is important to preserve the dynamic wherein small developers can piggy-back on the legwork of well-known organizations in figuring out what's safe.
We restrict the wildcard to a single publisher, who should generally be the person on the "who" field. The idea is that this person is saying "any version of this package I publish in this date range will meet the provided criteria".
We identify the publisher by crates.io user-id, rather than GitHub handle, because people can rename their GitHub handle and the old handle becomes available if they don't remember to squat it. We can maybe add some sugar for looking up your user ID in the certify workflow.
We bound the wildcard by a publish date range, rather than a version range.
We restrict the end date to 1 year into the future. This requires people to periodically renew their wildcards and avoids an indefinite blank check in cases where people drift away from the project.
If a wildcard is needed in the vetting algorithm, it's reified into imports.lock to enable operation in --locked mode.
API call results are cached in the cache directory, and only refetched if the registry index shows a new publish for the relevant crate (or the cache is cleared).

CC @alexcrichton @jameysharp @chutten @badboy @jgraham @eqrion @jimblandy

If the issue here is around the wasm-tools family of crates specifically, the main reason that is sort of clunky right now is that the audits are in the wasmtime repository so we don't get around to auditing them until we update in Wasmtime, which is often delayed from the publication in the wasm-tools repository itself. That can be solved by having a separate audit list over in that repository plus some modifications to our publication scripts to add relevant entries to the audit log as well.
If there are other motivations for this feature then it seems reasonble to me, although I don't have too too much of an opinion personally. Mostly just wanted to point out that the wast-specific case, if that's the main motivator for this, I think is reasonable to solve via preexisting means. (although I'm sure there's still UX improvements for that route as well)

That's an interesting point. I think the general description of that pre-existing mechanism is that you'd record the audits for the sub-project in the sub-project's repo, and set up cargo vet aggregate to pull from each of those repos.
I think that kinda works, but is still a little bit clunky:

You still have to deal with adding an explicit audit at publish time, just in a different place. This requires setting up such a process and educating the maintainers on that process.
The obvious way to set this up would be to enable cargo-vet for the sub-project, but managing that instance comes with some overhead you might not want if you weren't otherwise using cargo-vet there.
This would allow the maintainers of the sub-project to inject arbitrary audits into the set, rather than just audits for that sub-project, which is broader than needed.

So I think the wildcard thing is still an improvement.

I like this proposal!
We are gradually adding all of our published crates as self-certified for our organization and store them in a public repository for other projects to see (audits.toml).
And we do have quite a few public crates that developers in our org are releasing, 73 at least count, and while right now it has been mostly me updating the audit versions I would like to distribute this in the team as different devs own and release different projects but it does indeed feel like busywork and error prone for everyone to update a single central file for every version update of every project.
So the idea of having a auto-self-certify with a time range would be a much cleaner solution where devs in our org would only have to add new projects to it and, say every 6-12 months update the expiry date of the audit.
Would the user-id be the crates.io user-name? We for example publish all of our crates from our embark-studios user so it would be user-id = "embark-studios", or is there some additional numeric crates.io user id?


Event boxes sometimes “freezes” – does not respond to click

This happens to me quite often and it’s kinda random.

Looks like it is being rendered under the grid? How's that even possible?!

@jnv Yes, under grid, so you're clicking on the grid.

@MMajko Exactly! I don’t even…

Wrong z-index?

I think that this is a serious bug, it happens to me still more often. :(

Gr8t. Can you inspect? DOM tree? Check out what z-indexes on those elements?

I can’t reproduce this error in --safe-mode, so it’s probably cause by some add-on or some mess in my profile. I think that we can close this issue…?

Keep it open in case we gather the same error.

I’m closing it to not bother us in the issues list. Anyone can reopen it.


Prepare Python 3.12

Codecov Report

Merging #23 (0df7d6c) into master (2f9396d) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   98.78%   98.78%   -0.01%
==========================================
  Files          11       11
  Lines         988      985       -3
  Branches      273      272       -1
==========================================
- Hits          976      973       -3
  Misses          7        7
  Partials        5        5

Files
Coverage Δ

src/parver/_typing.py
100.00% <100.00%> (ø)

src/parver/_version.py
99.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add GetN() to consistenthash

I'm using the consistenthash library without the rest of the groupcache code base. I'd like to be able to store a single item on multiple physical nodes that are spread over multiple data centers. The GetN() function introduced in this PR should allow for that.

Signed it!

Thanks for the review. I've updated the comments based on your suggestions.
I understand why you wouldn't want to maintain a full blown consistent hash package as part of this repo. I'll fork it instead.


Local Admin User: Auto-login user if they have just set up account

Local Admin User:
When going through setup process, don't make the user login the first time, straight after setup.

Implemented in 3.0.0.


expand must select line before block

Hi, first thanks for this extension, I was missing this feature, secondly, I think than would be a big improve if before select block the expansion selects the entire line before, hope you implement this in a future, thank you!.....

+1 would be nice

@cocodrino We can configure expected behavior. See this https://github.com/aki77/atom-expand-region/issues/3


[Impeller] impellerc silently eliminates unused uniforms, but still includes them in the reflection info/metadata

When a uniform is added to a shader but not used, impellerc eliminates it from the shader, but ends up keeping it in the reflection output.
Impeller then fails to look up the location of the non-existent uniform in the GLES backend:
[ERROR:C:\Users\bdero\projects\impeller-cmake-example\third_party\impeller-cmake\third_party\flutter\impeller\base\validation.cc(27)] Location for uniform member not known: FRAGINFO.EXPOSURE

IMO, impellerc shouldn't eliminate unused uniforms by default, as this increases the tedium of authoring complex shaders. Instead, it should just print clear warnings.
But if shaderc doesn't provide a convenient facility to keep unused uniforms, an alternative approach would be to have impellerc fail loud and early with a clear error message when uniforms are unused.

In the source language -> spirv conversion, the uniforms are not being dropped.
When spirv-cross extracts reflection information from the spirv, the uniforms are included, and so we add them to the reflection info.
When the spirv is converted to the destination language (MSL and GLSL ES 1), the uniforms are optimized away, which causes the location lookup to fail for the GLES backend.