[BUG] Make Website Mobile responsive

Description
The website was first created with the Desktop first design approach, need to make mobile friendly and responsive
Screenshots
No response

Hey i am going to make your website mobile responsive. Is there anyone else working on this project.

No, go for it

Is this issue still open?

Is this issue still open?

Yeah it is

Thank you for creating this issue. Wait until you are allowed to work on this before you start, and do not forget to include this issue in your pull request[Automated].

Thank you for creating this issue. Wait until you are allowed to work on this before you start, and do not forget to include this issue in your pull request. While you wait, don't forget to join the community - [Automated].

:tada: This issue has been resolved in version 1.9.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

Thank you for creating this issue. Wait until you are allowed to work on this before you start, and do not forget to include this issue in your pull request. While you wait, don't forget to join the community - [Automated].

:tada: This issue has been resolved in version 2.57.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove 30k or so CORD19 pub hits from query for SARS-CoV-2 proteins

to address #226

Duplicate of #227 - closing


combine transformations in file name ("?" operator)

It will be interesting to have the feature to combine transformations for the file/folder name with any operator.
Inside a file we can use "|" and "?"  Example:
<FTName | lowercase?pascalcase>
but for the file and folder name we must use only one with "%" Example:
[FTName % pascalcase].tsx

Thanks for reaching out.
This was an oversight. I didn't check if the ? character was forbidden in filenames.
I went ahead and added the & operator to chain transformers. So in filenames you can now chain transformers like this [FTName % lowercase&pascalcase]. You can of course also use the & operator generally to chain transformers.
That feels more natural to me too.

Excellent, just try to add it to the Doc.
Thank you, and good job!


LibTorch gpu cmake error

Hello, when I execute " mkdir build && cd build && cmake -DGRPC=ON ..", the following error is reported,
Native environment:
centors 7.9
nvidia: 11.3
cuda version: 11

(wenet_gpu) [ZYJ@localhost build]$ cmake -DGPU=ON ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Populating libtorch
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-subbuild
[ 11%] Performing download step (download, verify and extract) for 'libtorch-populate'
-- verifying file...
file='/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-subbuild/libtorch-populate-prefix/src/libtorch-shared-with-deps-1.10.0%2Bcu113.zip'
-- File already exists and hash match (skip download):
file='/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-subbuild/libtorch-populate-prefix/src/libtorch-shared-with-deps-1.10.0%2Bcu113.zip'
SHA256='0996a6a4ea8bbc1137b4fb0476eeca25b5efd8ed38955218dec1b73929090053'
-- extracting...
src='/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-subbuild/libtorch-populate-prefix/src/libtorch-shared-with-deps-1.10.0%2Bcu113.zip'
dst='/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 22%] No patch step for 'libtorch-populate'
[ 33%] No update step for 'libtorch-populate'
[ 44%] No configure step for 'libtorch-populate'
[ 55%] No build step for 'libtorch-populate'
[ 66%] No install step for 'libtorch-populate'
[ 77%] No test step for 'libtorch-populate'
[ 88%] Completed 'libtorch-populate'
[100%] Built target libtorch-populate
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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: /usr/local/cuda-11.3 (found version "11.3")
-- Caffe2: CUDA detected: 11.3
-- Caffe2: CUDA nvcc is: /usr/local/cuda-11.3/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda-11.3
CMake Error at fc_base/libtorch-src/share/cmake/Caffe2/public/cuda.cmake:75 (message):
Caffe2: Couldn't determine version from header: Change Dir:
/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_3d968/fast
/usr/bin/gmake -f CMakeFiles/cmTC_3d968.dir/build.make
CMakeFiles/cmTC_3d968.dir/build
gmake[1]:
进入目录“/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/build/CMakeFiles/CMakeTmp”
Building CXX object CMakeFiles/cmTC_3d968.dir/detect_cuda_version.cc.o
/usr/bin/c++ -I/usr/local/cuda-11.3/include -std=c++14 -pthread -fPIC -o
CMakeFiles/cmTC_3d968.dir/detect_cuda_version.cc.o -c
/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/build/detect_cuda_version.cc
c++: 错误：unrecognized command line option ‘-std=c++14’
gmake[1]: *** [CMakeFiles/cmTC_3d968.dir/detect_cuda_version.cc.o] 错误 1
gmake[1]:
离开目录“/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/build/CMakeFiles/CMakeTmp”
gmake: *** [cmTC_3d968/fast] 错误 2
Call Stack (most recent call first):
fc_base/libtorch-src/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
fc_base/libtorch-src/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
cmake/libtorch.cmake:52 (find_package)
CMakeLists.txt:35 (include)
-- Configuring incomplete, errors occurred!
See also "/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/build/CMakeFiles/CMakeOutput.log".
See also "/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/build/CMakeFiles/CMakeError.log".

please what should Ido?

what's the version of your GCC?

My gcc version is 7.3@robin1001

And I deployed libtorch_GPU in the provided docker, and there was also a cmake error！
dockerfile

FROM ubuntu:latest
MAINTAINER<EMAIL_ADDRESS>ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i s@/archive.ubuntu.com/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list
RUN apt-get update && apt-get install -y git cmake wget build-essential
RUN git clone https://github.com/wenet-e2e/wenet.git /home/wenet
ARG model=20210618_u2pp_conformer_libtorch.tar.gz
RUN wget -P /home https://wenet-1256283475.cos.ap-shanghai.myqcloud.com/models/aishell2/$model
RUN tar -xzf /home/$model -C /home
ARG build=/home/wenet/runtime/server/x86/build
RUN mkdir $build && cd $build && cmake -DGPU=ON .. -DCMAKE_BUILD_TYPE=Release && cmake --build . --config Release

cmake  error in container:

root@821526b736a0:/home/wenet/runtime/server/x86/build# cmake -DGPU=ON ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Populating libtorch
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wenet/runtime/LibTorch/fc_base/libtorch-subbuild
[ 11%] Creating directories for 'libtorch-populate'
[ 22%] Performing download step (download, verify and extract) for 'libtorch-populate'
-- verifying file...
file='/home/wenet/runtime/LibTorch/fc_base/libtorch-subbuild/libtorch-populate-prefix/src/libtorch-shared-with-deps-1.10.0%2Bcu113.zip'
-- File already exists and hash match (skip download):
file='/home/wenet/runtime/LibTorch/fc_base/libtorch-subbuild/libtorch-populate-prefix/src/libtorch-shared-with-deps-1.10.0%2Bcu113.zip'
SHA256='0996a6a4ea8bbc1137b4fb0476eeca25b5efd8ed38955218dec1b73929090053'
-- extracting...
src='/home/wenet/runtime/LibTorch/fc_base/libtorch-subbuild/libtorch-populate-prefix/src/libtorch-shared-with-deps-1.10.0%2Bcu113.zip'
dst='/home/wenet/runtime/LibTorch/fc_base/libtorch-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No patch step for 'libtorch-populate'
[ 44%] No update step for 'libtorch-populate'
[ 55%] No configure step for 'libtorch-populate'
[ 66%] No build step for 'libtorch-populate'
[ 77%] No install step for 'libtorch-populate'
[ 88%] No test step for 'libtorch-populate'
[100%] Completed 'libtorch-populate'
[100%] Built target libtorch-populate
-- Looking for pthread.h
-- Looking for 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: /usr/local/cuda-11.3 (found version "11.3")
-- Caffe2: CUDA detected: 11.3
-- Caffe2: CUDA nvcc is: /usr/local/cuda-11.3/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda-11.3
-- Caffe2: Header version is: 11.3
-- Found CUDNN: /usr/local/cuda-11.3/lib64/libcudnn.so
-- Found cuDNN: v?  (include: /usr/local/cuda-11.3/include, library: /usr/local/cuda-11.3/lib64/libcudnn.so)
CMake Error at fc_base/libtorch-src/share/cmake/Caffe2/public/cuda.cmake:176 (message):
PyTorch requires cuDNN 7 and above.
Call Stack (most recent call first):
fc_base/libtorch-src/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
fc_base/libtorch-src/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
cmake/libtorch.cmake:52 (find_package)
CMakeLists.txt:35 (include)
-- Configuring incomplete, errors occurred!
See also "/home/wenet/runtime/server/x86/build/CMakeFiles/CMakeOutput.log".
See also "/home/wenet/runtime/server/x86/build/CMakeFiles/CMakeError.log".

@robin1001

@yuekaizhang @veelion any idea on the problem?

Could you try one of nvidia docker file? nvcr.io/nvidia/pytorch:xx.xx-py3 For example, 22.01.

Hi, the compilation problem has been solved, the gcc version needs to be greater than 7.3, and when cuda is installed, copy cudnn_version.h to the /usr/local/cuda/include/ directory, and it can be compiled perfectly, but during the calling process, the got the following error:

export GLOG_logtostderr=1
export GLOG_v=2
wav_path=/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/model/proper_noun/123.wav model_dir=/home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/model/20210815_unified_conformer_libtorch
./build/bin/decoder_main     --chunk_size -1     --wav_path $wav_path     --model_path $model_dir/final.zip     --unit_path $model_dir/units.txt 2>&1 | tee log.txt
An error occurred

