Linux-Manjaro, VS-Code, Jupyter-Notebook Extension - "Select Kernel" doesnt find anything

This issue:
https://github.com/microsoft/vscode-jupyter/issues/16120
got closed too quickly and the issue still exists for me.
I have installed
extra/code 1.93.1-1 (14.9 MiB 87.0 MiB) (Installed)
    The Open Source build of Visual Studio Code (vscode) editor

on my linux manjaro Laptop and that is (as far as I know) the only version that works on Linux manjaro.
The solution of the issue before:

Thank you for the logs

The missing proposal MUST be ad

You are running into this issue because you aren’t using the official version of vscode You need to install the official version of vscode

Doesnt work for me so I want to know if there is an alternative solution for me.
Here are the jupyter Logs from today:
Code - OSS (1.93.1, undefined, desktop)
Jupyter Extension Version: 2024.8.1.
Python Extension Version: 2024.14.1.
Pylance Extension not installed.
Platform: linux (x64).
Temp Storage folder ~/.config/Code - OSS/User/globalStorage/ms-toolsai.jupyter/version-2024.8.1
Workspace folder ~/PythonProjects/WB_KI_Oktober2024, Home = /home/raydrake
08:43:59.093 [debug] Start refreshing Kernel Picker<PHONE_NUMBER>093)
08:43:59.094 [error] Error in activating extension, failed in gy [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookKernelSource.
Its package.json#enabledApiProposals-property declares:  but NOT notebookKernelSource.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at Object.createNotebookControllerDetectionTask (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:171:54611)
	at i (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:299:6231)
	at gy.startRefreshWithPython (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:299:6454)
	at gy.activate (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:299:4678)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:373:28494
	at Array.map (<anonymous>)
	at nI.activate (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:373:28480)
	at _G (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:436:2110)
	at async the (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:438:454)]
08:43:59.101 [error] Error in activating extension, failed in Qy [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookKernelSource.
Its package.json#enabledApiProposals-property declares:  but NOT notebookKernelSource.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at Object.registerKernelSourceActionProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:171:54746)
	at Qy.activate (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:116342)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:373:28494
	at Array.map (<anonymous>)
	at nI.activate (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:373:28480)
	at _G (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:436:2110)
	at async the (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:438:454)]
08:43:59.170 [trace] Search for KernelSpecs in Interpreter /bin/python
08:43:59.171 [trace] Search for KernelSpecs in Interpreter /sbin/python
08:43:59.171 [trace] Search for KernelSpecs in Interpreter /usr/bin/python
08:43:59.172 [trace] Search for KernelSpecs in Interpreter /usr/sbin/python
08:43:59.172 [trace] Kernel Spec for 'Python 3 (ipykernel)' (/usr/share/jupyter/kernels/python3/kernel.json) is hidden. (isDefaultKernelSpec = true, language = python, registrationInfo = undefined)
08:43:59.174 [debug] Get Custom Env Variables, Class name = Cm, completed in 81ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
08:43:59.174 [debug] Jupyter Paths /kernels:
08:43:59.175 [debug] Kernel Spec Root Paths, /usr/share/jupyter/kernels, /usr/local/share/jupyter/kernels, ~/.local/share/jupyter/kernels
08:43:59.180 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.181 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.182 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.183 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.185 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.185 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.187 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.188 [warn] Failed to attach variable provider [Error: Extension 'ms-toolsai.jupyter' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares:  but NOT notebookVariableProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-toolsai.jupyter
	at P (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:149:59064)
	at set variableProvider (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:161:237136)
	at n.create (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:86445)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101040
	at Array.forEach (<anonymous>)
	at By.addImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:101013)
	at /home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99999
	at Array.forEach (<anonymous>)
	at By.batchAdd (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:99969)
	at By.createNotebookControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98791)
	at By.loadControllersImpl (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:98251)
	at By.loadControllers (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:97901)
	at By.<anonymous> (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:96781)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:949)
	at i.value (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:285:19835)
	at r.B (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:732)
	at r.C (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:802)
	at r.fire (/usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js:90:1018)
	at Zy.buildDummyEnvironment (/home/~/.vscode-oss/extensions/ms-toolsai.jupyter-2024.8.1-universal/dist/extension.node.js:304:145257)]
08:43:59.226 [trace] Conda file is conda
08:43:59.379 [debug] creating new code watcher with matching document file:///home/~/PythonProjects/WB_KI_Oktober2024/Tag_04/classifier_formant.py
08:44:00.521 [debug] Start refreshing Interpreter Kernel Picker
08:44:00.566 [trace] No controller, hence notebook communications cannot be initialized for editor ~/PythonProjects/WB_KI_Oktober2024/Tag_01/hello_world.ipynb
08:44:00.857 [trace] Python API env change detected, update => '/bin/python'
08:44:00.860 [trace] Python API env change detected, update => '/sbin/python'
08:44:00.863 [trace] Python API env change detected, update => '/usr/bin/python'
08:44:00.864 [trace] Python API env change detected, update => '/usr/sbin/python'
08:44:00.869 [debug] Refreshed Environments

Okay, I found a solution
When I start code like this:
code --enable-proposed-api ms-toolsai.jupyter --enable-proposed-api ms-python.python
I can select the kerne


RuntimeWarning: coroutine 'WebSocketCommonProtocol.close' was never awaited

Describe the bug
The websocket.close() method has to be awaited, otherwise a RuntimeWarning is shown and the bot doesnt shutdown successfully.
Are you using TwitchIO within a Discord Bot?
No, technically parallel to one. Most important information is that its running inside of an asyncio.Task.

Version 1.2.1
To Reproduce
Wrap the client.start() method in a task, then cancel the task later (as there is not logout or close method there is no other way than to just cancel it)
Expected behaviour
It shouldnt throw a RuntimeWarning
my working Solution
Changing this
https://github.com/TwitchIO/TwitchIO/blob/cd6c97b8408772d0d5f14ce082ac25d8b9c4ec51/twitchio/ext/commands/bot.py#L330
to await self._ws.teardown(), this
https://github.com/TwitchIO/TwitchIO/blob/cd6c97b8408772d0d5f14ce082ac25d8b9c4ec51/twitchio/websocket.py#L625
to async def and
https://github.com/TwitchIO/TwitchIO/blob/cd6c97b8408772d0d5f14ce082ac25d8b9c4ec51/twitchio/websocket.py#L629
to await self._websocket.close()
Also the run method should just run the start method in the loop imo, otherwise you'd have to add another loop.run_until_complete for the teardown

Seems to be fixed in #93, but it hasnt been merged and is many months old.

Seems to be fixed in #93, but it hasnt been merged and is many months old.

Thanks, i hadn't seen that issue. I've reviewed it now

Thanks, i hadn't seen that issue. I've reviewed it now


Cannot use LLMChain. No compatible components found.

Describe the bug
Cannot use LLMChain, cannot find prompt component.
Browser and Version

Browser chrome
Version 123.0.6312.106
langflow version: v0.6.15

To Reproduce
Steps to reproduce the behavior:

Create LLMChain
Prompt: No compatible components found.

Screenshots

Hey @huu3301
How are you?
Thanks for catching that! Are you sure you are running version 0.6.15? This seems like an alpha component.

@ogabrielluiz
I'm not sure whether the version is v0.6.15. I used the command "git pull origin dev" yesterday and found this issue.


SDK. Allow to specify ignore regions during screenshot uploading

Functionality implemented on server side and added into POST /test-run
SDK implementation moved into respective project


Update MissingExportEquals.md for import default = fetch

It seems that in the case where export default fetch and fetch refers to a namespace and something else being merged with that namespace, one has to add something like this to the namespace:
import _default = fetch;
export { _default as default };

whereas today, the recommendation is:
const _default = typeof fetch;
export { _default as default };

It would be great to update MissingExportEquals.md to cover this namespace edge case.

