Makefile:1015: recipe for target 'transport/THeader.lo' failed make[4]: *** [transport/THeader.lo] Error 1

When executing in ubuntu 16.04 :
curl -sk https://raw.githubusercontent.com/facebook/fblualib/master/install_all.sh | bash
l got the following at the end. What's wrong.
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I../../.. -pthread -I/usr/include -I/usr/local/include -Wall -std=gnu++1y -MT transport/THeader.lo -MD -MP -MF transport/.deps/THeader.Tpo -c transport/THeader.cpp  -fPIC -DPIC -o transport/.libs/THeader.o
transport/THeader.cpp:38:18: fatal error: zstd.h: No such file or directory
compilation terminated.
Makefile:1015: recipe for target 'transport/THeader.lo' failed
make[4]: *** [transport/THeader.lo] Error 1
make[4]: Leaving directory '/tmp/fblualib-build.cploE4/fbthrift/thrift/lib/cpp'
Makefile:1287: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/fblualib-build.cploE4/fbthrift/thrift/lib/cpp'
Makefile:416: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/fblualib-build.cploE4/fbthrift/thrift/lib'
Makefile:498: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/fblualib-build.cploE4/fbthrift/thrift'
Makefile:430: recipe for target 'all' failed
make: *** [all] Error 2

Try to install zstd-1.0.0  http://progur.com/2016/09/how-to-install-and-use-zstd-facebook.html

