Unknown kernel shown in jupyter notebook kernel selection part

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Not sure what to do, therefore I came here to ask.
There's an unknown kernel shown in my kernel selection part (as shown in picture), There are no such path (/python) on my Mac and I don't know why and how this kernel is here. I've tried uninstall vscode, clear all cache and then reinstall back the vscode, but the kernel is still here.

Here are the finder of my Mac

I've look through the jupyter logs and try to find the temp file and delete it, but I can't find the path shown in log

I've also tried to reset my Mac to factory settings and delete all files, but it didn't work. What I suspect is when I login my vscode using github account, it somehow store the wrong kernel path there. But I don't know what to do to fix that.
Thanks in advance.
VS Code Version
Version: 1.70.0 (Universal) Commit: da76f93349a72022ca4670c1b84860304616aaa2 Date: 2022-08-04T04:38:55.829Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: <IP_ADDRESS>-electron.0 OS: Darwin arm64 21.5.0
Jupyter Extension Version
v2022.7.1002181843
Jupyter logs
info 15:30:48.144: Starting Jupyter Session id = 'startUsingPythonInterpreter:.jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher' (Python Path: /opt/miniconda3/envs/lecopt, EnvType: Conda, EnvName: 'lecopt', Version: ) for '/Users/yipkwunchuen/Documents/Intern/ml_lecopt_unofficial/pipeline.ipynb' (disableUI=true)
[I 15:30:48.152 NotebookApp] Creating new notebook in
info 15:30:48.159: installMissingDependencies /python, ui.disabled=true for resource '/Users/yipkwunchuen/Documents/Intern/ml_lecopt_unofficial/pipeline.ipynb'
info 15:30:48.161: Process Execution: > /python -c "import ipykernel"
> /python -c "import ipykernel"
warn 15:30:48.163: Error occurred while trying to start the kernel, options.disableUI=true [s [Error]: Kernel lecopt (Python) is not usable. Check the Jupyter output tab for more information.
	at w.ensureKernelIsUsable (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2103904)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async w.createSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2200941)
	at async w.createNewKernelSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2198552)
	at async w.connect (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2197323)
	at async u.startNew (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2205819)
	at async a (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141520)
	at async _.createNotebookInstance (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141683)
	at async _.createNotebook (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2142688)] {
  category: 'noipykernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/temp/jupyter/kernels/pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3/kernel.json',
      interpreterPath: '/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python ('lecopt')",
      metadata: [Object],
      env: {},
      interrupt_mode: undefined
    },
    interpreter: {
      id: '/opt/miniconda3/envs/lecopt',
      sysPrefix: '',
      envType: 'Conda',
      envName: 'lecopt',
      envPath: [w],
      architecture: 1,
      sysVersion: '',
      version: [Object],
      companyDisplayName: 'Anaconda, Inc.',
      displayName: "Python ('lecopt')",
      detailedDisplayName: "Python ('lecopt': conda)",
      uri: [w]
    },
    id: '.jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher'
  },
  reason: 4
}
[W 15:30:48.165 NotebookApp] delete /pipeline-jvsc-2e18ba56-0a14-43b2-aa2e-7ba377c071209471dc47-355f-4fd4-9b31-2b94fa0baeb7.ipynb

Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
conda 4.13.0, miniconda
Running Jupyter locally or remotely?
Local

Thanks for reporting this issue & sorry about the duplicate kernels displayed, please could you:

Open the user settings.json file and add the following in there

"jupyter.logging.level": "verbose",

Reload VS Code
Open a notebook
Confirm the unnecessary kernels are displayed in there
Open the Jupyter output panel using the command palette Jupyter: Show Output
Copy all of the output from the above output panel and upload all  of the contents here.

Please ensure you upload all of the contents, it will contain infomration about where and how the kernels are fetched.

