text:
Kaldi-Python install problem concerning : /kaldi/src/util/kaldi-table-inl.h: and  has no member named 'ExtractRange'

Dear Dmitry
While I am trying to install kaldi-python, I run into the following error message:
xiaofeng@spears:~/tool/kaldi-python$ python setup.py install
running install
running build
running build_py
make -C kaldi_io depend
make[1]: Entering directory '/home/xiaofeng/tool/kaldi-python/kaldi_io'
g++ -I/home/xiaofeng/tool/kaldi/src -I/home/xiaofeng/anaconda2/include/python2.7 -I/home/xiaofeng/anaconda2/include/python2.7 -I/home/xiaofeng/anaconda2/lib/python2.7/site-packages/numpy/core/include -M -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/xiaofeng/tool/kaldi/tools/ATLAS/include -I/home/xiaofeng/tool/kaldi/tools/openfst/include -Wno-sign-compare -g  -fPIC .cpp > .depend.mk
make[1]: Leaving directory '/home/xiaofeng/tool/kaldi-python/kaldi_io'
make -C kaldi_io
make[1]: Entering directory '/home/xiaofeng/tool/kaldi-python/kaldi_io'
g++ -shared -o kaldi_io_internal.so -Wall -fPIC -I/home/xiaofeng/tool/kaldi/src -I/home/xiaofeng/anaconda2/include/python2.7 -I/home/xiaofeng/anaconda2/include/python2.7 -I/home/xiaofeng/anaconda2/lib/python2.7/site-packages/numpy/core/include -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/xiaofeng/tool/kaldi/tools/ATLAS/include -I/home/xiaofeng/tool/kaldi/tools/openfst/include -Wno-sign-compare -g  -fPIC kaldi_io_internal.cpp /home/xiaofeng/tool/kaldi/src/lm/kaldi-lm.a /home/xiaofeng/tool/kaldi/src/decoder/kaldi-decoder.a /home/xiaofeng/tool/kaldi/src/lat/kaldi-lat.a /home/xiaofeng/tool/kaldi/src/hmm/kaldi-hmm.a /home/xiaofeng/tool/kaldi/src/transform/kaldi-transform.a /home/xiaofeng/tool/kaldi/src/gmm/kaldi-gmm.a /home/xiaofeng/tool/kaldi/src/tree/kaldi-tree.a /home/xiaofeng/tool/kaldi/src/matrix/kaldi-matrix.a  /home/xiaofeng/tool/kaldi/src/util/kaldi-util.a /home/xiaofeng/tool/kaldi/src/base/kaldi-base.a  /home/xiaofeng/tool/kaldi/src/thread/kaldi-thread.a -rdynamic -Wl,-rpath=/home/xiaofeng/tool/kaldi/tools/openfst/lib -L-lpython2.7 -lpthread -ldl -lutil -lm   -L/home/xiaofeng/tool/kaldi/tools/openfst/lib -lfst /usr/lib/libatlas.so.3 /usr/lib/libf77blas.so.3 /usr/lib/libcblas.so.3 /usr/lib/liblapack_atlas.so.3 -lm -lpthread -ldl -lpython2.7 -lboost_python -lboost_system
In file included from /home/xiaofeng/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0,
from /home/xiaofeng/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/xiaofeng/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from kaldi_io_internal.cpp:10:
/home/xiaofeng/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^
In file included from /home/xiaofeng/tool/kaldi/src/util/kaldi-table.h:467:0,
from kaldi_io_internal.cpp:21:
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::pair<int, int> >, kaldi::BasicPairVectorHolder, kaldi::BasicPairVectorHolder > >; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PythonToKaldiHolder<BoostPythonconverter<std::vector<std::pair<int, int> >, kaldi::BasicPairVectorHolder, kaldi::BasicPairVectorHolder > >' has no member named 'ExtractRange'
if (range_holder.ExtractRange(holder_, range)) {
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::vector >, kaldi::BasicVectorVectorHolder, kaldi::BasicVectorVectorHolder > >; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PythonToKaldiHolder<BoostPythonconverter<std::vector<std::vector >, kaldi::BasicVectorVectorHolder, kaldi::BasicVectorVectorHolder > >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector, kaldi::BasicVectorHolder, kaldi::BasicVectorHolder > >; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PythonToKaldiHolder<BoostPythonconverter<std::vector, kaldi::BasicVectorHolder, kaldi::BasicVectorHolder > >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PythonToKaldiHolder<VectorToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PythonToKaldiHolder<VectorToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PythonToKaldiHolder<MatrixToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PythonToKaldiHolder<MatrixToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PyObjectHolder; std::string = std::basic_string]':
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1813:9: error: 'class PyObjectHolder' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::pair<int, int> >, kaldi::BasicPairVectorHolder, kaldi::BasicPairVectorHolder > >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::pair<int, int> >, kaldi::BasicPairVectorHolder, kaldi::BasicPairVectorHolder > >; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PythonToKaldiHolder<BoostPythonconverter<std::vector<std::pair<int, int> >, kaldi::BasicPairVectorHolder, kaldi::BasicPairVectorHolder > >' has no member named 'ExtractRange'
if (!range_holder_.ExtractRange(holder_, range_)) {
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::vector >, kaldi::BasicVectorVectorHolder, kaldi::BasicVectorVectorHolder > >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::vector >, kaldi::BasicVectorVectorHolder, kaldi::BasicVectorVectorHolder > >; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PythonToKaldiHolder<BoostPythonconverter<std::vector<std::vector >, kaldi::BasicVectorVectorHolder, kaldi::BasicVectorVectorHolder > >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector, kaldi::BasicVectorHolder, kaldi::BasicVectorHolder > >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector, kaldi::BasicVectorHolder, kaldi::BasicVectorHolder > >; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PythonToKaldiHolder<BoostPythonconverter<std::vector, kaldi::BasicVectorHolder, kaldi::BasicVectorHolder > >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PythonToKaldiHolder<VectorToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PythonToKaldiHolder<VectorToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PythonToKaldiHolder<MatrixToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PythonToKaldiHolder<MatrixToNdArrayConverter >' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In instantiation of 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PyObjectHolder]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:175:29:   required from 'const T& kaldi::SequentialTableReaderScriptImpl::Value() [with Holder = PyObjectHolder; kaldi::SequentialTableReaderScriptImpl::T = boost::python::api::object]'
kaldi_io_internal.cpp:482:1:   required from here
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:351:9: error: 'class PyObjectHolder' has no member named 'ExtractRange'
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PyObjectHolder; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PyObjectHolder]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<MatrixToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<VectorToNdArrayConverter >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector, kaldi::BasicVectorHolder, kaldi::BasicVectorHolder > >; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector, kaldi::BasicVectorHolder, kaldi::BasicVectorHolder > >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::vector >, kaldi::BasicVectorVectorHolder, kaldi::BasicVectorVectorHolder > >; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::vector >, kaldi::BasicVectorVectorHolder, kaldi::BasicVectorVectorHolder > >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::RandomAccessTableReaderScriptImpl::HasKeyInternal(const string&, bool) [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::pair<int, int> >, kaldi::BasicPairVectorHolder, kaldi::BasicPairVectorHolder > >; std::string = std::basic_string]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:1825:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h: In member function 'bool kaldi::SequentialTableReaderScriptImpl::EnsureObjectLoaded() [with Holder = PythonToKaldiHolder<BoostPythonconverter<std::vector<std::pair<int, int> >, kaldi::BasicPairVectorHolder, kaldi::BasicPairVectorHolder > >]':
/home/xiaofeng/tool/kaldi/src/util/kaldi-table-inl.h:360:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/xiaofeng/tool/kaldi/src/base/kaldi-common.h:38:0,
from /home/xiaofeng/tool/kaldi/src/util/kaldi-io.h:30,
from kaldi_io_internal.cpp:20:
/home/xiaofeng/tool/kaldi/src/base/kaldi-math.h: At global scope:
/home/xiaofeng/tool/kaldi/src/base/kaldi-math.h:130:17: warning: 'kaldi::kLogZeroBaseFloat' defined but not used [-Wunused-variable]
const BaseFloat kLogZeroBaseFloat = -std::numeric_limits::infinity();
^
Makefile:31: recipe for target 'kaldi_io_internal.so' failed
make[1]: *_* [kaldi_io_internal.so] Error 1
make[1]: Leaving directory '/home/xiaofeng/tool/kaldi-python/kaldi_io'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2
running build_scripts
running install_lib
running install_scripts
changing mode of /home/xiaofeng/anaconda2/bin/apply-global-cmvn.py to 755
changing mode of /home/xiaofeng/anaconda2/bin/copy-feats-padded.py to 755
changing mode of /home/xiaofeng/anaconda2/bin/show-wav-ali.py to 755
changing mode of /home/xiaofeng/anaconda2/bin/compute-global-cmvn-stats.py to 755
running install_egg_info
Removing /home/xiaofeng/anaconda2/lib/python2.7/site-packages/kaldi_python-1.0-py2.7.egg-info
Writing /home/xiaofeng/anaconda2/lib/python2.7/site-packages/kaldi_python-1.0-py2.7.egg-info
I am sure that I installed the newest kaldi, could that be the cause of the this problem? Does kaldi-python requires older verison of kaldi?
Best
Many thanks

