Fallback loader removed from/not included in bundle

I have a setup where I have two types of css files (1) global styles not processed as css modules (2) module specific styles processed as css modules. CSS should be extracted to one css file, and this works. Then style-loader is used to load styles that come from dynamic imports. And here comes the problem;
When I set style-loader as fallback for both ExtractTextPlugin.extract calls, I get runtime errors telling me that moduleId css-loader/lib/css-base cannot be found. (Actually, the message is "Cannot read property 'call' of undefined" but I've debugged it down to the css-loader/lib/css-base.js module.
A functioning workaround at the moment is to only have a fallback for the extract call for my CSS Modules files, and manually importing css-loader/lib/css-base in my entry bundle. But this would only work as long as I have no "noModule" scss files being imported in dynamic imports.
The rules related to stylesheets look like follows. This array is spread out in module.rules.
I'm using webpack 4.0.1, extract-text-webpack-plugin 4.0.0-beta.0
// defined higher up in my file
const styleLoader = 'style-loader';
const cssModuleLoader = {
	loader: 'css-loader',
	options: {
		importLoaders: 1,
		modules: true,
		localIdentName: cssIdentName,
	},
};

const cssPlainLoader = {
	loader: 'css-loader',
};

// actual style rules
export const styleRules = Object.values({
	cssModules: {
		use: buildTarget === 'server'
			? [styleLoader, cssModuleLoader]
			: extractCss.extract({
				fallback: styleLoader,
				use: cssModuleLoader,
			}),
		test: (filePath) => isStylesheet(filePath) && isModule(filePath),
	},
	cssNoModules: {
		use: buildTarget === 'server'
			? [styleLoader, cssPlainLoader]
			: extractCss.extract({
				/*
                		Using a fallback here will remove the style-loader
                		from the bundle, even though we need it for cssModules
                		therefore it is disabled, under the assumption that we
                		need no fallback for noModules styles. Might be a bug
                		*/
				// fallback: styleLoader,
				use: cssPlainLoader,
			}),
		test: (filePath) => isStylesheet(filePath) && !isModule(filePath),
	},
	postCss: {
		loader: 'postcss-loader',
		test: isStylesheet,
	},
	sassloader: {
		loader: 'sass-loader',
		test: /\.scss$/,
	},
});

Just created a minimal example repository to narrow down on the issue:
https://github.com/woutervanvliet/etwp-issue-739

The issue is active on the master branch.
The branch workaround contains a working, though not ideal, workaround.
The branch webpack3 runs on, you guessed it, webpack3 - where the problem doesn't appear

DEPRECATED
Please use: https://github.com/webpack-contrib/mini-css-extract-plugin


first pass at binding to both wss(port 9002) and ws(port 9001)

Still need env override functionality


[skia] Fix vulkan feature

Use vcpkg port vulkan-headers instead of vendored copy.
Use vendored copies of ~headers and~ tools for feature vulkan, as already done by feature dawn.
Fix in-source location of vulkanmemoryallocator.
Guard vulkan inclusion in vulkanmemoryallocator as would be done in the vendored copy:
https://chromium.googlesource.com/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/+/7de5cc00de50e71a3aab22dea52fbb7ff4efceb6/include/vk_mem_alloc.h#129
Fixes https://github.com/microsoft/vcpkg/issues/32706. Amends https://github.com/microsoft/vcpkg/pull/29448. Alternative to #32715.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

CC @jimwang118

I have an idea how to devendor vulkan-headers.

Testing skia[core,dawn] showed a few more build quirks with vulkan-headers, but this should be solved now.
And there is now a pattern how to de-vendor other dependencies (but not in this PR).

@dg0yt, thanks for your contribution, when I test the usage of skia[vulan,dawn], I got this error, please have a look:
CMakeLists:
cmake_minimum_required (VERSION 3.8)

project(test)

# Add source to this project's executable.
add_executable (test "usageTest.cpp")

find_package(unofficial-skia CONFIG REQUIRED)

target_link_libraries(test PRIVATE unofficial::skia::skia)

usageTest.cpp
#include <stdio.h>
#include <sksl/DSL.h>

int main()
{
    printf("%s\n", "HELLO WORLD");
    return 0;
}

Config:
1> CMake generation started for configuration: 'x64-Debug'.
1> Command line: "C:\WINDOWS\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Visual Studio 17 2022" -A x64  -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\test\source\repos\usageTest\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE=F:/Feature-test/vcpkg/scripts/buildsystems/vcpkg.cmake "C:\Users\test\source\repos\usageTest" 2>&1"
1> Working directory: C:\Users\test\source\repos\usageTest\out\build\x64-Debug
1> [CMake] -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
1> [CMake] -- The C compiler identification is MSVC 19.36.32537.0
1> [CMake] -- The CXX compiler identification is MSVC 19.36.32537.0
1> [CMake] -- Detecting C compiler ABI info
1> [CMake] -- Detecting C compiler ABI info - done
1> [CMake] -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting C compile features
1> [CMake] -- Detecting C compile features - done
1> [CMake] -- Detecting CXX compiler ABI info
1> [CMake] -- Detecting CXX compiler ABI info - done
1> [CMake] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting CXX compile features
1> [CMake] -- Detecting CXX compile features - done
1> [CMake] -- Configuring done (14.2s)
1> [CMake] -- Generating done (0.5s)
1> [CMake] -- Build files have been written to: C:/Users/test/source/repos/usageTest/out/build/x64-debug
1> Extracted CMake variables.
1> Extracted source files and headers.
1> Extracted code model.
1> Extracted toolchain configurations.
1> Extracted includes paths.
1> CMake generation finished.

build:
>------ Build All started: Project: usageTest, Configuration: x64-Debug ------
  MSBuild version 17.6.3+07e294721 for .NET Framework

    Checking Build System
    Building Custom Rule C:/Users/test/source/repos/usageTest/usageTest/CMakeLists.txt
    usageTest.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\string_view(13): warning STL4038: The contents of <string_view> are available only with C++17 or later.
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLString.h(20,16): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\string(24,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLString.h(20,28): error C2065: 'string_view': undeclared identifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLString.h(20,28): error C2146: syntax error: missing ')' before identifier 's'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLString.h(21,16): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\string(24,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLString.h(21,28): error C2065: 'string_view': undeclared identifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLString.h(21,28): error C2146: syntax error: missing ')' before identifier 's'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\SkSLPosition.h(38,19): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\string(24,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\SkSLPosition.h(38,31): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\sksl\SkSLLexer.h(126,21): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\string(24,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\sksl\SkSLLexer.h(126,33): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\sksl\SkSLLexer.h(142,10): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\string(24,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\sksl\SkSLLexer.h(142,22): error C3646: 'fText': unknown override specifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\sksl\SkSLLexer.h(127,9): error C2065: 'fText': undeclared identifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\sksl\SkSLLexer.h(127,17): error C2065: 'text': undeclared identifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\sksl\SkSLModifiersPool.h(24,15): error C2429: language feature 'structured bindings' requires compiler flag '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\core\SkBlockAllocator.h(57,33): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\core\SkBlockAllocator.h(66,33): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\core\SkBlockAllocator.h(406,38): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\core\SkBlockAllocator.h(407,38): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\core\SkBlockAllocator.h(416,33): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\core\SkBlockAllocator.h(429,40): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkString.h(126,31): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\atomic(296,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkString.h(126,25): error C2460: 'SkString::string_view': uses 'SkString', which is being defined
  F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkString.h(117,14): message : see declaration of 'SkString' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkString.h(126,25): error C2178: 'SkString::string_view' cannot be declared with 'explicit' specifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkChecksum.h(72,30): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\atomic(296,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkChecksum.h(72,42): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkChecksum.h(73,32): error C2065: 'k': undeclared identifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkChecksum.h(73,42): error C2065: 'k': undeclared identifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkChecksum.h(73,24): error C2198: 'uint32_t (__cdecl *)(const void *,size_t,uint32_t)': too few arguments for call
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\gpu\ganesh\GrMemoryPool.h(34,36): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\src\gpu\ganesh\GrMemoryPool.h(38,36): error C7525: inline variables require at least '/std:c++17'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(33,42): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\atomic(296,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(33,11): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(51,10): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\atomic(296,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(51,22): error C3646: 'name': unknown override specifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(51,26): error C2059: syntax error: '('
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(51,35): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(80,10): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\atomic(296,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(80,22): error C3646: 'fName': unknown override specifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(35,17): error C2065: 'name': undeclared identifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(36,1): error C3867: 'SkSL::Symbol::type': non-standard syntax; use '&' to create a pointer to member
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\private\SkSLSymbol.h(35,11): error C2614: 'SkSL::Symbol': illegal member initialization: 'fName' is not a base or member
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\SkSLOperator.h(93,10): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\SkSLOperator.h(93,22): error C3646: 'tightOperatorName': unknown override specifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\SkSLOperator.h(93,39): error C2059: syntax error: '('
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\SkSLOperator.h(93,47): error C2238: unexpected token(s) preceding ';'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLExpression.h(124,30): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLExpression.h(124,42): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLExpression.h(124,63): error C2143: syntax error: missing ')' before '{'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLExpression.h(124,65): error C2059: syntax error: ')'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(114,17): error C2988: unrecognizable template declaration/definition
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(114,17): error C2143: syntax error: missing ')' before '&'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(114,17): error C2143: syntax error: missing ';' before '&'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(114,8): error C2365: 'Container': redefinition; previous definition was 'template parameter'
  F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(113,29): message : see declaration of 'Container' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(114): error C2059: syntax error: ')'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(114,20): error C2988: unrecognizable template declaration/definition
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(114,20): error C2059: syntax error: '->'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(115,80): error C2760: syntax error: '>' was unexpected here; expected 'expression'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\core\SkSpan.h(118,13): error C3928: '->': trailing return type is not allowed after a parenthesized declarator
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLModifiers.h(54,32): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLModifiers.h(54,44): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(90,18): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(90,12): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(90,51): error C2143: syntax error: missing ')' before '{'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(90,12): error C2059: syntax error: ')'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(92,18): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(92,12): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(94,28): error C2143: syntax error: missing ')' before '{'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(92,5): error C2535: 'SkSL::dsl::DSLType::DSLType(void)': member function already defined or declared
  F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(90,5): message : see declaration of 'SkSL::dsl::DSLType::DSLType' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(92,12): error C2059: syntax error: ')'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(184,32): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(184,44): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(237,39): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(237,13): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(238,29): error C2143: syntax error: missing ')' before '{'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(237,13): error C2059: syntax error: ')'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(239,9): error C2059: syntax error: ':'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(237,13): error C2334: unexpected token(s) preceding ':'; skipping apparent function body
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(258,21): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(258,33): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(259,31): error C2143: syntax error: missing ')' before '{'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(259,33): error C2059: syntax error: ')'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(262,21): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(262): error C2061: syntax error: identifier 'string_view'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(269,1): error C2059: syntax error: '}'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLType.h(269,1): error C2143: syntax error: missing ';' before '}'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(38,41): error C2061: syntax error: identifier 'DSLType'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(41,59): error C2143: syntax error: missing ',' before '&'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(46,10): error C2039: 'string_view': is not a member of 'std'
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\cinttypes(22,1): message : see declaration of 'std' [C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\test.vcxproj]
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(46,22): error C3646: 'name': unknown override specifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(46,26): error C2059: syntax error: '('
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(46,35): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(50,23): error C2143: syntax error: missing ';' before '&'
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(50,43): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(58,19): error C3646: 'x': unknown override specifier
F:\Feature-test\vcpkg\installed\x64-windows\include\skia\include\sksl\DSLVar.h(58,20): fatal error C1003: error count exceeds 100; stopping compilation

Build All failed.

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

Test feature skia[dawn,vulkan] successfully in the following triplet:

x64-windows
x64-windows-static

@JonLiu1993 Error or successful? AFAIU you need to use C++17 - this is what the error message says, and this is what skia is using. This usage requirement isn't exposed by the CMake config, but this is not a regression.

OK, when I add set(CMAKE_CXX_STANDARD 17) to CMakeLists.txt I tested usage successfully:
1> CMake generation started for configuration: 'x64-Debug'.
1> Command line: "C:\WINDOWS\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Visual Studio 17 2022" -A x64  -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\test\source\repos\usageTest\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE=F:/Feature-test/vcpkg/scripts/buildsystems/vcpkg.cmake "C:\Users\test\source\repos\usageTest" 2>&1"
1> Working directory: C:\Users\test\source\repos\usageTest\out\build\x64-Debug
1> [CMake] -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
1> [CMake] -- The C compiler identification is MSVC 19.36.32537.0
1> [CMake] -- The CXX compiler identification is MSVC 19.36.32537.0
1> [CMake] -- Detecting C compiler ABI info
1> [CMake] -- Detecting C compiler ABI info - done
1> [CMake] -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting C compile features
1> [CMake] -- Detecting C compile features - done
1> [CMake] -- Detecting CXX compiler ABI info
1> [CMake] -- Detecting CXX compiler ABI info - done
1> [CMake] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting CXX compile features
1> [CMake] -- Detecting CXX compile features - done
1> [CMake] -- Configuring done (7.4s)
1> [CMake] -- Generating done (0.0s)
1> [CMake] -- Build files have been written to: C:/Users/test/source/repos/usageTest/out/build/x64-debug
1> Extracted CMake variables.
1> Extracted source files and headers.
1> Extracted code model.
1> Extracted toolchain configurations.
1> Extracted includes paths.
1> CMake generation finished.

>------ Build All started: Project: usageTest, Configuration: x64-Debug ------
  MSBuild version 17.6.3+07e294721 for .NET Framework

    Checking Build System
    Building Custom Rule C:/Users/test/source/repos/usageTest/usageTest/CMakeLists.txt
    usageTest.cpp
    test.vcxproj -> C:\Users\test\source\repos\usageTest\out\build\x64-debug\usageTest\Debug\test.exe
    Building Custom Rule C:/Users/test/source/repos/usageTest/CMakeLists.txt

Build All succeeded.

Thanks for debugging tricky cases for us @dg0yt @jimwang118 and @JonLiu1993 !


Subscriptions not working in kafka template

Module: ts-apollo-mongo-apache-kafka-backend
Node.js / npm versions: v12.20.0
Example/snippet of the model that is causing issue

I was trying out the Kafka template by following instructions from the README but wasn't able to run subscriptions properly. See the video for reference.
https://user-images.githubusercontent.com/56963264/106631270-9a22a080-65a2-11eb-80f8-2c723710e4fb.mp4
Please let me know in case I did something incorrectly while testing this. Thanks.

@wtrocki - please have a look at this too


"Hide Sidebar" showing up when dismissing context menu in SCM

Steps to Reproduce:

right click into a change in SCM
click somewhere else, not into the menu to dismiss it

=> you see the "Hide Sidebar" menu showing up

My bad.. Sorry for that..


Numba for loops interpolation

Need to rename the linear interpolation tasks before merging to develop

There is also one test failing.

There is also one test failing.

Yeah, I noticed, it seems to be in coregistration, but locally all my tests pass...

@andrejburja the renaming introduced failing unit tests for interpolation. I expected them to fail due to the different interpolation method, but the error actually seems to occur due to some code crashes.


Correct handling parameter

The code comes from zhousun at Mooncake Labs. parameter is handled correctly by duckdb.
Fixes #411
Fixes #234

@Leo-XM-Zeng thx for the pr, can you check whether https://github.com/Mooncake-Labs/pg_mooncake/commit/a6262b1591b870ccd9d7bf3b30c18aa3345b9fbc would be an easier way to fix the same issue?

I can't judge whether your changes are good or bad, perhaps we need to consult someone who has a deeper understanding of these.

Looking at the changes linked by @zhousun, those are indeed quite simple: They let duckdb figure out what parameters are in the query, and then we only pass those parameters to duckdb from the full set of parameters that postgres has. If that indeed solves all these issues, then I like that approach better than us traversing the query tree ourselves to find all the parameters.
@zhousun are you okay with @Leo-XM-Zeng changing this PR to incorporate those changes?

Looking at the changes linked by @zhousun, those are indeed quite simple: They let duckdb figure out what parameters are in the query, and then we only pass those parameters to duckdb from the full set of parameters that postgres has. If that indeed solves all these issues, then I like that approach better than us traversing the query tree ourselves to find all the parameters.

@zhousun Your code is much more perfect than mine, I just tested and validated it and found that it handles these scenarios much better. That would be a better solution.

@Leo-XM-Zeng thx for the pr, can you check whether Mooncake-Labs/pg_mooncake@a6262b1 would be an easier way to fix the same issue?

If you want to submit your own PR, I will turn this off at that time, the current PR code is from you, I just added some test cases.

@Leo-XM-Zeng just take it :)

just take it :)

Thank you ~ 😀

Thanks both, I used the Co-authored-by: trailer in the git commit to also attribute @zhousun


Fully scripted way to build?

I'm wondering if there is a fully scripted way to build clang without needing the UI?

You can use script not require clangbuilderui
%CLANGBUILDDIR%/bin/clangbuilder.bat

$CLANGBUILDDIR/bin/ClangbuilderTarget.ps1

Powershell Args:
param (
    [Parameter(Position = 0)]
    [Alias("id")]
    [String]$InstanceId, # install id
    [String]$InstallationVersion, # installationVersion
    [ValidateSet("x86", "x64", "ARM", "ARM64")]
    [String]$Arch = "x64",
    [ValidateSet("Release", "Debug", "MinSizeRel", "RelWithDebug")]
    [String]$Flavor = "Release",
    [ValidateSet("MSBuild", "Ninja", "NinjaBootstrap", "NinjaIterate")]
    [String]$Engine = "MSBuild",
    [ValidateSet("Mainline", "Stable", "Release")]
    [String]$Branch = "Mainline", #mainline
    [Alias("e")]
    [Switch]$Environment, # start environment
    [Switch]$Sdklow, # low sdk support
    [Switch]$LLDB,
    [Switch]$LTO,
    [Switch]$Package,
    [Switch]$ClearEnv
)

If not set InstanceId and InstallationVersion clangbuilder will detect vs installation. Arch default is x64 and Branch default is Mainline (git repository master branch).
Switch default is not set, -Package create install package. -LLDB will build lldb, -LTO build clang with lto (maybe failed) -ClearEnv will reset PATH
-Engine Name will set Engine, or use msbuild or use ninja, or use prebuilt clang-cl as C/C++ compiler build llvm. or  bootstrap clang.

First. Your should run script/InitializeEnv.bat to install utils tools.

I still have never had this work properly. I have the latest version of Visual Studio Community 2017 installed (15.7.4).
after running
.\script\InitializeEnv.bat
I ran
.\bin\ClangbuilderTarget.ps1 -InstanceId 8d9d99ef -InstallationVersion 15.7.27703.2035 -Branch Stable

@NickStrupat Your console output is ?


vision-camera-ocr not working in existing project.

This vision camera ocr lib not working in my react native project getting error when using OCRFrame and scanOCR.

does your babel config have this?
[
      'react-native-reanimated/plugin',
      {
        globals: ['__scanOCR'],
      },
    ],

Check this https://www.youtube.com/watch?v=kOYP2Xun_6o&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=77


Bump @viamrobotics/rpc to 0.1.39

Bumping the @viamrobotics/rpc version so it is fixed as a transitive dependency in app.
See my PR for the downstream issue: https://github.com/viamrobotics/app/actions/runs/6895151896/job/18758485918?pr=2866

@ethanlook just checking - do you need a new version of the typescript SDK with this updated dependency to be available now? or can it be released in the normal release cycle?

@maximpertsov thanks for asking - I can be patient and wait for the normal release cycle! I can work around in app in the meantime.


libreswan: ignore sign-compare errors

Motivation for this change
Fixes evaluation: http://hydra.nixos.org/build/41496695
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

I'm not sure why it compiles okay on master but not 16.09, but that does appear to be the case.

Same for https://hydra.nixos.org/build/41503606/nixlog/4/raw (from the release 16.09 jobset), succeeds on trunk, it seems.

Looks like the source is in this diff: https://github.com/nixos/nixpkgs/compare/b3be1c7...eaa160c

Hrmm yeah:
https://github.com/NixOS/nixpkgs/commit/3e1afeaa5b83559698fb6fa3a45947f3e14da534
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835542

@vcunat what do you think about applying https://github.com/westes/flex/commit/3946924ed5e77420c453bf841603c7278766093a to our flex?

@joachifm it succeeds in trunk b/c staging (which has the flex update) hasn't been merged.

The libreswan folks seem to know of the issue (according to https://github.com/libreswan/libreswan/issues/36, halfway down the page or so), and have tried to fix it. But they're recommendation is just to disable the warning. So this change, at least for now, seems appropriate.

Hmm, I didn't know there would be multiple packages affected. Flex-based solution would be best, but I was unable to find any. So far, the best I know are fixes like this PR.

I just asked about a flex patch from @westes, maybe we could give them a bit to see if they could provide a patch?

My plan is to release a version 2.6.2 of flex which will contain all the existing patches that deal with signed/unsigned types.
On Saturday,  8 October 2016,  5:50 am -0700, Franz Pletz<EMAIL_ADDRESS>wrote:

Merged #19129.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/NixOS/nixpkgs/pull/19129#event-817080758

--
Will Estes
<EMAIL_ADDRESS>


Typescript service is often stopping working randomly: Cannot read property 'charCount' of undefined

VSCode Version: 1.13.0
OS Version: macOS 10.12.5

May be related to #28112
I'm not sure how to reproduce it yet. It seems to happen randomly and VERY often.
Steps:

Edit your code (medium to large project)
After some time the ts service stops working:
2.1. The validation messages are incorrect and have incorrect location
2.2. Completion and navigation features stops working

Typescript version: 2.3.3, also i didn't have any issues with vscode 1.12.0
I'm getting this in typescript service output:
[Error  - 6:32:24 PM] 'navtree' request failed with error.
Error processing request. Cannot read property 'charCount' of undefined
TypeError: Cannot read property 'charCount' of undefined
    at LineNode.walk (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:78490:47)
    at LineIndex.edit (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:78358:35)
    at ScriptVersionCache.getSnapshot (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:78150:47)
    at TextStorage.getSnapshot (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:73269:32)
    at ScriptInfo.getSnapshot (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:73378:41)
    at LSHost.getScriptSnapshot (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:73648:39)
    at SyntaxTreeCache.getCurrentSourceFile (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:71449:44)
    at Object.getNavigationTree (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:71953:71)
    at IOSession.Session.getNavigationTree (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:77613:62)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (/Users/asvetl/work/applications/frontend/node_modules/typescript/lib/tsserver.js:76670:61)

Full log: https://pastebin.com/X6xpSR1z
Thanks

This issue was moved to Microsoft/TypeScript#16456


add colon escaping

Drive names on Windows have a colon.
This patch adds support for $:  ->  :

But this patch breaks the parser test:
The test at (385) with input
rule cat
  command = cat
build $: cat foo

should produce this error string
input:3: bad $-escape (literal $ must be written as $$)
build $: cat foo
      ^ near here

but now the error is
input:3: expected ':', got newline
build $: cat foo
                ^ near here

So I'm not sure about the consequences of this patch.
Would it break existing code?

I've changed the parser a bit, it also prints a short hint now:
`input:3: expected ':', got newline ($ also escapes ':')
build $: cat foo
                ^ near here


Corrected the indexing for general

Had a little linking issue on the general, so the Types.md was not linking to here. Related to #34

Thanks :)

Thanks!


Change “enable bufferline” on line 39

Changed “enable bufferline” on line 39 to “disable bufferline

Thanks!


Add package clBLAS

Following up on previous work of clFFT, I would like to add another clMath library: clBLAS
Few notes about the port:

I still don't know how to properly generate the patch files once I have both the original and the ported version on disk. I simply overwrite the original ones, even though I know it's frowned upon due to increasing the repo size. If someone documented how to do it, I could do it for this and future ports as well.
For some reason the debug CRT libraries are deployed beside the debug libraries. I don't quite know what is the reason behind this, so I just delete them, but this might not be the best approach.
Instead of the approach with clFFT, I took a different and cleaner approach with the outdated FindOpenCL.cmake. I simply delete the outdated original from the source tree, use the built-in CMake version and rename the results to what the scripts expect. This was necessary because the scripts are MUCH longer and much more intricate.

Otherwise the library builds and is usable by 3rd party applications with the usual syntax provided by the deployed clBLASConfig.cmake.

Thanks for the PR!
I reverted the change to clfft because it causes failures if done in isolation. You may have local patches to buildtrees\clfft\ that cause it to work, so you'll need to revert those (simply delete buildtrees\clfft\ and it'll be recreated from scratch :)).
I wouldn't be opposed to adding the "cleaner" approach to clfft, but it'll need source patches to go in at the same time.
Finally, here[1] is an full example of how I create patch files. Essentially, just create a temporary git repo inside the buildtrees\clfft\src\clfft-x.y.z\ folder and use git diff to make the patch file :)
[1] https://github.com/Microsoft/vcpkg/blob/a506559ba9ff9aab7a6176b43313a8ce26891269/docs/examples/patching-libpng.md


Enhancement in  Search box

Hii @Soujanya2004 , if we see the search box then it look like a basic  search box the border radius not perfectly taken and box shadow . could you assign so that I can change some css code.

Hi @Soujanya2004, i wish to enhance the search bar by adding the search for name and country options to search the listing  from the database. i have already did this in my project
Assign me this task to add this feature


Missing tab title for settings.json

VS Code version: Code - Insiders 1.34.0-insider (b7c5e104a44b65e937408a10cbb8b49d6dfd19bf, 2019-04-12T11:12:09.412Z)
OS version: Darwin x64 18.2.0
repo

Open settings editor.
Click on {} to open the settings.json file

Bug
Notice that the opened json file has no title in the tab bar:

Is this user settings? I don't see that

I see it in the split editor


Bug: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update() or editorState.read().

Lexical version:
Lexical version: 0.16.1
Browser: Chrome latest version
Device: mac
Steps To Reproduce

Link to code example:

The current behavior
The expected behavior
Impact of fix

Generally this happens when you have multiple versions of lexical in the same app, or you are calling a state helper or node method from outside editor.update or editorState.read.

Generally this happens when you have multiple versions of lexical in the same app, or you are calling a state helper or node method from outside editor.update or editorState.read.

I have the same problem with this issues: https://github.com/facebook/lexical/issues/6481

The version has been downgraded to 0.14.1 and is operational

Generally this happens when you have multiple versions of lexical in the same app, or you are calling a state helper or node method from outside editor.update or editorState.read.

I'm not sure if it has anything to do with the webpack version, I'm currently using webpack 4

It's likely that the problem is your webpack configuration. If you are not otherwise mixing versions or esm/cjs imports, the webpack configuration may be doing this in a way that's not as obvious.

It's likely that the problem is your webpack configuration. If you are not otherwise mixing versions or esm/cjs imports, the webpack configuration may be doing this in a way that's not as obvious.

First of all, there is definitely no version mixing. Can you tell me how to change the WebPack-related configuration to solve this problem

I don't know what's wrong with your configuration, it should work with the defaults at least with recent versions. Other people are successfully using current lexical with webpack.

Hi, I encounter same issue, I'm sure that we didn't mix up the lexical version and not build tool cache, any advise to chase this issue ?

In every case I've seen it's either mixed versions or some other bundler configuration issue that causes multiple copies to be included on the same page. Without a full reproduction of the issue I couldn't give you any more specific advice than that. Maybe make sure you are using a current version of the bundler tooling (webpack, vite, rollup, etc.)

Same problem

Try upgrading to webpack 5

We cannot update Webpack now because there are changes that are breaking, and our project is very large.
Is it possible to fix this issue in a different way?
Webpack version: 4.43.0.

You would need to manually make sure all of the lexical modules are using the correct exports, or maybe find an old webpack 4 plug-in for supporting the exports field of package.json

We tried the demo code described in the official docs here:
https://lexical.dev/docs/getting-started/react
How to adjust this code to have correct exports?

Our goal is to have something similar to this demo:
https://playground.lexical.dev/?showTreeView=false

Sorry, I'm not an expert in webpack 4 configuration. You need to make sure every lexical module (lexical, @lexical/react, etc.) is resolved to the correct mjs file.

That's the kind of problem that should be handled at the library level, not application level. I have added lexical and I'm having the exact same issue pasting code from lexical documentation.

The library simply cannot function when multiple versions are present. If you've installed it correctly, with a consistent version, you should not get this error.

npm install --save lexical @lexical/react is what I used, I can't imagine how I would install it incorrectly. It can be made to work if you add aliases in your webpack config for every imported module but it is not how things should be.

If you got this error then you have multiple versions, I can't tell you what went wrong without being able to inspect your project, but there's really nothing we can do about it if your package.json or package-lock.json doesn't satisfy the constraints or your bundler configuration is not setup correctly with modern tools.

Sure there is.

Have an actually useful error message. You yourself have mentioned in another issue that the message is not helpful to diagnose to issue.
Put the package.json and package-lock.json constraints you speak of in the documentation.
Mention somewhere, anywhere that using webpack versions < 5 will cause this issue. See here.

I daresay any combination of the above would be more useful and helpful than telling people that they have multiple versions even after they tell you the command they used to install (which incidentally is copy/pasted from the documentation).


Support for NonEmptySet

🚀 Feature request
There's NonEmptyArray in fp-ts though, there's no NonEmptySet for now.
In a private project, I use NonEmptySet in back-end side so I would hopefully use a same type in front-end.
However, currently, we only have NonEmptyArray and Set in fp-ts. If I use NonEmptyArray, the type itself will not have the unique item ability. But if I use Set, then I can't see the value is actually non-empty.
Current Behavior
Only having NonEmptyArray.ts or Set.ts
Desired Behavior
Having NonEmptySet.ts
Suggested Solution
Adding NonEmptySet type
Who does this impact? Who is this for?
All users
Describe alternatives you've considered
Here's a possible alternative
pipe(
  myNonEmptySet,
  Set.toArray(eqString),
  NonEmptyArray.fromArray,
)

but as I described in feature request, for now,
if I'd like to represent the NonEmpty part, I can only use NonEmptyArray but it will lose the representation of Set.
if I'd like to represent the Set part, I can only use Set but it will lose the representation of NonEmpty
Additional context
N/A
Your environment

Software
Version(s)

fp-ts
2.5.1

TypeScript
3.7.5

Adding NonEmptySet type

@CYBAI what's the definition of the NonEmptySet type?

Adding NonEmptySet type

@CYBAI what's the definition of the NonEmptySet type?

Hi @gcanti ! I would expect a NonEmptySet will always at least hold one item which is similar to NonEmptyArray.
Also, because it's a NonEmpty Set, so I would expect it works like a Set which means it won't allow duplicated items.
Hope this will answer your question 🙏 Thanks!

I mean the actual definition of NonEmptySet as TypeScript code. How do you represent a non empty Set using the type system?

@CYBAI
We can define NonEmptyArray as
export interface NonEmptyArray<A> extends Array<A> {
  [0]: A
}

I think it's impossible to do the same for Set because it has no index access (there's no way to defined required [0] field).

What about defining it using a brand type? Then it could only be created using the constructors from the NonEmptySet module but once you have done that you know that you have a NonEmptySet.
For example:
export type NonEmptySet<A> = Set<A> & {
  readonly NonEmptySet: unique symbol
}

It would have to be a ReadonlyNonEmptySet in order for the brand to remain accurate over the lifetime of the object. I'm not sure that sets can be marked as readonly in TS/JS

The problem with branded types is that they are not offically supported by TypeScript and there's no standard solution.
A general (constructive) solution would be a higher kinded data type: PureScript NonEmpty


debian_version is determined wrong

this is wrong
https://github.com/Nyr/wireguard-install/blob/137b08a8fb7f0f237a6a270232f000ef49d2f757/wireguard-install.sh#L34
my debian_version file only consists of "bullseye/sid", no numbers, i'm on the unstable branch of debian

Unstable distributions are not officially supported and never will be, but this can be improved.
I'm keeping this issue open and will be addressed during the next few days. In the meantime you can of course override version check for the entire script changing the variable to os_version="10".

that's what i did


Update dynamic-data-masking-overview.md

#96472 fix

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

Docs Build status updates of commit 9637e3f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azure-sql/database/dynamic-data-masking-overview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off

Docs Build status updates of commit 9637e3f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azure-sql/database/dynamic-data-masking-overview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Grid independent of Stack: Inject stack-specific click handler from page into grid

Make Grid independent of Stack for add and edit functionality, alternative to #2171.
1. is this generally a good idea
Currently our (generated and handwritten) Grids directly interact with Stack for edit and add functionality by using a StackLink that navigates to the relevant stack page.
This PR moves that responsibility one level up, to the page.
Pro

Grid has no dependency on Stack and specific stack urls, and so get's completely independent and can be rendered everywhere.
admin generator must not support different variants of how editing should be done (eg in Dialog)

Con

2 new pops that always have to be set, makes grid more verbose to use

2. which implementation #2175 vs #2171
<ProductsGrid
    onAddClick={() => {
        stackSwitchApi.activatePage("add", "add");
    }}
    onEditClick={(params) => {
        stackSwitchApi.activatePage("edit", params.row.id);
    }}
 />

much less code
styling of buttons is responsibility of Grid

<ManufacturersGrid
    addButton={ //could be named primaryButton
        <Button
            startIcon={<AddIcon />}
            component={StackLink}
            pageName="add"
            payload="add"
            variant="contained"
            color="primary"
        >
            <FormattedMessage id="manufacturer.newManufacturer" defaultMessage="New Manufacturer" />
        </Button>
    }
    editButton={(params) => (  //could be named rowAction
        <IconButton component={StackLink} pageName="edit" payload={params.row.id}>
            <Edit color="primary" />
        </IconButton>
    )}
/>

we can use StackLink (working <a gets rendered)
we can pass multiple edit or add buttons
admin generator doesn't need to support customizing of Button message (eg. if you don't need "New Manufacturer" but "Import Manufacturer" or "Generate Manufacturer")

closed in favor of #2171


Bump lib version

Can you bump the lib version to cover the fixes 92c5a68d23280660d634ba59fba791d722af0723 and 2fbd2b4ebf0f8735fcdec3bfe5c1e1c6a446dcf4?
I will reference this lib in a project that I'm working and would be nice to have a version number to put as dependency. Instead of commit hash number...

Done

Done

Thanks!

Thanks!


Figure out how to remove sampling latches

Metastability in the sampling latches appears to degrade performance, when compared to versions of the design without the sampling latches. However, removing the sampling latches causes glitches and ringing in simulation and potentially on the FPGA.
One idea is to use the fact that each coupled cell's dout will never switch from the current value of  din to the opposite value; it only switches to din during proper non-glitchy operation. We may be able to use that to enforce proper behavior.

After lots of work, I can't actually show that metastability is the source of the performance hit. Closing this.


Update WYSIWYG entity-link-insert to set link text to entity name, if input is empty

Describe the feature you'd like
If I add a link to a different page the field "Text to display" is empty. If i click on ok, there will be no link. A text needs to be inputted. It would be nice to have the Title as fall back/standard shown text
Describe the benefits this feature would bring to BookStack users
Saves time, and helps new users with adding empty links (it happened to me the first time)
Additional context

Thanks for the suggestion @Smoin1. The behaviour has now been updated to set the "Text to display" as the item name, if that input box is currently empty.
This will be part of the next feature release, v0.29.


Is Kade Engine A Virus?

I wanted to play kade engine but it did not start and it removed itself, i wanted to check my antivirus and it detected it.

P.S: I Fixed it.


Select all on focus

Is it possible to select the whole text when the user focuses the editor?
Can't find an approach on the other issues neither on the documentation.

You can use Selection.selectAllChildren()

How do I apply this with draft.js? The draft.js Selection doesn't support selectAllChildren() and applying this to the editors DOM doesn't work.

Did you figure this out @yss14? I'm also trying to do this.

@athomann Unfortunately not.

@yss14 I was able to get the Select all effect by doing
document.execCommand('selectAll', false, null)

after calling a .focus().  Might have to debounce the command.

Here's what I did.
select() {
  const { editorState } = this.state;
  const currentContent = editorState.getCurrentContent();
  const firstBlock = currentContent.getBlockMap().first();
  const lastBlock = currentContent.getBlockMap().last();
  const firstBlockKey = firstBlock.getKey();
  const lastBlockKey = lastBlock.getKey();
  const lengthOfLastBlock = lastBlock.getLength();

  const selection = new SelectionState({
    anchorKey: firstBlockKey,
    anchorOffset: 0,
    focusKey: lastBlockKey,
    focusOffset: lengthOfLastBlock,
  });

  this.setState({
    editorState: EditorState.acceptSelection(editorState, selection),
  });
}

It works, but I have not tested it thoroughly.

@cusxioI I tried but it doesn't work for me :(

Can someone please help me, how to Select multiple paragraphs in Draftjs editor for indent/outdent?


Script error when express attribute edited in dashboard form results

To reproduce: Create a simple front end form, a text entry and an express entry using form block.
Save.
Fill in the form and submit. (OK)
View result in dashboard. (OK)
Edit result in dashboard. (Script error as below)

Uncaught ReferenceError: ConcreteAjaxSearch is not defined
    at express.js:1
    at express.js:1
(anonymous) @ express.js:1
(anonymous) @ express.js:1
8:264 Uncaught TypeError: $(...).concreteExpressEntrySelector is not a function
    at HTMLDocument.<anonymous> (8:264)
    at j (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.J (jquery.js:2)
(anonymous) @ 8:264
j @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
J @ jquery.js:2

The undefined functions appear to be loaded. So perhaps they are being called before they are loaded and something like a ready handler is missing.

The undefined functions appear to be loaded. So perhaps they are being called before they are loaded and something like a ready handler is missing.

This same thing also happens if you put a form block that uses the express picker to into a stack or global area and edit from the dashboard. Only in that case, it completely breaks editing. You can't even delete the elementor add new blocks since the GUI javascript stops running.

I also posted a bug on c5.org if you can +1 it please.
http://www.concrete5.org/developers/bugs/8-0-3/script-error-when-express-attribute-edited-in-dashboard-form-res/

Done, that's actually where I found this one, but forgot to update both spots.


Assersions always pass using Jest

I have the following test, which should fail:
import unexpected from 'unexpected';
import unexpectedReact from 'unexpected-react';
const expect = unexpected.clone().use(unexpectedReact);
import React from 'react';
import TestUtils from 'react-addons-test-utils';

describe('my suite', () => {
  it('my test', () => {
    class MyComponent extends React.Component {
      render() {
        return (
);
      }
    }
    const renderer = TestUtils.createRenderer();
    renderer.render(<Component />)
    return expect(renderer, 'to have rendered', (
));
});

but the console reports that the test passes. It should not pass - 1 does not equal 2.
I have also tried TestUtils.renderIntoDocument, having first made sure I emulate the dom using domino. Same outcome occurs.
My jest config in package.json is as follows:
  "jest": {
    "scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
    "verbose": true,
    "testFileExtensions": ["js", "jsx"],
    "moduleFileExtensions": ["js", "jsx"],
    "testPathIgnorePatterns": ["<rootDir>/node_modules"],
    "modulePathIgnorePatterns": ["<rootDir>/node_modules"],
    "testPathDirs": ["<rootDir>/src/"],
    "unmockedModulePathPatterns": ["<rootDir>/node_modules/.*"]
  }

my node version is v5.6.0.
my unexpected version is 10.8.1
my unexpected-resact version is 0.5.2
jest is configured to use jasmine.
I followed this readme. Am I doing anything obviously wrong?

My guess is that jasmine doesn't support returning a promise from an it block (not sure on this, but can't find anything about it).
Try
describe('my suite', () => {
  it('my test', (done) => {
    class MyComponent extends React.Component {
      render() {
        return (
);
      }
    }
    const renderer = TestUtils.createRenderer();
    renderer.render(<Component />)
    expect(renderer, 'to have rendered', (
))
       .then(() => done())
       .catch(e => done(e));
});

I'm not sure on Jasmine's handling of errors passed to done, but it's worth a go before I try and reproduce it.  If that doesn't work, and you've got a mini-repo with this all in, that would be really helpful.
The good news is, that for these "synchronous" style tests, expect will fail instantly in the (probably) next version of unexpected-react.  I'm nearly confident enough that it all works :)
Then, you'll only need to deal with the promise if you have an asynchronous assertion inside your JSX. e.g. when testing a prop that is itself a promise
return expect(renderer, 'to have rendered', (
));

otherwise, the expect can be called normally, and will throw normally if there is an error.

@richtier jest has hit whch is a promise helper: https://facebook.github.io/jest/docs/api.html#globally-injected-variables

@jkimbo I presume you mean pit?  That looks perfect, and makes the code much nicer.
@richtier let me know if that works.

ah I see I missed the part where expect returns a promise. Is unexpected-react not aimed to be used with jasmine? Should I be using mocha instead, for example?
Still not joy though (with jasmine):

  it('my test', done => {
    class Component extends React.Component {
      render() {
        return (
);
      }
    }
    const renderer = TestUtils.createRenderer();
    renderer.render(<Component />)
    return expect(renderer, 'to have rendered', (
))
       .then(done)
       .catch(done)
  })

This test still passes. I also tried pit but that timed out - most likely because Jest is notoriously slow. I will investigate how to set jasmine's DEFAULT_TIMEOUT_INTERVAL to a ridiculously high value.
I tried unexpected-react-shallow - and it the test fails correctly because it avoids the jest vs pit woes because unexpected-react-shallow does not return promises. I will use that for now until "expect will fail instantly in the (probably) next version of unexpected-react".

It will pass, because even if an error is thrown, you're still calling done. You need to do something with the error. Obviously passing the error to done doesn't do the trick.
There are a few options:

Try with pit instead of it (that looks like it should work from the code from jasmine-pit)
Use mocha instead of jasmine, and return the promise
Use unexpected-react-shallow or the new version when it's available (I'm hopeful for this week, but I thought that a couple of weeks ago too!)

great, thanks for the help. I will choose option 4 :)


Add a LICENSE

I've just sent a tiny pull request to fix a typo in the UI (noted from a screenshot in Les Pounder's article on Tom's Hardware!).
Would you be willing to add a LICENSE to the repository that indicates whether or not it is Open Source? Thanks!

Looking into that.. was not sure what I should put because I have a copy of bootstrap in there

MIT done, thanks for pointing that out


🐛 uplift x/net to 0.4.0

Uplift golang/x/net to 0.4.0 to fix two vulnerabilities.

/test-ubuntu-integration-release-1-2

/retest

/lgtm


Merge pull request #1 from apache/master

Pull master from apache/incubator-superset

Mistaken pull request


Update log location for Ubuntu 16.04+ and CentOS

Update log location for Ubuntu 16.04+ and CentOS
Add the /var/log/syslog
Proposed changes
Added the log location path for Ubuntu 16.04+ and CentOS systems as a option to journald in case needed to read the text based log files

@thaJeztah Could you PTAL?


x/text/message: does gotext extract variable that starts with "msg"?

I defined a global variable that starts with "msg" in main.go, but it is not being called by message.printer. When I execute the gotext extraction, the result unexpectedly extracts this variable into the translation document.
var msgEnv string = "idc"
What did you see happen?
➜  awesomeProject9 go generate ./translations/translations.go
en: Missing entry for "msgEnv".
What did you expect to see?
msgEnv not be extracted

Hi @bigguaxxx, can you provide a small sample program (ideally in the playground at https://go.dev/play) along with the exact set of steps to reproduce this?

CC @mpvl via https://dev.golang.org/owners

Hi @bigguaxxx, can you provide a small sample program (ideally in the playground at https://go.dev/play) along with the exact set of steps to reproduce this?

I new a test project like this:├── go.mod
├── go.sum
├── main.go
└── translations
└── translations.go
// translations.go
package translations

//go:generate gotext -srclang=ch update -out=catalog.go -lang=en,ch ..

// main.go
package main

import (
	"fmt"
	_ "golang.org/x/text/language"
	_ "golang.org/x/text/message"
)

var msgEnv string = "idc"

func main() {
	fmt.Println("hello")
}

then
➜  awesomeProject9 go generate ./translations/translations.go
\en: Missing entry for "msgEnv".
en: Missing entry for "idc".

see CL 105016


Add text for when player has only a single life remaining

Right now if a player loses two lives, the text displays as follows:

Steps to reproduce the behavior:

Start the game
Lose twice
Notice the first time you lose, the text at top of screen correctly shows "You have two lives remaining" but when you're down to one life, it displays "You have 1 lives remaining."

Expected behavior
Text should display "You have 1 life remaining."

Hi @kdv24
I can work on this issue if it is not fixed yet.

Hi @brragul 👋
I really think I already fixed it and a couple other things at the end of May, but I can't find a record of any of them anywhere in the repo.  🤷♀ So, go for it.  Thanks!

You are right I can see the fix here.
But I can still see the issue in https://ahl389.github.io/paint-run2/. I will look into other issue in the project thanks.


Allow model saving to pass even if MeiliSearch instance is offline

Hi, I have a use-case where I want my model to still be able to perform basic saving to database even if MeiliSearch instance is not started or found.
I don't think setting the raise_on_failure to false is the correct approach if I understand it correctly.
Specifically I am hitting this exception whenever I want to save my ActiveRecord model.
MeiliSearch::CommunicationError: An error occurred while trying to connect to the MeiliSearch instance: Failed to open TCP connection to localhost:7700 (Connection refused - connect(2) for <IP_ADDRESS>:7700)

I understand that this is due to server not started, but I think this is quite a common situation and normal Rails persistent operation should still pass without failure even if MeiliSearch is not online. Is this possible?

Hi @mech, I'm sorry but I couldn't investigate this issue yet.
I did not forget about it, I just need some time to make it a priority. Hope you will understand!
Take care,

Wow no worry, everyone has their time constraint and priority. Cheer 😀 and happy weekend!

I cannot reproduce this issue. Indeed this error:

MeiliSearch::CommunicationError: An error occurred while trying to connect to the MeiliSearch instance: Failed to open TCP connection to localhost:7700 (Connection refused - connect(2) for <IP_ADDRESS>:7700)

does appear but it does not prevent the object from being saved. The callback that is causing this error is an after_commit (or after_save)
            if respond_to?(:after_commit)
              after_commit :ms_perform_index_tasks
            elsif respond_to?(:after_save)
              after_save :ms_perform_index_tasks
            end

Which means that the record will have been persisted before this error occurs.

So maybe the issue is the error is being raised is actually misleading the user @ellnix?

So maybe the issue is the error is being raised is actually misleading the user @ellnix?

Maybe, but this is a meilisearch-ruby error, and I cannot see an alternative to throwing an exception if you fail to connect to your configured MeiliSearch instance.
Another alternative could be to somehow queue all indexing operations and run them when the MeiliSearch instance comes back online. I do not think there is a way we could "wait" for the instance to be back online, but maybe the auto index operation, when it succeeds, could check for tasks that were queued while the search instance was offline.
So something like

The main problem being finding some way to persist tasks, especially since this gem does not necessitate a background queue (and even if it did, most ActiveJob backends are in-memory).
This might be of some small use in production, in case your meilisearch instance is temporarily down and in the meantime there are updates to it that need to happen. In that case you wouldn't have to reindex models with millions of records.
But other than that I can't think of a use case for this in production.

If we could have a way to opt-in to this feature, it would be an excellent addition.
The issue is, like you said, the gem does not require a background queue, and I think it should stay like this.
But thinking more about it, if the user already uses the built-in feature https://github.com/meilisearch/meilisearch-rails/blob/main/README.md#queues--background-jobs I don't think we should even consider the health of meilisearch, because the system will enqueue the index by default, and retry the job if needed.
So I guess there is no need to handle this condition at all right?

But thinking more about it, if the user already uses the built-in feature https://github.com/meilisearch/meilisearch-rails/blob/main/README.md#queues--background-jobs I don't think we should even consider the health of meilisearch, because the system will enqueue the index by default, and retry the job if needed.

The problem is that we could have a race condition in this situation where if we have two actions A and B, and A was queued before B it might fail, be retried, and run after B if the instance came back online between A and B. Think of a situation like this:
      it 'will stay deleted' do
        record = { objectId: 123,  title: 'Pride and Prejudice', comment: 'A great book' }
        index.add_documents!(record)

        # instance goes offline
        # user updates record
        record['title'] = 'Crime and Punishment'

        # ActiveJob background task fails and will be retried in 3 seconds
        t = Thread.new do
          sleep 3
          index.update_documents!(record)
        end

        # Instance comes back online
        # user deletes record
        index.delete_document!(123)
        t.join

        expect(index.document(123)).to be_nil
      end

which results in
     Failure/Error: expect(index.document(123)).to be_nil

       expected: nil
            got: {"comment"=>"A great book", "objectId"=>123, "title"=>"Crime and Punishment"}


Bug: can't build project

Seems this project can't be built, and I tried even canary of Android Studio:

The error:

What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.

Multiple task action failures occurred:
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-29).
Dependency: androidx.core:core-ktx:1.7.0-beta01.
AAR metadata file: C:\Users\User.gradle\caches\transforms-2\files-2.1\2f28d6deec655d36a45d87033cc5f9a0\jetified-core-ktx-1.7.0-beta01\META-INF\com\android\build\gradle\aar-metadata.properties.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-29).
Dependency: androidx.core:core:1.7.0-beta01.
AAR metadata file: C:\Users\User.gradle\caches\transforms-2\files-2.1\9112b17e467e6ce0ab6089d4badab642\core-1.7.0-beta01\META-INF\com\android\build\gradle\aar-metadata.properties.

IDE info:
Android Studio Bumblebee | 2021.1.1 Canary 12
Build #AI-211.7628.21.2111.7699744, built on September 3, 2021
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 8048M
Cores: 12
Registry: external.system.auto.import.disabled=true, ide.settings.move.mouse.on.default.button=true, debugger.watches.in.variables=false
Non-Bundled Plugins: GenerateSerialVersionUID (3.0.3), GenerateSerializationHelpers (1.0.6), Show As ... (1.0.3), com.dubreuia (2.2.0), com.intellij.marketplace (211.7628.36), String Manipulation (<IP_ADDRESS>.3), org.jetbrains.kotlin (211-1.5.31-release-551-AS7442.40), com.google.mad-scorecard (1.2), com.ppismerov.ksvu (0.0.1), izhangzhihao.rainbow.brackets (6.21), org.intellij.plugins.markdown (211.7142.37)

try the modified fork and give all permissions in the settings.


first commit

This documents what was needed to get RONNIE up and running.

@Eric89GXL you're probably the best one to review this...

@Eric89GXL comments addressed I think; have a gander and merge if you like 'em.

(oops, forgot pandas)

Great, thanks @drammock


Set current user directory dynamically

USER_DIR= '.' doesn't allow to dynamically change the output directory for the template to generate. I ran into this problem by trying to integrate the generator through a third-party app using the 'yeoman-environment'. Since the USER_DIR is hard-coded there is no option to change the output directory. However, by using  process.chdir('NEW-OUTPUT-DIRECTORY') in a third-party app and const USER_DIR = cwd(); we can get that behaviour.

@rhumbertgz thanks for putting this up. I'll get around to taking a look at this later today.

Check out the comment about the package.json.

Fixed!

@rhumbertgz I took another peek at this and missed a quick simplification for this. Process is implicitly available already, and cwd can be accessed by just invoking it under the process object, rather than on its own.
const USER_DIR = process.cwd();

There shouldn't be any need to add deps this way. I believe this will work as a standalone change, but let me know if that works on your end too.

Perfect! I will close this PR then


ValueError: Can't load save_path when it is None

Description
After resetting my computer, I can no longer successfully run Spleeter.
Step to reproduce

Installed using Conda
Run $ spleeter separate -i /Users/user/Desktop/song.mp3 -p spleeter:2stems -o output
Got ValueError: Can't load save_path when it is None.

Output
Traceback (most recent call last):
File "/opt/miniconda3/bin/spleeter", line 8, in
sys.exit(entrypoint())
File "/opt/miniconda3/lib/python3.7/site-packages/spleeter/main.py", line 54, in entrypoint
main(sys.argv)
File "/opt/miniconda3/lib/python3.7/site-packages/spleeter/main.py", line 46, in main
entrypoint(arguments, params)
File "/opt/miniconda3/lib/python3.7/site-packages/spleeter/commands/separate.py", line 45, in entrypoint
synchronous=False
File "/opt/miniconda3/lib/python3.7/site-packages/spleeter/separator.py", line 191, in separate_to_file
sources = self.separate(waveform, audio_descriptor)
File "/opt/miniconda3/lib/python3.7/site-packages/spleeter/separator.py", line 157, in separate
return self.separate_librosa(waveform, audio_descriptor)
File "/opt/miniconda3/lib/python3.7/site-packages/spleeter/separator.py", line 147, in separate_librosa
saver.restore(sess, latest_checkpoint)
File "/opt/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 1274, in restore
raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.
Environment

OS
MacOS - Mojave

Installation type
Conda

RAM available
16 GB 2133 MHz LPDDR3

Hardware spec
2.8 GHz Intel Core i7

Additional context
I had no issues previously, and can't account for what may be happening here. Help is very much appreciated!

I have the same problem.
OS; Windows 10
Installation type: Conda

Me too, same problem. It was working before.

Still no help offered on this? Seems to be an issue many of us are having

I have the same problem.
OS; Windows 10
Installation type: Conda

Finally, I used docker image to run spleeter successfully.

Facing same issue when installed through conda

any workaround, looks like a corrupted save file from tensorflow

same problem...

same here

我也遇到了python3.7， 3.8

The error is caused by the lack of the pretrained data model.
Here is the solution: git clone spleeter to local directory, say ~/spleeter, then cd spleeter, then run the spleeter command; this time spleeter won't throw an exception, but download the pretrained data model needed for execution.

Same problem here sporadically.
spleeter separate -i "/Users/user/Music/Genre/80's Music/Ain't No Stopping Us Now - McFadden & Whitehead.mp3" -p spleeter:2stems-16kHz -o "/var/folders/ll/_n09zd5j62q2gbyhc74456m80000gn/T/vocalsplitter/results"
Traceback (most recent call last):
  File "/Users/user/opt/miniconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/user/opt/miniconda3/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/spleeter/__main__.py", line 58, in <module>
    entrypoint()
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/spleeter/__main__.py", line 54, in entrypoint
    main(sys.argv)
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/spleeter/__main__.py", line 46, in main
    entrypoint(arguments, params)
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/spleeter/commands/separate.py", line 45, in entrypoint
    synchronous=False
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/spleeter/separator.py", line 217, in separate_to_file
    sources = self.separate(waveform, audio_descriptor)
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/spleeter/separator.py", line 184, in separate
    return self._separate_librosa(waveform, audio_descriptor)
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/spleeter/separator.py", line 169, in _separate_librosa
    saver.restore(sess, latest_checkpoint)
  File "/Users/user/opt/miniconda3/lib/python3.7/site-packages/tensorflow_core/python/training/saver.py", line 1277, in restore
    raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.

I have also encountered the same issue.

Hi all,
I've updated the FAQ with an entry on this. Hope this helps.

That did not work for me, @mmoussallam . It keeps throwing a AttributeError: enter error.
What I did instead, which seemed to work, was to download the model directly from github (https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz) and extract them into the pretrained_mode/2stems folder. Doing that, it works

That did not work for me, @mmoussallam . It keeps throwing a AttributeError: enter error.
What I did instead, which seemed to work, was to download the model directly from github (https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz) and extract them into the pretrained_mode/2stems folder. Doing that, it works

After that, it should be uncompress in the folder.

The manual download of the stems did not do it for me. I, too, moved them into the pretrained_models directory which the executable was going to throw them anyway. I also uncompressed the tar file in the directory.
Still getting the same error in the original post.

If you Ctrl+C while spleeter is downloading a pretrained model, you may end up with this error, at which point you can simply delete the pretrained_models directory in your current directory and re-run spleeter to redownload the pretrained model.

The error is caused by the lack of the pretrained data model.
Here is the solution: git clone spleeter to local directory, say ~/spleeter, then cd spleeter, then run the spleeter command; this time spleeter won't throw an exception, but download the pretrained data model needed for execution.

git clone https://github.com/Deezer/spleeter && cd spleeter

Problem solved.
Download pretrained models from release, and then unzip&put it in spleeter\pretrained_models\2stems

我也遇到了python3.7， 3.8

(https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz)，去上面下载预制模型，然后放在你执行spleeter时的当前目录下，然后你神奇的发现可以了！


how to print pdf use local html file

as the title， i want to known  how to print pdf use local html file

Navigate to your local file (chromedp.Navigate("file://<host>/<path>"))
Print the page (see https://github.com/chromedp/examples/blob/master/pdf/main.go)


Cherry-pick sharding-up improvements from prometheus 2.33.0

This branch cherry-picks http://github.com/prometheus/prometheus/pull/9274 which are some improvements to the behaviour when sharding up with a backlog.
Part of: https://github.com/grafana/agent/issues/1376

Quick update, @rfratto indicated that the current focus is to be able to vendor prometheus mainline again, the version which already contains this fix. So I'll pause working on this PR for a bit, & hopefully it can be closed as obsolete.

 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.


Lint Option: deprecated Op Codes

For if this gets extended to fixed format, don't use Op codes which don't have Free format equilivents

MOVE MOVEL Z-ADD Z-SUB MULT ADD TIME etc

We'll likely only ever support free-format. I have no interest in ever supporting fixed-format.. at least for now.
Perhaps this could be Disallowed opcode instead?


Error: IDP Update not supported

Terraform version: v1.5.2
rhcs version: v1.4.0
We are not able to update in-place on the rhcs_identity_provider resource. Adding update in-place support will remove the need to delete (outside of Terraform) and recreate the identity provider when we only update data associated with the provider (e.g. rotate the openid secret).
Error:
Error: IDP Update not supported.

with module.cluster.module.openid.rhcs_identity_provider.oidc-config,
on .terraform/modules/cluster/modules/openid-idp/[idp-config.tf](http://idp-config.tf/) line 1, in resource "rhcs_identity_provider" "oidc-config":
1: resource "rhcs_identity_provider" "oidc-config" {

This RHCS provider version does not support updating an existing IDP

We plan to add this capability across our API for cluster IDP. Once that arrives, the Terraform resources will gain it as well.

As the API still doesn't support updating the rhcs_identity_provider resource, would it be possible to implement a workaround in Terraform to trigger a resource replacement when a parameter changes? This might simplify the process until the API supports in-place updates.


Implement the 'data sources' page

Implementation of the page designed in issue #32.

This page included progress bars for UI feedback regarding every import. Since ClinVar imports involve downloading the data from an external source, the progress bar should display the download progress. However, the only way to do that is to move the download code from clinvar.py to tasks.py. Do we mind that? The code in tasks.py then would look something like this:

Running clinvar in tasks.py
@shared_task(bind=True)
def import_clinvar():
  progress_recorder = ProgressRecorder(self)
  try:
      with open(file_name, "wb") as f:
          logger.info("Downloading ClinVar data...")
          response = requests.get(URL, allow_redirects=True, stream=True)
          total_length = response.headers.get('content-length')
          total_length = int(total_length)
          downloaded_length = 0
          for data in response.iter_content(chunk_size=4096):
              downloaded_length += len(data)
              f.write(data)
              done = int(50 * dl / total_length)
              progress_recorder.set_progress(downloaded_length, total_length)
          traits_dict = clinvar.parse_trait_names_and_source_records()
          clinvar.store_data(traits_dict)
  except Exception:
      track = traceback.format_exc()
      logger.error(track)
      return

@tcezard Only one thing remaining for this page. As we decided, for issue #34, we are going to use the Django Admin to define scheduled tasks.
The problem is that since we let the admin choose the name of those periodic tasks, we have no way of reading from the database when the next scheduled import is. So we can either skip the 'Next scheduled import' section, or we can somehow enforce admins on choosing a specific name for the periodic tasks, so I can hardcode that in the app?

However, the only way to do that is to move the download code from clinvar.py to tasks.py. Do we mind that?

I don't mind, this looks fine. Having a progress bar for a very long operation is important.

Only one thing remaining for this page. As we decided, for issue #34, we are going to use the Django Admin to define scheduled tasks.

The problem is that since we let the admin choose the name of those periodic tasks, we have no way of reading from the database when the next scheduled import is. So we can either skip the 'Next scheduled import' section, or we can somehow enforce admins on choosing a specific name for the periodic tasks, so I can hardcode that in the app?
We can discuss this further in #34. In short, since tasks configurable by admins bring about this complexity about names, persistence etc., I think at this point we whould just hardcode the names and intervals in settings.py. Given that those values will be changed very rarely if ever, this seems to me like a reasonable solution for this stage of the project.
I will review the associated PR shortly.

We can discuss this further in #34. In short, since tasks configurable by admins bring about this complexity about names, persistence etc., I think at this point we should just hardcode the names and intervals in settings.py. Given that those values will be changed very rarely if ever, this seems to me like a reasonable solution for this stage of the project.

So since this discussion is outside the immediate scope of the issue, PR #87 does not include any sort of task scheduling, and I removed the 'Next scheduled import' section from the page. I can implement the hardcoding task scheduling in the next upcoming PR for issue #34.
Also, regarding this PR, it is deployed on Heroku so you can check it there. It will probably be the last PR that is able to function on Heroku, since we are going to need to run a background scheduler for task automation and free Heroku only allows two workers running at the same time.

So since this discussion is outside the immediate scope of the issue, PR #87 does not include any sort of task scheduling, and I removed the 'Next scheduled import' section from the page. I can implement the hardcoding task scheduling in the next upcoming PR for issue #34.

OK, makes sense to me.

Also, regarding this PR, it is deployed on Heroku so you can check it there. It will probably be the last PR that is able to function on Heroku, since we are going to need to run a background scheduler for task automation and free Heroku only allows two workers running at the same time.

OK. Only when you submit PR for #34, please ensure that you add instructions for deploying any given branch in Embassy


Convert Ascii into an enum.

Allows static initialization, nicer pattern matches and comparisons.
Naming conventions:

alphabetic: just use it. breaks CamelCase convention, but worth it for simplicity.
digits: prepend _ to make them valid identifiers, but still short.
non-alphanumeric but visible: Use Wikipedia names CamelCased, but remove -Mark endings.
rarely used control codes: use uppercase acronym to deter use.
more commonly used control codes: Expand and CamelCase acronym to preserve meaning, eg LineFeed not NewLine or LineBreak.

I'm not certain which control codes should be expanded; Currently BEL and DEL are, but should they?
I'm not sure whether this is a breaking change.

I basically agree with the naming convention you chose, only minor discussion:

In my opinion it's more "rustic" to write Ascii::Nul instead of Ascii::NUL. I propose changing the acronyms to only uppercase the first character.
As you already mentioned it's difficult to categorize every control code by frequency of use. I guess that's not a severe question so if no discussion comes up I won't change the names.

The public interface isn't changed, in fact there is a new way to initialize Ascii. Therefore it isn't a breaking change. Nevertheless I will test that with crates depending on this crate, to be sure.

Rebased on master to use wrapping_sub. Also added rustdocfor each enum variant in the first commit.
I decided to categorize control codes on whether they have an escape code listed in this table
While not rustic, I think uppercase names prevent confusion:

is At '@' or some historical control code?
is Sub some historical control code or '-'?

I'm fine with your PR, thanks for your work!
I like the categorization based on the existence of an escape code, that makes it easier to guess how the variant is named. Your arguments also convinced me, that we should keep uppercase names for control codes. Indeed I've never seen control codes in CamelCase notation.
One minor point is that you used block comments /* */ for the description of the variants. I'd like to change this to rustdoc comments ///. Usually I look at the rustdoc documentation instead the plain code to find out how to use the library.
I can make that little change myself and thank your for your PR!

Do you need the changes in this PR urgently? If so I will do a release, else I'll wait batching up some more changes I'm currently working on. ( #13 for example)

No, I don't need the changes, and I'm working on another one.
/**...*/ is also a doc comment, I used them here to avoid two lines for every variant.

Oh, right, maybe I'll revert my changes that modify the doc-comments before the release.


Homepage

[x] Create Route to homepage
[x] Create Controller Home
[x] Create Homepage template
[x] Add Bootstrap theme
[x] Show list of tricks
[x] Pagination

🕐 4 hours


Fix ForAll predicates breaking FD

Rename before passing into FD and rename again after or something

renamed_predicates = set()
for p in self._learned_predicates:
    if isinstance(p, VLMPredicate):
        renamed_predicates.add(p)
        continue
    new_name = p.name.replace("(", "[").replace(")", "]").replace(" ", "_")
    renamed_pred = Predicate(new_name, p.types, p._classifier)
    renamed_predicates.add(renamed_pred)
self._learned_predicates = renamed_predicates

works I think


Change the default port to 6419

This addresses #123.

Something to be aware of if you're not going to randomize at runtime:
http://www.speedguide.net/port.php?port=6419
http://www.linuxtv.org/vdrwiki/index.php/Svdrp

@ssokolow Nice! That's a great resource, thanks.
I imagine most people won't be sending messages to their TV these days, especially since "send to TV" technology is becoming more popular. And those who are probably won't be running grip at the same time. So think it's good otherwise? If it causes a serious conflict with anyone, we can change it in another release. (I was originally going to go with 64199 but shortened it.)

Yeah. Seems good otherwise.

Thanks for the input!


TF-494: Conform Array.DifferentiableView to CustomStringConvertible

Implements this JIRA ticket.
There isn't much logic here so I don't think tests are necessary, and unsure how to unit test that the correct thing get's printed, but the JIRA example works as expected:

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow


MPD Module ellipsis doesn't work

[bar/top]
monitor = eDP1
width = 100%
height = 34
enable-ipc = true
background = #CC000000
foreground = #ccffffff

line-color = ${bar/bottom.background} line-size = 16

spacing = 2
padding-right = 5
module-margin = 4

font-0 = NotoSans-Regular:size=8;-1
font-1 = MaterialIcons:size=10;0
font-2 = Termsynu:size=8:antialias=false;-2
font-3 = Font Awesome:pixelsize=10;-0.5
font-4 = Font Awesome 5 Free:pixelsize=10;-0.5
font-5 = Font Awesome 5 Brand:pixelsize=10;-0.5
font-6 = Font Awesome 4:pixelsize=10;0
modules-left = shutdownmenu isrunning-compton i3
modules-right = pulseaudio bluetooth backlight wireless-network wired-network battery date
modules-center = weather

[bar/bottom]
monitor = eDP1
bottom = true
width = 100%
height = 27
enable-ipc = true
background = ${bar/top.background}
foreground = ${bar/top.foreground}

line-color = ${bar/top.background}
line-size = 2

spacing = 3
padding-right = 4
module-margin-left = 0
module-margin-right = 6

font-0 = NotoSans-Regular:size=8;0
font-1 = unifont:size=6;-3
font-2 = FontAwesome:size=8;-2
font-3 = NotoSans-Regular:size=8;-1
font-4 = MaterialIcons:size=10;-1
font-5 = Termsynu:size=8:antialias=false;0

modules-left = filesystem updates-arch-combined trash-size cpu
modules-right = wired-network-speed wireless-network-speed system-usb-udev memory
modules-center = mpd

[module/backlight]
type = internal/xbacklight
format = <ramp> <bar>

ramp-0 = 
ramp-1 = 
ramp-2 = 

bar-width = 10
bar-indicator = |
bar-indicator-font = 3
bar-indicator-foreground = #ff
bar-fill = ─
bar-fill-font = 3
bar-empty = ─
bar-empty-font = 3
bar-empty-foreground = #44

[module/wireless-network]
type = internal/network
interface = wlp3s0
interval = 3.0

format-connected = %{A1:sh /home/serhan/.scripts/nmcli-termapplet-spawn:} <ramp-signal> <label-connected>%{A}
label-connected = %essid%
label-disconnected = %{A1:sh /home/serhan/.scripts/nmcli-termapplet-spawn:}%{A}
label-disconnected-foreground = #66
ramp-signal-0 = 

[module/wireless-network-speed]
type = internal/network
interface = wlp3s0
interval = 3.0

label-connected = Wireless Connection Speed%downspeed:9%
label-disconnected =
ramp-signal-0 =

[module/wired-network]
type = internal/network
interface = net0
interval = 3.0

label-connected =    %{T3}%local_ip%%{T-}
label-disconnected-foreground = #66

[module/wired-network-speed]
type = internal/network
interface = net0
interval = 3.0
label-connected = Wired Connection Speed %downspeed:9%

[module/pulseaudio]
type = internal/pulseaudio
headphone-id = 9

format-volume = %{A1:sh /home/serhan/.scripts/pulsemixer-spawn:} <ramp-volume> <label-volume>%{A}
label-muted =   MUTED
label-muted-foreground = #66

ramp-volume-0 = 

[module/date]
type = internal/date
date = %{A3:sh /home/serhan/.scripts/clock-spawn:}    %%{}%Y-%m-%d%%{F-}       %%{}%H:%M%%{F-}%{A}
date-alt = %{A3:sh /home/serhan/.scripts/clock-spawn:}    %%{}%A, %d %B %Y      %%{}%H:%M%%{}:%%{F#707880}%S%%{F-}%{A}
[module/clock]
type = internal/date
interval = 2
date = %%{F#999}%Y-%m-%d%%{F-}  %%{F#fff}%H:%M%%{F-}

[module/shutdownmenu]
type = custom/script
exec = echo hello
click-left = sh /home/serhan/.scripts/shutdown_menu
label = 
format-padding = 5

[module/i3]
strip-wsnumbers = false
type = internal/i3
format = <label-state> <label-mode>

[module/cpu]
type = internal/cpu
interval = 3
label = CPU %percentage%%

[module/memory]
type = internal/memory
label = RAM %mb_used%/%gb_total%

[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
label-mounted = "  HDD %used%/%total%"

[module/updates-arch-combined]
type = custom/script
exec = ~/.scripts/updates-arch-combined.sh
interval = 600

[module/trash-size]
type = custom/script
exec = python2 ~/.scripts/trash-size.py
interval = 10

[module/weather]
type = custom/script
exec = ansiweather -l Edirne -a false
click-left = sh /home/serhan/.scripts/weather-spawn
interval = 600

[module/bluetooth]
type = custom/script
exec = ~/.scripts/bluetooth.sh
click-left = sh ~/.scripts/bluetooth-termapplet-spawn
click-right = sh ~/.scripts/bluetooth-termapplet-spawn2
click-middle =
interval = 10

[module/system-usb-udev]
type = custom/script
exec = ~/.scripts/system-usb-udev.sh
tail = true
click-left = ~/.scripts/system-usb-udev.sh --mount
click-right = ~/.scripts/system-usb-udev.sh --unmount

[module/isrunning-compton]
type = custom/script
exec = ~/.scripts/isrunning-compton.sh
interval = 5
click-left = ~/.scripts/isrunning-compton.sh --toggle

[module/mpd]
type = internal/mpd
host = <IP_ADDRESS>
port = 6600
password =
interval = 1
format-online = <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next>  <icon-repeat> <icon-random>  <bar-progress> <label-time>  <label-song>
label-song = %artist% - %title%
label-offline =
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-seekb = 
icon-seekf = 
icon-random = 
icon-repeat = 
icon-repeatone = 
icon-single = 🔂
icon-consume = 
toggle-on-foreground = #ff
toggle-off-foreground = #55
bar-progress-width = 15
bar-progress-indicator = |
bar-progress-fill = ─
bar-progress-empty = ─
label-song-maxlen = 45
label-song-ellipsis = true

Text doesn't move, acting like there is no ellipsis option in config.

https://ibb.co/BVmQh8p

The ellipsis looks to be working correctly. Ellipsis doesn't mean that the text scrolls across that isn't natively supported by polybar.