Not sure if I do it correctly for the Jupyter: Show Output part, as when I type it in the command plaette, it saids zsh: command not found: Jupyter:
But I added the "jupyter.logging.level": "verbose", into the setting and here's the log when I try to load the unnecessary kernel on a newly created notebook.
info 12:16:2.203: Attempting to start a server because of preload conditions ...
debug 12:16:2.204: Get Active Interpreter, Class name = k (started execution), Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
debug 12:16:2.204: Get Active Interpreter, Class name = k (started execution), Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
debug 12:16:2.204: Intiailize notebook communications for editor /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb
debug 12:16:2.204: Resolving notebook UI Comms (resolve) for /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb
debug 12:16:2.204: initialize CommonMessageCoordinator
debug 12:16:2.204: IPyWidgetMessageDispatcher.initialize
debug 12:16:2.204: Get Active Interpreter, Class name = k, completed in 0ms, has a truthy return value, Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
debug 12:16:2.204: Get Active Interpreter, Class name = k, completed in 0ms, has a truthy return value, Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
debug 12:16:2.205: Rank Kernels, Class name = y (started execution), Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb", Arg 2: {"orig_nbformat":4,"language_info":{"name":"python"}}, Arg 3: <Uri:/opt/homebrew/bin/python3>, Arg 4: "", Arg 5: "useCache", Arg 6: undefined
debug 12:16:2.205: Get Interpreters, Class name = k (started execution), Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
info 12:16:2.205: Preferred Remote kernel for /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb is undefined
debug 12:16:2.205: Get Interpreters, Class name = k, completed in 0ms, has a truthy return value, Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
debug 12:16:2.205: Get Active Interpreter, Class name = k (started execution), Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
debug 12:16:2.205: Getting Jupyter KernelSpec Root Path, Class name = I, completed in 0ms, has a truthy return value, , Return Value: <Uri:/Users/yipkwunchuen/Library/Jupyter/kernels>
debug 12:16:2.205: Get Active Interpreter, Class name = k, completed in 0ms, has a truthy return value, Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb"
debug 12:16:2.205: Get Jupyter Kernel Paths, Class name = I, completed in 0ms, has a truthy return value, Arg 1: "", Return Value:
debug 12:16:2.206: Get KernelSpec root path, Class name = I, completed in 1ms, has a truthy return value, Arg 1: {"_isCancelled":false,"_emitter":{"_disposed":false,"_listeners":{"_first":{"element":{"subscription":{}},"next":{},"prev":{}},"_last":{"element":{"subscription":{}},"next":{},"prev":{}},"_size":1}}}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/Users/yipkwunchuen/Library/Jupyter/kernels>
debug 12:16:2.206: KernelFinder discovered 4 local and 0 remote kernels
info 12:16:2.206: Preferred Remote kernel for /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb is undefined
info 12:16:2.206: Find preferred kernel for /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb with metadata {"orig_nbformat":4,"language_info":{"name":"python"}} & preferred interpreter /opt/homebrew/bin/python3
debug 12:16:2.207: Rank Kernels, Class name = y, completed in 2ms, has a truthy return value, Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb", Arg 2: {"orig_nbformat":4,"language_info":{"name":"python"}}, Arg 3: <Uri:/opt/homebrew/bin/python3>, Arg 4: "", Arg 5: "useCache", Arg 6: undefined
info 12:16:2.207: Preferred Remote kernel for /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb is undefined
info 12:16:2.207: Preferred kernel .jvsc74a57bd0b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e./opt/homebrew/bin/python3./opt/homebrew/bin/python3.-m#ipykernel_launcher is exact match or top match for non python kernels, (false, [object Object], false, false)
info 12:16:2.207: PreferredConnection: .jvsc74a57bd0b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e./opt/homebrew/bin/python3./opt/homebrew/bin/python3.-m#ipykernel_launcher found for NotebookDocument: /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb
debug 12:16:2.207: TargetController found ID: .jvsc74a57bd0b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e./opt/homebrew/bin/python3./opt/homebrew/bin/python3.-m#ipykernel_launcher for document /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb
debug 12:16:2.321: KernelProvider switched kernel to id = .jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher
debug 12:16:2.321: start the kernel, options.disableUI=true
debug 12:16:2.321: Start Jupyter Session in kernel.ts with disableUI = true
info 12:16:2.321: Starting Jupyter Session id = 'startUsingPythonInterpreter:.jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher' (Python Path: /opt/miniconda3/envs/lecopt, EnvType: Conda, EnvName: 'lecopt', Version: ) for '/Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb' (disableUI=true)
debug 12:16:2.321: Intiailize notebook communications for editor /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb
debug 12:16:2.321: Resolving notebook UI Comms (resolve) for /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb
debug 12:16:2.321: initialize CommonMessageCoordinator
debug 12:16:2.321: Registering commtarget jupyter.widget
debug 12:16:2.321: IPyWidgetMessageDispatcher.initialize
debug 12:16:2.322: Create activated Env, Class name = k (started execution), Arg 1: ""
debug 12:16:2.322: Getting activated env variables, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>, Arg 3: true
debug 12:16:2.322: Getting activated env variables impl, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.322: Getting activated env variables ourselves, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.322: Got activation Env Vars from cached promise with key /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier_25a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3
debug 12:16:2.322: Getting activated env variables from Python, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.322: Get Custom Env Variables, Class name = v (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 12:16:2.322: Cached data exists getEnvironmentVariables, <No Resource>
debug 12:16:2.322: Cached custom vars data exists getCustomEnvironmentVariables, <No Resource>
debug 12:16:2.322: Storing Preferred remote kernel for /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb is undefined
debug 12:16:2.322: Controller selection change completed
debug 12:16:2.322: Get Custom Env Variables, Class name = v, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 12:16:2.323: Getting activated env variables ourselves, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.323: Got env vars ourselves faster /python
debug 12:16:2.323: Got env vars ourselves /python in 1ms
debug 12:16:2.323: Getting activated env variables impl, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.323: Getting activated env variables from Python, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.323: Got env vars with python /python in 1ms
debug 12:16:2.323: Getting activated env variables, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>, Arg 3: true
debug 12:16:2.323: Create activated Env, Class name = k, completed in 1ms, has a truthy return value, Arg 1: ""
info 12:16:2.324: Process Execution: > /python -m pip list
> /python -m pip list
debug 12:16:2.324: createNewKernelSession .jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher
debug 12:16:2.326: Python Daemon (pid: 34553): write to stderr: [I 12:16:02.326 NotebookApp] Creating new notebook in

[I 12:16:02.326 NotebookApp] Creating new notebook in
debug 12:16:2.331: Check if a kernel is usable
info 12:16:2.331: installMissingDependencies /python, ui.disabled=true for resource '/Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier/test.ipynb'
debug 12:16:2.331: Create activated Env, Class name = k (started execution), Arg 1: ""
debug 12:16:2.331: Getting activated env variables, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>, Arg 3: true
debug 12:16:2.331: Getting activated env variables impl, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.331: Getting activated env variables ourselves, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.331: Got activation Env Vars from cached promise with key /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier_25a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3
debug 12:16:2.331: Getting activated env variables from Python, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.331: Get Custom Env Variables, Class name = v (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 12:16:2.331: Cached data exists getEnvironmentVariables, <No Resource>
debug 12:16:2.331: Cached custom vars data exists getCustomEnvironmentVariables, <No Resource>
debug 12:16:2.331: Get Custom Env Variables, Class name = v, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 12:16:2.331: Getting activated env variables ourselves, Class name = r, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.331: Got env vars ourselves faster /python
debug 12:16:2.331: Got env vars ourselves /python in 0ms
debug 12:16:2.331: Getting activated env variables impl, Class name = r, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.332: Getting activated env variables from Python, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>
debug 12:16:2.332: Got env vars with python /python in 1ms
debug 12:16:2.332: Getting activated env variables, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/python>, Arg 3: true
debug 12:16:2.332: Create activated Env, Class name = k, completed in 1ms, has a truthy return value, Arg 1: ""
info 12:16:2.332: Process Execution: > /python -c "import ipykernel"
> /python -c "import ipykernel"
debug 12:16:2.332: Checking if product is installed, Class name = k, completed in 1ms, has a falsy return value, Arg 1: 19, Arg 2: undefined, Return Value: false
debug 12:16:2.332: Are Dependencies Installed, Class name = D, completed in 1ms, has a falsy return value, Arg 1: ".jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher", Arg 2: {"_isCancelled":false,"_emitter":{"_disposed":false,"_listeners":{"_first":{"element":{"subscription":{}},"next":{},"prev":{}},"_last":{"element":{"subscription":{}},"next":{},"prev":{}},"_size":1}}}, Arg 3: true, Return Value: false
debug 12:16:2.332: Install Missing Dependencies, Class name = D, completed in 1ms, has a truthy return value, Arg 1: "~/Documents/Intern/lecopt-document-classifier/test.ipynb", Arg 2: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/temp/jupyter/kernels/pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3/kernel.json","interpreterPath":"/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python ('lecopt')","metadata":{"interpreter":{"path":"/python"}},"env":{}},"interpreter":{"id":"/opt/miniconda3/envs/lecopt","sysPrefix":"","envType":"Conda","envName":"lecopt","envPath":{"$mid":1,"fsPath":"/opt/miniconda3/envs/lecopt","path":"/opt/miniconda3/envs/lecopt","scheme":"file"},"architecture":1,"sysVersion":"","version":{"raw":"","major":-1,"minor":-1,"patch":-1,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python ('lecopt')","detailedDisplayName":"Python ('lecopt': conda)","uri":{"$mid":1,"fsPath":"/python","external":"file:///python","path":"/python","scheme":"file"}},"id":".jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher"}, Arg 3: <argument cannot be serialized for logging>, Arg 4: "", Arg 5: true, Arg 6: false, Return Value: 4
debug 12:16:2.333: Failed to change kernel, re-throwing [s [Error]: Kernel lecopt (Python) is not usable. Check the Jupyter output tab for more information.
	at w.ensureKernelIsUsable (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2103904)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async w.createSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2200941)
	at async w.createNewKernelSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2198552)
	at async w.connect (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2197323)
	at async u.startNew (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2205819)
	at async a (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141520)
	at async _.createNotebookInstance (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141683)
	at async _.createNotebook (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2142688)] {
  category: 'noipykernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/temp/jupyter/kernels/pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3/kernel.json',
      interpreterPath: '/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python ('lecopt')",
      metadata: [Object],
      env: {},
      interrupt_mode: undefined
    },
    interpreter: {
      id: '/opt/miniconda3/envs/lecopt',
      sysPrefix: '',
      envType: 'Conda',
      envName: 'lecopt',
      envPath: [w],
      architecture: 1,
      sysVersion: '',
      version: [Object],
      companyDisplayName: 'Anaconda, Inc.',
      displayName: "Python ('lecopt')",
      detailedDisplayName: "Python ('lecopt': conda)",
      uri: [w]
    },
    id: '.jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher'
  },
  reason: 4
}
debug 12:16:2.333: Shutdown session -- complete
debug 12:16:2.335: failed to create IJupyterKernelConnectionSession in kernel, UI Disabled = true [s [Error]: Kernel lecopt (Python) is not usable. Check the Jupyter output tab for more information.
	at w.ensureKernelIsUsable (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2103904)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async w.createSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2200941)
	at async w.createNewKernelSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2198552)
	at async w.connect (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2197323)
	at async u.startNew (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2205819)
	at async a (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141520)
	at async _.createNotebookInstance (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141683)
	at async _.createNotebook (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2142688)] {
  category: 'noipykernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/temp/jupyter/kernels/pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3/kernel.json',
      interpreterPath: '/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python ('lecopt')",
      metadata: [Object],
      env: {},
      interrupt_mode: undefined
    },
    interpreter: {
      id: '/opt/miniconda3/envs/lecopt',
      sysPrefix: '',
      envType: 'Conda',
      envName: 'lecopt',
      envPath: [w],
      architecture: 1,
      sysVersion: '',
      version: [Object],
      companyDisplayName: 'Anaconda, Inc.',
      displayName: "Python ('lecopt')",
      detailedDisplayName: "Python ('lecopt': conda)",
      uri: [w]
    },
    id: '.jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher'
  },
  reason: 4
}
warn 12:16:2.335: Error occurred while trying to start the kernel, options.disableUI=true [s [Error]: Kernel lecopt (Python) is not usable. Check the Jupyter output tab for more information.
	at w.ensureKernelIsUsable (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2103904)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async w.createSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2200941)
	at async w.createNewKernelSession (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2198552)
	at async w.connect (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2197323)
	at async u.startNew (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2205819)
	at async a (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141520)
	at async _.createNotebookInstance (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2141683)
	at async _.createNotebook (/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/out/extension.node.js:2:2142688)] {
  category: 'noipykernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/Users/yipkwunchuen/.vscode/extensions/ms-toolsai.jupyter-2022.7.1002181843/temp/jupyter/kernels/pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3/kernel.json',
      interpreterPath: '/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'pythonjvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3',
      argv: [Array],
      language: 'python',
      executable: 'python',
      display_name: "Python ('lecopt')",
      metadata: [Object],
      env: {},
      interrupt_mode: undefined
    },
    interpreter: {
      id: '/opt/miniconda3/envs/lecopt',
      sysPrefix: '',
      envType: 'Conda',
      envName: 'lecopt',
      envPath: [w],
      architecture: 1,
      sysVersion: '',
      version: [Object],
      companyDisplayName: 'Anaconda, Inc.',
      displayName: "Python ('lecopt')",
      detailedDisplayName: "Python ('lecopt': conda)",
      uri: [w]
    },
    id: '.jvsc74a57bd025a19fbe0a9132dfb9279d48d161753c6352f8f9478c2e74383d340069b907c3./python./python.-m#ipykernel_launcher'
  },
  reason: 4
}
debug 12:16:2.337: Python Daemon (pid: 34553): write to stderr: [W 12:16:02.337 NotebookApp] delete /test-jvsc-1326eb21-19b0-44a2-abeb-18f3365e70ca060c4645-973a-4115-bb91-e438123add6e.ipynb