I received this error too, so have you solved this problem?
Sincerely.

authors: Elecky xfwu

repo: janchorowski/kaldi-python


text:
IE: Oh God

IE11 on Win7 (virtualbox):
Scrolling works, next button works once, then prev/next buttons sort of work, but in the opposite direction.
Loads of performUpdateIfNecessary: Unexpected batch number errors.

Addressed the ones I could reproduce. Closing. Will make a new issue for specific bugs as they appear.

source: gharchive/issue

authors: uniqname zacanger

repo: jane/react-track

license: mit

license_type: permissive

license_source: bigquery


text:
Add CSS loader in WASM

Screencast from 2023-02-22 22-29-26.webm

thanks!!

source: gharchive/pull-request

authors: bash janhohenheim

repo: janhohenheim/foxtrot

license_source: github-api


text:
bug: cors rest api

Cortex version
1.0.0
Describe the Bug
local web application while trying to fetch REST API at http://localhost:39281/v1/chat/completions  resulted in CORS Access-Control-Allow-Origin error. Same issue at documentation page chat completion demo here:

Steps to Reproduce
No response
Screenshots / Logs
No response
What is your OS?

[X] MacOS
[ ] Windows
[ ] Linux

What engine are you running?

[ ] cortex.llamacpp (default)
[ ] cortex.tensorrt-llm (Nvidia GPUs)
[ ] cortex.onnx (NPUs, DirectML)

@simboonlong
Great catch, we will explore a fix for our API docs site calling a local API endpoint (running over http).
In the mean time for you to test Cortex API, you can run cortex locally,
and test the APIs via our Swagger API page http://127.0.0.1:39281 or Postman
❯ cortex start
Server started
API Documentation available at: http://127.0.0.1:39281
Host: 127.0.0.1 Port: 39281

thank you for the follow up. yup postman is fine and interacting via cli works.
im thinking in terms of a flag, say cortex start --no-cors to allow all incoming requests with addHeader("Access-Control-Allow-Origin", "*")?

Hi @simboonlong, thanks for the feature suggestion!
On cortex-nightly, you are now able to turn CORS on and off

