Failed to build TF 1.14 on Windows with CUDA 10.1

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 14393.0
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version: branch r1.14
Python version: 3.6.8
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source): 0.25.1
GCC/Compiler version (if compiling from source): MSVC 14.24.28314 (Visual Studio 2019.4)
CUDA/cuDNN version: 10.1/7.6.5
GPU model and memory: GTX 1050 4GB

Describe the problem
I tried to compile TF 1.14 with CUDA 10.1 on windows several times and always encounter the following failure. There seems to be no related issues in this repo. I searched through the Internet and find nothing helpful. I am very appreciated if someone can help me.
H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\Eigen\src/Core/util/Memory.h(85): warn
ing: ignoring return value from routine declared with "nodiscard" attribute

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\Eigen\src/Core/CwiseBinaryOp.h(105): w
arning: __host__ annotation is ignored on a function("CwiseBinaryOp") that is explicitly defaulted on its first declarat
ion

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\Eigen\src/Core/CwiseBinaryOp.h(105): w
arning: __device__ annotation is ignored on a function("CwiseBinaryOp") that is explicitly defaulted on its first declar
ation

.\tensorflow/core/kernels/cwise_ops.h(37): warning: type qualifier on return type is meaningless

.\tensorflow/core/kernels/cwise_ops.h(47): warning: type qualifier on return type is meaningless

.\tensorflow/core/kernels/cwise_ops.h(209): warning: __host__ annotation is ignored on a function("scalar_left") that is
 explicitly defaulted on its first declaration

.\tensorflow/core/kernels/cwise_ops.h(209): warning: __device__ annotation is ignored on a function("scalar_left") that
is explicitly defaulted on its first declaration

.\tensorflow/core/kernels/cwise_ops.h(239): warning: __host__ annotation is ignored on a function("scalar_right") that i
s explicitly defaulted on its first declaration