[W 12:16:02.337 NotebookApp] delete /test-jvsc-1326eb21-19b0-44a2-abeb-18f3365e70ca060c4645-973a-4115-bb91-e438123add6e.ipynb
debug 12:16:2.530: IPyWidgetMessageDispatcher.initialize
debug 12:16:2.704: Create daemon, Class name = k (started execution), Arg 1: {"daemonModule":"vscode_datascience_helpers.jupyter_daemon","interpreter":{"id":"/usr/bin/python3","sysPrefix":"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8","envType":"Global","envName":"","architecture":3,"sysVersion":"3.8.9 (default, Apr 13 2022, 08:48:06) \n[Clang 13.1.6 (clang-13<IP_ADDRESS>.5)]","version":{"raw":"3.8.9","major":3,"minor":8,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.9 64-bit","detailedDisplayName":"Python 3.8.9 64-bit","uri":{"$mid":1,"fsPath":"/usr/bin/python3","external":"file:///usr/bin/python3","path":"/usr/bin/python3","scheme":"file"}}}
debug 12:16:2.704: Get Interpreter details, Class name = k (started execution), Arg 1: "/usr/bin/python3"
debug 12:16:2.704: Get Interpreter details, Class name = k, completed in 0ms, has a truthy return value, Arg 1: "/usr/bin/python3"
debug 12:16:2.704: Create activated Env, Class name = k (started execution), Arg 1: ""
debug 12:16:2.704: Getting activated env variables, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>, Arg 3: true
debug 12:16:2.704: Getting activated env variables impl, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>
debug 12:16:2.704: Getting activated env variables ourselves, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>
debug 12:16:2.704: Got activation Env Vars from cached promise with key /Users/yipkwunchuen/Documents/Intern/lecopt-document-classifier_31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6
debug 12:16:2.704: Getting activated env variables from Python, Class name = r (started execution), Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>
debug 12:16:2.704: Get Custom Env Variables, Class name = v (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
debug 12:16:2.704: Cached data exists getEnvironmentVariables, <No Resource>
debug 12:16:2.704: Cached custom vars data exists getCustomEnvironmentVariables, <No Resource>
debug 12:16:2.704: Get Custom Env Variables, Class name = v, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
debug 12:16:2.705: Getting activated env variables ourselves, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>
debug 12:16:2.705: Create daemon, Class name = k, completed in 1ms, has a truthy return value, Arg 1: {"daemonModule":"vscode_datascience_helpers.jupyter_daemon","interpreter":{"id":"/usr/bin/python3","sysPrefix":"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8","envType":"Global","envName":"","architecture":3,"sysVersion":"3.8.9 (default, Apr 13 2022, 08:48:06) \n[Clang 13.1.6 (clang-13<IP_ADDRESS>.5)]","version":{"raw":"3.8.9","major":3,"minor":8,"patch":9,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.8.9 64-bit","detailedDisplayName":"Python 3.8.9 64-bit","uri":{"$mid":1,"fsPath":"/usr/bin/python3","external":"file:///usr/bin/python3","path":"/usr/bin/python3","scheme":"file"}}}
debug 12:16:2.705: Got env vars ourselves faster /usr/bin/python3
debug 12:16:2.705: Got env vars ourselves /usr/bin/python3 in 1ms
debug 12:16:2.705: Getting activated env variables impl, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>
debug 12:16:2.705: Getting activated env variables, Class name = r, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>, Arg 3: true
debug 12:16:2.705: Create activated Env, Class name = k, completed in 1ms, has a truthy return value, Arg 1: ""
debug 12:16:2.712: Getting activated env variables from Python, Class name = r, completed in 8ms, has a falsy return value, Arg 1: undefined, Arg 2: <Uri:/usr/bin/python3>
debug 12:16:2.712: Got env vars with python /usr/bin/python3 in 8ms

Sorry if I did anything wrong, I've make sure I clear all output log first and open a new notebook. Thanks in advance.

Thanks, let me check this info and get back to you.

Assigning to myself as this isn't a UI issue, basically the kernels are listed based on what's returned from the Python API or kernel discovery, which is an area i own.

Following this issue because I have it as well

@jzuhone @ptoyip
Please could you

Install VS Code insiders

Then install the pre-release version of the Jupyter extension (2022.8.xxxx)

Enable Verbose Logging in the Jupyter extesnsion as follows

Reload VS Code after the above change

Replicate the above issue (wait till you see the duplicate environments), please wait for at least 1 minute

Select the command Jupyter: Show Output from the command palette

Copy all of the output from there and upload that here.
Please note, i'll need all of the output as that shows the interpreters discovered and what is listed in the kernel picker.

Sorry for the late reply.
I've follow the same procedure you said, but wired things happened. In the new VS Code insiders, I can't find the same issue happened. But in VS code, the same kernel still showed
kernel selection in VS Code Insider:

Kernel selection in VS Code:

Even when I sync VS Code Insider using my GitHub account, I still can't replicate the issue in Insider. I've switch the jupyter in my VS Code to pre-release and the issue still exist. Should I just reinstall the whole VS Code?

@ptoyip

re-release and the issue still exist. Should I just reinstall the whole VS Code?

Do you have the same version of Python extension installed on both insiders and stable. i suspect you do not.

Do you mean the python extension shown in the first picture? I've tried to switch to release version and pre-release for both applications, but the problem still exist.

Guys, I somehow fixed the problem.
Today I was trying to create another virtual environment for study purpose, I've try to use conda create --name XXX as usual, and the same bug happens again.
What I did is to

get into the vscode setting(UI)
delete the python extension: default interpreter path
sync it
reset setting

After couples of attempts, the problem are not fixed and no wired path exist now for my new environment and the environment I use during intern. (I think maybe the sync clears all wrong path cache in my account/ local machine)
Anyway, thanks for everyone's help.


Minecraft crashes when loading into the game finishes

not when loading into a world, but into the game. i have not enough crashes and it says indium makes the game crash. when i remove it the game works fine but things dont render in applied energistics for example

Please send the full crash report, ideally also the latest.log file; otherwise I have no way of diagnosing the issue.

Closing: insufficient information provided, unable to replicate issue


_async_get_candle_history() returned exception

Hi,
I tried to use the latest binance-proxy and the recommended config with freqtrade 2022.5.1, but freqtrade fail to start with the following error:
freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "Could not fetch historical candle (OHLCV) data for pair TLM/BUSD due to RequestTimeout. Message: binance GET http://<IP_ADDRESS>:8090/api/v3/klines?interval=1d&limit=1000&symbol=TLMBUSD&startTime=1655856000000". Retrying still for 4 times.
Without connecting binance-proxy, it works successfully.

i am getting the same error, but if you wait binance will respond and everything will be fine.
Just wait 👍🏼

Hi, I tried to use the latest binance-proxy and the recommended config with freqtrade 2022.5.1, but freqtrade fail to start with the following error: freqtrade.exchange.common - WARNING - _async_get_candle_history() returned exception: "Could not fetch historical candle (OHLCV) data for pair TLM/BUSD due to RequestTimeout. Message: binance GET http://<IP_ADDRESS>:8090/api/v3/klines?interval=1d&limit=1000&symbol=TLMBUSD&startTime=1655856000000". Retrying still for 4 times. Without connecting binance-proxy, it works successfully.

kline needs to rely on api data for initialization. And due to the limit and wait the first websocket push data, there may be a certain delay. About a few seconds.
So wait a while and it will be normal


Fix install docs

Current install instructions don't work with the latest version (see https://github.com/webdriverio/webdriverio/issues/9869#issuecomment-1674985000 for discussion and fix).

Actually I made this change already some time ago 😉


Don't allow es6-promise pollute window in client scripts (close #78)

Fix is the same like in hammerhead
\cc @inikulin @AlexanderMoskovkin

lgtm

lgtm

@inikulin As I see, the pr description contains the close # directive, but the commit name doesn't. It works correctly, the issue will be closed when the pr merged. But should we always add the close # directive to commits descriptions or is the directive in a pr title enough?

@AlexanderMoskovkin I'd rather keep both. But if you are asking it context of the bot "release" functionality, I'd stick with the PR's directive since it's may contain multiple commits.

So the rule is: always use both

ok
so, @helen-dikareva , please add the close directive to the commit name
/r-

Rename is done. Please merge.

lgtm


BUG: Can't connect to Spark thrift server

The docker image does not connect properly to the Spark thrift server when the Spark thrift connection method is selected.
Error message:
root@a6a2937bc236:/github/workspace# dbt debug --profiles-dir profile
10:08:55  Running with dbt=1.1.0
dbt version: 1.1.0
python version: 3.9.9
python path: /usr/local/bin/python
os info: Linux-5.4.172-90.336.amzn2.x86_64-x86_64-with-glibc2.31
Using profiles.yml file at /github/workspace/profile/profiles.yml
Using dbt_project.yml file at /github/workspace/dbt_project.yml

Configuration:
  profiles.yml file [OK found and valid]
  dbt_project.yml file [OK found and valid]

Required dependencies:
 - git [OK found]

Connection:
  host: your-host
  port: 10001
  cluster: None
  endpoint: None
  schema: ethereum
  organization: 0
  Connection test: [ERROR]

1 check failed:
dbt was unable to connect to the specified database.
The database returned the following error:

  >Runtime Error
  Database Error
    failed to connect

Check your database credentials and try again. For more information, visit:
https://docs.getdbt.com/docs/configure-your-profile

ref：Can't connect to unsecured hive. SASL error: TTransportException: Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2 · Issue #161 · dropbox/PyHive (github.com)
How to resolve it:
$ apt-get install -y libsasl2-modules

Hi! To solve this issue, i need to install apt install libsasl2-modules-gssapi-mit too.


Have the miri cronjob link to the failed run.

Also explain what needs to be done to resolve the failing CI.

Ah, neat!
@bors r+

:pushpin: Commit 37aba38bde6573efe60acfa20dbbaebb3e7837a2 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 37aba38bde6573efe60acfa20dbbaebb3e7837a2 with merge 71a20957430f24334cc9b3ac7689fdba5a6f1291...

:broken_heart: Test failed - checks-actions

:hourglass: Testing commit 37aba38bde6573efe60acfa20dbbaebb3e7837a2 with merge d463ed78aada9952f2ef0fb73d4aa3081a60d79d...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing d463ed78aada9952f2ef0fb73d4aa3081a60d79d to master...


Device Permissions

[ ] Microphone
[ ] Location
[ ] How to link them between settings of the phone to settings of the app

Use location tested: https://github.com/FUKA-INNOVATIONS/iOS---LocationGuru

Microphone tested.
Demo: https://drive.google.com/file/d/1PE34xvVUQdOJe5R9Jt-kRLzQrzTyELgG/view?usp=sharing
In the test, user voice is recorded and audio files are stored in device.
For the project, we will store it in could storage and users can listen to audio files within the app
Repo: https://github.com/FUKA-INNOVATIONS/iOS-MicrophoneGuru


CSS font-variant-alternates: Add Chromium support bug & fix caniuse link

Inspired by https://twitter.com/jensimmons/status/1590025285168074753 I looked at https://caniuse.com/font-variant-alternates and Chromium, found https://bugs.chromium.org/p/chromium/issues/detail?id=716567.

Thanks!


Add base statistics item for percent of genome annotated

AI: create stats for % genome annotated
AI: use tracker to submit feedback
AI from Geneva meeting

I'm not sure what that second action item is. If it is a separate issue, it should be separated.

Percent relative to what? How should that number be generated, or is it coming from some other resource?

Hi Seth - this stems from the discussion and AIs recorded at the Geneva meeting. @thomaspd indicated he would talk with you about how to compute stats for display in AmiGO.


When Goes back to Home page text lost space between words

HI there
Finally built an awesome transition with but got a weird issue is that whenever I go back to index/ home page animation gets quite jumpy and text loses it space between words on this whole page. This does not happen on other pages.
I checked it on local and live server and results are same.
Attached for your reference.
I am using component approach as explained in the demo of this framework. I spent my whole day on this figuring out but could not do that.
Do you have any idea why is this happening and how this can be solved. I am stuck on this.

Regards,
Shehzad Asif

Have you ever figured out the problem?

Yes. It was on my end.
On Fri, 3 Jun 2022, 10:36 pm Philipp Daun, @.***> wrote:

Have you ever figured out the problem?
—
Reply to this email directly, view it on GitHub
https://github.com/swup/swup-gia-demo/issues/6#issuecomment-1146207160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APQYRBQHA2FGSQLVYK7PF3LVNI7BJANCNFSM4Z6OD76Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

👍


Create migration flow UI

Migration workflow from old gauge to new gauge

Whenever a user has a balance in a gauge that is not the "primary" gauge, it should trigger the flow


Minor usability improvements

Display stack trace for ycmd errors only in developer mode
Enable lint during edit based on a config flag

thank you!


Basic functionality for loading introspection type support libraries

Given a topic type in the form of a string like "geometry_msgs/msg/Pose", this will

Parse the string into the package name "geometry_msgs" and the message name "Pose" (see the MessageTypeName type)
Search the ament index for the prefix of the "geometry_msgs" package. In the prefix, the introspection type support library will be in lib/libgeometry_msgs__rosidl_typesupport_introspection_c.so (via the ament_rs crate)
Load that library using libloading (see get_type_support_library())
Extract the symbol corresponding to the "Pose" type from that library (see get_type_support_handle())

This commit intentionally leaves out an important part of the DynamicMessageMetadata type: The representation of the message structure. This will follow in another commit.

@nnmm have you looked into https://github.com/PlotJuggler/plotjuggler-ros-plugins/tree/development/plugins/ros2_introspection? This may solve a similar problem and/or serve as inspiration.

@esteve Thanks for the link, I didn't know that one yet. I think my branch already covers the functionality from that package and more.

Thank you very much @jhdcs!
@esteve, do you have any further comments? Otherwise I'll go ahead and merge this.

@jhdcs Could you reapprove? I had to rebase onto main.

Thank you!


Add a reminder feature

Desp: The feature must be such that the user must be able to set events which directly get updated in the pc's calender.
Eg: If the user types in "Farewell Party on 23/7/18 (some date format) at 6pm" it needs to directly upatde as an event on the calender

Can I work on this issue @the-ethan-hunt ?

I am working on adding event on the Google Calendar, @CodHeK @the-ethan-hunt, and so it will also remind the user on that particular day.

Alright @hmangukia .

Please review the PR and let me know if any changes need to be made 😄

@the-ethan-hunt Since PR #122 is merged, we can close this now.


How to use inertia for Laravel app which is hosted under sub url

Hello. I'm trying to host Laravel app behind reverse proxy using Nginx.
The routes are working as expected within Laravel routes itself but when I make inertia response, the url is changed.
For example, Let's say there is domain 'my.test' and I wanna host Laravel app under 'my.test/app1'.
nginx.conf
server {
  listen 80;
  listen [::]:80;
  server_name my.test;

  location /app1/ {
    proxy_set_header X-Forwarded-Prefix /app1;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
    proxy_set_header X-Forwarded-Host my.test;
    proxy_set_header X-Forwarded-Port 443;
    proxy_pass http://<IP_ADDRESS>:8000/;
   }
}

routes/web.php
Route::get('/', function () {
    return view('welcome');
});

Route::get('/test',function(\Illuminate\Http\Request $request){
   return \Inertia\Inertia::render('test'); // test is vue component.
});

When I access the url http://my.test/app1/, the welcome page is returned under http://my.test/app1/.
But when I access the url http://my.test/app1/test, the vue component named test is returned but only under http://my.test/test. I wanna have it under http://my.test/app1/test.
How can I achieve such behavior?
My app dependencies are

Laravel Version : ^9.0
Vue : ^2.6
inertiajs/inertia-laravel: ^0.5.4
@inertiajs/inertia: ^0.11.0,
@inertiajs/inertia-vue: ^0.8.0,

Hi @w99910 I don't think is related to inertia, but more how Laravel Routing is working.
What is you APP_URL value in .env or in (config/app.php) should be: http://my.test/app1

I have prob as well when setting Laravel 10 under sub url as such domain.com/mylaravel
but when I open the application it will get redirected to domain.com/mylaravel/mylaravel
it happens when the controller return the view using Inertia::render, but no when using regular blade view
Laravel 10, Vue: 3, Inertia, Vite (basically it happens on fresh installation of Laravel 10 on Linux Ubuntu 22.04 and suing apache 2.4.x+

@seth-setiadha I have figured out a workaround for the time being. I extended the Inertia\Response class mainly and custom Render class instead of \Inertia\Inertia::render(). The following is the code FYI.
<?php

use Illuminate\Http\JsonResponse;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Response as ResponseFactory;
use Inertia\LazyProp;
use Inertia\Response as BaseResponse;

class Response extends BaseResponse
{
    protected ?string $rootUrl = null;

    public function setRootUrl(string $url): static
    {
        $this->rootUrl = $url;
        return $this;
    }

    public function toResponse($request): \Illuminate\Http\Response|JsonResponse|\Symfony\Component\HttpFoundation\Response
    {
        $only = array_filter(explode(',', $request->header('X-Inertia-Partial-Data', '')));

        $props = ($only && $request->header('X-Inertia-Partial-Component') === $this->component)
            ? Arr::only($this->props, $only)
            : array_filter($this->props, static function ($prop) {
                return !($prop instanceof LazyProp);
            });

        $props = $this->resolvePropertyInstances($props, $request);

        $page = [
            'component' => $this->component,
            'props' => $props,
            'url' => ($this->rootUrl ?? $request->getBaseUrl()) . $request->getRequestUri(),
            'version' => $this->version,
        ];

        if ($request->header('X-Inertia')) {
            return new JsonResponse($page, 200, ['X-Inertia' => 'true']);
        }

        return ResponseFactory::view($this->rootView, $this->viewData + ['page' => $page]);
    }
}

<?php

use Illuminate\Contracts\Support\Arrayable;
use Inertia\ResponseFactory;

class Render extends ResponseFactory
{
    public function render(string $component, $props = []): Response
    {
        if ($props instanceof Arrayable) {
            $props = $props->toArray();
        }

        $response = new Response(
            $component,
            array_merge($this->sharedProps, $props),
            $this->rootView,
            $this->getVersion()
        );

        $response->setRootUrl(config('app.url'));

        return $response;
    }
}


Feature:  Want to create Faq's page

Is your feature request related to a problem? Please describe.
Sir i am thinking of creating the FAQ's page similar to the gssoc website

Naah we will skip it will add in explore section

@sanjay-kv sir so should i add these accordions below explore section

No

Ok sir so i am leaving this for now


feature support variadic template type in SQL function

Proposed changes
In pr #17344, we already support template type in SQL function.
e.g.
[['map_keys'], 'ARRAY<K>', ['MAP<K, V>'], '', ['K', 'V']]

Then it raises a new issue, as some functions require variable length template types.
e.g.
[['struct'], 'STRUCT<T1, T2, T3, T4....>', ['T1', 'T2', 'T3', 'T4', '....'], '', ['T1', 'T2', 'T3', 'T4', '....']]

Inspired by c++ function std::vector::emplace_back(), we can use variadic template for this issue.
e.g.
[['struct'], 'STRUCT<TYPES>', ['TYPES'], 'ALWAYS_NOT_NULLABLE', ['TYPES...']]

...TYPES in template_types defines a variadic template TYPE.  Then the variadic template will be expanded to multiple normal templates based on actual input arguments at runtime in FE.
But make sure TYPES... is placed on the last position in all template type arguments.
BTW, the origin template function logic is not affected.
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run p0


Migrate rest of the functional spec out of Pages/Word into Wiki

Prototype with dependencies are great. Next step is to gradually move the functional specs out of Pages and Word document so we no longer have to deal with those.

Need documentation of "How to edit functional spec" so we don't break it.

Will be added to the June 1 Design planning meeting.


Replace anti-affinity with topology spread

Is there a related GitHub Issue?

What is this change about?
This PR replaces the anti-affinity setting (used in the statefulset-runner) with the newer pod topology spread constraint to distribute workloads.
Does this PR introduce a breaking change?

Acceptance Steps

Tag your pair, your PM, and/or team

Thanks @modulo11
Apologies for taking forever to merge


[NO QA] Fix formatting for ease of reading

Details
We updated Contributing.md here, but didn't notice this piece of text was  buried within a "note" - now this looks better
Fixed Issues
N/A

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

🚀 Deployed to staging by @madmax330 in version: 1.1.30-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @chiragsalian in version: 1.1.31-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Updated Images.xcasset searching

this pull requests allow to search throu all project hirerachy, until Images.xcasset will be found.
There's no need to put Images.xcassets in the root library.
Added error handling, so now user will see which step failed.

Released 2.0


Point wallet to relevant exchanges for fx pairs

 Electrum Wallet

Traceback (most recent call last):
  File "/Users/michaelpetch/cb-client-wallet/electrum/gui/qt/main_window.py", line 226, in on_fx_quotes
    edit = self.fiat_send_e if self.fiat_send_e.is_last_edited else self.amount_e
AttributeError: 'AmountEdit' object has no attribute 'is_last_edited'

Bug when you chose an fx pair


ci: test Node.js 6, 8, 10 and 11

Currently Node.js 6, 8 and 10 are active LTS branches and 11 is current stable.
We should test on all of these.
See https://github.com/nodejs/Release/blob/master/README.md

Coverage remained the same at 96.399% when pulling f81f6c220deb2dead281acabdf0bfc74f2467516 on DanielRuf:ci/test-nodejs-6-8-10-11 into 7d2f3086f7fcf720125cce55d0f5a6b01da95acd on mweststrate:master.


Tasking Manager staigng banner says "Welcome to the API"

At https://tasks-staging.openhistoricalmap.org/ we have an alert banner at the top that just says "Welcome to the API"

Our backend is returning that string for this:
https://tm-api.staging.openhistoricalmap.org/api/v4/system/banner/
Compare to the OSM version that returns blank:
https://tasking-manager-tm4-production-api.hotosm.org/api/v2/system/banner/

Seems it is going to be better to set banner to visible=false. https://tm-api.staging.openhistoricalmap.org/api/v4/system/banner/

This is been fixed, closing here!!


Closes #3 Fixed Issue with curly brackets not working correctly in some cases

Fixed Issue with curly brackets not working correctly in some cases
Small refactoring applied

please rebase


HOW TO customize the gui window title?

Hi!
Operating System: Windows 8.1
Python version: Python 3.7.4
guietta Port and Version: guietta 0.3.8
Code or partial code causing the problem:

How do I customize the window's title? Is there a way to do it without installing PyQt?
How do I make row spacing smaller so as not to occupy twice the window space needed?

Thank you.

Hello,
for the title, it's not very evident in the documentation but the main Gui class has a "title" keyword that can be used to set the window title. Have a look at the "progress_bar_title" example.
For the row spacing, guietta uses a QGridLayout, which has some methods to customize the spacing. You can try the setVerticaSpacing() method:
gui.layout().setVerticalSpacing(0)
more info here: https://doc.qt.io/qt-5/qgridlayout.html

Nice, perfect, it's working, many thanks!


kubernetes pods

Hi, thanks for your plugin, it works great. I have a kubernetes deployment and some provisioned dashboards in Grafana.
I'm facing an issue, when I deploy my solution to kubernetes, all the pods get the same IP, different port, in one pod I have an NGINX that I use to share the html that I load in your plugin http://localhost/camera1.html, the pod is called nginx, I cannot use this html from your plugin unless I put the IP of the server, I mean that http://localhost/camera1.html doesn't works (I suppose it looks in the localhost in the desktop of the person is using grafana and not localhost of the pod..), and http://nginx/camera1.html neither works, so I have to use http://101.xx.xx.22/camera1.html for example
do you have some tip for me?
Regards.

Hi,
Thanks for your issue. I understand your problem. I am afraid the solution is beyond this plugin. This plugin is a frontend plugin which means it runs in the browser. As a result it cannot access any backend resource. A possible solution I'd suggest is to make sure that the NGINX instance can be accessed from the browser which runs grafana. You might consider to put the NGINX behind a load balancer and associate an IP address or a DNS name to the load balancer.
Kind Regards,
Ron

Hi Ron,
I understand the situation, I thought that it will be that way because as you said, the plugin runs in the browser. I will try a workaround to get the NGINX IP in the first run of the POD, via a shell script, and modify the dashboards accordingly, the IPs only change when the solution is deployed, they don't change until a new deployment.
Anyway thanks for your work.
Regards.


Messed up styling

I have followed installation but I am getting messing up when implement to my component

<v-layout column="true">
    <ds-calendar-app :calendar="calendar"></ds-calendar-app>
</v-layout>

this is dependencies what i used
"dependencies": {
"axios": "^0.18.0",
"dayspan-vuetify": "^0.3.6",
"eslint-config-standard": "^12.0.0",
"vue": "^2.5.17",
"vue-notification": "^1.3.13",
"vue-router": "^3.0.1",
"vue-sweetalert2": "^1.5.9",
"vuetify": "^1.3.0",
"vuex": "^3.0.1"
},

If you include the component on your own page, is possible that the height in attribute aside, nav and main as 100% and you need to set a min-height to fix this.

I have exactly the same problem trying to integrate this package into my existing app...


r3nzskins is not working

ı m pressin insert but its not openning

Me too.It didn't react when it got into the game

yes the same

read the issue x86 Deprecation #379


Export binaries

Because we are using external content, exporting from Fedora will only get us metadata and URLs pointing at the content files.  One option is to update the export utility to export binaries instead of just pointers for external content (see https://jira.duraspace.org/browse/FCREPO-2382).

I have a PR in to add an option to the export utility to retrieve and export external content:  https://github.com/fcrepo4-labs/fcrepo-import-export/pull/74

:+1:


Type not found : SScript

Describe your problem here.
i dont know whats going on
but everytime i try to compile it gives me that
Are you modding a build from source or with Lua?
Source
What is your build target?
Mac
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Anymore info that could help?

Try setting the version of SScript to 7.7.0
idk how to do it on Mac but it might be the same
haxelib set SScript 7.7.0


[DATA] redistribute conll2004

Description
host conll2004 by ourselves
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[x] redistribute conll2004

Comments

resolves #718

Job PR-719/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-719/3/index.html


chore(cli) remove deprecated compile CLI tool

@p0pr0ck5 Will you take care of updating this before our upcoming 0.12 release?

Yep, on my radar :+1:

@thibaultcha have a gander now? Think I got the appropriate stuff now.

@p0pr0ck5 Mind updating the reference to this feature in the kong.conf.default file as well?
https://github.com/Kong/kong/blob/master/kong.conf.default#L7

@thibaultcha nice :eyes:, done!

Awesome, thanks!


Limit account names to 12 chars rather than 13.

This enables some bits to be used for scopes that cannot have conflicts with account names.

Related PR is #1774

ATC:
add unit tests which test:

No name should be longer than 12 characters
If the creator is privileged, the newly created account name is allowed to have "eosio."prefix
If the creator is not privileged, the newly created account name should not have "eosio." prefix

Test for the 3rd ATC fails, this is the unit test https://github.com/EOSIO/eos/blob/1710-QA/tests/chain_tests/auth_tests.cpp

PR https://github.com/EOSIO/eos/pull/1912 added to handle 3rd ATC


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 2926 ms

Resolved: Bofrost.be performance has improved in 0a4705d.


Add @matheuscscp to core maintainers

In my new position I can dedicate a lot of time to Flux development and my personal goal is to make the question "what GitOps tool should I choose for my Kubernetes cluster?" as trivial as it for me to everybody else in the world :)

I just went through our process doc on this and there's a couple of things to take into account:

[x] mention all maintainers: @relu @hiddeco @makkes @pjbgf @aryan9600 @souleb @stefanprodan @darkowlzz
[ ] Have maintainers submit their vote by +1

+1

Approving the PR is the same as commenting with +1. But yes we need two more!

+1

+1 from me!

We have unanimity, thanks everyone and a big welcome to Matheus 🎉

:pray: :raised_hands: :sob: :rocket:


Add documentation for notebooks image update process

Resolves: https://github.com/opendatahub-io/notebooks/issues/59
Description
Added documentation for notebooks image update process

[X] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has manually tested the changes and verified that the changes work

/test notebooks-e2e-tests

/approve


Prevent user to drop its "edit permissions" permission if last remaining member of the organization

If the last remaining member of an organization was able to remove its own right to modify members' permissions. Then nobody will be able to set permissions anylonger in this organization, if more members come in the future.

Fixed by https://github.com/pytition/Pytition/commit/9805feef9aa31ec79438cf888984c8a81a9e3b29


Henkaku does not support more than 2 plugins enabled at the same time.

Already confirmed here: https://www.reddit.com/r/vitahacks/comments/68rjom/trying_to_find_out_why_enabling_multiple_plugins/ , on twitter and by myself that games (no matter whether it is mai/vitamin/legit game) won't go past splash screen (in case of 3 plugins enabled) or will crash(in case of 4 or more plugins enabled - I haven't check this part myself since 3 plugins at once are already not working).
To be sure I checked if games work with only 2 plugins enabled (in any pairing) and they do, so It certainly is an issue with 3 or more plugins enabled at once.
Also it seems this issue is even worse in case of adrenaline v4, it gives black screen if (in my case) any additional plugin (tried trackplug and then vitabattery) is added. I thought it might be adrenaline's compatibility with tai plugins issue, but after all it might be related to this one.
It is easy to reproduce this issue - just add 3 or 4 plugins under *ALL (probably 3/4 plugins under certain ID will give the same result) and run the game with all 3/4 plugins enabled.
If that matters in my case the plugins are: vitabattery, oclock and trackplug.

To confirm, you have tried all combinations of enabling just two plugins and that works?

Also is this a recent issue? (Did this work fine before the recent update?)

Memory for pspemu is limited, that's why you can't have additional plugins running with Adrenaline.

@TheRadziu can you test the latest henkaku and see if this is still an issue?

It works for me now with 4 plugins enabled. (5 to be honest, but freescreenshots seems not to be working, but I have a feeling that is an issue with plugin itself rather than henkaku).
Thanks for the fix!


Java draft packs should be called java-maven and java-gradle

Reference https://github.com/Azure/draft/tree/master/packs

Because of how the liguist -> pack translation works this won't be as easy as git mv. Linguist detects Maven apps as "Maven POM", hence the pack name.
Any particular reason other than for vanity cases?

OK, but will people be looking for maven pom apps in search, or Java maven, or... what do we think? Do we think linguist always uses the right human words?

I'm partial to keeping all gradle apps detected by Draft as shown as

--> Draft detected the primary language as Gradle with 90.157480% certainty.

Rather than

--> Draft detected the primary language as java-gradle with 90.157480% certainty.

However, I have introduced language aliases in #290 which should solve the "Maven POM" language pack naming issue.

@selvasingh, what do you think you would like to see, given that we're using a language detection tool that ejects specific names already? I think it's weird that the language is detected as gradle, which is not a language, really. Not a high pri issue, but something for us to think about.


Detecting an uplight when one does not exist

Describe The Bug:
As the title says. My fan has a downlight but no uplight, and the plugin is detecting both. Sort of the opposite problem of #28.
To Reproduce:
This is a Haiku Gen 4 with a downlight and no uplight.
Reading #28, I attempted to set uplightEquipped to false, but this does not appear to do anything. It still detects the uplight in the homebridge logs and still presents the false switch in Homekit.
Expected behavior:
No uplight switch for fans that do not have one. At least an option to disable it.
Logs:
[09/10/2023, 12:46:44] [BigAssFans-i6] Main Room Fan - uplight detected

Plugin Config:
        {
            "fans": [
                {
                    "name": "Main Room Fan",
                    "ip": "<IP_ADDRESS>",
                    "mac": "ab:cd:ef:12:34:56",
                    "fanModel": "Haiku H/I Series",
                    "showWhooshSwitch": false,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": false,
                    "disableDirectionControl": true,
                    "uplightEquipped": false
                }
            ],
            "platform": "BigAssFans-i6"
        }

Screenshots:
N/A
Environment:

Plugin Version: 0.5.4
Homebridge Version: 1.6.1
Node.js Version: 16.14.0
NPM Version:
Operating System: Raspbian

Hello.  Could you try<EMAIL_ADDRESS>

I installed beta6 and it seems to fix the issue. When is 0.6.0 coming out of beta?

When is 0.6.0 coming out of beta?

I don't know.  I tend to drag my feet when it comes to making something a "release".  Before I make a 0.6.0 I think I'd want to remove the post-beta4 hacks as I don't know if they work and have no way to test them myself.
Would having a 0.6.0 be useful to you or were you asking out of curiosity?

Would having a 0.6.0 be useful to you or were you asking out of curiosity?

It's just a psychological thing -- I'd prefer not to run a beta plugin.

Okay.  We'll leave this issue open until 0.6.0 is pushed out?

I can close now; I appreciate the help!


Drop down menu for portal not present in Linux

Drop down menu not present
When using the portal, no drop down menu is present.
When pressing e, it open the box to rename the current portal, but no drop down menu
I am running the Linux cleint of Valheim.
BepInEx is installled (<IP_ADDRESS>)
Other mods are working properly
Screenshots

Game version and environment
Game client version (found in the bottom right of the Valheim main menu
v 0.147.3
After reproducing the issue, please attach the BepInEx game log from Valheim/BepInEx/LogOutput.log
[Error  : Unity Log] AnyPortal: Tried to access the AssetBundle before loading it!
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
AnyPortal.AnyPortal+PortalInteractPatch.Postfix (TeleportWorld __instance, ZNetView& ___m_nview, System.Boolean& __result) (at :0)
(wrapper dynamic-method) TeleportWorld.DMDTeleportWorld::Interact(TeleportWorld,Humanoid,bool)
(wrapper dynamic-method) Player.DMDPlayer::Interact(Player,UnityEngine.GameObject,bool)
(wrapper dynamic-method) Player.DMDPlayer::Update(Player)
Does the issue occur in single-player or multiplayer? You can also check "Both" if you've reproduced the issue in both game modes

[] Single-player
[X ] Multiplayer
[ ] Both

If the issue occurs in multiplayer, is the server a "local" server started through the in-game menu, or is it a headless server (like installing the "Valheim Dedicated Server" in Steam or using a server hosting service)

[] N/A
[ ] In-game server
[X] Headless server

If you are using a headless server, please reproduce the issue and then attach the BepInEx game log from ValheimServer/BepInEx/LogOutput.log
If you are using a headless server, is it being hosted on a  Windows machine or a Linux machine?

[ ] Windows
[ ] Linux

Hmm. I didn't know there was a Linux release for the game client. I can build a version that supports Linux if you want to beta test? I don't feel like setting up a VM

Yes, Valheim as a native Linux Client.
BepInEx as Linux support.
And mosty mod works well, like the one for the extra amor slot, the Potion slot, Share map, Auto gardening, smart container, etc etc.
Only issue I have is with Auto Portal.
my friend all have this one, and now I am kinda stuck if it does'nt work on linux (as now, the is not fix portal linked)
Yes I am ready to test it, and provide feedback and logs as needed.

I have the same issue. Is this related to the forum comment about broken drop down menu https://forums.nexusmods.com/index.php?/topic/9704258-anyportal/page-9#entry92171248 ?

Fixed in v2.0.0


Add Smuggle operator

Signed-off-by: Maxime Soulé<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 85

113 of 113 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 98.996%

Totals

Change from base Build 81:
0.03%

Covered Lines:
3450

Relevant Lines:
3485

💛  - Coveralls


Add the new Dale-Chall readability formula

Need to add the new Dale-Chall formula. Not sure what to call the method. Seems silly to call it new_dale_chall_readability_score(). 🤔
Details here: http://www.readabilityformulas.com/new-dale-chall-readability-formula.php

Compute the following equation:

Raw Score = 0.1579 * (PDW) + 0.0496 * ASL
Raw Score = Reading Grade of a reader who can comprehend your text at 3rd grade or below.
PDW = Percentage of Difficult Words
ASL = Average Sentence Length in words
If (PDW) is greater than 5%, then:

Adjusted Score = Raw Score + 3.6365,

otherwise

Adjusted Score = Raw Score

Adjusted Score = Reading Grade of a reader who can comprehend your text at 4th grade or above.
Use the following table to get the Adjusted Grade Level:

ADJUSTED SCORE
GRADE LEVEL

4.9 and Below
Grade 4 and Below

5.0 to 5.9
Grades 5 - 6

6.0 to 6.9
Grades 7 - 8

7.0 to 7.9
Grades 9 - 10

8.0 to 8.9
Grades 11 - 12

9.0 to 9.9
Grades 13 - 15 (College)

10 and Above
Grades 16 and Above (College Graduate)

@alxwrd I will add a PR for this as well.

@alxwrd  Here is the PR


WIP: Add a more elaborate example to quickstart guide

I recently started using Circe, and while I was able to piece together usage for my use case, it would've been nice to have a more elaborate example in the documentation, something that brings together the features that are explained in the sub-sections of the docs.
I don't expect this to be mergeable right away, more as a starting point to discuss what such an example could look like and would have to include.

Even though it says WIP, feedback is very welcome though :) Also, I know this is a bit of and odd request, but in order to meet my Hacktoberfest quota it'd be positively wonderful if you could add a hacktoberfest-accepted label to this PR, since I don't expect it to be merged until the month is over 😨


Feature Request: Please add a Web-GUI

I thought it might be useful to have a Web-GUI for LXD. (Like this https://github.com/dobin/lxd-webgui)
Some advantages/features I can think of:

Easier control for non-tech Users (It might make LXD interesting to them in the first place)
User Management for LXC-Container Hosters (Like granting them access only to their Containers)
Monitoring of Containers

Thanks for considering!

As you pointed out, there are some existing projects that do this already, interfacing with LXD using its REST API.
I can find at least 3 such projects on Github right now:

https://github.com/AdaptiveScale/lxdui
https://github.com/dobin/lxd-webgui
https://github.com/aarnaud/lxd-webui

For large scale deployments, you can also use OpenStack combined with the nova-lxd plugin.
All of those are fine options that build on top of LXD's API which is the way we always imagined such user interfaces would be built. I don't see a need for us to come up with another one and think LXD itself should focus on the lower level container management and API rather than on web design (which we have no experience with).


Wrong value in dependent select

Package
filament/filament
Package Version
v3.2.92
Laravel Version
v10.48.15
Livewire Version
v3.5.2
PHP Version
PHP 8.2.15
Problem description
Hi. We are working on an app that is based purely on filament. In one form we have some nested/dependent selects. So we managed to bring it down to simple form to make it more understandable for you. We made a simple form which has 2 selects. select1 - has single value
select2 - has 3/4 values; 4 values are present when select1 has no chosen value, 3 values are present when select1 has chosen value. Order or those options is random in both cases.
There is also one "hook" (afterStateUpdated) when option is being selected in select1. When this option is selected we want to manually (by set() method) set value of select2 to option2.
The following code may show it better than my description:
    public static function form(Form $form): Form
   {
       return $form
           ->schema([
               Select::make('select1')->options([
                   'option1' => 'Option 1',
               ])->afterStateUpdated(function (Get $get, Set $set) {
                   // after option selection, change value of select2 to `option2`
                   $set('select2', 'option2');
               })
               ->live(),
               Select::make('select2')->options(function (Get $get) {
                   $select1Value = $get('select1');

                   // if select1 has no value then return following list
                   if($select1Value === null) {
                       return [
                           'option4' => 'Option 4',
                           'option3' => 'Option 3',
                           'option2' => 'Option 2',
                           'option1' => 'Option 1',
                       ];
                   }

                   // if select1 has value then return following list
                   return [
                       'option1' => 'Option 1',
                       'option2' => 'Option 2',
                       'option3' => 'Option 3',
                   ];
               })
           ]);
   }

Expected behavior
So the case is following. When we enter form and then chose value in select1 we would expect to see option2 in select2 because of the afterStateUpdated hook. But this does not happen. Instead of this in provided example we see option3 as selected in select2. Therefore we treat this behaviour as incorrect.
We made some debugging and it turns out than under the hood, when we dump $this->data, the value is correct - it is set to option2 BUT displayed value is option3 as i mentioned before.
Steps to reproduce
-- if you reproduce inside your own project

Setup empty resource
Paste provided code in created resource
Enter created form in a browser
Select value from select1

-- if you setup from reproduction repository

install dependencies
setup server php artisan server
enter http://<IP_ADDRESS>:8000/examples

Related issues
We found some related issues eg. https://github.com/filamentphp/filament/issues/8972 but as most of them are closed/solved we belive it is somehow not fixed or this is a brand new problem.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/Tryfciu/filament-issue
Relevant log output
No response

Donate 💰 to fund this issue

You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
100% of the funding will be distributed between the Filament core team to run all aspects of the project.
Thank you in advance for helping us make maintenance sustainable!

Are you able to reproduce this issue in a Livewire project without Filament?
Asking since past issues where caused by Livewire.

I'm not into Livewire very much but I reproduced it as much as I could, and... it works as intended. For example with provided code when both selects are empty (initial) i choose OPTION1 in 'select1' and value in 'select2' is resolved properly even though order of select2 options changes meanwhile.
class Counter extends Component
{
    public ?string $state = null;
    public ?string $city = null;

    public function render()
    {
        return view('livewire.counter');
    }

    public function states(): array {
        return [
            'OPTION0' => 'empty placeholder',
            'OPTION1' => 'Alaska 1',
        ];
    }

    public function cities(): array {
        if ($this->state === 'OPTION1') {
            return [
                'OPTION0' => 'empty placeholder',
                'OPTION1' => 'Birmingham 1',
                'OPTION2' => 'Montgomery 2',
            ];
        }

        return [
            'OPTION0' => 'empty placeholder',
            'OPTION2' => 'Montgomery 2',
            'OPTION1' => 'Birmingham 1',
        ];
    }

    public function changeCityToBirmingham(): void
    {
        $this->city = 'OPTION1';
    }
}

<div>
    {{$this->state}}
    {{$this->city}}

    <select wire:model.live="state" wire:change="changeCityToBirmingham">
        @foreach ($this->states() as $index => $state)
            <option value="{{ $index }}">{{ $state }}</option>
        @endforeach
    </select>

    <select wire:model.live="city" wire:key="{{$this->state}}">
        @foreach ($this->cities() as $index => $city)
            <option value="{{ $index }}">{{ $city }}</option>
        @endforeach
    </select>
</div>

Thanks for looking into this, @Tryfciu.
Now I see it's indeed documented in the Livewire docs: https://livewire.laravel.com/docs/wire-model#dependent-select-dropdowns.
Since you can already work around it by manually adding a wire:key, I'm going to close this issue. I'll mention @danharrin though, so he can decide if this is something to improve in Filament.


'ng help generate' returns an error

When you run ng help generate, it returns an error "Cannot read property '0' of undefined".
Other help commands work fine.
I use Angular CLI 1.6.8 on macOS.

This one is a duplicate of issue #9589

Duplicate of #9412
Closing.


isNixOs: fix crash due to missing ID= field

Assuming ID=linux by default.
Also removed toLowerCase — it really shouldn't be needed.
Fixes #11709

@lnicola I did goofed :sweat_smile:

bors r+


Feature Request: Add trace-startup to Flutter Web Testing

Use case
Flutter has a wide range of devicelab tests in the dev/devicelab directory.
Some of them use the option --trace-startup to record startup information, such as the time needed for the first frame to build/rasterize. An example can be found here: flutter_gallery__start_up.dart
This option does not seem to work on Web for now.

Proposal
We propose that Flutter Web should accept the --trace-startup option and record startup information, such as the time needed for the first frame to build/rasterize, similar to the case of Android/iOS.

/cc @yjbanov @nturgut

@yjbanov Do you have an update?


[Feature] Workflow for closing Old PRs

Description
This feature aims to automate the management of open PRs in a repository, ensuring that outdated or abandoned PRs are closed in a timely manner. By doing so, it helps maintain repository hygiene, improves workflow efficiency, and provides a better experience for both maintainers and contributors.
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 please assign me this issue

I don't think there is a need of this workflow as I am active towards Open Source checking issues and PRs in timely manner, pls work on other issues @Asymtode712


New  Play Install Referrer API

I have recently received this email from branch , regarding the removal of install_referrer and instructions regrading the new googple api:
http://go2.branch.io/HF001080YlXgpTv0BqT00Aj
Are we ready for this ?
It is real soon...
This is the email from branch:
Hi Edan,
A couple of months ago, Google announced that they will stop broadcasting install_referrer intents on March 1, 2020. Branch uses this data to help power our deep linking and attribution services on Android devices.
Fortunately, Google has also introduced the Play Install Referrer API to provide the same data. This API provides better performance, and there is a good chance it is already configured in your app. However, Google has recently contacted several Branch customers about this, so we wanted to proactively reach out and help you confirm your configuration in advance of the cutoff date.
REQUIRED ACTIONS
Branch Android SDK: please do EITHER of the following for your Android app:

Ensure you've linked the Play Install Referrer Library as a Gradle dependency. To do this, please add this directive to your build.gradle file (it is not necessary to implement any of the other steps on this page, as the Branch SDK will handle the rest for you).

OR

Update to the most recent version of the SDK (v4.3.2), which bundles the Play Install Referrer Library automatically.

TUNE Android SDK: Please update to the most recent version of the SDK (v6.1.2, currently only available on JCenter). The TUNE Android SDK already bundles the Play Install Referrer Library, but older versions contain a rare bug that can cause a background thread to pause for up to 60 seconds while waiting for install_referrer data to be returned.
In addition, we recommend confirming that the following entry has been removed from your AndroidManifest.xml file:
Branch SDK

TUNE SDK

If you have any questions, please feel free to reach out to<EMAIL_ADDRESS>Sincerely,
The Branch Team

MORE DETAILS:
What are the two different pieces of tech here? Which one is deprecated, and which one is newer?
The install_referrer intent broadcast (docs) is the older technology. It is being replaced by the Play Install Referrer API (docs). On March 1, 2020, the former will stop operating entirely.
For most intents and purposes, these two technologies are equivalent. The newer Play Install Referrer API is more reliable (according to Google), and it contains some additional metadata about when users found and downloaded your app.
How can I tell whether my apps are impacted?
If you use the Branch Android SDK and have not linked the Play Install Referrer Library via Gradle dependency, then you will want to take one of the actions listed above.
If you use the TUNE Android SDK, you are already leveraging both the Play Install Referrer API (new) and install_referrer intent broadcast (deprecated). Most of the time, this should not be an issue. However, we still recommend updating your SDK.
If my app is impacted, what happens if I don’t update my SDK or link the InstallReferrer library by March 1, 2020?
Without Install Referrer data, the Branch Android SDK will fall back on other matching techniques. This will result in degraded attribution accuracy.
Older TUNE Android SDK versions will continue to receive Install Referrer data via the API, but in some rare cases, one of the background SDK threads may hang for up to 60 seconds while waiting for the install_referrer intent broadcast. After March 1, 2020, this intent will always be missing.
Besides updating the Android SDK, do I need to make any changes?
We recommend ensuring the deprecated InstallListener intent filter entry (shown above) has been removed from your AndroidManifest.xml file.
When I update my SDK, will any analytics or attribution change for my app?
If you are using the TUNE Android SDK, nothing will change.
If you are using the Branch Android SDK, it depends on whether you previously linked the Play Install Referrer Library via Gradle dependency. If you had, nothing will change. If you had not linked this library, you will now see some additional metadata (namely, install_begin_ts and clicked_referrer_ts).
What if I'm using a library, such as Cordova or React Native?
We are preparing updated versions of all of our modules, and anticipate these being ready prior to March 1, 2020. Please email us at<EMAIL_ADDRESS>if you have any concerns.
Do I need to force my users to upgrade app versions?
No. There is no impact on your existing app users — only on measurement for new installs.
Can I talk to someone at Branch before making the changes?
Absolutely! We’re here to help. Please email us at<EMAIL_ADDRESS>and we’ll go over any questions you may have.

I'll look into updating the SDK shortly and make sure this is handled.

On Mon, Feb 10, 2020 at 12:04 PM Michael<EMAIL_ADDRESS>wrote:

I'll look into updating the SDK shortly and make sure this is handled.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/distriqt/ANE-BranchIO/issues/8?email_source=notifications&email_token=AB6PMHJMJV57GQGGA64U2CDRCERBNA5CNFSM4KQYYOJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELH5GZA#issuecomment-584045412,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6PMHICTI3VUFOH2XDGEATRCERBNANCNFSM4KQYYOJQ
.

Okay, so to include the Install referrer library you'll need to add the Android Support Install Referrer ANE to your project.
ID: com.distriqt.androidsupport.InstallReferrer
Located in the following repository:
https://github.com/distriqt/ANE-AndroidSupport/tree/master/lib
Adding this ANE should add the required library to your application, no changes should be required to the Branch ANE for this to be picked up.

Thank again Michael.
On the wiki of the branch ane,
(here: https://github.com/distriqt/ANE-BranchIO/wiki/i.Add-the-Extension)
you have already instructed to include the .androidsupport.InstallReferrer ane, and so I did.
So just to be sure, I dont need to do anything in order to support this change ?

That's all that they have directed you to do above so unless there is something else they have said?

Heloow Again Michael
I have just receieved this email from branch support regarding this issue.

Dear Customer,
At the beginning of this month, we sent you an email with the subject “Please confirm your Play Store Referrer configuration”. We want to make a correction to this email.
Correction: if you chose to update to the newest Android SDK, then please be sure to delete the entry from AndroidManifest.xml related to the install_referrer intent broadcast. Failure to do so will result in warnings in your development console and crashes on new installs via the Play Store. Previously we referred to this step as recommended; however, it is required if you upgrade to the latest versions of the SDK (Branch Android: v4.3.2; TUNE Android: v6.1.2).
Best,
The Branch Team

So, if I understand correctly, I have to remove this from my  AndroidManifest.xml  :

am I right ?

As this didn't involve updating the Android SDK that correction wouldn't apply.
I think you should leave that receiver in, and I'd only remove it if you start finding issues.

I have removed the receiver, and checked the app. Everything was
working fine, including all branch related issues.
Do  you still recommend not to remove it now ?
And another question,
This new play installer referral api thing did not required the Android sdk
to be updated ?
Thank a lot
Edan
On Mon, Feb 17, 2020, 02:28 Michael<EMAIL_ADDRESS>wrote:

As this didn't involve updating the Android SDK that correction wouldn't
apply.
I think you should leave that receiver in, and I'd only remove it if you
start finding issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/distriqt/ANE-BranchIO/issues/8?email_source=notifications&email_token=AB6PMHLMCD6JNJSUBTTSZ7TRDHK3ZA5CNFSM4KQYYOJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL4XNCY#issuecomment-586774155,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6PMHPWJS3EAEUYL3SH3G3RDHK3ZANCNFSM4KQYYOJQ
.

Yes there were no updates required.
I am not sure whether removing it will stop the referral functionality from working, but they didn't tell you to remove it unless you were updating the SDK. If you have tested it and it is working then you should be fine to remove it.


Fix view state persistence

Thanks to Aleksey Malevaniy for catching these problems and
demonstrating fixes.
This change fixes two problems with view state persistence in
ActivityFlowSupport:

It was just throwing view state away when building the Parcelable to
save in the Bundle. The fix is to move filtering into Backstack itself,
so that it can build a Parcelable that includes view state.

It wasn (re)constructing the view hierarchy for the first time in
onResume(), which is after restoreHierarchyState() is called.  View
state was therefore not getting properly restored. The fix is to rebuild
the view hierarchy in onCreate(), so that it's there in time for
restoreHierarchyState().

LGTM


removed the stray fs in the print statements

Stray f may be needed because the way I wrote the code i.e. not using {}.format() type of code.


supplier json schema: allow null companiesHouseNumber

Broadly related to https://trello.com/c/v0ouuEMF/61-migrate-the-data-from-the-g9-dos2-declaration-to-account-level-2
We're supposed to be allowing a null companiesHouseNumber for suppliers but it would appear to be impossible to set it as such - clearly we were relying on the initial state of suppliers for those without CHIDs.
Also adds a test for this.

:+1: after a rebase.


.touches() function doesn't work with 2 ellipses/circles

Expected behaviour and actual behaviour.
If I give one circle (ell) of radius 4 with centre at (0,0) and another circle (ell2) of radius 2 with centre at (6,0), they do touch each other at the point (4,0). However, when poly1.touches(poly2) is called, "false" is returned, when the correct return value should be "true".
Steps to reproduce the problem.

from matplotlib import pyplot
from shapely.geometry.point import Point
import shapely.affinity
from descartes import PolygonPatch
from shapely.figures import SIZE, GREEN, GRAY, set_limits

BLUE = '#6699cc'

# 1st elem = center point (x,y) coordinates
# 2nd elem = the two semi-axis values (along x, along y)
# 3rd elem = angle in degrees between x-axis of the Cartesian base
#            and the corresponding semi-axis
ellipse = ((0, 0), (4, 4), 0)
ellipse2 = ((6, 0), (2, 2), 0)

# Let create a circle of radius 1 around center point:
circ = shapely.geometry.Point(ellipse[0]).buffer(1)
circ2 = shapely.geometry.Point(ellipse2[0]).buffer(1)

# Let create the ellipse along x and y:
ell  = shapely.affinity.scale(circ, ellipse[1][0], ellipse[1][1])
ell2  = shapely.affinity.scale(circ2, ellipse2[1][0], ellipse2[1][1])

print("Do the two ellipses touch? :-", ell2.touches(ell))

Operating system
Ubuntu 20.04 LTS
Shapely version and provenance
1.7.0 installed from PyPI using pip

@brahmakulkarni I see what you mean. Mathematically they touch. The problem is with the floating point representations in our computers. Until shapely supports a fixed precision model, touches is not entirely reliable for geometries that theoretically touch only at one point. I hope this explanation helps.

Hello,
I am trying the same approach with lines that theoretically touch but the .touches() function sometimes still returns false. Has the fixed precision model been implemented or it is still a work in progress?
Thanks!

@gbene Shapely 2.0 can set geometries to a fixed precision: https://shapely.readthedocs.io/en/stable/reference/shapely.set_precision.html?highlight=set_precision#shapely.set_precision. Can you try this on your lines?
There's more to the circle case than I explained before. Buffering a Point produces not a true circle, but a many-sided polygon that is inscribed in the circle. Such buffers may not touch as expected due solely to the fact that they are a little smaller than the true circles.


[CONTINT-4408] add tags to events for all kubernetes resource types

What does this PR do?
Adds tags to events for all resource types. Specifically, added tags for events that fall under the deployment:// or kubernetes_metadata:// entityIDs. Also migrated adding tags for pod events under the kubernetes_pod_uid:// entityID from unbundled_events.go to events_common.go.
Motivation
#27369 added the ability to tag labels and annotations for any kubernetes resource type. These tags should be attached to events involving that resource type.
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes
The following QA uses the container-agent-envs-doc/create_test_env folder.

Create a kind cluster

1_cluster_management/kind/create.sh

Modify linux.yaml in 2_agent_management/helm/values

datadog:
  clusterName: <your-cluster-name>
  ...
agents:
  containers:
    agent:
      env:
        - name: DD_KUBERNETES_RESOURCES_LABELS_AS_TAGS
          value: |
            {"horizontalpodautoscalers.autoscaling":{"hpa-lab":"test-hpa-label"},"deployments.apps":{"x-team":"team-from-label"},"pods":{"x-ref":"reference"},"namespaces":{"kubernetes.io/metadata.name":"name-as-tag"},"nodes":{"kubernetes.io/os":"os-as-tag", "kubernetes.io/arch": "arch-as-tag"}}
        - name: DD_KUBERNETES_RESOURCES_ANNOTATIONS_AS_TAGS
          value: |
            {"horizontalpodautoscalers.autoscaling":{"hpa-ano":"test-hpa-anno"},"deployments.apps":{"x-team":"team-from-annotation"},"pods":{"x-ann":"annotation-reference"}}
  ...
clusterAgent:
  ...
  env:
    - name: DD_KUBERNETES_RESOURCES_LABELS_AS_TAGS
      value: |
        {"horizontalpodautoscalers.autoscaling":{"hpa-lab":"test-hpa-label"},"services":{"service-lab":"test-service-label"},"deployments.apps":{"x-team":"team-from-label"},"pods":{"x-ref":"reference"},"namespaces":{"kubernetes.io/metadata.name":"name-as-tag"},"nodes":{"kubernetes.io/os":"os-as-tag", "kubernetes.io/arch": "arch-as-tag"}}
    - name: DD_KUBERNETES_RESOURCES_ANNOTATIONS_AS_TAGS
      value: |
        {"horizontalpodautoscalers.autoscaling":{"hpa-ano":"test-hpa-anno"},"services":{"service-ano":"test-service-anno"},"deployments.apps":{"x-team":"team-from-annotation"},"pods":{"x-ann":"annotation-reference"}}
  ...
...

This follows the format <resource_name>.<resource_group>: {<label>:<tag>}
Deploy the agent

CLUSTER_AGENT_IMAGE_TAG=<cluster-agent-tag> AGENTS_IMAGE_TAG=<agent-tag> 2_agent_management/helm/install.sh

Modify 3_dummy_app_management/k8s/manifests/nginx/deployment-nginx.yaml

...
metadata:
  ...
  labels:
    ...
    x-team: cont-p
  annotations:
    x-team: cont-int
spec:
  ...
  template:
    metadata:
      labels:
        ...
        x-ref: base
      annotations:
        ...
        x-ann: acid
    ...
  ...
...

Modify 3_dummy_app_management/k8s/manifests/nginx/horizontal-pod-autoscaler.yaml

...
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  annotations:
    hpa-ano: dummy-hpa-ano-here
  labels:
    hpa-lab: dummy-hpa-lab-here
  ...
...

Deploy the workload

3_dummy_app_management/k8s/deploy.sh

Once everything deploys, go the event explorer and filter by kube_clutser_name:<your-cluster-name> and "nginx"
Events with the title Events from the Pod... should have the tags annotation-reference:acid and reference:base
Events with the title Events from the Deployment... should have the tags team-from-label:cont-p and team-from-annotation:cont-int
Events with the title Events from the HorizontalPodAutoscaler... should have the tags test-hpa-anno:dummy-hpa-anno-here and test-hpa-label:dummy-hpa-lab-here
All these events should have tags name-as-tag:<namespace>, os-as-tag:<os>, and arch-as-tag<arch>. However, the last two sometimes take a while to start showing up on events.

/merge


python3Packages.msldap: 0.3.27 -> 0.3.28

Motivation for this change
Update to latest upstream release 0.3.28
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 116550 run on x86_64-linux 1

3 packages built:

python38Packages.lsassy
python38Packages.msldap
python38Packages.pypykatz

Result of nixpkgs-review pr 116550 at 6324cc32 run on aarch64-linux 1

3 packages built successfully:

python38Packages.lsassy
python38Packages.msldap
python38Packages.pypykatz


[STORM-2969] remove @isDerivedFrom validation for topology.spout/bolt/backpressure.wait.strategy

https://issues.apache.org/jira/browse/STORM-2969
get rid of @isDerivedFrom validation for wait strategies so that users can supply their own strategies.

Not clear why  @isDerivedFrom   wont be able to help validate inheritance of user defined classes from IWaitStrategy interface. Can you elaborate ?

@roshannaik  Sorry I am not clear. The topology submission will fail on validation because the user defined class is not present in nimbus's classpath. And we don't want to allow them to put their jars to nimbus' classpath for security reason.

+1
Thank you.


Last.fm support

Please add last.fm scrobbling from douban.fm

Not having last.fm scrobbling support is basically the only reason why I made my own version...
https://github.com/skyline75489/pyfm

Working like a charm. Thank you. I really appreciate your work.

@skyline75489  good

Thanks for @skyline75489 .
V0.2.14 have update the last.fm
input:
douban.fm last.fm

to config the last.fm