CLI: cortex-nightly config --cors on|off`
CLI: cortex-nightly config --allowed_origins "localhost:39281,xxx"
API reference: https://cortex.so/api-reference#tag/configurations/get/v1/configs
Test Requests work on our cortex.so API reference site (fixes your screenshot above)

Do give it a try on cortex-nightly! Will be out on cortex stable release next week
https://github.com/janhq/cortex.cpp?tab=readme-ov-file#local-installer-default

tried on v1.0.3, --allowed_origins works. thank you 🚀

authors: gabrielle-ong simboonlong


text:
NullPointer Exception when saving job conf

I am using Jenkins 2.13 and the latest github plugin and lets Gith Pull Request builder
Stacktrace
javax.servlet.ServletException: java.lang.NullPointerException
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
	at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:45)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
	at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:49)
	at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:44)
	at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:106)
	at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:44)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:200)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)
	at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85)
	at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:99)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
	at org.jvnet.hudson.plugins.cors.JenkinsCorsFilter.doFilter(JenkinsCorsFilter.java:41)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
	at org.eclipse.jetty.server.Server.handle(Server.java:499)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
	at org.jenkinsci.plugins.ghprb.GhprbRepository.hookExist(GhprbRepository.java:270)
	at org.jenkinsci.plugins.ghprb.GhprbRepository.createHook(GhprbRepository.java:289)
	at org.jenkinsci.plugins.ghprb.GhprbTrigger.start(GhprbTrigger.java:260)
	at org.jenkinsci.plugins.ghprb.GhprbTrigger.start(GhprbTrigger.java:66)
	at hudson.model.AbstractProject.submit(AbstractProject.java:1884)
	at hudson.model.Project.submit(Project.java:230)
	at hudson.model.Job.doConfigSubmit(Job.java:1246)
	at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:796)
	at sun.reflect.GeneratedMethodAccessor928.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
	at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
	at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	... 74 more

I have the same exact issue

found the cause for my problem, it was the way i configured the link to the github repo:
The link should be in the following format:
Project url - https://github.com/SWISS/swiss-spring-framework

authors: ezraroi jmieleiii

repo: janinko/ghprb


text:
Too early compiler choice

With the below configuration
" vim-test
let test#strategy = 'dispatch'

" vim-dispatch
let g:dispatch_compilers = {}
let g:dispatch_compilers.phpunit = 'phpunit2'

when I run, for example, :TestNearest, then :Dispatch gets ./vendor/bin/phpunit into the first argument so phpunit compiler is ignored.
Although I found a workaround by set this argument manually
let test#php#phpunit#executable = 'phpunit'

I think that test#php#phpunit#executable() first should get the proper value from the compiler definition if that exist and if it make sense. It seems that searching the executable should be the responsibility of a particular compiler.
Maybe this issue is more generic - not specific for phpunit and independent of vim-dispatch.

The thing is that test.vim isn't generally related to Vim compilers. You can use a strategy that uses compilers under the hood (dispatch.vim), or a strategy which doesn't use them at all.
The reason why test.vim cannot utilize compilers is because: (a) it would have to re-implement searching trough compiler (because it cannot rely on dispatch.vim being installed), and (b) even if it did, using the command declared by the compiler isn't necessarily what users want to be run.
For example, I'm assuming that running phpunit isn't equivalent to running ./vendor/bin/phpunit. If test.vim would choose the compiler command, users wouldn't be able to choose to run ./vendor/bin/phpunit and still use the phpunit2 compiler.
However, you can still configure dispatch.vim to use the phpunit2 compiler without changing anything in test.vim. The g:dispatch_compilers dictionary has a double functionality: in addition to the dictionary value being a compiler name, it can also be a blank string, and then dispatch.vim will treat the key as a prefix that should be subtracted, and continue the compiler lookup without that prefix.
In your case you want to ignore ./vendor/bin/ from the command, so you can specify:
let g:dispatch_compilers = {}
let g:dispatch_compilers['./vendor/bin/'] = ''
let g:dispatch_compilers['phpunit'] = 'phpunit2'

Then ./vendor/bin/phpunit ... command should be transformed into phpunit ..., which should then activate the phpunit2 compiler.

authors: janko-m przepompownia

repo: janko-m/vim-test

license: MIT


text:
added comments and I think I found a bug

New to Github, very good organized project and funny Idea!
I just added some comments (it is already well commented) and I think I found a bug.
Please review

The comments don't really provide additional value, they are practically repeating the name of the variable.


text:
Dolphin-Island-2 not installable on openSUSE Tumbleweed.

Problem: 1: the to be installed Dolphin-Island-2-20160410-2.50.noarch requires 'godot < 3', but this requirement cannot be provided
not installable providers: godot-2.1.6-4.251.i586[Games]
godot-2.1.6-4.289.x86_64[Games]
Solution 1: downgrade of godot-4.2.1-81.5.x86_64 to godot-2.1.6-4.289.x86_64
Solution 2: do not install Dolphin-Island-2-20160410-2.50.noarch
Solution 3: break Dolphin-Island-2-20160410-2.50.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c):
I am wondering how should I attempt to install the game? Is there a way to proceed without downgrading "godot" version?
-Best Regards

Download Godot 2.1 from https://downloads.tuxfamily.org/godotengine/2.1.6/, download the project repository ZIP, extract it and import its engine.cfg file using the Godot project manager. Open the project in the editor, then run it by pressing F5.

Thanks for your help with this. I was able to get it running nicely. Should I bring this up with openSUSE factory possibly? How would I go about trying to get the installation of Dolphin-Island-2 more stream lined for openSUSE users? The game can't simply be installed any longer through the openSUSE games repository.
-Best Wishes

Should I bring this up with openSUSE factory possibly?

Yes, you need to ask distribution packagers about it.

authors: Calinou panorain


text:
🛑 Finefoods is down

In cc14313, Finefoods (https://finefoods.com.py/) was down:

HTTP code: 500
Response time: 391 ms

Resolved: Finefoods is back up in 59125e9.

repo: janparkio/uptime


text:
Publish PIP package?

Hello,
I am looking at using your package in one of opensource automation software, do you have any plans to publish this as pip package/PyPi ?
Thanks

Yes sure. But I'm waiting till 1st November to release it.
Because then the Outlook Api version 1 is going to be deprecated.
You can check branch "v2" in this project to see the upcoming changes.
Till then you can use the "Clone or Download" option.

I'm back to you just to let you know I merged the v2 branch into master. So now the project is updated to the most up to date version. That means It no longer handles basic authentication. But comes with nre features such as drives managements etc.
Also, the library is published on pypi.org under the 'pyo365' name. Check the Readme for further notes.
See ya

authors: janscas vikramgorla


text:
Support 182.x

New EAP 😄 Thanks for all your hard work!

Yes please, I have very large number of bash scripts which are now all displayed as plain text.  I have reverted to 2018.1 and/or VS Code in the meantime (hope a resolution is provided soon)

yes, pretty please :)

Should be possible next week.
Do you really use the first EAPs in production?

Awesome, thanks!
Yeah, I've never personally had any major issues with EAP versions and I happily use it as a daily driver.

Same experience here with EAP releases. This is actually the first time in as long as I can remember that I have had to “downgrade”.
Personally I do a lot of bash scripting, so this single issue had me downgrading :)

Thank you for all your hard work

There's an update now for 182.x. As far as I can tell the settings should be preserved. Let me know if you encounter an issue with the plugin and an EAP.
Thanks for your patience :) I'd love to work more on this, but it's not possible atm.

Although the plugin claims to support 182, it does not show up as supported in GoLand 2018.2 EAP Build #GO-182.2371.38, built on May 18, 2018

@jhvhs 182.2574 and later are supported. Is there a newer GoLand EAP available?

authors: CarsonF MarioAriasC jansorg jhvhs mikeerickson mwz

repo: jansorg/BashSupport


text:
fix(rbac): fix ownerRefs alias after upgrade backstage to 1.29

What does this pr do:
Fix ownerRefs alias after upgrade backstage to 1.29
What does this pr fixes
Fixes:
https://issues.redhat.com/browse/RHIDP-4069

Works for me! 🎉

/approve

authors: AndrienkoAleksandr dzemanov

repo: janus-idp/backstage-plugins


text:
fix(rbac): move admin creation to its own file

Description
Moves the admin creation to its own file to simplify the code base a little bit. This will also help in the future if we ever decide to allow for the reloading of admins from within the app-config.
Also included is a number of other updates.

Moves the test fixtures directory up a level
Includes a new mock-utils.ts file that holds all of the different mocks that we use in all of our test files

This is so we can further refactor our tests in the future to remove the redundant mocks throughout

Renames those redundant mocks to make the future update easier
Includes a new test-utils.ts file that holds some of the common test util functions that are used in our test files

This is so we can further refactor our tests in the future to remove the redundant function declarations throughout

The future refactor should help with some of the duplication issues that we are seeing within SonarCloud

The sonarcloud analysis is failing because of the amount of duplication that is in this PR. My plan is to clean this up in a separate PR.

/override sonarcloud

/override "SonarCloud Code Analysis"

authors: AndrienkoAleksandr PatAKnight


text:
fix(catalog): ci tab content providers order

Description
GitLab/GitHub doesn't provide any meaningful detection to distinguish between GitLab usage as VCS and Gitlab usage as CI, we need to find some workaround
Additionally, this PR fixes wrong GitLab CI content from: EntityGitlabMergeRequestsTable to EntityGitlabPipelinesTable.
@christophe-f @sonyccd please advise, do we want to:

Show data from all providers if they are applicable based on the entity annotations

This has a 👎 in potentially showing empty cards for GitHub/GitLab if used for source code (as VCS) but not as CI
This has a 👍 since we capture all the data. It is fairly common that users use 1 CI provider for linting, enforcing rules etc. (like GitHub Actions) and another CI for integration tests etc.

Reorder CI providers in a way that we would default to GitHub/GitLab only if no other specialized solution applies. This will always show a single CI tile.

We can do only one for the above. I think we should do 1, but I would appreciate your input as well.
Which issue(s) does this PR fix

Fixes #404

PR acceptance criteria
Please make sure that the following steps are complete:

GitHub Actions are completed and successful
Unit Tests are updated and passing
E2E Tests are updated and passing
Documentation is updated if necessary
Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

If you go with option one which I'm not opposed to is there a way to prioritize the order in which the different CIs are shown?  Like if I'm using Tekton and GitHub Actions like you mentioned could I show Tekton first then GitHub or vice versa?

For the PR, we should definitely merge it as it fixes a bug.
For the logic, we can move the discussion in the issue. Entreprises won't use 2 CI in the pipelines. Only 1 tool. They could use Jenkins on older/existing component, and replacing newer apps with GitLab CI or Tekton, but a component will not use 2 CI tools.
In the case we detect 2 annotations for GitLab and Tekton, I would imagine that GitLab will be used for the code only and not CI. And Tekton would be the CI.
We won't get that right at the first time, but we can get better at every iteration.

authors: christophe-f jayfray12 tumido

repo: janus-idp/backstage-showcase


text:
Question - Auto retrying assertions

Hi there,
I'm trying out adonisjs which uses japa. I wrote a test for deleting an element in a list view:
    await page.locator('button', { hasText: 'delete' }).nth(0).click()
    await page.assertElementsCount(page.locator('tbody tr'), 1)

It does not behave as I would expect though. I would expect the second line to retry until the expectation is met or a timeout is exceeded. However it does not attempt to retry and instead checks once immediately after the click and then fails:
  Assertion Error: expected locator('tbody tr') to have '1' elements

- Expected  - 1
+ Received  + 1

One thing that worked was adding the following line between await page.waitForLoadState('networkidle') (or waitForTimeout(100)). I don't think this should be necessary though.
The playwright assertions have built in auto retries: https://playwright.dev/docs/test-assertions#auto-retrying-assertions :await expect(locator).toHaveCount().
The only mentions of retries in the documentation regard retrying a whole test. How should I modify my code to achieve the desired behavior?

Yeah, I think it will be a nice addition to have auto retries for playwright assertions. Feel free to send a PR (if you think you can work on it), or else I will pick it up in some free time.

How would you feel about implementing the assertions with @playwright/test's expect?
It would make it rather easy to implement waiting behaviour to a many - if not all - of the assertions.

Yeah, this part has to be improved. Would you like to give a try and create a PR for the same?

Yeah, this part has to be improved. Would you like to give a try and create a PR for the same?

If you don't mind that I use expect from @playwright/test to do the underlying implementation, then I'd gladly give it a shot.

Yeah I think we can use it. I don't see any downsides of using it

Yeah I think we can use it. I don't see any downsides of using it

I made a draft PR for this. Let me know what you think.

👍 We ran into this recently as well. Having auto-retrying assertions (or access to @playwright/test's expect) would be super great.

authors: jeppester jofrly solomonhawk thetutlage

repo: japa/browser-client


text:
Preview mode margins are narrower and clip the fold/unfold arrows

Obsidian 0.11.0
macOS 11.2.1
In edit mode it is all good:

But in preview it clips the fold/unfold arrows. Personally I think the margins should be the same.

hi, thanks for the feedback, I've pushed an update to fix this a while ago, please delete the theme and reinstall it to apply the change.

Oh I had no idea that I need to manually update it. Sorry for the noise.

authors: fcy jarodise


text:
Www-Authenticate: Basic realm="REST API"

Hello,
As the username and password for a system indicated restfull with http authentication api ? similiar to curl
curl_setopt ( $ curl, CURLOPT_USERPWD , " $ user : $ pass" ) ;

Not sure what you mean.
If you have basic authorization on server side you must pass an "Authorization" header where value is "Basic " + base64 of (username + ":" + password).
In the headers form you have a constructor for auth headers that you can use.

Hello
Is exactly what you mention me , thank you very much

authors: jarrodek smallshi

repo: jarrodek/ChromeRestClient


text:
.min/.max returns Infinity/-Infinity for [undefined]

I think the result should be just undefined
I'm using version 1.7.0 of underscore.

I think the result should be just undefined

We've gone back and forth on this a few times (do a search through the issues for some background). What's the rationale for making this change? Any reason you can't _.compact the array before passing to max / min?

repo: jashkenas/underscore


text:
Array chain methods error on non-array values

Array chain methods error on non-array values which is unlike other array category methods.
_().pop(); // error
_('').pop(); // error
_().first() // undefined

This brings up another issue, should we cast array-likes to array?
_('hello').first() // 'h'
_('hello').pop() // ?

This seems to still be an issue - we encountered it after bumping our version from 1.8.3 t0 1.9.0

This behaviour is still present in 1.10.2.
A slightly more convincing contrast in my option, since both involve modifying a value in place:
Object.assign(undefined, {a: 1})  // error
_().extend({a: 1})  // undefined

Array.prototype.push.call(undefined, 1)  // error
_().push(1)  // error

I somewhat agree this is inconsistent.
It is worth considering in what kind of real-world situation this would be most likely encountered and what to expect of the wrapped object in such cases.
In the middle of a chain, the wrapped object is predictable. For example, in the chain below, the wrapped object that is passed to push will be either Array or undefined. For this reason, I would argue that the Array wrapper methods should implement a null check. This is easy.
_.chain(something).map(f).push(x)  // hoping to push x to an array

If the predicted wrapped object is more likely to be something other than an array, then it is arguably a programmer error. I don't mind throwing an exception in that case.
_.chain(something).map(f).join('').push(x)  // hoping to push x to a string??

At the start of a chain, the story may seem a bit different at first sight, but I will argue that it is the same and that we should leave it at a null check. At least it must be the case that the programmer has some reason to expect something to be a mutable array-like, since otherwise, there would be no reason to call push:
function giveMeAMutableArraylike(something) {
    _.chain(something).push(x)
}

The expectation that something is a mutable array-like could be unmet for a variety of reasons:

giveMeAMutableArraylike ended up being called with null or undefined for whatever reason. This is comparable to the first chain-in-the-middle example and can be addressed with the same null check.
The caller is trying to make giveMeAMutableArraylike do something that it obviously cannot do, i.e., breaking the contract. This is comparable to the second chain-in-the-middle example. Again, I think it is fine to throw an error in this case.
something is a bare value instead of an array with a single element, i.e., v instead of [v]. This is a common situation in many JavaScript APIs. If the contract of giveMeAMutableArraylike allows this, it is obviously wrong to throw an error regardless of what v happens to be.

In the latter case, Underscore cannot know whether giveMeAMutableArraylike allows single bare elements or not, so it is up to the programmer of giveMeAMutableArraylike to implement its particular contract. There is nothing that a library like Underscore can do that will do the right thing for all possible contracts:

Current behaviour
Wrap in single-element array

Contract allows bare single element
Programmer needs to intervene
Underscore does the right thing automatically

Contract does not allow bare single element
Underscore does the right thing automatically
Programmer needs to intervene

Also, how do you decide whether a value should be wrapped? Some contracts might want to wrap anything that isn't an Array, while others might want to pass arguments and plain objects as-is. Again, this is something that a library like Underscore cannot guess on behalf of the user.
More exotic situations are conceivable as well, for example a contract that allows immutable array-like objects such as strings and that will convert them to Array first. It is impossible to cover all the possible variations. By the principle of least change, there is just no convincing argument for supporting some contracts at the expense of contracts that were already supported. There is also a strong case for keeping the implementation as minimal as possible.
So I think the right solution is to insert just a null check and leave it at that. This is the only change to Underscore's behaviour that seems defensible in all conceivable situations and it is also consistent with the behaviour of _.extend. A null check could still be regarded a bugfix, while doing anything more than that would quickly turn it into an arbitrary breaking change.
@jashkenas could you shine your light on this? If you agree, I will prepare a pull request that implements the null check.

@jgonggrijp — Can you elaborate in a sentence with the behavior that you want to implement with the null check?
Is it that array methods will explicitly throw an exception when called on a nullish value? Or that they will noop when called on a nullish value?

@jashkenas Yes. The behavior I would implement is a no-op, following the style of the Underscore array functions:
https://github.com/jashkenas/underscore/blob/4cf715f593805ba8d7c5685cd06c82b3cd9b55ae/modules/index.js#L495
Except that the length check wouldn't be required, so I would just insert
if (obj == null) return chainresult(this, obj);

between these two lines:
https://github.com/jashkenas/underscore/blob/4cf715f593805ba8d7c5685cd06c82b3cd9b55ae/modules/index.js#L1654-L1655
Plus tests of course, and if those tests reveal a need, maybe also a null check that turns the method into a no-op before this line:
https://github.com/jashkenas/underscore/blob/4cf715f593805ba8d7c5685cd06c82b3cd9b55ae/modules/index.js#L1665

Sounds fine to me!

authors: captbaritone jashkenas jdalton jgonggrijp ryandhaase


text:
Some iOS devices not detecting

Some iOS devices are not detecting like iPad Mini, iPhone 4s etc. Please check the code
https://github.com/jasny/jquery.smartbanner/blob/master/jquery.smartbanner.js#L20-L22
I think we only need to check the device is iOS or not.
Following code will give a simple solution for it. please check it in iPhone 4s or iPad Mini
if( UA.match( /iPad/i ) || UA.match( /iPhone/i ) || UA.match( /iPod/i ) )
{
this.type = 'ios'
}

PR's accepted :D


text:
Build error with OpenSSL 1.1.1q

Build error occurs when trying to build with OpenSSL 1.1.1q. The error occurs when it is attempting to build for iOS.

Hi @rbright55 !  Thanks for opening this!
I'll do some investigation.  If anyone else has discovered the cause for the build failure, please feel free to update here (or submit a PR if you figure it out! :).

Posting error that is causing this to break:
cc  -Iinclude -arch x86_64 -Os -mmacosx-version-min=11.6.8 -arch x86_64  -D_REENTRANT -DNDEBUG  -MMD -MF test/versions.d.tmp -MT test/versions.o -c -o test/versions.o test/versions.c
test/v3ext.c:201:24: error: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
        if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0))
                       ^
test/v3ext.c:201:24: note: include the header <string.h> or explicitly provide a declaration for 'memcmp'
1 error generated.
make[1]: *** [test/v3ext.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

@rbright55 This is an open issue on OpenSSL: https://github.com/openssl/openssl/issues/18720
It looks like a fix has been pushed and should show up in the next version.  We can keep this open until a fixed version is released.  I am also going to add set -e to the build.sh script as it is difficult to spot / troubleshoot these errors when build.sh just plows on ahead.

Great explaination by @tom-cosgrove-arm in https://github.com/openssl/openssl/issues/18720#issuecomment-1210284214

repo: jasonacox/Build-OpenSSL-cURL


text:
Standardize indentation for code snippets in the README.

From what I noticed while reading the README,

Short Python and Bash Snippets have no Indentation
Longer Python Snippets have 4 Spaces ( ) of indentation

I did my best to judge what would be considered long/short and added indentation accordingly, but there is a clear lack of standardization with the indentation for snippets, I'd suggest removing indentation completely, to make copy pasting easier :)
By indentation, I mean the spaces added to the start of a line but not for Python's sake
    import tinytuya

vs
import tinytuya

Thanks for the great project, everything is extremely well documented in the README and setting things up was a breeze <3

Please keep in mind, this pull request to bring more attention to this issue. It may not add indentation as you envisioned. I strongly suggest you rethink indentation for code snippets and possibly remove it altogether.
Thanks!

Hi @TheOnlyWayUp - thank you for this PR!  I completely agree with your points.  Let's remove the spaces.  Are you willing to do that and update the PR?  I would prefer you get the credit.
Thanks for your help!

Are you willing to do that and update the PR? I would prefer you get the credit.

I'll do it within the next hour :)

@jasonacox Please take a look at TheOnlyWayUp/tinytuya/patch-1/README.md
If everything is satisfactory, I think this pull request can be merged. Thanks for the cool library!

It looks so much better!!!  Thanks @TheOnlyWayUp !  Merged.

authors: TheOnlyWayUp jasonacox

repo: jasonacox/tinytuya


text:
[Feature request] C/C++ static array/vector assignment for weights with static model API

RTNeural seems like a great choice for resource constrained devices, which really makes me wonder why loading a model requires a file system.
According to the docs, the compile time API can only load a model's weights via a json file, which requires a file system. While file systems can be implemented on embedded systems such as the Daisy Seed, a perfect target device for RTNeural, it seems like an unnecessary stretch to add one just for loading a simple model. Instead, a json to .h parser would create a .h file at compile time which would directly be linked to the firmware, eliminating any form of file system dependency. Or the .json file is bypassed directly and a saved model can be converted to a header file via a script.
GuitarML did this with a manual python-based parser, but it is very unclear to me how the developers got the information on the necessary syntax, as the example is tailored exactly for their application and nothing more. I believe that a modular solution directly from you would greatly benefit applications for embedded systems and could easily outperform tflite micro or X-CUBE-AI, among others.
It would already be helpful to have some docs on the required "even more static" initialization of models by directly assigning weights as arrays to layers of the model. If they exist and I missed them, I'd be happy to be pointed to them by you. I noticed that I can setWeights() of a single layer at runtime, but that is missing a way to add that layer to the model. Would be nice if something like this would be possible:
RTNeural::ModelT<double, 8, 1
    RTNeural::DenseT<double, 8, 8,>,
    RTNeural::TanhActivationT<double, 8>,
    RTNeural::DenseT<double, 8, 1>
> model;

void initModel(const double** w, const double** b){
    model.get(1).setWeights(w[0], b[0]);    // first dense layer
    model.get(3).setWeights(w[1], b[1]);    // second dense layer
    // ...
}

This way, the architecture is still set up statically, while the weights are loaded in as const arrays from somewhere else. The indexing management of the weights would drop back to the user. While this might lead to unintended misuse, a helper script as mentioned above might be a good addition to parse a .json or saved model file into RTNeural-standardized constant shapes.

Hello, thanks for making the issue. These are good ideas, but they are also part of a larger discussion about how RTNeural can/should inter-operate with the libraries that people are using for training neural networks, so I'm going to provide a bit of background. I hope I'm not re-explaining things that you already know, but I just want to be sure that we're on the same page.
When I started working on RTNeural, I was starting with a "sequential" model trained in Tensorflow. That's where the Python script for "exporting" a TensorFlow model as a JSON file originated. While this script still works and is useful, it has several limitations, most notably, it only works with models trained in TensorFlow, and it only works with neural networks that have a "sequential" architecture.
One area of confusion is that there are other ways (aside from the one provided by RTNeural) to convert a trained neural network to a JSON file. For example, the GuitarML project often uses networks that were trained in PyTorch, and use a different approach for exporting the model weights as a JSON file (RTNeural uses a similar approach for testing inter-operability with PyTorch). However, the JSON files exported from PyTorch are not directly compatible with the ones used by RTNeural.
So when loading a trained network into RTNeural, the README demonstrates the "simplest" method, but also most limited method. As you noticed, all of the relevant "layer" implementations in RTNeural contain methods for setting the weights used by that layer. While these methods are "optional" for folks who are loading their models from an RTNeural-compatible JSON file, they are kind of "mandatory" for everyone else. So the most "general" way to load weights into an RTNeural model is to do something like this (which I believe is similar to your example code):
RTNeural::ModelT<float, 2, 1, RTNeural::LSTMLayerT<float, 2, hidden_size>, RTNeural::DenseT<float, hidden_size, 1>> model;

auto& lstm = model.get<0>();
lstm.setWVals(...);
lstm.setUVals(...);
lstm.setBVals(...);

auto& dense = model.get<1>();
dense.setWeights(...);
dense.setBias(...);

I think that's about everything I wanted to mention about the past and present states of RTNeural. Now thinking about the future: what should we do differently, and how can we do better overall?
I think the most obvious thing that needs to improve is the documentation. The weights-loading methods are often poorly-named, and are not always documented in such a way that the user can easily tell, for example, what should be the dimensions of the data being passed into this method?
I think the next obvious thing is making the weights-loading methods more flexible. Right now most of these methods accept either a std::vector<T> or std::vector<std::vector<T>>. Having to use a vector can be inefficient, not to mention that I think std::vector<std::vector<T>> is a very poor way to represent a 2D "matrix" (unfortunately I didn't know any better at the time). Maybe we can take some inspiration from newer C++ features like std::span and std::mdspan here.
Anyway, getting back to the most immediately relevant problem: how can RTNeural support users in getting their trained network weights from their training environment into RTNeural? There's two parts to this: "exporting" the weights from the training environment, and "importing" the weights into RTNeural.
For "exporting" weights, I'm having trouble thinking of any RTNeural-driven solution that can be robust in meeting all users' needs. Even with the relatively simple script that RTNeural currently supports for exporting TensorFlow sequential models, the script sometimes needs updating when TensorFlow changes some of its internals, and there's still a number of "edge cases" that the script doesn't handle. If we were to try making that a "general" solution, by adding support for non-sequential models, PyTorch models, and multiple "output formats" (e.g. JSON, C-style header file, etc), I worry that the effort of maintaining that solution would end up being larger than the effort required to maintain the rest of RTNeural, and would distract from the "actual" goals of this project. That said, if a solution like this were to exist (or already exists) outside of RTNeural, that could be very useful for us!
So with that in mind, I think the best approach would be to work with the "exporting formats" provided by the major training libraries. We've been doing a little bit of work in this direction already, with having some helper functions to load RTNeural layers using the JSON representation exported by PyTorch. That said, I don't think that TensorFlow or PyTorch automatically support exporting header files, and I agree that would be a special case that RTNeural should try to provide support for. Maybe there could be some RTNeural "extension" to generate a header file using the work that RTNeural is already doing to load weights for some layers? Otherwise, it would mostly be up to the user to figure out how to convert the weights exported from their training environment into a header file, if that's something that they want to do (as the GuitarML folks did in the example you linked to).
For "importing" network weights on the RTNeural side, I've been gradually less in favor of an "automatic" solution, which is sort of what we have now with the parseJson() methods. While these methods can be convenient for simple network architectures, I really don't think they're a good solution for more general cases. But the alternative is that people have to mostly figure out for themselves how to get their weights into their RTNeural model, which would be less convenient.
There's kind of a theme here, which I think touches a few other parts of RTNeural as well: to what extent do we want to provide "out-of-the-box" solutions, and to what extent do we want to provide a more "open" and flexible interface that users may have to navigate more on their own? I think the best solution is to try doing both, so that the library is easy to use for beginners, but also very capable for "power users"... unfortunately trying to do both takes effort :).
I think that's everything I wanted to say... sorry to ramble on for so long! Thinking more on it, I like the idea of an RTNeural layer being able to return a string containing it's own weights, which could then be used to construct a header file. I'll think more about this, and maybe try to make a small example of how this could work!

Thank you for the very comprehensive and expansive answer.
As a library/API/SDK developer myself, I understand your search for the impossible triangle of "easiest usability", "most flexibility" and "best performance".
Possible docs
I think it would be very beneficial if a few "manual" examples without a parser were presented, as this shows users 3 things at once:

How weights can be manually set
What types of array dimensions a certain layer takes
How the user themselves (after understanding 1 and 2) can write a custom script to parse data in their own way if needed
This is basically a documentation of the manual process that the JSON parser is doing under the hood anyways.

On "exporting"
I don't think that "exporting" models of any kind is RTNeural's job, as it is an inference engine, not a training environment. Therefore, as you mentioned, it would be best to support standard saved model formats. Here, my knowledge ends and I can't reliably tell how "hard" it is to parse a .pb, .h5, .tflite and so on. Similar to your supported layers, you would decide for a set of formats that can be used with RTNeural, maybe with a focus on formats that are usually associated with low level devices, as that is a unique niche that you can tailor to (e.g. tflite-files). For other formats or non-sequential architectures, you can't be expected to support anything immediately after Google/Meta update TF/PyTorch update their libraries, that's just a consequence of dependent software. If enough users request the support for a new, modern format, then additional development can be put into that area, but trying to achieve that out of the box is trying to see the end of a bottomless pit.
On "importing"
I too am more in favor of a more manual approach. I do understand that some users might want to just "use and forget" RTNeural, in a sense "just make my model go brrr", but that's a greater problem itself. If people use RTNeural, they are interested in speed, performance and real-time and that comes with a platform switch anyways: If that wasn't necessary, users would stick to python environments. Just think about preprocessing or feature extraction to even make use of inferencing. All of that has to be ported to different code/platforms anyways, so you can expect at least some "effort" from the user.
On out-of-box vs. power user
I don't know much about the inner workings of RTNeural, but optimal API design would create an "out-of-the-box" layer at the top and the experienced user could step one layer below and use certain "private" getter and setter functions to more accurately achieve what they are trying to do. Maybe RTNeural has such an architecture already. But all of this is easier said than done. If you had to decide between the two, I would aim for the power user (biased opinion) simply because RTNeural already is pretty specific by nature.
For the time being, could you elaborate a bit further on the provided example? Do the indices count the activations functions as well? Feel free to move all this to a place that deals with discussions, as this it not really an issue as such.

Thanks for the reply!
Documentation
So after looking a little bit closer, it looks like I had already added documentation for many of the layer classes, regarding the dimensions of the weight matrices that should be passed to each of the relevant layer functions (here's an example). That said, I think I should still go through the library and make sure that every relevant function has the correct dimensions listed, as well as adding more useful descriptions for what each dimension should represent where appropriate.
I also started writing up a little example, which I think will answer some of your questions. Please let me know if there are additional things in the example that need clarification. At the moment, the example only lives in README form, but I can make it a runnable example as well with a little bit of additional effort.

Thanks for sharing your other insights as well! I'm starting to plan out some larger-scale updates for RTNeural, hopefully for later this year, so I'll keep those ideas in mind, especially re: finding the right balance for end users of all types.
I'd say that discussing the example is relevant to this issue, but if you would like to go into more off-topic conversations, feel free to join us at the Discord linked in the README!

For anybody else reading this, this is the
Solution
Follow the new official example in the README or use my quick and dirty solution:
RTNeural::ModelT<double, 4, 1
    RTNeural::DenseT<double, 4, 4>,
    RTNeural::TanhActivationT<double,4>,
    RTNeural::DenseT<double, 4, 1>
> modelT;

auto& denseIn = modelT.get<0>();
auto& denseOut = modelT.get<2>();

denseIn.setWeights({{1.0, 2.0, 3.0, 4.0}, {5.0, 6.0, 7.0, 8.0}, {9.0, 10.0, 11.0, 12.0}, {13.0, 14.0, 15.0, 16.0}});
double biasIn[] = {1.0, 2.0, 3.0, 4.0};
denseIn.setBias(biasIn);

denseOut.setWeights({0.1}, {0.2}, {0.3}, {0.4}});
double biasOut[] = {0.1};
denseOut.setBias(biasOut);

Thanks for the update @jatinchowdhury18 !


text:
🛑 Valderrebollo, 30 is down

In aef1903, Valderrebollo, 30 (http://159.65.204.200:7050/) was down:

HTTP code: 502
Response time: 18751 ms

Resolved: Valderrebollo, 30 is back up in f7848c2.

repo: javisu/monitor


text:
🛑 Ofelia Nieto, 57 is down

In c7de026, Ofelia Nieto, 57 (http://159.65.204.200:7022/) was down:

HTTP code: 502
Response time: 18821 ms

Resolved: Ofelia Nieto, 57 is back up in ad1c616.


text:
🛑 Luis de Salazar, 16 is down

In dd178e1, Luis de Salazar, 16 (http://159.65.204.200:7053/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Luis de Salazar, 16 is back up in 05f4666.


text:
🛑 Rodriguez Marin, 88 is down

In b315615, Rodriguez Marin, 88 (http://159.65.204.200:7057/) was down:

HTTP code: 502
Response time: 18590 ms

Resolved: Rodriguez Marin, 88 is back up in ff29fe8.


text:
Any support for editing moving around the box or editing the box?

Hi,
I find unused action called updateBox. Is there any plan for new features like moving around the boxes or changing its dimensions?
Thanks,

Yes that’s a future feature. Would you like to do a Pull Request for it? I’d be happy to merge it in :)
On 27 Feb 2018, at 2:53 am, Chung Eun Kim <notifications@github.commailto:notifications@github.com> wrote:
Hi,
I find unused action called updateBox. Is there any plan for new features like moving around the boxes or changing its dimensions?
Thanks,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jaxony/turktool/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMLrCCkXetOICi9padI94S73D5b6sqm0ks5tYv2dgaJpZM4STvWk.

authors: chungeunkim jaxony

repo: jaxony/turktool


text:
Error 404 while changing license tipe to an user.

Hello
I'm trying to change the assigned licenses to more than 3000 users in bulk.
I need to switch their license from Google Vault Former Employee "vfe" to G Suite Business "gsuitebusiness".
The command I used was:
gam user <username> update license <gsuitebusiness> from <vfe>
Gam's reply is:

ERROR: 404: User does not have a license for specified sku and product - notFound

But the users have the license I'm trying to change.
I also tried the long SKU ID name: Google-Apps-Unlimited and Google-Vault-Former-Employee with the same error message.
How can I fix this?
Is a gam's issue or a Google's one?
I'm using GAM 4.12
Many thanks
Tommaso

"update license" is only used for same license types (e.g. Vault and VFE).
Since these users get the Vault product from their G Suite license, they
don't have a Vault license so the VFE command needs to be an add license,
not update:
gam user  add license vfe
that command should give the user a VFE license which in turns removed the
G Suite Business license and any other product licenses the user has.
On Thu, Mar 16, 2017 at 10:51 AM, Katun79 notifications@github.com wrote:

Hello
I'm trying to change the assigned licenses to more than 3000 users in bulk.
I need to switch their license from Google Vault Former Employee "vfe" to
G Suite Business "gsuitebusiness".
The command I used was:
gam user  update license  from
Gam's reply is:
ERROR: 404: User does not have a license for specified sku and product -
notFound
But the users have the license I'm trying to change.
I also tried the long SKU ID name: Google-Apps-Unlimited and
Google-Vault-Former-Employee with the same error message.
How can I fix this?
Is a gam's issue or a Google's one?
Many thanks
Tommaso
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/447, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEaMsAIotIZjkwhi2XMdTLIOKth-dLMQks5rmUxygaJpZM4Mfacl
.

Hello jay0lee!
It's not being possible to change to Business licence from users using Google Vault Former Employee.
I have to change 8000 accounts (old painel) and i tried the following commands already:
**gam user user@domain.com update license Google-Apps-Unlimited from Google-Vault-Former-Employee
gam user user@domain.com update license Google-Apps-Unlimited from vfe
gam user user@domain.com add Google-Apps-Unlimited**
All the commands output the same error:
ERROR: 404: User does not have a license for specified sku and product - notFound
I already checked that they have all the licences to change.
Could you  help me?
Thanks in advance :)


text:
ephemeral wallets section

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

There are some weird conflicts since this PR was opened against master instead of the draft update branch. Closing as I've included the reference to ephemeral implementations in that branch.

authors: jaydenwindle jhweintraub

repo: jaydenwindle/EIPs


text:
first pass at updating to support the latest versions of dependencies

Update to support the latest versions of Django (4.2), django-channels (4.0), and graphene-django (3.0), graphql-core (3.x)
Changes:

Update all dependencies to latest versions
Added a few new dependencies that weren't in poetry file
Updated GraphqlSubscriptionConsumer to an AsyncWebsocketConsumer.

How tested

[ ] unittests

TODO:

still some failing unittests due to an incompatibility with graphql-core

Hello @kreneskyp , planning to keep working on this?

@firaskafri I may in the future but have been focused on other things.
I also found starlette-graphene3 which seems more up to date and also provides websocket support.  If starlette-graphene3 works out of the box then I'll probably end up using that instead of completing this work.

@firaskafri
After doing some more digging I am abandoning this PR.  I'm moving my efforts to using https://github.com/datadvance/DjangoChannelsGraphqlWs which has active effort ongoing to support the latest versions of Graphene, Django, Channels, and the graphql-ws protocol.  I was able to successfully get a graphql over websocket connection to graphene using a release candidate.

authors: firaskafri kreneskyp

repo: jaydenwindle/graphene-subscriptions


text:
npm and node stuff

With this patch, I can use tnetstrings in a node project.

Cool.  I'm going to refactor it a smidge so it uses the Makefile, but that's a good idea.

authors: athoune jayferd

repo: jayferd/tnetstrings-js


text:
is it webscale?

It is unclear if git-blame-someone-else is web-scale or not. Please clarify. Thanks

+1

If it is, we can ask GitHub to wrap it behind a REST API.

+1

authors: analogrithems dashed gabelimon wjimenez5271

repo: jayphelps/git-blame-someone-else


text:
AttributeError: 'str' object has no attribute 'decode'

Hello.
I'm using djangorestframework-simplejwt==5.2.2 with grafana-django-saml2-auth==3.10.0
My error is :
Traceback (most recent call last):
  File "/mnt/c/Projects/PCX/api-arena/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/mnt/c/Projects/PCX/api-arena/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/c/Projects/PCX/api-arena/venv/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/c/Projects/PCX/api-arena/venv/lib/python3.10/site-packages/django_saml2_auth/views.py", line 199, in acs
    jwt_token = jwt_encode(target_user)
  File "/mnt/c/Projects/PCX/api-arena/venv/lib/python3.10/site-packages/rest_auth/utils.py", line 29, in jwt_encode
    return jwt_encode_handler(payload)
  File "/mnt/c/Projects/PCX/api-arena/venv/lib/python3.10/site-packages/rest_framework_jwt/utils.py", line 96, in jwt_encode_handler
    ).decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'

I see on internet everyone is saying we need to downgrade PyJWT to 1.7.1.
But it's not possible for me because :
"grafana-django-saml2-auth 3.10.0 requires PyJWT==2.7.0, but you have pyjwt 1.7.1 which is incompatible."
Any idea about this error please ?

Ok maybe env problem. I remove all my env and re-install, now i don't have this issue anymore

repo: jazzband/djangorestframework-simplejwt


text:
Add a simple evaluator

The following snippets of mylang code should all return 42.
return.my
return 42;

let_and_call.my
let f = func (a) { return a; };
return f(42);

Closed by #58

repo: jbcoe/mylang


text:
SplitWithLines (python split_with_lines ) transfer source attributes?

Is it possible to transfer attributes from either (or, preferably, both) of the input files for split_with_lines?
My output has none of the attributes. At the least, I would like to be able to transfer the respective ID fields from the input files.

Hi @fluviotect, we will look into adding this functionality for the next stable release of WhiteboxTools.

Yes, I think that this is something that I could probably add to the tool for the next release.

authors: Afrancioni fluviotect jblindsay

repo: jblindsay/whitebox-tools


text:
When testing with real smoke I see something strange.

Hi Jan,
Thank you for this beautiful elro integration and all the time you have invested in it.
I have a k1 and 6 smoke detectors.
Installed the elro integration via hacs without problems v0.1.5-1
When testing with real smoke I see something strange.
The status goes from NORMAL to n/a and only when the smoke alarm is almost gone it go to the FIRE ALARM status

Well that is interresting indeed. I did not do a live smoke test to see its output. The n/a state is some state that is not recognized yet. This is something to be solved in the backend lib-elro-connects. May be you can file the error there. There is some test code (example) so you could find out what kind of output there is in case of a real alarm.

Have been testing today, and caused a fire alarm. But was not able to catch the unknown code yet.

I will update the library soon so it will return the hexcode instead of n/a.

Hello,
I did a real smoke test with version 0.1.7
First get a status 22 before the status FIRE ALARM comes

n

Thnx a lot, tat helps! I will add this state so it will be identified as FIRE_ALARM. I do not know what the difference is between the 2 states. An unknown state should not been seen anymore.

https://github.com/jbouwh/ha-elro-connects/pull/9

v0.1.8 shoud fix it

Case may be closed.
Everything works.
Thank you

Case may be closed. Everything works. Thank you

Thnx @AlbertDijksma for your help!

authors: AlbertDijksma jbouwh

repo: jbouwh/ha-elro-connects


text:
Example

Added example with GridSearchCV.

Thanks @GuillaumeCorda !

authors: GuillaumeCorda jbschiratti

repo: jbschiratti/mne-features


text:
torch.nn.modules.module.ModuleAttributeError: 'GVBBoxHead' object has no attribute 'ratio_on'

I have this error when running flops counter on gliding vertex.
python tools/get_flops.py configs/obb/gliding_vertex/gliding_vertex_r50_fpn_1x_dota10.py --shape 512

Traceback (most recent call last):  File "tools/get_flops.py", line 62, in <module>    main()  File "tools/get_flops.py", line 52, in main
    flops, params = get_model_complexity_info(model, input_shape)
  File "/opt/conda/envs/obbdetection0/lib/python3.7/site-packages/mmcv/cnn/utils/flops_counter.py", line 104, in get_model_complexity_info
    _ = flops_model(batch)
  File "/opt/conda/envs/obbdetection0/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)  File "/workspace/OBBDetection/mmdet/models/detectors/obb/obb_two_stage.py", line 112, in forward_dummy
    roi_outs = self.roi_head.forward_dummy(x, proposals)
  File "/workspace/OBBDetection/mmdet/models/roi_heads/obb/gv_ratio_roi_head.py", line 22, in forward_dummy
    if self.bbox_head.ratio_on:
  File "/opt/conda/envs/obbdetection0/lib/python3.7/site-packages/torch/nn/modules/module.py", line 779, in __getattr__
    type(self).__name__, name))torch.nn.modules.module.ModuleAttributeError: 'GVBBoxHead' object has no attribute 'ratio_on'

Oh, this is a bug in the gliding vertex model, you can directly delete the if self.bbox_head.ratio_on.

I will fix it in the future commit.


text:
pact4s problem with overloaded method integerType

When trying to upgrade to pact4s 0.10.0 I'm encounting this compile problem
[error] /Users/domdorn/work/project-service/pactTests/src/test/scala/com/acme/project/pact/TimeseriesClientPactSpec.scala:43:6: ambiguous reference to overloaded definition,
[error] both method integerType in class PactDslJsonBody of type (x$1: String, x$2: Integer*): au.com.dius.pact.consumer.dsl.PactDslJsonBody
[error] and  method integerType in class PactDslJsonBody of type (x$1: String, x$2: Long*): au.com.dius.pact.consumer.dsl.PactDslJsonBody
[error] match argument types (String,Int) and expected result type au.com.dius.pact.consumer.dsl.DslPart
[error]     .integerType("timeseriesId", 2)
[error]      ^

  val request: DslPart = new PactDslJsonBody()
    .uuid("correlationId", correlationId.id)
    .stringType("userId", userId.userId)
    .`object`("item")
// Project
    .`object`("project")
    .integerType("projectId", 1) // <- these methods are now ambiguous
    .integerType("scenarioId", 1) // <- these methods are now ambiguous
    .integerType("scenarioSnapshottedAt", 1665784800000L) // <- these methods are now ambiguous
    .stringType("name", "testProject")

Its not clear to me how to reference the right signature.

nevermind, I made this helper and it seems to work..
import au.com.dius.pact.consumer.dsl.PactDslJsonBody

object DslPartHelper {

  implicit class PactDslJsonBodyHelper(e: PactDslJsonBody) {
    def intType(name: String, value: Int): PactDslJsonBody = e.integerType(name, value: Integer)

    def longType(name: String, value: Long): PactDslJsonBody = e.integerType(name, value: java.lang.Long)
  }
}

added these helpers (will be in 0.15.0)

authors: domdorn jbwheatley


text:
Improve Local Setup

We noticed during the hackathon that new developers were having a hard time setting up from scratch. This was largely due to having to manually create a database and tables.
After this task is completed, we should be able to run bash build.sh completely from scratch and have everything ready.

@jbyman  can pair with @karishay  to set up local env and make some documentation about how to do it. @vasujain  to help too!

having an automated magical way to set up - @chiragsamtani  (this might be slightly different than actually onboarding the current people that need to be onboarded.
NOTE - Postgres database probably shouldn't be it's own container.

authors: jbyman karishay

repo: jbyman/covid-hackathon


text:
Pull request to homework4

@hadarp
Done

checked

authors: hadarp miriyak

repo: jce-il/tdd-nodejs-find-a-person


text:
Gravity component is only publicly available via deprecated import

Hi there,
Please close if this is incorrect.
The Gravity component has traditionally been imported via use heron::prelude::*, but with the recent version it looks like the prelude's contents have been deprecated.  So, the only way to import Gravity (and other resources) now seems to be by using something marked as deprecated.
Yet, these resources are not also deprecated themselves.  So, what's the recommended way to go, now?
I checked the tests and the examples but it looks like they weren't updated to demonstrate any other way.

Sorry, nevermind. For some reason, IntelliSense failed to detect the pub use heron_core::*; in the lib.rs file and then re-export those.  It's probably due to the changes with Rust 1.60.

repo: jcornaz/heron


text:
Update changelog

Improve add header and timestamps

Thanks!

authors: jcupitt sandstrom

repo: jcupitt/ruby-vips


text:
Adjust the content of the app to the font and screen size from the phone

Whenever you choose the option "Large" in the font-size settings from the phone, all of the content from the app overlaps.
This can be fixed using "LinearLayouts" in the layout files.
I've already fixed most of the layout files, but I have not commit anything yet.

What layout file is this? There are so many layout files that were all named profile.
For the settings screen: Of course it does not work if the RadioButton sizes are defined with discrete numbers. They should be ratios of screen width assigned with the constraint app:layout_constraintWidth_percent.

The file is called "activity_profile_xml".
Is not only the Radio buttons. TextViews and Buttons (in general) are also affected.

Ok I see. The TextViews have wrap_content as width. And they are inside other linear layouts. there is a lot of mess going on in these Layout files.

Solved

authors: PKlumpp TAriasVergara


text:
Refactor Shop Display

Just A General Improvement to help this one match Wisps Colour Scheme. I think it's pretty cute and I don't know about you guys but I like it.
Preview: http://prntscr.com/bm4r18
Asked a small handful of users and they seemed to like it.

I did a shop design just now, so this can be closed.

@MasterFloat  - this is the credits shop, which is apparently different from the regular shop.
If anything, we can probably make the CSS use the same classes we use for the regular CSS.

@panpawn - Sundar ( an owner of marketplace ) asked me to make the CSS of creditshop the same as shop.

authors: MasterFloat SerperiorBae panpawn


text:
Maintenance

Adding more tests
Improving pipeline configuration
Fixing typos in the README

📊 Package size report   1%↑

File
Before (Size / Gzip)
After (Size / Gzip)

dist/index.js
4.3 kB / 1.4 kB
3%↑4.4 kB / 4%↑1.4 kB

dist/index.mjs
4.3 kB / 1.3 kB
3%↑4.4 kB / 4%↑1.4 kB

README.md
10.0 kB / 2.9 kB
0.9%↑10.1 kB / 2%↑2.9 kB

Total (Includes all files)
23.7 kB / 7.9 kB
1%↑24.1 kB / 2%↑8.1 kB

Tarball size
6.2 kB
2%↑6.3 kB

Unchanged files

File
Size (Size / Gzip)

dist/index.d.mts
770 B / 358 B

dist/index.d.ts
770 B / 358 B

LICENSE.md
1.1 kB / 667 B

package.json
2.6 kB / 963 B

🤖 This report was automatically generated by pkg-size-action

:rocket: PR was released in 0.0.6 :rocket:


text:
Trying out breeze-validation custom attribute

I put together a skeleton project with an MVC/EF backend.
The database has just one table with two fields, FirstName and LastName.  The last name has the Required attribute.
I then had the EntityManager fetch the metadata which included a nullable:false for LastName which then should be validated in the UI.
It all wired up OK and I can save the contact to the database.
However, when I add "breeze-validation.bind='currentContact'", it throws the following error:
TypeError: Cannot read property 'subscribe' of undefined
at BreezeValidation.subscribe (http://localhost:56321/jspm_packages/github/jdanyow/aurelia-breeze@0.11.0/breeze-validation.js:104:70)

Stepping through the code in the debugger, it shows that the  subscribe function is expecting and entityManager, but it is getting the entity instead.
This is the line of code that throws an error:
this.errorsSubscription = entityManager.validationErrorsChanged.subscribe
This is the viewmodel:

import breeze from "breeze";

export class Welcome {
  currentContact;
  manager;

  constructor() {
      this.manager = new breeze.EntityManager('breeze/data');
      this.manager.fetchMetadata().then(() => {

          this.currentContact = this.manager.createEntity("Contact");
          this.currentContact.FirstName = "Greg";
          this.currentContact.LastName = "Gum";

      });
  }

  submit() {
      this.manager.saveChanges();
  }

}

Thanks for reporting this, I've reproduced locally and will get a fix in for this issue.
In the meantime, the following changes to the view-model should resolve the problem:
import breeze from "breeze";

export class Welcome {
  currentContact;
  manager;

  activate() {
      this.manager = new breeze.EntityManager('breeze/data');
      return this.manager.fetchMetadata().then(() => {

          this.currentContact = this.manager.createEntity("Contact");
          this.currentContact.FirstName = "Greg";
          this.currentContact.LastName = "Gum";
      });
  }

  submit() {
      this.manager.saveChanges();
  }
}

keep the feedback/issue-reports coming!

New release published that should address this issue- v0.11.1

I updated to v0.11.2 and tested and it works great!

authors: gregoryagu jdanyow

repo: jdanyow/aurelia-breeze


text:
Warn if number of physical samples doesn't match number of samples with metadata

Per Gail: Sometimes someone sends in metadata for a certain number of samples but the lab doesn't get all of them--e.g., metadata says there are 20 samples, but the lab only gets 17.  The lab would like to be warned of this before they start plating those samples because they would like to wait until they get all the samples and run them all at once.
Note, however, that sometimes it is expected to get metadata for more samples than are plated, as in the case where some of the samples are for metabolomics, so either this would need to be a rather smart warning or it would need to be easily overridable.

Right now it's not clear who would know beforehand that the lab is going to get only 17 out of 20 samples. Suggest fleshing out problem and solution after Full Launch. Haven't heard from the wet-lab recently that this is an issue for them.

authors: AmandaBirmingham charles-cowart

repo: jdereus/labman


text:
ping times differ greatly when served online as oposed to run locally

http://brawl-check.surge.sh/ serves a simple script that uses the ping library. Contrary to my expectations though, when i open this index.html file on my machine, times are in single diggits, when i open the served version, 3 diggits.

The URL supplied needs to be fully qualified, e.g "http://google.com".
Otherwise, what gets requested is a relative path.
You can spot this by looking at the network tab in Developer Tools.
So for @kholbekj, when run locally he was requesting from localhost, and when accessed online he was requesting from his own server. Therefore the "discrepancy".

authors: YoniFei kholbekj

repo: jdfreder/pingjs


text:
🛑 Home Assistant - DS918P is down

In dcf288f, Home Assistant - DS918P (https://home.jdh1.duckdns.org/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Home Assistant - DS918P is back up in 4a6cbb8 after 569 days, 3 hours, 44 minutes.


text:
设置为GridLayoutManager样式，并且设置分割线，同时添加头部，头部会出现分割线

mRecyclerView.addItemDecoration(divider2);
mRecyclerView.setLayoutManager(new GridLayoutManager(this,3));
1、添加一个头部的时候
1）刚进入页面的时候是正常的
2）上拉的时候添加的头部与列表之间会出现和列表一样的分割线（下拉没有问题）
2、添加两个头部的时候
1）刚进入页面的时候是正常的
2）上拉的时候添加的头部与列表之间会出现和列表一样的分割线，两个头部之间也会出现分割线（下拉没有问题）
您要是有空的时候可以测试一下，给我个回复，谢谢

代码如下：
int spacing = getResources().getDimensionPixelSize(R.dimen.dp_4);
mRecyclerView.addItemDecoration(SpacesItemDecoration.newInstance(spacing, spacing, manager.getSpanCount(), Color.GRAY));
或者
//根据需要选择使用GridItemDecoration还是SpacesItemDecoration
GridItemDecoration divider = new GridItemDecoration.Builder(this)
.setHorizontal(R.dimen.default_divider_padding)
.setVertical(R.dimen.default_divider_padding)
.setColorResource(R.color.split)
.build();
//mRecyclerView.addItemDecoration(divider);
以上代码详见demo中的EndlessGridLayoutActivity类。
另外需要注意：
//setLayoutManager must before setAdapter
GridLayoutManager manager = new GridLayoutManager(this, 2);
mRecyclerView.setLayoutManager(manager);

GridItemDecoration divider = new GridItemDecoration.Builder(this)
.setHorizontal(R.dimen.default_divider_padding)
.setVertical(R.dimen.default_divider_padding)
.setColorResource(R.color.split)
.build();
//mRecyclerView.addItemDecoration(divider);
这种方式是有分割线的
这种是是没有问题的
int spacing = getResources().getDimensionPixelSize(R.dimen.dp_4);
mRecyclerView.addItemDecoration(SpacesItemDecoration.newInstance(spacing, spacing, manager.getSpanCount(), Color.GRAY));

我也是刚发现的

GridItemDecoration SpacesItemDecoration这两个都可以的！如有问题及时反馈！

authors: gitzgq jdsjlzx

repo: jdsjlzx/LRecyclerView


text:
大神,为什么我addheardView总是失败,一片空白

adapter = new HomeNewsAdapter(mContext, datasEvents);
LRecyclerViewAdapter  mLRcVAdapter=new LRecyclerViewAdapter(adapter);
homeViewPagerHeard = new HomeViewPagerHeard(mContext, null,R.layout.view_home_viewpager_heard);
mLRcVAdapter.addHeaderView(homeViewPagerHeard);
mLRcVAdapter.addHeaderView(homeButton);
lv_news.setAdapter(mLRcVAdapter);

参考：https://github.com/jdsjlzx/LRecyclerView#添加headerviewfooterview
你可以详见demo中的例子！

authors: gdjsdk jdsjlzx


text:
Meetup talk?

Hi @jedisct1! It's been a while. Interested in talking about edgedns at a rust Bay Area meetup?

Hi Erick!
Yep, it's been a while! I miss these early Rust meetups at the SF Mozilla office.
I'd love to talk about EdgeDNS and Flowgger. Unfortunately, I don't live in the Bay Area any more.
So unless I have an opportunity to go to SF in a foreseeable future, this is a talk I can only give at a Rust Paris meetup.

If Ben happy to host you remotely, or I can hook you up with the rust Paris folks: @pnkfelix :)

@jedisct1 are you already on the Rust Paris meetup group?
We have a meetup this coming Monday:
https://www.meetup.com/Rust-Paris/events/234528214/

Hi Felix,
I'm down. I'll do a talk about EdgeDNS and how we use Rust at OVH.
See you there!

Done!

authors: erickt jedisct1 pnkfelix

license: isc


text:
Fix behavior in non-interactive environments

gitlike-cli has an issue where it appends an stdin socket to the list of params,
if stdin is not a tty. glob.replace crashes if given a socket object.
https://github.com/jedmao/gitlike-cli/issues/3
Such a situation might happen in any non-interactive environment, for example, CI.
The fix ensures that only strings are passed further.

That's a quick response, thank you!

Published in v1.1.3. Thanks!

authors: denis-sokolov jedmao

repo: jedmao/eclint


text:
printJS的type === 'html'无法分页

版本号：3.5.3
问题描述：printJS当type为html时，调用的是vue-print-nb-jeecg插件，这个插件不支持page-break-after: always分页.改成调用print-js就没有这个问题
截图&代码：

暂时收录

repo: jeecgboot/JeecgBoot


text:
Can I make a bounding box a circle?

Hello Jeeliz Team,
Thank you for the great job.
I want to make the shape of the bounding box of the canvas a circle. How to do so?
Regards

Hi,
I can add this feature for a customized version of the library.
You can contact me directly at xavier__at__jeeliz.com and I will send you a proposal for this development service :) .
Best regards,
Xavier

Thanks for your quick reply.
I want a customized library.
I sent you an email.Verification please.
Below is my email address
developer.takuyamotoshima@gmail.com
xavier@jeeliz.com

authors: takuya-motoshima xavierjs

repo: jeeliz/jeelizWeboji


text:
Issues with loging in with admin:admin

Never mind.
I had to create a new user via runuser -u _gvm -- gvmd --create-user=name --new-password=pass.
Now it's (almost) perfect. Can't make it run on https. But hopefully I can figure that out.
Best,
Val

Hi,
sorry to bother you this way, but your docker version of OpenVAS/GVM seems to be promising - at least - I am almost there...
Just that I cannot login with your default credentials (admin:admin).
The logs seems to suggest that GVM is running OK, it even downloads feeds etc. But, whatever I do, e.g. creating my own user (via gvmd --create-user), I still cannot log in.
I'm not sure if the reason could be the GVM at the login page page complains the session is not encrypted (https), I guess not. I tried to publish it at port 443, but for that, I think I would GVM to have a certificate already created. It does not make any difference trying 443:9392.
Any suggestions?
Thank you!
VL

Not sure why the user is not passing through but if you run per the instructions this command should work:
docker exec -it openvas runuser -u _gvm -- gvmd --create-user=USER --password=PASS

authors: dsc-vlds jeffleder

repo: jeffleder/gvm-docker