I0801 13:29:29.093011 61770 params.h:135] Reading torch model /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/model/20210815_unified_conformer_libtorch/final.zip
I0801 13:29:29.109166 61770 torch_asr_model.cc:36] Num intra-op threads: 1
I0801 13:29:29.109195 61770 torch_asr_model.cc:37] Num inter-op threads: 1
I0801 13:29:29.532994 61770 torch_asr_model.cc:47] CUDA available! Running on GPU
terminate called after throwing an instance of 'c10::NotImplementedError'
what():  The following operation failed in the TorchScript interpreter.
Traceback of TorchScript, serialized code (most recent call last):
File "code/torch/torch/nn/quantized/modules/linear.py", line 18, in setstate
state: Tuple[Tensor, Optional[Tensor], bool, int]) -> NoneType:
self.dtype = (state)[3]
_1 = (self).set_weight_bias((state)[0], (state)[1], )
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
self.training = (state)[2]
return None
File "code/torch/torch/nn/quantized/modules/linear.py", line 41, in set_weight_bias
_10 = "Unsupported dtype on dynamic quantized linear!"
if torch.eq(self.dtype, 12):
_11 = ops.quantized.linear_prepack(weight, bias)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
self._packed_params = _11
else:
Traceback of TorchScript, original code (most recent call last):
File "/home/binbzha/miniconda3/envs/wenet/lib/python3.8/site-packages/torch/nn/quantized/modules/linear.py", line 94, in setstate
def setstate(self, state):
self.dtype = state[3]
self.set_weight_bias(state[0], state[1])
~~~~~~~~~~~~~~~~~~~~ <--- HERE
self.training = state[2]
File "/home/binbzha/miniconda3/envs/wenet/lib/python3.8/site-packages/torch/nn/quantized/modules/linear.py", line 24, in set_weight_bias
def set_weight_bias(self, weight: torch.Tensor, bias: Optional[torch.Tensor]) -> None:
if self.dtype == torch.qint8:
self._packed_params = torch.ops.quantized.linear_prepack(weight, bias)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
elif self.dtype == torch.float16:
self._packed_params = torch.ops.quantized.linear_prepack_fp16(weight, bias)
RuntimeError: Could not run 'quantized::linear_prepack' with arguments from the 'QuantizedCUDA' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'quantized::linear_prepack' is only available for these backends: [QuantizedCPU, BackendSelect, Python, Named, Conjugate, Negative, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradLazy, AutogradXPU, AutogradMLC, Tracer, UNKNOWN_TENSOR_TYPE_ID, Autocast, Batched, VmapMode].
QuantizedCPU: registered at ../aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp:324 [kernel]
BackendSelect: fallthrough registered at ../aten/src/ATen/core/BackendSelectFallbackKernel.cpp:3 [backend fallback]
Python: registered at ../aten/src/ATen/core/PythonFallbackKernel.cpp:47 [backend fallback]
Named: registered at ../aten/src/ATen/core/NamedRegistrations.cpp:7 [backend fallback]
Conjugate: registered at ../aten/src/ATen/ConjugateFallback.cpp:18 [backend fallback]
Negative: registered at ../aten/src/ATen/native/NegateFallback.cpp:18 [backend fallback]
ADInplaceOrView: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:64 [backend fallback]
AutogradOther: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:35 [backend fallback]
AutogradCPU: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:39 [backend fallback]
AutogradCUDA: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:47 [backend fallback]
AutogradXLA: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:51 [backend fallback]
AutogradLazy: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:55 [backend fallback]
AutogradXPU: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:43 [backend fallback]
AutogradMLC: fallthrough registered at ../aten/src/ATen/core/VariableFallbackKernel.cpp:59 [backend fallback]
Tracer: registered at ../torch/csrc/autograd/TraceTypeManual.cpp:291 [backend fallback]
UNKNOWN_TENSOR_TYPE_ID: fallthrough registered at ../aten/src/ATen/autocast_mode.cpp:466 [backend fallback]
Autocast: fallthrough registered at ../aten/src/ATen/autocast_mode.cpp:305 [backend fallback]
Batched: registered at ../aten/src/ATen/BatchingRegistrations.cpp:1016 [backend fallback]
VmapMode: fallthrough registered at ../aten/src/ATen/VmapModeRegistrations.cpp:33 [backend fallback]
Exception raised from reportError at ../aten/src/ATen/core/dispatch/OperatorEntry.cpp:431 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x42 (0x7f77049f1d62 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libc10.so)
frame #1: c10::impl::OperatorEntry::reportError(c10::DispatchKey) const + 0x6f2 (0x7f77060f5fb2 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #2:  + 0x3e88796 (0x7f7708cdc796 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #3:  + 0x3bd0a59 (0x7f7708a24a59 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #4: torch::jit::InterpreterState::run(std::vector<c10::IValue, std::allocatorc10::IValue >&) + 0x1c (0x7f7708a136fc in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #5:  + 0x3bb7492 (0x7f7708a0b492 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #6: torch::jit::GraphFunction::operator()(std::vector<c10::IValue, std::allocatorc10::IValue >, std::unordered_map<std::string, c10::IValue, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, c10::IValue> > > const&) + 0x39 (0x7f7708730509 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #7:  + 0x3c5f1b5 (0x7f7708ab31b5 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #8:  + 0x3c60342 (0x7f7708ab4342 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #9:  + 0x3c96b20 (0x7f7708aeab20 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #10: torch::jit::Unpickler::readInstruction() + 0x78f (0x7f7708af321f in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #11: torch::jit::Unpickler::run() + 0x90 (0x7f7708af4b20 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #12: torch::jit::Unpickler::parse_ivalue() + 0x18 (0x7f7708af4c98 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #13: torch::jit::readArchiveAndTensors(std::string const&, std::string const&, std::string const&, c10::optional<std::function<c10::StrongTypePtr (c10::QualifiedName const&)> >, c10::optional<std::function<c10::intrusive_ptr<c10::ivalue::Object, c10::detail::intrusive_target_default_null_typec10::ivalue::Object > (c10::StrongTypePtr, c10::IValue)> >, c10::optionalc10::Device, caffe2::serialize::PyTorchStreamReader&, std::shared_ptrtorch::jit::DeserializationStorageContext) + 0x4a0 (0x7f7708ab5ca0 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #14:  + 0x3c5b5fb (0x7f7708aaf5fb in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #15:  + 0x3c5d08a (0x7f7708ab108a in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #16: torch::jit::load(std::shared_ptrcaffe2::serialize::ReadAdapterInterface, c10::optionalc10::Device, std::unordered_map<std::string, std::string, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, std::string> > >&) + 0x1af (0x7f7708ab244f in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #17: torch::jit::load(std::string const&, c10::optionalc10::Device, std::unordered_map<std::string, std::string, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, std::string> > >&) + 0xad (0x7f7708ab441d in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #18: torch::jit::load(std::string const&, c10::optionalc10::Device) + 0x54 (0x7f7708ab44f4 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #19: ./build/bin/decoder_main() [0x5b34a7]
frame #20: ./build/bin/decoder_main() [0x46fbf8]
frame #21: ./build/bin/decoder_main() [0x4710d8]
frame #22: __libc_start_main + 0xf5 (0x7f76c0803555 in /lib64/libc.so.6)
frame #23: ./build/bin/decoder_main() [0x46f739]

I think it's still a libtorch problem, do you have any ideas?

@robin1001@yuekaizhang

@yuekaizhang

please do not use quantized model for GPU.

I don't use the quantitative model, use the Checkpoint Model test, it also got an error:

(wenet) [ZYJ@localhost LibTorch]$ model_dir=./model/20220506_u2pp_conformer_exp
(wenet) [ZYJ@localhost LibTorch]$ ./build/bin/decoder_main     --chunk_size -1     --wav_path $wav_path     --model_path $model_dir/final.zip     --unit_path $model_dir/units.txt 2>&1 | tee log.txt
I0801 16:32:03.666874 33850 params.h:135] Reading torch model ./model/20220506_u2pp_conformer_exp/final.zip
I0801 16:32:03.683038 33850 torch_asr_model.cc:36] Num intra-op threads: 1
I0801 16:32:03.683090 33850 torch_asr_model.cc:37] Num inter-op threads: 1
I0801 16:32:03.919312 33850 torch_asr_model.cc:47] CUDA available! Running on GPU
terminate called after throwing an instance of 'c10::Error'
what():  open file failed because of errno 2 on fopen: , file path: ./model/20220506_u2pp_conformer_exp/final.zip
Exception raised from RAIIFile at ../caffe2/serialize/file_adapter.cc:27 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x42 (0x7f36f84fdd62 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::string const&) + 0x5b (0x7f36f84fa68b in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libc10.so)
frame #2: caffe2::serialize::FileAdapter::RAIIFile::RAIIFile(std::string const&) + 0xde (0x7f36fb0f937e in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #3: caffe2::serialize::FileAdapter::FileAdapter(std::string const&) + 0x31 (0x7f36fb0f9901 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #4: torch::jit::load(std::string const&, c10::optionalc10::Device, std::unordered_map<std::string, std::string, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, std::string> > >&) + 0x30 (0x7f36fc5c03a0 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #5: torch::jit::load(std::string const&, c10::optionalc10::Device) + 0x54 (0x7f36fc5c04f4 in /home/ZYJ/WeNet/wenet_gpu/wenet/runtime/LibTorch/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #6: ./build/bin/decoder_main() [0x5b34a7]
frame #7: ./build/bin/decoder_main() [0x46fbf8]
frame #8: ./build/bin/decoder_main() [0x4710d8]
frame #9: __libc_start_main + 0xf5 (0x7f36b430f555 in /lib64/libc.so.6)
frame #10: ./build/bin/decoder_main() [0x46f739]

how can i solve it？@robin1001

decode_main requires runtime model. If GPU is compiled in, it requires float runtime model. We only give checkpoint model and quantized runtime model in pretrained models, both of them can not be used in decode_main with GPU compiled in.

Can the pre-trained models you released use GPU inference in websocket_server_main and grpc_server_main?
I want to use GPU for inference test now, besides tritonserver_GPU, is there any good way? Please let me know, thanks!
@robin1001

Can the pre-trained models you released use GPU inference in websocket_server_main and grpc_server_main?
I want to use GPU for inference test now, besides tritonserver_GPU, is there any good way? Please let me know, thanks! @robin1001

https://github.com/wenet-e2e/wenet/blob/main/examples/aishell/s0/run.sh#L204 You could export them from checkpoint models. Or if you just would like test, you could modify wenet/bin/recognize.py

As you suggested:
"https://github.com/wenet-e2e/wenet/blob/main/examples/aishell/s0/run.sh#L204 You could export them from checkpoint models.
"
I refer to this and export the floating-point runtime model, so I can use the GPU to compile inference, right?
@robin1001


Any Plans to support semver Angular 1.4.x?

As of right now we haven't looked at 1.4.x support. I just upgraded the project to support Angular 1.3 so that gets us closer.
I am not aware of anything particular in the project right now that should stop you from using 1.4 with the provided directives. Is your project currently using 1.4 or is this a nice to have?