@deckyal  , l installed as you suggested zstd successfully , then tried again
`curl -sk https://raw.githubusercontent.com/facebook/fblualib/master/install_all.sh | bash`
-- Build files have been written to: /tmp/fblualib-build.w745lD/thpp/thpp/build
[  5%] Generating thpp/if/gen-cpp2/Tensor_data.h, thpp/if/gen-cpp2/Tensor_types.h, thpp/if/gen-cpp2/Tensor_types.tcc, thpp/if/gen-cpp2/Tensor_constants.h, thpp/if/gen-cpp2/Tensor_data.cpp, thpp/if/gen-cpp2/Tensor_types.cpp, thpp/if/gen-cpp2/Tensor_constants.cpp
Scanning dependencies of target thpp
[ 10%] Building CXX object CMakeFiles/thpp.dir/Storage.cpp.o
[ 15%] Building CXX object CMakeFiles/thpp.dir/StorageSerialization.cpp.o
[ 20%] Building CXX object CMakeFiles/thpp.dir/detail/StorageDefs.cpp.o
[ 25%] Building CXX object CMakeFiles/thpp.dir/TensorSerialization.cpp.o
[ 30%] Building CXX object CMakeFiles/thpp.dir/detail/TensorDefs.cpp.o
[ 35%] Building CXX object CMakeFiles/thpp.dir/thpp/if/gen-cpp2/Tensor_data.cpp.o
[ 40%] Building CXX object CMakeFiles/thpp.dir/thpp/if/gen-cpp2/Tensor_types.cpp.o
In file included from /usr/local/include/folly/io/async/Request.h:27:0,
                 from /usr/local/include/folly/io/async/EventBase.h:46,
                 from /usr/local/include/folly/io/async/AsyncSocketBase.h:19,
                 from /usr/local/include/folly/io/async/AsyncTransport.h:22,
                 from /usr/local/include/folly/io/async/AsyncSocket.h:26,
                 from /usr/local/include/thrift/lib/cpp/async/TAsyncSocket.h:19,
                 from /usr/local/include/thrift/lib/cpp2/server/Cpp2ConnContext.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:14,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/folly/Synchronized.h:157:37: error: ‘withWLock’ function uses ‘auto’ type specifier without trailing return type
   auto withWLock(Function&& function) {
                                     ^
/usr/local/include/folly/Synchronized.h:157:37: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:163:39: error: ‘withWLock’ function uses ‘auto’ type specifier without trailing return type
   auto withWLock(Function&& function) const {
                                       ^
/usr/local/include/folly/Synchronized.h:163:39: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:179:40: error: ‘withWLockPtr’ function uses ‘auto’ type specifier without trailing return type
   auto withWLockPtr(Function&& function) {
                                        ^
/usr/local/include/folly/Synchronized.h:179:40: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:183:42: error: ‘withWLockPtr’ function uses ‘auto’ type specifier without trailing return type
   auto withWLockPtr(Function&& function) const {
                                          ^
/usr/local/include/folly/Synchronized.h:183:42: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:194:39: error: ‘withRLock’ function uses ‘auto’ type specifier without trailing return type
   auto withRLock(Function&& function) const {
                                       ^
/usr/local/include/folly/Synchronized.h:194:39: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:201:42: error: ‘withRLockPtr’ function uses ‘auto’ type specifier without trailing return type
   auto withRLockPtr(Function&& function) const {
                                          ^
/usr/local/include/folly/Synchronized.h:201:42: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:275:39: error: ‘withULock’ function uses ‘auto’ type specifier without trailing return type
   auto withULock(Function&& function) const {
                                       ^
/usr/local/include/folly/Synchronized.h:275:39: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:293:40: error: ‘withULockPtr’ function uses ‘auto’ type specifier without trailing return type
   auto withULockPtr(Function&& function) {
                                        ^
/usr/local/include/folly/Synchronized.h:293:40: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:297:42: error: ‘withULockPtr’ function uses ‘auto’ type specifier without trailing return type
   auto withULockPtr(Function&& function) const {
                                          ^
/usr/local/include/folly/Synchronized.h:297:42: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:370:36: error: ‘withLock’ function uses ‘auto’ type specifier without trailing return type
   auto withLock(Function&& function) {
                                    ^
/usr/local/include/folly/Synchronized.h:370:36: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:376:38: error: ‘withLock’ function uses ‘auto’ type specifier without trailing return type
   auto withLock(Function&& function) const {
                                      ^
/usr/local/include/folly/Synchronized.h:376:38: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:392:39: error: ‘withLockPtr’ function uses ‘auto’ type specifier without trailing return type
   auto withLockPtr(Function&& function) {
                                       ^
/usr/local/include/folly/Synchronized.h:392:39: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/Synchronized.h:396:41: error: ‘withLockPtr’ function uses ‘auto’ type specifier without trailing return type
   auto withLockPtr(Function&& function) const {
                                         ^
/usr/local/include/folly/Synchronized.h:396:41: note: deduced return type only available with -std=c++14 or -std=gnu++14
In file included from /usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.h:436:0,
                 from /usr/local/include/thrift/lib/cpp2/server/Cpp2ConnContext.h:23,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:14,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc: In member function ‘void apache::thrift::concurrency::ThreadManager::ImplT<SemType>::add(size_t, std::shared_ptr<apache::thrift::concurrency::Runnable>, int64_t, int64_t, bool, bool)’:
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc:401:15: error: ‘make_unique’ is not a member of ‘std’
   auto task = std::make_unique<Task>(std::move(value),
               ^
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc:401:15: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.h:436:0,
                 from /usr/local/include/thrift/lib/cpp2/server/Cpp2ConnContext.h:23,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:14,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc:401:36: error: expected primary-expression before ‘>’ token
   auto task = std::make_unique<Task>(std::move(value),
                                    ^
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc: In member function ‘bool apache::thrift::concurrency::ThreadManager::ImplT<SemType>::tryAdd(size_t, std::shared_ptr<apache::thrift::concurrency::Runnable>)’:
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc:436:15: error: ‘make_unique’ is not a member of ‘std’
   auto task = std::make_unique<Task>(std::move(value),
               ^
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc:436:15: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.h:436:0,
                 from /usr/local/include/thrift/lib/cpp2/server/Cpp2ConnContext.h:23,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:14,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp/concurrency/ThreadManager.tcc:436:36: error: expected primary-expression before ‘>’ token
   auto task = std::make_unique<Task>(std::move(value),
                                    ^
In file included from /usr/local/include/thrift/lib/cpp2/async/SaslServer.h:24:0,
                 from /usr/local/include/thrift/lib/cpp2/server/Cpp2ConnContext.h:25,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:14,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/folly/ExceptionWrapper.h: At global scope:
/usr/local/include/folly/ExceptionWrapper.h:68:22: error: ‘fold’ function uses ‘auto’ type specifier without trailing return type
 auto fold(Fn&&, A&& a) {
                      ^
/usr/local/include/folly/ExceptionWrapper.h:68:22: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/ExceptionWrapper.h:74:44: error: ‘fold’ function uses ‘auto’ type specifier without trailing return type
 auto fold(Fn&& fn, A&& a, B&& b, Bs&&... bs) {
                                            ^
/usr/local/include/folly/ExceptionWrapper.h:74:44: note: deduced return type only available with -std=c++14 or -std=gnu++14
In file included from /usr/local/include/folly/ExceptionWrapper.h:671:0,
                 from /usr/local/include/thrift/lib/cpp2/async/SaslServer.h:24,
                 from /usr/local/include/thrift/lib/cpp2/server/Cpp2ConnContext.h:25,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:14,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/folly/ExceptionWrapper-inl.h:413:46: error: ‘operator()’ function uses ‘auto’ type specifier without trailing return type
   auto operator()(ThrowFn&& th, CatchFn& ca) const {
                                              ^
/usr/local/include/folly/ExceptionWrapper-inl.h:413:46: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/ExceptionWrapper-inl.h:433:46: error: ‘operator()’ function uses ‘auto’ type specifier without trailing return type
   auto operator()(ThrowFn&& th, CatchFn& ca) const {
                                              ^
/usr/local/include/folly/ExceptionWrapper-inl.h:433:46: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/ExceptionWrapper-inl.h:459:46: error: ‘operator()’ function uses ‘auto’ type specifier without trailing return type
   auto operator()(ThrowFn&& th, CatchFn& ca) const {
                                              ^
/usr/local/include/folly/ExceptionWrapper-inl.h:459:46: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/ExceptionWrapper-inl.h:478:46: error: ‘operator()’ function uses ‘auto’ type specifier without trailing return type
   auto operator()(ThrowFn&& th, CatchFn& ca) const {
                                              ^
/usr/local/include/folly/ExceptionWrapper-inl.h:478:46: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/local/include/folly/ExceptionWrapper-inl.h: In member function ‘auto folly::exception_wrapper::HandleStdExceptReduce<IsConst>::operator()(ThrowFn&&, CatchFn&) const’:
/usr/local/include/folly/ExceptionWrapper-inl.h:461:52: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
     return [ th = std::forward<ThrowFn>(th), &ca ](auto&& continuation)
                                                    ^
/usr/local/include/folly/ExceptionWrapper-inl.h: In member function ‘auto folly::exception_wrapper::HandleStdExceptReduce<IsConst>::operator()(ThrowFn&&, CatchFn&) const’:
/usr/local/include/folly/ExceptionWrapper-inl.h:479:52: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
     return [ th = std::forward<ThrowFn>(th), &ca ](auto&&) -> StdEx* {
                                                    ^
/usr/local/include/folly/ExceptionWrapper-inl.h: In static member function ‘static void folly::exception_wrapper::handle_(std::true_type, This&, CatchFns& ...)’:
/usr/local/include/folly/ExceptionWrapper-inl.h:515:11: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
       [&](auto&& continuation) {
           ^
/usr/local/include/folly/ExceptionWrapper-inl.h: At global scope:
/usr/local/include/folly/ExceptionWrapper-inl.h:532:25: error: ‘operator()’ function uses ‘auto’ type specifier without trailing return type
   auto operator()(Ex& ex) {
                         ^
/usr/local/include/folly/ExceptionWrapper-inl.h:532:25: note: deduced return type only available with -std=c++14 or -std=gnu++14
In file included from /usr/local/include/thrift/lib/cpp2/async/AsyncProcessor.h:33:0,
                 from /usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/wangle/deprecated/rx/Observer.h: In static member function ‘static std::unique_ptr<wangle::Observer<T> > wangle::Observer<T>::create(N&&, E&&, C&&)’:
/usr/local/include/wangle/deprecated/rx/Observer.h:45:12: error: ‘make_unique’ is not a member of ‘std’
     return std::make_unique<FunctionObserver<T>>(
            ^
/usr/local/include/wangle/deprecated/rx/Observer.h:45:12: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /usr/local/include/thrift/lib/cpp2/async/AsyncProcessor.h:33:0,
                 from /usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/wangle/deprecated/rx/Observer.h:45:47: error: expected primary-expression before ‘>’ token
     return std::make_unique<FunctionObserver<T>>(
                                               ^
/usr/local/include/wangle/deprecated/rx/Observer.h: In static member function ‘static std::unique_ptr<wangle::Observer<T> > wangle::Observer<T>::create(N&&, E&&)’:
/usr/local/include/wangle/deprecated/rx/Observer.h:55:12: error: ‘make_unique’ is not a member of ‘std’
     return std::make_unique<FunctionObserver<T>>(
            ^
/usr/local/include/wangle/deprecated/rx/Observer.h:55:12: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /usr/local/include/thrift/lib/cpp2/async/AsyncProcessor.h:33:0,
                 from /usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/wangle/deprecated/rx/Observer.h:55:47: error: expected primary-expression before ‘>’ token
     return std::make_unique<FunctionObserver<T>>(
                                               ^
/usr/local/include/wangle/deprecated/rx/Observer.h: In static member function ‘static std::unique_ptr<wangle::Observer<T> > wangle::Observer<T>::create(N&&)’:
/usr/local/include/wangle/deprecated/rx/Observer.h:65:12: error: ‘make_unique’ is not a member of ‘std’
     return std::make_unique<FunctionObserver<T>>(
            ^
/usr/local/include/wangle/deprecated/rx/Observer.h:65:12: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /usr/local/include/thrift/lib/cpp2/async/AsyncProcessor.h:33:0,
                 from /usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/wangle/deprecated/rx/Observer.h:65:47: error: expected primary-expression before ‘>’ token
     return std::make_unique<FunctionObserver<T>>(
                                               ^
In file included from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15:0,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h: In function ‘void apache::thrift::detail::ap::process_pmap(Processor*, apache::thrift::GeneratedAsyncProcessor::ProcessMap<void (Processor::*)(std::unique_ptr<apache::thrift::ResponseChannel::Request>, std::unique_ptr<folly::IOBuf>, std::unique_ptr<T>, apache::thrift::Cpp2RequestContext*, folly::EventBase*, apache::thrift::concurrency::ThreadManager*)>&, std::unique_ptr<apache::thrift::ResponseChannel::Request>, std::unique_ptr<folly::IOBuf>, apache::thrift::Cpp2RequestContext*, folly::EventBase*, apache::thrift::concurrency::ThreadManager*)’:
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1003:16: error: ‘make_unique’ is not a member of ‘std’
   auto iprot = std::make_unique<ProtocolReader>();
                ^
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1003:16: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15:0,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1003:47: error: expected primary-expression before ‘>’ token
   auto iprot = std::make_unique<ProtocolReader>();
                                               ^
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1003:49: error: expected primary-expression before ‘)’ token
   auto iprot = std::make_unique<ProtocolReader>();
                                                 ^
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h: In function ‘std::unique_ptr<typename apache::thrift::detail::si::action_traits_impl<decltype (& F:: operator())>::arg_type> apache::thrift::detail::si::returning_uptr(F&&)’:
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1098:14: error: ‘make_unique’ is not a member of ‘std’
   auto ret = std::make_unique<arg<F>>();
              ^
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1098:14: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15:0,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1098:36: error: expected primary-expression before ‘>’ token
   auto ret = std::make_unique<arg<F>>();
                                    ^
/usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:1098:39: error: expected primary-expression before ‘)’ token
   auto ret = std::make_unique<arg<F>>();
                                       ^
In file included from /usr/local/include/thrift/lib/cpp2/protocol/BinaryProtocol.h:289:0,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:17,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/protocol/BinaryProtocol.tcc: In member function ‘uint32_t apache::thrift::BinaryProtocolReader::readBinary(std::unique_ptr<folly::IOBuf>&)’:
/usr/local/include/thrift/lib/cpp2/protocol/BinaryProtocol.tcc:557:11: error: ‘make_unique’ is not a member of ‘std’
     str = std::make_unique<folly::IOBuf>();
           ^
/usr/local/include/thrift/lib/cpp2/protocol/BinaryProtocol.tcc:557:11: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /usr/local/include/thrift/lib/cpp2/protocol/BinaryProtocol.h:289:0,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:17,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/protocol/BinaryProtocol.tcc:557:40: error: expected primary-expression before ‘>’ token
     str = std::make_unique<folly::IOBuf>();
                                        ^
/usr/local/include/thrift/lib/cpp2/protocol/BinaryProtocol.tcc:557:42: error: expected primary-expression before ‘)’ token
     str = std::make_unique<folly::IOBuf>();
                                          ^
In file included from /usr/local/include/thrift/lib/cpp2/protocol/CompactProtocol.h:358:0,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:18,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/protocol/CompactProtocol.tcc: In member function ‘uint32_t apache::thrift::CompactProtocolReader::readBinary(std::unique_ptr<folly::IOBuf>&)’:
/usr/local/include/thrift/lib/cpp2/protocol/CompactProtocol.tcc:755:11: error: ‘make_unique’ is not a member of ‘std’
     str = std::make_unique<folly::IOBuf>();
           ^
/usr/local/include/thrift/lib/cpp2/protocol/CompactProtocol.tcc:755:11: note: suggested alternative:
In file included from /usr/local/include/thrift/lib/cpp/Thrift.h:23:0,
                 from /usr/local/include/thrift/lib/cpp2/Thrift.h:20,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.h:9,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:7:
/usr/local/include/folly/Memory.h:63:1: note:   ‘folly::make_unique’
 make_unique(Args&&...) = delete;
 ^
In file included from /usr/local/include/thrift/lib/cpp2/protocol/CompactProtocol.h:358:0,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:18,
                 from /tmp/fblualib-build.w745lD/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/protocol/CompactProtocol.tcc:755:40: error: expected primary-expression before ‘>’ token
     str = std::make_unique<folly::IOBuf>();
                                        ^
/usr/local/include/thrift/lib/cpp2/protocol/CompactProtocol.tcc:755:42: error: expected primary-expression before ‘)’ token
     str = std::make_unique<folly::IOBuf>();
                                          ^
CMakeFiles/thpp.dir/build.make:228: recipe for target 'CMakeFiles/thpp.dir/thpp/if/gen-cpp2/Tensor_types.cpp.o' failed
make[2]: *** [CMakeFiles/thpp.dir/thpp/if/gen-cpp2/Tensor_types.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/thpp.dir/all' failed
make[1]: *** [CMakeFiles/thpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

What's wrong ?

l try now to install  folly  https://github.com/facebook/folly as suggested by @shamangary   in https://github.com/facebook/fblualib/issues/76 as follows "
" https://github.com/facebook/folly
Please download googletest from https://github.com/google/googletest/archive/release-1.7.0.zip and unzip it in the folly/test subdirectory.
After I did this, I can install fbthrift manually. Plz try these step by hand. It seems the install_all of fblualib cannot cover these nowadays. "
and let you know if it works


Explicitly fail when trying to redefine a function

Fail in script mode.
Overwrite in REPL mode.

This actually doesn't make sense since subfunctions are based on patterns. There is nothing wrong with declaring another subfunction with the same name and patterns, it will just never be matched.


cow 部署在阿里云某些网站不能访问，比如 Instagram

相关 debug log 如下，IP 和 端口处理了：
$ cow -debug
[DEBUG] 2014/04/13 11:24:59 avaiable parent proxies:
[DEBUG] 2014/04/13 11:24:59     shadowsocks:  <IP_ADDRESS>:2345
2014/04/13 11:24:59 COW 0.9.1 listen http <IP_ADDRESS>:5678, PAC url http://<hostip>:5678/pac
[DEBUG] 2014/04/13 11:25:06 cli(<IP_ADDRESS>:63422) connected, total 1 clients
[DEBUG] 2014/04/13 11:25:06 cli(<IP_ADDRESS>:63422) connPool no conn instagram.com:80
[DEBUG] 2014/04/13 11:25:06 cli(<IP_ADDRESS>:63429) connected, total 2 clients
[DEBUG] 2014/04/13 11:25:06 connected to: instagram.com:80 via shadowsocks: <IP_ADDRESS>:2345
[DEBUG] 2014/04/13 11:25:06 cli(<IP_ADDRESS>:63422) connected to instagram.com:80 1 concurrent connections
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63430) connected, total 3 clients
[DEBUG] 2014/04/13 11:25:07 connected to: clients4.google.com:443 via shadowsocks: <IP_ADDRESS>:2345
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63429) connected to clients4.google.com:443 1 concurrent connections
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63429)->srv(clients4.google.com:443) released read buffer
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63430) connPool no conn instagram.com:80
[DEBUG] 2014/04/13 11:25:07 close connection to instagram.com:80 remains 0 concurrent connections
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63422) closed, total 2 clients
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63431) connected, total 3 clients
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63431) connPool no conn instagram.com:80
[DEBUG] 2014/04/13 11:25:07 connected to: instagram.com:80 via shadowsocks: <IP_ADDRESS>:2345
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63430) connected to instagram.com:80 1 concurrent connections
[DEBUG] 2014/04/13 11:25:07 connected to: instagram.com:80 via shadowsocks: <IP_ADDRESS>:2345
[DEBUG] 2014/04/13 11:25:07 cli(<IP_ADDRESS>:63431) connected to instagram.com:80 2 concurrent connections
[DEBUG] 2014/04/13 11:25:08 close connection to instagram.com:80 remains 1 concurrent connections
[DEBUG] 2014/04/13 11:25:08 cli(<IP_ADDRESS>:63430) closed, total 2 clients
[DEBUG] 2014/04/13 11:25:08 close connection to instagram.com:80 remains 0 concurrent connections
[DEBUG] 2014/04/13 11:25:08 cli(<IP_ADDRESS>:63431) closed, total 1 clients
[DEBUG] 2014/04/13 11:25:16 connPool channel muxConn: cleanup done

如果需要我可以吧代理地址私信给你，谢谢。

本地PC到国内cow服务器中间是明文传输的（http代理），某些内容触发了阿里云的敏感字检测系统，所以出现这样的提示。


When installing from a non-macOS host: "Could not install The Observability Stack: rendered manifests contain a resource that already exists" error

Not too sure what's going on here, but this is on a brand new 1.22.x cluster:
Installing The Observability Stack, this can take a few minutes
Error: could not install The Observability Stack: could not install The Observability Stack: rendered manifests contain a resource that already exists. Unable to continue with install: could not get information about the resource: Get "[https://51e3eaee-2eb3-4ba3-acdd-86e5351f675e.k8s.ondigitalocean.com/api/v1/namespaces/default/services/tobs-promscale-connector](https://51e3eaee-2eb3-4ba3-acdd-86e5351f675e.k8s.ondigitalocean.com/api/v1/namespaces/default/services/tobs-promscale-connector)": dial tcp <IP_ADDRESS>:443: i/o timeout

That was under WSL2, the same install process worked fine from a macOS host.

Seems like connectivity issue. Could you try helm installation method to confirm if this is also the case there?


Fix TestQuery

The struct to decode a response from the http server should be []QueryResponse{}, not QueryRequest. That's why it wasn't decoded properly. This PR is to fix it, and also test if the length of QueryResponse.Target isn't 0.
Here's the result of the test:
$ go test .
ok      github.com/doublemarket/grafana-rrd-server      0.023s

The CI failed because of the lack of circle.yml file in the forked repository. I'm merging this anyway and will fix any issues after merging. Thank you!


CDITCK-539 test custom bean with interceptor.

Added @Priority to interceptor + fix testng assertion and merged.


Enable razor support for csharp 6

Currently we can't use c# 6 features in razor. Should work by installing the following package:
https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/

Closing due to priority... we should probably just do this if we have a feature that needs it.


Suggested/Default controller can be local when connected to remote jupyter server from desktop with local kernels. Should it?

Assuem we have local kernels & we're connected to a remote jupyter server:

What's the expected default kernel for IW? This may be different than for a notebook as it chooses the selected Python interpreter.

What's the expected default kernel for Notebook?

Filed this issue so we discuss and re-visit these defaults.

Ideas:

Always make the user pick a kernel. Stop trying to guess, at least for notebooks.
Allow choice of Preferred URI

@rchiodo can you list your ideas here?

Stop picking. User always has to select. Kernel is saved so that next time user doesn't have to pick.
Allow the user to set a 'preferred' kernel. Get rid of jupyter:local setting and just have a 'kernel' picker at the bottom (or just a command)
Combine 'remote' and 'local' kernels into interpreter picker from python

duplicate


Need custom button to close the Modal component from Checkout UI extensions

Is there a way to add a custom button within the Modal component that can close the Modal?
Right now you can only close it by clicking the default X button on the top right that comes with the component or by clicking somewhere outside the Modal.
If there's no way to close the Modal using a custom button can we add it for the Component.
It does get closed if you have an Add a Product functionality built inside the Modal but using other custom Forms it does not.

hey @asadnmalik!
We are working on this and we'll provide a couple of ways to do it soon.

@ncardeli
Any update on this? I am following the Modal docs : https://shopify.dev/docs/api/checkout-ui-extensions/2023-07/components/overlays/modal ,
the code there mentioned ui.overlay.close('my-modal') , but when I run the code, the console say "ui is not defined" :

Hello @asadnmalik  @ncardeli
When we click the Continue to Shipping button in information step on checkout page, can we make it so that it is showed automatically?
Please advise.
Thank you

Hi @ncardeli - is this something that's now possible? I can't see any way to do it - and we'd love to add it.
We have a UI journey where users can end up at a "dead end", and we want to provide them a CTA where we give them the ability to close the modal. We'd love the ability to close it.
In the meantime, we're using React state to decide whether the modal gets mounted or not, but that feels a bit clunky and incorrect.

Ah!
I completely missed the ui.overlay.close('my-modal') bit.
Could I suggest that the docs are updated to more clearly reflect this UI method existing please? For instance, the docs for useApi say nothing about a ui object that I can see: https://shopify.dev/docs/api/checkout-ui-extensions/unstable/apis/useapi()
Thanks for the help :)

You're 100% right, and we'll fix this soon. Thanks for the feedback!

Closing this one since the feature is implemented and available in a stable release: https://shopify.dev/docs/api/checkout-ui-extensions/2024-04/components/overlays/modal
We'll update the API docs soon as suggested.


Leverage jsx transform to remove unnecessary react imports and update eslint config

Per feedback in #6494  we can break up migrating to ESLint v9 into smaller pieces. One thing I noticed is that bsky.social has not yet implemented the JSX transform introduced by the React team.. It is no longer necessary to import React in JSX components if React itself is not being referenced.
The babel transform is built and in default as part of babel-preset-expo and is turned to automatic by default.
In addition per react.dev blog, the JSX transform is mandatory to move to React 19.
What I did was go ahead and extend the eslint config to include the jsx-runtime configuration and I have also disabled prop-types since we use Typescript. I ran yarn web to validate the application runs after this change. Please let me know if any further details are required.

@ haoqunjiang I went ahead and took your advice to break out the jsx transform piece. Thank you for your feedback


All file operations in scripts must use UTF-8 encoding

Fixes #889.

@jsancio this is ready for review, I forgot about it from last week.


Operational Excellence 200 Lab Failing

When running the build_application.sh as part of step 1.1 in the Operational Excellence 200 Lab Failing, the cloud formation template walab-ops-sample-application fails to deploy. It fails at deploying at the SyntheticsCanary step with the error below.
Resource handler returned message: "Invalid request provided: Deprecated runtime version specified. (Service: Synthetics, Status Code: 400, Request ID: 8c5483cf-1442-4b10-a74d-17711858d7df)" (RequestToken: 94a7b401-5e17-2312-38ac-1df3d3f88f24, HandlerErrorCode: InvalidRequest)
I have tried deploying in both us-west-2 and us-east-1. Fails in both regions.

Hi,
Just ran into this issue.
I fixed it by modifying the runtime of SyntheticsCanary in base_app.yml template :
RuntimeVersion: syn-nodejs-puppeteer-3.5
version 3.0 cannot be used anymore

Thank you, waiting for the merge to be un blocked

PR 828 is merged


Update For Honor

Game Title
For Honor
Status of the Anti-Cheat
👍 Running
Tinkering Steps
Proton Experimental and something along those lines: PROTON_EAC_RUNTIME="/home/deck/.local/share/Steam/steamapps/common/Proton EasyAntiCheat Runtime/" %command% uplay://launch.569/0
Proof of Mention
https://www.protondb.com/app/304390#NZwmVLh0PR
https://www.protondb.com/app/304390#EYb2Q93_MH
There is a total of 3 Working reports since 2 Weeks ago. But I haven't tested it yet myself so in case this is not yet enough evidence you could hold of for now. Edit: I tested it myself and I could indeed play Multiplayer PvE and PvP

It's an issue with some wallets apparently. I had a similar issue. I contacted metamask directly and they had it resolved for me.
<EMAIL_ADDRESS>Send them a mail. They'll help you out.

It's an issue with some wallets apparently.I had a similar issue. I contacted metamask/binance directly and they had it resolved for me<EMAIL_ADDRESS>Send them a mail. They'll help you out.

Can confirm it works, but i had to use proton 7.0-6 , both experimental (crashed upon reachin the main menu), GE (crashed on the ubisoft launcher) and 8 (didnt even launch) did not work.

Can confirm it works with GE-Proton-7-55. Requires to first log into Ubisoft Connect on first launch; close out the game; then relaunch and it and it will open perfectly.

This is the update where they added the eac support file for linux: https://steamdb.info/patchnotes/10988960/


Update paths to jQuery tutorial.

Can we instead rename the tutorial folder to jquery :)

Done in https://github.com/facebook/jest/pull/1098!


Need help understanding condition text files

Hi Matthew @matthew-brett ,
Our group need some help understanding how to use the condition files in our dataset. Our dataset comes from https://openfmri.org/dataset/ds000115. We know that the experiment design is consisted two task blocks, and yet each block also contains event trials, so we are not sure about how to use convolution to create our design matrix. Thank you in advance for your help and time!!
This is the condition keys:
condition_key.txt
And below are the condition files:
cond001.txt
cond002.txt
cond003.txt
cond004.txt
cond005.txt
cond006.txt

Yes, I see the problem.
Looking at sub001, there are 7 condition files.

conds = []
for i in range(1, 8):
    cond_fname = 'cond%03d.txt' % i
    conds.append(np.loadtxt(cond_fname))

Here are the lengths:
In [35]: [len(c) for c in conds]
Out[35]: [2, 42, 42, 2, 2, 42, 0]

cond001.txt looks like this:
25.000000       2.5     1
177.500000      2.5     1

Here's cond004.txt:
132.500000      2.5     1
285.000000      2.5     1

I think these must be the start and end cues for the blocks, because cond005.txt looks like this:
25.000000       110.000000      1
177.500000      110.000000      1

Notice the long block lengths - 110 seconds.  So, I think these are the blocks in the design.  These all seem to match the key file.
cond002.txt starts like this:
27.500000       0.655357        1
30.000000       0.655357        1
37.500000       0.655357        1
42.500000       0.655357        1

All the files with 42 onsets, cond002.txt, cond003.txt, cond006.txt, have the same onsets:
In [46]: longer_onsets = [cond[:, 0] for cond in conds if len(cond) == 42]

In [47]: np.diff(longer_onsets, axis=0)
Out[47]:
array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
         0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
         0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
         0.,  0.,  0.],
       [ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
         0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
         0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,
         0.,  0.,  0.]])

The difference is in the last column, the amplitude.  For cond002 the amplitude is always 1, for the others the amplitudes are different, but sum to around 0:
[sum(cond[:, 2]) for cond in conds if len(cond) == 42]
Out[49]: [42.0, 1.19999999990128e-05, 5.9999999999227338e-06]

cond003 appears to only have two amplitudes, but cond006 has many:
In [54]: [np.unique(cond[:, 2]) for cond in conds if len(cond) == 42]
Out[54]:
[array([ 1.]),
 array([-0.285714,  0.714286]),
 array([-0.239357, -0.215357, -0.194357, -0.154357, -0.131357, -0.122357,
        -0.116357, -0.104357, -0.100357, -0.079357, -0.063357, -0.060357,
        -0.055357, -0.050357, -0.038357, -0.035357, -0.027357, -0.025357,
        -0.002357,  0.001643,  0.003643,  0.005643,  0.015643,  0.021643,
         0.022643,  0.056643,  0.064643,  0.068643,  0.104643,  0.109643,
         0.120643,  0.123643,  0.125643,  0.136643,  0.173643,  0.208643,
         0.217643,  0.229643,  0.274643])]

It seems then that they are classifying the trials (listed in cond002.txt in two different ways, one binary, the other more continuous.    So I guess cond003.txt could be the binary target / non-target where the -0.28 value is presumably 'non-target' (there are more of them) and 0.71 is target.   They put the values in like this, so the output regressor will be high for targets and low for non targets.  The regressor is therefore contrasting targets and non-targets.
The cond006 file is a bit more difficult to guess at.  It looks like there are about 36 values here encoding some linear difference between the trials.   Do you have any idea what that might be?
Do you have some not-empty cond007 files?

Ah - I see that cond007 for task2 is:
95.000000	0.840190	1
270.000000	0.840190	1

and for task003:
45.000000	0.957683	1
57.500000	0.957683	1
117.500000	0.957683	1
217.500000	0.957683	1
270.000000	0.957683	1

So I guess that task1 is 0-back, task2 is 1-back and task3 is 2-back, and the cond007 file classifies the events as errors.  So, for task2:
In [2]: conds = []

In [3]: for i in range(1, 8):
   ...:         cond_fname = 'cond%03d.txt' % i
   ...:         conds.append(np.loadtxt(cond_fname))
   ...:

In [4]: [len(c) for c in conds]
Out[4]: [2, 40, 40, 2, 2, 40, 2]

The 2 error trials (cond007) aren't included in the other trial vectors.  So, the remaining mystery is what the cond006 file is.   Are the clues in the paper?  Could it relate to something like reaction time?

@lizeyuyuz @matthew-brett
Basically, cond001.txt only contains the starting time for two test blocks
25.000000       2.5     1
177.500000      2.5     1

cond004.txt contains the ending time for two best blocks
132.500000      2.5     1
285.000000      2.5     1

In cond005.txt, I can tell the length of two test blocks is 110 second. cond002.txt tells us about the each trial and  amplitude (0.655357) which is a binary test, so we combine cond002.txt, cond1.txt and cond4.txt to produce our binary test condition?
27.500000       0.655357        1
30.000000       0.655357        1
37.500000       0.655357        1
42.500000       0.655357        1

If I got wrong in some points, please let me know

The second column is the duration, the third column is the amplitude, so the amplitude is 1 for cond002, and the duration is 0.655 seconds.
I'm guessing the authors used regressors for each of the condition files in their design, so there would have been 7 regressors per task, with each being the neural response given by these onsets and amplitudes, convolved with the HRF.  For example, there would be a separate regressor for the start signal the block (lasting 110 seconds) then the end signal, and also for all the event related (length 42, 40, etc) regressors.
Did you get anywhere working out what cond006 was?

We have not considered cond006 and cond007 yet. As you said, we have to convert 7 cond# to being the neural response (like day 25 you were doing in the lecture?). After we got all neural response, put into linear model to calculate beta which is relationship between response and blood measure

@matthew-brett One more question, cond1 and cond4 are starting and ending time of block test, how can I convert to neural response?
For cond5, I tried to convert it by method you taught earlier. The plot looks good, but I am not totally sure what I am doing right?
(day13: http://www.jarrodmillman.com/rcsds/lectures/convolution_background.html)
cond5:
25.000000       110.000000      1
177.500000      110.000000      1

cond1 and cond4 are the start signal (instruction) and the end signal (instruction).  So, these are also events, and they also have durations, so they can be put into the model in the same way.
Yes, you can convert all these condition files to their neural predictions in the way I showed you in class, and then you can convolve these using the stuff you linked to.

@matthew-brett  Thank you for your explanation!

@lizeyuyuz  I got most part for cond files, but I still need help on cond006, so I create a particular issue for cond006 and assign to you.
I closed this issue for now


Grid save method in onChnage event throw error.

onChange: function (event) {
event.done(function () {
w2ui[event.target].save();
});
},
when cell edit:
w2ui-2.0.min.js:318 Uncaught TypeError: Cannot read properties of null (reading 'tr')
at w2grid.editDone (w2ui-2.0.min.js:318:4261)
at w2ui-2.0.min.js:318:1989
editDone @ w2ui-2.0.min.js:318
(anonymous) @ w2ui-2.0.min.js:318
setTimeout (async)
(anonymous) @ w2ui-2.0.min.js:318

finishing the edit with 'Enter' key produced the above error. But if I click other cells to finish editing, it won't throw an error.

I cannot repeat this problem here: https://w2ui.com/web/demos/#/grid/21. Can you please create JS fiddle where the problem is repeated?

I've added in grid onChange event
https://jsfiddle.net/1h759uo8/1/

Making delay to save can overcome error
onChange: function (event) {
var grid = this;
event.done(function () {
setTimeout(function() {
grid.save();
}, 200);
});
},


Allow per-language outline settings

I tried to override my default outline.showStrings setting for just one language:
    "[markdown]": {
        "outline.showsStrings": true
    }

and I see the error:

"This setting does not support per-language configuration."

Having strings shown in the outline for a programming language file (e.g. Perl) is a nightmare of noise, but not seeing them for the Markdown language means I don't see my headings listed in the outline. Allowing per-language settings would give the best of both worlds.

I had a typo in my variable name -- sorry for the noise!


[#118484173] RDS broker cleanup

What
This includes a number of changes to clean up the RDS broker and deployment:

Removed support for AWS Aurora (alphagov/paas-rds-broker#5)
Removed some unused jobs from the bosh release (alphagov/paas-aws-broker-boshrelease#6)
Clarify the broker name.

On the last point - the broker had been given the same name as the service it provided, which had led to some confusion (especially if we were to enable the mysql services). See the commit for more details
How to review
Deploy from this branch and verify that everything works (the custom-acceptance tests pass etc).
Who can review
Anyone but @HenryTK or myself.

Works nicely for me - confirmed that it renames the broker and deploys correctly. Merging...


unsorted groupby

Django groupby tag cannot currently be translated to jinja2.
This commit makes it possible without breaking backwards compatilibity.
In Django ordering is done by group._meta.ordering field(s). Currently performed sorting by group does no sorting at all since django.db.Model doesn't have __lt__ method.
class Group(object):
    def __init__(self, v):
        self.v = v

#    def __lt__(self, other):
#        return self.v < other.v

class A(object):
    def __init__(self, n, v):
        self.name = n
        self.group = Group(v)

    def __repr__(self):
        return 'A(%s, %d)' % (self.name, self.group.v)

q = (
    A('a', 5),
    A('b', 2),
    A('c', 5),
    A('d', 1),
    A('e', 2)
)

print q
print sorted(q, key=lambda x:x.group)

before uncommenting __lt__():
(A(a, 5), A(b, 2), A(c, 5), A(d, 1), A(e, 2))
[A(a, 5), A(b, 2), A(c, 5), A(d, 1), A(e, 2)]
after uncommenting __lt__():
(A(a, 5), A(b, 2), A(c, 5), A(d, 1), A(e, 2))
[A(d, 1), A(b, 2), A(e, 2), A(a, 5), A(c, 5)]
{{ q|groupby('group') }} wont sort at all
{{ q|groupby('group.v') }} will sort but returns senseless group.v as a grouper
{{ q|sort('group.v')|groupby('group', sort=False) }} works as expected

FWIW you can add any Python function to the template globals. This new parameter seems harmless IMO, but changing the current behavior has been historically rejected (IKR, this one doesn't change the defaults)

Another agrument is that both itertools.groupby and django's regroup keep ordering intact, so this issue is not actual for them.

Please note that calling itertools.groupby() on an unordered sequence will only group adjacent items with the same key. I couldn't come up with a use case where this behavior would be intended/useful. AFAIK, the only reason Python's itertools module doesn't automatically sort the input, is performance when grouping huge lists that are already ordered. I don't think this is an issue in templates usually. On the other hand only grouping adjacent items, would be rather confusing for many template authors. I know, this PR wouldn't change the default behavior, but it might be still a confusing and rather useless feature IMO, unless I missed the point.

https://github.com/pallets/jinja/pull/430#issuecomment-127755500 makes sense to me.


Angular Dockerfile optimization

I know it's a very small one but I think it's better to copy the package*.json files then after installing the dependencies we can copy everything. In this case we can decrease our image build times because only if we change dependencies then only it runs the npm install

Hey Akashnani, I totally agree with your idea! Even small optimizations like this can make a big difference in our workflow and save us a lot of time. It's always great to find ways to speed up our development process, and your suggestion is a great example of that.

Yes that's right Johnson, let me create a PR for this issue and let's resolve.


fix: 4D series loaded in basic mode #4232

Context
4D series was not loading in basic mode because the image ids were being split into time points even though all images should be loaded in a stack viewport ("normal mode").
Changes & Results
4D mode is disabled until preclinical 4D mode is started when it set 4D mode to true. Once
Testing
Load the study shared here and make sure it loads in basic mode.

I don't think we need this anymore


dissolve

like a cross fade or a pixelated crossfade?

pixelated would be cool!
On Mon, Jun 5, 2023 at 10:20 AM Adam Argyle @.***>
wrote:

like a cross fade or a pixelated crossfade?
—
Reply to this email directly, view it on GitHub
https://github.com/argyleink/transition.css/issues/45#issuecomment-1577100100,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATJZNRZHRUOABJI3RYOWWMLXJYBLDANCNFSM6AAAAAAYZBVAWA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Rafael Cordon**Chief Cloud Architect @.***
@.***>Mobile +502 5966 3688
Book a meeting https://calendly.com/rafa-cordon
www.itzdata.tech
Síguenos en Linkedin https://www.linkedin.com/company/itzdataEl poder
de la nube al servicio de tu organización.

https://codepen.io/lokesh/pen/pELyoq
something like this, I guess, but in css


The allow_reassign parameter does not work on non-embedded endpoints.

When an embedded signature request is passed the parameter "allow_reassign": true, the signer is able to reassign the signature request in the embedded editor.
However, when passing the same allow_reassign parameter to either the signatureRequest.send() or signatureRequest.sendWithTemplate() methods, the parameter does not get included in the request. I confirmed that is not getting passed in the request logs, and the option to reassign is not available when the signer opens the editor.

Hi @Framinus I ran a few tests today and can confirm the following:

When a non-embedded signature request is passed the parameter "allow_reassign": 1, the signer is able to reassign the signature request in the embedded editor.
When an embedded signature request is passed the parameter "allow_reassign": 1, the signer is able to reassign the signature request in the embedded editor.

However

When an embedded signature request with template is passed the parameter "allow_reassign": 1, the signer is not able to reassign the signature request in the embedded editor.
When a non-embedded signature request with a template is passed the parameter "allow_reassign": 1, the signer is not able to reassign the signature request in the embedded editor.

An error is instead thrown in both of those cases: Error: Invalid parameter: allow_reassign
This is because when you create a template on app.hellosign.com you are provided an option to check a box that says, "Enable signer reassignment." Checking this box triggers this feature for use.
When creating an embedded template, use the allow_reassign param when the template is initially created to enable that functionality for that particular template.
Note: The allow_reassign param is not available for use on the non-embedded and embedded signature request endpoints that use templates at this time.
For these reasons, I am now able to close this request.


Previously selected date is not being selected correctly on the Time picker opening

In the example page when I open the Time picker the starting date is not highlighted, instead the hours and minute are correctly highlighted

Hi,
The same issue is interesting for me. When it will be fixed?
The selected date should be highlighted. Or maybe you know some workaround?

I fixed this issue and i did a pull request, so when najlepsiwebdesigner will merge my pull this bug will be fixed.

Great news! Thanks a lot. Hope that merge don't take a lot of time

Hi! I've merged the pull request, can you please confirm it fixed the issue? I'm sorry, but I cant check it, I'm travelling in Asia. Thanks!

Yes, everything works fine! Bug is fixed, thank you very much :-)

It is still not working if the hour contains "AM" or "PM" like in us date format, and if the date is in the MM/dd/yy date format (us format).
I can upload some images if it helps

The 12 hour time format was never supported, sorry :(
Dňa utorok, 5. apríla 2016 nicolanarducci<EMAIL_ADDRESS>napísal(a):

It is still not working if the hour contains "AM" or "PM" like in us date
format, and if the date is in the MM/dd/yy date format (us format).
I can upload some images if it helps
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/najlepsiwebdesigner/foundation-datepicker/issues/137#issuecomment-205690253

--
Ing. Peter Beňo
Web development & computer vision & robotics
http://peterbeno.com


Split Out Wallet

Split counterparty-cli into two subfolders: counterparty-core and counterparty-wallet which corresponds to the new names of the two CLIs:
counterparty-client becomes counterparty-wallet and counterparty-server becomes counterparty-core


Some problems

Hi, Thank you for the great work.
I want to build a gait analysis framework that detect keypoints of human body and distinguish human identity by analyzing their gait. I'm wondering if it is possible that use your code to distinguish human identity and use video as input? Besides, in Gait_analysis.py line 58, you set:
if x > 70 and y>70 and z>70 and x<=100 and y<=100 and z<=100:
How to get these parameters? is there any papers or tutorials?
May I have your suggestions?
Any help is much appreciated:)

Yes it is possible to even use video as input, but there are further requirements for the same and I'm to working to implement it and if i find the solution, i will definitely recommit the solution for the same.
And now to the parameters. Here as we already know, we compare the pose estimated dataset output of two gaits , so from the dataset's landmarks we get the x,y, and z params for each gait input. The thing is we just did consider that these values to have a range of 70 to 100 is to make sure that this level of matching is required to say that both the gaits belong to same person, else they are of different persons.
This is a basic level of implementation and code improvements are welcomed, which you can leave it here.

Hi, thank you for the quick reply:)
If I want to prepare my own data to test, can I use some softwares such as FormatFactory that convert my videos into GIF files? you mentioned the GIF format should have length, frame rate etc.. I'm not sure if this meets the requirements if I use FormatFactory directly.

I'm not sure about that. I used some online softwares to convert videos into GIF's and use them but it didn't work. Give it a try, if it works then it's well and good.

Hi, thank you for your reply:)
I will try to test and if I have some new problems then I would contact you again.
Thank you!

Hi, @Darrshan-Sankar,
I'm wondering how do you get your GIF files? I try to convert my video into GIF format and run your code, I get:
Traceback (most recent call last):
  File "gait_base.py", line 68, in <module>
	for data_point in results.pose_landmarks.landmark:
AttributeError: 'NoneType' object has no attribute 'landmark'
Traceback (most recent call last):
  File "combine_base.py", line 7, in <module>
	for line in open("base1.csv"):
FileNotFoundError: [Errno 2] No such file or directory: 'base1.csv'
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.

Then I try to download some GIF files on internet and run your code, but I met same problems. However, I found the same GIF:

I download it and run your code successfully. I attempt to use some tools to analyze the GIF attributes:

But I can't get clue from this information.
May I have your suggestions?
Any help is much appreciated:)

I too have received this error for all the realistic human GIFs and I don't get it why. You can see the keypoints list created to append all the captured landmarks. You can also see that None has been returned on printing the same list. This is because the draw_landmarks didn't do it's work properly. And majorly the pre drw_landmark list is kinda filled with zeroes.
  So we have to resolve this in the draw_landmarks portion of the code. This is the information I have to resolve this problem and I am not in a situation to fix this right now sir. Sorry for the inconveniences. Also you might be able to resolve this with the help of stackoverflow i hope and if you find any result, please update here for the same as it would be useful for me and for others too.

Sorry and thanks

Hi, thank you for your reply:)
Ok, I will make more tests and hope to find a solution. If I have some new results then I would contact you again.
Thank you!


Long post titles can lead to invalid hostnames in Netlify deploy previews

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
CMS entries for posts with long titles can create branch names too long for deploy previews via Netlify's standard branch deploy naming scheme.  DNS hostnames can be a maximum of 64 characters per "segment" so "a-very-long-blog-post-title-because-i-am-a-really-really-wordy-dude--sitename.netlify.com" will not be a usable hostname and thus the URL will fail to load with various/unspecified bad behavior.
- If the current behavior is a bug, please provide the steps to reproduce.
create a post with a title longer than 64 characters and attempt to load the branch deploy from the deploys tab in Netlify's UI
- What is the expected behavior?
Branch deploys would be loadable by their normal hostname, branchname--sitename.netlify.com .  Since there is no way for the CMS to know what "sitename" is there we should probably pick a short-ish cut-off like 40 characters - it won't solve EVERY situation but it will do better than the current which allows you to create an impossible branchname of >64 characters which will NEVER load properly (even for a sitename like 'a.netlify.com').
- Please mention your node.js, and operating system version.
Netlify default build (node v6.11.2 (npm v3.10.10)/ubuntu 14.04 x86_64) &&  CMS version 0.4.4

Good point. Since we don't want to enforce Netlify-specific rules, is to allow a configurable max-length, and maybe set the default to something around 40.

I really don't think we should do anything to the title here -- that's part of the content. I think the real thing that we should be looking at is keeping slugs and branch names shorter, not the title. Thoughts?

quite agree, Caleb. I was not suggesting that we tell the author to respect
some arbitrary boundary, but that we create branch names that can work well
with our system.
On Mon, Nov 27, 2017 at 4:07 PM, Caleb<EMAIL_ADDRESS>wrote:

I really don't think we should do anything to the title here -- that's
part of the content. I think the real thing that we should be looking at is
keeping slugs and branch names shorter, not the title. Thoughts?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/netlify/netlify-cms/issues/526#issuecomment-347370334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAN-oA8sYSDNuxExd-LE90dOyBH1_sJSks5s606qgaJpZM4O309M
.

Design also encompasses architectural design.


Validate parameter list with register list counts in module_abi_packing.h

Unpacker::LoadSequence needs to verify that there are enough arguments in argument_list to match those required to satisfy all parameters, including when there are variadic segments.
Some kind of constexpr macro-fu like LeafCount but capable of supporting absl::Span for variadic segments would let us do this check once at the top of LoadSequence instead of inside of every individual parameter unpack. For a majority of functions it'll end up being a compile-time constant check.

native_module and https://github.com/google/iree/commit/4c0a53e955c44480e2387a9d756a33f66830a394 removed the need for this.


fix partial upgrades and reinstallation of packages in Arch Linux

Pull Request
Title
fix partial upgrades and reinstallation of packages in Arch Linux
Type of Change

[ ] New feature
[x] Bug fix
[ ] Documentation Update
[ ] Refactoring
[ ] Hotfix
[ ] Security patch
[ ] UI/UX improvement

Description
Arch Linux doesn't support partial upgrades.
Without "--needed" flag Pacman will unnecessarily reinstall packages.
Impact
Fixes potential problems on Arch Linux and unnecessary reinstall of packages.
Issue related to PR

Resolves #138

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

https://github.com/ChrisTitusTech/linutil/blob/284485e15c34d2f1772a71f3867a8245264d24c0/src/commands/system-update.sh#L81-L82
This is not considered a partial upgrade.
https://wiki.archlinux.org/title/Pacman/Package_signing#Upgrade_system_regularly


lv2: 1.14.0 -> 1.16.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/lv2/versions.
meta.description for lv2 is: '"A plugin standard for audio systems"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/xrgcmxkbghd996iahw2y01ml18xmsh5c-lv2-1.16.0/bin/lv2_validate had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/xrgcmxkbghd996iahw2y01ml18xmsh5c-lv2-1.16.0/bin/lv2specgen.py had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 1.16.0 with grep in /nix/store/xrgcmxkbghd996iahw2y01ml18xmsh5c-lv2-1.16.0
directory tree listing: https://gist.github.com/ecf738c774b6fb3d55a0cc6205b6814e
du listing: https://gist.github.com/4d6364872a51c605f7f573bfbcb503e7

Rebuild report (if merged into master) (click to expand)

774 total rebuild path(s)
268 package rebuild(s)
268 x86_64-linux rebuild(s)
252 i686-linux rebuild(s)
21 x86_64-darwin rebuild(s)
233 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
adapta-gtk-theme
ams-lv2
aravis
arc-theme
ardour
areca
artyFX
astroid
audacity
audio-recorder
avldrums-lv2
azureus
balsa
baresip
birdfont
bookworm
brasero
brasero-original
byzanz
calf
chrome-gnome-shell
corebird
cutegram
deja-dup
dragon
drumgizmo
drumkv1
ecasound
eclipses.eclipse-cpp
eclipses.eclipse-java
eclipses.eclipse-modeling
eclipses.eclipse-platform
eclipses.eclipse-scala-sdk
eclipses.eclipse-sdk
ekiga
empathy
enlightenment.rage
eolie
epiphany
eq10q
evolution-data-server
farstream
faust2lv2
feedreader
fmsynth
folks
fomp
foo-yc20
fractal
gajim

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xrgcmxkbghd996iahw2y01ml18xmsh5c-lv2-1.16.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A lv2 https://github.com/r-ryantm/nixpkgs/archive/889f695be668fa74bf7d478d100ef21a2831acac.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xrgcmxkbghd996iahw2y01ml18xmsh5c-lv2-1.16.0
ls -la /nix/store/xrgcmxkbghd996iahw2y01ml18xmsh5c-lv2-1.16.0/bin

cc @cillianderoiste for testing.

@GrahamcOfBorg build lv2


add support in macOS crypt function

this commit generates a slat, hashes the password using SHA-512, and encodes the result in base64.

Replaced the original CryptSHA512 function with a custom implementation using Go's standard crypto/sha512 library.
Removed dependency on system-specific cryptographic functions to ensure compatibility across different operating systems,
Updated the relevant usage of the CryptSHA512 function in the codebase. including macOS

closing this pr, we will the relevant tests that failing with mac


Auto Update Of Database

Find a way to update the database after each match. In detail:

[ ] update match result after each match
[ ] evaluate the match specific bet afterwards
[x] update scores in leaderboard

I already implemented a function to update the leaderboard. It gets called whenever a user clicks on the leaderboard. Technically, we only need to update the leaderboard after each match not whenever a user checks the leaderboard. I will create a separate issue for this.
Note that the tasks above are kinda tied together:
match finishes -> insert result into db -> evaluate bets -> update leaderboard

We downgraded our expectations on this task. We do exactly what we didn't want - we should update the results in the database whenever the route gets called.


Is there a way to cache images with an associated string?

Is there a way to cache images with an associated string?
like a tag? title, or image description?
Thanks

You can choose any string as your key. Just create an ImageResource and pass it to Kingfisher's image setting methods.
See
https://github.com/onevcat/Kingfisher/blob/master/Sources/Resource.swift#L45-L64
or the wiki for more.

@onevcat thanks for the response, i will explain what exactly i meant.
I need to cache a image + description together.
I dont want the description to be the key because then i need to save the descriptions in core data or some other DB.
I want the key to be something like image and then i can save my last index in user defaults instead of in a DB.
Thanks

Oh,
No, there is no such feature in Kingfisher. And it is not likely to be added since I didn't see good reason for it in an image downloading framework. You may use some other persistent way for your purpose. :(

Thanks anyway!!


Merge zero-width autocorrects

If Sorbet proposes two or more zero-width edits at the same loc only one gets applied. The PR fixes that bug.
Motivation

Test plan

See included automated tests.

Closing this PR, because the approach I tried here renders more serious bugs than https://github.com/sorbet/sorbet/pull/7573/


dispatcher: change heartbeat time period from uint to duration

fix #1018
ping @stevvooe @aaronlehmann
Signed-off-by: runshenzhu<EMAIL_ADDRESS>

LGTM

[Current coverage][cc-pull] is 53.81%

Merging [#1020][cc-pull] into [master][cc-base-branch] will increase coverage by 0.01%

@@             master      #1020   diff @@
==========================================
  Files            75         75
  Lines         11605      11616    +11
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6243       6251     +8
- Misses         4470       4475     +5
+ Partials        892        890     -2

[][cc-pull]

Powered by Codecov. Last updated by [dc1e82a...9bb66e3][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/dc1e82a713ad5cfe36cae02ed508f9b1f557cbe4...9bb66e377dac525a22e06aec6d0694030b6377ba
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/1020?src=pr

LGTM


Update outbound links report to create a google sheet in the the cloud instead of a local excel file

Use the gspread library where possible to simplify implementation.

Hi @NoopDog! The current AnVIL reports (including outbound links) are stored in anvil-portal repo. Should I recreate the issue there?

Use this ticket to update the library with tools for spreadsheet exports


Broke with shields up Brave for Android

Problem
Brave on Android shields up gives blank page.
Expected Behavior
Page loads.
Steps to reproduce

Brave on Android with shields up
Open wallet.near.org

Obviously some third party JS e.g. probably mixpanel or something like this has been made critical path and is throwing exception while wallet is loading.

Thanks for the report @mattlockyer!  I'm unable to reproduce this one, even with shields up and both Mixpanel and Sentry being blocked, the UI continues to function as expected.  Is there any additional details that you can get from your Brave browser about what exactly is being blocked? A blank screen indicates either our JS bundle is not loading or something inside of our rendering loop is throwing an error -- do you have any console error output by any chance that might provide a stack trace indicating where the rendering is failing and why?

Desktop Brave, Linux, Shield Down
Third Party Scripts Blocked?

Turning OFF uBlock Origin on my desktop fixes this.
However, on my android, shields up fails - probably blocking the third party script delivered via the cloudflare workers URL.

@MaximusHaximus @mattlockyer is this still an issue?

Appears to work now. Not sure what changed.


Rewrite Parallel Download

Pull Request Overview
This Pull Request is supposed to rewrite the entire inner HttpClient class and fix these problems:

File lock issues while:

Resuming/Pausing the download really fast.
Merging file and causes the launcher to crash.
Retrying download at some chunks.

It also bring some minor changes while cancelling the download. For now, DisposeAndWait() is introduced and will be called instead of Dispose(). This will prevent the download to not cancelled properly and make the file getting locked while threads of the chunks are actually still running before it's completely cancelled
Major Changes

Rewrite the entire Inner HttpClient class.
Introducing DisposeAndWait() in DownloadParallelAdapter class to dispose and wait the thread to be completely cancelled.

Minor Changes

Check for Infinity number on DownloadStatusChanged event while there's no data received.

As discussed in discord, I have something to test first before this PR can be merged.
I will let you know once the test run successfully.

There's something weird going on with pause again. Try pausing and then clicking on resume button before the download actually resumes, the download progress bounces back and UI can even hang for quite a while.

Is it on pre-download or normal download?

Just a normal download. Sorry, can't screen capture but it's pretty easy to replicate.

Okay, I just made an investigation. Unfortunately, it's expected and it's kind of seamless minor issue for me.
It bounces back sometimes because all threads weren't ready to continue the session.
While it's trying to resume, at the same time two things happen:

Waiting for the HttpResponseMessage to be done.
After that, it will check the size of the existing size of chunks (if any) and increase it to _DownloadedSize

However, point no.2 cannot be moved to the first place because It also need StartOffset and EndOffset from TryGetContentLength() before those offset can be calculated.
I can make it synchronized by adding a check to each threads and will only calculate the existing size when all threads are ready. But it's too risky because it will causes other bugs like file access lock, data corruption and thread lock related issues. Since all threads need to be running asynchronously.
But if you have any idea, that would be great.

Hmm, I think making the pause button not available (or just hide it) for this small period of time is better in this case then. I can make the thread sleep but I don't really like to do that. Can I get the status of downloader that it stopped fully so I can check that and make the button appear?

Agreed.
Well, you can actually do it by replacing Stop() with async await StopAndWait() method.
This will make the process to wait until all threads stopped.

Okay I'll do some testing and then merge then! Otsukaresama!

Alright, nice to work with you.
Just let me know if you need other things again.


Allow per project  package references that are not centrally managed.

SDK: Microsoft.Build.CentralPackageVersions
Version: 2.0.36
The current behavior of Microsoft.Build.CentralPackageVersions forces the consumer to completely opt-in and have all packages version centrally managed.
It is desirable to have a subset of packages versions be centrally managed, and in the same time have per project packages that are not centrally managed.
For example, one could have Microsoft.Extensions.* packages centrally managed in for all projects in a repo, and at the same time continue to reference packages per project as needed.
A project would look like:
<PackageReference Include="Microsoft.Extensions.Configuration"  /> <!-- Centrally managed -->
<PackageReference Include="Grpc" Version="1.21.0" /> <!-- regular package reference -->

I have no idea about how to distinguish updated PackageReference in Packages.props from other normal PackageReference without custom tasks, and I guess we have below options:

Add custom tasks to distinguish newly updated PackageReference in Pacjages.props;

This may requires adding C# assembly to this SDK.

Allow user define versions in both places (Packages.props and project file) and only version in Packages.props will take effect; if user wants to override, they must use VersionOverride explicity;

Current behavior is:

All packages' version must be specified in Packages.props;
All project files cannot specify any version for any package;
If they want to do so, they must use VersionOverride.

If we choose option 1, behavior will be look like:

All packages' version must be specified at most once, no matter in Packages.props or project file;
Project files can have their own package versions, until it is also specified in Packages.props;
If it's already specified in Packages.props but need to be overrided, users can use VersionOverride.

If we choose option 2, behavior will be look like:

Packages can have their version specified in both Packages.props and project files;
Only version in Packages.props will take effect, and there's no error or warning if it's been specified twice;
User can override package version by using VersionOverride

All above descriptions based on one assumption: This SDK CAN/WILLING TO introduce such mechanism. @jeffkl any feedback?

Sorry I was out on vacation.  There will have to be some convention of marking which PackageReferences are allowed to specify a version.  In your example above:
<PackageReference Include="Microsoft.Extensions.Configuration"  /> <!-- Centrally managed -->
<PackageReference Include="Grpc" Version="1.21.0" /> <!-- regular package reference -->

Either the PackageReference in the project will need to indicate it:
<PackageReference Include="Microsoft.Extensions.Configuration"  /> <!-- Centrally managed -->
<PackageReference Include="Grpc" Version="1.21.0" CentralVersion="false" /> <!-- regular package reference -->

Or the Packages.props will need to
<PackageReference Update="Grpc" AllowVersion="true" /> <!-- regular package reference -->

I am not totally convinced this is needed.  The idea is you want all of your package versions in one place.  Getting to specify some versions centrally and others locally seems like it would only cause confusion.  Perhaps I'm missing a use case?

I am not totally convinced this is needed. The idea is you want all of your package versions in one place. Getting to specify some versions centrally and others locally seems like it would only cause confusion. Perhaps I'm missing a use case?

I totally agree with the above comment. I my view, you should either manage all versions centrally OR manage them for every project (and use consolidate i VS).
Mixing these approaches, just adds confusion, and you never know where to set the version, and end up with unexpected versions.
If something like this would be implemented, I kindly ask you to make it opt-in, so you actively have to do something to enable such feature.

I've created a PR (#203) for this to allow users opt-in per-project PackageReference. Users can enable this feature by assigning AllowPackageReferenceWithVersion to true before importing Microsoft.Build.CentralPackageVersion sdk, e.g.:
<Project>
  <PropertyGroup>
    <AllowPackageReferenceWithVersion>true</AllowPackageReferenceWithVersion>
  </PropertyGroup>
  ...
  <Import Project="Sdk.targets" Sdk="Microsoft.Build.CentralPackageVersions" />
</Project>

For those who needs this feature, you can add below snippets as a workaround:
In your Directory.Build.targets or wherever you think is proper to put this fix:
<Project>
  <PropertyGroup>
    <AllowPackageReferenceWithVersion>true</AllowPackageReferenceWithVersion>
  </PropertyGroup>

  <!-- #region Workaround -->
  <!-- TODO: Remove this region after https://github.com/microsoft/MSBuildSdks/pull/203 is merged -->
  <ItemGroup Condition=" '$(AllowPackageReferenceWithVersion)' == 'true' ">
    <!-- Store package references with version to avoid check -->
    <_OriginalPackageReferenceWithVersion Include="@(PackageReference->HasMetadata('Version'))" />
    <PackageReference Remove="@(_OriginalPackageReferenceWithVersion)" />
  </ItemGroup>

  <Target Name="RestoreOriginalPackageReferenceWithVersion" AfterTargets="CheckPackageReferences" Condition=" '$(AllowPackageReferenceWithVersion)' == 'true' AND @(_OriginalPackageReferenceWithVersion->Count()) > 0 ">
    <!-- Restore staged package references -->
    <ItemGroup>
      <PackageReference Include="@(_OriginalPackageReferenceWithVersion)" />
    </ItemGroup>
  </Target>
  <!-- #endregion -->

  <!-- Sdk -->
  <Import Project="Sdk.targets" Sdk="Microsoft.Build.CentralPackageVersions" />
</Project>

Is this still up for a grab, @jeffkl? I use it and find it very useful.

Microsoft.Build.CentralPackageVersions has been deprecated in favor of NuGet's Central Package Management: https://github.com/microsoft/MSBuildSdks/tree/main/src/CentralPackageVersions#deprecated
If you want to keep using CPV and configure it the way you want, you can just copy all of its logic into your repository's Directory.Build.props and Directory.Build.targets.  But we won't be shipping any more updates to CPV.


Fixed code bug

I was following this article to develop something robust but unfortunately, I ran into this bug for over an hour until I later discovered the slash which made the query not to run!

thanks! what's the error message with the slash? this is a little surprising to me!

It was not displaying the data in the dynamic route, I ran all forms of text until I discovered the slash was not performing any function but rather blocking the query from running.


Check command has inputs

Fixed a bug where if the command didn't use .input() it wouldn't allow it to run

The pull request adds a check to ensure there are inputs added so they are not attempted to be accessed without checks.
For example if .input() is not used and instead passed in using movie:
FFmpeg documentation on it here
Example filter:
movie=part1.mp4, scale=512:288 [v1] ; amovie=part1.mp4 [a1] ; movie=part2.mp4, scale=512:288 [v2] ; amovie=part2.mp4 [a2] ; [v1] [v2] concat [outv] ; [a1] [a2] concat=v=0:a=1 [outa]
Code taken from documentation here


generic_methods_generic_function_parameter_test.dart contains type errors.

The test generic_methods_generic_function_parameter_test.dart in b05f160352cf451a15fd408ded1a9a4c0c6e657a (and in many other commits) uses syntax-only support for generic methods in the vm based on the --generic-method-syntax option.
This feature is now being supported more widely, and this causes an issue to surface that may not have affected the vm: That test contains constructs which causes static type warnings in the analyzer (and in dart2js, btw) when enabling generic method support.
In particular, one issue is that it calls bar<int>(1, 2, 3) in a context where the type of the first argument of bar is T, which is a type argument of the enclosing class, and there is no justification for typing 1 as a T.
In order to work with other tools as we implement the feature behind --generic-method-syntax everywhere and enable it by default, this test should be adjusted to eliminate the static type warnings. I assume this would be possible without destroying the ability of this test to serve its original purpose for the vm. A good check on the type correctness is that it passes the dartanalyzer type checks with the following options:
analyzer:
  language:
    enableGenericMethods: true

I changed the test case as follows:
class C {
bar(T t, int u, V v) => t + u + v;
foo(bar(T t, U u, V v)) => bar(1, 2, 3);
}
main() {
var c = new C();
Expect.equals(6, c.foo(c.bar));
}
I still see warnings from the analyzer :+1:
Analyzing [tests/language/generic_methods_generic_function_parameter_test.dart]...
[warning] The argument type 'int' can't be assigned to the parameter type 'T'. (/usr/local/google/home/asiva/workspace/dart-tot/sdk/tests/language/generic_methods_generic_function_parameter_test.dart, line 11, col 57)
[warning] The argument type 'int' can't be assigned to the parameter type 'U'. (/usr/local/google/home/asiva/workspace/dart-tot/sdk/tests/language/generic_methods_generic_function_parameter_test.dart, line 11, col 60)
2 warnings found.
What is wrong now?

In the body of foo, bar has type <V>(T, U, V) -> dynamic, so 1 should be assignable to T. But T could be double to which int isn't assignable, so the type checker is forced to reject it; similarly for 2. We could use 1 as num, 2 as num to make the invocation typable, but that introduces a hint (I don't know if that will disrupt anything).
Otherwise we can do this:
class C<T extends num> {
  num n = 1;
  bar<V extends num>(T t, int u, V v) => t + u + v;
  foo<U extends num>(bar<V>(T t, U u, V v)) => bar<int>(n, n, 3);
}

main() {
  var c = new C<int>();
  print(6 == c.foo<int>(c.bar));
}


IE: Search for article doesn't work

I was able to get the search result to appear after closing the search modal and reopening it. Was still unable to add the article to the playlist

Search is now working in IE10/11


MatrixTrace, Level 8: make variable names dynamic

The variable i and j in
https://github.com/hhu-adam/Robo/blob/20750845be33e8e6f91b3811d264202ee0cc7b91/Game/Levels/MatrixTrace/L08_EvalOnEBasis.lean#L78
can have different names.

fixed in e2ba048963527f4ed49ffe4a30cd9c57272ca0c6


Small change to trigger tests

@pixelhandler I did this PR to sanity check that the other PR wasn't failing because of the changes on that branch. Do you have any idea why firefox hangs out forever? The last related change that I can think about is when you removed phantomjs.

@cibernox could try and re-add phantom on this branch.


Cypress still in use?

Your Question

Website URL Path: https://github.com/corona-warn-app/cwa-website/blob/master/README.md#testing
Question: Is cypress still being actively used by the Open Source Team for website testing of https://www.coronawarn.app/ ?

https://github.com/corona-warn-app/cwa-website/blob/master/cypress/integration/hotline_spec.js fails in cypress because the hotline phone number was updated without updating the cypress test routine.
  Running:  hotline_spec.js                                                                 (3 of 3)

  Test Hotline phone number
    1) Verify App and TAN Hotline

  0 passing (5s)
  1 failing

  1) Test Hotline phone number
       Verify App and TAN Hotline:
     AssertionError: Timed out retrying: Expected to find content: '+49<PHONE_NUMBER>' within the element: <div.link-item.col-6.col-md-4> but never did.
      at Context.eval (http://localhost:8000/__cypress/tests?p=cypress\integration\hotline_spec.js:10:53)

I opened PR #1289 to fix the failing cypress test.
It seems that the cypress test has not been acted on for the last 5 months, since the problem was introduced in January this year by PR https://github.com/corona-warn-app/cwa-website/pull/757.
I also found that sometimes
npm run test
times out and that a second attempt to run it is sometimes successful. Perhaps this is connected to the issue I reported in https://github.com/corona-warn-app/cwa-website/issues/1168?
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  eventregistration.js (658 KiB)

Cypress tests are now passing again, since PR #1289 has been merged.
I will leave this issue open for the time being in case there are any comments about using cypress or not.

A new issue has come up https://github.com/corona-warn-app/cwa-website/issues/1322, so again, the question whether cypress tests are still in use or whether their failure should be ignored?
If cypress is no longer being used, then it should be taken out of the README.md.

Cypress was updated lately with some new pull requests that were approved. @MikeMcC399 do you think we could close this issue?

@svengabr
The cypress tests are now completing successfully, so this issue can be closed.


Don't ping actor when an infraction DM fails to send

Would anyone miss this functionality?

Kill it with fire

We're still discussing whether or not we should actually remove this internally.

We have discussed this with the moderation team and no one seems to be opposed to removing the "actor ping".
To still get explicit feedback about DMs failing to be delivered to the user, we would like to add an emoji to the infraction confirmation message in a similar style to the "swooshing" envelope we use to signal that a DM was successfully sent:

An initial design for the "fail" emoji is:

The emoji has been added as :failmail: (ID of<PHONE_NUMBER>31887616) to the emoji server.


[Request] Option to disable semicolon and brackets checks

Would be cool if it would be possible to add an option to disable semicolons and brackets checks.
In my projects I'm usually using semicolons and additional brackets, because I simply like such style. After installing VS I noticed I have endless number of problems in every file of my projects :)

These actions wil be disabled as default in next release.


Feat/isolated language formatting

Adding support for setting a different language per format rather than globally.
The language must already be loaded via the existing numeral.language function otherwise an error is thrown.
To use, simply add a call to the new function language prior to calling the format function. e.g.
var formattedNumeral = numeral(100).language('fr').format('$0,0.00');

This seems super useful. One example would be on a currency exchange page, where you would constantly need to change language context.
Any updates @adamwdraper ?

@dwendo I think there's an extra, unwanted commit in this PR

Nice pickup. I've updated the PR.

The latest commit was almost 2 years ago now… Something tells me theres very slim chance of merging this in. Maybe we should fork this repo or get @adamwdraper to assign another maintainer/collaborator who can help with 63 pending PRs

Ha! I didn't realise it was that long ago. I found numbro.js which looks like it is maintained a little better as a fork of numeral.js.
Might have to the formatting out for that. Need to have a deeper look into how they're handling language though. It looks like there have been some changes but still seems like setting the language globally is the only option currently.


Floating point exception in mxnet.ndarray.op.random_pdf_dirichlet

Description
(A clear and concise description of what the bug is.)
mxnet.ndarray.op.random_pdf_dirichlet has floating point exception when given sample's shape has 0. Please see the provided code as example.
Error Message
(Paste the complete error message. Please also include stack trace by setting environment variable DMLC_LOG_STACK_TRACE_DEPTH=10 before running your script.)

Floating point exception (core dumped)

To Reproduce
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
import mxnet
import numpy as np
sample = mxnet.nd.array(np.random.rand(4,0))
alpha = mxnet.nd.array(np.random.rand(1))
mxnet.ndarray.op.random_pdf_dirichlet(sample=sample, alpha=alpha)

Steps to reproduce
(Paste the commands you ran that produced the error.)

run the provided code in python interpreter or as a script

What have you tried to solve it?

Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python

# paste outputs here

Got 404 when trying to get the script.
Some environment information:

OS: ubuntu 18.04
Python: 3.7.6
pip: 20.0.2
numpy: 1.18.5
mxnet: 1.6.0

@leeyeetonn thanks a lot for identifying and reporting these issues (#18927, #18933, #18934, and this). it's very helpful.
I think a general problem for these issues is that FPE exits the program without a stacktrace. I will work on improving the signal handler to treat it as a regular runtime error instead.

@szha Thanks for your feedback! I agree. They should not have FPEs but rather runtime exceptions in python. I believe each one of them requires some additional input validity checks.
I have a few more cases of FPEs caused by similar kind of input. If you don't mind, I'd like to report them as individual issues which is helpful to keep track of things.

@leeyeetonn
I guess this issue should be resolved now according to https://github.com/apache/incubator-mxnet/pull/18956 (if my understand is correct) authored by @szha

Yes, FPE should no longer abort the program now. The bug still needs to be fixed

So here's the problem:
% DMLC_LOG_STACK_TRACE_DEPTH=150 MXNET_ENGINE_TYPE=NaiveEngine lldb python3.7 -- test_18936.py
(lldb) target create "python3.7"
Current executable set to 'python3.7' (x86_64).
(lldb) settings set -- target.run-args  "test_18936.py"
(lldb) run
Process 27100 launched: '/usr/local/bin/python3.7' (x86_64)
Process 27100 stopped
* thread #2, stop reason = exec
    frame #0: 0x0000000100006000 dyld`_dyld_start
dyld`_dyld_start:
->  0x100006000 <+0>: popq   %rdi
    0x100006001 <+1>: pushq  $0x0
    0x100006003 <+3>: movq   %rsp, %rbp
    0x100006006 <+6>: andq   $-0x10, %rsp
(lldb) cont
Process 27100 resuming
[23:14:55] ../src/engine/engine.cc:55: MXNet start using engine: NaiveEngine
[23:14:55] ../src/storage/storage.cc:198: Using Pooled (Naive) StorageManager for CPU
Process 27100 stopped
* thread #2, queue = 'com.apple.main-thread', stop reason = EXC_ARITHMETIC (code=EXC_I386_DIV, subcode=0x0)
    frame #0: 0x0000000116f5b318 libmxnet.dylib`void mxnet::op::mxnet_op::Kernel<mxnet::op::LaunchExWrapper<mxnet::op::PDF_Dirichlet<false> >, mshadow::cpu>::LaunchEx<int, int, float*, float*, float*>(mshadow::Stream<mshadow::cpu>*, unsigned long, int, int, float*, float*, float*) at pdf_op.h:443
   440 	    index_t i = start;
   441
   442 	    // Get aligned
-> 443 	    const index_t align_step = sample_size - (i % sample_size);
   444 	    const index_t first_stride = length > align_step ? align_step : length;
   445 	    OP::Map(i, first_stride, sample_size, args...);
   446 	    i += first_stride;

https://github.com/apache/incubator-mxnet/blob/9bdd4d6347c284770ee5bfe5ae98f1dabc283829/src/operator/random/pdf_op.h#L443
The code needs to guard against zero-size array, and we should add a smoke test to guard against such problem in this op, similar to https://github.com/apache/incubator-mxnet/pull/18972/files

@xidulu since we are deprecating ndarray, do we need to register an alias of this op in np/npx? (or is it already registered)


Integrate as main UI

We're currently serving the old ui by default still. We want to update make assets to transpile and embed the elm assets.

@stuartnelson3 The ui/bindata.go file in the ui-rewrite branch is updated to serve the new version of the UI, see PR #727.

closed by #727


fix(Admin/Codemirror): set height auto

Deploy preview ready!
Built with commit d5a49d18a82becb31e69c7a9409b809a181feefb
https://deploy-preview-344--mcs-lite-ui.netlify.com

Deploy preview ready!
Built with commit d5a49d18a82becb31e69c7a9409b809a181feefb
https://deploy-preview-344--mcs-lite-introduction.netlify.com