Let’s see if anything blows up after the @types/node-fetch merge 😄 If nobody complains after a couple days, I agree.

@benasher44 would you want to open a PR?

I'm somewhat interested, but I won't have time for the next 4-6 weeks, most likely.


Incorrect Optional type inference in lambdas in loops

Environment data

Language Server version: 2022.10.31 (pyright 24992a73)
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): Python 3.11.0rc1

Code Snippet

from typing import Optional

value: Optional[int] = None

while True:
    value = 1

    fun = lambda: value + 1

Repro Steps

Create an Optional variable outside of a loop, assign it to a definite value in the loop and try to use the said variable inside of a lambda in the loop (like in my snippet)
Observe an error being reported regarding the variable potentially being None in the lambda, even though it's been reassigned to a definite value in all code paths

Expected behavior
No error should be reported - the type of the variable should correctly be inferred to just the inner type (T) and not Optional[T].
Actual behavior
Operator "+" not supported for "None" Pylance(reportOptionalOperand) error on line 6.

This behavior is expected in this case. You will see the same error if you use other static type checkers like mypy.
The problem is that lambda is a separate execution context that captures the outer-scope variable value. The value of value could be overwritten by the time you actually invoke fun. Since value is declared as having the type int | None, it could be overwritten with a None. Outside of the lambda (at the scope of the while loop's body), the type of value is narrowed to int, but this narrowed type cannot be used within the lambda's execution context. (For more details about type narrowing, refer to this documentation.)
The recommended workaround in this case is to assign the value to another temporary variable whose type is int rather than int | None. This temporary variable can then be captured by the lambda.
    value2 = value
    fun = lambda: value2 + 1

Ah! That makes sense. I was wondering if there was some lambda "quirk" causing this indeed, but then again, there's no code path in which value could possibly be None, although that may just be a limitation of static analysis.
Thanks for the quick response and as far as I'm concerned, this issue can be considered closed.


WTC 140 template in public

Fixes #140

create templates folder in src folder
move all templates from public to src/templates
update relative path to correctly serve templates
update path to button.hbs in partials.test.js

assign to me for merge

@skibinska assign back when conficts are fixed


Logger plugin not logging join event for anyone except the bot itself

Hello,
I hope I am not misconfiguring the bot, but it seems like the logger plugin is only writing "part" events to the log and completely ignores "join" and "quit" events with the exception of the bot itself joining the channel.

Hi, there is a few tests showing that it should works https://github.com/gawel/irc3/blob/master/tests/test_logger.py

That is interesting. I wonder what could be causing this. It seems like for me it only logs when the bot joins, but it doesn't log when others join. "Quitting" and "Parting" now seem to work work - it's just "Joining" that is still broken.
I will continue trying to debug, but if this is any useful to you, here is my config file and the snippet with the handler.
https://pastebin.com/9ESDRj82
https://pastebin.com/tBR1jxir

I'm too slow for pastebin... (sorry) Your pastes has been removed.


[REFACTOR] Backup and volume states are encoded as labels instead of in the metric value

Is your improvement request related to a feature? Please describe
Currently Longhorn uses 2 different ways to expose the state or status of its resources through metrics.

For longhorn_node_status and longhorn_disk_status, it adds condition and condition_reason labels to indicate the status of the node or disk.
But for states (longhorn_backup_state, longhorn_volume_state, longhorn_volume_robustness), the state is directly exposed as the value of the metric, instead of using a label.

I think that the later implementation is less convenient than the first one for the following reasons :

Performing aggregations is harder to achieve :

Time aggregation : When a query is performed over an extended period of time (e.g. a day or more), not all the values of the metric are returned. Depending on the backend / query (I have been using Datadog and Prometheus), it can return 1 datapoint every X minutes, arbitrarly, average, maximum, minimum, etc. But in this case, these computed values are not relevant : We want to know the states/transitions and an avg/min/max will hide this data. See some examples below, of different graphs with different time ranges.

Space aggregation : You can group by labels, but it is not possible (or at least I have not found how to do it with PromQL / Datadog) group by values of the metric, which prevents from easily having graphs grouping volumes by state. Technically you can do queries for each value of the metric, but it is not very convenient.
Less pleasant user experience as you need to know the possible values of the metric to be able to interpret it (you can rename the metric in a dashboard widget, but it is not as convenient as having the value in the metric itself).

The only downside I see is that it would increase the cardinality of the metrics by a factor of N (where N is the number of possible values of the state).
Describe the solution you'd like
I would like to have state/robustness label and the value set to 1 for :

longhorn_backup_state
longhorn_volume_state
longhorn_volume_robustness

The implementation would be similar to what is done for longhorn_node_status and longhorn_disk_status.
Examples of the metrics with the new implementation :
longhorn_backup_state{backup_name="backup-1", backup_volume="volume-1", state="InProgress"} 1
longhorn_volume_state{state="detaching", volume="volume-1"} 1
longhorn_volume_robustness{robustness="degraded", volume="volume-1"} 1

An example of what it would look like in terms of implementation is available here : https://github.com/antoninferrand/longhorn-manager/pull/1
Describe alternatives you've considered

Not doing this refactoring and keep the current implementation as it technically works.
Adding a new metric with the new implementation, and keep the old one for backward compatibility, I don't know what is your policy regarding backward compatibility.

Additional context

I am currently working on a community integration of Longhorn with Datadog (WIP https://github.com/antoninferrand/DataDog-integrations-extras/pull/1,not ready to be submitted to DataDog yet), and I think implementing these changes would allow to provide a better overview dashboard by allowing the use of specific widgets (this can be discussed in a separate issue if you are interested).

I would be happy to contribute to this refactoring if you are ok with the idea.

I am not sure why this was implemented this way in the first place, so maybe I am completely missing something and my proposal is not relevant, if so please light me up :)

Thanks for the feedback
cc @c3y1huang @PhanLe1010 Do you know the context?


Getting started with Bootstrap

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #2827

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hi @BrianaNzivu, Just wanted to let you know this PR is a duplicate of #3478 but you can proceed with the review since i'm currently packed. Thanks.

Hello @BrianaNzivu, am glad we've met again.  Am done with the changes.
About the avatar image,  I deleted the older one before uploading a new one. Please have a look at my commits above( 22 days ago). I have also resized the new one to 600 x 400 px.
Thanks.

plagiarism check done :heavy_check_mark:

Done with tech review 👍

@BrianaNzivu you forgot this <!--more--> part in the front matter.

@Erastuskanyatta The content you added made it much better. Thanks
Merged #4052 into master


#2826 Remove charting library from github

https://github.com/bitshares/bitshares-ui/issues/2826

@sschiessl-bcp , Implemented required changes in https://github.com/blockchainprojects/bitshares-ui/pull/129


Updating to<EMAIL_ADDRESS>failed

Atom version:
1.0.15
System:
Windows 7 Ultimate 64bit

Wat ?!
What happens after restarting Atom?

Tried to update it --> error see above
Closed Atom completely and restarted it --> package was "succesfully updated" (didn't show me that R-FTP needs to be updated)
Uninstalled the package and reinstalled it --> Load Package Error...

The Error after re-install was the same ?
It didn't find the readme file from a submodule?

@jpxd I will try to reproduce it tomorrow

Uninstalled the package, restarted atom and reinstalled it:

Can you try to install it from the command line using apm install remote-ftp?
I don't really know what is causing your problem since the dependency for jslint is in the package.json...

@jpxd mate, this probably has nothing to do with you (or your nice package):
I already reported those errors here:
https://github.com/atom/atom/issues/8891

Ok, thanks
Lets hope the folks at Github will fix Atom soon 😏


SP611E is not supported!

Version of the custom_component

0.0.7
Describe the bug
SP611E is not supported!
I think need extend some data fields to discovered device would be supported.
Thanks
Debug log

2022-11-23 18:54:36.653 DEBUG (MainThread) [custom_components.uniled.config_flow] Discovered bluetooth device: BluetoothServiceInfoBleak(name='SP611E', address='FF:07:27:30:0F:4D', rssi=-63, manufacturer_data={20563: b"\x04\x10\xff\x07'0\x0fM"}, service_data={}, service_uuids=['0000ffe0-0000-1000-8000-00805f9b34fb', '5833ff01-9b8b-5191-6142-22a4536ef123'], source='3C:6A:A7:27:1C:AC', device=BLEDevice(FF:07:27:30:0F:4D, SP611E), advertisement=AdvertisementData(local_name='SP611E', manufacturer_data={20563: b"\x04\x10\xff\x07'0\x0fM"}, service_uuids=['0000ffe0-0000-1000-8000-00805f9b34fb', '5833ff01-9b8b-5191-6142-22a4536ef123'], rssi=-63), connectable=True, time=6175701.143215107)
2022-11-23 18:54:36.656 DEBUG (MainThread) [custom_components.uniled.config_flow] Discovered bluetooth device: FF:07:27:30:0F:4D is not supported!

2022-11-23 19:45:36.515 DEBUG (MainThread) [custom_components.uniled.config_flow] Discovered bluetooth device: BluetoothServiceInfoBleak(name='SP611E', address='FF:07:27:90:08:4F', rssi=-58, manufacturer_data={20563: b"\x04\x10\xff\x07'\x90\x08O"}, service_data={}, service_uuids=['0000e0ff-0000-1000-8000-00805f9b34fb'], source='3C:6A:A7:27:1C:AC', device=BLEDevice(FF:07:27:90:08:4F, SP611E), advertisement=AdvertisementData(local_name='SP611E', manufacturer_data={20563: b"\x04\x10\xff\x07'\x90\x08O"}, service_uuids=['0000e0ff-0000-1000-8000-00805f9b34fb'], rssi=-58), connectable=True, time=6178761.006701338)

Please download and install v0.0.8 Alpha and re-test that UniLED now correctly discovers your SP611E.

Please download and install v0.0.9 Alpha and re-test, thanks

great job!
Now discovered both SP611E, but do more testing when come to home.
please help how to send command to device?

great job!
Now discovered both SP611E, but do more testing when come to home.


Check for TTY existence before prompting

Describe the bug
I am running an Azure DevOps pipeline, more specifically az deployment group create.
The pipeline fails with a simple ERROR: and no details whatsoever.
I need to pass --debug into Azure CLI in order to get into the details of the error.
DEBUG: cli.knack.prompting: No tty available.
DEBUG: cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 701, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 334, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/resource/custom.py", line 607, in deploy_arm_template_at_resource_group
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 71, in prompt_y_n
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 79, in _prompt_bool
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 28, in verify_is_a_tty
knack.prompting.NoTTYException

As you can see, the Azure CLI finds out there is something missing and will call knack.prompting in order to get user input.
Only then, knack.prompting will call verify_is_a_tty and throws knack.prompting.NoTTYException.
Related command
az deployment group create
Errors
DEBUG: cli.knack.prompting: No tty available.
DEBUG: cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 701, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 334, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/resource/custom.py", line 607, in deploy_arm_template_at_resource_group
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 71, in prompt_y_n
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 79, in _prompt_bool
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 28, in verify_is_a_tty
knack.prompting.NoTTYException

Issue script & Debug output
exec {
    & az deployment group create (Get-BicepDeploymentArgs) `
        --name $deploymentName `
        --resource-group $rg_name `
        --template-file $bicepFile `
        --parameters `
        module=$Module `
        environment=$Environment `
        enable_ingress=$enable_ingress `
        enable_dapr=$enable_dapr `
        location=$Location `
        tags=$tags `
        container=$container `
        env=$vars `
        --verbose `
        --debug `
}
cd D:\a\1\s
$deploymentName: dep-mapapi-2024-06-04-09-04-27
$rg_name: al-tp-rg
$bicepFile: ./modules/_lib/ca/main.bicep
$Module: mapapi
$Environment: dev
$enable_ingress: true
$enable_dapr: true
$Location: swedencentral
$tags: {'Partner':'Amban Nordic Oy','CreatedBy':'fv-az372-492\\vssadministrator','Module':'MAPAPI','Created':'2024-06-04','Environment':'DEV'}
$container: [{'Name':'al-tp-mapapi','Image':'acrcaealtpdevswc.azurecr.io/al-tp-mapapi:refs-pull-110-merge','MinReplicas':2,'MaxReplicas':25,'Cpu':'1.75','Memory':'3.50','Scale':{'Http':{'ConcurrentRequests':200}}}]
$vars: [{'name':'Variable','value':'Value'}]

DEBUG: cli.knack.prompting: No tty available.
DEBUG: cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 701, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 334, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/resource/custom.py", line 607, in deploy_arm_template_at_resource_group
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 71, in prompt_y_n
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 79, in _prompt_bool
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/prompting.py", line 28, in verify_is_a_tty
knack.prompting.NoTTYException

Expected behavior
Azure CLI checks if TTY exists when an argument is missing and simply throws an exception with the missing argument name when TTY cannot be found.
Environment Summary
azure-cli                         2.60.0 *

core                              2.60.0 *
telemetry                          1.1.0

Extensions:
azure-devops                       1.0.0

Dependencies:
msal                              1.28.0
azure-mgmt-resource             23.1.0b2

Additional context
Azure DevOps, ubuntu-latest and windows-latest.

Thank you for opening this issue, we will look into it.

Hi @codepic Find similar issue #11099.
Issue title	az aks upgrade tty error in Azure DevOps agent
Create time	2019-11-04
Comment number	11
Possible solution: As mentioned in the previous issue, the error message indicates that the program needs user input, which is not possible in DevOps as it doesn't have a tty. One solution is to add a parameter to skip or override human input. Another solution is to adjust the command so that it doesn't reach the line where user input is needed. However, it seems like this issue has been resolved by passing --yes flag.
Please confirm if this resolves your issue.

Passing --yes when you don't know what the underlying issue is, is not a solution.
Clearly communicating what Azure CLI attempted and what stopped it from continuing, is the answer.
F.ex. in this particular case, a message like Azure CLI attempted to request user input with message 'Are you sure you want to execute the deployment? (y/n):' but no TTY exists. would be much more preferable than ERROR: which leads to 4 hours of wasted debugging effort (multiplied by how many times this ambiguous error is shown to Azure CLI users, which must be thousands every year).
It all falls down to TCO of Azure and our customers will pay it in their consulting bill.


Create turkcell

Membership application is pending EC review, the PR can be merged on Tuesday next week.


Support writing language servers in WASM

Currently language server can be written in TS/JS or as OS executables. We should support running language servers as WASM binaries as well.

This got implemented and documented in a blog post.


port introduction snippets to use async def and t.i.t.react

looks like this is blocked by #10 or #2 ?

I don't know what is the scope of this issue, but it shouldn't be blocked.
The from page is just a simple HTML page with the content here https://github.com/twisted/twisted.github.io/blob/main/index.html

I'm worried if I add more HTML it will make it harder to switch to rst

I don't know what is the scope of this issue
so this code:

from twisted.internet import protocol, reactor, endpoints

class Echo(protocol.Protocol):
    def dataReceived(self, data):
        self.transport.write(data)

class EchoFactory(protocol.Factory):
    def buildProtocol(self, addr):
        return Echo()

endpoints.serverFromString(reactor, "tcp:1234").listen(EchoFactory())
reactor.run()

becomes:
from twisted.internet import protocol, endpoints, task

class Echo(protocol.Protocol):
    def dataReceived(self, data):
        self.transport.write(data)

class EchoFactory(protocol.Factory):
    def buildProtocol(self, addr):
        return Echo()

async def echo_server(reactor):
    endpoints.serverFromString(reactor, "tcp:1234").listen(EchoFactory())
    await task.deferLater(reactor, math.inf, lambda: pass)
    return 0

def main():
    return task.react(echo_server)

if __name__ == "__main__":
    sys.exit(main())

OK. I have created a PR. we can discuss the new changes there.
I have no idea how a good example should look like...
Should it contain comments... or the code should be simple enough so that the comments are not needed.
Should it contain "hacks" .
To me, the line below looks like a hack :)
await task.deferLater(reactor, math.inf, lambda: pass)

Would be nice if you could just do
async with server(port=0) as server:
    print (f"listening on port {server.port}, waiting for ctrl+c")
    await sleep_forever()

Eh?

I'm worried if I add more HTML it will make it harder to switch to rst

Feel free to add as much HTML as you want, I don't think it would impact the switch to RST at all :)


change some warnings to debug

Why though? I think this is legit if we are using a newer version of klayout than the gui of klive?

The layout_cache we can move to debug

because we use klayout as a viewer, not as an editor, so it's not super important to warn for any version mismatches

Yes, until you have people use klayout 0.27.9 or something like that and wonder why the gds is empty. And if someone is using <0.28.10, they will have problems reading some metainfos afaik (maybe that's only on write but I am not sure).
And these things are barely a year old. So, no I don't really want to hide this by default. If you think it's too noisy then raise to level ERROR. I feel we are currently relying too much on new klayout features to just decrease to debug.
If you really want to decrease this, then fine, but add the klayout -V output to the gf settings and please make a PR to allow the same for kfactory, although there we don't need all the gf plugin checks.

I already sent a PR for kfactory
If you want to raise a warning for previous versions that have issues it's okay with me
I have got that feedback from gdsfactory users and I agree with it so I made the PR

I don't agree with it at all. If you want the program less noisy, raise the logging level, the logfilter isn't there just to look pretty.
If we follow anything like general logging guidlines like this https://sematext.com/blog/logging-levels/ , the version mismatch should be a warning. global layout cache is debatable. I would still argue it should be, but I guess that's more of a different working mode.
Add something like this to the docs and users can choose themselves:
"""
In order to decrease the noise level, you can create an env file which will set the loglevel to error or above. This means generally, the application will only output information if something happened which almost certainly creates a malformed layout file or even none at all
bash -c 'echo "kfactory_logfilter_level = \" ERROR\" >> .env"'

or python
from pathlib import Path

p = Path().parent.resolve() / ".env"

with p.open("a") as f:
    f.write('kfactory_logfilter_level = "ERROR"')

""""

I changed it to a warning for a dangerous versions (<=0.27)
let me know if that looks good for you
also, can you review the PR?
https://github.com/gdsfactory/kfactory/pull/480


Responsive picker

Thanks for contributing to open source. I would like to ask, is this picker responsive to screen sizes? I tried shrinking the page for the demo and had horizontal scroll bars.

It's responsive but only to a minimum size


Terminal Issue

Type: Bug
Hello, I'm having some issues with the terminal. Since the last update it's very slow. I tried unistalling vs code twice but it didn't work. I also deleted all the extensions and the settings.json file. I checked all the settings and changed them but it didn't solve the problem.
Hope you can help me.
Thanks.
 Is it faster if disabled?

Have you tried to disable terminal.integrated.shellIntegration.enabled setting? Is it faster if disabled?

Thanks a lot, that worked just fine!

May be related to #212090 but that one is in Insiders


Help with Performance on Apple M1

As @chriselrod asked in #21, here's the output of
using Libdl
llvmlib = VERSION ≥ v"1.6.0-DEV.1429" ? Libdl.dlopen(Base.libllvm_path()) : Libdl.dlopen(only(filter(lib->occursin(r"LLVM\b", basename(lib)), Libdl.dllist())));
gethostcpufeatures = Libdl.dlsym(llvmlib, :LLVMGetHostCPUFeatures);
features_cstring = ccall(gethostcpufeatures, Cstring, ());
features = filter(ext -> (m = match(r"\d", ext); isnothing(m) ? true : m.offset != 2 ), split(unsafe_string(features_cstring), ','));
println(features)

on Julia 1.5.3 on the MacBook Pro Apple M1 (but it should be the same as on the MacBook Air since the M1 I the same as far as I know):
SubString{String}["+sse2", "+cx16", "+sahf", "-tbm", "-avx512ifma", "-sha", "-gfni", "-fma4", "-vpclmulqdq", "-prfchw", "-bmi2", "-cldemote", "-fsgsbase", "-ptwrite", "-xsavec", "+popcnt", "-mpx", "+aes", "-avx512bitalg", "-movdiri", "-xsaves", "-avx512er", "-avx512vnni", "-avx512vpopcntdq", "-pconfig", "-clwb", "-avx512f", "-clzero", "-pku", "+mmx", "-lwp", "-rdpid", "-xop", "-rdseed", "-waitpkg", "-movdir64b", "-sse4a", "-avx512bw", "-clflushopt", "-xsave", "-avx512vbmi2", "-avx512vl", "-invpcid", "-avx512cd", "-avx", "-vaes", "+cx8", "-fma", "-rtm", "-bmi", "-enqcmd", "-rdrnd", "-mwaitx", "+sse4.1", "+sse4.2", "-avx2", "+fxsr", "-wbnoinvd", "+sse", "-lzcnt", "+pclmul", "-prefetchwt1", "-f16c", "+ssse3", "-sgx", "-shstk", "+cmov", "-avx512vbmi", "-avx512bf16", "-movbe", "-xsaveopt", "-avx512dq", "-adx", "-avx512pf", "+sse3"]

to be honest, I am not sure what to do with this, but I was asked to provide it. I can also do that on Julia nightly (1.6-DEV) if that helps.

I guess this is Julia running on Rosetta? Do you get
julia> Sys.ARCH
:x86_64

?
The M1 looks like an x86_64 CPU with only SSE. That is, like a very old CPU.
I was expecting something more like
julia> println(features)
 SubString{String}["+neon", "+fp-armv8", "+crypto", "+crc"]

https://github.com/chriselrod/VectorizationBase.jl/issues/21#issuecomment-740225710
Where I can see that the ARM CPU does support NEON.

Oh, sorry, yes. As I said, I am not experienced with this; It is the same config that gave the error in the other thread. Then I have to check how to get Julia native to M1.

Is there a supported* Fortran compiler for the M1 yet?
*Apparently NAG has a Fortran compiler for the M1, but I don't see nagfor listed here.
Not sure when there'll be native support.
I guess I should start worrying about optimizing for the M1 only once it can run Julia natively?
As is, I don't know how to recognize it vs just an old x86_64.

https://github.com/JuliaLang/julia/issues/36617

But I am interested in the results of this:
using LoopVectorization, BenchmarkTools
function self_dot_1(x)
    s = zero(eltype(x))
    @avx unroll=1 for i in eachindex(x)
        s += x[i]^2
    end
    s
end
function self_dot_2(x)
    s = zero(eltype(x))
    @avx unroll=2 for i in eachindex(x)
        s += x[i]^2
    end
    s
end
function self_dot_4(x)
    s = zero(eltype(x))
    @avx unroll=4 for i in eachindex(x)
        s += x[i]^2
    end
    s
end
function self_dot_8(x)
    s = zero(eltype(x))
    @avx unroll=8 for i in eachindex(x)
        s += x[i]^2
    end
    s
end

x = rand(512);
@btime self_dot_1($x)
@btime self_dot_2($x)
@btime self_dot_4($x)
@btime self_dot_8($x)

For example, I get
julia> x = rand(512);

julia> @btime self_dot_1($x)
  38.775 ns (0 allocations: 0 bytes)
162.8021234109089

julia> @btime self_dot_2($x)
  23.932 ns (0 allocations: 0 bytes)
162.8021234109089

julia> @btime self_dot_4($x)
  17.550 ns (0 allocations: 0 bytes)
162.8021234109089

julia> @btime self_dot_8($x)
  17.087 ns (0 allocations: 0 bytes)
162.8021234109089

and, similarly for sums:
function sum_1(x)
    s = zero(eltype(x))
    @avx unroll=1 for i in eachindex(x)
        s += x[i]
    end
    s
end
function sum_2(x)
    s = zero(eltype(x))
    @avx unroll=2 for i in eachindex(x)
        s += x[i]
    end
    s
end
function sum_4(x)
    s = zero(eltype(x))
    @avx unroll=4 for i in eachindex(x)
        s += x[i]
    end
    s
end
function sum_8(x)
    s = zero(eltype(x))
    @avx unroll=8 for i in eachindex(x)
        s += x[i]
    end
    s
end
@btime sum_1($x)
@btime sum_2($x)
@btime sum_4($x)
@btime sum_8($x)

I get
julia> @btime sum_1($x)
  38.542 ns (0 allocations: 0 bytes)
247.23752428236378

julia> @btime sum_2($x)
  24.413 ns (0 allocations: 0 bytes)
247.23752428236375

julia> @btime sum_4($x)
  17.467 ns (0 allocations: 0 bytes)
247.23752428236372

julia> @btime sum_8($x)
  16.852 ns (0 allocations: 0 bytes)
247.23752428236372

I'm curious if you see much more benefit from unrolling on the M1. Because it has more execution units, it seems likely that it'd benefit from more dependency cutting.
Also, I realized there's a bug when unroll=16. LoopVectorization will never automatically pick a number that high, but better not to have bugs. I'll look into it.

I have never worked nor do I plan to work with Fortran, so I can not provide any help there.
For the commands you postet in the last comment – should I run that on my current Julia or wait for the native-ARM variant?

Fortran was actually checked off in Keno's issue.
I'd be interested in seeing the results currently on Rosetta, and again once there's a native version.
We should see the greater number of instructions/clock even under Rosetta.

Great, so on Rosetta, i get the following for you first block (without any recompilation or double runs)
julia> x = rand(512);

julia> @btime self_dot_1($x)
  175.996 ns (0 allocations: 0 bytes)
173.38314925173995

julia> @btime self_dot_2($x)
  85.667 ns (0 allocations: 0 bytes)
173.38314925174

julia> @btime self_dot_4($x)
  51.892 ns (0 allocations: 0 bytes)
173.38314925173995

julia> @btime self_dot_8($x)
  47.902 ns (0 allocations: 0 bytes)
173.38314925173995

and for the second
julia> @btime sum_1($x)
  174.907 ns (0 allocations: 0 bytes)
260.10397993782067

julia> @btime sum_2($x)
  80.664 ns (0 allocations: 0 bytes)
260.10397993782055

julia> @btime sum_4($x)
  47.943 ns (0 allocations: 0 bytes)
260.10397993782055

julia> @btime sum_8($x)
  37.596 ns (0 allocations: 0 bytes)
260.10397993782055

again I am not experienced with this, so If I should run anything else, or make sure I don't have this or that running aside, let me know.

I bought a Mac Mini for testing, and am running it natively now.
If anyone reads this and Hwloc_jll doesn't exist yet for Apple-AArch64, you can dev Hwloc.jl, install hwloc via some other means (I used homebrew), and then edit Hwloc.jl to remove Hwloc_jll as a dependency and define const
const libhwloc = "/opt/homebrew/lib/libhwloc.dylib"

where you replace the path shown above with whatever the path actually is.
To work, this will require at least VectorizationBase 0.19.23 (which at the time I write this means it needs the master branch; I would suggest using the master branch of LoopVectorization as well at least until LV 0.12.12 is released).
Some tests pass. A lot fail. I'll look into them and address them before an actual release.
I already made a few tweaks/fixes that improved performance substantially.
I haven't tried Rosetta yet, so I can't comment on how that'll compare.
My self_dot and sum times are just a little better, but they weren't really relying on LoopVectorization to optimize nor do they have too much going on otherwise.
@mcabbot tagging you in case you're interested.


Guard against malformed standalone bundle.

If you do:
browserify().bundle()

You get an empty and useless bundle, but no browser error. Whereas if you do:
browserify({standalone: 'whatever'}).bundle()

You get a malformed bundle and a browser error.
I think in both cases it should either:
A) Produce an empty and useless but well-formed bundle; or
B) Error out during bundling.
This PR does A, making the standalone behavior consistent with non-standalone.
The only time first === true in end() is when the bundle is empty, right?

Thanks @jmm! I added a test for it in https://github.com/substack/browser-pack/commit/d4d2632cdb869f95f7001a431c0f17dcd383e756

Thanks @zertosh! I think the reason I didn't submit a test is because I wanted to see what the verdict would be on approach A|B. But if a PR of mine needs something feel free to ask and I probably can / will do it (eventually anyway). But thanks for adding the test!

Will do next time! Thanks again :)


Add initial xcodebuild.vim implementation

This is the first working version of this plugin. It allows you to
dynamically find the project or workspace, as well as dynamically
finding the first available scheme (looking only in the project).
It also has support for xcpretty, and dynamically adds it to the end of
the command if it's available.

Welcome to the wild and wacky world of Vimscript!


websites to take down

Websites will be integrated into the new BIDS website

[x] https://github.com/bids-apps/bids-apps.github.io
[x] https://github.com/bids-standard/grant_writing_kit
[x] https://github.com/bids-standard/bids-extensions
[x] https://github.com/bids-standard/bids-starter-kit

Websites that may move but probably not
Some of their pages may move though.

see https://github.com/bids-standard/bids-website/discussions/433

https://github.com/bids-standard/stats-models

https://github.com/bids-standard/execution-spec

Websites that may be taken down but not the repo

[ ] mkdocs page of the bids examples as it is now duplicated here

Websites that will not move

https://github.com/bids-standard/awesome-bids

wondering whether some info about the validator should be hosted on the bids website of the repo of the bids validator...


Offer Hungarian card deck version fo the game

The current game uses French card packs.
The Hungarian pack has 32 cards ranking from 7, 8, 9, 10, alsó (Under, Unter = inferior / sergeant), felső (Over, Ober = superior / officer), király (King, König), and ász ("Ace", Deuce, Daus) for a total of 32 cards. The suites are: Hearts, Bells, Acorns, Leaves. The higher value cards have all individual characters depicting mythological characters, for example in case of the Tell cards they are casts of the William Tell drama. The numbers are represented with roman numbers and even these cards have assigned characters.
https://hu.wikipedia.org/wiki/Magyar_kártya
https://en.wikipedia.org/wiki/German_playing_cards
We can have 6 (VI) cards as well, or even down to 1 (I), that would require less modification of the rules engine but less genuine Hungarian deck. Roman numbers require more space, so it's a question if we should keep the Arabic numbers or modify the font size or the alignment of the chips. I have beautiful InkScape gradient designs for the suites, those would require more drawing power though due to the gradients.

This would certainly need additional leaderboards (duplicating the current 6 leaderboards) and possibly new achievements as well


Want to add a button to hide the "Missing 1930 chapters" prompt

Describe your suggested feature
Want to add a button to hide the "Missing 1930 chapters" prompt

As shown in the picture, there is no missing chapter, but because there is another title between 82 and 83, it is judged that the chapter is missing. I hope that a button can be added to the settings to hide this prompt.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.4.
[X] I will fill out all of the requested information in this form.

Closing as a duplicate of #50


[service] windows service, receive multiple change requests

What does this PR do?
In the windows service Execute function, use for loop to receive all the change requests not just the first one.
Why is it important?
Without this only the first change request is received.  So if the service is sent Interrogate, followed by Shutdown, it would only see the Interrogate request and never receive the Shutdown request.
Checklist

[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added an entry in CHANGELOG.md

Author's Checklist

[ ]

Related issues

elastic/elastic-agent#3557
elastic/elastic-agent#3372
elastic/elastic-agent#3307
elastic/elastic-agent#3061
elastic/elastic-agent#3557

Both Beats and Agent will need this fix.

:green_heart: Build Succeeded

Buildkite Build
Commit: c0cce0aaaf8a5c52fcdd35f2900c19cf0da301e0


Text in wrong field

Hello,
i expect a Problem regarding Android N (7).
If I type something in an field (text or texttfield) it doesn´t matter.
The text is added in the first element of the List.
Any suggestions why?

I found a fix. I removed
listView.setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS);
in FormManager.java


Fix chunk errors on Windows #2706

Signed-off-by: Robert D Anderson<EMAIL_ADDRESS>Addresses the issue reported in #2706.
Tracked down to an issue with Windows only: our isAbsolutePath method fails with some path styles, on Windows only. I haven't (yet) fixed that issue. Instead, the chunking method that used isAbsolutePath was updated so that it deals with files, and relies on the native File.isAbsolute() method. (Previously, URIs were converted to Strings, which were converted back to files.)
As an added benefit, this resolves long-standing issues with the gradlew test command that I hadn't taken time to figure out -- 14 of the existing chunk test cases failed with every Windows test, but worked on Mac / Linux. With this update, the gradlew test run is now clean on Windows.
Type of Changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that changes existing functionality)

Checklist

[X] Builds & tests completed successfully (./gradlew test integrationTest).
[X] My code follows the code style of this project.

https://github.com/dita-ot/dita-ot/wiki/Java-Coding-Conventions
https://github.com/dita-ot/dita-ot/wiki/XSLT-Coding-Conventions

[ ] I have updated the unit tests to reflect the changes in my code. This change allows existing tests to run successfully, so no new tests are needed
[ ] My change requires a change to the documentation. @dita-ot/docs
[ ] I will update the documentation accordingly or create a new [docs][] issue.

Fixed the issues I found.


fix(portal): Create email-provider_identifier partial index to account for email dupes

It's possible for emails to be non-unique within a provider. However, the provider_identifier will be unique, once it's filled in. The problem is it won't be filled in when an admin creates the identity and before the user signs in for the first time.
So we use two indexes to solve the problem and avoid any ambiguity when matching identities on sign in.

@bmanifold Feel free to build off this or open your own. Just an idea.

As noted, provider_identifier cannot be NULL.


Issue with using Sinon Fake Timers and the delay() operator

I'm trying to write tests for my RxJS functions and some of them use the .delay() operator.  In doing so, I need to be able to use SinonJS's useFakeTimers() functionality to achieve proper test results.  I've created a very simple use case in jsfiddle that illustrates my point. The link is below.
RxJS version: 5.2.0
Code to reproduce: https://jsfiddle.net/cnmqnb6s/
Expected behavior: It should trigger the delay when you tick the timer to greater or equal to the amount of the delay
Actual behavior: The do() operator never fires after the delay.
Additional information:  If you uncomment the second line of code where noted and comment out the last line of code, the test actually works.  This is how I've had to get around the issue in my actual tests, but it creates a huge delay in the actual test runs.

Can I ask reason to not to use testScheduler but try to use faketimers instead? Scheduler has vary implementation per each usecases, and doesn't guarantee it's controlled by mocking setTimeout.

@kwonoj: I'm not exactly sure how to use TestScheduler in this instance.  Are you able to provide a quick example based off my original jsfiddle?

if you're trying to test is behavior of delay, it could be something similar to
const scheduler = createTestScheduler(); //pseudo function, you may need to create instance per your usecase
const source = Observable.something.delay(100, scheduler).do(() => someState change).subscribe();

expect(state).not.changed;
scheduler.flush();
expect(state).changed

this is super simplified pseudo logics, and can vary by scope of test and etcs. If you'd like to check stream of source being delayed correctly, you can use marble diagram instead like https://github.com/ReactiveX/rxjs/blob/master/spec/operators/delay-spec.ts#L26-L37 , or you could use 3rd party module to have rx4 style of time controlling via https://github.com/kwonoj/rxjs-testscheduler-compat.

@kwonoj Thank you! I'll close this as it's not actually a bug.


problem with html5 course example

Hi,
I'm learning/reviewing HTML and HTML5 through courses from John Bura of Mammoth Interactive.  One of his example uses this JavaScript code:
var aCanvas = document.getElementById("aCanvas");
var context = aCanvas.getContext("2d");
context.fillStyle('red');
context.fillRect(0,0,100,100);
The HTML page is:

JS Bin

In his example, run, I think, on an older jsbin.com, this draws a red square.
When I plug it into the current jsbin.com I don't see anything.
Since I'm just learning most of this and in particular am not a JavaScript programmer, I don't know if this is a problem with what I've typed (I've reviewed it a dozen times, so I may be missing something), a problem with the original presentation material, or with the web page.
Any help would be greatly appreciated.
Bob

Oops, it seems I need to escape the HTML, somehow.  Please let me know if it is needed and if so how to escape the code.
Thanks.
Bob

Same issue.

Can you share a jsbin url (from your code) so I can see?

Hi Remy
Here's the link
https://jsbin.com/tufalaxito/1/edit?html,css,js,output
On 23 March 2016 at 14:10, Remy Sharp<EMAIL_ADDRESS>wrote:

Can you share a jsbin url (from your code) so I can see?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jsbin/jsbin/issues/2293#issuecomment-200338751

https://jsbin.com/tufalaxito/1/edit?html,css,js,output

my stupidity, forget it, had an '=' after fillRect


Get rid of url encoding in cookies.

Fixes https://github.com/alexcrichton/cookie-rs/issues/40

Can we get this on crates.io?

Because of the way that this changes behavior in a likely backwards incompatible manner, it should probably be published as a new major version.


Bench/indented while

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

28 of 29 (96.55%)  changed or added relevant lines in 3 files are covered.
15 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 88.686%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sly/parser/syntax/tree/SyntaxNode.cs
18
19
94.74%

Files with Coverage Reduction
New Missed Lines
%

src/sly/lexer/LexerBuilder.cs
15
95.6%

Totals

Change from base Build<PHONE_NUMBER>:
-0.003%

Covered Lines:
6015

Relevant Lines:
6665

💛  - Coveralls


Autoscrolling too slow

Autscrolling to sessions or events is still too slow. It is ok to have this effect, but it should be super fast, e.g. from the following button. Users should not have the feeling that they are waiting for the effect to finish. Please make it very fast.

Working on it. Will fix it soon :)


Add zero-shot evaluation results

Hi all, I read the code and realized that the results were obtained from 3-shot demonstrations. However, some models were trained to follow instructions without demonstrations. These models may have better relative zero-shot performance (ranked higher in the result table) than current few-shot setting. It will be great if you can add these zero-shot evaluation results. Thank you.

Good point, it may be worth investigating the zero-shot performance as well. We will try and add the zero-shot results for MMLU in the next few weeks. For now, we have reported the zero-shot results of HumanEval in the readme table (last column)


Add support for CSP nonces when injecting the browser agent

Before contributing, please read our contributing guidelines and code of conduct.
Overview
This PR adds support for CSP nonces when injecting the browser agent for our API method browser_timing_header. This change was implemented in a way that is in line with the other language agents, based on the updated agent specs for the Browser Monitoring API.
In order to utilize this change, you must disable auto instrumentation for the browser agent, and use the API method browser_timing_header to inject the script manually.
Example:
<html>
  <head>
    <%= ::NewRelic::Agent.browser_timing_header("nonce") %>
    ...
  </head>
  <body>

Related Github Issue
closes #332
Reviewer Checklist

[ ] Perform code review
[ ] Add performance label
[ ] Perform appropriate level of performance testing
[ ] Confirm all checks passed
[ ] Add version label prior to acceptance

oh I forgot to add an entry to the changelog, I'll need to do that before we merge this


Categorical handling

Addresses https://github.com/scikit-learn-contrib/categorical-encoding/issues/86
@janmotl Here is my approach to setting up categorical datatype compatibility.
I've also started storing the datatype of the column so that way the inverse transform can set the types correctly. Luckily, there were not a lot of core things that had to change.
I was also able to ensure the ordinal encoder set it's values by the order of the categories in the data type.
Tell me what you think.

Looks good. Thank you.


import error: 'NavbarText' is not exported from 'reactstrap'

The docs at https://reactstrap.github.io/components/navbar/ show the last import as NavbarText. I get the title error when trying to use.
Searching my reactstrap node_module I see no NavbarText and in index.js I see no NavbarText export.
I used npm and my version is<EMAIL_ADDRESS>

Yep same issue here. File is not there. It is on Github though.

Sorry, that has not be released yet. I'll try to create a release when I am at a computer and can create the bundles.
The Docs right now are ahead of the releases, but 546b15c57 should prevent that from happening in the future. Once the next release is made, the docs should be in lock-step.

Hi any updates, when the new release will be created?


import gdown ModuleNotFoundError: No module named 'gdown'

File "C:\Users\admin\Desktop\Project\deepface_pro\deepenv\lib\site-packages\deepface\basemodels\VGGFace.py", line 3, in
Even after manually installing gdown in virtualenv the module is not able to find gdown from env this issue is specific to Windows users

In Package make sure the module name is gdown  as directory name


Avoid side effect on default factory by calling it only once

Change Summary
get_default would be called many times because of ModelField.prepare. But if the default_factory had some side effect (see the issue for an example), it would have an unexpected behaviour.
The expected behaviour written in the test is exactly the same as the one with standard library dataclasses.
Related issue number
fix #1491 and #1520
Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

The problem with this is that it doesn't work if someone does something like:
v = 0

def factory():
    global v
    v += 1
    return v

class MyModel(BaseModel):
    id: int = Field(default_factory=factory)

I worry that copying the factory in one place complicates things more than it solve problems.

@samuelcolvin I agree it doesn't solve all the problems but handling all the cases would mean rethink the workflow with prepare. I thought that it would at least solve most edge cases and that the example of the linked issue would be way more common than the one you put. But if you think otherwise, I'll remove the code and just keep the default = None for the other issue

@samuelcolvin I updated the content of the PR and the description. I also added some documentation to keep that in mind.

Waiting for this!

Thanks so much.


Bot difficulty Question

What is the highest level? I want the bots to be really good. Is 4 the best or what's the highest?
//
// Bot difficulty. As it-is.
//
// Default: 4
//
yb_difficulty "4

Hello.
Maximum difficulty is 4. However, boys can be a real nightmare when yb_difficulty 4 and yb_whose_your_daddy 1.


[core] Jadx generates incorrect code for NULL pointer

Hi! I am an undergraduate, and I am doing some research based on Jadx.
I found a problem related to the NULL pointer, and here is an example:
class T2 {
    public long l;
}
class T1<H, P extends Byte> {
    public T2 t2;
    public T1(T2 t2) {
        this.t2 = t2;
    }
}
public class Demo {
    static public final Long foo(Double d1) {
        T1<T2, Byte> t1 = (T1<T2, Byte>) null;
        return t1.t2.l;
    }
}

I decompiled the classes.dex the code above compiled into, and I got this:
package defpackage;
public class Demo {
    public static final Long foo(Double d) {
        return Long.valueOf(null.t2.l);
    }
}

The null.t2 raised a compilation error:
./out/sources/defpackage/Demo.java:6: error: <null> cannot be dereferenced
        return Long.valueOf(null.t2.l);
                                ^
1 error

Would you please take a look at this? It is important for me!
Thanks a lot!
Jadx version: the newest jadx binary in Arch Linux.
Java version: 11.0.18
I also attach the source files and the decompilation results and I hope they will be helpful: demo.zip.

Fixed

Thanks for the help!!!!!!


set keymap with alt key as prefix does not work

question intro
<M-*> does not work
environment

OS: MacOS 13.1
neovim: v0.8.3
goneovim: 0.6.4

cnofig files

~/.config/goneovim/settings.toml

# load lua config
Ginitvim = '''
lua << EOF
require("goneovim")
EOF
'''

~/.config/nvim/goneovim.lua

local keymap = vim.api.nvim_set_keymap;
local option = {
  noremap = true,
}

-- working
keymap("n", "<C-t>", "<cmd>lua print('111')<CR>", option);

-- not woring
keymap("n", "<M-t>", "<cmd>lua print('222')<CR>", option);

Do you need more information?

Hi,
Thanks for the issue report.
Goneovim does not allow M-mapping by default in Mac OS. (Note that the Alt key prefix is A- in Goneovim.)
To use it, you must set Macmeta to true in settings.toml. In a launched instance, the settings can be controlled with GuiMacmeta [0|1].

I have looked into a few past cases, and it seems that controlling at the MacOS configuration level is also effective.
https://github.com/equalsraf/neovim-qt/issues/579#issuecomment-666915803

Hi, Thanks for the issue report. Goneovim does not allow M-mapping by default in Mac OS. (Note that the Alt key prefix is A- in Goneovim.) To use it, you must set Macmeta to true in settings.toml. In a launched instance, the settings can be controlled with GuiMacmeta [0|1].

Thank you very much!


NaN when width=channel=1, B0

I am using this on my own computer vision dataset. My image size is small enough that when the image size ends up being (batch_size,n_channels,1,1), the EvoNorm begins returning NaN's. I know the reason is because the width=channel=1 because when I make my network smaller with less convolution layers i.e. width,channel>1, the NaN's go away. Is there any reason why this is the case?

The NaN's are coming from the instance_std and torch.max returns NaN when any of it's elements are NaN. I just added a simple check to see if instance_std was NaN and just return (var+self.eps).sqrt(). The instance_std is most likely NaN because width=channel=1 has no instance variance e.g. variance of a constant is not well-defined in torch, is my guess. I'd be happy to submit a pull request to fix this.

Hi. Thanks for raising the issue and providing a solution for it. Please submit a PR.


test: behaviors-message_on_lock_failure (2024-03-07 00:42:00.470784+00:00)

automatic test cleanup


yt-dlp Downloading partial audio files

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
I am using yt-dlp on US based linux machine. I am using ytmusic cookies.txt to download mp3 files that are available only for premium members. However, often I have found that yt-dlp downloads the mp3 files partially. i.e, for a 7-minute video, the mp3 file is only about 2 minutes 43 seconds. Have observed it many times, especially for premium songs.
Example video IDs: NCRnj62bFOY
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No errors in command line.

share a verbose log

I am using it in Django, so the log is not available. When I run the same py script in shell, it downloads the audio in FULL. but the issue of partial audios happens only in Django:
q = 'NCRnj62bFOY';
URL = 'https://www.youtube.com/watch?v=NCRnj62bFOY'
outtmpl = '/root/'+q
ydl_opts = {
'outtmpl': outtmpl,
'format': 'bestaudio/best',
'noplaylist' : True,
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
}],
'cookiefile': '/root/django/cookies.txt',
}
file_path = '/root/'+q+'.mp3'
if(os.path.exists(file_path)):
print("File already exists.")
else:
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
ydl.download(URL);
print("Done")
Do you need cookies to test it?

if you cannot reproduce the issue locally this sounds like an issue with your django project rather than yt-dlp

I have slightly modified the code in Django (views.py) and removed the 'preferredcodec': 'mp3', line. Now yt-dlp saved in in opus format, eliminating the use of FFmpeg conversion. Now it downloads the full audio.
Apart from opus, which other audio format can be used to ensure that FFMpeg is not involved in conversion?

You could select an m4a/aac format by adding 'format_sort': ['ext'] to your ydl_opts.
Don't add preferredcodec at all if you don't want ffmpeg to be called during postprocessing


Update counter only on master branch

The counter is really good, however I would like it to update only if the build is running on the master branch. Ignore all pull request and feature branch builds

@psandhu79 Thank you for the feedback. Can you let me know which article this feedback is for, so I can assign it to the author? You can reply here with the URL of the topic, or you can create a new issue by browsing to the topic on docs.microsoft.com and choosing Content feedback at the bottom.

If this is something that we can change in the documentation we'll take a look, but if it is a feature request, you'll need to file a separate issue for that.
To submit product feedback, such as bug reports or feature requests, please choose Product feedback at the bottom of the article:

or you can file an issue directly at https://developercommunity.visualstudio.com/spaces/21/index.html

HI
The URL is
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?tabs=yaml%2Cbatch&view=azure-devops
Pod
On Mon, Feb 4, 2019 at 6:37 PM Steve Danielson<EMAIL_ADDRESS>wrote:

@psandhu79 https://github.com/psandhu79 Thank you for the feedback. Can
you let me know which article this feedback is for, so I can assign it to
the author? You can reply here with the URL of the topic, or you can create
a new issue by browsing to the topic on docs.microsoft.com and choosing Content
feedback at the bottom.
[image: image]
https://user-images.githubusercontent.com/1580889/51848491-af95cd80-22eb-11e9-81a2-1680fc40caf9.png
If this is something that we can change in the documentation we'll take a
look, but if it is a feature request, you'll need to file a separate issue
for that.
To submit product feedback, such as bug reports or feature requests,
please choose Product feedback at the bottom of the article:
[image: image]
https://user-images.githubusercontent.com/1580889/51848904-90e40680-22ec-11e9-893f-ded2716f3ea2.png
or you can file an issue directly at
https://developercommunity.visualstudio.com/spaces/21/index.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/vsts-docs/issues/3206#issuecomment-460361144,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVY-ZzEmLYWJBCg51y5LDIfBuDrRhqI-ks5vKH3igaJpZM4aeIWD
.

@psandhu79 Thank you, I am assigning this to the writer for Variables.

Thank you for your feedback. We are unable to provide assistance with specific programming issues. You would need to create custom scripts to perform the task you require. You may be able to get assistance from the Azure DevOps Developer Community website at https://developercommunity.visualstudio.com/spaces/21/index.html, or from another site such as https://stackoverflow.com.


curl failed to verify the legitimacy of the server

問題描述
Trying to follow the windows install:
https://github.com/rime/rime-cantonese/wiki/Windows-安裝教程
After step 2, I get this.
Rime package installer

Working directory: C:\Users\NAME\Downloads\weasel-<IP_ADDRESS>-installer.exe
Package installer directory: C:\Program Files (x86)\Rime\weasel-0.14.3\
Download cache directory: C:\Users\NAME\AppData\Local\Temp
Rime user directory: C:\Users\NAME\AppData\Roaming\Rime

Enter package name, URL, user/repo or downloaded ZIP to install: cantonese
Downloading rime-install ...
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Installation failed: Error downloading rime-install

:O I was also getting this problem with my server in Arizona - but it seems to work fine elsewhere. Sadly, I don't think there's a way to fix it without changing the code... Maybe you can try asking the devs over at rime/plum and see if they can help

Is there a way I can download a zip or something and just point at the zip? @tanxpyox

@p2635 睇Windows 進階安裝教程，呢個下載過程同你手動複製粘貼啲yaml文件係一樣嘅，複製粘貼咗啲文件之後去個default.yaml嗰度加個jyut6ping3落schema嗰度就得。具體可以去telegram用戶羣入邊問

windows-*-installer.zip should contain everything you need

點解好似冇咗個手動複製粘貼 yaml 文件部署嘅教程？我記得我以前寫過一個嘅
係咩？我冇印象喎

@tanxpyox @tanxpyox manual copy worked, 搞掂咗. 多謝你哋咁快覆我!


Avoid replacement on AMI change

Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

No 🛑: please wait to file a request until the functionality is avaialble in the AWS provider

Is your request related to a problem? Please describe.
When using Windows AMI provided by Amazon, these images are unregistered after 4 months, thereby breaking Terraform configs if we reference specific AMI. If on the other hand we would reference the latest image, that would cause the instances to be replaced.
Describe the solution you'd like.
I propose to add ami_replace_on_change property that would work analogous to user_data_replace_on_change. The default value would be true to be backwards compatible.
This way we would be able to reference the latest image in our configs.
Describe alternatives you've considered.
Copying AMI, but it is not permitted.
Additional context
I can provide a PR if such a solution is accepted.

@IgorMilavec this has to be supported first by the AWS API and then by the AWS provider before we can support it here. Ref https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#user_data_replace_on_change


[Event Hubs] Iterator for receiver receive events in the background

Now we have getEventIterator() that returns an async iterator that can be used to iterate over the events. Internally it calls receiveBatch().
This PR updates:

a batch of events is fetched upfront
while the user iterates over this batch, the next batch is already requested.

This way, each iteration does not have to wait for the event to be sent from the service.
DO NOT MERGE THIS PR
We also need to support multiple receive operations .
For examples: If user will call the receiveBatch()/receive() after the getAsyncIterator, then they will not get the next event because while the user iterates over the batch, the next batch is already requested with the updated checkpoint.

Closing this PR for now. Will use this PR for this issue https://github.com/azure/azure-sdk-for-js/issues/3308


bug in windows

no body care this???

This isn't necessarily a bug, we've had Windows users before; Windows compilation is just tricky and currently not documented. Feel free to contribute installation instructions if you manage to do it.
Closing as a duplicate of https://github.com/AleoHQ/snarkOS/issues/1620.


State of the art about GP applied to rule systems

To whom it may want to do it

I am afraid this might be a bit too wide. There might be thousands of
papers about it. I'll take a look anyway...

Let's make a survey then :D

I think it's better to make the objectives clear, and also a few initial results, if possible...

There are some papers such as this one http://link.springer.com/article/10.1007/s11257-004-7961-2#/page-1
or this one
http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=1299832&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D1299832
In general, we are talking about "web usage mining" and genetic programming. I would say there is a whole bunch of them. If we're to push this forward, we have to find a way to make it one better.

This one too
http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=5359726&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D5359726
In general, I would say our angle should be that we are looking for a novel application, authorization of usage or not.

I don't agree with the statement that we are talking about "web usage mining", as we may have lots of different events, from opening a web browser to blocking the screen... Why is this web usage mining?

because we are dealing with web logs, are we not? If it's wider, then I'm
wrong, but anyway the initial research on user activity mining was done
with web logs.

The initial research, yes, for this one I wanted to use MUSES data :(

OK. Maybe worth mentioning it, anyway. The general concept is the same: you
have a resource with is identified uniquely and you allow or deny. In the
case of the web it's URL in this case, well, whatever you use to identify
the resource or asset.

We can also mention these if we want to talk in general about GP for rules extraction:

http://www.sciencedirect.com/science/article/pii/S1568494601000242
http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=1004431&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F7875%2F21687%2F01004431
http://link.springer.com/chapter/10.1007%2F3-540-44794-6_26

Hi all, I've been reviewing these two:

http://download.springer.com/static/pdf/887/chp%253A10.1007%252F978-3-642-17432-2_25.pdf?originUrl=http%3A%2F%2Flink.springer.com%2Fchapter%2F10.1007%2F978-3-642-17432-2_25&token2=exp=1461658558~acl=%2Fstatic%2Fpdf%2F887%2Fchp%25253A10.1007%25252F978-3-642-17432-2_25.pdf%3ForiginUrl%3Dhttp%253A%252F%252Flink.springer.com%252Fchapter%252F10.1007%252F978-3-642-17432-2_25*~hmac=a0ab7aa8ee0bff752a53eeb4c9715034175c8e9b3d0a041070123c7d821f4554
http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6029340

(The second it's an extension of the first one)
Basically, my way of calculating the fitness is the worst possibe (yay! wrong again :D I'm aweso......nope), and the best (not always, but mostly) is Wilcoxon-Mann-Whitney which approximates the AUC.
What do you think? Can somebody explain a bit about ROC ans AUC? :(