Yes, we are currently using 1.4.x. I wasn't looking for any specific functionality related to that, just a bower semver range that would support 1.4 more easily.


column number wrong when utf-8 double-wide character is substituted after conceal

Steps to reproduce
Use the following script. It conceals letter 'g' with a double-wide char. Do :call cursor(1, 10)  and cursor is placed on ば (correct). cursor(1,11) will place cursor on i (correct). cursor(1,12) also places cursor on i (wrong). On the ruler/statusline column numbers are wrong also, after the ば character.
vim --clean -S <(cat <<EOF                                                                                [*main]
    vim9script
    :set conceallevel=2 ruler ft=help
    setline(1, 'At the beginning ')
    matchadd('Conceal', 'g', 10, -1, {conceal: 'ば'})
EOF
)

Expected behaviour
Column numbers are byte-based, and should not change when character is concealed or substituted.
Because of this bug, you can place the cursor using cursor() on some character, but when you get screen based column number using wincol() it would be wrong.
Version of Vim
9.1
Environment
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Mar 24 2024 08:43:25)
macOS version - arm64
Included patches: 1-200
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       -tcl
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl              +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +vim9script
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3           +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          +rightleft         +vreplace
+cscope            +localmap          +ruby              +wildignore
+cursorbind        +lua               +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con        +mksession         +smartindent       +writebackup
+diff              +modify_fname      +sodium            -X11
+digraphs          +mouse             +sound             -xattr
-dnd               -mouseshape        +spell             -xfontset
-ebcdic            +mouse_dec         +startuptime       -xim
+emacs_tags        -mouse_gpm         +statusline        -xpm
+eval              -mouse_jsbterm     -sun_workshop      -xsmp
+ex_extra          +mouse_netterm     +syntax            -xterm_clipboard
+extra_search      +mouse_sgr         +tag_binary        -xterm_save
-farsi             -mouse_sysmouse    -tag_old_static
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/opt/homebrew/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -o vim -lm -lncurses -lsodium -liconv -lintl -framework AppKit -L/opt/homebrew/opt/lua/lib -llua5.4 -mmacosx-version-min=13.6 -fstack-protector-strong -L/opt/homebrew/opt/perl/lib/perl5/5.38/darwin-thread-multi-2level/CORE -lperl<EMAIL_ADDRESS>-lpython3.12 -framework CoreFoundation -lruby.3.3 -L/opt/homebrew/Cellar/ruby/3.3.0/lib
~/.vim

Logs and stack traces
No response

Related #4687

Related #4687

It appears that is a different issue, related to supporting string as substitute (instead of single character).
The issue I reported is a bug. Column numbers (based on byte count) should not change when some character is concealed or substituted. What happens on screen should not affect byte position in a line.

I don't think byte position is wrong. If you press ga you can see that the cursor is actually on the n after using cursor(1, 12), not the i.

I don't think byte position is wrong. If you press ga you can see that the cursor is actually on the n after using cursor(1, 12), not the i.

Good point, but the cursor (visual character on screen) is still on i. So there is a mismatch between where the cursor is visually on the screen vs what Vim thinks. Now try to open a popup window at (line=1, col=13), it would be shifted one cell to the left because of this mismatch.

Searching for a string also shows the bug. Say the cursor is on A, and If you search /nn, the cursor lands on in (of beg|in|ning) instead of nn. Line is set as At the beばinninば .
This bug is probably not of much interest since the scenario of substituting single-cell wide char with double-wide char is unlikely. Maybe of importance to non-English users.

@girishji
i think we will not do it
conceal is just a graphic thing so all vim's mechanics don't care about it
those vim doesn't see what you see using conceal

Also related #975


Transfer to adopted-ember-addons

@aomran are you still interested in maintaining this addon? If not, could I suggest you transfer it to adopted-ember-addons? Then we can have a team of maintainers help keep it up to date.

bump :up:

@derrabauke there was no previous interest from @aomran to move this to adopted-ember-addons, but I was able to get permissions to this repo. What can I help with?

Hey @RobbieTheWagner, thanks for the fast response! I had difficulties to get a plugin running which needs chartjs v4. First I looked for the latest release v3.7.2 of ember-cli-chart and it is on chartjs: ^v2.9.0. Having a look at the master revealed some work of yours bumping it to v4. I was just wondering if you would want to release this someday? Or does it need some work to be done?
For my special case I could find an older version of the plugin which works with v3 of chartjs, so I'm fine for the moment. But I guess it could be interesting for other as well to have the latest chartjs version available. :shrug:

@derrabauke the one thing that is not working is updating the charts. The initial render works great on master, but I do not know why the charts will not update when new data is passed. If you have some time to help debug that, and we can get it fixed, we can definitely release a new version.

Apologies for not seeing this. I have no issues with moving this to adopted-ember-addons. What's the process for doing this?

@aomran Here's the process: https://github.com/adopted-ember-addons/program-guidelines 👍

@aomran humble ping

I posted on the discord channel. Waiting for the transfer process to start.

@aomran you can transfer to me if you'd like and I can transfer it to adopted-ember-addons

@RobbieTheWagner it says "RobbieTheWagner/ember-cli-chart already exists"

@RobbieTheWagner it says "RobbieTheWagner/ember-cli-chart already exists"

@aomran ah I guess I need to delete my fork first

@aomran I deleted my fork, can you please try now?

This has been transferred now 🎉


ID field cannot be a collection

This PR makes the field declaration consider a repeated or a map field being not an ID field when it comes first in the state message.

@dmdashenkov, PTAL.


RemoveAll does not remove one time listeners - curious as to why?

Hey there
In our game, everything is poolable. When an object returns to the pool, we RemoveAll on all the Relays managed by that object.
I noticed that by default RemoveAll won't remove one time listeners. This is kind of unexpected.
Any reason for it being false by default?
Cheers!

The thinking is that I see one-time listeners as being used fundamentally differently to persistent listeners, and as such expect them to be managed separately. There's also the expectation that, in most use cases, one-time listeners by their definition clean themselves up - although I recently added RemoveOnce to ensure all eventualities are covered.
That said, I'm open to the idea of make a (unfortunately breaking) change to that default if people feel strongly?

It's kind of funny, because when I first looked at the library I thought that 'persistent listeners' were 'fundamentally different'. Because of the naming ('persistent'), I thought that RemoveAll wouldn't actually remove the persistent listeners. Because, you know, they are persistent! 😃
That is actually what led me to look closer into what 'RemoveAll' actually does, and I was able to confirm that persistent listeners were being removed by default, but also noticed that one time listeners were not and that was really unexpected.
I figured if I was calling RemoveAll on something that has had things added to it, that it would remove all the things that were added to it! And that's how I got here. :)

Haha! Fair enough, I guess there's a bit of a lack of clarity there. Perhaps I need to revisit some naming conventions...

It might bloat the API a bit too much, but maybe 3 methods, forcing the user to specify in an attempt to stop existing code from breaking:
RemoveAllPersistant() => RemoveAll(false,true);
RemoveAllOnce() => RemoveAll(false,true);
RemoveAll(bool removePersistant, bool removeOnce); //User must be explicit
[Obsolete]
RemoveAll(); => RemoveAllPersistant(); //Attempt to prevent existing code from breaking

Not perfect though.. If I am honest, as a user I would must prefer to be able to call 'RemoveAll' and be done with it.. ie RemoveAll implementation would be:
RemoveAll()
{
    RemoveAllPersistant();
    RemoveAllOnce();
}

Or, what I think we both had in mind:
RemoveAll(bool removePersistant = true, bool removeOnce = true)
{
    if(removePersistant)
        RemoveAllPersistant();
    if(removePersistant)
        RemoveAllOnce();
}

I understand it is tricky since it does break existing code, but it would be something to do sooner rather than later.
Totally up to you my dude, for now I am just using my extension method 'relay.ActuallyRemoveAll()' 😃


When one AUR package upgrade fails, then all the AUR package upgrades fail.

pacaur 4.6.4-1
Arguably, more a feature request than a bug:
$ pacaur -Syu
...
:: Starting AUR upgrade...
...
:: resolving dependencies...
:: looking for inter-conflicts...
:: python3-memoizedb-2<IP_ADDRESS>-1 has been flagged out of date on 2016-05-12
AUR Packages  (6):
Name                       Old Version     New Version
aur/chromium-pepper-flash  1:<IP_ADDRESS>-1  1:<IP_ADDRESS>-1
aur/gcc-gcj                5.3.0-7         6.1.1-2
aur/opera-beta             37.0.2178.27-1  37.0.2178.31-1
aur/opera-developer        38.0.2213.0-1   39.0.2226.0-1
aur/pdftk                  2.02-7          2.02-9
aur/python3-memoizedb      2016.4.6-1      2<IP_ADDRESS>-1
:: Proceed with installation? [Y/n]
:: Retrieving package(s)...
:: chromium-pepper-flash build files are up-to-date -- skipping
:: gcc-gcj build files are up-to-date -- skipping
:: opera-beta build files are up-to-date -- skipping
:: opera-developer build files are up-to-date -- skipping
:: pdftk build files are up-to-date -- skipping
:: python3-memoizedb build files are up-to-date -- skipping
:: Checking python3-memoizedb integrity...
==> Making package: python3-memoizedb 2<IP_ADDRESS>-1 (Thu May 12 09:31:06 MDT 2016)
==> Retrieving sources...
-> Downloading python3-memoizedb-2<IP_ADDRESS>.tar.xz...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading http://xyne.archlinux.ca/projects/python3-memoizedb/src/python3-memoizedb-2<IP_ADDRESS>.tar.xz
Aborting...
:: Checking pdftk integrity...
...
:: failed to verify python3-memoizedb integrity
So now, none of the other AUR packages are actually upgraded.  And pacaur does not explicitly say so, despite a lot of output about downloading package files.  That is not good user feedback, where instead, pacaur could also have said something like "Packages  have not been upgraded."
In this case, the python3-memoizedb package must be addressed first, manually.  We can now run
$ pacaur -Su --ignore python3-memoizedb
to upgrade the other packages.  But, is that the best approach?  Or, should pacaur automatically ignore the failed package, and continue installing the other AUR packages?
It seems to me that automatically continuing with install of the other AUR packages is a more graceful failure response.  Or, there could be a "--continue" option, to automatically ignore a package build failure.  What do you think?

