byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_typedlist.py to test_typedlist.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_typedobjectutils.py to test_typedobjectutils.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_typeguard.py to test_typeguard.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_typeinfer.py to test_typeinfer.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_typenames.py to test_typenames.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_typeof.py to test_typeof.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_types.py to test_types.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_typingerror.py to test_typingerror.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_ufuncs.py to test_ufuncs.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_unicode.py to test_unicode.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_unicode_array.py to test_unicode_array.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_unicode_names.py to test_unicode_names.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_unpack_sequence.py to test_unpack_sequence.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_unsafe_intrinsics.py to test_unsafe_intrinsics.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_usecases.py to test_usecases.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_vectorization.py to test_vectorization.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_vectorization_type_inference.py to test_vectorization_type_inference.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_warnings.py to test_warnings.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_withlifting.py to test_withlifting.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/test_wrapper.py to test_wrapper.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/threading_backend_usecases.py to threading_backend_usecases.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/tests/usecases.py to usecases.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/typed/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/typed/dictimpl.py to dictimpl.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/typed/dictobject.py to dictobject.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/typed/listobject.py to listobject.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/typed/typeddict.py to typeddict.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/typed/typedlist.py to typedlist.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/typed/typedobjectutils.py to typedobjectutils.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/types/init.py to init.cpython-38.pyc
creating stub loader for numba/_dynfunc.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/_dispatcher.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/_helperlib.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/core/typeconv/_typeconv.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/np/ufunc/_internal.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/np/ufunc/_num_threads.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/mviewbuf.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/core/runtime/_nrt_python.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/experimental/jitclass/_box.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/cuda/cudadrv/_extras.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/np/ufunc/omppool.cpython-38-riscv64-linux-gnu.so
creating stub loader for numba/np/ufunc/workqueue.cpython-38-riscv64-linux-gnu.so
byte-compiling build/bdist.linux-riscv64/egg/numba/_dispatcher.py to _dispatcher.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/_dynfunc.py to _dynfunc.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/_helperlib.py to _helperlib.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/core/runtime/_nrt_python.py to _nrt_python.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/core/typeconv/_typeconv.py to _typeconv.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/cuda/cudadrv/_extras.py to _extras.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/experimental/jitclass/_box.py to _box.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/mviewbuf.py to mviewbuf.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/np/ufunc/_internal.py to _internal.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/np/ufunc/_num_threads.py to _num_threads.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/np/ufunc/omppool.py to omppool.cpython-38.pyc
byte-compiling build/bdist.linux-riscv64/egg/numba/np/ufunc/workqueue.py to workqueue.cpython-38.pyc
creating build/bdist.linux-riscv64/egg/EGG-INFO
installing scripts to build/bdist.linux-riscv64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-riscv64/egg/EGG-INFO/scripts
copying build/scripts-3.8/pycc -> build/bdist.linux-riscv64/egg/EGG-INFO/scripts
copying build/scripts-3.8/numba -> build/bdist.linux-riscv64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-riscv64/egg/EGG-INFO/scripts/pycc to 755
changing mode of build/bdist.linux-riscv64/egg/EGG-INFO/scripts/numba to 755
copying numba.egg-info/PKG-INFO -> build/bdist.linux-riscv64/egg/EGG-INFO
copying numba.egg-info/SOURCES.txt -> build/bdist.linux-riscv64/egg/EGG-INFO
copying numba.egg-info/dependency_links.txt -> build/bdist.linux-riscv64/egg/EGG-INFO
copying numba.egg-info/requires.txt -> build/bdist.linux-riscv64/egg/EGG-INFO
copying numba.egg-info/top_level.txt -> build/bdist.linux-riscv64/egg/EGG-INFO
writing build/bdist.linux-riscv64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
numba.pycache._dispatcher.cpython-38: module references file
numba.pycache._dynfunc.cpython-38: module references file
numba.pycache._helperlib.cpython-38: module references file
numba.pycache.mviewbuf.cpython-38: module references file
numba.cext.pycache.init.cpython-38: module references file
numba.core.pycache.caching.cpython-38: module MAY be using inspect.getsource
numba.core.pycache.decorators.cpython-38: module MAY be using inspect.stack
numba.core.pycache.errors.cpython-38: module references file
numba.core.pycache.extending.cpython-38: module references file
numba.core.pycache.tracing.cpython-38: module MAY be using inspect.trace
numba.core.annotations.pycache.type_annotations.cpython-38: module references file
numba.core.runtime.pycache._nrt_python.cpython-38: module references file
numba.core.typeconv.pycache._typeconv.cpython-38: module references file
numba.core.typing.pycache.templates.cpython-38: module references file
numba.core.typing.pycache.templates.cpython-38: module MAY be using inspect.getsourcefile
numba.cuda.pycache.compiler.cpython-38: module references file
numba.cuda.pycache.compiler.cpython-38: module MAY be using inspect.getsourcefile
numba.cuda.cudadrv.pycache._extras.cpython-38: module references file
numba.cuda.tests.pycache.init.cpython-38: module references file
numba.cuda.tests.cudadrv.pycache.init.cpython-38: module references file
numba.cuda.tests.cudadrv.pycache.test_linker.cpython-38: module references file
numba.cuda.tests.cudapy.pycache.init.cpython-38: module references file
numba.cuda.tests.cudasim.pycache.init.cpython-38: module references file
numba.cuda.tests.doc_examples.pycache.init.cpython-38: module references file
numba.cuda.tests.nocuda.pycache.init.cpython-38: module references file
numba.experimental.jitclass.pycache._box.cpython-38: module references file
numba.misc.pycache.gdb_hook.cpython-38: module references file
numba.misc.help.pycache.inspector.cpython-38: module references path
numba.np.ufunc.pycache._internal.cpython-38: module references file
numba.np.ufunc.pycache._num_threads.cpython-38: module references file
numba.np.ufunc.pycache.omppool.cpython-38: module references file
numba.np.ufunc.pycache.workqueue.cpython-38: module references file
numba.parfors.pycache.parfor.cpython-38: module MAY be using inspect.getsource
numba.pycc.pycache.cc.cpython-38: module references file
numba.roc.tests.pycache.init.cpython-38: module references file
numba.roc.tests.hsadrv.pycache.init.cpython-38: module references file
numba.roc.tests.hsapy.pycache.init.cpython-38: module references file
numba.roc.tests.hsapy.pycache.test_large_code.cpython-38: module references file
numba.scripts.pycache.generate_lower_listing.cpython-38: module references file
numba.scripts.pycache.generate_lower_listing.cpython-38: module MAY be using inspect.getsourcefile
numba.testing.pycache.loader.cpython-38: module references file
numba.testing.pycache.main.cpython-38: module references file
numba.testing.pycache.main.cpython-38: module MAY be using inspect.getsourcefile
numba.tests.pycache.init.cpython-38: module references file
numba.tests.pycache.cffi_usecases.cpython-38: module references file
numba.tests.pycache.ctypes_usecases.cpython-38: module references file
numba.tests.pycache.support.cpython-38: module references file
numba.tests.pycache.test_cfunc.cpython-38: module references file
numba.tests.pycache.test_dispatcher.cpython-38: module references file
numba.tests.pycache.test_jit_module.cpython-38: module references file
numba.tests.pycache.test_parallel_backend.cpython-38: module references file
numba.tests.pycache.test_parfors_caching.cpython-38: module references file
numba.tests.pycache.test_pycc.cpython-38: module references file
numba.tests.pycache.test_stencils.cpython-38: module MAY be using inspect.getsource
numba.tests.pycache.test_types.cpython-38: module references file
numba.tests.doc_examples.pycache.init.cpython-38: module references file
numba.tests.npyufunc.pycache.init.cpython-38: module references file
numba.tests.npyufunc.pycache.test_caching.cpython-38: module references file
creating 'dist/numba-0.53.0.dev0+357.g4d3d2673c.dirty-py3.8-linux-riscv64.egg' and adding 'build/bdist.linux-riscv64/egg' to it
removing 'build/bdist.linux-riscv64/egg' (and everything under it)
Processing numba-0.53.0.dev0+357.g4d3d2673c.dirty-py3.8-linux-riscv64.egg
removing '/usr/local/lib64/python3.8/site-packages/numba-0.53.0.dev0+357.g4d3d2673c.dirty-py3.8-linux-riscv64.egg' (and everything under it)
creating /usr/local/lib64/python3.8/site-packages/numba-0.53.0.dev0+357.g4d3d2673c.dirty-py3.8-linux-riscv64.egg
Extracting numba-0.53.0.dev0+357.g4d3d2673c.dirty-py3.8-linux-riscv64.egg to /usr/local/lib64/python3.8/site-packages
numba 0.53.0.dev0+357.g4d3d2673c.dirty is already the active version in easy-install.pth
Installing numba script to /usr/local/bin
Installing pycc script to /usr/local/bin
Installed /usr/local/lib64/python3.8/site-packages/numba-0.53.0.dev0+357.g4d3d2673c.dirty-py3.8-linux-riscv64.egg
Processing dependencies for numba==0.53.0.dev0+357.g4d3d2673c.dirty
Searching for llvmlite<0.37,>=0.36.0.dev0
Reading https://pypi.org/simple/llvmlite/
No local packages or working download links found for llvmlite<0.37,>=0.36.0.dev0
error: Could not find suitable distribution for
Requirement.parse('llvmlite<0.37,>=0.36.0.dev0')

. I tried to perform installation yesterday - but the script found "llvmlite" pip3 package available, which was reported as a conflicting one.
I have removed it - and got what you see above.

I tried to check via pip3:

$ sudo pip3 install numba
[sudo] password for root:
Requirement already satisfied: numba in /usr/local/lib64/python3.8/site-packages/numba-0.53.0.dev0+357.g4d3d2673c.dirty-py3.8-linux-riscv64.egg (0.53.0.dev0+357.g4d3d2673c.dirty)
Collecting numba
Downloading numba-0.52.0.tar.gz (2.1 MB)
|████████████████████████████████| 2.1 MB 371 kB/s
Requirement already satisfied: numpy>=1.15 in /usr/local/lib64/python3.8/site-packages (from numba) (1.19.4)
Requirement already satisfied: setuptools in /usr/lib/python3.8/site-packages (from numba) (44.1.1)
Collecting llvmlite<0.36,>=0.35.0
Using cached llvmlite-0.35.0.tar.gz (121 kB)
Using legacy 'setup.py install' for numba, since package 'wheel' is not installed.
Using legacy 'setup.py install' for llvmlite, since package 'wheel' is not installed.
Installing collected packages: llvmlite, numba
Running setup.py install for llvmlite ... done
Attempting uninstall: numba
Found existing installation: numba 0.53.0.dev0+357.g4d3d2673c.dirty
Uninstalling numba-0.53.0.dev0+357.g4d3d2673c.dirty:
Successfully uninstalled numba-0.53.0.dev0+357.g4d3d2673c.dirty
Running setup.py install for numba ... |

@PiotrZierhoffer , what is your process in porting https://github.com/conda/conda-build to RISC-V ?

