Error: ENOENT: no such file or directory, scandir 'C:\Program Files\Microsoft Visual Studio'

I used this documentation
{   "scripts": {     "install_arm64": "build-opencv --version 4.5.4 --flag=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64\" build",     "install_4.5.5_cuda": "build-opencv --version 4.5.5 --flags=\"-DWITH_CUDA=ON -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DCUDA_FAST_MATH=ON\" build",     "do-install": "build-opencv build",   } }
npm run install_4.5.5_cuda
but when i run, i get this error

can anyone help my problem?
thanks guys..

So, you still wait for the developer solved this or you have the alternative solution?

So, you still wait for the developer solved this or you have the alternative solution?

Basically, I think it's right to wait for the developers to respond.
Because even a previously released working v6.x gets the problematic opencv-build v0.5.4+.
It may work if you replace opencv-build with v0.5.3 or earlier, but I'm not sure.

Ok, maybe the best solution for now is we wait for the update from the developer, and use the old version

For now, i still use the latest version, but i just changed this code in opencv-build with use the previous version

https://github.com/UrielCh/npm-opencv-build/commit/9150f50f30720224ac6a25f28d73c10e8cfdf962
and my application work fine

let me read tiny-glob source code ...

wait for suggestions before pushing my blob package...

I release a @u4/tiny-glob, 'tiny-glob' code does not correctly support windows.
please try V0.5.7

@UrielCh hey thanks for your release.
Now, i got same error..
info init no openCV version given using default verison 4.5.5
info init INIT_CWD is defined overwriting root path to D:\xx\xx\xx\xx\xx\npm-opencv-build
info init Workdir will be: D:\xx\xx\xx\xx\xx\npm-opencv-build\opencv-4.5.5-ecae4
info install if you want to use an own OpenCV build set OPENCV4NODEJS_DISABLE_AUTOBUILD to 1, and fill OPENCV_BIN_DIR, OPENCV_INCLUDE_DIR, OPENCV_LIB_DIR environement variables
info readAutoBuildFile file does not exists: D:\xx\xx\xx\xx\xx\npm-opencv-build\opencv-4.5.5-ecae4\auto-build.json
info install
info install running install script...
info install
info install opencv version: 4.5.5
info install with opencv contrib: yes
info install custom build flags: < none >
info install
info install executing: git --version
info install git Version 2.31.1.windows.1 found
info install executing: cmake --version
info install cmake Version 3.24.2 found
ERR! install Error: ENOENT: no such file or directory, scandir 'C:\Program Files\Microsoft Visual Studio'

package.json

{
  "name": "@u4/opencv-build",
  "version": "0.5.7",
  "description": "A simple script to auto build recent OpenCV + contrib version via npm 2022 Edition",
  "main": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "clean": "rimraf build",
    "build": "tsc",
    "build3x": "tsc && node lib/main.js --keepsource",
    "install_macm1": "node bin/main.js --version 4.5.5 --flag=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64\"",
    "install_4_5_5": "node bin/main.js --version 4.5.5",
    "install_4_6_0": "node bin/main.js --version 4.6.0",
    "do-install": "node bin/main.js",
    "cleanbuild": "rimraf lib && tsc",
    "postinstallDISABLED": "npm run do-install",
    "prepare": "npm run build",
    "prepublishOnly": "npm run build",
    "lint": "eslint src/**/*.ts",
    "test": "mocha -r ts-node/register 'test/**/*.test.ts'"
  },
  "bin": {
    "opencv-build-npm": "bin/main.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/UrielCh/npm-opencv-build.git"
  },
  "keywords": [
    "opencv",
    "build",
    "opencv4nodejs"
  ],
  "contributors": [
    "Uriel Chemouni<EMAIL_ADDRESS>(https://urielch.github.io/)",
    "justadudewhohacks (https://github.com/justadudewhohacks)"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/UrielCh/npm-opencv-build/issues"
  },
  "homepage": "https://github.com/UrielCh/npm-opencv-build#readme",
  "dependencies": {
    "@u4/tiny-glob": "^0.2.9",
    "npmlog": "^6.0.2",
    "picocolors": "^1.0.0",
    "rimraf": "^3.0.2"
  },
  "devDependencies": {
    "@types/chai": "^4.3.3",
    "@types/chai-string": "^1.4.2",
    "@types/mocha": "^9.1.1",
    "@types/node": "^18.8.4",
    "@types/npmlog": "^4.1.4",
    "@types/rimraf": "^3.0.2",
    "@typescript-eslint/eslint-plugin": "^5.40.0",
    "@typescript-eslint/parser": "^5.40.0",
    "chai": "^4.3.6",
    "chai-string": "^1.5.0",
    "eslint": "^8.25.0",
    "mocha": "^10.0.0",
    "ts-node": "^10.9.1",
    "typescript": "^4.8.4"
  },
  "files": [
    "lib"
  ]
}

stupid question: what is you Microsoft Visual Studio real path ?

fixed in v0.5.8

fixed in v0.5.8

It works fine in my environment.
Thank you for quick fix! 👍

fixed in v0.5.8

Thanks for your new release.  👍
Its works fine.

It works fine in my environment.
I thought it worked, but it looks like the path resolution is not working yet.
I verified with check-opencv4nodejs above.

path: '..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe',

My Microsoft Visual Studio real path:

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe

full error log
```
$ npm run build

<EMAIL_ADDRESS>build
build-opencv build

info config no opencv4nodejs section found in C:\Work\Instore\workspace\npm-test\check-opencv-build\package.json
info init no openCV version given using default verison 4.5.5
info init INIT_CWD is defined overwriting root path to C:\Work\Instore\workspace\npm-test\check-opencv-build
info init Workdir will be<EMAIL_ADDRESS>info install Using openCV 4.5.5
info install Using lib dir<EMAIL_ADDRESS>info install if you want to use an own OpenCV build set OPENCV4NODEJS_DISABLE_AUTOBUILD to 1, and fill OPENCV_BIN_DIR, OPENCV_INCLUDE_DIR, OPENCV_LIB_DIR environement variables
info readAutoBuildFile file does not exists<EMAIL_ADDRESS>info install
info install running install script...
info install
info install opencv version: 4.5.5
info install with opencv contrib: yes
info install custom build flags: < none >
info install
info install executing: git --version
info install git Version 2.34.1.windows.1 found
info install executing: cmake --version
info install cmake Version 3.18.0 found
info install using msbuild: 15 path: ..........\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
info install installing opencv version 4.5.5 into directory<EMAIL_ADDRESS>info install Cleaning old build: src, build and contrib-src directories
info install git clone https://github.com/opencv/opencv_contrib.git
remote: Enumerating objects: 3758, done.
remote: Counting objects: 100% (3758/3758), done.
remote: Compressing objects: 100% (3173/3173), done.
remote: Total 3758 (delta 665), reused 2082 (delta 337), pack-reused 0
info install git clone https://github.com/opencv/opencv.git
remote: Enumerating objects: 8299, done.
remote: Counting objects: 100% (8299/8299), done.
remote: Compressing objects: 100% (7181/7181), done.
remote: Total 8299 (delta 1244), reused 4365 (delta 718), pack-reused 0
info install running in<EMAIL_ADDRESS>cmake<EMAIL_ADDRESS>-G "Visual Studio 15 2017 Win64"<EMAIL_ADDRESS>-DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=OFF -DBUILD_DOCS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_JAVA=OFF -DBUILD_ZLIB=OFF -DCUDA_NVCC_FLAGS=--expt-relaxed-constexpr -DWITH_VTK=OFF -DOPENCV_ENABLE_NONFREE=ON<EMAIL_ADDRESS>-DBUILD_opencv_apps=OFF -DBUILD_opencv_aruco=OFF -DBUILD_opencv_bgsegm=OFF -DBUILD_opencv_bioinspired=OFF -DBUILD_opencv_calib3d=ON -DBUILD_opencv_ccalib=OFF -DBUILD_opencv_core=ON -DBUILD_opencv_datasets=OFF -DBUILD_opencv_dnn=ON -DBUILD_opencv_dnn_objdetect=OFF -DBUILD_opencv_dpm=OFF -DBUILD_opencv_features2d=ON -DBUILD_opencv_flann=ON -DBUILD_opencv_fuzzy=OFF -DBUILD_opencv_gapi=ON -DBUILD_opencv_hfs=OFF -DBUILD_opencv_highgui=ON -DBUILD_opencv_img_hash=OFF -DBUILD_opencv_imgcodecs=ON -DBUILD_opencv_imgproc=ON -DBUILD_opencv_java_bindings_generator=OFF -DBUILD_opencv_js=OFF -DBUILD_opencv_js_bindings_generator=OFF -DBUILD_opencv_line_descriptor=OFF -DBUILD_opencv_ml=ON -DBUILD_opencv_objc_bindings_generator=OFF -DBUILD_opencv_objdetect=ON -DBUILD_opencv_optflow=OFF -DBUILD_opencv_phase_unwrapping=OFF -DBUILD_opencv_photo=ON -DBUILD_opencv_python3=OFF -DBUILD_opencv_python_bindings_generator=OFF -DBUILD_opencv_python_tests=ON -DBUILD_opencv_reg=OFF -DBUILD_opencv_rgbd=OFF -DBUILD_opencv_saliency=OFF -DBUILD_opencv_shape=OFF -DBUILD_opencv_stereo=OFF -DBUILD_opencv_stitching=OFF -DBUILD_opencv_structured_light=OFF -DBUILD_opencv_superres=OFF -DBUILD_opencv_surface_matching=OFF -DBUILD_opencv_ts=OFF -DBUILD_opencv_video=ON -DBUILD_opencv_videoio=ON -DBUILD_opencv_wechat_qrcode=OFF -DBUILD_opencv_world=OFF -DBUILD_opencv_xobjdetect=OFF -DBUILD_opencv_xphoto=OFF -DBUILD_opencv_videostab=ON -DBUILD_opencv_face=ON -DBUILD_opencv_text=ON -DBUILD_opencv_tracking=ON -DBUILD_opencv_xfeatures2d=ON -DBUILD_opencv_ximgproc=ON
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.22621.
-- The CXX compiler identification is MSVC 19.16.27045.0
-- The C compiler identification is MSVC 19.16.27045.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected processor: AMD64
-- Found PythonInterp: C:/Users/ogata/AppData/Local/Programs/Python/Python36/python.exe (found suitable version "3.6.8", minimum required is "2.7")
CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message):
CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version:
PYTHON_EXECUTABLE=C:/Users/ogata/AppData/Local/Programs/Python/Python36/python.exe
PYTHON_VERSION_STRING=3.6.8
Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line
or environment variables
Call Stack (most recent call first):
cmake/OpenCVDetectPython.cmake:271 (find_python)
CMakeLists.txt:627 (include)
-- Could NOT find Python2 (missing: Python2_EXECUTABLE Interpreter)
Reason given by package:
Interpreter: Wrong major version for the interpreter "C:/Users/ogata/AppData/Local/Programs/Python/Python36/python.exe"
-- Found PythonInterp: C:/Users/ogata/AppData/Local/Programs/Python/Python36/python.exe (found suitable version "3.6.8", minimum required is "3.2")
-- Found PythonLibs: C:/Users/ogata/AppData/Local/Programs/Python/Python36/libs/python36.lib (found suitable exact version "3.6.8")
-- Performing Test HAVE_CXX_FP:PRECISE
-- Performing Test HAVE_CXX_FP:PRECISE - Success
-- Performing Test HAVE_C_FP:PRECISE
-- Performing Test HAVE_C_FP:PRECISE - Success
-- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp)
-- Performing Test HAVE_CPU_SSE3_SUPPORT - Success
-- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp)
-- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success
-- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp)
-- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success
-- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp)
-- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success
-- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp)
-- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success
-- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX - Success
-- Performing Test HAVE_CXX_ARCH:AVX2 (check file: cmake/checks/cpu_avx2.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX2 - Success
-- Performing Test HAVE_CXX_ARCH:AVX512 (check file: cmake/checks/cpu_avx512.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX512 - Success
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success
-- Performing Test HAVE_CXX_W15240
-- Performing Test HAVE_CXX_W15240 - Success
-- Performing Test HAVE_C_W15240
-- Performing Test HAVE_C_W15240 - Success
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.2.3")
-- Looking for fseeko
-- Looking for fseeko - not found
-- Check size of off64_t
-- Check size of off64_t - failed
-- libjpeg-turbo: VERSION = 2.1.2, BUILD = opencv-4.5.5-libjpeg-turbo
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Looking for include file intrin.h
-- Looking for include file intrin.h - found
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for io.h
-- Looking for io.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for search.h
-- Looking for search.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Performing Test C_HAS_inline
-- Performing Test C_HAS_inline - Success
-- Check size of signed short
-- Check size of signed short - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of signed int
-- Check size of signed int - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of signed long
-- Check size of signed long - done
-- Check size of signed long long
-- Check size of signed long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Check size of unsigned char *
-- Check size of unsigned char * - done
-- Check size of ptrdiff_t
-- Check size of ptrdiff_t - done
-- Looking for memmove
-- Looking for memmove - not found
-- Looking for setmode
-- Looking for setmode - found
-- Looking for strcasecmp
-- Looking for strcasecmp - not found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for lfind
-- Looking for lfind - found
-- Performing Test HAVE_SNPRINTF
-- Performing Test HAVE_SNPRINTF - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_C_STD_C99
-- Performing Test HAVE_C_STD_C99 - Failed
-- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources
-- OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.5-openjp2-2.4.0
-- Check if the system is big endian
-- Searching 16 bit integer
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for stdio.h
-- Looking for stdio.h - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for float.h
-- Looking for float.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for ctype.h
-- Looking for ctype.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for aligned_malloc
-- Looking for aligned_malloc - found
-- Looking for posix_memalign
-- Looking for posix_memalign - not found
-- Looking for memalign
-- Looking for memalign - not found
-- OpenJPEG libraries will be built from sources: libopenjp2 (version "2.4.0")
-- IPPICV: Download: ippicv_2020_win_intel64_20191018_general.zip
-- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold]
-- at<EMAIL_ADDRESS>-- found Intel IPP Integration Wrappers sources: 2020.0.0
-- at<EMAIL_ADDRESS>-- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
-- Looking for sgemm
-- Looking for sgemm - not found
-- Found Threads: TRUE
-- Could NOT find BLAS (missing: BLAS_LIBRARIES)
-- LAPACK requires BLAS
-- A library with LAPACK API not found. Please specify library location.
-- ADE: Download: v0.1.1f.zip
-- FFMPEG: Download: opencv_videoio_ffmpeg.dll
-- FFMPEG: Download: opencv_videoio_ffmpeg_64.dll
-- FFMPEG: Download: ffmpeg_version.cmake
-- Looking for mfapi.h
-- Looking for mfapi.h - found
-- Looking for d3d11_4.h
-- Looking for d3d11_4.h - found
-- Module opencv_alphamat disabled because the following dependencies are not found: Eigen
-- freetype2:   NO
-- harfbuzz:    NO
-- Julia not found. Not compiling Julia Bindings.
-- Module opencv_ovis disabled because OGRE3D was not found
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
-- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
-- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
-- Tesseract:   NO
-- Allocator metrics storage type: 'long long'
-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn'<EMAIL_ADDRESS>-- opencv_dnn: filter out cuda4dnn source code
-- Excluding from source files list: /modules/dnn/layers/layers_common.rvv.cpp
-- imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326
-- highgui: using builtin backend: WIN32UI
-- xfeatures2d/boostdesc: Download: boostdesc_bgm.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i
-- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i
-- xfeatures2d/vgg: Download: vgg_generated_48.i
-- xfeatures2d/vgg: Download: vgg_generated_64.i
-- xfeatures2d/vgg: Download: vgg_generated_80.i
-- xfeatures2d/vgg: Download: vgg_generated_120.i
-- data: Download: face_landmark_model.dat
-- General configuration for OpenCV 4.5.5 =====================================
--   Version control:               4.5.5
--   Extra modules:
--     Location (extra<EMAIL_ADDRESS>--     Version control (extra):     4.5.5
--   Platform:
--     Timestamp:                   2022-10-12T08:36:18Z
--     Host:                        Windows 10.0.22621 AMD64
--     CMake:                       3.18.0-rc2
--     CMake generator:             Visual Studio 15 2017 Win64
--     CMake build tool:            C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin/MSBuild.exe
--     MSVC:                        1916
--     Configuration:               Debug Release
--   CPU/HW features:
--     Baseline:                    SSE SSE2 SSE3
--       requested:                 SSE3
--     Dispatched code generation:  SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
--       requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
--       SSE4_1 (16 files):         + SSSE3 SSE4_1
--       SSE4_2 (1 files):          + SSSE3 SSE4_1 POPCNT SSE4_2
--       FP16 (0 files):            + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
--       AVX (4 files):             + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
--       AVX2 (31 files):           + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
--       AVX512_SKX (5 files):      + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ standard:                11
--     C++ Compiler:                C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe  (ver 19.16.27045.0)
--     C++ flags (Release):         /DWIN32 /D_WINDOWS /W4 /GR  /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi  /fp:precise     /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP  /MD /O2 /Ob2 /DNDEBUG
--     C++ flags (Debug):           /DWIN32 /D_WINDOWS /W4 /GR  /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi  /fp:precise     /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP  /MDd /Zi /Ob0 /Od /RTC1
--     C Compiler:                  C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
--     C flags (Release):           /DWIN32 /D_WINDOWS /W3  /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi  /fp:precise     /MP   /MD /O2 /Ob2 /DNDEBUG
--     C flags (Debug):             /DWIN32 /D_WINDOWS /W3  /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi  /fp:precise     /MP /MDd /Zi /Ob0 /Od /RTC1
--     Linker flags (Release):      /machine:x64  /INCREMENTAL:NO
--     Linker flags (Debug):        /machine:x64  /debug /INCREMENTAL
--     ccache:                      NO
--     Precompiled headers:         YES
--     Extra dependencies:
--     3rdparty dependencies:
--   OpenCV modules:
--     To be built:                 barcode calib3d core dnn dnn_superres face features2d flann gapi highgui imgcodecs imgproc intensity_transform mcc ml objdetect photo plot quality rapid text tracking video videoio videostab xfeatures2d ximgproc
--     Disabled:                    aruco bgsegm bioinspired ccalib datasets dnn_objdetect dpm fuzzy hfs img_hash java_bindings_generator js_bindings_generator line_descriptor objc_bindings_generator optflow phase_unwrapping python3 python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching wechat_qrcode world xobjdetect xphoto
--     Disabled by dependency:      -
--     Unavailable:                 alphamat cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java julia matlab ovis python2 sfm ts viz
--     Applications:                -
--     Documentation:               NO
--     Non-free algorithms:         YES
--   Windows RT support:            NO
--   GUI:                           WIN32UI
--     Win32 UI:                    YES
--   Media I/O:
--     ZLib:                        build (ver 1.2.11)
--     JPEG:                        build-libjpeg-turbo (ver 2.1.2-62)
--     WEBP:                        build (ver encoder: 0x020f)
--     PNG:                         build (ver 1.6.37)
--     TIFF:                        build (ver 42 - 4.2.0)
--     JPEG 2000:                   build (ver 2.4.0)
--     OpenEXR:                     build (ver 2.3.0)
--     HDR:                         YES
--     SUNRASTER:                   YES
--     PXM:                         YES
--     PFM:                         YES
--   Video I/O:
--     DC1394:                      NO
--     FFMPEG:                      YES (prebuilt binaries)
--       avcodec:                   YES (58.134.100)
--       avformat:                  YES (58.76.100)
--       avutil:                    YES (56.70.100)
--       swscale:                   YES (5.9.100)
--       avresample:                YES (4.0.0)
--     GStreamer:                   NO
--     DirectShow:                  YES
--     Media Foundation:            YES
--       DXVA:                      YES
--   Parallel framework:            Concurrency
--   Trace:                         YES (with Intel ITT)
--   Other third-party libraries:
--     Intel IPP:                   2020.0.0 Gold [2020.0.0]
--            at<EMAIL_ADDRESS>--     Intel IPP IW:                sources (2020.0.0)
--               at<EMAIL_ADDRESS>--     Lapack:                      NO
--     Eigen:                       NO
--     Custom HAL:                  NO
--     Protobuf:                    build (3.19.1)
--   OpenCL:                        YES (NVD3D11)
--     Include path<EMAIL_ADDRESS>--     Link libraries:              Dynamic load
--   Python (for build):            C:/Users/ogata/AppData/Local/Programs/Python/Python36/python.exe
--   Install to<EMAIL_ADDRESS>
--
-- Configuring done
-- Generating done
-- Build files have been written to<EMAIL_ADDRESS>info install starting build...
info install spawning in<EMAIL_ADDRESS>"..........\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe" ./OpenCV.sln /p:Configuration=Release /p:Platform=x64
node:events:505
throw er; // Unhandled 'error' event
^
Error: spawn ..........\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn ..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe',
path: '..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe',
spawnargs: [ './OpenCV.sln', '/p:Configuration=Release', '/p:Platform=x64' ]
}
</details>

v0.5.9 works fine in my environment 👍
Thank you for your prompt and courteous response.

issue fixed


Extension issue

Issue Type: Bug
Extension Name: json-language-features
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.21996
VS Code version: 1.60.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

We need the data that was in the clipboard....


Fix/848 Exclude config.route.exclude files from auto-generated sidebar

Summary
When no _meta.json is found, instead of going through all children, use globby to exclude files defined in config.route.exclude.
Related Issue
#848 [Bug]: Excluded routes still appear in the no-config sidebars
Checklist

[X] I have added changeset via pnpm run change.
[X] I have updated the documentation.
[ ] I have added tests to cover my changes.

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


#![feature(unicode)]

With rustc (1.0.0-beta.3 (5241bf9c3 2015-04-25) (built 2015-04-25))
I just created a dependency with bincode = "*" in my code. Now cargo build is saying
/Users/XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/bincode-0.1.2/src/lib.rs:6:1: 6:21 error: unstable feature

/Users/XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/bincode-0.1.2/src/lib.rs:6 #![feature(unicode)]
                                                                                ^~~~~~~~~~~~~~~~~~~~

note: this feature may not be used in the beta release channel
error: aborting due to previous error
Could not compile bincode.

Fixed in efa1afd59c699cdcfdadba04c8cf5e77925c9f50
Run cargo update -p bincode to get the beta-compatible version.
This unfortunately adds an allocation to the middle of emitting chars, but hopefully that doesn't happen very often.
I'll change it back once the unicode crate stabilizes.


Add FloatBorder, FloatShadow, FloatShadowThrough?

These are not mentioned in :h highlight-groups though.
But maybe they should be mentioned? NormalFloat is in there.

Is there docs for em? :h FloatShadow has no result.

Just following up, these still only appear in syntax.c, undocumented so going wait till they are public. Will leave open until then.
"default link FloatBorder VertSplit",
"default FloatShadow blend=80 guibg=Black",
"default FloatShadowThrough blend=100 guibg=Black",


Add schema to service account issuer URI

What this PR does / why we need it
The service-account-issuer arg requires a URI, which should include the schema.

Identifier  of the service account token issuer. The issuer will assert this  identifier in "iss" claim of issued tokens. This value is a string or  URI. If this option is not a valid URI per the OpenID Discovery 1.0  spec, the ServiceAccountIssuerDiscovery feature will remain disabled,  even if the feature gate is set to true. It is highly recommended that  this value comply with the OpenID spec:  https://openid.net/specs/openid-connect-discovery-1_0.html. In practice,  this means that service-account-issuer must be an https URL. It is also  highly recommended that this URL be capable of serving OpenID discovery  documents at {service-account-issuer}/.well-known/openid-configuration.  When this flag is specified multiple times, the first is used to  generate tokens and all are used to determine which issuers are  accepted.

More details https://gigantic.slack.com/archives/C02GLN41UP2/p1693239516555659
Checklist

[x] Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

/run cluster-test-suites

here we go again... tests are taking for ever 😢

/run cluster-test-suites

/run cluster-test-suites


chore: add forms package

This PR adds the new @angular/forms package to angular.io examples.
/cc @Foxandxss

And after we propagate this to all examples, no one cries?

Tried ToH-6 and it was fine.

ToH, the ultimate _example where we can try everything.
It is good for me then.

I'll wait for the router update to do that as well.

Added in the router, but we need to check tests. I expect some of them to fail.

Unsurprisingly, public/docs/_examples/router/ts failed - but it was the only one, which is good.
@Foxandxss do we have an update in the works?

What kind of update?

Blocked by https://github.com/angular/angular.io/pull/1691

merged and live!


feat:Combine AsyncToJson and TextractGenericAsyncSfnTask

On the other hand, I am thinking why not put AsyncToJson as an inherent function of TextractGenericSyncSfnTask instead of a separate Task? This way we always get consistent output. If we don’t want to delete the original JSONs, we can provide a prop retain_orig_resopnse= true/false which will allow developers to either retain or get rid of the original JSONs. IMO, we should probably implement the latter (so the output manifest in the previous point will have output_path as this consolidated JSON always, plus the original output path if the retain_orig_resopnse prop is set to true). This applies for AnalyzeDoc & AnalyzeExpense Async except that there’s no post processing required for Expense since the JSON is always combined by Textract by default (afaik).

My first implementation actually had that, but with multi-page documents, the memory requirements for the Lambda to combine the JSON response become huge (250 MB json response for a 800 page document turn into 1.5 GB memory requirements), which was quite a lot of mem for this function. So I moved it out to be more flexible on the mem config for the Lambda and potentially route to different mem-config-optimized Lambdas based on the document size.
Maybe create a Construct that combines both would make sense.

I like the idea of a combined construct. If size is an issue how about we do the AsyncToJson processing in the second lambda textract_async_sns_listener which merely does logging and callback to the Sfn workflow. We would still have two separate Lambdas alleviating the memory concerns and we provide a memory prop to TextractGenericAsyncSfnTask that allows the user to set the memory for textract_async_sns_listener Lambda.

The textract_async_sns_listener did have the mem issue. Only at time of notification I could combine the responses and that sns listener then because a big Lambda.
I was thinking of combining the 2 Constructs into 1, combining the TextractGenericAsyncSfnTask and AsyncToJson. Ultimately customer may want to optimize cost and have a different routing for different document size.

Got it. Well I think in that case a combo Constructs just adds to our overhead of maintaining it. If we simply keep them as two separate constructs, there's a lot more freedom from setting up custom workflow in an "as needed" basis.


Read Side Bar State

It would be useful to have an API to check to see if the Side Bar is currently expanded or collapsed.  I have an extension that makes use of the relatively new TreeData.reveal API to highlight code segments as the user's cursor moves around (they can also click on the tree nodes to go directly there in the code).  Currently, reveal will always expand the Side Bar if it's collapsed, which is annoying for users who want to collapse it. Being able to detect the Side Bar state world resolve this issue, as I could then forego the reveal if there Side Bar is collapsed.

https://github.com/Microsoft/vscode/issues/48198 mostly handles this, so closing this ticket.


Remove Tauri.

It seems Tauri will not be supported, so removing it.
See: https://github.com/usebruno/bruno/issues/20#issuecomment-1488185033
closes #1099
Description
The version of Tauri in bruno-tauri brings in some dependencies which security issues which are getting packaged in the source zip.  This causes false alarms when scanning the source zip for vulnerabilities, since this code is not used.

updated package.json to remove the packages/bruno-tauri dependency
removed the packages/bruno-tauri folder
updated package-lock.json by running npm install

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Thank you @nickheniser !


[DEAD APP ON CHROME] ReferenceError: SharedArrayBuffer is not defined

The App is unable to create instance of SharedArrayBuffer (src/voxel-block-builder.js), because of lack of CORS isolation.
Uncaught ReferenceError: SharedArrayBuffer is not defined
    at _VoxelBuilderThreadedWorker.BuildMeshDataFromVoxels_ (voxel-block-builder.js:1300:17)
    at _VoxelBuilderThreadedWorker.Rebuild (voxel-block-builder.js:1174:25)
    at self.onmessage (voxel-builder-threaded-worker.js:11:32)

Starting in Chrome 92, functionalities that use SharedArrayBuffer will no longer work without cross-origin isolation. If you landed on this page due to a SharedArrayBuffer deprecation message, it's likely either your website or one of the resources embedded on it is using SharedArrayBuffer. To ensure nothing breaks on your website due to deprecation, start by identifying where it's used. (https://web.dev/cross-origin-isolation-guide/)

Env: Chrome Version 97.0.4692.99 (Official Build) (arm64), Mac OSX 12.1
Steps to reproduce:

go to the https://www.simondev.io/tutorials/Minecraft2/demo/

How to fix:

add Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp header to main html file.
check if crossOriginIsolated returns true in devtools console.

Ah yeah, I actually fixed this locally since I was presenting this to my kid's class heh. Change them to ArrayBuffers and set the transfer arg in PostMessage. I'll do it when I have time.

any update on this?

There's a PR for the bug fix: https://github.com/simondevyoutube/Quick_MinecraftClone2/pull/4
Also, for anyone impatient (like myself), I made a fork to fix this bug: https://github.com/Lukenickerson/simine-craft


User avatar usage docs

Need to re-write the usage docs from the existing User profile images to the updated designs for User avatar (new version) to replace
Original issue
Acceptance criteria:

[ ] Update existing page from user profile to user avatar
[ ] Usage docs need to follow the usage docs template. Note the template includes accessibility status  section which you don't need to include for now.

PR opened https://github.ibm.com/CDAI-design/pal/pull/1600

Docs are on the new website, but there’s still an outstanding task to update hex codes in one image.
https://github.com/carbon-design-system/ibm-products/issues/5543#issuecomment-2396214476
We should follow up with @marion-bruells on whether she’s found the Sketch file. We can alternatively open this item as a bug in the docs and address it after stable release.
FYI @RichKummer


Playerctl cannot detect players when script is running

Setup:
player = sublime-music (*sonic) player
Problem:
When I add the hook to the appropriate ipc polybar module, my playerctl is unable to detect sublime-music. Playerctl is normally fully functional with sublime-music, but breaks when the script is added.
get_player_status.sh
#!/bin/bash

PARENT_BAR="mainbar"
PARENT_BAR_PID=$(pgrep -a "polybar" | grep "$PARENT_BAR" | cut -d" " -f1)

PLAYER="sublime-music"

FORMAT="{{ title }} - {{ artist }}"

update_hooks() {
    while IFS= read -r id
    do
        polybar-msg -p "$id" hook music-pp $2 1>/dev/null 2>&1 # upon adding hook to "music-pp", playerctl shows no players
    done < <(echo "$1")
}

PLAYERCTL_STATUS=$(playerctl --player=$PLAYER status 2>/dev/null)
EXIT_CODE=$?

if [ $EXIT_CODE -eq 0 ]; then
    STATUS=$PLAYERCTL_STATUS
else
    STATUS="No player is running"
fi

if [ "$1" == "--status" ]; then
    echo "$STATUS"
else
    if [ "$STATUS" = "Stopped" ]; then
        echo "No music is playing"
    elif [ "$STATUS" = "Paused"  ]; then
        update_hooks "$PARENT_BAR_PID" 2
        playerctl --player=$PLAYER metadata --format "$FORMAT"
    elif [ "$STATUS" = "No player is running"  ]; then
        echo "$STATUS"
    else
        update_hooks "$PARENT_BAR_PID" 1
        playerctl --player=$PLAYER metadata --format "$FORMAT"
    fi
fi

polybar relevant modules:
[module/music]
type = custom/script
tail = true
format-prefix = " "
format = <label>
exec = ~/.config/polybar/scroll_sublime_music_status.sh

[module/music-pp]
type = custom/ipc
hook-0 = echo ""
hook-1 = echo ""
initial = 1
click-left = playerctl sublime-music play-pause

I'm not really that well versed in scripting/playerctl so I'm not sure exactly why adding the hook to the module breaks playerctl functionality for sublime-music. Hope you can help figure out what the issue is. Thanks!

Hi, thanks for the quick response.
Yes, you've got it right; when I don't have the polybar module/scripts running as written above, I have no issues controlling the player using playerctl.
Ipc is enabled in the bar with enable-ipc = true.
I think it may be something about the hook actions in the script itself that is part of the issue.

commenting out hooks in polybar config, but leaving the hooks in script still shows the problem
leaving hooks in polybar config, but commenting out hooks in script allows playerctl to recognize/act on my player
commenting out hooks in both polybar config and script allows playerctl to recognize/act on my player

Troubleshooting things I've tried so far:

WITHOUT the hooks commented out at all, ./get_player_status.sh returns "No player is running".
WITHOUT the hooks commented out at all, playerctl status returns "No player is running" and no commands (like playerctl --player=sublime-music <command>) work on the player.
WITH the hooks commented out, ./get_player_status.sh STILL returns "No player is running"
WITH the hooks commented out, playerctl status returns "Stopped" and all playerctl commands work (I'm able to start/stop/find metadata etc.)

Beyond that, I've just restarted the computer to see if it was a WM/cache problem, but I haven't had time to do much other troubleshooting on the issue. If you have any additional ideas of other troubleshooting, I'm happy to give it a go. Hope this is clear, and let me know if you need any additional clarification.

Ah, I think I've actually figured out where the problem is with your latest suggestion.
PLAYERCTL_STATUS=$(playerctl --player=$PLAYER) just prints out the help menu for both spotify and sublime-music, but PLAYERCTL_STATUS=$(playerctl --player=$PLAYER status) prints out with different stdouts for spotify and sublime-music.
I think this may actually have something to do with sublime-music and playerctl but I don't really know enough about either to say what the problem is.
These commands from terminal produce different results for the different music players:

While spotify stopped, playerctl --player=spotify status -> Stopped
While spotify stopped, playerctl status -> Stopped
While sublime-music is stopped, playerctl --player=sublime-music status -> No players found (unexpected)
While sublime-music is stopped, playerctl status -> Stopped as expected

I was able to get the script to work completely as expected when I removed the lines specifying the player and replaced them with generic playerctl status lines.
#!/bin/bash

# The name of polybar bar which houses the main spotify module and the control modules.
PARENT_BAR="mainbar"
PARENT_BAR_PID=$(pgrep -a "polybar" | grep "$PARENT_BAR" | cut -d" " -f1)

PLAYER="sublime-music"

FORMAT="{{ title }} - {{ artist }}"

update_hooks() {
    while IFS= read -r id
    do
        polybar-msg -p "$id" hook music-pp $2 1>/dev/null 2>&1
    done < <(echo "$1")
}

PLAYERCTL_STATUS=$(playerctl status 2>/dev/null)
EXIT_CODE=$?

if [ $EXIT_CODE -eq 0 ]; then
    STATUS=$PLAYERCTL_STATUS
else
    STATUS="No player is running"
fi

if [ "$1" == "--status" ]; then
    echo "$STATUS"
else
    if [ "$STATUS" = "Stopped" ]; then
        echo "No music is playing"
    elif [ "$STATUS" = "Paused"  ]; then
        update_hooks "$PARENT_BAR_PID" 2
        playerctl  metadata --format "$FORMAT"
    elif [ "$STATUS" = "No player is running"  ]; then
        echo "$STATUS"
    else
        update_hooks "$PARENT_BAR_PID" 1
        playerctl metadata --format "$FORMAT"
    fi
fi

As far as my specific set up goes in case you would still like to troubleshoot the exact problem:
Server: Ubuntu 20.04 LTS, running Linuxserver's image of Airsonic on docker-compose
Client: Arch linux 5.10.72-1 LTS, running the sublime-music 0.11.13-1 package from AUR, playerctl 2.4.1-1
If Airsonic and client are on the same network, there shouldn't be any need for any special network rules. Once Airsonic is spun up on docker-compose, you can just connect directly to the web interface at http://SERVER_IP:4040. To have any music to play, make sure there's something in the folders you mount to the docker container.
On the client, to use sublime-music, the button to the right of the settings will have a place for you to login to your http://SERVER_IP:4040 with whatever username and password you set.
Let me know if you have any questions while working on this, I'm happy to help out with more details if needed!


UHF-8220: Text paragraph RTL support

UHF-8220

What was done

Text paragraph update with logical CSS properties
Quote plugin updated in other PR

How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the HDBT theme

composer require drupal/hdbt:dev-UHF-8220_Text_paragraph_RTL_support
Rebuild with npm run build in HDBT theme

Run make drush-cr

How to test

[ ] Check text paragraph with Table and Blockquote contents on RTL language (Arabics)
[ ] Check aria labeling
[ ] Check that code follows our standards

Designers review

[X] This PR does not need designers review

Other PRs

UHF-8220: Screen reader support for quotes

Since this is quite behind and have so many conflicts, I'm closing this in favor of !644 where I picked the changes the main doesn't have yet from this PR.


Incorrect registry value that AppContext for Japanese era

Example:
HKEY_LOCAL_MACHINE\Software\Microsoft.NETFramework\AppContext
Switch.System.Globalization.FormatJapaneseFirstYearAsANumber
Value 1
This registry value is not effected. (tested on Windows 10 1809)
Correct value is "true".

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

ID: 6585f784-ab83-1a98-acc0-a25351702686
Version Independent ID: 61afd4f7-9445-ef3e-3061-9b4dc71aae6e
Content: Working with calendars
Content Source: docs/standard/datetime/working-with-calendars.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for pointing this out, @Azulea. We've opened #13052 to address this issue.


Add auto test functionality

Start test with bad config data
Start test with an valid config data
Receaving statistics
Receaving progress
Receaving Err, Warn
Pause test
Continue test
Stop test on port disconnection
Stop test by user input
Execution of the whole test from start till finish

@MaureenChan talk about we can add test that compare port configuartions, just like we compare two XPC files.


Make license list version configurable

What type of PR is this?
/kind feature
What this PR does / why we need it:
In order to make the license list embeddable (see https://github.com/kubernetes-sigs/bom/pull/195), we need to tell the license downloader and catalog which version to use. This PR adds a new flag to bom generate to add a new flag --license-list-version to configure which version to use.
Right now, the value is hard coded to the latest right no (3.20). Going forward what we want is to embed the data in bom and only download if we need another one.
In order to keep it current, we plan add a new presubmit to ensure at PR time that we are always embedding the latest one from the SPDX license repo.
Which issue(s) this PR fixes:
Related to #195
Special notes for your reviewer:
/cc @sbs2001
Does this PR introduce a user-facing change?
- bom will now correctly register in the SBOM the license list it used to scan code to detect licenses
- the version of the SPDX license list to use is now configurable at SBOM generation time using `--license-list-version`

I've pushed a new commit with a refactor of the doc builder implementation to reduce its complexity and make it more testable, its the same code but split into a new file and new functions which are more scoped and testable.
I did not commit the integration test yet because there is an import loop in the fakes that needs to be resolved first, PTAL @cpanato


Login

Where to give url of the ejjaberd here in whixp
I have used echo before now when I try to whixp its different

Duplicate of #43.


Cannot upgrade EKS clusters if using Rancher created VPC and Subnets

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

Create EKS cluster using a kubernetes version that is not the latest (1.13 or 1.14). Use all other default options. Specifically "Rancher Created VPC and Subnet"
Attempt to upgrade the kubernetes version on that cluster

Result:
Fails with error: Validation failed in API: amazonElasticContainerServiceConfig subnets=NotNullable 422:
Other details that may be helpful:
Probably due to backport of: https://github.com/rancher/rancher/issues/26231#issuecomment-604020610
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.3.7-rc4
Installation option (single install/HA): single and HA (validated this happens in both)

Available in latest2-3 and 2.3.46

Validated fixed using ui-index 2.3.46 (https://releases.rancher.com/ui/2.3.46/index.html)
Following the same steps as above, I do not see the issue using this ui-index. This will be available in the rc5.


added terms to footer

Added the updated terms of service link which goes to -> https://wiki.aragon.org/documentation/legal/Privacy_policy/

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


Cannot connect to local server, silent failure

Environment data

VS Code version: 1.53.0-insider
Jupyter Extension version (available under the Extensions sidebar): v2020.12.414227025
Python Extension version (available under the Extensions sidebar): v2020.12.424452561
OS (Windows | Mac | Linux distro) and version: macOS 10.15.7
Python and/or Anaconda version: 3.8.6 (but also there are conda envs)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): At the moment, N/A
Jupyter server running: Local | N/A

Expected behaviour

Shift-Command-P > Select local or remote jupyter server
Put in url
Restart vscode after prompt
Run notebooks through that server

Actual behaviour
No execution, no errors. I can get notebook execution if I have vscode start a server. I thought it might be like #3916, but I'm just not getting any output or anything.
Kernels are being picked up correctly, but I'm not sure if that's cached. Notebook server is definitely running:
$ jupyter notebook list
Currently running servers:
http://localhost:8888/?token=577f9fb28942695a39fb6a0a1d814d5b5d447634a266517f :: /Users/isaac

Plus I've got a notebook open in safari. I don't see any notifications in the notebook log about vscode.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Shift-Command-P > Select local or remote jupyter server
Put in url
Restart vscode after prompt
Run notebooks through that server

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'NativeNotebookEditor'
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /usr/local/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Error 2020-12-18 19:44:58: SessionManager cannot enumerate kernelspecs. Returning default.

@ivirshup do you have a workspace open? Could be related to #4037

Yes, I have tried this with workspaces open. It does ask me to restart vscode after changing the url, so I suppose there would be some time in this process during which a workspace isn't open.

@ivirshup Given that last line in the jupyter log it looks like it did pick up a remote URL, but failed to enumerate the kernel specs on the server. If you have access to the environment used to start up that server can you try running jupyter kernelspec list and see if you get kernels listed without any errors? That might be the step that's failing here, and I have seen issues before with machines that can't list the kernelspecs correctly.

Issues labeled with "Info needed" are closed if we do not receive more information from the issue author in 2 weeks. If you are the issue author and you still are running into this problem, please reactivate with additional information.

Issues labeled with "Info needed" are closed if we do not receive more information from the issue author in 2 weeks. If you are the issue author and you still are running into this problem, please reactivate with additional information.


Integrating MUI Autocomplete for searching and filtering countries

This PR integrates an alternative modal to the FlagsMenu that allows for the selection of a calling code via countries. This method integrates MUI's Autocomplete component to allow users to type and filter the list of countries to easily find their desired calling code.
Comments are appreciated!

@viclafouch Thanks for looking through! I'll make the updates.

Let me take a look this weekend ;)
ty !!

At the moment I have to issues with the current implementation (apart from styling ;) )

For me (Chrome, Win10) the autocomplete doesn't work because MUI Menu captures keyboard inputs to jump to the item that starts with the letter of the key pressed. So my key strokes never even reach the input.
If you have a default or pre-selected country, the list automatically scrolls down and you can't even see the input on top.

At the moment I have to issues with the current implementation (apart from styling ;) )

For me (Chrome, Win10) the autocomplete doesn't work because MUI Menu captures keyboard inputs to jump to the item that starts with the letter of the key pressed. So my key strokes never even reach the input.

If you have a default or pre-selected country, the list automatically scrolls down and you can't even see the input on top.

    [

        ![muitelinput](https://user-images.githubusercontent.com/731228/230065387-3fd3ad5c-4fe3-4c6c-a40e-347879d69b4f.gif)
      ](https://user-images.githubusercontent.com/731228/230065387-3fd3ad5c-4fe3-4c6c-a40e-347879d69b4f.gif)

      [

      ](https://user-images.githubusercontent.com/731228/230065387-3fd3ad5c-4fe3-4c6c-a40e-347879d69b4f.gif)

Is this your own implementation? I'm quite sure this isn't how I've implemented this.

@ja153903 Hey! I just noticed we're using this library on one of our projects and I'm being asked to add this feature. Do you think this will be implemented any time soon or should I look for something else/build something from scratch?

Hello ! We need this feature 🙏

Would love to use this library, just need that search ability added!

we need this feature please when this feature is available ?

Would love to get this in as well! Let me know if there is a way to help.

Looks like just a few conflicts from getting this merged.  Would be a great addition to the library.  Following for release!  😄

+1

+1

+1


Youtube :  auto-generated subtitle of original language downloads but not the auto-translated subtitles

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.04.26
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

Description

For youtube German video  https://www.youtube.com/watch?v=nYh32GMnaG4 , youtube-dl downloaded the German auto-generated subtitles, but not French and English which are auto-generated. This error is for Youtube-dl versions: 2021.04.06 and 2021.03.25.
The error output after running youtube-dl in Windows command (DOS box):-
C:\tools\youtube-dl>youtube-dl --version
2021.04.26
C:\tools\youtube-dl>youtube-dl --write-auto-sub --sub-lang de,en,fr --skip-downl
oad https://www.youtube.com/watch?v=nYh32GMnaG4
[youtube] nYh32GMnaG4: Downloading webpage
[info] Writing video subtitles to: Filmfest München 2016 I Brunhilde Pomsel EIN
DEUTSCHES LEBEN-nYh32GMnaG4.en.vtt
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP
Error 404: Not Found (caused by HTTPError()); please report this issue on https:
//yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -
U  to update. Be sure to call youtube-dl with the --verbose flag and include its
complete output.
[info] Writing video subtitles to: Filmfest München 2016 I Brunhilde Pomsel EIN
DEUTSCHES LEBEN-nYh32GMnaG4.de.vtt
[info] Writing video subtitles to: Filmfest München 2016 I Brunhilde Pomsel EIN
DEUTSCHES LEBEN-nYh32GMnaG4.fr.vtt
WARNING: Unable to download subtitle for "fr": Unable to download webpage: HTTP
Error 404: Not Found (caused by HTTPError()); please report this issue on https:
//yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -
U  to update. Be sure to call youtube-dl with the --verbose flag and include its
complete output.
C:\tools\youtube-dl>

I have this problem too (or similar).
This video https://www.youtube.com/watch?v=tVRjB-hv4BE has English subtitles, provided by the creators.
You can choose to auto-translate those in your language, and are of much better quality of those auto-generated in your language you can embed via youtube-dl.
In short:

on youtube, you can watch that video with:

English (provided) subtitles,
English (auto-generated) subtitles,
Your Language (auto-translated from the provided ones) subtitles.

in youtube-dl, you can download and embed that video with:

English (provided) subtitles,
English (auto-generated) subtitles,
Your Language (auto-translated from the auto-generated ones) subtitles.

Is there a way to download the subtitles in Your Language, the variant auto-translated by youtube from the provided ones?


[CELEBORN-1654] Fix flaky test TestCongestionController#testUserMetrics

What changes were proposed in this pull request?
Fix flaky test TestCongestionController#testUserMetrics
Why are the changes needed?
Fix flaky test TestCongestionController#testUserMetrics
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs.


Explorer updates to Transfers page

Add a new Timestamp column to https://amarok.connextscan.io/transfers tho the right of the Transfer ID column. Use the timestamp but stack the date above the time to avoid it too wide


Squash migrations

This line in one of the migrations is resulting in a empty Dataset being created whenever ./manage.py migrate is run. This is needed because that migration was making a nullable field of an existing model non-nullable; because of this every existing nullable field had to be set to something, so this dummy dataset is created for that purpose. This can be confusing for downstream projects.
This PR squashes migrations so that this field can just be non-nullable from the start and not require creating a dataset.

@AlmightyYakob @banesullivan afaik, Danesfield is the only downstream project using OASIS, so this should be safe to do.


Add a Gitter chat badge to README.md

sudodrink/recipes now has a Chat Room on Gitter
@jordanrinke has just created a chat room. You can visit it here: https://gitter.im/sudodrink/recipes.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Did it manually without seeing the pull


[bug] "@tauri-apps/api/http" issue in MacOS 11

Describe the bug
Hi,
A few of my users using MacOS 11 have reported an issue https://github.com/neil-morrison44/pocket-sync/issues/74
I've narrowed it down to being my only usage of @tauri-apps/api/http which I added recently here: https://github.com/neil-morrison44/pocket-sync/blob/adf8f46d3e5990b971ab01464b3a06ac34f86038/src/recoil/platforms/selectors.ts#L98 but as I don't have a MacOS 11 instance I can't narrow it down further (sorry)
The google results for the error - "options.signal must be AbortSignal" used to just return results showing where that text went into webkit but now they just show that issue.
I'm not doing anything with AbortSignal / signal in my code - & neither is tuari, at least in this repo... so I suspect it to be an issue with whichever edition of WebKit is in MacOS 11.
Reproduction

Use "@tauri-apps/api/http" on MacOS 11 in a way similar to the above code snippet
Get an error

Expected behavior

Don't get an error, like it does on MacOS 12+

Platform and versions
(mine, not those seeing the error)
Environment
› OS: Mac OS 13.1.0 X64
› Node.js: 16.13.0
› npm: 8.1.0
› pnpm: Not installed!
› yarn: 1.22.17
› rustup: 1.25.1
› rustc: 1.65.0
› cargo: 1.65.0
› Rust toolchain: stable-aarch64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.2.3
› @tauri-apps/api [NPM]: 1.2.0
› tauri [RUST]: 1.2.3,
› tauri-build [RUST]: 1.2.1,
› tao [RUST]: 0.15.8,
› wry [RUST]: 0.23.4,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:1420/
› framework: React
› bundler: Vite
App directory structure
├─ readme_images
├─ dist
├─ target
├─ node_modules
├─ public
├─ .github
├─ src-tauri
├─ .git
├─ .vscode
└─ src
Stack trace
options.signal must be AbortSignal
pipeThrough@[native code]
gS@tauri://localhost/assets/index-5fe25fcd.js:3200:1104170
tauri://localhost/assets/index-5fe25fcd.js:3200:1107547
asyncFunctionResume@[native code]
tauri://localhost/assets/index-5fe25fcd.js:3201:1161278
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]

Additional context
Since it's probably an (incredibly rare) webkit issue feel free to close this as a known issue if you don't feel like doing a workaround (if that's even possible).
If you want to see it error in the app let me know and I'll send over a small zip with a folder in it that looks enough like the file system expected to run the app

I honestly don't think this is in any way related to @tauri-apps/api/http. All the api does is to call the rust side and return the json response as-is. Maybe something else in your frontend is incompatible with Safari 14 (this is the wkwebview version macos 11 uses)?

Hmm, yeah can’t see how that’d cause it either.
My thought was that abortSignal usually gets used with network requests, but it’s entirely possible that something else is using it for a different purpose.
Everywhere else I’ve been able to call using fetch but this was the one place with CORS issues.
I’ll close this and dig in a bit further, there’s some unzipping that also only happens there that could be the culprit…


Received a build Error

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/edit
Operating System: macos
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
My operating System version is Mac 10.14 Mojave
I got the below error
Program.cs(4,7): error CS0246: The type or namespace name 'Internal' could not be found (are you missing a using directive or an assembly reference?) [/Users/subhro/Documents/programming/dotnetCore/dotnetCore.csproj]
The build failed. Fix the build errors and run again.

This is after the normal Hello World run. Meaning, I just added another Console.WriteLine statement with only a string.
The code snippet that fails for me is
using Internal;
using System;

namespace dotnetCore
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Console.WriteLine("This is another line");
        }
    }
}

the using Interal; line is causing the issue. You have no "Internal" namespace in your project.


feat: add cli-32 and cli-64 from conda project

I think we should still document more where these come from. I'll try to find more info from @jezdez and co.
I would also like to find out if the 64 bit executable works on Windows ARM64 ... it might?!

Those launchers are copied from conda-build.

Those launchers are copied from conda-build.

This was just an observation or something actionable? :)
Unfortunately, the knowledge on how to build these launchers seems to have been "lost" :D
I had high hopes that Anaconda could build the win-arm64 launcher (cc @jezdez).

@wolfv this is a good idea IMO, for the https://github.com/conda-incubator/installer team, I'm tapping @marcoesters and @Callek to help move the building of the binaries into an own repo, so we can start using them and build them correctly for new platforms

Should this PR be updated with the latest launchers @wolfv ?

Should we try the zig built ones @baszalmstra? :)

That would have my preference for sure!

They are not codesigned, if that makes a difference.


The program can't run in  "set Flag" s help

Describe the bug
The program can't run in  "set Flag" s help
Steps to reproduce the behavior
1.Navigate to https://arcade.makecode.com/beta#
2.New Project
3.Right-click set mySprite bounce on wall----->Help
4.Run the program in the help documentation
Expect behavior
It can run as expect
Actual behavior
The program can't run in  "set Flag" s help

Additional context
1.OS: Windows(rs6)
2.arcade version: 1.3.13
3.Microsoft MakeCode version: 6.5.2

This is fixed. @Sheila111 please validate.

This is fixed. @Sheila111 please validate.

@abchatra Still repro in version 1.3.25

@abchatra Still repro in version 1.3.25


Do the remote-write  support   the recording rule data?

Proposal
we aggregate the raw metrics with record rules of prometheus, and we need  dump the recording rule data  into kafka.
there is a  component(https://github.com/Telefonica/prometheus-kafka-adapte)  which can receive the data by remote-write  of prom  into kafka.
but  the data only contain raw grab  metrics,   did not contain  the metrics samples data  create by record rules.
so  is there  a plan  to support   remote write the metrics  create by  record rules? or  did there has anyother solution to do this instead of Re-implement a component that query the promethus and send into kafka ?
many thanks

there is mistake~ close this

this is mistake


Implementation of Unit Testing, IoC and DI

Placeholder PR for a number of fairly major changes:

Implemented Jasmine Unit Testing framework as per #2. Also created a few unit tests to get us started.
Added Awilix IoC container as per #2
Refactored most classes to take advantage of IoC
Added logging abstraction as per #4 ready for full logging implementation
Abstracted MariaDB persistence as per #5
Updated node docker image to only restore dependencies (not new devDependencies)
Added a number of new node tasks in package.json to help with development
Changed bot bootstrapping code to use the IoC container
Added strict mode execution to all scripts
Added a lot more logging
Added timestamps to all logs

This is currently a work in progress, so I have created a draft PR for now - please don't merge yet!
I'd recommend squashing this PR into one commit once ready.

Fully tested and working. Also added the missing index.js file that you deleted in your last commit.
I rebased on your repo and force-pushed to my branch, so it should be fine when you PR + pull master.
This PR resolves #6, #5 and sets the foundation for #4 and #2.


Ques about point_target.py

if neg:
            neg = np.where(np.square(tcx - points[0]) / np.square(tw / 4) +
                           np.square(tcy - points[1]) / np.square(th / 4) < 1)
            neg, neg_num = select(neg, cfg.TRAIN.NEG_NUM)
            cls[neg] = 0

I don't know the  neg means and the condition of np.where() doesn't means the pos? Looking forward your reply

Sample Negative pair see DaSiamRPN for detail discussion.

For negative sample pairs, please refer to DaSiamRPN for a detailed discussion.

For negative sample pairs, please refer to DaSiamRPN for a detailed discussion.


Updated StringAndCharacters.md

I Updated the grammar rule to allow for a tuple expression after the backslash, as shown in the following line:
interpolated-text-item → ( interpolated-text-list ) | quoted-text-item

The grammar rule for 'interpolated-text-item' specifies a single expression inside parentheses:
interpolated-text-item → \( expression ) | quoted-text-item

However, I've found that Swift actually accepts the equivalent of a tuple expression after the backslash, something like:
interpolated-text-item → \( interpolated-text-list ) | quoted-text-item
interpolated-text-list → interpolated-text-element | interpolated-text-element, interpolated-text-list
interpolated-text-element → expression | identifier : expression

I've corrected the grammar rule to allow for a tuple expression after the backslash, as shown in the following line:
interpolated-text-item → \( interpolated-text-list ) | quoted-text-item

Fixes: https://github.com/apple/swift-book/issues/282

I'm marking this as a draft.  If you'd like to try fixing the issue you linked to, please make you commits on the branch and then click Ready for review.  Thanks!

Hi @amartini51 ,
I hope you're doing well. Could you kindly provide more details on the changes required in the "String Interpolation" section? Any specific areas or aspects you'd like me to focus on would be helpful.
Thank you for your assistance.
Best regards,
@AbhishekSharma55

@AbhishekSharma55 The bug https://github.com/apple/swift-book/issues/282 you linked to describes the problem with the grammar, and it includes a change to that grammar.  I suggest you start by making the change that the bug suggests, and then confirm that the change is correct.

Hi @amartini51 ,
Upon reviewing Issue #282, I've examined the grammar rule for "interpolated-text-item" to allow for a tuple expression after the backslash. I propose the following changes:
Change the rule from:
interpolated-text-item → \( expression ) | quoted-text-item

to:
interpolated-text-item → \( interpolated-text-list ) | quoted-text-item

Additionally, I suggest adding the following grammar rules:
interpolated-text-list → interpolated-text-element | interpolated-text-element, interpolated-text-list
interpolated-text-element → expression | identifier : expression

Should i move forward and create a PR

@AbhishekSharma55 That is the proposed change from the person who filed the issue.  What did you do to confirm that it's the correct change to make to the grammar?
It seems like you might be looking for a starter bug to fix.  Fixes to the formal grammar are generally small, but not simple, and not usually a good starting point for working on the book.  You might have better luck with one of the GitHub issues tagged "Good first issue" instead.
https://github.com/apple/swift-book/issues?q=is%3Aopen+is%3Aissue+label%3A"Good+first+issue"

@AbhishekSharma55 Do you still want to keep this PR open, or can I close it?


Meta information does not stay with cell if the column is sorted

This will be fixed in the next release.

This has been fixed, it will be available this evening in the master repository.


Fix for https://github.com/blockstack/blockstack.js/issues/574

Missing charset in content-type default for putFile([string type])

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


Remote load crashes with used by two filter

Remote load works fine with a filter chain which has only one remote load filter.  Specifically checkout out that branch, and run
make build
make build_wasm
export WASM=true
export ENVOY_DEBUG=debug # optional if envoy debug is desired.
go test -v ./test/envoye2e/stats_plugin/... -run ^TestStatsRemoteLoad$

The test starts a local file server to serve Wasm files. Run the test as this will fail with crash. Uncomment either https://github.com/bianpengyuan/proxy/blob/cfe923a029c6e049ee6a54bab777c8c08d2aac8e/test/envoye2e/stats_plugin/stats_test.go#L308 (disable metadata exchange filter) or https://github.com/bianpengyuan/proxy/blob/cfe923a029c6e049ee6a54bab777c8c08d2aac8e/test/envoye2e/stats_plugin/stats_test.go#L316 (disable stats filter), test will pass.

And during the test, I found that even with just one filter does remote load and the other one does local file, envoy also crashes, but I think it should because of the same reason.

The test passes for me.

OK the error is coming out of the onDone call.

Still need to fix master


NIFI-6759: When encountering Exception during load-balanced connectio…

…n communications, after closing socket, return from method rather than continuing loop
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on both JDK 8 and JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@phrocker can you please make sure to sign the commits when you merge them.  Makes it easier when seeing the log who reviewed and/or did the actual merge.  Ideally the signature is also associated with a key as described in here http://nifi.apache.org/gpg.html

@joewitt I don't recall merging this -- unless I accidentally hit the merge button... I assumed Mark did when I saw the E-mail.
I checked minifi cpp and saw that some of my signoffs were not signed due to merging from different VMs. Thanks for the note as it shows I need to be more mindful of that.

Ah you must be right that Mark did.  My bad.


Prevent new uses of old ztest API

Discussed in the TSC meeting, we need a way to prevent new uses of the ztest API.
I believe that the best way to do this will be to add a new check for PRs similar to a language filter that checks for inappropriate language. To do this we'd need:

Create a new repo something like zephyrproject-rtos/word-blocklist
Provide an implementation of the GitHub check that scans for new test suites:
a. ztest_register_test_suite
b. ztest_test_suite

I don't believe that we should block adding more tests to existing suites. That will automatically happen as people migrate to the V2 API.
Once we're done, zephyrproject-rtos/word-blocklist can remain and we can use this for other migrations. It's also possible that we can find an existing GitHub CI for profanity filter and simply fork it. I don't think it'll be a bad idea anyway to have a profanity filter.

@nashif

@aaronemassey

The docs likely need to be updated to use only newer methods as a first step for this https://docs.zephyrproject.org/latest/develop/test/ztest.html has a lot of stuff using the current (I guess old now?) method for creating test suites

Process WG:

@mbolivar-nordic: how does a word blocklist allow you to say "the $BLOCKED_WORD API is now deprecated"?
@MaureenHelm : not sure why we don't use the regular deprecation process -- is there something special about this?

@yperess can you attend next week to discuss further if there's still something to handle here?

Process WG:

@mbolivar-nordic: how does a word blocklist allow you to say "the $BLOCKED_WORD API is now deprecated"?
@MaureenHelm : not sure why we don't use the regular deprecation process -- is there something special about this?

This is for long migrations that take time. If we deprecate the old API our CI will break. We just want to prevent new uses.

@yperess can you attend next week to discuss further if there's still something to handle here?

Sure

Process WG: defer; @yperess couldn't make it.
@nashif next steps should be "complete, deprecate, remove;" I'd like to year @yperess 's points about this, though.

Sorry, I was stuck in another meeting. The idea of this workflow was to provide the following:

We have a new API that Zephyr itself is in the process of migrating to. We cannot mark the old API as deprecated or it'll break our own CI.
We use the blocklist CI tool to prevent new uses of the old API.
We complete the migration of the old API to the new one (because new uses of the old API are prevented by the blocklist we don't have to keep chasing)
We mark the old API deprecated

This issue was specific to the ztest API migration, and that's already got a lot of traction. I'm happy to just close this issue and ignore it, but I do think that this will come up again so it might be nice to have the mechanism in place.


Converting normal image to surface normals

You mention that the same convention is used as in NYU Depth, but the paper for NYU Depth v2 doesn't lay out their surface normals in detail either nor does their toolbox include an example of extracting normals from the image. What is the proper way to convert the RGB values to normals? I imagine the first step is to subtract 127.5, but after that I'm not quite sure.
From the paper:

The surface normals in 3D corresponding
to each pixel are computed from the 3D mesh instead of
directly from the depth image. The normal vector is saved
in the RGB color value where Red is the horizontal value
(more red to the right), Green is vertical (more green downwards),
and Blue is towards the camera. Each channel is
127.5-centered, so both values to the left and right (of the
axis) are possible. For example, a surface normal pointing
straight at the camera would be colored (128, 128, 255)
since pixels must be integer-valued.

Does this mean that I do n = (img - 127.5) / 127.5? If so, what do we do about quantization errors due to the integer casting? Also, this doesn't appear to be a right-handed coordinate system.

Yes, that's the right way to recover surface normals from the RGB encoding.
We chose to follow the coloring in the NYU depth dataset so that those familiar with one dataset can easily parse the other. Of course, you can get a right-handed coordinate system by flipping one of the axes :)
Regarding quantization noise: With the current state of scanning technology the reconstructed surfaces are simpler than the true surfaces. In any scanned mesh, this approximation error will be much greater than the quantization error.
In addition, current normal estimation techniques usually have errors that are significantly larger than the noise introduced by quantization.
However, if you really can't accept any additional noise in the labels then you could do some rule-based smoothing (or something more sophisticated like a CRF).

Okay, thanks a lot for clearing this up! Once I'm done with my work on this dataset, perhaps I'll submit my Python dataloader as a PR to help out future users.

That would be very welcome!


Updated appsettings.json to have empty appIds and passwords.

Fixes #2895
Changes include:

Updated appsettings.json to have empty appIds and passwords.
Removed validation for MicrosoftAppId from RootBot and MainDialog (since now this is allowed).
Updated readme files to note that now appId and passwords are optional.

replaced by https://github.com/microsoft/BotBuilder-Samples/pull/3333


Fixes regression when Ember doesn't generate proxy controllers when using {{render}}

Here is an app that shows the issue. In the app we can modify bower_components/ember/ember.debug.js with this fix to test:
https://github.com/ember-samples/render-legacy-controller-generation
Here is a twiddle where we can toggle between 1.12 and 1.13
https://ember-twiddle.com/df75fe63672f01c4bf5f8f4b8a35ffc7?openFiles=controllers.application.js%2C
@ebryn2 @zen-tmq is this a good idea? We manually fixed one place at Zenefits by explicitly generating the controller (see https://github.com/zenefits/yourPeople3/pull/6714), but we have 51 places where we use {{render}} passing either an object or an array. Likely most of those don't have an explicit controller so they will rely on the proxy behavior.
Note that proxy controller generation when returning and object or array from a route's model hooks still works as it did in previous version since the context is passed for that case, see https://github.com/emberjs/ember.js/blob/fixes-render-controller-generation/packages/ember-routing/lib/system/generate_controller.js#67. See test to prove this: https://ember-twiddle.com/a23bfd0e4223cdcc762a5ecfb1097cac?fileTreeShown=false&openFiles=templates.something.hbs%2C&route=%2Fsomething

LGTM


Typo in az storage remove command example

https://github.com/Azure/azure-cli/blob/dc4b934d4399b8d10fbe9b0676e00e2ef1ddf534/src/azure-cli/azure/cli/command_modules/storage/_help.py#L662
Should read:

You can also try "az storage remove" command

@Zhaph  thanks for your contribution. This issue can be closed after the PR is merged.

As storage remove


new baseline

goes with https://github.com/UV-CDAT/uvcdat/pull/1667

@aashish24 I'm merging because you forgot it.


Not working properly on games have multiple views

For game Cytus2: only game interface reached 120fps, once got into play stage, game drops to 60fps. Could you make an option to setFpsOnEveryTouch or something to make it work with other view?

I don't think setFpsOnEveryTouch will work. Becasue option "set fps" is for games which have a default 30 fps and don't call setTargetFrameRate. If the game call setTargetFrameRate at least once, we even don't need this option. I assume the drop to 60fps is caused by other reason.
However, I can't verify this because I don't have a 120Hz device. If you still want to have a try, I could build a deb for you.

I don't think setFpsOnEveryTouch will work. Becasue option "set fps" is for games which have a default 30 fps and don't call setTargetFrameRate. If the game call setTargetFrameRate at least once, we even don't need this option. I assume the drop to 60fps is caused by other reason.
However, I can't verify this because I don't have a 120Hz device. If you still want to have a try, I could build a deb for you.

thank you for your reply.
the fps drop could be caused by other reason, I could still give a hope to it. Could you build a version with "setfpsoneverytouch"? I will report the result whatever it is.

https://github.com/brendonjkding/Unity60FPS/releases/download/setFpsOnEveryTouch/com.brend0n.fgotw60fps_0.1.1b3.setFpsOnEveryTouch_iphoneos-arm.deb
Since it's a test build, I changed setFpsOnFirstTouch to setFpsOnEveryTouch for convenient.

https://github.com/brendonjkding/Unity60FPS/releases/download/setFpsOnEveryTouch/com.brend0n.fgotw60fps_0.1.1b3.setFpsOnEveryTouch_iphoneos-arm.deb
Since it's a test build, I changed setFpsOnFirstTouch to setFpsOnEveryTouch for convenient.

doesn't work in gameplay screen as you expected😂

I've just found a possible cause of this issue but not sure if it is the case.
Since it's a paid App IIRC, if you could provide a decrypted ipa file, then I can further investigate it.

I've just found a possible cause of this issue but not sure if it is the case.
Since it's a paid App IIRC, if you could provide a decrypted ipa file, then I can further investigate it.

Ok, I’ll send it to you later today.

aHR0cHM6Ly93d3cuZHJvcGJveC5jb20vcy9tbGpuYmxzNWd6b28wanUvY3l0dXMyLnppcD9kbD0w
dropbox link(base64 encoded)

Just pushed an update. Not sure if it works.
This update also include other major changes. lmk if any apps not works after this update.

Just pushed an update. Not sure if it works.
This update also include other major changes. lmk if any apps not works after this update.
Not working on Cytus II.
I’ll test other apps later.


Resources min and max

In the Rules document, I found the statement : "In "Resources", "min" and "max" are ordered lists of length T".
Can we consider an intervention starting at different time with resources will have different max and min stated in the list?

Hi!
Sorry I'm not sure I understand the question. There is Min and Max values for each ressources and each time.
Interventions require ressource worload load, but they don't have min/max on ressources.
Could you clarify your question ?
Thank you in advance
Manuel

Hello Manuel,
such as in A_07.json, we have Ressources_9 with min and max, both have length of T.  As I notice, the last six values in max are different with others in the max of Ressources_9.
My question is, are we using different min and max as constraint with reference to the intervention starting time?
Such as, if an intervention uses Ressources_9 with starting time is 1, we use min = 0 and max = 1.0. If another intervention uses the same resource with starting time is 12, we use min = 0 and max = 1.7?
Thanks and Best Regards
Chriss

Hello Manuel,
please let me add another question here about the resources and interventions.
Imagine there is an instance with T = 10, I1 and I2 has delta of 5 and both uses 2 units of R1 at T = 2. R1 has a declaration of max = { 2: { 2: 5 }, 3: { 3: 5}}
If we have scheduled both I1 and I2 with T = 2. Then we want to schedule I3 which uses also 2 units of R1 at T = 3. In this case, as I1 and I2 still move on when T = 3, do we have to account the consumption of I1 and I2 in scheduling I3? aka, is the resource still occupied within the time phrase of starting time + delta ?
Thanks and Best Regards
Chriss

The starting time is only used to have to ressource consumption of an intervention at a time t (depending on when the intervention started).
With that, you are able to compute the ressource used at each time t by the sum over intervention worload (which  again, depends on the starting time). The min/max to apply is then the one related to t.
Hope this help
Manuel

Hi Chriss,
Our posts crossed each other.
A comment: the declaration of max is strange, there should be only one value for each time.
Please refer to the section 3.3 of the challenge rules document, there is a small example illustrating the time discretization. The ressource should not be taken into account for time step starting time + delta.
Hope this help
Manuel

Hi Manuel,
Thanks for the clarifications!
I want to follow up with the workload declarations in the interventions.
As I saw, in A_07.json we have a workload in intervention_376 as the following,
"workload":{
"Ressources_2":{
"1":{
"1":0.86
},
"2":{
"1":0.57,
"2":1.0
},
"3":{
"2":0.43,
"3":1.0
},
"4":{
"3":0.43,
"4":1.0
},
"5":{
"4":0.43,
"5":1.0
},
"6":{
"5":0.43,
"6":1.0
},
"7":{
"6":0.43,
"7":1.0
},
"8":{
"7":0.43,
"8":1.0
},
"9":{
"8":0.43,
"9":1.0
},
"10":{
"9":0.43,
"10":1.0
},
"11":{
"10":0.43,
"11":1.0
},
"12":{
"11":0.43,
"12":1.0
},
"13":{
"12":0.43,
"13":1.0
},
"14":{
"13":0.43,
"14":1.0
},
"15":{
"14":0.43,
"15":1.0
},
"16":{
"15":0.43,
"16":1.0
},
"17":{
"16":0.43
}
},
For the intervention_376, each delta is two.
For example if the starting time is 16, we are looking at
"16":{
"15":0.43,
"16":1.0
},. How should we interpret the 15 and 16?
I don't get why there is a number inside that is smaller than the outside starting time key.
Thanks and Best Regards
Chriss


Python sdk's PeriodicImpulse generates a bounded PCollection

See the dev mail list thread for details: https://lists.apache.org/thread/ps3m0jc0ngqp1y2s0mv2n6hxhvgkr3vw
PeriodicImpluse transform in Java sdk generates unbounded
PCollection; while in Python sdk it generates bounded PCollection. The
latter case may cause issues in streaming.
Per Cham: Note that the primary use-case of PeriodicImpulse (according to the design doc) was to
generate a fixed/bounded input that can slowly change over time but
changing over time dimension would make it unbounded.
Seems like we need to make python PeriodicImpulse generates an unbounded pcoll, in  alignment with Java implementation, and also make sure that the change does not break the current implementation of its original use case (stream enrichment problem).
Imported from Jira BEAM-14498. Original Jira may contain additional context.
Reported by: yihu.

For more context, see https://lists.apache.org/thread/ps3m0jc0ngqp1y2s0mv2n6hxhvgkr3vw

It is a clear bug, but I don't think we need to block the release on this do we?


Settings for hosts and/or Google mode.

To allow swapping out the gitweb and dac hosts to point at internal versions. Could be hidden as they're not for the average user.
Done for the reference validator in 63b0bc9

Chrome: ab5adb228667974671461d76fbee63fe3cd1e7d7

This doesn't work super well in Chrome because the internal site 302s you to the SSO page for authentication. Need to figure out how to send a request in the context of the user or otherwise change these settings to be explicitly Google-mode and go through SSO and persist cookies.


Fix line number bug in ROE

Line number are displaced

The bug is mac-only

And only on Firefox (on OSX)


Request for new release

There are a number of commits to master since the October 2015 release of v1.0.1 at https://github.com/google/zopfli/commit/89cf773beef75d7f4d6d378debdf299378c3314e.  If these changes are stable / production-ready, would it be possible to tag a new release?  Thanks much!

Thank you for pointing out, it's indeed stable, and now tagged as zopfli-1.0.2
https://github.com/google/zopfli/releases/tag/zopfli-1.0.2


[BUG] Exception stack property schema doesn't match response

Information

Version: 5.59.3
Packages: common

Hi,
during development, when my app throws an Error (e.g. NotFound) I noticed the stack trace is serialized as a multi-line string but the ExceptionSchema for OpenAPI/Swagger defines the Error model as an Array<string>:
https://github.com/tsedio/tsed/blob/c207f93e3e59022b86b99a533a893afc1af6783b/packages/common/src/platform-exceptions/domain/ExceptionSchema.ts#L20
Is this a bug, or am I missing something? This doesn't come up in production, as the stack property is omitted.
Kind regards,
Steffen
Example
Reported Schema:
{
  "name": "NOT_FOUND",
  "message": "string",
  "status": 404,
  "errors": [
    {
      "name": "string",
      "message": "string",
      "additionalProp1": {}
    }
  ],
  "stack": [
    "string"
  ]
}

Actual Response:
{
  "name": "NOT_FOUND",
  "message": "Order not found",
  "status": 404,
  "errors": [],
  "stack": "NOT_FOUND: Order not found\n    at WorkOrderController.getWorkOrderBySchedule [...] \n    at processTicksAndRejections (internal/process/task_queues.js:95:5)"
}

Acceptance criteria

[ ] Property schema of stack matches type of the response object's value

:tada: This issue has been resolved in version 6.59.5 :tada:
The release is available on:

v6.59.5
GitHub release

Your semantic-release bot :package::rocket:


Menu doesn't work with JS disabled

Bootstrap dropdown button menu should work with JS disabled, but it doesn't. @SkepticalHippo is looking at this, options are basically:

Replace the entire menu with a pure CSS variant
Have pure CSS handlers as a fallback in  tags

@fluffypony Close this issue. Website redesigned and everything works without JS since there is none.


NAT should use a fixed-size lookup table

The NAT table tends to become large, and being a hashtable it grows suddenly. On systems without virtual memory (e.g. mirage-xen) this can lead to out-of-memory problems. It might be better to allow preallocating a fixed-size table and expiring entries when it becomes full.
I'm currently trying this as a work-around:
https://github.com/talex5/qubes-mirage-firewall/commit/62aec06be9dd370e59e139208cb715ec5ef6f899

Yes, something like an LRU eviction strategy would be reasonable (and certainly preferable to evicting the whole table!).  I'll put this on my list for 1.0.

I do still intend to implement this; it should be easier now that ocaml-lru-cache exists.

Hmm. All those Array.blits are a bit concerning. Surely there's a more efficient way?

https://github.com/pqwy/lru-map is likely a better choice.

mirage-nat-hashtable does this.


Fix policies for follows

closed by https://github.com/hummingbird-me/hummingbird-server/commit/3d6ea622e3cd2dbddd77cadb304072628acf5acd