.\tensorflow/core/kernels/cwise_ops.h(239): warning: __device__ annotation is ignored on a function("scalar_right") that
 is explicitly defaulted on its first declaration

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\Eigen\src/Core/functors/UnaryFunctors.
h(112): warning: calling a __host__ function("std::conj<float> ") from a __host__ __device__ function("Eigen::internal::
scalar_conjugate_op<    ::std::complex<float> > ::operator () const") is not allowed

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\unsupported\Eigen\CXX11\src/Tensor/Ten
sorExecutor.h(334): error: calling a __host__ function("std::conj<float> ") from a __device__ function("Eigen::internal:
:EigenMetaKernelEval< ::Eigen::TensorEvaluator<const  ::Eigen::TensorAssignOp< ::Eigen::TensorMap< ::Eigen::Tensor<    :
:std::complex<float> , (int)1, (int)1, int> , (int)16,  ::Eigen::MakePointer> , const  ::Eigen::TensorCwiseUnaryOp< ::Ei
gen::internal::scalar_conjugate_op<    ::std::complex<float> > , const  ::Eigen::TensorMap< ::Eigen::Tensor<const     ::
std::complex<float> , (int)1, (int)1, int> , (int)16,  ::Eigen::MakePointer> > > ,  ::Eigen::GpuDevice> , int, (bool)0>
::run") is not allowed

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\unsupported\Eigen\CXX11\src/Tensor/Ten
sorExecutor.h(334): error: identifier "std::conj<float> " is undefined in device code

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\Eigen\src/Core/functors/UnaryFunctors.
h(112): warning: calling a __host__ function("std::conj<double> ") from a __host__ __device__ function("Eigen::internal:
:scalar_conjugate_op<    ::std::complex<double> > ::operator () const") is not allowed

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\unsupported\Eigen\CXX11\src/Tensor/Ten
sorExecutor.h(334): error: calling a __host__ function("std::conj<double> ") from a __device__ function("Eigen::internal
::EigenMetaKernelEval< ::Eigen::TensorEvaluator<const  ::Eigen::TensorAssignOp< ::Eigen::TensorMap< ::Eigen::Tensor<
::std::complex<double> , (int)1, (int)1, int> , (int)16,  ::Eigen::MakePointer> , const  ::Eigen::TensorCwiseUnaryOp< ::
Eigen::internal::scalar_conjugate_op<    ::std::complex<double> > , const  ::Eigen::TensorMap< ::Eigen::Tensor<const
 ::std::complex<double> , (int)1, (int)1, int> , (int)16,  ::Eigen::MakePointer> > > ,  ::Eigen::GpuDevice> , int, (bool
)0> ::run") is not allowed

H:\workspace\_bazel_cache\3wteafhd\execroot\org_tensorflow\external\eigen_archive\unsupported\Eigen\CXX11\src/Tensor/Ten
sorExecutor.h(334): error: identifier "std::conj<double> " is undefined in device code

4 errors detected in the compilation of "C:/Users/ASUS/AppData/Local/Temp/nvcc_inter_files_tmp_dir/cwise_op_gpu_conj.cu.
cpp1.ii".
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 6617.850s, Critical Path: 192.36s
INFO: 4051 processes: 4051 local.
FAILED: Build did NOT complete successfully

Provide the exact sequence of commands / steps that you executed before running into the problem
configure.py output:
WARNING: --batch mode is deprecated.
You have bazel 0.25.1 installed.
Please specify the location of python. [Default is C:\Program Files\Python36\python.exe]:

Found possible Python library paths:
  C:\Program Files\Python36\lib\site-packages
Please input the desired Python library path to use.  Default is [C:\Program Files\Python36\lib\site-packages]

Do you wish to build TensorFlow with XLA JIT support? [y/N]:
No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]:
No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.

Found CUDA 10.1 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include
Found cuDNN 7 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include

Please specify a list of comma-separated CUDA compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
Please note that each additional compute capability significantly increases your build time and binary size, and that Te
nsorFlow only supports compute capabilities >= 3.5 [Default is: 3.5,7.0]: 6.1

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is /a
rch:AVX]: /arch:AVX2

Would you like to override eigen strong inline for some C++ compilation to reduce the compilation time? [Y/n]:
Eigen strong inline overridden.

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .baze
lrc for more details.
        --config=mkl            # Build with MKL support.
        --config=monolithic     # Config for mostly static monolithic build.
        --config=gdr            # Build with GDR support.
        --config=verbs          # Build with libverbs support.
        --config=ngraph         # Build with Intel nGraph support.
        --config=numa           # Build with NUMA support.
        --config=dynamic_kernels        # (Experimental) Build kernels into separate shared objects.
Preconfigured Bazel build configs to DISABLE default on features:
        --config=noaws          # Disable AWS S3 filesystem support.
        --config=nogcp          # Disable GCP support.
        --config=nohdfs         # Disable HDFS support.
        --config=noignite       # Disable Apache Ignite support.
        --config=nokafka        # Disable Apache Kafka support.
        --config=nonccl         # Disable NVIDIA NCCL support.

command used to build: bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package --jobs 2
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@a5467021
Can you please try with the tested build configuration and check whether the issue still persists. Thanks!

I installed VS2017 build tools alongside my VS2019. The bazel build command was successful after swtiching to VS2017. But I encountered following new error when building pip package:
> bash tensorflow\tools\pip_package\build_pip_package.sh tf-1.14
Tue Mar 10 10:40:05 2020 : === Preparing sources in dir: /tmp/tmp.yuyBwdvKxu
Unzipping simple_console_for_windows.zip to create runfiles tree...
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/detail/functional/operators/compound_assignment_operators.h
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/detail/type_traits/algorithm/intermediate_type_from_function_and_iterators.h
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/iterator/detail/iterator_category_with_system_and_traversal.h
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/agent/agent_radix_sort_downsweep.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/agent/agent_radix_sort_upsweep.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/agent/single_pass_scan_operators.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/block_adjacent_difference.cuh
        No such file or directory
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_histogram_atomic.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_histogram_sort.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_reduce_raking.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_reduce_raking_commutative_only.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_reduce_warp_reductions.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_scan_raking.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_scan_warp_scans.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_scan_warp_scans2.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/block/specializations/block_scan_warp_scans3.cuh.
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/device_run_length_encode.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/device_segmented_radix_sort.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/device_segmented_reduce.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_histogram.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_radix_sort.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_reduce.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_reduce_by_key.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_rle.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_scan.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_select_if.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/device/dispatch/dispatch_spmv_orig.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/arg_index_input_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/cache_modified_input_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/cache_modified_output_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/constant_input_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/counting_input_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/discard_output_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/tex_obj_input_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/tex_ref_input_iterator.cuh
        No such file or directory
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/iterator/transform_input_iterator.cuh
        No such file or directory
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations/warp_reduce_shfl.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations/warp_reduce_smem.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations/warp_scan_shfl.cuh.
checkdir error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations
                 No such file or directory
                 unable to process runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/system/cuda/detail/cub/warp/specializations/warp_scan_smem.cuh.
error:  cannot create ./bazel-bin/tensorflow/tools/pip_package/simple_console_for_window_unzip/runfiles/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual/third_party/gpus/cuda/include/thrust/type_traits/is_operator_less_or_greater_function_object.h
        No such file or directory

There maybe something wrong with the unzip command in my cmd environment. Some files are skipped. I executed the same command in MSYS2 bash and successfully built the wheel. The wheel is functioning. Great!

@a5467021
Looks like issue got resolved.Please close this thread if your issue was resolved. Thanks!


ensure Compile protos are available for import in Test

fix regression from c785478

Thanks for catching this! The reason I picked includeRoot=false is that with it, we end up adding protoSources twice to the include path. This also happened in the original implementation, prior to c785478. I think it would actually be better to generate settings for the Test config by default, the same way we do for the compile config, so inConfig(Test)(sbtprotoc.ProtocPlugin.protobufConfigSettings) wouldn't be necessary any more (which was a ptifall for some users). For those who already have this line in the and update to 0.99.31, things would continue to work, unless they have test protos that depend on compile protos.

It makes sense to go into that direction.
One note about the implementation though. Based on my experience with https://github.com/akka/akka-grpc/pull/702/commits/c5c3162545b3b6b4b33579bf76729a7b69ab78fd and going back to https://github.com/thesamet/sbt-protoc/issues/108

For PB.protocOptions, PB.protoSources & PB.includePaths that #16 also touched, one can argue that inheriting values for these keys makes sense since they do not define target/output paths.

I think letting includePaths inherit from its parent(s) config(s) via scope delegation would make it easier for clients to inject protobufConfigSettings to another configuration like IntegrationTest. That way, they won't have to mess with includePaths - it's feels natural that a config allows children configs to link against its own artifacts.
   override def projectSettings: Seq[Def.Setting[_]] =
-     protobufGlobalSettings ++ inConfig(Compile)(protobufConfigSettings) ++ inConfig(Test)(
-      protobufConfigSettings :+ (PB.includePaths ++= (PB.includePaths in Compile).value)
-    )
+    protobufGlobalSettings ++ Seq(Compile, Test).flatMap(inConfig(_)(protocExtensionsConfigSettings))

-     PB.includePaths := PB.protoSources.value,
+    PB.includePaths := PB.includePaths.?.value.getOrElse(Nil),
+    PB.includePaths ++= PB.protoSources.value,

I made the change you suggested, and added an itconfig test - it doesn't seem that IntegrationTest config picks up the compile's includePath. Will you be able to take a look and help making it work?

@thesamet it looks like you were missing configs(IntegrationTest). I got the scripted test to work in https://github.com/thesamet/sbt-protoc/commit/b17ca642dea4db9396e8c4b7aed324cd09ef613b. I would have expected usage of configuration unknown to a project to fail, but it looks like it works partially (scope delegation not picking up the parent Configurations...).

I had a look at the implementation, and it confirms the unfortunate behavior:
https://github.com/sbt/sbt/blob/v1.3.8/main/src/main/scala/sbt/internal/Load.scala#L200
https://github.com/sbt/sbt/blob/v1.3.8/main/src/main/scala/sbt/internal/Load.scala#L217
https://github.com/sbt/sbt/blob/v1.3.8/main/src/main/scala/sbt/internal/Load.scala#L666

Great, thanks for your help on this @bjaglin . I updated the test, added docs. I also update  PB.includePaths to ensure that what we build has no duplicates: https://github.com/thesamet/sbt-protoc/commit/0153947b1b90cfbeb1c17948310bd2aca0eed278#diff-608890ca313eef1990a1b4bb7bb3d467R152-R157

Perfect, closing this as fixed by master on https://github.com/thesamet/sbt-protoc/commit/0153947b1b90cfbeb1c17948310bd2aca0eed278

Released sbt-protoc 0.99.31 which also includes c0b747847be7f894e1ea4b0e7eb4250ca1ce549d


max_subscriptions_per_client 5 reached

Request: msgInstantiateContract. All worked fine but today we get that error on instantiate that appear in random order.

Response:

it is a tendermint thing.. not from terra.js.
i guess.. too many simultaneous request may causes this.

I have run into this issue as well. It occurred when I had multiple transactions being broadcast, when transactions were being broadcast simultaneously rather than in a synchronous fashion.


[WIP] Grouping improvements

The aim here is to send tokens to Bugsnag so we can more reliably group the code.

Replaced by #300.

I didn't like where this was going.


How to show all text in a cell

I got a large text in one column and I want to show all. But it only show a few letters and ...

I was looking the docs but without success...
Thanks in advance

The ellipsis show when the column data is wider than the column.
You can either make the column wider using a header css style in the TH for that column:
data-header-css-class="col-review"

and then create that class in your styles:
.col-review {
width: 100px;
}

OR if you don't want to resize the column, but just make the data visible on say hover, create a column formatter.
In the TH:
data-formatter="review"

In your object definition:
"review": function(column, row) {
return ''+row.review+'';
},

...and on hover, you'll see all the text.

Thanks! It is a solution. But what I did was to create a CSS file with this
table tbody tr td {
    white-space: normal !important;
    height: auto !important;
}

Because I needed to keep database breaklines with the nl2br PHP function.
This can be closed

@JuanWilde you can close the issue by clicking "close"


Allow Error return customization

Is your feature request related to a problem? Please describe.
We have the need to customize Error responses, e.g.: Add an Error Code/Status Code. And we feel that it's kind of limiting to only have messages.InvokeResponse_Error{} as Error Return.
Describe the solution you'd like
Is it possible to make this customizable via Custom JSON Serialization ?
Describe alternatives you've considered
N/A
Additional context
N/A

integrations that call Lambdas have had years to ossify the assumption that an error json will look something like this:
{
...
  "errorMessage": ...,
...
}

so the approach for this probably shouldn't be as simple as delegating json.Marshal, that feels like a footgun for a bunch of users if errorMessage could accidentally go missing. Somehow the messages.InvokeResponse_Error{} and your custom serialization result would have to be merged. Or perhaps the custom serialization result nested inside like:
type InvokeResponse_Error struct {
	Message    string                             `json:"errorMessage"`
	Type       string                             `json:"errorType"`
	StackTrace []*InvokeResponse_Error_StackFrame `json:"stackTrace,omitempty"`
	ShouldExit bool                               `json:"-"`
	// new field, populated with the result of `json.Marshal` if the handler error has a `MarshalJSON` receiver defined
	Custom json.RawMessage                        `json:"custom,omitempty"`
}

/cc @carlzogh
If we went this this approach, we'd also wanna check that it behaves with the go1.x RPC client.

@driverpt Are you running your functions with go1.x, provided, or provided.al2? If your custom fields appeared nested in the existing error json, would that still fit your use case?

Our functions are running on provided.al2.
Ideally it would have a json.Marshall(err).
Is it possible to have a Global Flag to tell the handler to use Custom errors?


Repeating an edit/publish/view cycle results in multiple browser tabs

Issue Summary
It could just be my personal preference, but I'm not keen on the direction of the change to make the live button open consistently in a new window. The consistency part is a good thing - I'd always thought there was some user experience logic behind the inconsistency that I just didn't get.
If your edit cycle revolves around the Wagtail user bar and you perform multiple page edits you end up with multiple tabs open. I personally find that a little irritating.
Steps to Reproduce
For instance, repeating this cycle a few times results in multiple windows:

Click 'edit page' on userbar widget
Edit page
Publish change
Click View Live in the publish confirmation message (previously this step opened page in same tab)
Browse frontend to another page
Repeat cycle....

Maybe a future version should have a config setting to control if new windows are opened or not
Technical details

Wagtail version: 1.9rc1

I’m going to close this in favour of #6123, where we generally advocate getting rid of all "force open in new window", with View Live mentioned in particular.


Zuul Push Server SSE protocol not working

When Running Zuul Push Server in SSE (Server Sent Events), Push Protocol is not working correctly.
Problem Description
Messages mentioned below are never received by the client:

com.netflix.zuul.netty.server.push.PushProtocol.SSE

goAwayMessage()
serverClosingConnectionMessage()

all the calls of
com.netflix.zuul.netty.server.push.PushProtocol.sendErrorAndClose()

retry message from com.netflix.zuul.sample.push.SampleSSEPushClientProtocolHandler.channelRead()

String reconnectInterval = "retry: " + SSE_RETRY_BASE_INTERVAL.get() + "\r\n\r\n";
ctx.writeAndFlush(reconnectInterval);

more over:
com.netflix.zuul.netty.server.push.PushRegistrationHandler.keepAlive() will work only for websockets:

if (KEEP_ALIVE_ENABLED.get()) {
    this.ctx.writeAndFlush(new PingWebSocketFrame());
}

Cause Explanation
This is because all of theses message are sent as String messages, and as such will be ignored by HttpObjectEncoder.write()
(which is called by io.netty.handler.codec.http.HttpServerCodec set in com.netflix.zuul.netty.server.push.PushChannelInitializer)
HttpObjectEncoder.write() accepts only following types
io.netty.handler.codec.http.FullHttpMessage
io.netty.handler.codec.http.HttpMessage
io.netty.handler.codec.http.LastHttpContent
io.netty.handler.codec.http.HttpContent
io.netty.buffer.ByteBuf
io.netty.channel.FileRegion

so all not working protocol messages should be probably sent as ByteBuf
(just like com.netflix.zuul.netty.server.push.PushProtocol.SSE.sendPushMessage() which works)
How to Replicate

Launch Zuul Push Server

set SampleServerStartup.SERVER_TYPE to SSE
run Bootstrap.main()

In first terminal window register to the Push Server with user ala:

curl -v "http://localhost:7001/sse" \
--header 'Accept: text/event-stream' \
-b 'userAuthCookie=ala'

In the second terminal window send message to user ala:

curl -v http://localhost:7008/push \
--header 'X-CUSTOMER_ID: ala' \
-d 'message to ala'

observe (in first terminal window) that no protocol messages are received (for example missing message "retry" below):
kublikd@J4MJ4HHYH3 push-server % curl -v "http://localhost:7001/sse" \
--header 'Accept: text/event-stream' \
-b 'userAuthCookie=ala'
* Host localhost:7001 was resolved.
* IPv6: ::1
* IPv4: <IP_ADDRESS>
*   Trying [::1]:7001...
* Connected to localhost (::1) port 7001
> GET /sse HTTP/1.1
> Host: localhost:7001
> User-Agent: curl/8.6.0
> Cookie: userAuthCookie=ala
> Accept: text/event-stream
>
< HTTP/1.1 200 OK
< Connection: keep-alive
< Content-Type: text/event-stream
< Transfer-Encoding: chunked
<
event: push
data: message to alice

should be:
kublikd@J4MJ4HHYH3 push-server % curl -v "http://localhost:7001/sse" \
--header 'Accept: text/event-stream' \
-b 'userAuthCookie=ala'
* Host localhost:7001 was resolved.
* IPv6: ::1
* IPv4: <IP_ADDRESS>
*   Trying [::1]:7001...
* Connected to localhost (::1) port 7001
> GET /sse HTTP/1.1
> Host: localhost:7001
> User-Agent: curl/8.6.0
> Cookie: userAuthCookie=ala
> Accept: text/event-stream
>
< HTTP/1.1 200 OK
< Connection: keep-alive
< Content-Type: text/event-stream
< Transfer-Encoding: chunked
<

retry: 5000

event: push
data: message to alice

other messages (mentioned in the first paragraph will also be missing)

created PR for this here -> https://github.com/Netflix/zuul/pull/1811


Remove resources file

We stopped using a resource file in the SDK a while ago (I believe it was due to some obscure windows phone bug but forget the details). However the resource file was never removed completely and so usages of it keep creeping back in to the code base.
We need to remove the resource file completely and fix any instances where strings from the resource file are used in the code base.

I think this causes crash after calling Client.Login(MicrosoftAccountProvider); on Win mobile 10
this exception is thrown
'System.IO.FileNotFoundException' in mscorlib.ni.dll

Please look at this section of the ReadMe that highlights the future of Azure Mobile Apps. At this time, we are not adding any new features in the SDK. Thanks!


🐛  Open a repo where Svelte is not in root

Describe the bug
If a GitHub repo is opened where the svelte files are not in the root, they could not be loaded.
To Reproduce
Try this: https://www.sveltelab.dev/?provider=github&owner=KoljaL&repo=simpleKanban
Expected behavior
A way to set the root folder

You can also open a path of your repository:
https://sveltelab.dev/github.com/KoljaL/simpleKanban/tree/main/svelte
will open the svelte folder of your github repo. Is that what you are trying to do?

But I still get the same error:
Failed to load url /src/lib/icons/Plus.svelte (resolved id: /home/httpswwwsveltelabdev-n1l0-f0869cv8/src/lib/icons/Plus.svelte) in /home/httpswwwsveltelabdev-n1l0-f0869cv8/src/lib/components/NewTopic.svelte. Does the file exist?
Error: Not found: /src/lib/icons/Plus.svelte

edit:
The file is named lowercase plus.svelte in the Github Repo, but uppercase Plus.svelte in my local Repo.

But not locally:

Even after duplicating and renaming, it's not.
Very strange...

Git does not track rename when the only things that change is the case...I think you can use something like git rename command

Oh, good to know!
Now it's Plus.svelte :-)


Add an API to the diagnostic API for retrieving the individual components of logged diagnostics

In the current diagnostics API, you cannot retrieve the arguments user specified when logging the diagnostic. e.g., the types related to the error.
Need to provide an API to provide access to these info as well.

Sub task: #27211


Add test cases for memory context

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
Add test cases for memory context.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[x] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 75.071% when pulling f6c7cb58048a8a2ea445c4dbe346961054f1d74e on node-red-hitachi:context-test-memory into 6bccdd015f347e6c3423a50fb02ac549c5a7e531 on node-red:master.


Unable to Compile with Jan 20th 2021 Commits

Errors compiled from current master..Error below.. Rolled back to Commit from Jan 19th and compiles fine.
Scanning dependencies of target dbz2
[ 39%] Building C object src/dbz2/CMakeFiles/dbz2.dir/dbz2.c.o
/xfers/mpifileutils/mpifileutils/src/dbz2/dbz2.c: In function ‘main’:
/xfers/mpifileutils/mpifileutils/src/dbz2/dbz2.c:165:9: error: too many arguments to function ‘mfu_param_path_set_all’
165 |         mfu_param_path_set_all((uint64_t)numpaths, (const char**)p, paths, mfu_file);
|         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /xfers/mpifileutils/install/include/mfu_io.h:42,
from /xfers/mpifileutils/install/include/mfu_util.h:36,
from /xfers/mpifileutils/install/include/mfu.h:24,
from /xfers/mpifileutils/mpifileutils/src/dbz2/dbz2.c:16:
/xfers/mpifileutils/install/include/mfu_param_path.h:78:6: note: declared here
78 | void mfu_param_path_set_all(uint64_t num, const char** paths, mfu_param_path* params);
|      ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/dbz2/CMakeFiles/dbz2.dir/build.make:63: src/dbz2/CMakeFiles/dbz2.dir/dbz2.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:665: src/dbz2/CMakeFiles/dbz2.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I blew everything away and started over... the above error is gone... but i still cant compile...
this is the current error and i have this error on two different systems.. one ubuntu 20.04 and 18.04
/xfers/mpifileutils/mpifileutils/src/dtar/dtar.c: In function ‘main’:
/xfers/mpifileutils/mpifileutils/src/dtar/dtar.c:389:5: error: too few arguments to function ‘mfu_param_path_set’
389 |     mfu_param_path_set(cwd, &cwd_param);
|     ^~~~~~~~~~~~~~~~~~
In file included from /xfers/mpifileutils/mpifileutils/src/common/mfu_io.h:42,
from /xfers/mpifileutils/mpifileutils/src/common/mfu_util.h:36,
from /xfers/mpifileutils/mpifileutils/src/common/mfu.h:24,
from /xfers/mpifileutils/mpifileutils/src/dtar/dtar.c:20:
/xfers/mpifileutils/mpifileutils/src/common/mfu_param_path.h:69:6: note: declared here
69 | void mfu_param_path_set(const char* path, mfu_param_path* param, mfu_file_t* mfu_file);
|      ^~~~~~~~~~~~~~~~~~
make[2]: *** [src/dtar/CMakeFiles/dtar.dir/build.make:63: src/dtar/CMakeFiles/dtar.dir/dtar.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1124: src/dtar/CMakeFiles/dtar.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I blew everything away and started over... the above error is gone... but i still cant compile...
this is the current error and i have this error on two different systems.. one ubuntu 20.04 and 18.04
/xfers/mpifileutils/mpifileutils/src/dtar/dtar.c: In function ‘main’:
/xfers/mpifileutils/mpifileutils/src/dtar/dtar.c:389:5: error: too few arguments to function ‘mfu_param_path_set’
389 |     mfu_param_path_set(cwd, &cwd_param);
|     ^~~~~~~~~~~~~~~~~~
In file included from /xfers/mpifileutils/mpifileutils/src/common/mfu_io.h:42,
from /xfers/mpifileutils/mpifileutils/src/common/mfu_util.h:36,
from /xfers/mpifileutils/mpifileutils/src/common/mfu.h:24,
from /xfers/mpifileutils/mpifileutils/src/dtar/dtar.c:20:
/xfers/mpifileutils/mpifileutils/src/common/mfu_param_path.h:69:6: note: declared here
69 | void mfu_param_path_set(const char* path, mfu_param_path* param, mfu_file_t* mfu_file);
|      ^~~~~~~~~~~~~~~~~~
make[2]: *** [src/dtar/CMakeFiles/dtar.dir/build.make:63: src/dtar/CMakeFiles/dtar.dir/dtar.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1124: src/dtar/CMakeFiles/dtar.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

it did fix it..thanks...

it did fix it..thanks...


[6.1] Remove beta tag from unavailable symbols. (#1121)

Explanation:  Symbols that are unconditionally unavailable in all the platforms should not be tagged as beta. Before this fix the isBeta logic was returning true for symbols that were unavailable in all the platforms. Now is filtering out these platforms before assessing if it's beta or not.
Scope: Symbol availability information.
Issue: rdar://140415995
Risk: Low
Testing: New tests added to verify that a symbol is not marked in beta if all the platforms are unavailable.
Reviewer: @d-ronnqvist
Original PR: https://github.com/swiftlang/swift-docc/pull/1121

@swift-ci please test


Optionally disable AMD?

Is there a way to optionally disable the AMD define packing?
My use case is that requirejs is already loaded on the page, and I would like to define a module with it without using webpack.
Is this possible?
Ben

Nevermind, fixed it by changing define to window.define as hack workaround.


GROOVY-5001, GROOVY-5491, GROOVY-6144: map property precedence

There is still some asymmetry between read and write for protected fields.  But I wasn't sure if I should add a protected check to read or remove the protected check from write (see MetaClassImpl#setProperty circa GROOVY-5985 comment).  Also, read will use a category-supplied propertyMissing method before general get(String) method(s) and write does not.
https://issues.apache.org/jira/browse/GROOVY-5001
https://issues.apache.org/jira/browse/GROOVY-5491
https://issues.apache.org/jira/browse/GROOVY-6144
see also:
https://issues.apache.org/jira/browse/GROOVY-662
https://issues.apache.org/jira/browse/GROOVY-8065
https://issues.apache.org/jira/browse/GROOVY-8074

I agree it would be good for the get and set behaviors to be aligned. The suggested external behavior seems okay and I would add 'metaClass' as an additional case to test for.
What worries me is the change in behavior for closures. The following currently passes:
class Foo {
    @Delegate Map m = [:]
    def x = 4
    protected y = 5
    private z = 6
    void method() {
        def w = 3
        assert 3 == { -> w }()
        assert null == { -> x }()
        assert null == { -> y }()
        assert null == { -> z }()
    }
}

class Bar {
    def x = 4
    protected y = 5
    private z = 6
    void method() {
        def w = 3
        assert 3 == { -> w }()
        assert 4 == { -> x }()
        assert 5 == { -> y }()
        assert 6 == { -> z }()
    }
}

new Foo().method()
new Bar().method()

This exhibits the "potentially strange" map takes precedence behavior but is at least consistent across x, y, and z.
After the change, just the x behavior has altered precedence.
My suspicion is that what you have is close but needs some more work. I am also thinking we might need to define a special Map metaclass that would provide back the old behavior - again it would be good to align get/set even for that case. Users relying on the old behavior could manually apply that metaclass. I would regard this as a legacy compatibility mechanism rather than something we would recommend is used for new development.

It was intended to make this read the property and not from the map:
class C {
    @Delegate Map m = [:]
    def x = 4
    public y = 5
    void method() {
        def v = 3
        assert 3 == { -> v }()
        assert 4 == { -> x }() // previously preferred map lookup
        assert 5 == { -> y }() // previously preferred map lookup
    }
}

I thought the first step would be to have read of public field or accessor gain precedence over map lookup.  For write it already includes public and protected.  I took the cautions approach by dealing with public first and leaving protected as-is.
The idea here is that if you created a type that implements Map but then added public API, that API should take precedence over the general map property mechanism.
For legacy support, any code may replace name with get('name') to stick with the map.

Added test cases for "metaClass" and "MetaClass" in dynamic groovy.  "class", "Class", "empty", "Empty", "metaClass" and "MetaClass" probably need tests under static compilation.

GROOVY-6151 is a good illustration of user expectations (comments added):
{code:groovy}
class TestError extends HashMap {
String id
boolean equals(Object o) {
if (this.is(o)) return true
if (getClass() != o.class) return false // "o.class" may not be "getClass()" for some types
if (!super.equals(o)) return false
TestError testError = (TestError) o
if (id != testError.id) return false // "id" and "this.id" refer to the property; "testError.id" does not refer to "getId()"
return true
}
}
{code}
With this PR, all references to "id" will refer to the declared property and not a Map property.  "class" vs "getClass()" and "empty" vs "isEmpty()" remain unchanged.


Fix tag names as inline code in VML docs

Throughout all the "How to use VML on Web Pages" docs, VML and HTML tag names used as inline code are being rendered as HTML in a real browser. This PR should fix that by marking every tag name as an inline code.

 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.:x: hteumeuleu sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@hteumeuleu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

You can now safely delete your personal branch.


fix: Crash on Edge or Opera

Please review @Beamanator
Details

Fixed Issues

$ https://github.com/Expensify/App/issues/5265
Tests | QA Steps

Open Microsoft Edge
Navigate New Expensify
Navigate to Profile or Preferences in settings

Tested On

[x] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

I am not sure why Marc is getting assigned to all of my PRs. :shield:

I am not sure why Marc is getting assigned to all of my PRs. 🛡

Thanks for noticing this, I am pretty sure I know why, a change to the PR template negatively affected how some internal auto-assigner was working 😅

@parasharrajat can you also test on Opera?

@Beamanator Changes done.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by @Jag96 in version: 1.1.0-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


function 'simIteration' and 'addBMethod' missing

Very useful work!
I tried to run benchmark-fdr/datasets/simulations/simulations-varyingntests.Rmd but it can not find the function simIteration to generate the data. I searched the entire repo as well as the other repo  SummarizedBenchmark but could not find it. Any idea?
A similar problem occurred when I tried to run benchmark-fdr/datasets/RNA-Seq/yeast-simulation.Rmd, where the function addBMethod is missing. However, I found another function named addMethod in the  SummarizedBenchmark repo that seems to be relevant.
Thanks,
Martin

Hi Martin, thanks for the interest!

simIteration isn't defined in the SummarizedBenchmark package, it's currently defined in the datasets/R/helpers-simulations.R file of this repo. Many of the Rmd analyses depend on code in the datasets/R/ folder, so I recommend downloading these, if not the complete repo, before trying to re-knit. I realize the full repo is big, but a "shallow clone" (just the most recent commit) can be made with the following git command. This probably wasn't obvious. I'll add a note to the README.

 git clone --depth=1 https://github.com/pkimes/benchmark-fdr.git

Backwards incompatible changes where made in the SummarizedBenchmark version >= 1.99.0, and the addBMethod was changed in the process. You'll need to use the fdrbenchmark branch of the SummarizedBenchmark package. Again, I'll add a note to the README to clarify.

devtools::install_github("areyesq89/SummarizedBenchmark", ref = "fdrbenchmark")

As an side note, re-knitting the simulation vignettes can take a while, so I recommend running it on a cluster with multiple cores. All simulations were run in parallel on 10 cores. If I remember correctly, depending on the simulation Rmd, this still take a few hours.
For reference, the HTML output of most Rmds are in this GitHub repo, and are rendered here via GitHub pages.
Let me know if you run into any other issues!
Feel free to close this issue if the above works for you.

Hi Patrick,
Thanks for the clarification. I did download the entire git repo, but somehow that function was not sourced to the .Rmd file. You may be to check it.
Anyway, great work, thanks!

Hi Martin,
Which function is still missing? The simIteration function is here: https://github.com/pkimes/benchmark-fdr/blob/bff6e877f1c31b86749d6bf9c0ceb184732e88bc/datasets/R/helpers-simulations.R#L59
To access it, you'll need to source the file datasets/R/helpers-simulations.R
The addBMethod function is in an older version of the SummarizedBenchmark package. To get the version we used for the paper, you can do
devtools::install_github("areyesq89/SummarizedBenchmark", ref="fdrbenchmark")

Hope that helps!
Best,
Keegan

Hi Martin,
I wonder why the function isn't being sourced for you. That's a little odd. The function should be sourced by the code here. The code uses a relative path and / to separate directories (i.e. in ../R), so there might be an issue if the working directory for your R session isn't the datasets/simulations/ folder or you're working on a system that uses a different path separator.
Let me know if your run into any other problems.


Cannot add to angular 17 project

Still the same issue I had previously. I am trying to add this to my angular 17 project. The error comes from angular4-paystack<EMAIL_ADDRESS>- ^17.. I  --legacy-peer-deps but this causes an issue in my pipeline.

Thanks for reporting. This is fixed now


Could you provide the image pairs you have used for reproducing the result in Table.1 of the paper?

Hello, thanks for providing the dataset that you have used. Usually, the adversarial attack against FR is performed in a list of (source, target) pairs. However, the image pairs used in the experiment in Table.1 are unknown to us, which hinders us from producing the results in the Table. 1.
Could you provide the image pairs you have used for reproducing the result in Table.1 of the paper?

Hi,
Here are the identities we used for evaluating the AMT-GAN.
pair.zip


Topology Visualization

Enable rendering a graph of the topology, specifying parallelism and groupings on graph edges. We can use graphviz for this purpose.

I've worked on this and built a simple version using graphviz and the dotfile format.


Cleanup/Update data on Stop Event Action

Based on TODO - https://github.com/hyperledger/aries-framework-go/compare/42c5b3f270b75af9cd92cb0657abbcacffce467f..d4d6d2ee8a27820203156ad20b4f7a69e8277911#diff-f761c91e753eba1c42a68076df06ce12R333

If I am right this issue will be outdated after https://github.com/hyperledger/aries-framework-go/issues/587


I am not quite sure how you process the multi-scale inpainting.

Could you give me some description on it ? I don't get the clear descriptions from your paper.

so in the lowest resolution (128), we run texture network (content = content_network output, texture = 128 image with the hole (we copy paste some contents inside the hole from the boundary). In the second resolution (256), we run texture network again (content = bilinear upsample from texture network output in level 128, texture = 256 image with the hole copy pasted). In the third resolution (512) we run texture network again (content = bilinear upsample from texture network output in level 512, texture = 512 image with hole copy pasted). Think of it as style transfer as every level with initialization at the lower level.

Thank you, It's quite detailed.


feat: port Analysis.Calculus.Deriv.Support

Github shows Deriv.Basic as a part of this PR. In fact, the first commit in the history is already in master. I don't know how to fix this. Please ignore that file.

[x] depends on: #4434

This PR/issue depends on:

leanprover-community/mathlib4#4434
By Dependent Issues (🤖). Happy coding!

bors merge

Avoiding merge conflicts on the queue:
bors r-

Interesting that Basic is shown in the files changed tab. Note that it shows the diff correctly here:
https://github.com/leanprover-community/mathlib4/compare/port/Analysis.Calculus.Deriv.Support

@fpvandoorn I rebased on origin/staging before that commit was merged. Probably, this was a bad idea.

bors merge

bors merge


Debug widget is in "paused" state while initializing

Start debug session
Debug widget appears with "continue" immediately visible
When the session is initialized, it switches to "pause"

@roblourens great catch! Thanks a lot!


How to properly install and configure the latest stable release of TBB in Ubuntu 16.04 Server Edition with gcc version 8.1.0 ?

Hi,
I would like to properly install and configure the latest stable release of TBB in my Ubuntu 16.04 Server Edition with gcc version 8.1.0 (Ubuntu 8.1.0-5ubuntu1~16.04)
I downloaded the latest stable release of TBB for linux : https://github.com/01org/tbb/releases/download/2018_U5/tbb2018_20180618oss_lin.tgz and then, following the instructions given in this video tutorial:
https://www.youtube.com/watch?v=4nrDZjyIOXE I modified in this file /home/marco/tbb2018_20180618oss/bin/tbbvars.sh this line:
`#TBBROOT=SUBSTITUTE_INSTALL_DIR_HERE`

into
`TBBROOT=/home/marco/tbb2018_20180618oss`

And then, following the same video tutorial I executed:
`marco@PC:~/tbb2018_20180618oss/bin$ . ./tbbvars.sh intel64
marco@PC:~/tbb2018_20180618oss/bin$
`

Within the main directory tbb2018_20180618oss I created a test dir and filled it with a simple test.cpp file:
`marco@PC:~/tbb2018_20180618oss/test$ nano test.cpp
`

Where test.cpp is  :
`#include <tbb/tbb.h>
#include <tbb/parallel_for.h>

int main() {

  return 0;
}
`

Compiling I got a list of warnings which are not really understandable, since I didn't put anything actually in test.cpp  :
`marco@PC:~/tbb2018_20180618oss/test$ g++ -std=c++17 test.cpp -ltbb -otest
In file included from /home/marco/tbb2018_20180618oss/include/tbb/tbb.h:77,
                 from test.cpp:1:
/home/marco/tbb2018_20180618oss/include/tbb/task_group.h: In destructor
‘tbb::internal::task_group_base::~task_group_base()’:
/home/marco/tbb2018_20180618oss/include/tbb/task_group.h:131:53: warning: ‘bool
std::uncaught_exception()’ is deprecated [-Wdeprecated-declarations]
             bool stack_unwinding_in_progress = std::uncaught_exception();
                                                     ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/new:40,
                 from /usr/include/c++/8/ext/new_allocator.h:33,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/c++allocator.h:33,
                 from /usr/include/c++/8/bits/allocator.h:46,
                 from /usr/include/c++/8/memory:63,
                 from /home/marco/tbb2018_20180618oss/include/tbb/tbb_stddef.h:427,
                 from /home/marco/tbb2018_20180618oss/include/tbb/aligned_space.h:24,
                 from /home/marco/tbb2018_20180618oss/include/tbb/tbb.h:35,
                 from test.cpp:1:
/usr/include/c++/8/exception:102:8: note: declared here
   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
        ^~~~~~~~~~~~~~~~~~
In file included from /home/marco/tbb2018_20180618oss/include/tbb/tbb.h:77,
                 from test.cpp:1:
/home/marco/tbb2018_20180618oss/include/tbb/task_group.h:131:72: warning: ‘bool
std::uncaught_exception()’ is deprecated [-Wdeprecated-declarations]
             bool stack_unwinding_in_progress = std::uncaught_exception();
                                                                        ^
In file included from /usr/include/c++/8/new:40,
                 from /usr/include/c++/8/ext/new_allocator.h:33,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/c++allocator.h:33,
                 from /usr/include/c++/8/bits/allocator.h:46,
                 from /usr/include/c++/8/memory:63,
                 from /home/marco/tbb2018_20180618oss/include/tbb/tbb_stddef.h:427,
                 from /home/marco/tbb2018_20180618oss/include/tbb/aligned_space.h:24,
                 from /home/marco/tbb2018_20180618oss/include/tbb/tbb.h:35,
                 from test.cpp:1:
/usr/include/c++/8/exception:102:8: note: declared here
   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
        ^~~~~~~~~~~~~~~~~~
In file included from /home/marco/tbb2018_20180618oss/include/tbb/tbb.h:77,
                 from test.cpp:1:
/home/marco/tbb2018_20180618oss/include/tbb/task_group.h:131:72: warning: ‘bool
std::uncaught_exception()’ is deprecated [-Wdeprecated-declarations]
             bool stack_unwinding_in_progress = std::uncaught_exception();
                                                                        ^
In file included from /usr/include/c++/8/new:40,
                 from /usr/include/c++/8/ext/new_allocator.h:33,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/c++allocator.h:33,
                 from /usr/include/c++/8/bits/allocator.h:46,
                 from /usr/include/c++/8/memory:63,
                 from /home/marco/tbb2018_20180618oss/include/tbb/tbb_stddef.h:427,
                 from /home/marco/tbb2018_20180618oss/include/tbb/aligned_space.h:24,
                 from /home/marco/tbb2018_20180618oss/include/tbb/tbb.h:35,
                 from test.cpp:1:
/usr/include/c++/8/exception:102:8: note: declared here
   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
        ^~~~~~~~~~~~~~~~~~
marco@PC:~/tbb2018_20180618oss/test$
`

What am I missing? How to solve the problem?
Looking forward to your kind help.
Marco

The warnings can be safely ignored. Currently, TBB uses some deprecated stuff in C++17. We will try to fix warnings in future releases.

I'm getting an error on macos 10.14 with TBB as well:
tbb-2019_U1/include/tbb/task_group.h:132:53: error: 'uncaught_exceptions' is unavailable: introduced in macOS 10.12
bool stack_unwinding_in_progress = std::uncaught_exceptions() > 0;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:130:63: note: 'uncaught_exceptions' has been explicitly marked unavailable here
_LIBCPP_FUNC_VIS _LIBCPP_AVAILABILITY_UNCAUGHT_EXCEPTIONS int uncaught_exceptions() _NOEXCEPT;
^
For this is caused by the fact that TBB is not considering the MACOSX_DEPLOYMENT_TARGET being used.

FYI: I changed tbb_config.h to the following:
#define __TBB_CPP17_UNCAUGHT_EXCEPTIONS_PRESENT             (_MSC_VER >= 1900 || GLIBCXX && __cpp_lib_uncaught_exceptions || _LIBCPP_VERSION >= 3700)
&& ( !defined(MAC_OS_X_VERSION_MIN_REQUIRED) || MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 )
--- NOTE:  I'm a bit concerned about binary incompatibilities that and the interplay of  MAC_OS_X_VERSION_MIN_REQUIRED between the built version of TBB and my tools.
See /usr/include/AvailabilityMacros.h

@hjmjohnson, the issue for macOS is fixed in TBB 2019 Update 2.
As of now, TBB binaries are built with -mmacosx-version-min=10.11


Python

I am not getting into my head..
Can anybody guide me Python language

I can if you want

Sure would love to  as much I know.
Even I started learning  2 months back!

I can help You if You want


"Kill switch" equivalent

Unless it is already present, it will be an immensely important thing to put on the roadmap.

Also known as an Internet Kill Switch, this feature will make sure that a true IP address is never exposed online in the event of a dropped/crashed VPN connection.
VPN kill switches are basically designed to prevent connections from accidental exposure.


Fix exception in Reader.close() when query_periodic is None

Fixes bug #122.
Add a call to close to the message test to exercise the code. Verified
the test fails without the fix.

thanks!


New Contribution

Contributor: [contributor information - Optional]
SSH Public key: [contributor SSH public key (if you don't have one, submit the issue to receive instructions)"- Required]
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILFM5/wHixGlHdDDIKJVtaHzLdAPI/ZRyfxIj2H8tttj


Restore asset compress after Rails 6 upgrade

What
Changes to production.rb to restore asset compression to previous output.
Why

The upgrade to Rails 6 disabled JS compression because it now defaults to using webpack.

Visual differences
None.

This is changing application.rb not production.rb - sorry I didn't notice before approving


update phpunit config

I'm looking into adding support for Laravel 10, noticed that the phpunit was out of date.
This PR updates it, using the command provided by phpunit itsself.
./vendor/bin/phpunit --migrate-configuration

I've done the same for a few other packages

https://github.com/fico7489/laravel-pivot/pull/89
https://github.com/staudenmeir/laravel-cte/pull/44

Thanks!


Write tests at the component-level of the abigen!

Right now we have an end-to-end test suite for the abigen! under fuels-abigen/tests/harness.rs.
But it would be nice to have more granular tests at the level of each main component of the abigen!, for instance at the level of custom_types_gen.rs, where we generate custom types coming from the ABI. Or functions_gen.rs, where we generate the functions coming from the ABI.

Assigning myself because it will help me dig into the code more!

Awesome! Yeah, this is a great issue to get a good feel on how things are happening in the codegen portion of the SDK.

Still some tests to write (they should be coming soon)

Was closed by #73 and #67


[5.5] Throttle requests with Redis

The normal Request throttler needs more roundtrips to Redis to achieve its purpose, this one is more efficient and more accurate since the whole process is atomic.

Normal throttle sends 5 commands to Redis.
This one only sends 1

With a great number of requests to the application this could exhaust resources.

@themsaid How should I use ThrottleRequestsWithRedis conditionally? In my production server I'm using Redis, but on my pipeline I don't. How should I use ThrottleRequests for testing and ThrottleRequestsWithRedis for production?
There's no option to execute config('app.env') in the Http\Kernel

@themsaid How should I use ThrottleRequestsWithRedis conditionally? In my production server I'm using Redis, but on my pipeline I don't. How should I use ThrottleRequests for testing and ThrottleRequestsWithRedis for production?
There's no option to execute config('app.env') in the Http\Kernel


Fix3

I wouldn't get too attached to my gem-farm-fix package. I was only using it for troubleshooting to figure out the fix. : )


Add more information regarding "Purging the recoverable items folder" at Step 5.

No helpful information on how to perform a New-ComplianceSearch with targeting only the Recoverable Items folder exist in the links provided at Step 5.

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

ID: aac0819e-2ed8-d57f-35f5-cfa5210210a9
Version Independent ID: 61bf03a8-091b-9a33-a7eb-a4a25e8452f3
Content: Delete items in the cloud mailbox on hold Recoverable Items folder - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/delete-items-in-the-recoverable-items-folder-of-mailboxes-on-hold.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@serran0 Please see this github issue for a solution to scope the compliance search (and subsequently the purge action) to items in the Recoverable Items folder: https://github.com/MicrosoftDocs/microsoft-365-docs/issues/2598 We're working to update this article with this info.

@serran0 FYI that we've updated Step 5 in this topic. Added info about using targeted collection script to obtain folderid of recoverable items subfolder and then use that value to scope the search to the recoverable items folder. Hope this helps.


Fix Gopkg.toml

change dependency to istio/api:master from istio/api:release-1.0
Signed-off-by: Shriram Rajagopalan<EMAIL_ADDRESS>

@rshriram can you rebase?
Also I would prefer two commits for this.

Gopkg.toml
Generated code via dep ensure

You can't do two commits. the first one won't pass.

@rshriram just like the PR here https://github.com/kubernetes-sigs/federation-v2/pull/148#issuecomment-407057354 . You can create two commits and push those two commits in one PR and this should works.
And this can also facilitate the review process as reviewer will know which file is auto generated.


Correct hello-world README for v1

Thanks @fcollonval !
I left a quick suggestion. This looks good, so feel free to merge!

Thx for reviewing and catching the http.


feat(shortcuts): add shortcuts test

fixes deis/workflow-e2e#243
fix various gofmt errors

Sorry about the gofmt stuff, it should be less of a problem in the future after #135 is merged and it actually fails tests.


QLOG not working in HTTP/3 server demo?

Hi,
first of all, let me thank you for your code: it's been invaluable so far as a way for me to test QUIC, as I'm currently studying and prototyping it. The QLOG support in particular has been quite helpful when trying to figure out when something wasn't working. That said, it looks like no QLOG seems to be generated, for me, when I enable it in the http3_server.py demo: I'm not sure what could be the cause, since it seems to be working fine when I enable it in the DOQ demos, and the HTTP/3 client demo as well. I can't see any obvious reason for this when looking at the code, as it looks like it's enabled the same way in all demos, so it may be something deeper in the stack.
Do you have an idea for what could be the reason?
Thanks!

If I run it with "-q some_directory" I see qlogs in that directory, so I can't reproduce what you are seeing.  Are you sure the server is seeing requests?   What version of aioquic are you using?

Hi @lminiero I'm really puzzled by what your are describing, especially since the demo server at quic.aiortc.org is spewing (large) amounts of QLOG files. Be aware that the files only get written once a connection is closed.
Could you try adding some print() statements in QuicFileLogger to check it's actually being instantiated and its end_trace method is being called?

Be aware that the files only get written once a connection is closed

Ah this could be the problem I'm encountering, I suspect. I was using this Webtransport demo page with http3_server.py, which works, but there's no way to close the connection from the page: even closing or refreshing the page doesn't seem to send a CC. CTRL-Cing http3_server.py to close it cleanly apparently is not acting as a trigger to close the connection either, as in my case the folder stays empty.

Could you try adding some print() statements in QuicFileLogger to check it's actually being instantiated and its end_trace method is being called?

I can confirm that it's being instantiated, but end_trace is not called in the scenario I described in my previous comment.

end_trace should be called when a QUIC connection gets closed:
https://github.com/aiortc/aioquic/blob/ff3281fa33ca14943e7954b8baf51c1e950c791d/src/aioquic/quic/connection.py#L1275
I just tried the following:
# Run the server
mkdir qlog
python examples/http3_server.py --certificate tests/ssl_cert.pem --private-key tests/ssl_key.pem --quic-log qlog

# Run the client
python examples/http3_client.py --insecure https://localhost:4433/

=> I end up with a QLOG file in the "qlog" directory

Yes, I meant that with the web-based WebTransport demo, the browser never sends the CONNECTION_CLOSE after it succeeds, and I guess that closing the server with a CTRL+C doesn't internally mark the connection as closed either, which is probably why end_trace is not being called in my case. That said, I don't know if CTRL+C does indeed perform a clean ending for the demo, and if it's supposed to close all pending connections itself.

I put together a proof-of-concept of what would be needed to cleanly shutdown the asyncio-based QUIC server here:
https://github.com/jlaine/aioquic/tree/http3-server-close
It would however be a breaking API change so I'm not too sure how to proceed here.

@jlaine sorry, I didn't mean to cause such a ruckus :sweat_smile:
Not sure how important it would be to ensure the clean shutdown for the logs (I only noticed the issue and thought I'd point it out), especially if it requires a breaking API change to handle properly. I think it would be a good thing to have, but I'm admittedly not a regular user of the library (I'm only using it to help with the development of a different component), so I'm not one of the people that could be impacted by the change.


[HUDI-8789] Dropping hbase deps from presto/trino bundle

Change Logs

Removed guava, commons-lang

Impact
Presto, Trino bundles need to rely on native HFile reader going forward.
Risk level (write none, low medium or high below)
medium: need to be ultimately tested on trino/presto side.
Documentation Update
none
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Trino : does not seem to depend on the bundle anymore.
Presto: depends on it. but we we don't have hbase bundled anymore ?
So it seem safe to drop both commons-lang and guava. I kept proto since the native reader could also use this IIRC


Change URL construct

Hi,
How do we change the URL construct? Instead of #/jobs/1234
We need it to be jobs/job-advertisement-title/1234
Basically what we need is to have the job title and id at the last part and remove #.
Thanks.

I don't think you can do that with OSCP but you can with Matador Jobs https://matadorjobs.com/

Hello, you will want to modify the route structure for job details in app.module.ts.
Next you will also want to modify how the jobs are loaded in the job details component.
Finally the job list has to be modified so job urls work with the new format.  This happens in job-list.component
Please let me know if you have any more questions

Hi @charlesabarnes, thanks. It worked, but I still have issues with #..

Hash location strategy handles that.  you can set that in the app.module here

alright, thanks! :)

Hi @charlesabarnes, just one last thing, I realized that the URL for title is undefined in, im getting
/jobs/undefined/1234
What's correct way to call it? I tried
jobTitle
title
Thanks. sorry, I'm just new to Angular..

Its like the interpolation in the <item-title> tags.  It would be job.title

Hi @charlesabarnes, thank so much for you continued support, however, I'm still not able to materialize what the company needs..I tried the following:
this.router.navigate([jobs/{{job.title}}/${jobId}]);
and
this.router.navigate([jobs/{job.title}/${jobId}]);
url will be like this
#/jobs/%7Bjob.title%7D/9495
Thanks.

oh you are in a different part than I anticipated, you have to modify the method to accept the job title as well.  Then you can use template literals or string concatenation to form the url

Hi @charlesabarnes, how do we to this "you have to modify the method to accept the job title"? thanks


docs: Consistent contributing.md for all roles - allow role specific contributing.md section

Provide a single, consistent contributing.md for all roles.  This mostly links to
and summarizes https://linux-system-roles.github.io/contribute.html
Allow for a role specific section which typically has information about
role particulars, role debugging tips, etc.
See https://github.com/linux-system-roles/.github/pull/19
Signed-off-by: Rich Megginson<EMAIL_ADDRESS>

lgtm.


How to train custom dataset

rt
Setting category？？
.yaml
num_filters: 8

Is this a category?

num_filters is the number of filter of UNet.
Basically, the more filters, the better the model accuracy.
However, increasing the number will increase memory consumption.


Curate tutorials

There's a bunch of unlinked old tutorials and slides on the current Stan website here:
https://mc-stan.org/workshops/
contents are here:  https://github.com/stan-dev/stan-dev.github.io/tree/master/workshops
Curate these into a page with headings, subheadings, and links.

stancon repos

https://github.com/mitzimorris/stan-website/pull/13


Failure code 999

Hello, I use Mayo to wrap my network in my swift app.
I want to connect with my own API.
I first created a test a User case :
public enum UserAPI {
    case Information
}

extension UserAPI: TargetType {
    public var baseURL: NSURL { return NSURL(string: "http://<IP_ADDRESS>:3000/user")!}

    public var path: String {
        switch self {
        case .Information:
            return "/"
        }
    }

    public var method: Moya.Method {
        return .GET
    }

    public var parameters: [String: AnyObject]? {
        return nil
    }

    public var sampleData: NSData {
        switch self {
        case .Information():
            return "{}".dataUsingEncoding(NSUTF8StringEncoding)!
        }
    }

    public func constructProvider(target: UserAPI) -> Endpoint<UserAPI> {
        let token = TokenAccess.sharedInstance.token!
        let endpoint: Endpoint<UserAPI> = Endpoint<UserAPI>(URL: "\(target.baseURL)\(target.path)", sampleResponseClosure: {.NetworkResponse(200, target.sampleData)}, method: target.method, parameters: target.parameters)
        return endpoint.endpointByAddingHTTPHeaderFields(["Authorization": "Bearer \(token)"])
    }
}

Then the call :
let provider = MoyaProvider<UserAPI>()
provider.request(UserAPI.Information) { (result) -> () in
    print("result request : \(result)")
}

And then the result :
result request : .Failure(Underlying(Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLKey=http://<IP_ADDRESS>:3000/user/, NSLocalizedDescription=cancelled, NSErrorFailingURLStringKey=http://<IP_ADDRESS>:3000/user/}))

The base URL is okay. I am making a transition, in a network abstraction, I used Alamofire previously, and it worked well. I am trying to move my code to Moya.
Thanks in advance for your help. :+1:

Are you retaining the provider anywhere? I've seen 999 errors when whatever is making the request is deallocated

If you are using rails. Try start rails with -b <IP_ADDRESS> like "rails s -b <IP_ADDRESS>". Thats way it will be accessible. 999 errors is indeed confusing.

@wattson12 it was the problem. Thanks for you help !

Thank you @wattson12 !

@remirobert can you show a snippet of your solution provided by @wattson12 please?

@matteogazzato You just need to retain the provider. You can do it by e.g. setting the provider as a property for your controller. ✌

@sunshinejr so simple and so common i didn't think about it...thank's!

No problemo :beers:

But why retaining the Provider would solve this problem?

@PhilCai1993 because you need to keep a reference on it.

@remirobert What I don't understand is that Why should I keep a reference on it? If I don't, will the provider be released outside the scope(For example, I make the request in viewDidLoad, and don't keep a reference.)? I didn't inspect the implementation of Moya, it a little strange...

That's right! If you don't have it in a property, it gets deallocated as soon as it leaves the scope.
--
Ash Furrow
https://ashfurrow.com/
On April 10, 2016 at 10:25:58 AM, philcai (notifications@github.com(mailto:notifications@github.com)) wrote:

@remirobert(https://github.com/remirobert) What I don't understand is that Why should I keep a reference on it? If I don't, will the provider be released outside the scope(For example, I make the request in viewDidLoad, and don't keep a reference.)? I didn't inspect the implementation of Moya, it a little strange...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub(https://github.com/Moya/Moya/issues/412#issuecomment-207993002)

@ashfurrow Shouldn't this crash however? It is very hard to trace these kind of bugs.

Agreed, hard to debug. Moya tries to make it hard to crash the app 😉
--
Ash Furrow
https://ashfurrow.com/
On April 15, 2016 at 11:30:35 AM, nikos kanellopoulos (notifications@github.com(mailto:notifications@github.com)) wrote:

@ashfurrow(https://github.com/ashfurrow) Shouldn't this crash however? It is very hard to trace these kind of bugs.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub(https://github.com/Moya/Moya/issues/412#issuecomment-210507282)

I ran into this issue too after following the Basic Setup and not retaining the provider.  Happy to put in a PR to the docs to highlight how you need the retain (as I reckon I might not be the first 😉 ).
ps: great library!  Thanks @ashfurrow 😄

@tomj  because you need to keep a reference on it.

@tomj it would be awesome if you could make a PR with how would you like to be informed about retaining the provider. 🙌

@remirobert - you bet! 😄
I just wanted to point out that the Basic Setup docs don't 100% allude to the fact that you need to keep a reference to the provider, which I'm guessing is what's responsible for (at least some of) the responses to the issue above.

Thanks! Looks like we need to update Basic Usage with similar note: https://github.com/Moya/Moya/commit/000662a026faf04953163f615663db7b44be6afe


Add support for SHA-based KDFs for ECDH

PKCS11 defines the following EC KDFs:

CKD_NULL
CKD_SHA1_KDF
CKD_SHA224_KDF
CKD_SHA256_KDF
CKD_SHA384_KDF
CKD_SHA512_KDF

It looks like the only currently supported KDF is CKD_NULL:
https://github.com/parallaxsecond/rust-cryptoki/blob/617efa846d67755d48708eb74e3d8149e184e83e/cryptoki/src/mechanism/elliptic_curve.rs#L46-L51

Hey! Thanks for the request - any chance you'd be up to contribute those?

https://github.com/parallaxsecond/rust-cryptoki/pull/239 does it for SHA256. It's not all you posted first but I guess we can close it after that, and re-open if more are still needed :)


U.S.A. as sentence border does not split correctly.

Input: I was born in the U.S.A. My name is Benjamin D. Lee.
Desired output: ["I was born in the U.S.A.", "My name is Benjamin D. Lee."]
Actual output: I was born in the U.S.A. My name is Benjamin D. Lee.
Note that this works with U.S. but not U.S.A..

I wonder whether this lib does a better job, overall (probably not for Japanese though):
https://github.com/Tessmore/sbd


OSError: dlopen() image not found when importing h3core

I think this is related to an older, Uber-internal version of uber/h3-py.

Closing, as this references an older Uber-internal version of the library.


[CMake] Add NCCL to TVM and TVM Runtime

This PR introduces NCCL in the cmake system.
NCCL is NVIDIA's library for distributed communication.

Not sure about NCCL. Here maybe two noob questions:

Is NCCL included in the Cuda package or do we need to install it separately?
If it's part of Cuda, what are the benefits of setting a separate switch? i.e. why not turn it on by default if we turn on cuda

@Hzfengsy Thanks for asking!

Is NCCL included in the Cuda package or do we need to install it separately?

You will need to install it separately.

Verified on my side, this is merged. Thanks @junrushao


Error occurs sometimes when trying to accept the offer from the Trinsic

Hi,
Here is the error:
Error: Item not found on ledger\n  Caused by: Structure doesn't correspond to type. Most probably not found\n  Caused by: data did not match any variant of untagged enum Reply\n
The full error is also attached below. It only happens sometimes, is there any particular reason why it happens? Thanks.
 DEBUG  DEBUG: Agent Topcoder Wallet received message
 INFO  INFO: Received message with type 'did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/issue-credential/1.0/offer-credential' from connection bf81fb5a-edaf-4335-83ae-3bd9ff5a8dc1 (topcoder-test) {
  "comment": null,
  "credential_preview": {
    "attributes": [
      {
        "name": "Name",
        "mime-type": "text/plain",
        "value": "Task Generation"
      },
      {
        "name": "Age",
        "mime-type": "text/plain",
        "value": "2"
      },
      {
        "name": "Rating",
        "mime-type": "text/plain",
        "value": "1600"
      }
    ],
    "@id": null,
    "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/issue-credential/1.0/credential-preview"
  },
  "offers~attach": [
    {
      "@id": "libindy-cred-offer-0",
      "mime-type": "application/json",
      "data": {
        "base64": "[encoded data, 5076 characters]"
      }
    }
  ],
  "@id": "c1554be9-5912-4a76-bd82-dc56057c6f35",
  "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/issue-credential/1.0/offer-credential"
}
 DEBUG  DEBUG: Processing credential offer with id c1554be9-5912-4a76-bd82-dc56057c6f35
 DEBUG  DEBUG: Processing message with id c1554be9-5912-4a76-bd82-dc56057c6f35 and connection id bf81fb5a-edaf-4335-83ae-3bd9ff5a8dc1 {
  "type": "https://didcomm.org/issue-credential/1.0/offer-credential"
}
 LOG  CREDENTIALS OFFERED
 LOG  [{"_tags": [Object], "autoAcceptCredential": undefined, "connectionId": "bf81fb5a-edaf-4335-83ae-3bd9ff5a8dc1", "createdAt": 2021-11-03T14:57:28.568Z, "credentialAttributes": [Array], "credentialId": undefined, "credentialMessage": undefined, "id": "d987948f-5269-48b0-96d0-ec18bad413eb", "linkedAttachments": undefined, "metadata": [Object], "offerMessage": [Object], "proposalMessage": undefined, "requestMessage": undefined, "state": "offer-received", "threadId": "c1554be9-5912-4a76-bd82-dc56057c6f35"}]
 LOG  []
 LOG  CREDENTIALS OFFERED
 LOG  [{"_tags": [Object], "autoAcceptCredential": undefined, "connectionId": "bf81fb5a-edaf-4335-83ae-3bd9ff5a8dc1", "createdAt": 2021-11-03T14:57:28.568Z, "credentialAttributes": [Array], "credentialId": undefined, "credentialMessage": undefined, "id": "d987948f-5269-48b0-96d0-ec18bad413eb", "linkedAttachments": undefined, "metadata": [Object], "offerMessage": [Object], "proposalMessage": undefined, "requestMessage": undefined, "state": "offer-received", "threadId": "c1554be9-5912-4a76-bd82-dc56057c6f35"}]
 LOG  []
 DEBUG  DEBUG: Get credential definition 'Pvw4sw3z9esvz9tXuwsA3B:3:CL:267823:Default' from ledger
 DEBUG  DEBUG: Submitting get credential definition request for credential definition 'Pvw4sw3z9esvz9tXuwsA3B:3:CL:267823:Default' to ledger
 ERROR  ERROR: Error retrieving credential definition 'Pvw4sw3z9esvz9tXuwsA3B:3:CL:267823:Default' from ledger {
  "error": {
    "indyBacktrace": "",
    "indyCode": 309,
    "indyMessage": "Error: Item not found on ledger\n  Caused by: Structure doesn't correspond to type. Most probably not found\n  Caused by: data did not match any variant of untagged enum Reply\n",
    "indyName": "LedgerNotFound",
    "message": "LedgerNotFound",
    "name": "IndyError"
  },
  "credentialDefinitionId": "Pvw4sw3z9esvz9tXuwsA3B:3:CL:267823:Default",
  "poolHandle": 29
}

It means this message is not submitted successfully to the ledger? So it's unable to retrieve it back?
I don't understand why it's possible ....
DEBUG: Submitting get credential definition request for credential definition 'GjHbN6WKM6YvNuaVSGkwKy:3:CL:267827:Default' to ledger

I'm using the Indicio Public Mediator and Sovrin Staging Network, not sure if it causes this issue.

Are you also using Sovrin staging net in the wallet?

Are you also using Sovrin staging net in the wallet?

Yes.  @TimoGlastra

In our app, we have a functionality to change the Network (like the Trinsic Wallet).
After the network is changed, we shutdown the current agent and re-initialize it. Is this supported by the framework, or it's done improperly?  Thanks.
agent?.shutdown({deleteWallet: false});
initAgent();

const initAgent = async () => {
    const newAgent = new Agent(
      {
        genesisTransactions: networks[selectedNet].genesis,
        label: walletName,
        mediatorConnectionsInvite: MEDIATOR_URL,
        autoAcceptMediationRequests: true,
        mediatorPickupStrategy: MediatorPickupStrategy.Implicit,
        walletConfig: { id: 'tcwallet-8', key: '75686858' },
        mediatorPollingInterval: 60,
        autoAcceptCredentials: AutoAcceptCredential.ContentApproved,
        logger: new ConsoleLogger(LogLevel.trace),
      },
      agentDependencies
    )

    const wsTransport = new WsOutboundTransport()
    const httpTransport = new HttpOutboundTransport()

    newAgent.registerOutboundTransport(wsTransport)
    newAgent.registerOutboundTransport(httpTransport)

    await newAgent.initialize()
    setAgent(newAgent)
  }

Ah I think I see the error. If a pool already exists with a certain name it won't re-create it. If switching between ledgers you should make sure to provide a different poolName for each ledger you're using.
This is quite odd behavior and should probably be documented. Thanks for bringing this up!
Could you try to add a unique poolName per ledger you're using?

Yes, this works. Thanks!


The New String methode to get a recipient from email

This PR adds the method Str::recipientFromEmail()
I think it should be a good idea to add a method to get a username from a email used to sign up . This just a quick helper to get name from email with good syntax.
<EMAIL_ADDRESS> // TaylorOtwell

I would do it like this.
use Illuminate\Support\Str;

return<EMAIL_ADDRESS>'@');
// username


Missing jobs and dependencies in graph view for a5jk

In GitLab by @gmontane on Jan 24, 2023, 10:03
Hi @cgutierr and @jberlin
In a5jk the graph view is missing a lot of jobs and dependencies: https://earth.bsc.es/autosubmitapp/experiment/a5jk/graph. The experiment runs correctly with all the jobs, but for some reason it is not well displayed in the GUI.
Also, the "No Experiment Runs registered" message is shown so I don't know if it could be related to issue #62.
Could you take a look?
Thanks!
FYI: @molid

In GitLab by @cgutierr on Jan 25, 2023, 10:50
marked this issue as related to #62

In GitLab by @molid on Jan 30, 2023, 12:53
I am not sure what is the problem because after the job fails some jobs disappeared from the Tree View also. Thanks @jberlin

In GitLab by @mcastril on Jan 30, 2023, 16:30
Thanks @molid. After the fix applied by @dbeltran on the v3.14.0 maybe it's better that you also try creating your experiment again (or should it be enough by doing autosubmit run @dbeltran ?)

In GitLab by @molid on Jan 30, 2023, 11:36
Hi @cgutierr, as we suspected, the graph is not correct after one job fails, in this case, local_send_obs. You can check it now:
https://earth.bsc.es/autosubmitapp/experiment/a5jk
could you take a look again, please? thanks

In GitLab by @molid on Jan 26, 2023, 16:48
hi @cgutierr The problem with the "No Experiment Runs registered" message is solved, thanks! But last weekend and yesterday we had the error with the graph after the local_send_obs job failed, so we don't know if it could be related. As the workflow worked fine today, I will try to reproduce the error tomorrow and if I it works I will close the issue. thanks

In GitLab by @cgutierr on Jan 26, 2023, 09:58
This seems to be fixed @jberlin @mcastril
https://earth.bsc.es/autosubmitapp/experiment/a5jk

In GitLab by @molid on Jan 30, 2023, 15:55
Hi, SIM job disappeared and it doesn't depend on LOCAL_SEND_OBS job. We could check it tomorrow. I can try to reproduce the error again. Maybe it would be easier. Let me know.

In GitLab by @jberlin on Jan 30, 2023, 11:55
Hi @molid , Cristian is not anymore at BSC, from now and upwards (until we have a new GUI dev) please tag me or Miguel for GUI issues :), I will try to take a look. the main issue is that the dependencies of the failed job get lost ?

In GitLab by @jberlin on Jan 30, 2023, 15:19
@molid these jobs that disappeared were linked somehow to the failed job ? which is the job id of the failed job ? since in the GUI I cannot see it

In GitLab by @cgutierr on Jan 26, 2023, 20:12
Perfect, thank you!

In GitLab by @fmacchia on Feb 1, 2023, 10:46
mentioned in issue auto-monarch#512

In GitLab by @molid on Jan 30, 2023, 16:32
@mcastril this is an operational run. It's created every day automatically. Could we try something different??

In GitLab by @dbeltran on Jan 30, 2023, 16:36

@mcastril this is an operational run. It's created every day automatically. Could we try something different??

It is enough.

(or should it be enough by doing autosubmit run @dbeltran ?)

It should've but it is better to perform a create, otherwise some jobs ( jobs that already run) could have empty data for that "first" run.

In GitLab by @fmacchia on Jan 31, 2023, 17:02
Another example of the same error in a5ly. The autosubmit monitor is working fine.

In GitLab by @mcastril on Mar 22, 2023, 17:01
@jberlin please check what the current issue is

In GitLab by @molid on Jan 30, 2023, 16:40
ah I didn't try "autosubmit monitor". I will try it

In GitLab by @dbeltran on Jan 30, 2023, 16:37
btw, this issue also happens when you perform autosubmit monitor? or it is only GUI related?


UI improvement

My Setup

Operating System: MacOS
App Version: 2.16.1
Installation type: dmg

[x ] I have tested with the latest version
[x ] I can simulate the issue easily

Description

On my machine, all chat & communication applications have a blue app icon and a red marker, if there are unread messages - except for rocket.chat! I usally ignore new rocket.chat messages because they are hard to recognize (little red marker on red icon).
Current Behavior

Expected Behavior

Blue application icon.

I would suggest adding this blue icon as an option in My Account > Preferences.

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


Avoid deadlock with multiple connections when executing code and new connection opens

Fixes #164
Original PR: #292
This PR reworks how the original one does things after feedback and as noted below.  It made it a lot cleaner to start fresh on a new branch which is why I didn't add the changes on to the original PR...
This introduces a new concept in the xDebug connection:  "execution commands": these are commands that result in PHP being executed.  The way xDebug works, if one of these commands is run, that connection is hung until the PHP code is done executing (until it gets to the next stopping point).  By keeping track of when such commands are still in progress, and making it something that the adapter can check, it allows the adapter to specifically code for when the connection is currently hung.  Which allows preventing the deadlock situation described in #164
The adapter also now emits before-execution-command since it results in possibly going into a hung state for a while.  The adapter uses that event to send a ContinueEvent, this is just a side advantage that makes the interface more responsive.  Before when you click continue, if the PHP code is hung for whatever reason (it is slow, it has a lot to do, etc), it appears that it did not work as it appears to still be stopped on a breakpoint (but it is not, which you can tell by trying to view any of the details in the debug pane).  With the change, now when you click continue it immediately changes the process back to "running" state which is more truthful.

@felixfbecker Changes in, thanks!

Thank you Jonyo, you have saved my time with this fix

Hate to ask a noob question, but how can I use this change on my machine?

:tada: This PR is included in version 1.12.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix deadlock in CSigSharesManager::SendMessages

Locking "cs" at this location caused a (potential) deadlock due to changed
order of cs and cs_vNodes locking. This changes the method to not require
the session object anymore which removes the need for locking.

Why not just set llmqType in CBatchedSigShares::ToInv() to Consensus::LLMQ_400_60 by default instead of introducing ToInvString()?

@UdjinM6 I thought ToInvStr() was more clear in the use of LLMQ_400_60, which is actually kind of a hack (we're passing the wrong type here...).

True, it's hack-ish :) But the funny thing is that ToInv() is never actually used for anything else but to produce strings.

Yeah that's true...that was different in the past but now it's a leftover that's actually not needed. I'll remove ToInv completely now.

Turned out that the last changes I did caused a crash due to LLMQ_400_60 not known on regtest. Changed CSigSharesInv::Init now to use size as parameter instead of llmqType.


Feature Request: Output flag to have a default

I would love if I could specify -o with no options and have it default to $domain-$args.gobuster.... I can't count the number of times I've just changed the output filename but forgot to change the URL. 🤦♂

Maybe also allow a directory and have it use the automatic default filename too. e.g. -o outfiles/gobuster/

you can easily do that outside of gobuster by using variabkles and the -o switch

-o您可以使用变量和开关轻松地在 gobuster 之外执行此操作

Hi bro, can you give me an example?