oceanfish81@riscv:/home/oceanfish81/numba> ./runtests.py
Traceback (most recent call last):
File "/home/oceanfish81/numba/numba/core/typeconv/typeconv.py", line 4, in
from numba.core.typeconv import _typeconv
ImportError: cannot import name '_typeconv' from 'numba.core.typeconv' (/home/oceanfish81/numba/numba/core/typeconv/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./runtests.py", line 16, in
runpy.run_module('numba.runtests', run_name='main')
File "/usr/lib64/python3.8/runpy.py", line 203, in run_module
mod_name, mod_spec, code = _get_module_details(mod_name)
File "/usr/lib64/python3.8/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/home/oceanfish81/numba/numba/init.py", line 24, in
from numba.misc.special import (
File "/home/oceanfish81/numba/numba/misc/special.py", line 3, in
from numba.core.typing.typeof import typeof
File "/home/oceanfish81/numba/numba/core/typing/init.py", line 1, in
from .context import BaseContext, Context
File "/home/oceanfish81/numba/numba/core/typing/context.py", line 11, in
from numba.core.typeconv import Conversion, rules
File "/home/oceanfish81/numba/numba/core/typeconv/rules.py", line 2, in
from .typeconv import TypeManager, TypeCastingRules
File "/home/oceanfish81/numba/numba/core/typeconv/typeconv.py", line 17, in
raise ImportError(msg % (url, reportme, str(e), sys.executable))
ImportError: Numba could not be imported.
If you are seeing this message and are undertaking Numba development work, you may need to re-run:
python setup.py build_ext --inplace
(Also, please check the development set up guide https://numba.pydata.org/numba-doc/latest/developer/contributing.html.)
If you are not working on Numba development:
Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new
If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba
Thanks in advance for your help in improving Numba!
The original error was: 'cannot import name '_typeconv' from 'numba.core.typeconv' (/home/oceanfish81/numba/numba/core/typeconv/init.py)'
If possible please include the following in your error report:
sys.executable: /usr/bin/python3

You can re-open https://github.com/numba/numba/issues/4732

I am using

$ python3 --version
Python 3.8.6

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/riscv64-suse-linux/10/lto-wrapper
Target: riscv64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,ada,go,d --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/10 --enable-ssp --disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1 --enable-plugin --with-bugurl=https://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --with-slibdir=/lib64 --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-libphobos --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --program-suffix=-10 --without-system-libunwind --disable-multilib --enable-link-mutex --build=riscv64-suse-linux --host=riscv64-suse-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd

$ clang --version
clang version 11.0.0
Target: riscv64-unknown-linux-gnu
Thread model: posix

$ llc --version
LLVM (http://llvm.org/):
LLVM version 10.0.1
Optimized build.
Default target: riscv64-unknown-linux-gnu
Host CPU: (unknown)

CC @ilanschnell @kalefranz

$ sudo pip3 install conda
[sudo] password for root:
Collecting conda
Downloading conda-4.3.16.tar.gz (299 kB)
|████████████████████████████████| 299 kB 1.6 MB/s
Collecting pycosat>=0.6.1
Downloading pycosat-0.6.3.zip (66 kB)
|████████████████████████████████| 66 kB 931 kB/s
Collecting requests>=2.12.4
Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 1.4 MB/s
Collecting certifi>=2017.4.17
Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
|████████████████████████████████| 147 kB 3.8 MB/s
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 3.6 MB/s
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.4 MB/s
Collecting ruamel.yaml>=0.11.14
Downloading ruamel.yaml-0.16.12-py2.py3-none-any.whl (111 kB)
|████████████████████████████████| 111 kB 3.6 MB/s
Collecting ruamel.yaml.clib>=0.1.2
Downloading ruamel.yaml.clib-0.2.2.tar.gz (179 kB)
|████████████████████████████████| 179 kB 2.3 MB/s
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
|████████████████████████████████| 136 kB 2.3 MB/s
Using legacy 'setup.py install' for conda, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pycosat, since package 'wheel' is not installed.
Using legacy 'setup.py install' for ruamel.yaml.clib, since package 'wheel' is not installed.
Installing collected packages: urllib3, ruamel.yaml.clib, idna, chardet, certifi, ruamel.yaml, requests, pycosat, conda
Running setup.py install for ruamel.yaml.clib ... done
Running setup.py install for pycosat ... done
Running setup.py install for conda ... done
Successfully installed certifi-2020.12.5 chardet-3.0.4 conda-4.3.16 idna-2.10 pycosat-0.6.3 requests-2.25.0 ruamel.yaml-0.16.12 ruamel.yaml.clib-0.2.2 urllib3-1.26.2

@palmer-dabbelt , I think I found the first concrete bug:

$ ./numba
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
WARNING: This target JIT is not designed for the host you are running.  If bad things happen, please choose a different -march switch.
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
LLVM ERROR: Cannot select: 0x4000a58d38: i64 = add 0x4000a58cd0, Constant:i64<1>
0x4000a58cd0: i64,ch,glue = CopyFromReg 0x4000a58c68, Register:i64 $x10, 0x4000a58c68:1
0x4000a588c0: i64 = Register $x10
0x4000a58c68: ch,glue = callseq_end 0x4000a58c00, TargetConstant:i64<0>, TargetConstant:i64<0>, 0x4000a58c00:1
0x4000a587f0: i64 = TargetConstant<0>
0x4000a587f0: i64 = TargetConstant<0>
0x4000a58c00: ch,glue = RISCVISD::CALL 0x4000a58ac8, TargetGlobalAddress:i64<i64 (i8*, i64, i32)* @__atomic_fetch_add_8> 0 [TF=1], Register:i64 $x10, Register:i64 $x11, Register:i64 $x12, RegisterMask:Untyped, 0x4000a58ac8:1
0x4000a58b30: i64 = TargetGlobalAddress<i64 (i8*, i64, i32)* @__atomic_fetch_add_8> 0 [TF=1]
0x4000a588c0: i64 = Register $x10
0x4000a58990: i64 = Register $x11
0x4000a58a60: i64 = Register $x12
0x4000a58b98: Untyped = RegisterMask
0x4000a58ac8: ch,glue = CopyToReg 0x4000a589f8, Register:i64 $x12, Constant:i64<0>, 0x4000a589f8:1
0x4000a58a60: i64 = Register $x12
0x4000a58788: i64 = Constant<0>
0x4000a589f8: ch,glue = CopyToReg 0x4000a58928, Register:i64 $x11, Constant:i64<1>, 0x4000a58928:1
0x4000a58990: i64 = Register $x11
0x4000a586b8: i64 = Constant<1>
0x4000a58928: ch,glue = CopyToReg 0x4000a58858, Register:i64 $x10, 0x4000a585e8
0x4000a588c0: i64 = Register $x10
0x4000a585e8: i64,ch = CopyFromReg 0x40009a8478, Register:i64 %0
0x4000a58580: i64 = Register %0
0x4000a586b8: i64 = Constant<1>
In function: nrt_atomic_add

So JIT can't work - and tests can't run, too.

$ conda install numba
ERROR: The install method you used for conda--probably either pip install conda
or easy_install conda--is not compatible with using conda as an application.
If your intention is to install conda as a standalone application, currently
supported install methods include the Anaconda installer and the miniconda
installer.  You can download the miniconda installer from
https://conda.io/miniconda.html.

@advancedwebdeveloper your best bet to obtain a copy of llvmlite is to compile it from scratch. Instructions are here:
https://llvmlite.readthedocs.io/en/latest/admin-guide/install.html#building-manually
Different versions of LLVM need different patches. You can find exactly which patches you need here:
https://github.com/numba/llvmlite/blob/master/conda-recipes/llvmdev/meta.yaml#L32-L50
llvmlite is a hard dependency of Numba and will not work without it.

@advancedwebdeveloper I'm affraid we did not pursue this topic

@palmer-dabbelt @advancedwebdeveloper @esc @seibert I'm interested in making llvmlite (and hence Numba) work on RISC-V Linux as a personal project, but at present my free time for such a project is quite limited... Assuming a reasonable completeness of LLVM and JIT support for RISC-V I'd hope that making it work (perhaps as a prototype rather than a production-ready port) wouldn't be too great an effort. I don't have a RISC-V dev board, but I'd already considered how this could be done, and my plan would have been to try and make it work under QEMU first.

Having done the port to the ARM ISA, the strategy that seemed to provide the quickest path was to build everything from scratch and hack things into a development environment as needed. Avoid pip/wheels, build from source checkouts (code will almost certainly need patching), and lean on the system provided toolchain as much as possible as others have likely verified it.
Practically, this would mean:

Building LLVM as per the recipe in llvmlite, but accepting that things may need changing with this later to get it to work, which could mean a lot of rebuilds.
Building llvmlite against this LLVM. This usually goes fine.
Building NumPy, as Numba depends on it. This might be ok, but there could well be issues/bugs that are RISC-V specific.
Building Numba. The build usually goes fine, though linking may be problematic. Numba usually breaks at runtime, I'd guess one area of potential problems will be the code and relocation models, another being alignment issues.

Building this stack is complicated, often requires a lot of debugging and also many rebuilds of the entire stack. Things which are going to cause immediate issues are:

If NumPy doesn't already work on RISC-V.
If LLVM's JIT support isn't working or not working very well for RISC-V.

I also would expect the QEMU route @gmarkall suggested to be a quicker route to assessing the viability of the stack than trying on real hardware.
Hope this helps.

@seibert , LLVM has few different associated JIT related projects (some are sub-projects of LLVM - other are external ones).
Did you try to build (using RISC-V back-end, for LLVM) and run the executables, exercise with shared and static libraries from those projects ?
Hence that I am not claiming that those projects are Python related.
Which RISC-V hardware would you involve? ASIC SoC or soft-CPU/FPGA?

@advancedwebdeveloper  FYI: with 0.54.0 (currently available as RC2) LLVM 11 will be enabled on all supported platforms. See also:
https://numba.discourse.group/t/numba-0-54-0-rc2-and-llvmlite-v0-37-0-rc2/810/6

I need to write up some more details somewhere, but I've reached the point where a proof-of-concept is working such that:
@njit
def f(a, b):
    return a + b

print(f(1, 2))

successfully runs on RISC-V and prints 3. Whilst this might not seem like much, it exercises a lot of machinery that demonstrates that it might be worth looking into further. This uses:

LLVM 15.0.6
A very hacked-up build of llvmlite based on @apmasell 's LLVM 14 PR: https://github.com/gmarkall/llvmlite/tree/orcjit-llvm15
A bunch of hacks on Numba as well: https://github.com/gmarkall/numba/tree/orcjit-riscv

Building these branches and executing simple.py from the Numba repo root should reproduce the proof, whose full output looks like:
(numbaenv) gmarkall@shaw:~/numbadev/numba$ python simple.py
== Pipeline: nopython for __main__.f
== -- analyzing bytecode
== -- fix up args
== -- processing IR
== -- Handle with contexts
== -- inline calls to locally defined closures
== -- rewrite semantic constants
== -- dead branch pruning
== -- nopython rewrites
== -- convert make_function into JIT functions
== -- inline inlinable functions
== -- dead branch pruning
== -- find literally calls
== -- handles literal_unroll
== -- ssa
== -- Literal propagation
== -- nopython frontend
== -- remove phis nodes
== -- inline overloaded functions
== -- nopython rewrites
== -- ensure features that are in use are in a valid form
== -- ensure IR is legal prior to lowering
== -- annotate types
== -- native lowering
about to dump
dumped
lowering
---------------------LLVM DUMP <function descriptor 'f$1'>----------------------
; ModuleID = "f$1"
target triple = "riscv64-unknown-linux-gnu"
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"

@"_ZN08NumbaEnv8__main__1fB2v1B36c8tJTIcFHzwl2ILiXkcBV0IBS2sCAA_3d_3dExx" = common global i8* null
define i32 @"_ZN8__main__1fB2v1B36c8tJTIcFHzwl2ILiXkcBV0IBS2sCAA_3d_3dExx"(i64* noalias nocapture %"retptr", {i8*, i32, i8*}** noalias nocapture %"excinfo", i64 %"arg.a", i64 %"arg.b")
{
entry:
  br label %"B0"
B0:
  %".6" = add nsw i64 %"arg.a", %"arg.b"
  store i64 %".6", i64* %"retptr"
  ret i32 0
}

================================================================================
creating wrapper
preparing for execution
Finalizing
about to dump 2
finished dump 2
== -- nopython mode backend
== -- dump parfor diagnostics
result from jitted function = 3

the final line being (presumably) the interesting one.
I did this on an Ubuntu 22.04 install inside QEMU, but I'm considering ordering a VisionFive 2 8GB to have a proper go at Numba for RISC-V in the new year (I'm expecting that the experience of using that would be a little more pleasant than QEMU, but someone please correct me if I'm delusional here). There's quite a bit of work to do from here to "Numba is ready for RISC-V" mainly because we need to move to LLVM 15 and from MCJIT to ORCJIT to JIT on RISC-V.  Note that this would be a personal project and my personal time is extremely limited, so I want to make clear that this isn't something that I'm guaranteed to get anywhere with, and there are no plans for any official RISC-V support in Numba at present. But, at least there's a little positive sign here :slightly_smiling_face:

Note: I've just edited the title to reflect the fact that this issue is really about RISC-V support. We moved to LLVM 11 a while back, and will be on LLVM 14 for the next release.


Added Install rules

Added rules to install the built targets as well as the Vicon SDK shared libraries.

Closing this PR due to #34


Palatalized consonants in Slavic languages

This relates to #111, but since it's an issue with languages already supported rather than future expansion, I decided to open a separate issue.
First off, thanks for your great work. Very approachable code, lots of interesting linguistically informed choices, and the pre-trained models are extremely valuable.
I worked a bit with the PortaSpeech Meta model for Polish TTS and I noticed an issue. Polish has the notion of "palatalized consonants" some of which are represented by [ʲ] (superscript j) in espeak. This distinction is also sometimes called "hard" vs "soft" (palatalized) consonants. There's this minimal pair for instance:

pasta [pasta], piasta [pʲasta]

Unfortunately, right now the TextFrontend removes all occurrences of [ʲ]:
https://github.com/DigitalPhonetics/IMS-Toucan/blob/4f17ce25dee0fdedd072bbaff7f24176b3506f34/Preprocessing/TextFrontend.py#L380-L385
It can be reproduced in the ThisSpeakerDoesNotExist demo. You will notice no difference in the spectrogram or the waveform of "pasta" and "piasta", simply because the phoneme input to the model will be identical.
There are competing phonological analyses on palatalized consonants, but one valid way to deal with this is to is a "decomposed palatalization" where we simply replace [ʲ] by [j]. See e.g. this footnote in the Wiktionary guide to Polish pronunciation which uses [j] throughout rather than [ʲ]:

so pies is pronounced as if it were spelt ⟨pjes⟩

Replacing [ʲ] by [j] in the TextFrontend instead of dropping it already gives us a decent pronunciation thanks to the robustness of your multilingual approach, and finetuning is completely unproblematic.
I can open a PR with this tiny change, but I'm not sure that this is the right solution in the general case. I also tried a more feature-based implementation. There is no "palatalized" feature so I re-used the "palatal" feature to add to the preceding consonant. It's a bit hacky, and also finetuning was not enough to achieve satisfactory results. Likely, some more extensive training or retraining from scratch is required because this feature combination was not present in the training data. I'm curious to hear what you think about this since you seem to be open to the idea of adding articulatory features.
Lastly, palatalization also occurs in Russian (disclaimer: I know no Russian) and there seem to exist minimal pairs, e.g.:

быть [bɨtʲ], быт [bɨt].

For more examples in Russian see this discussion.

Thank you for the detailed explanation and sorry for my late reply, the last weeks were very busy.
The decomposed palatalization sounds like a good fix, I will use it for training the new multilingual model for the next release. Using the articulatory features would enable us to set the palatal feature to True, like you mentioned, but this requires some more hacky modifications to the aligner, because the aligner works only with the identities of phonemes, rather than the feature vectors. The decomposed approach to palatalization would completely avoid this problem, so I like it. For the other unsupported characters I still have to find a clean solution, but I will include the palatalization in the next release (in just a few days hopefully).

Thank you! I tried out the new model and it's a great improvement for Polish too.


Add several missing ngInject annotations for blueprints

When explicit ngInject annotations are missing, dependency injection
does not work properly when the JS is minified. These annotations were
missing leading to the behavior observed in this PT ticket.
https://www.pivotaltracker.com/story/show/137820477

@miq-bot add_label euwe/no, bug

Hi, sorry, I wasn't aware that we needed those ngInject comments.  Thanks!


168 n2 variation

Needs merging. Tests running

Fixed differences with master

All tests are passing, except for test_prop_with_gain which was added very recently.
The new code looks good.


Reference Accessor of oidc auth backend in groupAlias

What problem are you facing?
There should be a way to reference the accessor for the oidc method and also the canonicalId of groups while creating a group Alias. This is an issue if the Resource is created by a seperate claim.
How could Upbound help solve your problem?
Add somthing similar to Data Source in in terraform. Maybe somthing similar to referencing VPCID in this doc.
For example:
apiVersion: identity.vault.upbound.io/v1alpha1
kind: GroupAlias
metadata:
  annotations:
    meta.upbound.io/example-id: identity/v1alpha1/groupalias
  labels:
    testing.upbound.io/example-name: group-alias
  name: cld-csm-admins-sg-kdtesting
spec:
  deletionPolicy: Delete
  forProvider:
    namespace: mytestns
    canonicalIdRef:
      name: <mytestgroup>
    mountAccessorRef:
      name: <oidc-auth-backend-name>
    name: <group-ObjectId>
    ----

Agree, would very much like this :)

I have created a draft MR for this feature, however, I'm not used to Go nor creating Crossplane providers so I would need some support. Right now I'm still struggling with the code to create a reference for different AuthBackend types.
# config.go
....
r.References["mount_accessor"] = config.Reference{
    Type: "github.com/upbound/provider-vault/apis/jwt/v1alpha1.AuthBackend",
    Extractor: common.AccessorExtractor,
}

Do to the way the Terraform code for HashiCorp Vault has been written one would need to be able to configure multiple types here.
Could someone from the maintainers guide me on how this should be implemented?


Specified cast exception

Add to the demo the below code to get an exception, not sure what is needed but it can't cast STPCard to STPSourceProtocol.
public void PaymentContext(STPPaymentContext paymentContext, STPPaymentResult paymentResult, STPErrorBlock completion)
{
    // Specified cast is not valid
    var stripeID = paymentResult.Source.StripeID;
}

Let me know if you have any idea.

:). This kind of issues is only reveal when in use. It's because the generated code for protocol isn't always correct. However it's very easy to fix.


Add combo box input styling

See https://github.com/18F/identity-site/pull/923

Is this what it's expected to look like after the styling? (https://federalist-17bd62cc-77b7-4687-9c62-39b462ce6fd5.app.cloud.gov/preview/18f/identity-site/oyk-partner-contact/partners/contact/)

I'd like for @nickttng to take a look at this. I could see how it'd be good to have some baseline styles in place to have consistency among the inputs for a component we may not have been supporting very well before, but I expect Nick will at least want to incorporate it into our Figma resources (and maybe even customize it further).

Visual styling: It looks very close to what I have in mind.
If there are any iterations, it is to extend the hovering border to the edge, as USWDS has done with theirs (See side-by-side examples below). The spacing between the hovering border and outer border makes the hovered element somewhat misaligned. This is not a blocker, so it's something we can iterate more in Figma and update the combo box after this PR.

LGDS
USWDS

Functionally, it seems to work as expected. Tested with VoiceOver as well.

@aduth that looks right to me! and re: @nickttng's feedback about the hover border - I defer to you all on when/how to merge this in - I just wanted to share the changes that seemed to work on the partner site and let you take it from there 😄. Thanks!

@orenyk I appreciate you taking the step to backport this to the design system! I created a ticket at LG-7270 to track completing this work based on Nick's comments, and since we'll probably also want to add a basic documentation page for the component (consistent with other components we've styled).
I'll plan to leave this open 'til that can be worked on, but based on discussion in yesterday's LGDS Office Hours, you should be good to go with the changes you've added in https://github.com/18F/identity-site/pull/923 .

@aduth my pleasure! Feel free to build off of this branch or close/delete whenever you're ready. Thanks for all of your help!

This has diverged quite a bit from main. Let's pick it up again later. This is tracked at LG-7270.


Creating a Parameterised Gate Using Unitary Matrix

Environment

Qiskit Terra version: 0.24.0
Python version: 3.8.5
Operating system: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.10
OS printed using platform.platform

What is happening?
Error
RuntimeError                              Traceback (most recent call last)
File [~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:474]/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:474, in ParameterExpression.__float__(self)
/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:473 try:
/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:474     return float(self._symbol_expr)
/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:475 # TypeError is for sympy, RuntimeError for symengine

File symengine_wrapper.pyx:1151, in symengine.lib.symengine_wrapper.Basic.__float__()

File symengine_wrapper.pyx:976, in symengine.lib.symengine_wrapper.Basic.n()

File symengine_wrapper.pyx:4346, in symengine.lib.symengine_wrapper.evalf()

RuntimeError: Symbol cannot be evaluated.

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

TypeError                                 Traceback (most recent call last)
[/qrl/test.ipynb/qrl/test.ipynb) Cell 19 line 1
line=9 theta = Parameter("theta")
line=11 circuit.x(0)
line=12 cos_val = cos(float(theta) [/] 2)
line=13 sin_val = -1j * sin(float(theta) [/] 2)
line=14 circuit.data.insert(
line=15     0,
line=16     CircuitInstruction(
   (...)
line=26     ),
line=27 )

File [~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:477/qrl/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:477), in ParameterExpression.__float__(self)
    /qrl/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:475) # TypeError is for sympy, RuntimeError for symengine
    /qrl/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:476) except (TypeError, RuntimeError) as exc:
--> /qrl/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:477)     raise TypeError(
    /qrl/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:478)         "ParameterExpression with unbound parameters ({}) "
    /qrl/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:479)         "cannot be cast to a float.".format(self.parameters)
    /qrl/~/.conda/envs/ibm_q/lib/python3.8/site-packages/qiskit/circuit/parameterexpression.py:480)     ) from exc