Working as designed, I'm not going to change anything here.

Came here for the same issue.
:: Checking telegram-desktop-bin integrity...
==> Making package: telegram-desktop-bin 1.0.0-2 (Tue Jan 17 12:18:41 CET 2017)
==> Retrieving sources...
  -> Found telegram-desktop-bin.desktop
  -> Found tg.protocol
  -> Found icon16.png
  -> Found icon32.png
  -> Found icon48.png
  -> Found icon64.png
  -> Found icon128.png
  -> Found icon256.png
  -> Found icon512.png
  -> Found tsetup.1.0.0.tar.xz
==> Validating source files with sha256sums...
    telegram-desktop-bin.desktop ... Passed
    tg.protocol ... Passed
    icon16.png ... FAILED
    icon32.png ... FAILED
    icon48.png ... FAILED
    icon64.png ... FAILED
    icon128.png ... FAILED
    icon256.png ... FAILED
    icon512.png ... FAILED
==> ERROR: One or more files did not pass the validity check!
…
Other updates
…
:: failed to verify telegram-desktop-bin integrity

> It seems to me that automatically continuing with install of the other AUR packages is a more graceful failure response. Or, there could be a "--continue" option, to automatically ignore a package build failure. What do you think?

I think it should ask interactively by default to continue.

But when aborting like it currently does, this should be done earlier already maybe.

I also got the impression that other packages would have been updated.

I avoid to do it right away in case more than a package integrity fails. The user doesn't loose time since you need all the other files to be downloaded anyway.
Maybe other packages would have been updated, but I'd still need to ensure that all the packages that rely on that failing dependency don't go through. For sake of sanity and simplicity, pacaur aborts and let the user fix or ignore the failing package. Pacman behavior is similar.

Fair point.
Maybe then the error message in that case should be improved?!
It should clearly state that no (AUR) packages have been updated (it aborted), and then also give a hint about using --ignore?!

Isn't it obvious already? In case of failure, the user is expected to read the output... and of course he should see that no packages have been updated.

For sake of sanity and simplicity, pacaur aborts and let the user fix or ignore the failing package. Pacman behavior is similar.

But then, I'd suggest that, instead, this behavior is just "broken", and ought to be fixed some day.  After all, the purpose of computers is to automate mundane activities, and not to simply create an new kind of unnecessary "busy work" for people.  I do not know of any kind of "sanity" that could be invoked by forcing the administrator to intervene, except, perhaps, the sanity of the software developer, who might have other priorities. ;)  The process is certainly not "simple" for the end user.
Regardless, whether resolved automatically or manually, the error message should be more conspicuous and informative.

Isn't it obvious already?

Speaking for myself - usually "it just works", "fire and forget", and I tend not to read all the "boilerplate" - up until I recognize that nagging feeling that something "is not right", and I have to read everything.  It could be easier.  I don't want to have to prove that I'm a "rocket scientist" every time I upgrade.  Sometimes it's nice to have a little "hand holding".

Just a reminder: pacaur is targeted at users that know how to do thing manually with makepkg. The above is really the same behavior as makpekg. Fails the integrity check? Then stop and do not continue compiling.
 If people want hand holding and not doing their homework, then they can fork and maintain the stuff by themselves. I'll also happily accept extra large sums of money in exchange of a script that provide that service. This is not worth my free time.
(to be clear: not aiming at someone at particular here, but yes, many users shouldn't be using pacaur in the first place).

@thx1111 ArchLinux requires you to look at update logs. If you don’t, you’re going into troubles on your own. If you don’t like that fact, maybe this is not the most suitable distro for you. ;) pacaur should not be doing anything differing from this official stance, especially when the AUR requires even more attention than repos (after all, you’re supposed to check each PKGBUILD diff).


docs: Fix typos, reformat code and add lazy.nvim instructions

Fixes #527.

can you rebase this against the develop branch please?


Support shared library

I am so sorry I did not end up getting back to you. Thanks for taking the time to do this and for your help with the library! I've just merged a PR that does a lot of refactoring, including of the cmake script (and also gets rid of make entirely). It should support shared libraries now.


[feature][disaggregated] Support configuration of username and password and multi secrets

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:

Support configuration of username and password for disaggregated
Support multi secrets for disaggregated

Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

In the Docker entrypoint.sh  script, the current method of getting PWD is only obtained in $Auth_path. By placing Name and PWD directly into ENV, it will be covered by resolve_password_from_secret.
DB_ADMIN_USER=${USER:-"root"}

DB_ADMIN_PASSWD=$PASSWD
AUTH_PATH="/etc/basic_auth"

resolve_password_from_secret()
{
    if [[ -f "$AUTH_PATH/password" ]]; then
        DB_ADMIN_PASSWD=`cat $AUTH_PATH/password`
    fi
    if [[ -f "$AUTH_PATH/username" ]]; then
        DB_ADMIN_USER=`cat $AUTH_PATH/username`
    fi
}


Turn off visibility/telemetry by default

Feature Request
Currently, KubeArmor enables visibility/telemetry for every namespace by default. Thus all the events happening in context to all the workloads are by default reported to the userspace. This has performance implications. If the aim of the user is to simply apply a policy and get only policy violations then the visibility/telemetry is not needed to be enabled.
The intention of this issue is to turn off the visibility/telemetry by default in context to every namespace and the users can selectively enable for any namespace that they are interested in.

Folks, I think this has been handled well. Are we planning to keep this issue open until there is a mechanism to configure visibility from SAAS?
cc @daemon1024 @nyrahul


(bug): message event not triggered when app is closed/in background

Bug Report
Current Behavior:
message event is not triggered when app is closed / in background.
I do receive push notifications in any case though.
Expected Behavior:
message event trigger when app is closed / in background
Steps to reproduce:
FirebasePush.addListener('message',
    (message) => {

        FirebasePush.setBadgeNumber({count: 1});
    }
);

Environment information:

Capacitor version

3.4.0

Dev machine OS and version, e.g.

OSX

10.15.7

Sorry if it's how it is supposed to work.
After some research it looks like there isn't some reliable way to be 100% sure we get all notifications that was sent when the app was killed.

In Background you can receive push messages directly, but only data pushes. When it's closed, it may be that you get the pushs when the app starts next time but dont have to be

@EinfachHans I can't seem to get the data pushes to work.
I'd like to be able to receive silent data notification when the app is in the background (not killed) without the user having accepted the getPermissions() dialog so I can call my api to get updated data. I've added the 'Background modes' 'remote notifications' capability in xcode.
I use this message format to send via fcm.messaging().send()
let message = {
    token,
    data,
    android: { priority: 'high' },
    apns: {
        headers: { 'apns-push-type': 'background', 'apns-priority': '5' },
        payload: { aps: { 'content-available': 1 } }
    }
}

This works exactly as planned in android and also shows "messageType": "data", but on ios it never arrives. Doesn't matter if the app is in foreground or background.
The funny thing is a 'normal' notification does arrive on ios (but only when it's in the foreground). Mind you the user still hasn't accepted the getPermissions() dialog (so no sound or popup). I use this message format:
let message = {
    token,
    data,
    notification: { title, body },
    android: { priority: 'high', notification: { channel_id: 'default' } },
    apns: {
        headers: { 'apns-priority': '5' },
        payload: { aps: { 'sound': 'default' } }
    }
}

This time it has the "messageType": "notification"
Can you show me how you use the plugin to send an ios Background Update Notification?

After restarting my phone all seems to be working like it should. Hopefully above examples can help someone else :)
@EinfachHans thank you so much for creating such a wonderful plugin!


Support writing data as JSON but still uploading it

I've written a custom UI on top of the benchmark data where I load the data using fetch() from raw.githubusercontent.com so I can switch between branches in the UI from a single deployed GitHub Pages site (as GitHub Pages does not support multiple branches).
However, as the data is expected to be loaded via a <script> tag as JavaScript, I need to trim the prefix from the file before parsing it as JSON.
const dataUrl = `https://raw.githubusercontent.com/${username}/${repository}/${branch}/${application}/data.js`;
const response = await fetch(dataUrl, { cache: 'no-cache' });
const dataText = await response.text();
const data = JSON.parse(dataText.slice('window.BENCHMARK_DATA = '.length));

I otherwise use the auto-push functionality, so would rather be able to control the format of the written file, rather than need to handle all that that functionality myself by using the external-data-json-path input.
If there were an input option to set the format between JavaScript and JSON, then I could directly fetch the data as JSON:
- uses: benchmark-action/github-action-benchmark@v1
  with:
    output-format: json # Optional, default would be javascript as it is today

const dataUrl = `https://raw.githubusercontent.com/${username}/${repository}/${branch}/${application}/data.json`;
const response = await fetch(dataUrl, { cache: 'no-cache' });
const data = await response.json();

I'd be happy to contribute a PR to add support for this if such a feature would be welcome.

Exposing the data as JSON is a good idea for performance reasons, as parsing JSON is faster than parsing JS.
See https://github.com/GoogleChromeLabs/json-parse-benchmark


intel-gpu-plugin pod is running, but is not registering

Hi, I have deployed the plugin on the following system:
HW: Intel NUC NUC10i7FNK
CPU/GPU: Intel(R) Core(TM) i7-10710U CPU / Integrated GPU (Comet Lake UHD Graphics)
Host OS: Debian 10 (Buster) [kernel: 4.19.0-18-amd64]
K8s version: v1.20.7+rke2r2 on rancher v2.5.10
Intel device plugin version: v0.23.0
It seems intel-gpu-plugin pod is running and is not showing any error or other message inside the pod logs.
i915 kernel module seems to loaded on the host
root@kubenuc:~# lsmod |grep i915
i915                 1736704  0
drm_kms_helper        208896  1 i915
drm                   495616  2 drm_kms_helper,i915
i2c_algo_bit           16384  1 i915
video                  49152  1 i915

