Build did NOT complete successfully; ERROR: expression must have a constant value

System information

OS Platform and Distribution: Windows10
TensorFlow installed from (source or binary): source
TensorFlow version: 1.12
Python version: 3.36
Bazel version: 0.15.0
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 9.0/7.5.1
GPU model and memory: Quadro K1100m

Describe problem
Hello guys, I have been trying to build tf-gpu on source with bazel but continuously getting errors. Got success so far but now it is giving me following errors on matching instances of overload func & also saying expression must have constant value while giving me list of hex strings of whose I can't find any solution to resolve. Please guide.. TIA
Error I got after executing command:

$ bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

....
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (142 packages loaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (143 packages loaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (144 packages loaded)
WARNING: C:/users/lenovo/_bazel_lenovo/6kwxios2/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in C:/users/lenovo/_bazel_lenovo/6kwxios2/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: C:/users/lenovo/_bazel_lenovo/6kwxios2/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in C:/users/lenovo/_bazel_lenovo/6kwxios2/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: C:/users/lenovo/_bazel_lenovo/6kwxios2/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in C:/users/lenovo/_bazel_lenovo/6kwxios2/external/grpc/bazel/grpc_build_system.bzl:172:12
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (147 packages loaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (147 packages loaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (148 packages loaded)
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (148 packages loaded)
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:354:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (155 packages loaded).
INFO: Found 1 target...
[0 / 9] [-----] BazelWorkspaceStatusAction stable-status.txt
INFO: From Compiling external/grpc/third_party/address_sorting/address_sorting_posix.c:
cl : Command line warning D9002 : ignoring unknown option '-std=c99'
INFO: From Compiling external/grpc/third_party/address_sorting/address_sorting_windows.c:
cl : Command line warning D9002 : ignoring unknown option '-std=c99'
INFO: From Compiling external/grpc/third_party/address_sorting/address_sorting.c:
cl : Command line warning D9002 : ignoring unknown option '-std=c99'
INFO: From Compiling external/com_google_absl/absl/base/dynamic_annotations.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/utf8.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/ostringstream.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/numeric/int128.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/base/internal/spinlock_wait.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
[2,314 / 5,397] Compiling external/pcre/pcre_exec.c; 128s local ... (7 actions running)
INFO: From Linking external/grpc/libgrpc++_base.a:
server_posix.o : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
rpc_method.o : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
create_channel_posix.o : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
INFO: From Compiling external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/base/internal/cycleclock.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/types/bad_variant_access.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/types/optional.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/base/internal/thread_identity.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/base/internal/spinlock.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/base/internal/raw_logging.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/types/bad_optional_access.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/string_view.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/base/internal/sysinfo.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/charconv_parse.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/charconv_bigint.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/base/internal/throw_delegate.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/ascii.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/numbers.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/memutil.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/match.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/substitute.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/charconv.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/str_cat.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/str_replace.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/escaping.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/str_format/extension.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/str_format/output.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/str_split.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/str_format/float_conversion.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/str_format/parser.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/str_format/arg.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Compiling external/com_google_absl/absl/strings/internal/str_format/bind.cc:
cl : Command line warning D9025 : overriding '/w' with '/W3'
INFO: From Linking external/protobuf_archive/libprotobuf_lite.a:
arenastring.o : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
INFO: From Linking external/protobuf_archive/libprotobuf.a:
error_listener.o : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
INFO: From ProtoCompile tensorflow/core/protobuf/replay_log.pb.cc:
tensorflow/core/protobuf/replay_log.proto: warning: Import tensorflow/core/framework/graph.proto but not used.
tensorflow/core/protobuf/replay_log.proto: warning: Import tensorflow/core/protobuf/cluster.proto but not used.
[2,860 / 5,406] Compiling tensorflow/core/framework/api_def.pb.cc; 6s local ... (7 actions running)
ERROR: C:/users/lenovo/tensorflow-build/tensorflow/tensorflow/contrib/rnn/BUILD:218:1: C++ compilation of rule '//tensorflow/contrib/rnn:python/ops/_lstm_ops_gpu' failed (Exit 5): msvc_wrapper_for_nvcc.bat failed: error executing command
  cd C:/users/lenovo/_bazel_lenovo/6kwxios2/execroot/org_tensorflow
  SET CUDA_TOOLKIT_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0
    SET CUDNN_INSTALL_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0
    SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt
    SET LIB=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64;
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\\MSBuild\15.0\bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET PYTHON_BIN_PATH=C:/Users/Lenovo/Python/Python36/python.exe
    SET PYTHON_LIB_PATH=C:/Users/Lenovo/Python/Python36/lib/site-packages
    SET TEMP=C:\Users\Lenovo\AppData\Local\Temp
    SET TF_CUDA_CLANG=0
    SET TF_CUDA_COMPUTE_CAPABILITIES=3.0
    SET TF_CUDA_VERSION=9.0
    SET TF_CUDNN_VERSION=7
    SET TF_NEED_CUDA=1
    SET TF_NEED_OPENCL_SYCL=0
    SET TF_NEED_ROCM=0
    SET TMP=C:\Users\Lenovo\AppData\Local\Temp
  external/local_config_cuda/crosstool/windows/msvc_wrapper_for_nvcc.bat /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS /bigobj /Zm500 /J /Gy /GF /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /I. /Ibazel-out/x64_windows-opt/genfiles /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Iexternal/bazel_tools /Ibazel-out/x64_windows-opt/genfiles/external/bazel_tools /Iexternal/local_config_sycl /Ibazel-out/x64_windows-opt/genfiles/external/local_config_sycl /Iexternal/protobuf_archive /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/genfiles/external/com_google_absl /Iexternal/local_config_cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/protobuf_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive/src /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive/src /Iexternal/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda /Iexternal/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include /Iexternal/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include/crt /DEIGEN_MPL2_ONLY /DEIGEN_MAX_ALIGN_BYTES=64 /D__CLANG_SUPPORT_DYN_ANNOTATION__ /showIncludes /MD /O2 /DNDEBUG -w /arch:AVX -x cuda -DGOOGLE_CUDA=1 -nvcc_options=relaxed-constexpr -nvcc_options=ftz=true /Fobazel-out/x64_windows-opt/bin/tensorflow/contrib/rnn/_objs/python/ops/_lstm_ops_gpu/lstm_ops_gpu.cu.o /c tensorflow/contrib/rnn/kernels/lstm_ops_gpu.cu.cc
nvcc error   : 'cicc' died with status 0xC0000005 (ACCESS_VIOLATION)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(603): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(604): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(605): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(637): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(1148): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(1594): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(2428): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(2428): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(385): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xtr1common(59): error: class "std::enable_if<<error-constant>, int>" has no member "type"
          detected during instantiation of type "std::enable_if_t<<error-constant>, int>"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(385): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(647): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(654): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(698): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(705): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(777): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(786): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(787): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(796): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(797): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(862): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xmemory0(353): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xmemory0(943): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xmemory0(1217): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(1914): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xtr1common(59): error: class "std::enable_if<<error-constant>, void>" has no member "type"
          detected during instantiation of type "std::enable_if_t<<error-constant>, void>"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(1914): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility(264): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(1562): error: expected a ">"
          detected during:
            instantiation of "const __nv_bool std::_Is_specialization_v [with _Type=std::char_traits<char>, _Template=std::char_traits]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(2108): here
            instantiation of class "std::basic_string<_Elem, _Traits, _Alloc> [with _Elem=char, _Traits=std::char_traits<char>, _Alloc=std::allocator<char>]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\stdexcept(24): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\memory(1483): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\memory(1490): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\memory(2536): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(1562): error: expected a ">"
          detected during:
            instantiation of "const __nv_bool std::_Is_specialization_v [with _Type=std::char_traits<__wchar_t>, _Template=std::char_traits]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(2108): here
            instantiation of class "std::basic_string<_Elem, _Traits, _Alloc> [with _Elem=__wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\string(325): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(1562): error: expected a ">"
          detected during:
            instantiation of "const __nv_bool std::_Is_specialization_v [with _Type=std::char_traits<char16_t>, _Template=std::char_traits]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(2108): here
            instantiation of class "std::basic_string<_Elem, _Traits, _Alloc> [with _Elem=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\string(656): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\type_traits(1562): error: expected a ">"
          detected during:
            instantiation of "const __nv_bool std::_Is_specialization_v [with _Type=std::char_traits<char32_t>, _Template=std::char_traits]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(2108): here
            instantiation of class "std::basic_string<_Elem, _Traits, _Alloc> [with _Elem=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>]"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\string(661): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\tuple(172): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\tuple(190): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\tuple(209): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\tuple(242): error: expression must have a constant value

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\tuple(1034): error: no instance of overloaded function "std::tuple<_This, _Rest...>::tuple" matches the specified type

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\tuple(1046): error: no instance of overloaded function "std::tuple<_This, _Rest...>::tuple" matches the specified type

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\functional(1193): error: expression must have a constant value

0x00007FF703B12395 (0x0000000000000000 0x0000021243C9C370 0x000002123D7334A8 0x0000000000000000)
0x00007FF703B0F0D1 (0x0000000000000000 0x0000021200000000 0x0000000000000000 0x0000000000000000)
0x00007FF703B0FE73 (0x000002123DFFDD90 0x0000000000000000 0x0000000000000000 0x0000021243C9D480)
0x00007FF703B4413F (0x0000021200000001 0x0000000000000001 0x0000021200000001 0x0000000000000001)
0x00007FF703B3E650 (0x0000021200000001 0x000000E605BFB478 0x000000E605BFBB20 0x0000000000000001)
0x00007FF7039C2E4A (0x000000E600000000 0x0000000000000000 0x000000E605BFB560 0x0000021243C9C188)
0x00007FF7039C81D1 (0x000000E605BFBAC0 0x00007FF703A01712 0x000000E605BFBD30 0x0000000000000011)
0x00007FF7039C7ED0 (0x0000000000003901 0x0000000000000001 0x0000000000000000 0x0000000000000000)
0x00007FF703A2AB15 (0x00000212413E8EA0 0x0000021243C9A598 0x00000212413F12E8 0x000002123BD79990)
0x00007FF703A2BAD9 (0x000002123BD79990 0x000000E605BFC340 0x00000212413F12E8 0x0000000900000000)
0x00007FF703A2A94E (0x0000021243C9C448 0x0000000000000000 0x0000000000000080 0x0000021243C37790)
0x00007FF703B4FCCF (0x0000000000000000 0x0000000000000001 0x00000212413E9138 0x000002123DD59A78)
0x00007FF703B37262 (0x000002123DD5A4B0 0x00000212413E9138 0x000002123DD59A78 0x0000000000000000)
0x00007FF703B36D22 (0x0000000000000000 0x000000E605BFC1A1 0x000000E605BFC340 0x000000260002FE91)
0x00007FF703B37CE4 (0x0000000000000000 0x0000021243C9A598 0x00000212413F12E8 0x00000212413F2D38)
0x00007FF703B4FC0C (0x0000021243C9C6B8 0x0000000000000000 0x0000021243C9A598 0x00000212413F12E8)
0x00007FF703B30B10 (0x0000021243C9A598 0x00000212413F2D08 0x0000021200000000 0x00000212413F2D08)
0x00007FF703B553EA (0x0000000000000000 0x000000E605BFC520 0x00000212413EA140 0x0000000000000000)
0x00007FF703B552A8 (0x00000212413F2D08 0x00000212413F2D80 0x0000000000000000 0x000002123D6C4CE0)
0x00007FF703AEFA96 (0x0000000000000000 0x000002123EA26D68 0x0000021243A3D968 0x0000000000000000)
0x00007FF703AED063 (0x00000212413F2D08 0x0000021240866400 0x0000021200000000 0x00000212413F2D08)
0x00007FF703AFCBAF (0x0000021240866400 0x0000021200000000 0x0000000000000000 0x0000021243A3D968)
0x00007FF703AE57D2 (0x000000E605BFD3E0 0x0000000000000000 0x000000E605BFD3E0 0x000000000000000B)
0x00007FF7039E51A8 (0x0000000000000024 0x00007FF7038E0000 0x0000000000000000 0x0000000000000000)
0x00007FF7039D6C0C (0x000000E605BFD660 0x0000000000000000 0x0000000000000000 0x000000E605BFD978)
0x00007FF7039E9D80 (0x000000E605BFDA08 0x0000021243CB1768 0x0000000000000000 0x0000000000000000)
0x00007FF703B1744A (0x0000000000000001 0x0000000000000000 0x0000000000000000 0x0000000000000000)
0x00007FF703B1B26E (0x0000000000000001 0x0000000000000001 0x0000000000000001 0x000000030003939C)
0x00007FF703B16423 (0x0000000000000001 0x0000000000000000 0x0000000000000000 0x0000021200000000)
0x00007FF703A1BF31 (0x0000021243C9A3F0 0x0000021243C9A3F0 0x0000000000000000 0x0000021243C9A3F0)
0x00007FF703A1AAC3 (0x000000E605BFDCE0 0x0000000000000002 0x0000021243C9A038 0x000000E605BFDDB0)
0x00007FF7039946FA (0x0000000000000001 0x000000E600000000 0x0000000000000000 0x000000E605BFDDB0)
0x00007FF70399B216 (0x0000021243C3ECB8 0x000002123BD804B0 0x0000000000000000 0x0000000000000000)
0x00007FF703992EE0 (0x0000001500039256 0x000000E605BFE0F9 0x0000021243C21A88 0x000000E605BFE0F9)
0x00007FF703997AA4 (0x000000E605BFE1F0 0x0000021200000000 0x000000E605BFE3B0 0x000000E605BFE1D0)
0x00007FF70398BB84 (0x0000000000000001 0x0000000000000000 0x0000000000000000 0x000000E605BFE2C0)
0x00007FF70399ADCC (0x0000351A402BF60C 0x00007FF703C6989A 0x0000000000000000 0x000000E605BFE638)
0x00007FF703992EE0 (0x0000001100039254 0x000000E605BFE629 0x000002123F111940 0x000000E605BFE629)
0x00007FF703997AA4 (0x000000E605BFE720 0x0000021200000000 0x000000E605BFE8E0 0x000000E605BFE700)
0x00007FF70398BB84 (0x0000000000000001 0x0000000000000000 0x0000000000000000 0x000000E605BFE7F0)
0x00007FF70399ADCC (0x000002123BD7D890 0x0000021200000000 0x0000000000000000 0x0000000000000006)
0x00007FF70399C58A (0x0000000000000000 0x0000021200000000 0x0000000000000000 0x0000000000000000)
0x00007FF703B641F4 (0xTarget //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 1322.663s, Critical Path: 133.82s
INFO: 1644 processes: 1644 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

i have the same problem

@SabahKarim Looks like your cuDNN library version is not compatible with CUDA version.
Also take a look at tested build configurations for tensorflow_gpu-1.12. Thanks!

I changed to MSBuild Tools 2015 Update 3 and it solved my problem. Thanks.
Closing the issue.


Fix #1 - Use .net Standard SDK instead of .net Core

Allows consuming this library from .netstandard applications in addition to .net core ones.

Thank you so much for your commits, the improvements are much appreciated!


Add default merge options when creating new repository

Fixes #3952

Codecov Report

Merging #4369 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #4369      +/-   ##
==========================================
- Coverage    20.1%   20.08%   -0.02%
==========================================
  Files         153      153
  Lines       30716    30722       +6
==========================================
- Hits         6174     6171       -3
- Misses      23599    23607       +8
- Partials      943      944       +1

Impacted Files
Coverage Δ

models/repo.go
18.34% <0%> (-0.07%)
:arrow_down:

modules/process/manager.go
69.56% <0%> (-4.35%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b46066f...e4bfd5f. Read the comment docs.

LGTM


Python 3.12 Compatibility

Unfortunately, the newly released Python 3.12 removed distutils after it being deprecated since since Python 3.10.

See PEP 632 Deprecate distutils module and gh-92584 for more details about its removal.

With Python 3.12, the use of distutils in merger.py creates an error:
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/mkdocs_monorepo_plugin/merger.py", line 16, in <module>
   from distutils.dir_util import copy_tree
ModuleNotFoundError: No module named 'distutils'

We found that including the setuptools module, which now includes distutils to be a simple workaround for the issue.

This is fixed in #120. Closing.


Pass 0 console width explicitly to idris proc

Workaround to solve one of the issues described here: https://github.com/meraymond2/idris-vscode/issues/23.
The Idris IDE process inserts new lines into replies based on the width of the terminal, presumably because it's using the same code as the Idris REPL. When it's not running inside a terminal, it should infer the width as 0, and not do any wrapping. On some systems, it seems like it's inferring this incorrectly, and it tries to wrap after every word.
Passing the console width in explicitly fixes this for now, until the fix is merged and released.

I don't think this is needed. Console width detection was added after the last released version and I imagine it will be fixed before the next release. I have to make one change to reduce duplicate code, but then I anticipate that my PR will be merged within a few days at most.

Ah, I thought it was introduced in 0.2.1, and wanted to make it sure it wouldn't come up for anyone else. I can this change out again in the next release, I assume most people will either be on 0.2.1, or the master branch. In the meantime, it might be superfluous, but it's not doing any harm.

My PR was merged so it is safe to remove this in the next release.


Can't delete tiles

Tiles were being added more than once while deletion of them only occurred once.


System support for deferring work to be done on next execute

This is a question to ask if you would consider a contribution of this kind?
Currently we have a lot of input Systems which listen for events and read/write Entities when an event is emitted (e.g. onMouseDown do x, y, z...). When an event is emitted; naively, anything done in the listener callback is done immediately and not within the systems execute which I've come to understand is undesirable.
We have been setting up ways in our Systems to store operations (for example in a field called pendingUpdates which is drained in execute) with the goal of reading/writing Entities during execute cycles only. This is relatively easy with some abstraction.
I was wondering if you'd consider supporting such a thing in Systems by default?
This could be achieved for instance by providing a new function this.doNext(fn) in the System base class which stores callbacks to be run and cleared during the next Systems execute.

Coroutines are now implemented in 0.9.3.  You don't even need to yield first since a coroutine will only run when its system is executing, even if it's started from somewhere / sometime else.  (Though I guess you still need at least one yield in there somewhere to make it a generator...)
However, note that execution order of coroutines is not guaranteed, and will in fact tend to be in reverse order of being started, so this might not be a good fit for event processing after all.


feat: add Metadata component

This adds the MetaData component.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

can we split the subComponents(ex. Rating) out to their own files? I'd prefer to keep it to one component per file


proposing change

making article visibly same as others on Azure Documentation.
Fixing some typos also.

Hi @4c74356b41, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@gbowerman - Please review these proposed updates from @4c74356b41 to your article in the public repo. I forwarded additional info via email.

@4c74356b41 @tysonn changes look good, thanks.
#sign-off


GitHub teams

I think using teams will simplify permissions management, especially as admins change and moderators increase. I went ahead and added what we have so far:

@shikokuchuo, does this look good to you? If so, I could give moderators "maintain" access to https://github.com/r-multiverse/contributions and "triage" access to https://github.com/r-multiverse/help/settings/access. And I could give admins admin access to all R-multiverse repos.

Yes, I'm happy for all permissions to be team-based rather than per user.

Thanks! https://github.com/orgs/r-multiverse/teams/administrators includes us, @jeroen, and @maelle, and has admin access to all R-multiverse repos. https://github.com/orgs/r-multiverse/teams/moderators includes @eitsupi and has "maintain" access to https://github.com/r-multiverse/contributions and "triage" access to https://github.com/r-multiverse/help.


Google Plus Community

I apologize if this is the wrong venue, but I don't want to recreate my G+ account just for the sake of asking. Feel free to delete this issue if inappropriate.  Where will the Muzei Community go off too when G+ service close down?  Looking through the community posting, I don't think I can find any info mentioning this yet. Thank you for the incredible work and incredible community.

We'll continue to use the G+ community for the next 9 months. No plans for an alternate community after that at the moment. I'll leave this issue open though for updates if anything changes.

Telegram or Discord is Quite a Good Solution. You can Categorise Channels on Discord. Unfortunately, G+ is Closing too soon in April. Take Decision Soon. See You.

With Google+ closing shortly, I wanted to provide an update here on our plans: we won't be offering a new community like experience.
The following forms of communication will be available:

For announcements and news about Muzei and its API, please follow our Muzei Publication on Medium or my profile on Twitter
For bugs or feature requests, file an issue here on Github or contact us directly at<EMAIL_ADDRESS>
Thanks for your understanding.


Installation Issue

I Installed the plugin in all three project. Portable,Droid and IOS from Nuget
I used SimplePage.xaml page code.
Project compile successfully but  when viewing on emulator it show this error

Be sure you're using correct namespaces in XAML
Call FlowListView.Init() somewhere
Give some code, so I could help


Can't pass int64 to numpy.zeros()

This fails to compile, unless you change the declaration from int64 to int. The same occurs for empty() (I'm sure many other function that normally take ints).
import numpy as np

# pythran export timeScaleSnippet(int64)
def timeScaleSnippet(N):
    Y = np.zeros((M,M),dtype=float)
    return Y

I fail to reproduce with master version. Can you confirm it's fixed?

Yes it looks like it's fixed.


Missing JAR files / Cannot build from master branch (or >= v3.2.1 tag)

Where are the JAR files we're supposed to "copy into the IDP_HOME directory?"
Attempting to build them with .\gradlew on Windows also fails:
10:25:57.274 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.io.IOException: Cannot run program "docker-compose" (in directory ".\shib-cas-authn3\build\docker"): CreateProces
s error=267, The directory name is invalid
10:25:57.274 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
10:25:57.274 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   ... 5 more
10:25:57.274 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid
10:25:57.274 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   ... 6 more

Just to update, the following yields a successful build:
> git clone https://github.com/Unicon/shib-cas-authn3.git
> cd shib-cas-authn3
> git checkout tags/v3.2.0

> .\gradlew
...
:processTestResources UP-TO-DATE
:testClasses
:test
:check
:build

BUILD SUCCESSFUL

Total time: 23.207 secs

However, jetty.log still shows:

2017-08-18 11:12:57,984 - WARN [org.eclipse.jetty.deploy.DeploymentManager:506] - Unable to reach node goal: started
java.lang.NoClassDefFoundError: org/jasig/cas/client/validation/Cas20ServiceTicketValidator
...
Caused by: java.lang.ClassNotFoundException: org.jasig.cas.client.validation.Cas20ServiceTicketValidator
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_144]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_144]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_144]
	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:487) ~[jetty-webapp-9.3.9.v20160517.jar:9.3.9.v20160517]
	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:428) ~[jetty-webapp-9.3.9.v20160517.jar:9.3.9.v20160517]
	... 50 common frames omitted

Missing JAR for this class appears to still be available here: https://github.com/Unicon/shib-cas-authn3/blob/v3.0.0/README.md#copy-the-librariesjars
FYI, I'm in the process of assembling these documentation fixes here: https://github.com/rdev5/shib-cas-authn3/blob/patch-1/README.md

This apparently was a result of testing multiple versions, none of them getting cleaned up in the output web-app folder.
I removed the older versions and am now able to get this working (using the downloads in releases). Release version works, but build still fails so I'm going to leave this issue open.

@rdev5,
Sorry for the slow reply.
So running ./gradlew distTar distZip should get you a couple of archives with the appropriate jar files in the IDP_HOME/edit-webapp/WEB-INF/lib/ directory.
Certainly using the official releases are the way to go, but if you do build locally that should take care of you.
John

This will be fixed when 3.2.3 is merged to master via https://github.com/Unicon/shib-cas-authn3/commit/9d9b5640ff9cd32ecbccd283efde47d0e3707166.
Docker Compose will not be invoked at clean-up unless one of the compose-specific commands where run before. Also the default tasks builds the distributables.


Updated application to use Spring

I'd target v3 branch. Master is still relevant for v1 and v2.

I'm going to close this for now and link to it from the main readme so we have a couple of examples. Reasoning for this is a developer I've been working with preferred the non-Spring example so don't want to take this away from him whilst he's integrating with v3.

@SynverseSageOne @adamgeorgeson Would it make sense for us to create sageone_api_spring_example instead? Since they're quite different.

Yeah, I think we should. Is that something you can arrange and I'll get this code pushed there?

@adamgeorgeson Yup I'll arrange that.

@adamgeorgeson @SynverseSageOne Done: https://github.com/Sage/sageone_api_spring_sample


fixing symlink

Sorry I didn't realize https://www.drupal.org/project/drupalci_testbot was the master. This is probably irrelevant now and I shouldn't have bothered you with #29 either. Probably you want to revert that, sorry :(


Dev to main sync

Date: 4th Oct 2024

Developer Name:
@ashifkhn

Issue Ticket Number

https://github.com/Real-Dev-Squad/members-site/issues/165
Description

There's a setup issue on the member site that's preventing proper initialization. This issue is blocking further testing and development
Documentation Updated?

[ ] Yes
[x] No

Under Feature Flag

[ ] Yes
[x] No

Database Changes

[ ] Yes
[x] No

Breaking Changes

[ ] Yes
[x] No

Development Tested?

[x] Yes
[ ] No

Screenshots

Screenshot 1

Test Coverage

Screenshot 1

Additional Notes

closing this, this PR has been taken care in #180


Moved traverseAsync typing from Querybuilder class to Model class

Fixes #2009

Coverage remained the same at 96.999% when pulling 8d7064c139a95cf3ac1a62661d4881d795643e88 on DeanMauro:master into 98a2f7cbcea864199eb5a7affb6b31f5699b303b on Vincit:master.

Thanks!


Refactor the project according to lint rules.

I can work on this issue. I am a participant of GSSOC 21. I will refactor the whole code according to lint rules.

I can work on this issue. I am a participant of GSSOC 21. I will refactor the whole code according to lint rules.

Thanks for the issue but your refactoring won't do anything as multiple contributors might skip it on the next PR. So this issue will be handled during the deployment of the app.

I can work on this issue. I am a participant of GSSOC 21. I will refactor the whole code according to lint rules.

Thanks for the issue but your refactoring won't do anything as multiple contributors might skip it on the next PR. So this issue will be handled during the deployment of the app.

VS code and Android Studio both have excellent internal refactoring methods. Closing this issue.


Generate argument deprecations prevent absolute path model loading

The refactors in generate.py (e6179af46a75afb5118ba1981da0e6594d910803) deprecated the weights and config arguments. If a script running outside of the stable_diffusion folder uses the Generate class, it will try to load from its root not the root of the stable_diffusion folder, leading to a broken file path.
For instance, take the following folder structure:
- root
  - stable_diffusion (submodule)
  - myscript.py

When myscript.py uses Generate, it will try to load weights from root/models/ldm/stable-diffusion-v1/model.ckpt instead of root/stable_diffusion/models/ldm/stable-diffusion-v1/model.ckpt.
Is the correct replacement creating a custom models.yml file with the correct relative paths?

The right thing to do is to pass the path to the models.yaml file when  you initialize the Generate object:
gr = Generate(-conf=>'/path/to/config/file/models.yaml'

I'm doing more refactoring and once the dust settles I will write a full API guide.

The issue I had was when passing the model.yaml file, it was trying to pull the weights from the wrong directory because it searches relative to the stable-diffusion folder, not the script that created the generator. And in my case that script was outside the stable-diffusion folder. So maybe a working directory path could be passed and prepended to the paths found in model.yaml, or Generator could be updated to check from the current working directory.
Just something to consider during the redactor 🙂

So, in this example
gr = Generate(
               conf=>'/path/to/config/file/models.yaml',
               model=>'stable-diffusion-v1.5'
)

you passed an absolute path in conf and it did NOT find the model?

@tildebyte
Correct. I gave it this path in conf:
/Users/***/dream_textures/stable_diffusion/configs/models.yaml

And it failed it fails to find the v1-inference.yaml file references from there because its searching relative to the dream_textures folder not the stable_diffusion submodule folder.
FileNotFoundError: [Errno 2] No such file or directory: '/Users/***/dream_textures/configs/stable-diffusion/v1-inference.yaml'

It should be loaded from:
/Users/***/dream_textures/stable_diffusion/configs/stable-diffusion/v1-inference.yaml

I am also struggling with this same issue, even if the conf is set correctly, it won't start due to issues with v1-inference.yaml not being found Hoping this bump will draw more attention to it.

@unreleased Not really, I just kept using the deprecated parameters to pass the correct absolute paths.

@unreleased In the latest commits, the deprecated parameters no longer work. So instead, I just created my own config.yml with the correct relative paths, which you can see here: https://github.com/carson-katri/dream-textures/pull/324/commits/f3bf259e6dba4139ae44bef73b8244600a6d69ee#diff-8ae208d2e4c753550bb9a731a692bfb2a9961e7706d5d9b6527af162e3c57ade


If before callback returns false, cancel scroll.

Update jquery.scrollify.js

If before callback returns false, cancel scroll

Updated min.js

Used this to allow snapped scrolling up to a horizontal slideshow, progress to the end of the slideshow, and continue snapped scrolling afterward.

Thanks, this will be in the next Scrollify release.


Create a RSS Export

We want to provide an RSS feed for partners to import.
They specifically need:
preprint DOI, review title, date, reviewer author name, link to OSrPRE

IssueHunt Summary

Backers (Total: $100.00)

 prereview ($100.00)

Become a backer now!
Or submit a pull request to get the deposits!
Tips

Checkout the Issuehunt explorer to discover more funded issues.
Need some help from other developers? Add your repositories on IssueHunt to raise funds.

@murkatr, I've been trying to fix this issue but I'm not sure how to get all the data.
Considering the RSS specification, what should I place in the title element? What about the description?
I appreciate if you can provide more technical details.
Thanks.

Hi @willianveiga, that's a good question about the title and description fields. To give some context, this was floated as a possibility specifically for BioArxiv, who were basically willing even to scrape a static page for the content, as a more structured solution for them to keep track of new reviews without having to make a large number of API calls on their page load. Given that, I think there's a large amount of flexibility in how it's structured. This could even be a separate standalone script for generating an RSS feed from the JSON data, as opposed to a proper part of the API. The API documentation for OSrPRE is at https://outbreaksci.prereview.org/api, and here are some examples of how to access the data for preprints:
curl 'https://outbreaksci.prereview.org/api/preprint?q=*:*&include_docs=true'

and reviews:
curl 'https://outbreaksci.prereview.org/api/action?q=*:*&include_docs=true'

Would be down to chat more about structure!

With your help @jheretic, I've created a draft PR.
I appreciate if you could give me a feedback to continue working on it.
Thank you.

still not done yet?

Hi @spiritbro1, thanks for the note that we should probably close this out. We ended up implementing this export as a separate script which you can find here: https://github.com/PREreview/PREreview-feed, and the new platform that merges the features and data from both https://prereview.org and this project is being developed here: https://github.com/prereview/prereview and will include a data export in RSS and other standardized formats built-in to the API.


Add a License

Describe the feature request
Please add a license to the project, so companies know what they get using this project.
Background
I have some auto config features ready to contribute, but without license I can't.
Solution suggestions
I suggest using the Apache 2.0 license, which is used by the Java client here.

Hey! Thanks for picking up on this. That's a very good point, and I support using the same license as the Java client. @praveenpg , do you have any preferences here?

Hey! Thanks for picking up on this. That's a very good point, and I support using the same license as the Java client. @praveenpg , do you have any preferences here?

@thomasheartman Agree, we can use the same license

The license file has now been added. Thanks @mxsb for pointing this out 🙏🏼


Finding reference manuals is hard

It would be really useful if a link to the reference for this library was put somewhere on this page.

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

ID: 7582404b-14df-79e3-643c-202afea30bb5
Version Independent ID: c1e7a230-aaf8-916d-6d43-a15e380ed438
Content: Game Chat 2 overview - UWP app developer
Content Source: windows-apps-src/xbox-live/multiplayer/chat/game-chat-2-overview.md
Product: windows
GitHub Login: @KevinAsgari
Microsoft Alias: tomco

Thank you for taking the time to let us know about this issue. Apologies for the delayed response. Due to the volume of feedback in our content, we are currently prioritizing new issues.
If you believe your feedback still requires action to be taken, please let us know either directly in this thread, by filing a new issue, or by filing a Pull Request  with your recommended updates.
Though the Issue will be marked as closed, we will still receive replies and are able to reopen the issue if necessary.
Thanks again for taking the time to contribute.


Looking for selective post training quantization for 8 bit weights and 16 bit activations

System information
TensorFlow version (you are using): TF 2.13.0
Are you willing to contribute it (Yes/No): No
Describe the feature and the current behavior/state.
Dear TF developers, I'm currently experimenting with PTQ using 8 bit weights and 16 bit activations (W8A16), and I've gotten great results. However, after some experimentation I have identified that only a certain part of my network requires the 16 bit activations. In other word, using 16 bit activations for the entire model is sub-optimal for my use-case.
Hence, I'm looking for a way to selectively quantize a part of my model to 8 bit weights and activations (W8A8), and the other part to W8A16.
In the current state, would this be possible somehow ?
Who will benefit with this feature?
Platforms that support mixed-precision execution of activations.
Any Other info.

Hi @Hrayo712
Mixed precision post training quantization is currently not supported in TFLite. However, the selective quantization is currently supported using Quantization Debugger, which accepts denylisted_nodes and denylisted_op options for skipping quantization for specific layers, or all instances of specific ops.
Thanks.

Hi @pjpratik , thanks for the quick response!
I understand. However, when using selective quantization via the Quantization Debugger, denylisted_nodes are set to FP32 right ? or is there a way to set the denylisted nodes/ops to INT16 ?

Hi @Hrayo712

when using selective quantization via the Quantization Debugger, denylisted_nodes are set to FP32 right ?

Yes, the quantization is skipped for those nodes keeping them in their default FP32.

is there a way to set the denylisted nodes/ops to INT16 ?

Those are just denied ops for quantization. As per the documentation, we don't have an option to set it to INT16.
Can we consider this as feature request?
Thanks.

Hi @pjpratik,
Yes. I think it would be a super valuable feature, to have mixed-precision TFLite models. Perhaps the easy way would be indeed to allow for denylisted ops to be able to be quantized to INT16.
Thanks team!

Hi @abattery, can you please take a look? Thanks.

Hi, @Hrayo712
Thanks for raising this issue. Are you aware of the migration to LiteRT? This transition is aimed at enhancing our project's capabilities and providing improved support and focus for our users. As we believe this issue is still relevant to LiteRT we are moving your issue there. Please follow progress here: https://github.com/google-ai-edge/ai-edge-torch/issues/395
Let us know if you have any questions. Thanks.


Incoming Apple-Mail: e-mail-body is not displayed in the pdf

If I receive an e-mail composed by "Apple-Mail", the headers and attachments are fine in the pdf but the message body is not displayed in the pdf.
I attached a sample EML file as .txt file (debug.eml.txt): Yes. Anonymized, cropped pdf-attachment.
debug.eml.txt

This due to an unusual structure:
-----------Mime Message-----------
> multipart/alternative
> |  text/plain
> |  multipart/mixed
> |  |  text/html
> |  |  application/pdf; inline
> |  |  text/html
----------------------------------

For multipart/alternative there is clear guidance "In general, choosing the best type means displaying only the LAST part that can be displayed.". For "multipart/mixed" "the body parts are independent" (https://datatracker.ietf.org/doc/html/rfc2046). So the correct implementation would be to select both text/html. I will instead add a heuristic to select the larger one.
See also https://stackoverflow.com/questions/26254809/multiple-content-type-text-html-inside-a-multipart-mixed

Should be fixed in https://github.com/nickrussler/email-to-pdf-converter/releases/tag/3.0.0
Please confirm if this works now.

Good morning,
perfect, everything works now as expected. Thank you!
Regards,
mrchang0815


[Feat.]: The host does not have the zip tool installed, obdiag gather failed.

Check Before Asking

[X] Please check the issue list and confirm this feature is encountered for the first time.
[X] Please try full text in English and attach precise description.

Description
The host does not have the zip tool installed. We hope obdiag to support other compression tools.

Other Information
No response

won't fix


Baselines for issue #1739 Use projected dataset bounds ...

@aashish24 these are the new baselines for the bounds fix. I recommend downloading the branch and compare against the old baselines as github does not generate diff for all baselines.

@danlipsa yes.. that's what I was thinking, thanks for the suggestion.


Prevent initial scroll jump in NestedDraggableFlatlist

There is a small glitch when you try to drag n drop an item after performing an initial scroll.
This seems to occurs only in NestedDraggableFlatList.
The outer scroll position is not updated after doing a scroll, which causes a "jump".
It should fix this issue : https://github.com/computerjazz/react-native-draggable-flatlist/issues/509

I tested it out and it doesn't seem to fix the issue 😕

Will this PR be merged? I'm having the same issue and don't want to use patch-package

@ersefuril Your solution doesn't work on my side.

Any chance this is going to be ironed out soon? I definitely see the bug but I haven't tried patching this in yet. I found that as a workaround you can set activationDistance={0}, but this has the unhappy consequence of making nested lists unscrollable unless you drag on a non-list-item element.

Doesnt work on my end. Does anyone else know the fix?


Display issue occurred in both Win10 and MacOS

System Version:

Windows10 Home
MacOS Ventura 13.3.1 (M1 Chip)

Bug Report

If directly enter templates/index.html, there is only a background gif but no characters.

Here is the error log:
[index.html:1]
Access to script at 'file:///.../King_of_Fighters-/static/js/base.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.

[base.js:1]
Failed to load resource: net::ERR_FAILED

If running a python server in the root directory through python -m http.server, I got the same result.
Here is the error log:

[base.js:1]
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

Maybe because your js file is mistaken for the text/plain file by the server, which is disallowed by the browser because it is not a javascript file. You can follow this link to fix it.

Changing the default text/plain to application/javascript in the register can work, but it needs a Python HTTP server instead of opening directly.


[FEATURE] clean build folder: Allows developers to clean build folder…

[FEATURE] clean build folder: Allows developers to clean build folder before start building a project
This PR address the following issue: #45
This PR replaces PR #216 (it had a merge)
Thank you for your contribution! 🙌
To get it merged faster, kindly review the checklist below:
Pull Request Checklist

[x] Reviewed the Contributing Guidelines

Especially the How to Contribute section

[x] No merge commits
[x] Correct commit message style

Coverage increased (+0.02%) to 86.294% when pulling 3b2f7b50e9b0658c7078dfb616da3b47cb461330 on mauriciolauffer:clean-build-folder into eea10ba516c36be6aa3cdb2c8be990bc56f14078 on SAP:master.

Thanks!
lgtm, @tommyvinhlam for final review

I think the next step is to add a CLI parameter.
Since there is already a dest parameter, let's maybe call the new one clean-dest?

fyi, we would like to wait with the next UI5 Builder release for the following PR to get merged: https://github.com/SAP/ui5-builder/pull/304
Until then, you need to npm link the UI5 CLI repository locally with the UI5 Builder repository in order to test this feature.

Update: This feature got released as UI5 Builder v1.4.1.


Changed md5 algorithm to sha256

Signed-off-by: Nisarg Shah<EMAIL_ADDRESS>

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
Detected MD5 hash algorithm which is considered insecure. MD5 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead.
md5.Sum() is changed to sha256.Sum256()

Verification

@nisarg1499 Hi, I would say let's try xxhash. Would you still be interested in continuing this pr?

@nisarg1499 Hi, I would say let's try xxhash. Would you still be interested in continuing this pr?

Hey @yeya24, I would be interested in continuing this PR. I will add the xxhash algorithm.
One thing to clear out, md5 algorithm guarantees 64 length output. But xxhash has 10 length output. So in the code, is there any dependency on length of the answer?

@yeya24 Can you give approval to run workflows?

@nisarg1499 Hi, I would say let's try xxhash. Would you still be interested in continuing this pr?

@yeya24 Can you review the changes?

@kakkoyun @bwplotka  PTAL.

For the alertmanager we use md5 for this and we do not plan to change.

@nisarg1499 Thanks for this contribution. However we don't think, it worths this change. This is used in neither a performance-critical path nor a security-sensitive path. So it doesn't make any practical sense to have this change.
Please don't get discouraged by this, there are plenty of other opportunities to contribute to Thanos :hugs:


Add PowerAPI toolkit scripts and user guide

/cc @kashifest @furkatgofurov7

@furkatgofurov7 @kashifest Thanks for your comments. PTAL once more.


Update MD file on new branch 2017-11-07_15-03-41

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

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


Changing a MutableState inside a coroutine seemingly leads to skipped emissions

I'm incrementing an initially 0 MutableState<Int> twice in a row:

If done outside of a coroutine it works as expected and myPresenter() emits [0,1,2].
If done inside of a newly launched coroutine it emits only [0,2] (skipping the "1" state) .

Is this a bug or working as intended?
And if it is WAI, how come? I naively thought that in both cases I should expect my presenter to emit [0,1,2].
(running Kotlin 1.8.21, kotlinx.coroutines 1.7.1, compose-runtime 1.4.3, molecule 0.9.0, turbine 0.13.0)
package example.test

import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
import app.cash.molecule.RecompositionClock
import app.cash.molecule.moleculeFlow
import app.cash.turbine.test
import kotlinx.coroutines.launch
import kotlinx.coroutines.test.runTest
import org.junit.Test
import kotlin.test.assertEquals

data class MyState(
    val anInt: Int,
    val eventSink: (MyEvent) -> Unit,
)

sealed interface MyEvent {
    object Increment : MyEvent
    object IncrementSuspending : MyEvent
}

@Composable fun myPresenter(): MyState {
    val scope = rememberCoroutineScope()
    val anInt: MutableState<Int> = remember { mutableStateOf(0) }
    return MyState(anInt.value) {
        when (it) {
            MyEvent.Increment -> {
                anInt.value++
                anInt.value++
            }
            MyEvent.IncrementSuspending -> scope.launch {
                anInt.value++
                anInt.value++
            }
        }
    }
}

class MoleculeTestCase {
    @Test fun `process Increment event`() = runTest {
        moleculeFlow(RecompositionClock.Immediate) { myPresenter() }.test {
            awaitItem().apply {
                assertEquals(0, anInt)
                eventSink(MyEvent.Increment)
            }
            assertEquals(1, awaitItem().anInt)
            assertEquals(2, awaitItem().anInt)
        }
    }

    @Test fun `process IncrementSuspending event`() = runTest {
        moleculeFlow(RecompositionClock.Immediate) { myPresenter() }.test {
            awaitItem().apply {
                assertEquals(0, anInt)
                eventSink(MyEvent.IncrementSuspending)
            }
            assertEquals(2, awaitItem().anInt)
        }
    }
}

@JakeWharton any idea about that?

The immediate clock is a best-effort tool: we can trigger recomposition when the state is dirtied, but it is not possible to guarantee that a recomposition will occur each time the state is dirtied.
Honestly, that MyEvent.Increment causes two recompositions is more surprising to me here! I would prefer not to, but obviously unit testing Circuit-style presenters does expose you to it...

Adding a delay(1) in IncrementSuspending like:
MyEvent.IncrementSuspending -> scope.launch {
        anInt.value++
        delay(1) // delay(0) or yield() won't do the trick!
        anInt.value++
      }

Makes it emit 3 items too.
Are you confident it is a limitation of GatedFrameClock or are we hitting some opaque behaviors of coroutines?

Are you confident it is a limitation of GatedFrameClock or are we hitting some opaque behaviors of coroutines?

Speaking as someone who wrote GatedFrameClock and maintains Turbine, this is specifically caused by Turbine's internal usage of the Unconfined dispatcher. If we got rid of that, two increments in a row without an intervening suspension would consistently produce only one item (which is what I would expect to be the case: coalescing multiple state changes into one emission is an important thing Compose does for us)


[BUG]

What happened?
-console spam
What should happen?
Steps to reproduce

Version

[ ] 1.12
[ x] 1.16

Platform

[ x] Forge
[ ] Spigot

Mod version:
Config file
REMOVE YOUR BOT TOKEN BEFORE UPLOADING!!!
Crash report if available (use https://hastebin.com)
https://pastebin.pl/view/c009c837
Additional info

Should be fixed in 2.1.0

Should be fixed in 2.1.0


Add explicit support for 'mini.nvim'

Hi! I would like to add explicit support for mini.nvim.
Basic choices are taken from either highlight groups to which 'mini.nvim' makes default links or from analogous plugins.
Differences from default linked groups:

'mini.indentscope' is based on 'indent_blankline.lua'.
'mini.jump' is based on 'vim_sneak.lua'.
'mini.jump2d' is based on 'hop.lua'.
'mini.starter' is based on 'dashboard.lua', 'which_key.lua', and personal choices:

MiniStarterInactive is same as comments.
MiniStarterItemBullet is blue as borders.
MiniStarterQuery is green to be opposite of pink item's prefix.
MiniStarterSection is flamingo to be visible.

'mini.statusline' is based on 'lualine/themes/catppuccin.lua' and personal choices:

MiniStatuslineDevinfo and MiniStatuslineFileinfo are "slightly different text".
MiniStatuslineModeOther has teal background so that be separable from other modes.

'mini.tabline' is based on 'bufferline.lua':

MiniTablineVisible is "slightly different text".
MiniTablineModified* groups have inverted fg and bg of their counterparts.

'mini.test' has red for fail and green for pass.
'mini.trailspace' has group with red background to draw attention.

Before:
https://user-images.githubusercontent.com/24854248/177376092-2e9836aa-c845-4781-b79a-fbdf4f3175a8.mp4
After:
https://user-images.githubusercontent.com/24854248/177376123-c61ea18e-39b8-4a42-95b1-8811297f2b35.mp4

Lovely! also, thanks for mini, pretty neat plugin :+1:


[BEAM-8885] PubsubGrpcClient doesn't respect PubsubOptions#getPubsubRootUrl

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Run SQL PostCommit

Run SQL PostCommit

LGTM. Thanks. Seems like existing behavior is preserved by default.


Dragging bug fix

Fixes Issue🛠
Closes #162
Description👨💻
While playing game user can able to drag items of games which ruining the enjoyment of game. So now user can't drag it , making game more fun
Type of change📄

[x] Bug fix (non-breaking change which fixes an issue)

How this has been tested✅

Firstly on local host
Also deploy on github pages

And it's working fine ✅
Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷
https://github.com/Rakesh9100/Click-The-Edible-Game/assets/126979961/af634aab-75c8-430d-bfac-c93b78e4a124

Merged!! Congrats on getting your PR merged to this repo under SWOC S4 @sanketshinde3001

Merged!! Congrats on getting your PR merged to this repo under SWOC S4 🎉 @sanketshinde3001


⚠ Bofrost.be has degraded performance

In 5b0e675, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2426 ms

Resolved: Bofrost.be performance has improved in 1bdf3d3.


Async getComponent callbacks triggers component change after location change

Hi, Should the getComponent callbacks be ignored if the location changes before they return? If a callback returns after a location change its component is still rendered...

Version
2.x
Test Case
http://jsbin.com/salecukelo/edit?js,output
Steps to reproduce
Click Delayed to change location and trigger delayed callback, immediately click Instant to change to another location before callback returns.
Expected Behaviour
Location should change to /instant and show Instant
Actual Behaviour
Location changes to /instant and component to Instant but delayed callback still returns a few seconds later and changes the component to Delayed. You end up on /instant route with Delayed component.

I found the solution to this is to hold onto a reference to the callback or promise and cancel it in onLeave()
For example cancelling a promise...
https://github.com/facebook/react/issues/5465#issuecomment-157888325


Update argmin in linfa-linear to version 0.8.0

I haven't had time to finish #236 and now rebasing is a mess. I decided to start from scratch, and this time I'll work through it crate by crate. This PR updates argmin in linfa-linear to version 0.8.0 and it makes the serde crate optional.
If this is accepted I'll open dedicated PRs for linfa-logistic and linfa-ftrl.
EDIT: Looks like argmins MSRV is now 1.62 :/

Codecov Report
Base: 38.47% // Head: 38.47% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (42a3419) compared to base (f816e6e).
Patch coverage: 85.71% of modified lines in pull request are covered.

:exclamation: Current head 42a3419 differs from pull request most recent head 6ca246e. Consider uploading reports for the commit 6ca246e to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #289      +/-   ##
==========================================
- Coverage   38.47%   38.47%   -0.01%
==========================================
  Files          95       94       -1
  Lines        6225     6220       -5
==========================================
- Hits         2395     2393       -2
+ Misses       3830     3827       -3

Impacted Files
Coverage Δ

algorithms/linfa-linear/src/glm/hyperparams.rs
12.96% <ø> (ø)

algorithms/linfa-linear/src/glm/link.rs
18.00% <ø> (ø)

algorithms/linfa-linear/src/isotonic.rs
39.09% <ø> (ø)

algorithms/linfa-linear/src/ols.rs
59.45% <ø> (ø)

algorithms/linfa-linear/src/glm/mod.rs
51.42% <85.71%> (+2.81%)
:arrow_up:

.../linfa-preprocessing/src/countgrams/hyperparams.rs
65.78% <0.00%> (-9.22%)
:arrow_down:

...infa-clustering/src/appx_dbscan/cells_grid/cell.rs
41.93% <0.00%> (-4.84%)
:arrow_down:

src/dataset/iter.rs
50.00% <0.00%> (-4.55%)
:arrow_down:

src/dataset/mod.rs
22.22% <0.00%> (-3.71%)
:arrow_down:

algorithms/linfa-svm/src/classification.rs
38.59% <0.00%> (-3.51%)
:arrow_down:

... and 37 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Can you check if there's any duplicate dependencies on linfa-linear now that you've bumped argmin? Also, the CI is failing because the MSRV for argmin 0.8 is higher than Linfa's MSRV. What's argmin's MSRV?

The MSRV of argmin 0.8 is 1.62. However, I can downgrade to version 0.7, which (according to lib.rs) has a MSRV of 1.59. It shouldn't make a difference for linfa-linear.

Can you check if there's any duplicate dependencies on linfa-linear now that you've bumped argmin?

Does this help?


pull request for e2e test at 12/17/2016 02:45:19

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


MIX2S关机问题

Prerequisites

[x] Have you read the readme?
[x] Do you (want to) have your device in the supported list?
[x] Does the device have a Snapdragon 845 SOC?

Description
[MIX2S关机\重启问题]
预期行为: [正常关机，关机充电不自动开机]
实际行为: [关机黑屏后几分钟设备都是无响应的状态，重启也是差不多要等待好几分钟才能启动，除非长按10s强制重启。
关机状态下连接充电器会自动开机，希望能调用原系统充电动画]
设备描述: [MIX2S 6+64 windows版本：win11 InsiderPreview 22468.1000]

meizu 16th plus同样的问题，关机后只是黑屏不能正常关机，，强制重启后开机会大几率失败进入修复引导，再次重启才会有一定几率开机成功

这个是固件问题，我们可能无法解决
This is a firmware issue. We might not be able to fix it.


Remove version: Ruihu.Apifox version 2.5.11

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

/azp run

URL: http://cdn.apifox.com/download/2.5.11/Apifox-2.5.11.exe
OK
(Automated message - build 911)

Close with reason: Package still available. Closing as requested in other PRs.;

/azp run


Add new graphs

The "view" part of the repository needs to include some more graphs for visualising data.

#2 Here I am testing referencing another open issue.


python37Packages.smart_open: 4.0.1 -> 4.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.smart_open is: "smart_open is a Python 2 & Python 3 library for efficient streaming of very large file"
meta.homepage for python37Packages.smart_open is: ""
meta.changelog for python37Packages.smart_open is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.1.0 with grep in /nix/store/5cwva3a1wsbapv2kias4q283klcvk056-python3.7-smart_open-4.1.0

directory tree listing: https://gist.github.com/7853de091edfbd61441ec7cd4a4cd16c

du listing: https://gist.github.com/c491113e709bc5fa7ce9a415f5a94d4b

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

16 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python37Packages.gensim
python37Packages.smart_open
python38Packages.gensim
python38Packages.smart_open

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5cwva3a1wsbapv2kias4q283klcvk056-python3.7-smart_open-4.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.smart_open https://github.com/r-ryantm/nixpkgs/archive/c9f0846c20ce4496c2037a201efa70534dfc73ad.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/5cwva3a1wsbapv2kias4q283klcvk056-python3.7-smart_open-4.1.0
ls -la /nix/store/5cwva3a1wsbapv2kias4q283klcvk056-python3.7-smart_open-4.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

python37Packages.gensim
python37Packages.smart_open
python38Packages.gensim
python38Packages.smart_open

Maintainer pings
cc @jyp for testing.

Result of nixpkgs-review pr 108024 run on x86_64-darwin 1

4 packages built:

python37Packages.gensim
python37Packages.smart_open
python38Packages.gensim
python38Packages.smart_open


add lift for Compose

What think about adding something like this:
liftC :: forall f g. Functor f => Applicative g => f ~> Compose f g
liftC = map pure >>> Compose

Is there a reason to prefer that to
liftC :: forall f g. Applicative f => Functor g => g ~> Compose f g
liftC = Compose <<< pure

? :wink:
(I mean, for your use case I'm sure there is, just saying in general I'm not sure there's an obvious choice here). I suppose there's an opportunity for another Inject here too perhaps.

yes that would also be a valid function to exist. I think we should have both, what you think about names tho, lift, liftUp?
What you mean by Inject btw?

I mean you could have a class based function that chooses which of these functions to use based on the type, using an instance chain.

ah you mean something like this https://github.com/purescript/purescript-either/blob/v4.1.1/src/Data/Either/Inject.purs#L8-L10
that would be even better.

Here it is:
class Lift f g where
  lift :: f ~> g

instance liftReflexive :: Lift a a where
  lift = identity

else instance liftLeft :: (Functor f, Applicative g) => Lift f (Compose f g) where
  lift = Compose <<< map pure

else instance liftRight :: (Applicative g, Lift f h) => Lift f (Compose g h) where
  lift = Compose <<< pure <<< lift

lift1 :: Identity ~> Compose (Either Unit) (Compose Maybe (Compose (Const Unit) Identity))
lift1 = lift

lift2 :: Identity ~> Compose (Either Unit) (Compose Identity (Compose (Const Unit) Maybe))
lift2 = lift

lift3 :: Identity ~> Compose Identity (Compose (Either Unit) (Compose (Const Unit) Maybe))
lift3 = lift

-- This compiles too but I guess Inject of Either will have same issue, and it's ok?
lift4 :: Identity ~> Compose Identity (Compose Identity (Compose (Const Unit) Maybe))
lift4 = lift

-- this will fail with  ERROR: No type class instance was found for Lift Identity Maybe
lift4 :: Identity ~> Compose Maybe (Compose (Either Unit) (Compose (Const Unit) Maybe))
lift4 = lift

Where should we add this, to Data.Functor.Compose or Data.Functor.Compose.Inject?

Ping

@garyb Should we get this in before v0.14.0? It's not breaking, but seems trivial to do.
I think we might want to rename the lift1 functions to liftC1 so one can use both liftC2 from here and lift2 from Apply in the same file.


Feature: backup all databases

In my scenario I'd like to setup a cron job to periodically backup all the databases in my account - including new ones that I create.

Maybe something like this:
#!/bin/sh

DAYSTAMP=`date +%y%m%d`
for db in $(curl -Ss ${COUCH_URL}/_all_dbs | jq -r '.[] | @uri'); do
  couchbackup --db ${db} > ${db}_${DAYSTAMP}.backup
done

Woah. That looks cool, I'll try it out.

Bingo.

Maybe something like this:
#!/bin/sh

DAYSTAMP=`date +%y%m%d`
for db in $(curl -Ss ${COUCH_URL}/_all_dbs | jq -r '.[] | @uri'); do
  couchbackup --db ${db} > ${db}_${DAYSTAMP}.backup
done

When I try this my txt files are empty, any idea why?

@jay-b no idea, if you run the command for one database alone does it work? are there no error messages at all?

If I run:
couchbackup --url<EMAIL_ADDRESS>--db db_Name > backup.txt
I get the contents of the db in a .txt file as expected.
But if I run:
<EMAIL_ADDRESS>for db in $(curl -Ss ${COUCH_URL}/_all_dbs | jq -r '.[] | @uri'); do   couchbackup --db ${db} > ${db}_.backup.txt
done
I get a blank .txt file and the following error:
Streaming changes to disk: internal/streams/legacy.js:59       throw er; // Unhandled stream error in pipe.       ^
Error: connect ECONNREFUSED <IP_ADDRESS>:5984     at Object.exports._errnoException (util.js:1018:11)     at exports._exceptionWithHostPort (util.js:1041:20)     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14

Looks like the COUCH_URL environment variable isn't visible to the backup command (it's defaulting to localhost 5984) - I think when I did this originally I'd exported it beforehand. So I think you'll just need to figure out the shell scripting needed to make the COUCH_URL env var visible to your couchbackup command.


PiAware - no ADS-B data program seen listening, and nothing in /var/log/piaware

Hi there,
I've installed piaware using the piaware_builder repository for a Debian wheezy system, successfully. This was using the rtl_sdr repository from osmocom and the dump1090 repository from flightaware. The program installs fine, the startup service is ok, and I have successfully configured my username password so that I am connecting to/logging in to the FlightAware servers. I can see this from running the following command:
systemctl status piaware

(as per the last instruction in the piaware repo README. However, at the very end of the output from this command, I see the following message:
piaware[1172]: no ADS-B data program seen listening on port 30005 for 123 seconds, next check in 60s

I'm not sure what that means (what it means by ADS-B program). Perhaps related (but again, not understanding what this means) is the fact that https://flightaware.com/adsb/stats/user/charlesreid1 says "No Such ADS-B Site". I'm able to receive signals just fine, because I see signals from planes when I run:
dump1090 --interactive

which runs smoothly. Further confounding the issue is the fact that there is no /var/log/piaware log file generated. When I check the piaware claim your receiver site, I see the receiver show up in the list.
Any suggestions as to how to fix the ADS-B problem, or figure out what's going on with the log file, would be awesome & much appreciated.

output of $ piaware-config -show:
flightaware-password <hidden>
flightaware-user <hidden>
mlat-results no
wired-network yes

I set mlat results to no because I don't know what multilateration is in the context of FlightAware (a short explanation in the README would be helpful) and am just trying to get this working before turning on any bells and whistles.

dump1090 (generic) or dump1090-fa (FlightAware version) is the program that connects to your RTL dongle receiver and decodes the ADSB messages (ADSB is latest transponder technology). This is the ADSB program that piaware is looking for.
piaware is the program that sends the decoded message to flightaware by listening on the dump1090 output for plane messages
mlat is for decoding and finding positions for older transponders
https://flightaware.com/adsb/mlat/
You can't claim a site on FlightAware until you send decoded plane positions to them. If you have piaware-config setup you should be able to use "sudo systemctl restart dump1090-fa".
You can only connect one dump1090 instance to a dongle. So running multiple copies of dump1090 will return a RTL device not found message because the RTL dongle is busy with the other ADSB program.

Thanks for the quick response! I have dump1090 installed and working standalone. When I start piaware it does not start dump1090. If I try starting dump1090 in another window, the dump1090 program is printing out information on flights, but when I check the status of piaware it still lists the status of the radio as not connected.
The dump1090 program is not on my $PATH or installed as a startup service. The binary is just in the directory where I checked it out (from repo https://github.com/flightaware/dump1090). I built it using make BLADERF=no and am running it like ./dump1090.
Is dump1090 maybe talking to a different port than 30005, the port that piaware is listening on? Is there a way to specify a port when starting dump1090?

The problem was with the way I installed dump1090 (specifically, that I had installed dump1090 and not dump1090-fa, and did not have a startup service associated with it). I revisited the dump1090 installation instructions and installed it as a debian package instead of installing it manually. That put a binary called dump1090-fa on my path, and installed a startup service called dump1090-fa.
Then, I ran service dump1090-fa start, then service piaware start. At the end of the systemctl status piaware I saw the message "piaware received a message from dump1090-fa!" Success!
Documented the whole procedure on the charlesreid1 wiki. Thanks again for your clarifying comment.


Unit test

Closes #46

@rultor merge it.

@rultor merge it.

@portlek OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge it.

@portlek Done! FYI, the full log is here (took me 7min)


Python query param limit

Related to #1498 , but gives support for a query_parameter_limit in Python codegen, very much desirable for my use case with FastAPI.
Initially I wanted to also include Go, but I've failed miserably since all Go code generation uses a single param and don't know about the best way to proceed that requires minimal changes

@danicc097 Sorry for taking forever on this code review. I can promise a quick review if you're able to fix the merge conflicts. If not, I totally understand.

@kyleconroy I noticed Python currently has a default limit of 4, the change to 1 would be breaking. Want to keep it anyway for consistency?

We should keep the default the same, even if it isn't the same as Go's


Missing numpy functions

I use Intellicode extension for code completion, but it misses most functions of numpy and pandas' DataFrame object's methods.

IntelliCode does not provide list of completions, it only rearranges completions that are provided by the language server. I.e., IC is not a completion engine.

@AeneasZhu - could you provide a bit more code, i.e. how SimpleImputer is imported and how numeric_df is defined. Thanks.

@AeneasZhu - could you provide a bit more code, i.e. how SimpleImputer is imported and how numeric_df is defined. Thanks.

from sklearn.preprocessing import SimpleImputer

numeric_df=pd.DataFrame()

I found the intellisence could not detect the unspecified variable type. If I specify df:DataFrame=, the intellisence could pop up.

So pd.DataFrame appears to work (this is 0.4.20 on beta channel).

Closing, feel free to reopen if this is still a problem. There may be occasional issue b/c of #1414.


Fix - Collection page datasets not being refetched after navigating from a sub collection.

What this PR does / why we need it:
Fix bug about datasets from collection not changing when collection changed.
Which issue(s) this PR closes:
Closes #408
Special notes for your reviewer:
Suggestions on how to test this:
Navigate to a dataset in a sub-collection, then click on the breadcrumbs to go to the parent collection for that dataset.
The datasets in that collection will be displayed, and then click on the breadcrumb root to display the new datasets in the root collection.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No.
Is there a release notes update needed for this change?:
No.
Additional documentation:
No.

coverage: 97.809% (+0.004%) from 97.805%
when pulling d82bbcf824124255ad62714309110d305db02668 on fix/408-collection-page-refetch-dataset
into 0d1d97e0e8a495bb278ff4960c25dba67bbef7da on develop.

@ekraffmiller I added the delay (also rename story file from DatasetCreate to CreateDataset), I see now that snapshots are correctly being captured after the delay.
In the case of the Default Story, the snapshots shows now the actual form and not only the loading skeletons. Thanks!


Master / Slave functions for foxy

Are these expected to be released any time soon? The emanual mentions it will be released in Q4 of 2021.

@sardanian Thank you for your interest in contributing to open source and for your enthusiasm in building a career in robotics. We genuinely appreciate your offer to contribute to this repository.
However, as of 2022, we have significantly reduced our active management of this open platform. While we are in the process of forming an open-source TF team to handle outstanding issues, this repository is not currently a priority for us. Given these circumstances, we may not be able to provide the level of support and collaboration necessary for meaningful contributions at this time.
We recommend exploring other actively maintained robotics projects or repositories where your efforts can have a more immediate and impactful contribution. Your passion and initiative are commendable, and we encourage you to continue pursuing open source opportunities within the robotics community. Thank you again for your understanding and interest.


Sorting the order of imports based on Pylint

I sorted some files so that the imported libraries are now in the proper order.

Hello! We can add a linter on pre-commit, or add a linter on github actions, whats your thoughts about it?

Hello, absolutely! A linter on pre-commit just ensures a basic common format.
A project I sometimes contribute to (CodeCarbon) has pre-commit but also linter on github actions. I'd recommend you take a look at this approach, of course it might first be more effort, but with pre-commit, contributers can easily lint and format the code locally, but you can ensure on Github that everything was properly formatted with actions.

Additionally, thank you very much for adding me as a contributer! Happy to be involved 🙌

Hello, absolutely! A linter on pre-commit just ensures a basic common format. A project I sometimes contribute to (CodeCarbon) has pre-commit but also linter on github actions. I'd recommend you take a look at this approach, of course it might first be more effort, but with pre-commit, contributers can easily lint and format the code locally, but you can ensure on Github that everything was properly formatted with actions.

Wow, having carbon quantified its absolutely a market trend, and its become hugely important nowaday, I think its an awesome idea! Lets create a discord channel so we can decide together the next steps, nice to have you Christian!

Yes, it's a great project! And there is a lot of stuff already done that is just soooo nice for CI.


new Sql($adapter) should propagate with sql statement

re-create of https://github.com/zendframework/zendframework/pull/6767

@samsonasik unit tests should be leveraging the mocks in this case, can you please take a look and update the unit tests?

@mwillbanks do you means I need to mock the Adapter ? The tests that was added already using real Adapter.

@mwillbanks do you means I need to mock the Adapter ? The tests that was added already using real Adapter.

what I need to do if I need execute same sql on different db?
create new sql statement?

I guess that should be worked to be re-used query, if there is a case like that, we may do something like this:
$firstAdapter = new Adapter([...]);
$secondAdapter = new Adapter([...]);

function repeatSql(Sql $sql)
{
    // create new update query
    $update = $sql->update('table');
    $update->where(array('id'=>1));
    $update->set(array('foo'=>'bar'));

    return $update;
}

$sql = new Sql($firstAdapter);
echo repeatSql($sql)->getSqlString();

$sql = new Sql($secondAdapter);
echo repeatSql($sql)->getSqlString();

That looks so bad. An SQL statement builder that depends on adapter, even though the whole point is not worry about vendor specific, and then have to recreate whole object just because one dependency changed?  Makes user feel as if strategy pattern or similar is used on surface, but then forces you to recreate it. Constructor should maybe take adapter as optional parameter and then have a setter for it. That way,
$sql = new Sql();

$adapter1 = new Adapter();
$adapter2 = new Adapter();

$sql->setAdapter($adapter1);
echo $sql->getSqlString();

$sql->setAdapter($adapter2);
echo $sql->getSqlString();

And if forgotten to specify adapter, throw exception.

there is no setAdapter() in Sql class even before it. To do that, we may need to add Zend\Db\Adapter\AdapterAwareTrait into Sql class ?

Yes, I meant as an API improvement. But preferably without aware trait, since SM 3 worked on not using those anymore. Or maybe this is an acceptable exception.

But then @turrsis already has PR which separates this annoyance into SQL as abstract declarative object, and builder which parses it based on adapter (hope thats a decent description). Maybe can sit this out until that gets reviewed and pulled in as a proper solution.


Fix searching imposter files

Previous implementation collected all file that have imposterExtension
in their name, for example "somefile.json.imp.swp".
Now for file to be collected its filename must end with
imposterExtension.

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master     #37   +/-   ##
======================================
  Coverage    97.4%   97.4%
======================================
  Files           5       5
  Lines         154     154
======================================
  Hits          150     150
  Misses          2       2
  Partials        2       2

Impacted Files
Coverage Δ

internal/imposter.go
80% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74336de...2acdb67. Read the comment docs.

I hope that is what you requested. I'm not the best one with succinct, pithy English sentences...

You need to resolve the conflict against master branch before that we can merge your changes


Utf8 header not center

Your function longest_line failed in uft8, I suggest create a function to count utf8 length similar to this

i just pushed a commit that should fix this
https://github.com/goolord/alpha-nvim/commit/97ef0679ebd4a2cba171f1f32a4612bbc355c0c0#diff-ec96159a0e4ab00d2629897381414ffd88f8e88aa0b82e2f8ba6e24da2873239R15-R25
i decided to use vim.fn.strdisplaywidth because

should be accurate
don't have to write it myself
i don't really know the performance characteristics, but it shouldn't be too big an overhead since longest_line gets memoized

testing it on my machine seemed to fix the problem !