TypeError: ParameterExpression with unbound parameters ({Parameter(theta)}) cannot be cast to a float.

How can we reproduce the issue?
Code:
from qiskit import QuantumCircuit, QuantumRegister
from qiskit.quantum_info.operators import Operator
from qiskit.circuit import Parameter, CircuitInstruction
from math import cos, sin, pi

controls = QuantumRegister(2)
circuit = QuantumCircuit(controls)
# circuit.unitary()
# cx = Operator([[1, 0, 0, 0], [0, 0, 0, 1], [0, 0, 1, 0], [0, 1, 0, 0]])
theta = Parameter("theta")

circuit.x(0)
cos_val = cos(float(theta) / 2)
sin_val = -1j * sin(float(theta) / 2)
circuit.data.insert(
    0,
    CircuitInstruction(
        operation=Operator(
            [
                [1, 0, 0, 0],
                [0, cos_val, 0, sin_val],
                [0, 0, 1, 0],
                [0, sin_val, 0, cos_val],
            ]
        ),
        qubits=[0, 1],
    ),
)
print(circuit)

What should happen?
Unbound Parameter error, originally initiated due to symengine
Any suggestions?
How do I create a Parameterised Gate from unitary matrix

We do not support symbolic manipulation of dense matrices in Qiskit and have no plans to add such support.  You can look at community-driven packages such as qiskit-symb for that kind of capability.
I would note that the gate you're trying to add is a controlled X rotation, which is (in theory) supported by the RXGate(theta).control() object or the QuantumCircuit.crx method.  I think at the moment that there's a potential bug in that (see #10311 and linked issues).  Your code is also using several low-level internal objects, and using them incorrectly:

You should not attempt to modify QuantumCircuit.data directly like that.
CircuitInstruction is a low-level object that you largely should not need to use.
The operation field of CircuitInstruction must be an instance of qiskit.circuit.Operation, not qiskit.quantum_info.Operator which is something entirely different.

Thanks a lot for the suggestion and the explanation

I'll close this issue as "solved" now, since I don't think there's anything more to do from the Qiskit side.  Please feel free to re-open if there's more to discuss.


ruby-build: definition not found: 1.9.2-p290

Trying to install 1.9.2-p290 in what appears to be a Red Hat machine.  uname -a gives:
Linux web202.webfaction.com 2.6.18-238.9.1.el5PAE #1 SMP Tue Apr 12 18:52:55 EDT 2011 i686 i686 i386 GNU/Linux
when I do 'ruby-build --definitions', I get:

I'm on ruby-build 20111030.

Not sure what I did, but I fixed my issue.  Not a bug.


pull request for e2e test at 01/09/2017 02:26:09

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


generate a labels file

create a file that contains all the labels for a photo in a JSON, xml or csv format.
should contain the original name of the photo, the name of the labels, and the value of the labels.
a project owner should be able to download this with a click of a button

This is done.


LOVE IT!!! FIVE STARS *****

I love NativeScript!
I have attended several seminars and the more I use it... the more I fall in LOVE
One quick and simple question: How to force the keyboard on iOS to enter a username ALL in lowercase instead of having to press SHIFT first on the keyboard to disable CAPS.
Regards

@inglesuniversal Have you tried https://docs.nativescript.org/api-reference/modules/ui_enums.autocapitalizationtype ?

I'm closing this issue since it is not related to any feedback regarding NativeScript Playground. For any general NativeScript support, please use Slack or StackOverflow.


Move node-fetch from devDependencies to dependencies.

I got an error copied below while trying to use v1.3.0 this library. It turns out that node-fetch is currently only a devDependency in package.json. I'm using pnpm and it's strictness meant node-fetch wasn't available when fetch-mock (which has it as a peer dependency) required it. Moving the reference into dependencies in fetch-mock-jest fixes the issue (I have verified (and worked around) that with a pnpmfile.js entry) and I thought you might like a quick PR. :)
Many thanks for the library!
   Cannot find module 'node-fetch' from<EMAIL_ADDRESS>

    Require stack:
<EMAIL_ADDRESS>      C:/dev/src/bickleywallace-site/node_modules/.pnpm/fetch-mock-jest<EMAIL_ADDRESS>
      src/utils/request.spec.ts

      at Resolver.resolveModule (../../node_modules/.pnpm/jest-resolve@26.4.0_jest-resolve@26.4.0/node_modules/jest-resolve/build/index.js:307:11)
      at Object.<anonymous> (../../node_modules/.pnpm/fetch-mock@9.10.7/node_modules/fetch-mock/cjs/server.js:9:10)

It's deliberate - see fetch-mock docs here: http://www.wheresrhys.co.uk/fetch-mock/#usagerequirements
I will copy those docs to fetch-mock-jest's readme though

Ahh right. I 'm with you. Thanks for pointing out the docs. Should fetch-mock-jest declare node-fetch as a peerDependency in that case?
If i install as it stands without also installing node-fetch the first you know about it is a runtime error but If i monkey patch the package.json to add node-fetch as a peerdependency then i at least get a warning at install time.

fetch-mock already declares it as a peer dependency - do you not get any warnings when installing? I would've thought that peer dependency warnings get bubbled up to the end user no matter how deep the dependency, but have never actually checked

Hmm.. intuitively that would make sense. It might be a pnpm thing. I'll see what happens in a repro package with yarn & npm.


KNL-1511 {@link}

java.util.Date => {@link java.util.Date}
@deprecated use commons-lang3 StringUtils.split
http://maven.apache.org/plugins/maven-javadoc-plugin/faq.html#How_to_use_links_option_in_Standard_Doclet

I wonder if we should be recommending https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html instead of Date?

@buckett org.sakaiproject.time.api.TimeBreakdown? org.sakaiproject.time.api.Time?

@buckett  Kernel-api: Time? TimeBreakdown?

Instant: 2017-03-29T13:27:57.409Z
Date: Wed Mar 29 15:27:57 SAST 2017
DateTime(joda):2017-03-29T15:27:57.479+02:00
(
System.out.println("Instant: " +Instant.now());
System.out.println("Date: " + new java.util.Date());
System.out.println("DateTime(joda):" + new DateTime());
)

It's just as you were updating the documentation links I noticed that we were recommending Date/Calendar instead of Instance/ZonedDateTime which are the newer replacements in Java 8: https://docs.oracle.com/javase/tutorial/datetime/iso/legacy.html
Ok to update JavaDoc to point to the newer Java 8 classes as the recommended solution?

OK


⚠ Bofrost.es has degraded performance

In 8b70a03, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1761 ms

Resolved: Bofrost.es performance has improved in 98eadbc after 6 minutes.


MP4 time code track output is not fully valid

When showing the MP4  time code, the display is in format hh:mm:ss:ff. The frame number is calculated with the tmcd frame per seconds integer scale "NumberOfFrames", e.g. 29. The frame rate shown is however the full frame rate, e.g. 30000/1001. In result the time code frame number is not fully plausible.
Sample file:  atom has 1 sample with sample pos = 1045869 frames. NumberOfFrames = 29, Frame rate is 30000/1001.
Output: Frame rate : "29.970 (30000/1001) FPS" and "Time code of first frame : 10:01:04:13".
The time code is calculated with (integer) 29 fps, which leads to the mathematical correct 10:01:04:13. If you calculate with the shown 30000/1001 fps, you will not get the value from the frame count. The viewer has no chance to know, for which fps the last 13 frames are calculated. Alternative solution: show the time code as seconds and milliseconds: 10:01:04,448

Incoherent (does 29 fps time code exist in the real world?) content leads to incoherent output, sure...

Alternative solution: show the time code as seconds and milliseconds: 10:01:04,448

this would be no more a time code, but a time stamp, and even less sense.
Maybe showing a tip that the base of the time code is not in sync with the frame rate e.g. "10:01:04:13S29" (we use "S" already for e.g. time code of audio with tip of the sample rate, it is used e.g. in ADM BS.2076, so we would reuse this format).
What is the output of other tools with such case?

That additional "S" would be also a good improvement. I did come across this while correcting my own output (Vegas Pro) and comparing with MediaInfo. I didn't check other tools.


Add open-in-new-tab link for demo

For new #57 design:
As a user I want to open a demo in a new tab to inspect it properly without the wrapper.
The first idea I had would be an icon on the tab for Demo (? )

Resolved in #116


Fix the indices when calculating angles

As described in the original paper (Figure 1), the angles are calculated between m_ji and m_kj. However, the implementation here calculates the angle between m_ji and m_ki mistakenly.
The same error happens in the code provided by the authors. But it has been corrected already: https://github.com/klicperajo/dimenet/blob/master/dimenet/model/dimenet.py#L89

Yeah, I also noticed that, but by fixing it it we no longer can make use of the pre-trained models.

Sorry for my delayed response, I will see if I can prepare the pre-trained models with the correct indices.


Unit test generated by RoostGPT

Please pull these awesome changes in!
Test Name        - Java-repo-test-databricks
AI Type          - DBRX
AI Model         - meta-llama-3-70b-instruct-041824
Test Type        - Unit test
Use Type         - docker_ui
Language         - java
Test Framework   - Junit5
Packages to scan - com.thealgorithms.greedyalgorithms

RoostGPT Logs

[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ActivitySelectionActivitySelectionTest.activityOverlap:162
Expecting actual:
[0, 1, 2]
to contain exactly (and in same order):
[0, 2]
but some elements were not expected:
[1]
[ERROR]   CoinChangeCoinChangeProblemTest.amountGreaterThanMaxCoin:148
Expecting actual:
[2000, 500]
to contain exactly (and in same order):
[2000, 2000]
but some elements were not found:
[2000]
and others were not expected:
[500]
[ERROR]   CoinChangeCoinChangeProblemTest.negativeAmount:137
Expecting code to raise a throwable.
[ERROR]   FractionalKnapsackFractionalKnapsackTest.negativeCapacity:140 Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
[ERROR]   FractionalKnapsackFractionalKnapsackTest.validInputWithInsufficientCapacity:118 expected: <140> but was: <200>
[ERROR]   JobSequencingCompareToTest.compareJobWithNullProfit:112 Expected java.lang.NullPointerException to be thrown, but nothing was thrown.
[ERROR]   JobSequencingCompareToTest.compareJobsWithDifferentProfits:95 expected:  but was:
[ERROR]   JobSequencingCompareToTest.compareJobsWithNegativeProfits:119 expected:  but was:
[ERROR]   MinimizingLatenessOfTest.negativeDeadline:128 Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
[ERROR]   MinimizingLatenessOfTest.negativeProcessingTime:123 Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
[ERROR]   MinimizingLatenessOfTest.nullJobName:118 Expected java.lang.NullPointerException to be thrown, but nothing was thrown.
[ERROR]   MinimizingLatenessOfTest.processingTimeGreaterThanDeadline:149 Expected java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
[ERROR]   MinimizingLatenessToStringTest.positiveStartTimeToString:158
Expecting actual:
"Job1, startTime: 0, endTime: 10, lateness: 0"
to contain:
"startTime: 10"
[ERROR] Errors:
[ERROR]   ActivitySelectionActivitySelectionTest.emptyInputArrays:120 » ArrayIndexOutOfBounds Index 0 out of bounds for length 0
[INFO]
[ERROR] Tests run: 4505, Failures: 13, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  38.690 s
[INFO] Finished at: 2024-06-14T11:08:24+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project Java: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\Shivansh\Desktop\Internship\Java-repo\Java\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Fixed syntax errors and compiled for DataBrix AI model. No Jacoco report generated


train.SATURN ERROR.  Is a GPU necessary?

Hello,
I am trying to run train SATURN.ipynb with CPU. input csv and h5ad files were prepared accoring to the Vignettes.
The script I used was:
!python3 /disk2/tbc/softwares/SATURN-main/train-saturn.py --device=cpu \
                              --device_num=0 \
                              --in_data=bichir_bf_run.csv \
                              --in_label_col=seurat_clusters --ref_label_col=seurat_clusters \
                              --num_macrogenes=2000     --hv_genes=8000          \
                              --centroids_init_path=saturn_results/fz_centroids.pkl \
                              --score_adata --ct_map_path=bichir_bf_cell_type_map.csv \
                              --work_dir=.

However, I got an error report :
Traceback (most recent call last):
  File "/disk2/tbc/softwares/SATURN-main/train-saturn.py", line 1050, in <module>
    torch.cuda.set_device(args.device_num)
  File "/home/tbc/miniconda/envs/SATURN/lib/python3.9/site-packages/torch/cuda/__init__.py", line 408, in set_device
    torch._C._cuda_setDevice(device)
  File "/home/tbc/miniconda/envs/SATURN/lib/python3.9/site-packages/torch/cuda/__init__.py", line 302, in _lazy_init
    torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

What confused me is that I've already specified --device=CPU,  but the error message still relates to the GPU. Is a GPU necessary for running SATURN?

Hello,
I don't think the program will be able to run without a GPU unfortunately.
You can try to modify that code to remove that line.


dbSta: check liberty cells for corners

ol1403 report_power seg fault
Signed-off-by: James Cherry<EMAIL_ADDRESS>

@jjcherry56 Ok to merge if PR is done. Secure CI metrics updated with: https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/pull/609


Support for GPT2-XL

Thank you for the great project!
How to reproduce
https://github.com/snoop2head/Language_Model_Memorization/blob/2c5db6f9bdd0206cba87d13b158d8c27ce0e55a7/parallel_inference.py#L39-L82

Tested and works for gpt2, gpt2-medium, gpt2-large
If AutoModelForCausalLM is changed into gpt2-xl, it yields the following error message

File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/parallelformers/parallel/process.py", line 193, in inference
    outputs = function_(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/generation_utils.py", line 1294, in generate
    return self.greedy_search(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/generation_utils.py", line 1689, in greedy_search
    outputs = self(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 1058, in forward
    transformer_outputs = self.transformer(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 901, in forward
    outputs = block(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 401, in forward
    attn_outputs = self.attn(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 325, in forward
    query = self._split_heads(query, self.num_heads, self.head_dim)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 290, in _split_heads
    tensor = tensor.view(new_shape)
RuntimeError: shape '[116, 5, 12, 64]' is invalid for input of size 464000
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/parallelformers/parallel/process.py", line 193, in inference
    outputs = function_(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/generation_utils.py", line 1294, in generate
    return self.greedy_search(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/generation_utils.py", line 1689, in greedy_search
    outputs = self(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 1058, in forward
    transformer_outputs = self.transformer(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 901, in forward
    outputs = block(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 401, in forward
    attn_outputs = self.attn(
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 325, in forward
    query = self._split_heads(query, self.num_heads, self.head_dim)
  File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/transformers/models/gpt2/modeling_gpt2.py", line 290, in _split_heads
    tensor = tensor.view(new_shape)
RuntimeError: shape '[116, 5, 12, 64]' is invalid for input of size 464000

yes that model can't be parallelized because the number of head is not divisible by 2.

for tensor model parallelism, the number of head must be power of 2 (2, 4, 8, 16, ...)
when gpt2 was published, model parallelism techniques are not developed as now.
so they didn't consider this aspect. please use gpt-neo model for large-scale modeling.
thank you!

I see!
Thank you for the detailed reply and model recommendation 🤗


refactor: use multi select in setup options

Related Issues
Closes #60
Proposed Changes:
Transform the configuration of sectors in the options flow from textual input to a multi-select interface for a better and more user-friendly experience
Testing:
Extra Notes (optional):
Old method:

New method:

Checklist

[X] Related issues and proposed changes are filled
[X] Tests are defining the correct and expected behavior
[X] Code is well-documented via docstrings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 16 (75.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 88.189%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

custom_components/econnect_metronet/config_flow.py
2
6
33.33%

Files with Coverage Reduction
New Missed Lines
%

custom_components/econnect_metronet/config_flow.py
1
62.82%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
481

Relevant Lines:
548

💛  - Coveralls


Colorize alarm details header with alarm's severity

I had this idea of not showing the alarm severity but colorize the header with the alarm's severity.
Feel free to merge or reject (-:
If it gets accepted, I can still create an issue for it.

Maybe hover to reveal the textual severity? Thinking about users with screen readers.

@jeffgdotorg  If you hover over the icon, the textual representation is shown.

This looks odd to me.

Considering this as rejected. Closing (-:


Possible style guide rule for additionalProperties

The JSON schema additionalProperties is a potential source of confusion and error. Restricting its use to very specific applications might be a good style.
One possible restriction is to only allow additionalProperties when not a sibling of properties -- which is just a way of defining a map. This is a very common pattern in Azure:
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Application specific metadata in the form of key-value pairs."
        }

Done.


Iterate(ForEach) has no way to break

In the case of a lot of data, I need to stop this iteration after I get a piece of data.
But there is no way to top in the current iteration.
		syncmaps.Range(func(key, value any) bool {

			if ok {

				return false
			}
			return true
		})

Like in sync.Map I can return false to stop the iteration

@godcong this feature has been added with https://github.com/alphadose/haxmap/commit/f4af9b50631e3c27e0f1aa5ae8faf8c09f9fc564
will publish a new release soon with some more fixes


[Bug]: Existing YAML Overriden on Modify

Contact Details
<EMAIL_ADDRESS>What happened?

Create a daily note with YAML metadata

In the database note, modify content for that same note (e.g. Summary:: adsfasd)

Current behaviour: YAML metadata is reset/overridden (looks like it's coming from my daily note template?)

Expected behaviour: Existing YAML metadata stays the same; new content is modified or added as expected
Settings:

What platform were you using?
Desktop
Version of the plugin
2.6.6
Relevant log output
No response
Are you using the latest version of the plugin in your Obsidian vault?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

https://github.com/RafaelGB/obsidian-db-folder/issues/194
I think this issue will "fix" your use case
currently the plugin check if the value is a list and represents it like that on the yaml

check if 2.6.7 version fix your problem, if not maybe we have to configure different options to save lists

Hi Rafael -- unfortunately the behaviour is even more bizarre now!
Starting metadata:

Modify a value in the db and hit enter, metadata in my note changes:

I'm not sure why the season, month, week, day, weekday, or date values disappear.

Its the native way to persist the information. I will work on a custom one then

one way or another the lists in yaml should be persisted with - , To persist them as an unique line you can use the inline field format

This will be covered with https://github.com/RafaelGB/obsidian-db-folder/issues/441
And with the next version the dates/link will be respected as before


English documataion

Is there any plans to provide en documatation?

Hi there, we are in the process of making some improvements to our project and one of the tasks is to add the English documentation. We are using a Kanban board^1 to keep track of our progress and I apologize if our progress seems slow at this time, as I have exams at the start of the academic year. It would be highly appreciated if someone from the community could help us in enhancing the documentation or provide any pull request. This would greatly contribute to the success of our improvement efforts. Thank you very much for your support and understanding.

I am not sure if your zh documatation is solid or not. If so I can help sending en translations if you don't mind the translation quality as I am not a native english speaker.


game crashes while launching

Hello there,
I'm having an issue when starting my game, it crashes after it tries to get to 3/7 (so after the first mod loading part) http://prntscr.com/fz2lhp 125 = crash
The launcher itself told me it was FluxNetworks which has caused failing the game to launch
The game crashed whilst there was a severe problem during mod loading that has caused the game to fail The game crashed whilst there was a severe problem during mod loading that has caused the game to fail Error: net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from FluxNetworks (fluxnetworks)
so I checked out the crash report (the one from the crash-report folder) and saw it would cause an issue between the newest Mekanism version from Curse i think and FluxNetworks, actually the FluxPoint (called sonar.flux.common.tileentity.TileEntityPoint in the text)
crash-2017-07-23_02.27.19-client.txt
Before I added Mekanism, BetterFoliage and some other mods it worked fine (also if my pc is kinda crap xD) with 40-60 fps.
I also tried it after removing Mekanism the main issue and it didnt work again ._.
crash-2017-07-22_23.11.48-client.txt
btw I'm from germany, so my english isn't the best but I hope you were able to understand what I wrote xD it's also the first time I made a post here, so please gimme some tips to improve myself later :D

Last crash:
There is/was something wrong with MFR's milk bucket, you can simply disable it:
Go to ...\config\powercrystals\minefactoryreloaded\, open up common.cfg, go to line 484 and change the value of B:MilkBucket from true to false.

@realblaupilz  and @ACGaming Already posted #124 no need for another issue report on it haha

ok thanks ^^
I made it after some tries to let the game run without mekanism, so no need to remove the MFR milk bucket anymore :D


Soxctl review

You should create a pull request by comparing integ branch and not "master" branch.


[Docker] publish port 5000 in documentation

Add port publication information in the README to make the server reachable from outside the docker.

Is that necessary ? Works fine without it for me…


House Budget App - ROR Capstone Project

This is the new milestone my journey at Microverse - where I have managed to develop a ROR app for House Budget. 🎉
Presentation link here

Following are the tasks that I have accomplished in this project:
1. Create a Ruby on Rails application that allows the user to:

register and log in, so that the data is private to them.
introduce new transactions associated with a category.
see the money spent on each category.

2. Add the following pages:

Splash screen
Sign up and log in pages
Home page (categories page)
Transactions page
"Add a new category" page
Add a new transaction" page

3. Other Features:

Add Unit Tests

Hi @emhamza,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project using git flow instead of githbflow. Kindly open another pull request link that should have been opened from the feature branch into the dev branch. 👍 Kindly include the Tech Stack header that is missing in your README file as well. 🙏
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Add SPARK configuration params to widgets

Allow some SPARK configurations to be specified in the rst so that certain examples can take advantage of non-default gnatprove behavior.

It would be good to control integer overflow, presumably via the -gnato?? switch.
Probably a default of -gnat33 so it wouldn't be an issue until we wanted to talk about it, at which point we'd enable it selectively.


'Demo - Loading Remote Data' not working

Just letting you know the remote demo on your website is not working (on the website :)
kind regards

@progonkpa Perhaps a temporary issue with the Reddit API? It seems to be working from this end:

It's working here too!

Just to help people, here are the console errors that appear:
application.js:24 Mixed Content: The page at 'https://sroze.github.io/ngInfiniteScroll/demo_async.html' was loaded over HTTPS, but requested an insecure script 'http://api.reddit.com/hot?after=&jsonp=angular.callbacks._0'. This request has been blocked; the content must be served over HTTPS.s @ application.js:24
application.js:23 Error: $apply already in progress
at Error (native)
at o (https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:4026)
at Object.r.$apply (https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:6206)
at r (https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:9512)
at m (https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:10929)
at https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:11196
at HTMLScriptElement.i (https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:10648)
at s (https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:10792)
at https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:11104
at m (https://sroze.github.io/ngInfiniteScroll/javascripts/application.js?1375125400:24:9960)(anonymous function) @ application.js:23

@dgreene1 Thanks for the additional info. I updated the demo to use Reddit's HTTPS API so this should be fixed.


Remove completion for docker tag -f

Ref. #18350
Please include in 1.10 as the feature was removed in this release.

LGTM

LGTM 🐮


What about using ember-in-viewport

https://github.com/dockyard/ember-in-viewport

Beside the fact that it uses es6 extensively it would give us performance by unbinding the event listeners and more options on viewportTolerance/threshold.
I could rename enteredViewport  to viewportEntered and replace the mixins.
@poteto what do you think? is ember-in-viewport ready or should we wait for 1.0.0

Heya, yeah it is ready. I improved on the existing mixin that this addon uses, and importing it in should be a performance boost. I haven't bumped it to 1.0.0 because there's a few more things I'd like to add, but as it is it's a good drop in replacement for the current mixin.

@poteto sounds good.
@twokul what do you think? I would update the readme as well to surface ember-in-viewport options.

@fsmanuel I'm :+1: :+1: :+1: on it. I had to add threshold option for lazy image so we should probably take that into account. @poteto thanks for the addon!

@twokul should we deprecate threshold or use it as a shorthand? i'm more in favor of deprecation because viewportTolerance is much more precise.

@fsmanuel seems good.


Can't see metadata info into image from image->properties->details

I could add lat, lng into image and also could read these information. But I want to see these information from windows/mac by selecting the image. Then properties->details. How could I write these metadata info so that it also add into image metadata info and I could see it into image details?

    exif = FlutterExif.fromPath(filePath);
    await exif!.setLatLong(position.latitude,position.longitude);
    await exif!.setAttribute("comment", 'abc');
    await exif!.saveAttributes();
    var a = await exif!.imageData;
    yourFile.writeAsBytes(List.from(a!));


Add a tilt_inspector extension that lets you navigate internal tilt state

Hello @maiamcc,
Please review the following commits I made in branch nicks/tilt-inspector:
c10f43cfe4a9490d8e95f46e3fb679e6bf9fa9f0 (2021-04-26 13:03:06 -0400)
Add a tilt_inspector extension that lets you navigate internal tilt state
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

ahhh i spoke too soon, this doesn't quite work on mac due to host networking issues, let me withdraw and try smth else


faulty URL for bitcoin core builder keys

Describe the issue
The  URL on line 533 in the init script returns 404 not found.

Possible solution
Changing the URL to https://github.com/bitcoin/bitcoin/blob/master/contrib/verify-commits/trusted-keys seems to solve the issue. Verification success message is displayed and installation proceeds as expected.

To do
I'm not familiar with the bitcoin core repo, so I took a guess to which are the correct builder keys.
Confirm the correct link and update the .init file.

Root cause:
The bitcoin core repository has deleted the contrib/builder-keys/keys.txt file
https://github.com/bitcoin/bitcoin/pull/26598
Even the bitcoincore.org instructions for verification are still out of date due to this:
https://bitcoincore.org/en/download/
Comment on possible solution:
Your file is for commits to the Bitcoin repo rather than the larger list of people who have built and signed releases, there's only 6 trusted keys for commits while a dozen have signed v24.0.1 release, and the old builder-keys/keys.txt file had 50+ individuals.
I have removed cross checking signatures against github in the successor for Tails 5.8+ https://github.com/Bails
I'll leave it to the paranoid user to find sources on their own to confirm the fingerprint displayed belongs to the signer they are considering trusting.
They do still have a list but it's a on a release by release basis. And it was incomplete as of last week.
When bitcoincore.org gives an update I will have Bails follow their newest verification instructions.
I will use your proposed solution in this repository since it's easier than removing it like I did in Bails/bin/bails.


Custom Elements stats appear incorrect

The Firefox and Safari statuses for Custom Elements are blank, despite the fact that there are tests that pass.
https://webstatus.dev/features/custom-elements?sort=baseline_status_asc

Thanks for pointing this out @jeffposnick! Something is definitely going on. I will look into this and report back.

Notes for myself:
Going to https://api.webstatus.dev/v1/features/custom-elements
{
  "baseline": {
    "status": "limited"
  },
  "browser_implementations": {
    "chrome": {
      "date": "2019-03-12",
      "status": "available"
    },
    "edge": {
      "date": "2020-01-15",
      "status": "available"
    }
  },
  "feature_id": "custom-elements",
  "name": "Custom elements",
  "spec": {
    "links": [
      {
        "link": "https://html.spec.whatwg.org/multipage/custom-elements.html"
      }
    ]
  },
  "wpt": {
    "experimental": {
      "chrome": {
        "score": 0.987603306
      },
      "edge": {
        "score": 0.987603306
      },
      "firefox": {
        "score": 0.997933884
      },
      "safari": {
        "score": 0.656670114
      }
    },
    "stable": {
      "chrome": {
        "score": 0.974173554
      },
      "edge": {
        "score": 0.974173554
      },
      "firefox": {
        "score": 0.974173554
      },
      "safari": {
        "score": 0.656670114
      }
    }
  }
}

So the API is returning the data but the website is not rendering correctly

It looks like the problem is in web-features not having a status for Firefox and Safari:
https://github.com/web-platform-dx/web-features/blob/cd9325ffcadc5bb56db73a512a77d422f7a92c9a/features/custom-elements.dist.yml#L9-L14
I'll sort that out ASAP.

Thanks for following up on that Philip!
To be fair and not show wrong data, I will hide this feature. Additionally, once https://github.com/web-platform-dx/web-features/issues/1088 is resolved and the WPT tests are re-mapped to these two new features, they will appear in the dashboard automatically.
I will keep this issue open until those features are showing up in the dashboard

https://webstatus.dev/?q=custom+elements now shows 3 separate features and WPT scores.
@jeffposnick is that more like what you expected to see?

Looks good!

Thanks for confirming @jeffposnick! @jcscottiii this can be closed now, I think.


Integration Test - Release - 2019/03/14 21:01:12

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#backlog'

#pri2

#backlog

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


Which one is SR image for a series of LR images?

The input of Multi-Frame Super Resolution(MFSR)  is a series of low resolution images. And the output is a single high resolutiono image. For your dataset, if I want to use it for MFSR, I can see there are a series of 40 images as input. But which one should I use for the single high resolution output image? Thank you.

Dear axhiao,
I am sorry for my late response.
You are right, all MFSR algorithms in the benchmark provide a single high-resolution image for a set of low-resolution input images. However, in our evaluation protocol all algorithms are applied in a sliding window scheme. That is, given a window size of K frames and n low-resolution frames y[1] … y[n] (we use n = 40), we use y[1] … y[K] to obtain the first high-resolution image, y[2] … y[K+1] to obtain the second high-resolution image, and so on. For each sliding window, the central frame is chosen as a reference. By default, we use different window sizes (K = 5, 7, 17) for different magnification factors (2, 3, and 4) and process 10 sliding windows for each dataset, i.e. you get 10 high-resolution images for each input dataset. We used these parameters settings for the benchmark reported in our paper (see Section 4.1 in our TPAMI paper for more details) and averaged quantitative results over these sledding windows. Using only a single window comprising all K = 40 frames might lead to a higher bias compared to averaging over multiple windows.
However, you are free to set other parameters for own experiments and there are scripts to configure all benchmark parameters. For instance, in initEvaluationParametersForBaseline.m you can set the parameters for all baseline experiments comprising our benchmark for global, local, and mixed motion. If you would set numberOfFrames = [40, 40, 40] and sliding_val = 1, a single sliding window is processed (using startReferenceFrame as reference for motion estimation).
I hope that these explanation help.
Best,
Thomas


[tool_crash] HttpException Connection closed before full header was received, uri = http://localhost:52192/json

Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
command
flutter run -d chrome --web-renderer html --web-port 3443
Steps to Reproduce

Open my flutter project with VSCode.
flutter run -d chrome --web-renderer html --web-port 3443

exception
HttpException: HttpException: Connection closed before full header was received, uri = http://localhost:52192/json

flutter doctor
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-x64, locale en-CN)
    • Flutter version 2.10.5 at /Users/johnny/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (3 days ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/johnny/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (3 available)
    • Pixel 2 XL (mobile) • 912KPCA2098699 • android-arm64  • Android 10 (API 29)
    • macOS (desktop)     • macos          • darwin-x64     • macOS 12.3.1 21E258 darwin-x64
    • Chrome (web)        • chrome         • web-javascript • Google Chrome 100.0.4896.127
    ! Error: Johnny’s iPhone is not connected. Xcode will continue when Johnny’s iPhone is connected. (code -13)
    ! Error: lucy is not connected. Xcode will continue when lucy is connected. (code -13)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Hi @wxs77577, thanks for filing the issue. Looks like the sample code is missing, Please attach the sample code along with the complete crash log to investigate further.


Backup-DbaDatabase - Support prefix backups

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[x] New feature (non-breaking change, adds functionality, fixes #5275
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[x] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

Approach
Added IncrementPrefix switch
Used the fact that string*null = empty string to save an if else loop in a foreach
Commands to test

Screenshots

Learning

this is a very cool feature, thank you! unsure if the test is at fault or the code but it is failing in both cases. Hope you have a wonderful new year, thanks for all of your work over the years 🤩

added in returning a warning when the user manages to specify 0 databases for backup as mentiond in #6288 (test included)

Test failures don't appear to be down to my code changes, so good to go if you want to give it a review @potatoqualitee

excellent, thanks stuart!


Telework: Display only the selected option from the two required options under the "Teleworking Schedule" section

Actual Behavior:
If the user selects "I am requesting to telework on an occasional basis, with no formal schedule", then the checkboxes for telework schedule days section is not displayed.  If any checkboxes are selected, the user is displayed with the checkbox "I am requesting to telework on an occasional basis, with no formal schedule".
Expected Behavior:  If the user selects any Mon-Sun checkboxes, then, the user should not be displayed with the checkbox "I am requesting to telework on an occasional basis, with no formal schedule".

Hello @jizhaogit : I will work on this one then update you, unless you are close to being done with it. Stella wants you to focus on the #222 (the production environment). Is that ok?

I've got this half done. If the user selects the "no formal schedule" checkbox then the specific day options disappear (and reappear if the box is deselected). Getting the "no formal schedule" tickbox and text to disappear is proving more difficult.  I am wondering if there is an issue with the hide() function or if I need to set show() to false.

@Stella-Archer Can you please test this? It works for me. Go to the Telework form in TEST.

[ ] test

[ ] test

[ ] 3

[ ] test 4

[ ] test 5

[ ] test 6

Q/A Actions DEV Env.

[ ] when 'No formal schedule' is checked schedule day options is hidden

[ ] when a 'schedule day' is checked  'No formal schedule'  option is hidden

[ ] when a 'schedule day' is checked the day is added to the # of days a week field

[ ] when 3 or more days are checked in 'schedule day' the day(s) are totaled in the # of days a week field and the 'ADM Alert message' is displayed

I LOVE IT, Stella!!!! 😊
Alison Buchanan
Scrum Master, Project Manager
Corporate Services Division | BC Public Service Agency
810 Blanshard St | Victoria BC | Tel<PHONE_NUMBER>
From: Stella-Archer @.>
Sent: April 28, 2022 2:27 PM
To: bcgov/digital-journeys @.>
Cc: Buchanan, Alison L PSA:EX @.>; Comment @.>
Subject: Re: [bcgov/digital-journeys] Telework: Display only the selected option from the two required options under the "Teleworking Schedule" section (Issue #156)
[EXTERNAL] This email came from an external source. Only open attachments or links that you are expecting from a known sender.
Q/A Actions DEV Env.

[ ] when 'No formal schedule' is checked schedule day options is hidden
[ ] when a 'schedule day' is checked 'No formal schedule' option is hidden
[ ] when a 'schedule day' is checked the day is added to the # of days a week field
[ ] when 3 or more days are checked in 'schedule day' the day(s) are totaled in the # of days a week field and the 'ADM Alert message' is displayed

—
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbcgov%2Fdigital-journeys%2Fissues%2F156%23issuecomment-1112669585&data=05|01|alison.buchanan%40gov.bc.ca|9d8ea3bc4b9b4b981ac308da295de34e|6fdb52003d0d4a8ab036d3685e359adc|0|0|637867780457497851|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=uRoNq13g8%2BhbLlc1e8oVGX081jFC%2BFFzB%2B2vVE81Jds%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASLGRI4RH2U2SHRVRZX6F3TVHL7DZANCNFSM5RLI3NMA&data=05|01|alison.buchanan%40gov.bc.ca|9d8ea3bc4b9b4b981ac308da295de34e|6fdb52003d0d4a8ab036d3685e359adc|0|0|637867780457654090|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=3d7RwiqL0%2FHS%2BVDpgy4fdX2XjD%2FwC6i%2FiQjhDke3J8A%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

Test test

There is an issue executing javascript in DEV. The solution works in TEST. Let's separate out the checklist issue from this ticket, as that is not related.

There is an issue executing javascript in DEV. The solution works in TEST. Let's separate out the checklist issue from this ticket, as that is not related.


makeCommand() pkg/ipc/ipc.go  call inwp.close() twice

in ipc.go:534
defer inwp.Close()
in ipc.go:592
inwp.Close()

What problem does it cause? AFAIR it is intentional. defer to not leak it, explicit close before handshake needed for something.

efer func (){
log.Logf(0,"[*]ipc.makecommand.inwp.close2\n")
inwp.Close()
}()
   wp.Close()
    log.Logf(0,"[*]ipc.makecommand.inwp.close1\n")
    inwp.Close()

2018/12/26 09:10:24 []ipc.makecommand.inwp.close1
2018/12/26 09:10:24 []ipc.makecommand.inwp.close2
so i think don't need close1

AFAIR it is required for shutdown. If the pipe is not closed, the process does not terminate or something like that. I mean if we just remove close2 it can change program behavior. Are you sure it won't?

i remove close1 .it work ok.

inwp = OS.pipe()    in kernel, it's file->f_cout  1
cmd.Start() ,sys_clone will   inc f_cout ,and dup2 also inc f_cout
so the f_cout is 3

inwp = OS.pipe() in kernel, it's file->f_cout 1
cmd.Start() ,sys_clone will inc f_cout ,and dup2 also inc f_cout
so the f_cout is 3

I don't understand what you mean here.
i means in the linux kernel .when call os.pipe().    PIPE wile be created. and  his file struct also be create
.

i remove close1 .it work ok.

But... if we remove the first one, it will cause resource leaks on errors.

inwp.close is close  1 and defer inwp.close is close2

inwp = OS.pipe() in kernel, it's file->f_cout 1
cmd.Start() ,sys_clone will inc f_cout ,and dup2 also inc f_cout
so the f_cout is 3

I don't understand what you mean here.
when pipe is created in linux kerenel.  the struct file- >f_count is   pipe's  reference count
close() will  dec f_count
cmd.Start() will call sys_clone --> sys_dup2(inwp,1)  -- > sys_exec --> syz-executor
so  clone will call fget(inwp) , cause inc f_count,and dup2 also inc f_count


Add simple sg rules for consul agents

When deploying consul as an agent on, say a Vault cluster, I needed a set of rules to permit the LAN gossip traffic. This simple module permits that inbound traffic. Relates to https://github.com/hashicorp/terraform-aws-vault/pull/56

Provisioning a vault dev cluster using terraform-aws-vault's private example.

Got it, thx!

https://github.com/hashicorp/terraform-aws-consul/releases/tag/v0.3.3


merge from template-arlac77-github

package.json

chore(deps): add ^10.1.1 remove ^10.0.0 (devDependencies.c8)

.github/pr_labeler.yml

chore: (lint)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
109

Relevant Lines:
109

💛  - Coveralls


Intermittent test failure in BrokerServiceThrottlingTest.testLookupThrottlingForClientByBrokerInternalRetry

testLookupThrottlingForClientByBrokerInternalRetry(com.yahoo.pulsar.broker.service.BrokerServiceThrottlingTest)  Time elapsed: 3.512 sec  <<< FAILURE!
java.lang.AssertionError: expected [8] but found [7]
	at com.yahoo.pulsar.broker.service.BrokerServiceThrottlingTest.testLookupThrottlingForClientByBrokerInternalRetry(BrokerServiceThrottlingTest.java:263)

@rdhabalia Just saw this, can you take a look when you have time?


Logging or CLI client status

Hi,
I'm trialling Wg Server for Windows to replace my Softether OpenVPN setup.
I rely on log analysis to look at usage and who connected when.
Does the server keep logs anywhere? Or is there a CLI way of reporting the client status (connected/disconnected/source IP etc) so I can write a script to regularly check?
Thanks.

Hi @rdcuk, thanks for the question! WS4W is mostly a glorified wrapper around WireGuard. It does have a CLI, but that's mostly for running headless commands (for example, from Scheduled Tasks).
https://github.com/micahmo/WgServerforWindows?tab=readme-ov-file#cli
It doesn't really have any logging of its own. However, WireGuard has plenty of logging.

You can run wg show to print out the same thing that "View Status" shows in the WS4W UI.
You can supposedly run wireguard /dumplog > logs.txt to view logs (seen here), but I couldn't get this to print anything for me. You can see the full logs in the WireGuard UI (open from the system tray) on the Logs tab.

I hope that helps a little!


Chinese symbols not rendered inside TextBox

Why inputFiled not support  chinese?
https://user-images.githubusercontent.com/50814599/205203544-6a904520-a30b-49f7-a657-080bb821aab4.mp4

Hello. Does Avalonia support the same Chinese characters by itself? As I can see the  upper textbox contains Chinese characters and everything is fine.

Hello. Does Avalonia support the same Chinese characters by itself? As I can see the upper textbox contains Chinese characters and everything is fine.

here is my test ,the fisrt one successed, but the second and thrid failed ,if use my own  font,how do i set fontfamily‘s properties?

You need to overwrite property FontFamily for TextBlock and TextBox (or, in your case may be in TextBox only). Put something like that in end of your App.Styles:
        <Style Selector="TextBox">
          <Setter Property="FontFamily">
            <FontFamily>Comic Sans MS</FontFamily>
          </Setter>
        </Style>
        <Style Selector="TextBlock">
          <Setter Property="FontFamily">
            <FontFamily>Comic Sans MS</FontFamily>
          </Setter>
        </Style>

Closing it as completed. If you still have questions - feel free to reopen this issue or create a new one


Who is using pgmq?

Are you using pgmq  in your project?  Showcase it here!

We're use PGMQ at Tembo.io to buffer communications between our platform's control-plane and data-plane. control-plane sends requests to a partitioned queue. a service in the data-plane (conductor) reads messages from the queue and applies them via kubernetes API. Events from the data-plane go back to another queue that is read by a service in the control-plane. We use the queue archives as audit logs. We touched on it briefly in a blog earlier this year.

Reminded me how we had a long list of users in the Airflow README, eventually moved to seperate file https://github.com/apache/airflow/edit/main/INTHEWILD.md but just added the section to pgmq README. Please add yourself there :)

It is a dependency in some of our other extensions too, pg_later and pg_vectorize

@l-7-l , do you have a project using pgmq? we have a section on the readme for this and it will be more permanent than an issue. https://github.com/tembo-io/pgmq/blob/main/pgmq-extension/README.md#who-uses-pgmq
I am going to close this issue in favor of the readme.

@ChuckHend Hi, sorry I forgot about this Issue, haha. I haven’t made up my mind yet. I did implement integration with pgmq in an e-commerce project that’s still in development, which is used for all events like orders, payments, etc. But I’m still hesitating between nats-jetstream, pgmq, and iggy. Initially, high availability isn’t a concern; it just needs to run on a single node. To be honest, I really like that pgmq can send delayed messages, whereas nats-js and iggy require additional support. The advantage of nats-js is its popularity, so I’m still in a dilemma.
Lastly, thank you for your great work.


Add Github Action to run tests

[ ] Add Github Actions to run Python tests
[ ] Add Github Actions to run Javascript tests

 Add Github action to run tests

 Unable to build & push transcoder updates to production


Issue with raylet error

Hi, I'm using vllm to run llama-13B on two V100-16GB GPUs. I deployed vllm with the API server. However, When the context is long, the server returns:
[2023-08-09 22:39:16,002 E 209 223] (raylet) file_system_monitor.cc:111: /tmp/ray/session_2023-08-09_22-27-32_558284_37 is over 95% full, available space:<PHONE_NUMBER>2; capacity:<PHONE_NUMBER>776. Object creation will fail if spilling is required.
and the model is stuck and cannot return anything. Is it because the GPU size is too small or is there any other approaches to resolve this issue? Thanks!

got the same warning, but the model is still running, just curious about what the warning message means

可以把有空间的目录挂载到/tmp/ray;
you could use "ln -f space_free_dir /tmp/ray"

I am curious because I met the same problem, it seems that the disk space of ray spilling continues to grow until out of disk error accurs.

I got same error. and "ln -s space_free_dir /tmp/ray" does not work for me

how to specify not using /tmp/ray ?

Does someone resolve the issue?
I'm struggling with the same issue

Does someone resolve the issue? I'm struggling with the same issue

I had the issue when I'm using a docker container.
I was able to circumvent the issue by mounting the empty directory to /tmp/ray.
For example,
mkdir ./tmp_local
docker run -v ./tmp_local:/tmp/ray ...

clean up disk and keep it under 95% usage, that should fix the issue

Is there a way to tell raylet to use another folder to temporary objects directly from vLLM options?

This is a problem when using managed services that use a container to run the model for you such as Vertex AI or Sage maker since container is started with args the user has no control over so you can't mount /tmp/ over the host's volume to get more storage..

If you're running the model with a container, specify enough size for shared memory via --shm-size arg
then, within your container:
    ray.init(_temp_dir="/dev/shm/tmp_or_whatever", num_gpus=NUM_GPUS, ...)

clean up disk and keep it under 95% usage, that should fix the issue

This is the proper solution. When your disk space reaches to 100%, the things will anyway hang. I think it is likely you guys huggingface cache is full of model weights downloaded.

first:  rm /tmp/ray -f
then: mkdir a empty dir that use high disk usage,
then: ln -s new_empty_dir /tmp/ray
final: check the soft link is successful?  df /tmp/ray

Does someone resolve the issue? I'm struggling with the same issue

I had the issue when I'm using a docker container. I was able to circumvent the issue by mounting the empty directory to /tmp/ray. I hope this solution could help someone.
For example,
mkdir ./tmp_local
docker run -v ./tmp_local:/tmp/ray ...

I dont quite understand this thread.
what is the actual issue here?
I am facing this issue as well with a docker container using ray. Not actually using vllm.
But the issue is the same I suppose.
I have enough hard drive storage, but it somehow calculates the 'available space' wrong.
so I read mounting a random empty folder from the host machine to the tmp folder helps there? why? how? does it make it slower?


Added online version of autoprefixer

Added online version of Autoprefixer. So users can instantly use it without installing it.

Appreciate the PR but not sure this is really relevant for the Mix docuementation. Mix is intended to be used as a build tool and for people to install autoprefixer alongside it — in which case it'll get run automatically.
Thank you though!


[BUG] Unknown texture: "EP2SKY2"

Type of bug
texture error
Mapset name
Epic 2
Map name
EP212 - EP220
Describe the bug
The second sky from Epic 2 is missing.
Screenshots

Fixed in b78ac66