plugin registration status:
root@kubenuc:~# kubectl get nodes -o=jsonpath="{range .items[*]}{.metadata.name}{'\n'}{' i915: '}{.status.allocatable.gpu\.intel\.com/i915}{'\n'}"
kubenuc
 i915:

 i915:

But probably there is something missing, /sys/class/drm is showing only "version" file but it should print out also "card" I guess
root@kubenuc:~# ls -la /sys/class/drm/
total 0
drwxr-xr-x  2 root root    0 Jan 26 23:31 .
drwxr-xr-x 65 root root    0 Jan 26 23:45 ..
-r--r--r--  1 root root 4096 Jan 26 23:31 version

root@kubenuc:~# ls -la /dev/dri
total 0
drwxr-xr-x  2 root root   40 Jan 26 23:25 .
drwxr-xr-x 18 root root 3520 Jan 26 23:25 ..

root@kubenuc:~# cat /sys/class/drm/card*/device/vendor
cat: '/sys/class/drm/card*/device/vendor': No such file or directory

I'm attaching also dmesg output in case this might be useful
dmesg |grep -Ei "vga|gpu|i915|intel"

[    0.000000] DMI: Intel(R) Client Systems NUC10i7FNK/NUC10i7FNB, BIOS FNCML357.0047.2020.1118.1629 11/18/2020
[    0.022511] ACPI: RSDP 0x000000006F0FD014 000024 (v02 INTEL )
[    0.022516] ACPI: XSDT 0x000000006F0FC728 0000CC (v01 INTEL  NUC9i5FN 0000002F AMI  01000013)
[    0.022523] ACPI: FACP 0x000000006F0B8000 000114 (v06 INTEL  NUC9i5FN 0000002F AMI  00010013)
[    0.022530] ACPI: DSDT 0x000000006F074000 0439CD (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022537] ACPI: MCFG 0x000000006F0BB000 00003C (v01 INTEL  NUC9i5FN 0000002F MSFT 00000097)
[    0.022541] ACPI: SSDT 0x000000006F0B9000 001B4A (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022544] ACPI: FIDT 0x000000006F073000 00009C (v01 INTEL  NUC9i5FN 0000002F AMI  00010013)
[    0.022548] ACPI: SSDT 0x000000006F06F000 0031C6 (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022551] ACPI: HPET 0x000000006F0BD000 000038 (v01 INTEL  NUC9i5FN 0000002F AMI  01000013)
[    0.022555] ACPI: SSDT 0x000000006F06B000 0033B4 (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022558] ACPI: SSDT 0x000000006F069000 00115C (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022562] ACPI: SSDT 0x000000006F065000 0032BD (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022565] ACPI: NHLT 0x000000006F0BC000 00002D (v00 INTEL  NUC9i5FN 0000002F AMI  01000013)
[    0.022569] ACPI: LPIT 0x000000006F064000 000094 (v01 INTEL  NUC9i5FN 0000002F AMI  01000013)
[    0.022572] ACPI: SSDT 0x000000006F060000 002720 (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022575] ACPI: SSDT 0x000000006F05F000 00087C (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022579] ACPI: DBGP 0x000000006F05E000 000034 (v01 INTEL  NUC9i5FN 0000002F AMI  01000013)
[    0.022582] ACPI: DBG2 0x000000006F05D000 000054 (v00 INTEL  NUC9i5FN 0000002F AMI  01000013)
[    0.022586] ACPI: SSDT 0x000000006F05B000 001B66 (v02 INTEL  NUC9i5FN 0000002F INTL 20160527)
[    0.022589] ACPI: TPM2 0x000000006F059000 00004C (v04 INTEL  NUC9i5FN 0000002F AMI  00000000)
[    0.022593] ACPI: DMAR 0x000000006F05A000 0000A8 (v01 INTEL  NUC9i5FN 0000002F      01000013)
[    0.022596] ACPI: WSMT 0x000000006F063000 000028 (v01 INTEL  NUC9i5FN 0000002F AMI  00010013)
[    0.022600] ACPI: APIC 0x000000006F058000 0000F4 (v04 INTEL  NUC9i5FN 0000002F AMI  00010013)
[    0.022603] ACPI: FPDT 0x000000006F057000 000044 (v01 INTEL  NUC9i5FN 0000002F AMI  01000013)
[    0.667183] smpboot: CPU0: Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz (family: 0x6, model: 0xa6, stepping: 0x0)
[    0.667292] Performance Events: PEBS fmt3+, generic architected perfmon, full-width counters, Intel PMU driver.
[    0.975874] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.975876] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.975883] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.975884] vgaarb: loaded
[    2.036165] intel_idle: does not run on family 6 model 166
[    2.044854] intel_pstate: Intel P-state driver initializing
[    2.045688] intel_pstate: HWP enabled
[    2.514544] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.514545] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.042260] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[    3.954543] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    4.102631] bluetooth hci0: firmware: failed to load intel/ibt-19-0-4.sfi (-2)
[    4.102637] bluetooth hci0: Direct firmware load for intel/ibt-19-0-4.sfi failed with error -2
[    4.102639] Bluetooth: hci0: Failed to load Intel firmware file (-2)

I have managed to fix this. Kernel version 4.19 of Debian 10 doesn't have the required driver for Comet Lake UHD GPU.
There is a 5.X kernel in backports repository but I preferred to upgrade to Debian 11.
After the upgrade and after installing firmware-misc-nonfree package from non-free repository the GPU is detected correctly
root@kubenuc:~# kubectl get nodes -o=jsonpath="{range .items[*]}{.metadata.name}{'\n'}{' i915: '}{.status.allocatable.gpu\.intel\.com/i915}{'\n'}"
kubenuc
 i915: 1

 i915:

root@kubenuc:~# ls -la /sys/class/drm/
total 0
drwxr-xr-x  2 root root    0 Jan 27 22:54 .
drwxr-xr-x 68 root root    0 Jan 27 22:54 ..
lrwxrwxrwx  1 root root    0 Jan 27 22:55 card0 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0
lrwxrwxrwx  1 root root    0 Jan 27 22:54 card0-DP-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1
lrwxrwxrwx  1 root root    0 Jan 27 22:54 card0-DP-2 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2
lrwxrwxrwx  1 root root    0 Jan 27 22:54 card0-HDMI-A-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1
lrwxrwxrwx  1 root root    0 Jan 27 23:11 renderD128 -> ../../devices/pci0000:00/0000:00:02.0/drm/renderD128
-r--r--r--  1 root root 4096 Jan 27 22:54 version

root@kubenuc:~# ls -la /dev/dri
total 0
drwxr-xr-x  3 root root        100 Jan 27 22:54 .
drwxr-xr-x 17 root root       3300 Jan 27 22:55 ..
drwxr-xr-x  2 root root         80 Jan 27 22:54 by-path
crw-rw----  1 root video  226,   0 Jan 27 22:54 card0
crw-rw----  1 root render 226, 128 Jan 27 22:54 renderD128

root@kubenuc:~# cat /sys/class/drm/card*/device/vendor
0x8086


SigningParameters are not put in quotes

Very minor issue here. When using the SquirrelSettings.SigningParemeters property, the resulting executed command does not put the parameters in " as described in https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/using/application-signing.md
So this means it executes something like:
Squirrel.exe --releasify /path/to/my.nupkg --signWithParams signing parameters
This should look like:
Squirrel.exe --releasify /path/to/my.nupkg --signWithParams "signing parameters"
Otherwise Squirrel fails to sign.

Thanks @phillipsj!


Error when editing user table to add new column

Laravel Version: 5.3
Voyager Version: 0.10
PHP Version: 7.0
Database Driver & Version: mysql

Description:
Editing the user table gives exception:
ErrorException in DatabaseQueryBuilder.php line 141:
Undefined offset: 9
Steps To Reproduce:
Edit the user table via BREAD interface by adding a new column (anything will do) and click update.

Stacktrace
at HandleExceptions->handleError('8', 'Undefined offset: 8', '/Users/mark/Sites/ulties/vendor/tcg/voyager/src/Http/Controllers/Traits/DatabaseQueryBuilder.php', '141', array('request' => object(Request), 'columns' => object(Collection), 'field' => 'role_id', 'index' => '8')) in DatabaseQueryBuilder.php line 141
at VoyagerDatabaseController->buildColumnsCollection(object(Request)) in DatabaseQueryBuilder.php line 51
at VoyagerDatabaseController->buildQuery(object(Request), object(Collection)) in DatabaseUpdate.php line 103
at VoyagerDatabaseController->updateColumns(object(Request), 'users') in VoyagerDatabaseController.php line 99
at VoyagerDatabaseController->update(object(Request), 'users')
at call_user_func_array(array(object(VoyagerDatabaseController), 'update'), array(object(Request), 'database' => 'users')) in Controller.php line 55
at Controller->callAction('update', array(object(Request), 'database' => 'users')) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(VoyagerDatabaseController), 'update') in Route.php line 189
at Route->runController() in Route.php line 144
at Route->run(object(Request)) in Router.php line 642
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VoyagerAdminMiddleware.php line 25
at VoyagerAdminMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 644
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618
at Router->dispatchToRoute(object(Request)) in Router.php line 596
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Debugbar.php line 51
at Debugbar->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 53
at require('/Users/mark/Sites/ulties/public/index.php') in server.php line 106```

#523 fix this.


Table Todo - procedure ReassignTeamTaskToSalesperson from local to global

Hi,
It is possible to make the procedure ReassignTeamTaskToSalesperson global?
Thank you!

This work was completed for Wave 2 2023.


Gpu swap unlock

Unlock during swapout and swapin. Use asynchronous call for memcpy.
Slightly increase memory usage, but make modest improvement to threadedEngine. ThreadedEngine can now match up with NaiveEngine occasionally.
After #32 is merged I will merge from gpu_swap branch so the diff page will be less messy

@Sotskin Please check https://github.com/Sotskin/incubator-mxnet/pull/33/commits/e503900314081aa243a455bb5bf674f7b7b63340


Style/HashEachMethods mistakenly reported for zipped arrays

An autocorrectable Style/HashEachMethods offense can lead to broken code. RuboCop treats zipped arrays as a hash and therefore offers an optimization that makes no sense in this case.

Expected behavior
RuboCop accepts the call to each with an unused block argument on an array produced by Array#zip.
Actual behavior
Array#zip returns an array of arrays. Switching each to each_value makes no sense.
Command output:
For /.../project: configuration from /.../project/.rubocop.yml
Inheriting configuration from /.../project/.rubocop_todo.yml
Use parallel by default.
Skipping parallel inspection: only a single file needs inspection
Inspecting 1 file
Scanning /.../project/app/my_class.rb
Loading cache from /.../.cache/rubocop_cache/fadea096a1fb3fd3f34cefa5204bbfaf11610c5d/7e0edf036d9954ae60d86a00cb9bb69ab476e3c6/bec8eaa5640eb2379d2f06895c1743dabb5ad132
C

Offenses:

app/my_class.rb:8:5: C: [Correctable] Style/HashEachMethods: Use each_value instead of each and remove the unused _v1 block argument.
    zipped_array.each do |_v1, v2| ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1 file inspected, 1 offense detected, 1 offense autocorrectable

Steps to reproduce the problem
class MyClass
  def do_something
    array1 = [:a1, :b1, :c1]
    array2 = [:a2, :b2, :c2]

    zipped_array = array1.zip(array2)

    zipped_array.each do |_v1, v2|  # Style/HashEachMethods offense
      puts ">>> #{v2}"
    end
  end
end

RuboCop version
1.63.4 (using Parser <IP_ADDRESS>, rubocop-ast 1.31.3, running on ruby 3.2.2) +server [arm64-darwin23]
  - rubocop-factory_bot 2.25.1
  - rubocop-performance 1.21.0
  - rubocop-rails 2.24.1
  - rubocop-rake 0.6.0
  - rubocop-rspec 2.29.1
  - rubocop-rspec_rails 2.28.3

This cop is already marked as unsafe, since it can't tell whether the receiver is an array or a hash.

Ah, missed this detail. 🤦♂  Thanks!


Added (Python) Strassen's matrix multiplication algorithm

🛠 Issue (Number)

Issue no #401
👨💻 Changes proposed

Added implementation for Strassen's matrix multiplication algorithm in Python.
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots
Output:

@Kumar-laxmi @072arushi @zugzwang03 @siddhi-244
Requesting reviews. Thank you.


compile error

Building Windows application...
Exception: Unable to generate build files

ok, extract mdk-sdk to fvp/windows path


Release First Version

As a early adopter
I want to have an early release candidate released
So that I can use this library in production secretly.

This may be blocked by #5 or fixes #5 - you decide :wink:

Released 0.1.0 from master. Issue #5 will be fixed together with #7 which is planned for 0.2.0


[Question] How to convert the LLaVA training data format?

Question
My dataset consists of an image and a corresponding text description. How can I convert them into the dataset format suitable for training with LLaVA?Thanks！

https://github.com/haotian-liu/LLaVA/blob/main/docs/Finetune_Custom_Data.md


Fix bitmap font loader to support both text and xml formats in "fnt" files

Description of change

Fixes #6840
Pre-Merge Checklist

[x] Tests and/or benchmarks are included
[ ] Documentation is changed or added
[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

Thank you @SerG-Y


Add documentation on our observability stack

Please remember to

[x] Give the PR a meaningful title -- it will be shown in the release notes
[x] Add (or remove) user questions associated with any updated docs

Towards https://github.com/giantswarm/roadmap/issues/274
@Oshratn and @piontec already reviewed the doc https://docs.google.com/document/d/1tKEolkYbRBR4a3_cgaXdj9kDDUep_rvG3bHdKmb_mCk/edit# -- this is just a reproduction, so no need to do duplicate review on content.

hi @marians , do you know why the checks failed? :)

Multiple issues:
First fix these
src/content/app-platform/apps/observability/_index.md:28:6 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
src/content/app-platform/apps/observability/_index.md:29:69 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
src/content/app-platform/apps/observability/_index.md:43:301 MD047/single-trailing-newline Files should end with a single newline character

The frontmatter validation looks like its an error in the script. @marians looking at the script it seems that the validate functions when exiting early returns the result list not something like the dict at the end of the function.
Could be the NO_TRAILING_NEWLINE check. @cokiengchiara try adding an empty line at the end of the document

looks good, now fix the rest :)

Thanks @marians and @ubergesundheit ❤


Added mouseDeltaPos support for touch control

haven't tested it but it shouldn't break things

Thanks!


flutter/flutter main and master branches no longer pointing to the same commit

These branches should be in-sync.
At the moment, master is pointed to 114dd89 (up-to-date) and main is pointed to b6c14d7 (4 days ago).
The mirror GitHub action is failing with Bad credentials
https://github.com/flutter/flutter/actions/runs/10566254966/job/29272595079#step:2:23
Run google/mirror-branch-action@30c52ee21f5d3bd7fb28b95501c11aae7f17eebb
  with:
    github-token: ***
    source: master
    dest: main
Error: Bad credentials

The same thing happened 2 years ago:
https://github.com/flutter/flutter/issues/105159

Could you help renew the token FLUTTERMIRRORINGBOT_TOKEN?

Updated the token and ran the failing workflows. Now main and master point to the same commit.

https://github.com/flutter/flutter/blob/114dd89bbb831d7a48ba15287dcb34b6c0147762/.github/workflows/mirror.yml#L24-L26

Paper trail for the mirroring bot go/flutter-github-actions#authentication

Ok, I generated a new token and updated the FLUTTERMIRRORINGBOT_TOKEN secrets key in https://github.com/organizations/flutter/settings/secrets/actions.
I found the easiest way to generate a new token was to log into the https://github.com/fluttermirroringbot account -> settings -> developer settings -> Personal access tokens -> Tokens (classic) -> select the pre-existing, expired token -> "Regenerate token" button.
By using the "regenerate token" button, it will ensure the new token has all of the same permissions as the old one.

Looks like we're up to date, closing this issue: https://github.com/flutter/flutter/tree/main


Tiled mesh/wind layers should support min zoom level

In order to avoid fetching too much data at lower zoom level.

I fixed the issue for tiled wind layers (both in master & v1.2)
I found no issue with tiled mesh layers though, maybe I missed something.


Added installation and run instructions

I put them into readme and not into the wiki. I think it should be here.
Are they too detailed? I can simply list all the instructions one by one.

The instructions are clear and not too detailed. I agree, they should be placed in the readme. You may merge this pull request.


Failed to set DNS configuration

openvpn[30085]: Failed to set DNS configuration: Unit dbus-org.freedesktop.resolve1.service not found.
Any idea how to fix?
openvpn seems not hiding my ip :\

systemctl status systemd-resolved.service
systemctl enable systemd-resolved.service
fixed it with these 2 commands but nordvpn/openvpn is still not hiding my ip :(


Implement extract for a type that implements From<Vec>?

I have a type that implements From<Vec<u8>>. Do I need to write a full impl Extract and impl ExtractFuture for my type? It looks like I can mostly just copy the bytes extract but that seems a bit suboptimal.
If the extract::bytes::* was public, I think I can just do:
impl<B: BufStream> Extract<B> for MyStruct {
    type Future = ExtractBytes<Self, B>;

    fn extract(ctx: &Context) -> Self::Future {
        unimplemented!();
    }

    fn extract_body(ctx: &Context, body: B) -> Self::Future {
        let state = State::Body(body.collect());
        ExtractBytes { state }
    }

    fn requires_body(callsite: &CallSite) -> bool {
        true
    }
}

Yeah, those types probably could be public. I also think we could support this case w/ #[derive(Extract)]:
#[derive(Extract)]
#[web(from_bytes)]
struct MyType { ... }

In this case, you would implement From<Bytes>, which is mostly equivalent. Though, if you really need to convert from a vec, that could possibly be supported too. Could you share more details about the type that can be converted from Vec<u8>?

MyType is a generated protobuf message struct.

That would be useful to me too, I'm doing the same thing but with Vec<u8> being a snappy-compressed protobuf message

I'm playing around with quick-protobuf and rental together. I can't tell if it is a winning combination or a terrible idea.
My struct looks like this:
rental! {
    mod rentals {
        use super::*;

        #[rental(covariant, debug)]
        pub struct MyProtoRental{
            buf: Vec<u8>,
            proto: MyProtoMessage<'buf>,
        }
    }
}

Unfortunately, the way rental works I can't add other attributes on my struct (I don't know if that is just lack of a feature or a permanent issue).
If I need to implement From<Bytes> for MyProtoRental, is it safe to implement StableDeref for Bytes? It looks like it probably isn't since short messages aren't heap allocated. Is it possible to guarantee all Bytes that get used in my From are on the heap (and therefore safe to mark StableDeref)?
I was playing with warp and I implemented StableDeref + Deref for a newtype around FullBody. I'm not sure if that is safe.

I haven't forgotten this, I think protobuf is a good usecase.
I don't have an immediate great solution. Supporting From<Vec<u8>> would work, but that wouldn't take advantage of Bytes and zero copy.
I want to spend some more time thinking about it.
In the mean time, taking body: Vec<u8> works... not great but works.

@qmx @nerdrew Instead of implementing Extract for From<Vec<u8>>, I'm thinking it would be for FromBufStream (being proposed here: https://github.com/tokio-rs/tokio/pull/611/files#diff-026fa19f4a16876a112c89b16c89bccaR15).
Pro: It is more flexible than T: From<Vec<u8>>.
Con: It would require types to implement FromBufStream.
To use with protobuf, you would need the lib in question to provide an implementation of FromBufStream for their types. This could be provided via a feature flag.
The work around is always a wrapper type.

I was using quick-protobuf b/c I like that it doesn't allocate Strings and just uses Cow<str> when decoding string fields. Though if this prost issue gets done, I wonder if there is any performance benefit to Cow vs using bytes + your string crate.

I haven't tried bytes out yet. When decoding a protobuf with FromBufStream, would you need to incrementally decode the proto as extend is called? Also, related to my previous post, if the proto struct uses bytes::Bytes (not sure if the fields would be Bytes or BytesMut) and string::String fields, could the FromBufStream be zero copy when decoding those fields?

std::String fields cannot be zero copy when coming from Bytes. However, you can also use the string crate (http://crates.io/crates/string) which does support zero copy. In that case, you would have String<Bytes>.


[Bug] New Search Engine on EXH

Device information

Tachiyomi version: V8.7.2-AZ
Android version: Android 10 QKQ1 .20114.002
Device: Redmi Note 8

Steps to reproduce

Go to Browse for extension
Click in extension
Go to page 2

Expected behavior
go to page 2
Actual behavior
Doesn’t advance the page
Other details
The search results is now done by gallery ID (GID) ranges rather than "pages"
More info: https://forums.e-hentai.org/index.php?showtopic=261743

fixed in the dev build, https://crafty.moe/tachiyomiAZ.apk
let me know if there are still any issues with it

fixed in the dev build, https://crafty.moe/tachiyomiAZ.apk
let me know if there are still any issues with it

Just installed and it seems to be working as intended. I'm getting the pages to load as normal. I'll scroll around and see if I run into any issues but this fix seemed to work.


Retained messages

Describe your question
When you publish a retained message via the server does it automatically send out the retained messages when a client subscribes? I'm am publishing a set of retained messages on start of the mqtt server but when a client connects and subscribes to the topic they don't receive any messages. I do see all of the messages I publish in my UseApplicationMessageReceivedHandler. Any direction here would be appreciated.
Which project is your question related to?

Server

When you publish a retained message via the server does it automatically send out the retained messages when a client subscribes?

It should, yes.
Do you have an example project or some code? It's quite difficult to check this without.

Which version of the library are you using?
Which project type does your project have? UWP, NetCore, ASPNetCore?
Do you use the server and client project from MQTTnet or another server / client?

@fadeaway maybe the following article can be of use.

@ncg81 Fuuuuck :D I again forgor this clean session stuff... You're right, this might be causing the issue for @fadeaway

Any updates on this @fadeaway? If not, I would like to close this issue.

Use MqttClient instead of ManagedClient in producer.


Remove nib as dependency

I and many others already use autoprefixer and microlibs inteads of nib

+1 on this please @shama


Updating BQ view, with seq group fixes.

BQ table has been updated to fix the seq group, however the pulumi script contains the old version.

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

Please upload report for BASE (main@95a7670). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #281   +/-   ##
=======================================
  Coverage        ?   90.93%
=======================================
  Files           ?        4
  Lines           ?      430
  Branches        ?        0
=======================================
  Hits            ?      391
  Misses          ?       39
  Partials        ?        0

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


[EIA] Add bulk download and bq table import scripts

There are two separate scripts that needs to be run sequentially:

download data for all datasets: download_bulk.py
convert to bq import format: generate_jsonl_for_bq.py
copy to gcs
run bq import

Data has been loaded to BQ for 3/19/2021.

thanks for the review!


Sales order card not loading in the app (Android) - AP region

Tutorials: https://developers.sap.com/tutorials/cp-mobile-cards-booster-starter.html
Hello,
The sales order approval card in 2nd tutorial is not loading in the mobile app. and it shows error in the app's activity log.
Note: Scenario tested in Android device.
Please check the issue.
Thanks,
Shubham
Labels to be attached:
Scenario label: SCPTest-mcard
Sprint Label: SCPTest-2203A
Prio: High
Landscape: trial3 (AP)

Hello @SamiLechner ,
I tried the scenario again today in AP Region and I was able to see all the cards in the app.
So, the issues seem to be resolved now :)
Kind Regards,
Shubham


Multiple moonraker instances on single machine

I have installed two printer instances using KIAUH. I would like to receive notifications from both printers using moonraker-telegram-bot. The instructions for this situation aren't clear to me.
Do I need to install two separate moonraker-telegram-bot instances as well? The only thing i find about multiple instances is the following:
[bot]
server: localhost
This is the adress, where the moonraker of the desired printer is located at.
In most cases it will be 'localhost'. Alternatively, an ip:port, as in <IP_ADDRESS>:7125 can be entered,
if you are running multiple moonraker instances on the machine, or if the bot is located not on the printer itself
Can someone explain to me what I need to do, please?

Yeah, you are spot on. If you have two printers, (two moonrakers, two klippers, etc) you will also need two bots. They can share the same camera on most setups though.
I have not tracked the progress with KIAUH, if it already can install two instances already.

another repo with moonraker telegramm bot have script to install two or more instance of bot. but bot not have buttons at menu telegram. https://github.com/Raabi91/moonraker-telegram


added version information for .NET class library project

The documentation is unclear about which .NET version to use. The packaes are only compatible with .NET version 4.0 or lower. This must be made clear.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@nihil0 : Thanks for your contribution to the Azure documentation! The author, @spelluru, has been notified to review your proposed change.

@nihil0 - Thanks for your contribution. I appreciate it. Are you using Visual Studio 2015? In Visual Studio 2015, I select "Class Library" and keep the default .NET version ".NET Framework 4.5.2". These steps could be different for each version of VS. I would like to keep the existing steps if you are not using VS 2015. Thanks.

I don't have VS 2015 and only 2017 is available now. Maybe we could add a separate section for VS 2017 since MS is promoting that now?

#sign-off

I will close this pull request because I have addressed this issue in my other pull request.


How do I pass an image into generate_content_stream?

More documentation and examples of the contents param in generate_content_stream would be helpful. I haven't managed to pass in a base64 image into contents yet.

We added some samples to the README today that might help. Is this the kind of example you're looking for? https://pypi.org/project/google-genai/
Also the Google AI forum might be another good place to ask questions like this: https://discuss.ai.google.dev/c/ai-studio/8

Thanks @jscud The examples you've added are helpful. I'll give that a try.


OAuth: When verifying token, do not pass the access_token as query param

In decorators/security.py - verify_oauth, a session.get() call is made to the token_info_url and the access_token to be verified is passed as a query parameter.  According to the OAuth 2.0 Authorization Framework: Bearer Token Usage, section 5.3 ( https://tools.ietf.org/html/rfc6750#section-5.3 ):

Don't pass bearer tokens in page URLs:  Bearer tokens SHOULD NOT be
passed in page URLs (for example, as query string parameters).
Instead, bearer tokens SHOULD be passed in HTTP message headers or
message bodies for which confidentiality measures are taken.
Browsers, web servers, and other software may not adequately
secure URLs in the browser history, web server logs, and other
data structures.  If bearer tokens are passed in page URLs,
attackers might be able to steal them from the history data, logs,
or other unsecured locations.

I propose that this code is changed to something along these lines:
token_request = session.post(token_info_url, json={'access_token': token}, timeout=5)

@JoshStutts thanks, actually I would propose passing the OAuth token in the Authorization header (as "Bearer" token), this is also what our two (!) :smirk: different OAuth providers support, e.g. our Open Source Plan B infrastructure, see https://planb.readthedocs.org/en/latest/oauth2.html#introspection-endpoint
Even better would be to support the "new" standard OAuth 2.0 Token Introspection Endpoint, see https://tools.ietf.org/html/rfc7662

Our STUPS Spring support library (for implementing OAuth resource servers with Java/Spring) also uses the Authorization header, see https://github.com/zalando-stups/stups-spring-oauth2-support/blob/master/stups-spring-oauth2-server/src/main/java/org/zalando/stups/oauth2/spring/server/DefaultTokenInfoRequestExecutor.java#L71

I would not use the HTTP "POST" method here as the request does not change any state, I think passing the access token should look like:
token_request = session.get(token_info_url,
                            headers={'Authorization': 'Bearer {}'.format(token)},
                            timeout=5)

Good call on changing the title of this issue, I should not have been presumptive of the solution when opening the issue.  I like the idea of passing it as an Authorization header and you are right about using GET instead of POST, but RFC 7662 that you linked to wants the access_token passed as '"application/x-www-form-urlencoded" data'.

@JoshStutts yes, the linked RFC is fairly new and not yet implemented (at least not in our own OAuth providers, e.g. https://github.com/zalando/planb-tokeninfo/issues/32) --- the response structure is also different, i.e. the new "Introspection Endpoint" is something for the future and should be configurable (on/off)

NOTE: Google actually uses the access_token query parameter, see https://developers.google.com/identity/protocols/OAuth2UserAgent#validatetoken

Their first example of calling one of their APIs also passes the access_token as a query parameter:  https://developers.google.com/identity/protocols/OAuth2UserAgent#callinganapi

@JoshStutts I propose adding a TOKENINFO_METHOD option:

"auth" --- use Authorization header (make this the default)
"query" --- use "access_token" query param
"introspect" --- use RFC 7662 method (which also has different response structure)

(Just a quick shot, open for better ideas...)
Obviously passing a custom function into Connexion for token validation is another option.

@JoshStutts what OAuth infrastructure are you using? I guess most people will be constrained by existing infrastructure...

I created my own JWT based OAuth server, so I'm not using any particular product and I'm open to any implementation that helps secure the access_token.  I like the idea of having auth, query, or introspect as options that could be passed to connexion.

:+1:

NOTE: We also need to update our Connexion OAuth example (https://github.com/zalando/connexion/tree/master/examples/oauth2) as soon as this issue is tackled...

Would you expect the example to be broken at the moment? Having some trouble testing it. Thanks.

srv:~/connexion/examples/oauth2$ ./mock_tokeninfo.py &
[1] 13287
srv:~/connexion/examples/oauth2$  * Running on http://<IP_ADDRESS>:7979/ (Press CTRL+C to quit)
srv:~/connexion/examples/oauth2$ ./app.py
INFO:werkzeug: * Running on http://<IP_ADDRESS>:8081/ (Press CTRL+C to quit)
srv:~$ curl http://localhost:8081/secret
{"type": "about:blank", "title": "Unauthorized", "status": 401, "detail": "No authorization token provided"}
srv:~$ curl -H 'Authorization: Bearer 123' http://localhost:8081/secret
{"type": "about:blank", "title": "Internal Server Error", "status": 500, "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application."}
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): srv
ERROR:main:Exception on /secret [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.4/dist-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python3.4/dist-packages/connexion/decorators/security.py", line 82, in wrapper
token_info = token_request.json()  # type: dict
File "/usr/local/lib/python3.4/dist-packages/requests/models.py", line 808, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.4/json/init.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
INFO:werkzeug:<IP_ADDRESS> - - [18/Mar/2016 10:21:27] "GET /secret HTTP/1.1" 500 -

@beenhead works for me --- I just tested it with Connexion 1.0.76 (Python 3, installed from PyPI)

@beenhead what version are your running? Did you change the example app.py? I see that your app.py starts on port 8081, but the example uses port 8080 (compare yourself: https://github.com/zalando/connexion/blob/master/examples/oauth2/app.py)

Hi - I am running 1.0.76:

pip3 show connexion
Name: connexion
Version: 1.0.76
Location: /usr/local/lib/python3.4/dist-packages
Requires: requests, flask, jsonschema, strict-rfc3339, swagger-spec-validator, PyYAML, six

And the only thing I changed in app was the port (I had something running on 8080). I shut down the other service and started app.py on 8080 just to make sure, and still same issue.

Since updating to 1.0.81 this issue is resolved and demo code works. Thanks.

@beenhead thanks for the feedback! :grinning:

@rafaelcaricio I think this issue must be kept open, @beenhead's problem was "unrelated" to this issue's title.

@hjacobs Oops, sorry.

@hjacobs For your March 9 comment above (NOTE: We also need to update our Connexion OAuth example (https://github.com/zalando/connexion/tree/master/examples/oauth2) as soon as this issue is tackled...): Looks like no update was made?

In server function call would be very welcome here. If you are issuing your own tokens for your own users there is really no need to http overhead for checking a token in process.


feat: update navbar component as per the instructions

added logo instead of react icon for gnome
reduced spacing between announcement text and logo and apply here button, changed color to cyan to create a visible separation.

preview page: https://gnome-front.vercel.app/

instead of cyan u can edit the color cyan to this hex value ->#d84c28, which will support the theme of this upper_section.svg, however it will not compliment the trademark tm and sub-Nepal from the GNOMENepal.png, which in fact is supported and makes the tm and sub-Nepal visible by cyan

There’s no need to close and reopen the same PR. No worries, though—the necessary changes have been made to align with our current theme and alignment.

Refer to #90. Thanks for your contribution @RyuZinOh

Refer to #90. Thanks for your contribution @RyuZinOh

yes, but contribution isn't merged from the branch

I was working on adding the final commit to align with our theme, and it ended up creating a new PR. No worries though, all your commits are linked to that PR.


Don't skip DSA signature check for downloaded file if signature is null

since we'll bypass correct handling of security modes Unsafe and
UseIfPossible. This results in ValidationResult.Invalid instead of
ValidationResult.Unchecked.

Hi @keithclanton! Thanks for the pull request. I'll take a look at it in the next few days. (PS -- congrats on being a first-time GitHub contributor!)

I added some comments as I was reviewing things. Thank you, and congrats on your first GitHub contribution!


Repeated IHostingEnvironment

"The most significant change from WebHostBuilder to HostBuilder is in dependency injection (DI). When using HostBuilder, you can only inject IConfiguration, IHostingEnvironment, and IHostingEnvironment into Startup's constructor. "

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

ID: 76f39eec-9dd1-6167-56ec-47b26e0b5063
Version Independent ID: f9f2b0f3-01eb-cf58-8767-194fe0fc0e44
Content: Migrate from ASP.NET Core 2.2 to 3.0 Preview
Content Source: aspnetcore/migration/22-to-30.md
Product: aspnet-core
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

@dodyg 	thanks for reporting this.


ModelViewer: Probably unintended change of rotation point in editor

To reproduce

Add a model to the model viewer
Add a content to the model
Notice that the model now rotates around the position of the newly added hotspot instead of rotating around the original center of the model. Not sure if that is intended behavior.

but i think its same behavior on modelviewer editor?
https://modelviewer.dev/editor/


team size incorrect

got team size of 2 when in trio

i think when someone leaves the raid this happens


Need clarification on Dynamics 365 for Operations peering

The question 'Can Dynamics 365 for Operations (formerly known as Dynamics AX Online) be accessed over an ExpressRoute connection?' indicates you'd use Public peering for Dynamics 365 for Operations, but the Supported Services section at the top of the page indicates D365O can use both Public Peering or Microsoft Peering (with Route Filtering). I believe Microsoft Peering is now the preferred?

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

ID: 3cdb32c0-628d-0be2-f514-477d46dfa1b8
Version Independent ID: fa096059-2d16-30a2-1e8b-8b9671afcaa4
Content: Azure ExpressRoute FAQ
Content Source: articles/expressroute/expressroute-faqs.md
Service: expressroute
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@SteveBurkettNZ Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Hi! We're in the process of changing our documentation regarding Microsoft Peering. You'll see the updates soon!

#please-close


Make channel default language Elvish

Is your feature request related to a problem? Please describe.
I regularly block channels that are clearly not English language channels but show up in my English language feed because they pollute the feed with content I cannot consume. However, there seems to be nearly always 5-15% of the videos are something other than English.
Describe the solution you'd like
Make default language a not real language, such as Elvish. That way people making channels who for whatever reason don't care to set the language will not pollute feeds of English language users.
Describe alternatives you've considered
When text entered contains non-English language text and the language is set to the default English, make a very intrusive and annoying pop-up to ask them to configure their default language.

Thanks for the suggestion. It would be best to make sure the default for creation is whatever their browser/machine is. You can create that issue if you like, and I will label it appropriately.


suggest: replace traverse by neotraverse in markdown-to-ast

https://npmgraph.js.org/?q=traverse vs https://npmgraph.js.org/?q=neotraverse
neotraverse repo : https://github.com/PuruVJ/neotraverse

https://github.com/TheDevMinerTV/package-size-calculator
https://github.com/es-tooling/ecosystem-cleanup
(I can open a PR if needed)

Looks good. Welcome PR


[Manual] - Search results are not updated after changing of elements view

Commit number: 9b800d22b82f4aa70239a721cf3dd5dc7d5c7bdb
Preconditions: test user is signed in;
Steps to reproduce:

Open "Search" screen
Make a search with search results
Make other search with other search results
Change view of elements (gallery or list) several times during search process

Actual Result: The search results are not updated and results for previous search are displayed
Expected Result: Results for the current search are displayed on the screen

Verified on build from commit number d6c3226b855da038d105e33ba6c249d222417e31


Container userspace configuration

As a developer, docker-compose requires the ability to read/write between the development env and the container.

Minor container configuration changes to support SELinux distros.
{t:60}


Adding support for generating certifactes

restful now supports ECDSA certficates.
script to generate all the certs/keys
rendering template into header file.

Know issues: CI test script returns a false positive. There is one new failing test than master.


Setting the zinc compiler to be the same.

Making the zinc versions the same

@ethankhall the Travis CI build has failed, we would need that compilation error fixed before reviewing this.

@adrianbk Sorry about that, this change should work. I missed the depreciated constructor :-/


Wake from sleep causes app to get stuck

Upon waking from sleep, the app is in a 'paused' state, and there does not seem to be any way to unpause it. The 'Restart' command has no effect, nor does clicking on any of the other options. It eventually unpauses on its own, but it can take quite a while.

This has been fixed in 0.9.1.


Create armstrong.py

please add hacktoberfest accepted tag to my pr

please star this repo

My pr is excluded

I think due to simplicity of the repo they removed our repo
On Fri, 21 Oct, 2022, 7:30 pm Himanshu Sharma, @.***>
wrote:

My pr is excluded
—
Reply to this email directly, view it on GitHub
https://github.com/SomSingh23/IIIT_PUNE_Hacktoberfest_2022/pull/70#issuecomment-1287009206,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVZ7I6J7JTELXDDA2LLWDHLWEKOZPANCNFSM6AAAAAARKBBQMI
.
You are receiving this because you modified the open/close state.Message
ID: @.***
com>


Request to add detail on the maximum limit of CASEs and efficiency.

I could not find this information.  What is the maximum limit to the number of CASEs that can be inside a single SWITCH block?  And what are the perfomance implications, if the maximum is large?  i.e.: dozens of Cases versus hundreds of cases?

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

ID: 77d9cc47-5caf-184a-0ad6-cb968850be7a
Version Independent ID: f058bf17-04e9-9e23-05c7-66c1864445ad
Content: C# switch statement
Content Source: docs/csharp/language-reference/keywords/switch.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@jagerschmidt The official specification does not declare a limit. There are logical limits based on the type used: If the expression is a byte, there are only 256 possible values.
My opinion is that you'll reach the limit of readability before you observe any performance issues.
/cc @jcouv @stephentoub  to check on any performance considerations.


CAN SOMEOME HELP ME

Bro i accidentaly turn my sens multiplier até 234 and i cant move my mouse to turn off.I NEED HELP NOW MAN PLS

help
got the same problem

but mine is 999999

To fix go into safe mode and delete raw accel

Windows can be navigated with keyboard only. You can use windows search with windows key, tab, arrow keys, and enter to find and start rawaccel.exe and tab to the sens multiplier field, then to apply.


fixes toString problem in PactDslResponse when DslPart used

Fixes toString problem in PactDslResponse when DslPart used.
Basically if for example you do something like:
PactDslJsonRootValue.stringMatcher("[0-9]+.[0-9]", "123.2");

since PactDslResponse calls toString directly, if the method is not implemented then a weird string representation is shown instead of the value set as example. This is the case when PactDslJsonRootValue. Since toString is not overriden you cannot use the example value (123.2). And the same would happens with any DslPart object not implementing toString method. To mitigate this, the getBody is used to get the value.

Good catch!

You are welcome. A pleasure to help on this awesome project. I am going to show it briefly in Greach conf :) http://greachconf.com/ among other tools for doing CD for microservices.

@lordofthejars Great stuff! Will the conference be recorded? Let us know if there is anything we as a community can do better to engage and promote - feedback always welcome!


Allow full configuration of how SQS client connects

Simply setting aws_connection_config to a hash with the relevant config.
Example of use:
config.active_elastic_job.aws_connection_config = {
  endpoint: 'http://localhost:4576',
  verify_checksums: false
}

This switches the endpoint to connect to a local service, could be a localstack used for development.
Any thoughts?

I guess not