Unable to connect to local server with vscode

Environment data

VS Code version: 1.62.3 (user setup)
Jupyter Extension version (available under the Extensions sidebar): 2021.10.1101450599
Python Extension version (available under the Extensions sidebar): 2021.11.1422169775
OS (Windows | Mac | Linux distro) and version: Windows
Python and/or Anaconda version: conda 4.8.3
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
Able to connect to local server of jupyter notebook
Actual behaviour
Unable to connect. Kernel restarting.
Steps to reproduce:

Type "jupyter notebook" in cmd
Copy the URL with token -> "http://<IP_ADDRESS>:8888/?token=aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c"
Paste URL in vscode to connect to URI

Logs

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

Info 2021-12-03 02:21:54: Experimentation service retrieved: [object Object]
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 2021-12-03 02:21:55: Checking for server existence.
Info 2021-12-03 02:21:55: Checking for server usability.
Info 2021-12-03 02:21:55: Starting notebook server.
Info 2021-12-03 02:21:55: Connecting to history server
Info 2021-12-03 02:21:55: Creating jupyter server: 2d035af6-b1f4-4e83-a0db-fd826dd75e9a
Info 2021-12-03 02:21:55: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 02:21:55: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 2021-12-03 02:21:56: Disposing session manager
Info 2021-12-03 02:21:56: SessionManager - dispose contents manager
Info 2021-12-03 02:21:56: ShutdownSessionAndConnection - dispose session manager
Info 2021-12-03 02:21:56: Finished disposing jupyter session manager
Info 2021-12-03 02:21:56: Find preferred kernel for undefined with metadata {} & preferred interpreter {}
Info 2021-12-03 02:21:56: findPreferredKernel score for speclanguage=python, opencv is -1
Info 2021-12-03 02:21:56: findPreferredKernel score for opencv is 1
Info 2021-12-03 02:21:56: findPreferredKernel score for speclanguage=python, Python 3 is -1
Info 2021-12-03 02:21:56: findPreferredKernel score for Python 3 is 1
Info 2021-12-03 02:21:56: findPreferredKernel score for R is -1
Info 2021-12-03 02:21:56: Find remote kernel spec, Class name = y, completed in 918ms, has a truthy return value, Arg 1: undefined, Arg 2: {"type":"jupyter","baseUrl":"http://<IP_ADDRESS>:8888/","token":"aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c","hostName":"<IP_ADDRESS>","localLaunch":false,"valid":true,"displayName":"http://<IP_ADDRESS>:8888/?token=aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c","rootDirectory":"","url":"http://<IP_ADDRESS>:8888/?token=aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c"}, Arg 3: undefined, Arg 4: <argument cannot be serialized for logging>, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"name":"opencv","argv":["C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe","display_name":"opencv","metadata":{},"env":{}},"id":".opencv.C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe..-m#ipykernel_launcher"}
Info 2021-12-03 02:21:56: Connecting to process for history server
Info 2021-12-03 02:21:56: Connecting server 2d035af6-b1f4-4e83-a0db-fd826dd75e9a kernelSpec opencv
Connecting to Jupyter server at http://<IP_ADDRESS>:8888/
Info 2021-12-03 02:21:56: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 02:21:56: Starting a new session for kernel id = .opencv.C:\Users\Jibin\anaconda3\envs\opencv\python.exe..-m#ipykernel_launcher, name = opencv
http://<IP_ADDRESS>:8888/: Kernel started: 6427f2c1-63b2-4968-b3cc-3d48ef13dd7f
Info 2021-12-03 02:21:56: Waiting for idle on (kernel): 6427f2c1-63b2-4968-b3cc-3d48ef13dd7f -> unknown
Info 2021-12-03 02:21:58: Registering dummy command feature
Error 2021-12-03 02:22:01: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Info 2021-12-03 02:22:01: Process Execution: > ~\anaconda3\python.exe -c "import jupyter"
> ~\anaconda3\python.exe -c "import jupyter"
Error 2021-12-03 02:22:01: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Info 2021-12-03 02:22:01: Process Execution: > ~\anaconda3\python.exe -c "import notebook"
> ~\anaconda3\python.exe -c "import notebook"
Error 2021-12-03 02:22:02: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Info 2021-12-03 02:22:02: Process Execution: > ~\anaconda3\python.exe -m jupyter kernelspec --version
> ~\anaconda3\python.exe -m jupyter kernelspec --version
Error 2021-12-03 02:22:03: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Error 2021-12-03 02:22:03: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Error 2021-12-03 02:22:56: Failed to change kernel [TypeError: Cannot read property 'statusChanged' of null
	at b.waitForIdleOnSession (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:46:22400)
	at async b.createNewKernelSession (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002650)
	at async b.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002063)
	at async f.startNew (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:997390)
	at async C.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:749381)
	at async c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:737526]
Info 2021-12-03 02:22:56: Shutdown session -- complete
Error 2021-12-03 02:22:56: Failed to connect to server [c [Error]: Kernel opencv is not usable. Check the Jupyter output tab for more information.
	at b.createNewKernelSession (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002837)
	at async b.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002063)
	at async f.startNew (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:997390)
	at async C.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:749381)
	at async c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:737526] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingKernelSpec',
    kernelSpec: a {
      specFile: undefined,
      interpreterPath: undefined,
      name: 'opencv',
      argv: [Array],
      language: 'python',
      path: 'C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe',
      display_name: 'opencv',
      metadata: {},
      env: {},
      interrupt_mode: undefined
    },
    id: '.opencv.C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe..-m#ipykernel_launcher'
  }
}
Info 2021-12-03 02:22:56: Killing server because of error Error: Kernel opencv is not usable. Check the Jupyter output tab for more information.
 Check the Jupyter output tab for more information.
	at b.createNewKernelSession (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002837)
	at async b.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002063)
	at async f.startNew (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:997390)
	at async C.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:749381)
	at async c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:737526] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingKernelSpec',
    kernelSpec: a {
      specFile: undefined,
      interpreterPath: undefined,
      name: 'opencv',
      argv: [Array],
      language: 'python',
      path: 'C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe',
      display_name: 'opencv',
      metadata: {},
      env: {},
      interrupt_mode: undefined
    },
    id: '.opencv.C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe..-m#ipykernel_launcher'
  }
}
Error 2021-12-03 02:22:56: Failed to find & set preferred controllers [c [Error]: Kernel opencv is not usable. Check the Jupyter output tab for more information.
	at b.createNewKernelSession (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002837)
	at async b.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:1002063)
	at async f.startNew (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:66:997390)
	at async C.connect (c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:749381)
	at async c:\Users\Jibin\.vscode\extensions\ms-toolsai.jupyter-2021.10.1101450599\out\client\extension.js:102:737526] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingKernelSpec',
    kernelSpec: a {
      specFile: undefined,
      interpreterPath: undefined,
      name: 'opencv',
      argv: [Array],
      language: 'python',
      path: 'C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe',
      display_name: 'opencv',
      metadata: {},
      env: {},
      interrupt_mode: undefined
    },
    id: '.opencv.C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe..-m#ipykernel_launcher'
  }
}

Windows CMD logs

C:\Users\Jibin\Desktop\User Journey>jupyter notebook
[I 02:18:27.425 NotebookApp] JupyterLab extension loaded from C:\Users\Jibin\anaconda3\lib\site-packages\jupyterlab
[I 02:18:27.426 NotebookApp] JupyterLab application directory is C:\Users\Jibin\anaconda3\share\jupyter\lab
[I 02:18:27.783 NotebookApp] Serving notebooks from local directory: C:\Users\Jibin\Desktop\User Journey
[I 02:18:27.784 NotebookApp] The Jupyter Notebook is running at:
[I 02:18:27.785 NotebookApp] http://localhost:8888/?token=aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c
[I 02:18:27.786 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c
[I 02:18:27.787 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 02:18:27.938 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///C:/Users/Jibin/AppData/Roaming/jupyter/runtime/nbserver-5816-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c
     or http://<IP_ADDRESS>:8888/?token=aab7f6d4d26452427b6181f19a76c36b4959257f5d3ee41c
[I 02:21:56.324 NotebookApp] Creating new notebook in
[I 02:21:56.626 NotebookApp] Kernel started: 6427f2c1-63b2-4968-b3cc-3d48ef13dd7f
[W 02:21:56.675 NotebookApp] delete /default-a191ba8f-a200-403c-a4e3-abcac8ad67fc.ipynb
Traceback (most recent call last):
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\connect.py", line 18, in <module>
    import jupyter_client
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\__init__.py", line 4, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\connect.py", line 21, in <module>
    import zmq
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\__init__.py", line 47, in <module>
    from zmq import backend
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
    raise value
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: DLL load failed while importing error: The specified module could not be found.
[I 02:22:02.621 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Traceback (most recent call last):
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\connect.py", line 18, in <module>
    import jupyter_client
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\__init__.py", line 4, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\connect.py", line 21, in <module>
    import zmq
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\__init__.py", line 47, in <module>
    from zmq import backend
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
    raise value
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: DLL load failed while importing error: The specified module could not be found.
[I 02:22:05.637 NotebookApp] KernelRestarter: restarting kernel (2/5), keep random ports
Traceback (most recent call last):
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\connect.py", line 18, in <module>
    import jupyter_client
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\__init__.py", line 4, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\connect.py", line 21, in <module>
    import zmq
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\__init__.py", line 47, in <module>
    from zmq import backend
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
    raise value
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: DLL load failed while importing error: The specified module could not be found.
[I 02:22:08.653 NotebookApp] KernelRestarter: restarting kernel (3/5), keep random ports
Traceback (most recent call last):
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\connect.py", line 18, in <module>
    import jupyter_client
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\__init__.py", line 4, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\connect.py", line 21, in <module>
    import zmq
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\__init__.py", line 47, in <module>
    from zmq import backend
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
    raise value
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: DLL load failed while importing error: The specified module could not be found.
[I 02:22:11.677 NotebookApp] KernelRestarter: restarting kernel (4/5), keep random ports
Traceback (most recent call last):
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\ipykernel\connect.py", line 18, in <module>
    import jupyter_client
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\__init__.py", line 4, in <module>
    from .connect import *
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\jupyter_client\connect.py", line 21, in <module>
    import zmq
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\__init__.py", line 47, in <module>
    from zmq import backend
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
    raise value
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "C:\Users\Jibin\anaconda3\envs\opencv\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: DLL load failed while importing error: The specified module could not be found.
[W 02:22:14.709 NotebookApp] KernelRestarter: restart failed
[W 02:22:14.712 NotebookApp] Kernel 6427f2c1-63b2-4968-b3cc-3d48ef13dd7f died, removing from map.
[W 02:22:56.672 NotebookApp] Timeout waiting for kernel_info reply from 6427f2c1-63b2-4968-b3cc-3d48ef13dd7f
[E 02:22:56.674 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 6427f2c1-63b2-4968-b3cc-3d48ef13dd7f)

@jibin23. So when you launch jupyter notebook from the command line in the browser window that opens are you able to use the opencv kernel as expected? From the logging here it looks like the opencv kernel might not be configured correctly. If it doesn't work in the notebook browser then we won't be able to use it in vscode either.
One possible thing to check are you starting jupyter notebook from an anaconda command prompt with the opencv environment activated? From the command prompt it looks like that might not be the case and that might help here. Given the error stack it looks like there could be an issue with the zmq package as well.
https://stackoverflow.com/questions/52821162/jupyter-notebook-failed-to-load-dll
https://github.com/nteract/hydrogen/issues/1517#issuecomment-506567711

I used to open the CMD > typed "jupyter notebook" > Jupyter Notebook launched and used to change the kernel from within the notebook. Even so,  my notebook in the browser was able to execute commands.
I first activated the opencv conda env on the terminal, then checked.

Then I reinstalled pyzmq, then checked whereupon I got a new error anaconda3\envs\opencv\python.exe: No module named ipykernel_launcher. Installed that then was getting a  RequestsDependencyWarning for urllib and requests. Did a conda force update.

Followed all the fixes mentioned above. The previous error messages I believe have gone, replaced with new ones.
vscode jupyter logs

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

Info 2021-12-03 11:39:35: Experimentation service retrieved: [object Object]
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 2021-12-03 11:39:35: Checking for server existence.
Info 2021-12-03 11:39:35: Checking for server usability.
Info 2021-12-03 11:39:35: Starting notebook server.
Info 2021-12-03 11:39:35: Connecting to history server
Info 2021-12-03 11:39:35: Creating jupyter server: 5f39098c-3553-4b0f-b57a-c15f3222d8a1
Info 2021-12-03 11:39:35: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 11:39:35: Disposing session manager
Info 2021-12-03 11:39:35: SessionManager - dispose contents manager
Info 2021-12-03 11:39:35: ShutdownSessionAndConnection - dispose session manager
Info 2021-12-03 11:39:35: Finished disposing jupyter session manager
Info 2021-12-03 11:39:35: Find preferred kernel for undefined with metadata {} & preferred interpreter {}
Info 2021-12-03 11:39:35: findPreferredKernel score for speclanguage=python, opencv is -1
Info 2021-12-03 11:39:35: findPreferredKernel score for opencv is 1
Info 2021-12-03 11:39:35: findPreferredKernel score for speclanguage=python, Python 3 is -1
Info 2021-12-03 11:39:35: findPreferredKernel score for Python 3 is 1
Info 2021-12-03 11:39:35: findPreferredKernel score for R is -1
Info 2021-12-03 11:39:35: Find remote kernel spec, Class name = y, completed in 96ms, has a truthy return value, Arg 1: undefined, Arg 2: {"type":"jupyter","baseUrl":"http://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","hostName":"<IP_ADDRESS>","localLaunch":false,"valid":true,"displayName":"http://<IP_ADDRESS>:8888/?token=d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","rootDirectory":"","url":"http://<IP_ADDRESS>:8888/?token=d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428"}, Arg 3: undefined, Arg 4: <argument cannot be serialized for logging>, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"name":"opencv","argv":["C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe","display_name":"opencv","metadata":{},"env":{}},"id":".opencv.C:\\Users\\Jibin\\anaconda3\\envs\\opencv\\python.exe..-m#ipykernel_launcher"}
Info 2021-12-03 11:39:35: Connecting to process for history server
Info 2021-12-03 11:39:35: Connecting server 5f39098c-3553-4b0f-b57a-c15f3222d8a1 kernelSpec opencv
Connecting to Jupyter server at http://<IP_ADDRESS>:8888/
Info 2021-12-03 11:39:35: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 11:39:35: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 2021-12-03 11:39:36: Starting a new session for kernel id = .opencv.C:\Users\Jibin\anaconda3\envs\opencv\python.exe..-m#ipykernel_launcher, name = opencv
http://<IP_ADDRESS>:8888/: Kernel started: ea297e82-27a9-416e-b3d5-4aea0c589e11
Info 2021-12-03 11:39:36: Waiting for idle on (kernel): ea297e82-27a9-416e-b3d5-4aea0c589e11 -> unknown
Info 2021-12-03 11:39:38: Registering dummy command feature
Error 2021-12-03 11:39:43: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Info 2021-12-03 11:39:43: Process Execution: > ~\anaconda3\python.exe -c "import jupyter"
> ~\anaconda3\python.exe -c "import jupyter"
Error 2021-12-03 11:39:43: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Info 2021-12-03 11:39:43: Process Execution: > ~\anaconda3\python.exe -c "import notebook"
> ~\anaconda3\python.exe -c "import notebook"
Info 2021-12-03 11:39:43: Finished waiting for idle on (kernel): ea297e82-27a9-416e-b3d5-4aea0c589e11 -> idle
Info 2021-12-03 11:39:43: Waiting for idle on (kernel): ea297e82-27a9-416e-b3d5-4aea0c589e11 -> idle
Info 2021-12-03 11:39:43: Finished waiting for idle on (kernel): ea297e82-27a9-416e-b3d5-4aea0c589e11 -> idle
Info 2021-12-03 11:39:43: Shutdown session - current session
Info 2021-12-03 11:39:43: shutdownSession ea297e82-27a9-416e-b3d5-4aea0c589e11, .opencv.C:\Users\Jibin\anaconda3\envs\opencv\python.exe..-m#ipykernel_launcher - start
Info 2021-12-03 11:39:43: Session can be shutdown .opencv.C:\Users\Jibin\anaconda3\envs\opencv\python.exe..-m#ipykernel_launcher
Info 2021-12-03 11:39:43: shutdownSession ea297e82-27a9-416e-b3d5-4aea0c589e11, .opencv.C:\Users\Jibin\anaconda3\envs\opencv\python.exe..-m#ipykernel_launcher - shutdown complete
Info 2021-12-03 11:39:43: Shutdown session - get restart session
Info 2021-12-03 11:39:43: Shutdown session -- complete
Info 2021-12-03 11:39:43: Connection complete for history server
Info 2021-12-03 11:39:43: Server started.
Info 2021-12-03 11:39:43: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 11:39:43: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 11:39:43: Disposing session manager
Info 2021-12-03 11:39:43: SessionManager - dispose contents manager
Info 2021-12-03 11:39:43: ShutdownSessionAndConnection - dispose session manager
Info 2021-12-03 11:39:43: Finished disposing jupyter session manager
Info 2021-12-03 11:39:43: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 11:39:43: Disposing session manager
Info 2021-12-03 11:39:43: SessionManager - dispose contents manager
Info 2021-12-03 11:39:43: ShutdownSessionAndConnection - dispose session manager
Info 2021-12-03 11:39:43: Finished disposing jupyter session manager
Error 2021-12-03 11:39:43: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Info 2021-12-03 11:39:43: Process Execution: > ~\anaconda3\python.exe -m jupyter kernelspec --version
> ~\anaconda3\python.exe -m jupyter kernelspec --version
Info 2021-12-03 11:39:43: Disposing session manager
Info 2021-12-03 11:39:43: SessionManager - dispose contents manager
Info 2021-12-03 11:39:43: ShutdownSessionAndConnection - dispose session manager
Info 2021-12-03 11:39:43: Finished disposing jupyter session manager
Info 2021-12-03 11:39:43: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 2021-12-03 11:39:43: Disposing session manager
Info 2021-12-03 11:39:43: SessionManager - dispose contents manager
Info 2021-12-03 11:39:43: ShutdownSessionAndConnection - dispose session manager
Info 2021-12-03 11:39:43: Finished disposing jupyter session manager
Info 2021-12-03 11:39:43: Find preferred kernel for file:///c%3A/Users/Jibin/Desktop/User%20Journey/Plotly%20Sankey%20Chart.ipynb with metadata {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.7.6"}} & preferred interpreter {}
Info 2021-12-03 11:39:43: Preferred kernel for file:///c%3A/Users/Jibin/Desktop/User%20Journey/Plotly%20Sankey%20Chart.ipynb is undefined
Info 2021-12-03 11:39:43: findPreferredKernel score for speclanguage=python, opencv is -1
Info 2021-12-03 11:39:43: findPreferredKernel score for opencv is 1
Info 2021-12-03 11:39:43: findPreferredKernel score for Python 3 is 15
Info 2021-12-03 11:39:43: findPreferredKernel score for R is -1
Info 2021-12-03 11:39:43: Find remote kernel spec, Class name = y, completed in 53ms, has a truthy return value, Arg 1: <Uri:c:\Users\Jibin\Desktop\User Journey\Plotly Sankey Chart.ipynb>, Arg 2: {"type":"jupyter","baseUrl":"http://<IP_ADDRESS>:8888/","token":"d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","hostName":"<IP_ADDRESS>","localLaunch":false,"valid":true,"displayName":"http://<IP_ADDRESS>:8888/?token=d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428","rootDirectory":"","url":"http://<IP_ADDRESS>:8888/?token=d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428"}, Arg 3: {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.7.6"}}, Arg 4: {"_isCancelled":false,"_emitter":null}, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"name":"python3","argv":["C:/Users/Jibin/anaconda3\\python.exe","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"C:/Users/Jibin/anaconda3\\python.exe","display_name":"Python 3","metadata":{},"env":{}},"id":".python3.C:/Users/Jibin/anaconda3\\python.exe..-m#ipykernel_launcher"}
Info 2021-12-03 11:39:43: PreferredConnection: .python3.C:/Users/Jibin/anaconda3\python.exe..-m#ipykernel_launcher found for NotebookDocument: file:///c%3A/Users/Jibin/Desktop/User%20Journey/Plotly%20Sankey%20Chart.ipynb
Info 2021-12-03 11:39:43: TargetController found ID: .python3.C:/Users/Jibin/anaconda3\python.exe..-m#ipykernel_launcher for document file:///c%3A/Users/Jibin/Desktop/User%20Journey/Plotly%20Sankey%20Chart.ipynb
Info 2021-12-03 11:39:43: Setting controller affinity for file:///c%3A/Users/Jibin/Desktop/User%20Journey/Plotly%20Sankey%20Chart.ipynb .python3.C:/Users/Jibin/anaconda3\python.exe..-m#ipykernel_launcher
Error 2021-12-03 11:39:44: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe
Error 2021-12-03 11:39:44: Failed to get activated conda env variables for base: C:\Users\Jibin\anaconda3\python.exe

Windows CMD logs

(opencv) C:\Users\Jibin\Desktop\User Journey>jupyter notebook
[I 11:39:07.612 NotebookApp] JupyterLab extension loaded from C:\Users\Jibin\anaconda3\lib\site-packages\jupyterlab
[I 11:39:07.613 NotebookApp] JupyterLab application directory is C:\Users\Jibin\anaconda3\share\jupyter\lab
[I 11:39:08.013 NotebookApp] Serving notebooks from local directory: C:\Users\Jibin\Desktop\User Journey
[I 11:39:08.013 NotebookApp] The Jupyter Notebook is running at:
[I 11:39:08.014 NotebookApp] http://localhost:8888/?token=d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428
[I 11:39:08.015 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428
[I 11:39:08.016 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
 Every time you start the jupyter server, the token changes so you have to reinput it into VS code.

@rchiodo Not too sure if that's the case, because the URI doesn't change in the CMD I started the jupyter notebook. Would request you to reopen the issue, since it's not solved.

The 403 error is an access denied. Can you double check the token is the same?
This number here:
http://localhost:8888/?token=**d36ad1e6983a1a8f79caa3595936710bf32820f8581c9428**

Aside from that, is there a reason why you want to run your own local server? VS code can start kernels directly itself (without a need for jupyter to even be running).

@rchiodo My end goal is to use VScode to connect to a jupyter hub server used in my organization to create / edit notebooks. Connecting to this deployed jupyter hub server is the only recommended way to work, which means I don't have a conda installation on my Virtual Desktop to connect to.
I am making sure I can do the same on my local machine, then replicate the steps there.
However, I would like to point out that I followed these steps to make it work:-

Ensured Jupyter plugin in  VScode is set to default and not removed
Started jupyter notebook without activating a specific environment
Copy pasted the URI to VScode using "Existing URI" option

Post this I faced errors that were specific to my environment, which I mitigated by re-installing packages.
I suppose VScode by default tries to connect using the old token, which leads to the 403 errors. Once that appears, no matter what I do, it will refuse to connect. Is this expected behaviour?

Yes the token you entered in step 3 must be reinput every time you restart your jupyter server.  It's regenerated every time as a random value.
So you should be able to copy paste it from the server command line and reenter it as a new existing URI into VS code.

@rchiodo for thoroughness I wanted to point that, I was in fact entering a fresh URI into VS code. However, the only way I could make it work was by exactly following the procedure I enumerated.
Ideally, I was expecting that even if an old token was used to connect to the server, switching it in the same session should have worked, but it didn't.

Ah yes, it does ask you to reload when entering it. It's a global setting.
@DonJayamanne is actually working on making this not necessary anymore. No more reload necessary.


Checkpoint block in not synced on initial sync

This happens because header handler saves the checkpoint block to database along with the received headers, but does not report it to PeerGroup.

Resolved with new sync logic in #83.


[Feature]: Detect unused stubs in test code

🚀 Feature Proposal
As described in this article, JUnit and Mockito support detecting unnecessary stubs and tell the user to remove them. It would be great to have that feature in Jest.
Motivation
Removing unused stubs makes the test code cleaner and more maintainable.
Example
No response
Pitch
Removing unused stubs makes the test code cleaner and more maintainable. This leads to users writing cleaner and more delightful tests and prevents certain errors from happening when users expect their stubs to be responsible for a specific behavior when actually they have never been called.

I like this idea! Happy to take a PR implementing it 🙂

I am new to jest source code. May i contribute to this feature?

hi. bot. could you please hold up this issue for me?

Still waiting for a way to find unused mocks.

To me, mock is unused if it matches these 2 cases:

It was never called during any tests.
It was never expected(including not cases) in any tests.

I agree completely in terms of an ideal solution.

It was never expected(including not cases) in any tests.

This would be ideal. But, if we expand it to include any access of the mock state, without tracking if whatever accessed eventually ended up in an assertion, it gets really easy to implements. Not perfect though with the chance of false negatives i.e. assigning to unused variables. It's a tradeoff of effort/complexity and accuracy.
I haven't decided how I feel about implementing something at the level of static analysis, so would tracking the mock state, with its risks, be good enough?

+1 Would love this feature as well.

Bumping this, would love to see it

We need this one


Add configure option to disable upcalls

The code to implement the upcall API seems to have bugs (notably https://github.com/sctplab/usrsctp/issues/709) which can affect users of usrsctplib even when that API isn't used.  This PR adds a configure-time option to disable support for that API, to avoid those bugs.

Unfortunately and unexpectedly, it looks like the library depends on the socket's reference count not going to zero during sctp_common_input_processing.  With this PR, the deadlocks in https://github.com/sctplab/usrsctp/issues/711 and https://github.com/sctplab/usrsctp/issues/712 emerged.


ClassCastException with subGraph

I'm seeing this behavior with the subGraph step:
scala> graph.E().subgraph("sg").cap("sg").head
java.lang.ClassCastException: org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph cannot be cast to org.apache.tinkerpop.gremlin.structure.Edge
  ... 43 elided
scala> graph.E().subgraph("sg").cap("sg").headOption
res33: Option[gremlin.scala.Edge] = Some(tinkergraph[vertices:5 edges:4])

I can resolve this by casting with head:
scala> graph.E().subgraph("sg").cap("sg").head.asInstanceOf[TinkerGraph]
res35: org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph = tinkergraph[vertices:5 edges:4]

but not with headOption:
scala> graph.E().subgraph("sg").cap("sg").headOption.map(g => g.asInstanceOf[TinkerGraph])
java.lang.ClassCastException: org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph cannot be cast to org.apache.tinkerpop.gremlin.structure.Edge
  at $anonfun$1.apply(<console>:18)
  at scala.Option.map(Option.scala:146)
  ... 43 elided

I don't really understand how an Option[gremlin.scala.Edge] can hold a TinkerGraph at runtime so I'm not sure how to debug this. Is this not the right way to get subgraph side effects out?

Thanks for reporting this - I fixed it in the above mentioned commit. TraversalSpec show the usage.
If Travis CI and yourself are happy with this I will release a new version - let me know!
Btw. the reason for this weired behaviour of headOption is the JVM's type erasure: while the compiler does check that you've got an Option[Edge], this gets erased after compilation, and at runtime all the JVM cares about is that it's an option... :(

Thanks for the quick fix and the added specs! Erasure makes sense as the culprit though to be honest I still don't quite understand the casting behavior.
Either way, looks good to me, we are ready to receive new release whenever you want to cut.

just released 3.1.1-incubating.1 - should appear in mvn central within a few hours
the reason you had to cast was because subgraph and cap didn't work nicely together before, that's what the commit fixed. by casting you made the compiler happy, however that didn't fix the runtime (mis)behaviour.

Ah I see, so the type parameter on StepLabel carries type information into the new cap, which emits GremlinScala[Graph, Labels], which then agrees with the actual output at runtime, right?
Works as intended now.

That's right. Glad to hear!


Training cost

Thanks for the great work!
I'm interested in the training cost of this work.
VAR is reported to cost 256 A100 GPUs for 4 days for 350 epochs for VAR-d30 on ImageNet 512x512.
This work seems to have similar training cost as VAR. Then how is the training cost for 1024x1024.

Hi @yuhuUSTC,
Thanks for the kind words. The training cost is roughly 64 A100 GPUs for ~10 days (this includes all 3 training stages at 256px, 512px and 1024px).
Best,
Haotian

Thanks~


Patch Tuesday June 2024

Updates:

VS 2022 17.10
CUDA 12.5 (on Windows)
ifort 2024.1
PSExec removed
ICC removed

Also includes a number of improvements from @StephanTLavavej in the microsoft/STL repo from which vcpkg's infrastructure here was originally forked.

I skipped updating the android container because we just did in https://github.com/microsoft/vcpkg/pull/38975

Windows builds: https://dev.azure.com/vcpkg/public/_build/results?buildId=103961&view=results
UWP builds (all passed): https://dev.azure.com/vcpkg/public/_build/results?buildId=103962&view=results

REGRESSION: opencv4:x64-windows failed with BUILD_FAILED. If expected, add opencv4:x64-windows=fail to D:\a_work\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: vcpkg-ci-opencv:x64-windows cascaded, but it is required to pass. (D:\a_work\1\s\scripts\azure-pipelines/../ci.baseline.txt).
[...]
D:\b\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev\grid\detail/reduce_to_column.hpp(91): error: no instance of overloaded function "cv::cudev::blockReduce" matches the argument list
[...]

I believe this is https://github.com/opencv/opencv_contrib/issues/3690
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to D:\a_work\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qt:x64-windows cascaded, but it is required to pass. (D:\a_work\1\s\scripts\azure-pipelines/../ci.baseline.txt).
ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\cl.exe" /c ../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8/src/wasm/turboshaft-graph-interface.cc /Foobj/v8/v8_base_without_compiler/turboshaft-graph-interface.obj /nologo /showIncludes -DUSE_AURA=1 -DTOOLKIT_QT -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DCPPGC_VERIFY_HEAP -DENABLE_DISASSEMBLER -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DOBJECT_PRINT -DVERIFY_HEAP -DV8_TRACE_MAPS -DV8_ENABLE_ALLOCATION_TIMEOUT -DV8_ENABLE_FORCE_SLOW_PATH -DV8_ENABLE_DOUBLE_CONST_STORE_CHECK -DV8_INTL_SUPPORT -DENABLE_HANDLE_ZAPPING -DV8_CODE_COMMENTS -DV8_ENABLE_DEBUG_CODE -DV8_ENABLE_HEAP_SNAPSHOT_VERIFY -DV8_SNAPSHOT_NATIVE_CODE_COUNTERS -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_ATOMIC_OBJECT_FIELD_WRITES -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_SHARED_RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SHORT_BUILTIN_CALLS -DV8_EXTERNAL_CODE_SPACE -DV8_ENABLE_MAGLEV -DV8_ENABLE_TURBOFAN -DV8_ENABLE_SYSTEM_INSTRUMENTATION -DV8_ENABLE_ETW_STACK_WALKING -DV8_ENABLE_WEBASSEMBLY -DV8_ALLOCATION_FOLDING -DV8_ALLOCATION_SITE_TRACKING -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_STATIC_ROOTS -DV8_USE_ZLIB -DV8_ENABLE_WASM_SIMD256_REVEC -DV8_CODE_POINTER_SANDBOXING -DV8_ENABLE_SLOW_TRACING -DV8_ENABLE_BUILTIN_JUMP_TABLE_SWITCH -DV8_ENABLE_EXTENSIBLE_RO_SNAPSHOT -DV8_ENABLE_CHECKS -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_SHARED_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_ENABLE_SANDBOX -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DCPPGC_YOUNG_GENERATION -DCPPGC_POINTER_COMPRESSION -DCPPGC_SLIM_WRITE_BARRIER -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_WIN -DDEBUG -DABSL_ALLOCATOR_NOTHROW=1 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -Igen -I../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium -I../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8 -I../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8/include -Igen/v8 -Igen/v8/include -I../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/third_party/icu/source/common -I../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/third_party/icu/source/i18n -I../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/third_party/zlib /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /wd4068 /wd5051 /wd4244 /Gy /FS /bigobj /utf-8 /Zc:preprocessor /wd5105 /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /MDd /wd4245 /wd4267 /wd4324 /wd4701 /wd4702 /wd4703 /wd4709 /wd4714 /wd4715 /wd4716 /wd4718 /wd4723 /wd4724 /wd4800 /wd4506 /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /O2 /Ob2 /Oy- /Zc:inline /Gw /wd4577 /std:c++20 /TP /GR- /Fd"obj/v8/v8_base_without_compiler_cc.pdb"
../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8\src/compiler/turboshaft/operations.h(1336): error C2100: you cannot dereference an operand of type 'v8::internal::compiler::turboshaft::WordRepresentation'
../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8\src/compiler/turboshaft/operations.h(1336): note: the template instantiation context (the oldest one first) is
../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8\src/compiler/turboshaft/operations.h(1336): note: see reference to alias template instantiation 'v8::internal::compiler::turboshaft::MaskBuilder<v8::internal::compiler::turboshaft::WordBinopOp,v8::internal::compiler::turboshaft::OpMaskField<v8::internal::compiler::turboshaft::WordBinopOp::Kind,4>,v8::internal::compiler::turboshaft::OpMaskField<v8::internal::compiler::turboshaft::UnwrapRepresentation<v8::internal::compiler::turboshaft::WordRepresentation>::type,5>>::For<v8::internal::compiler::turboshaft::WordBinopOp::Kind::kSub,v8::internal::compiler::turboshaft::WordRepresentation{v8::internal::compiler::turboshaft::RegisterRepresentation{v8::internal::compiler::turboshaft::MaybeRegisterRepresentation{v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Enum:v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Enum::kWord32}}}>' being compiled
../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8\src/compiler/turboshaft/operations.h(940): fatal error C1907: unable to recover from previous error(s); stopping compilation
../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8\src/compiler/turboshaft/representations.h(379): note: while evaluating constexpr function 'v8::internal::compiler::turboshaft::WordRepresentation::value'
../../../../../src/here-src-6-dad1a1db84.clean/src/3rdparty/chromium/v8\src/compiler/turboshaft/operations.h(1336): note: while evaluating constexpr function 'v8::internal::compiler::turboshaft::WordRepresentation::operator v8::internal::compiler::turboshaft::WordRepresentation::Enum'
INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information

I want other maintainers' thoughts about the qtwebengine skip

We'll go back to 17.8.

Cherry picking https://github.com/microsoft/vcpkg/pull/38996 had the nice effect of invalidating all the Windows SHAs so I don't need to issue a separate CI run anymore

REGRESSION: opencv4:x64-windows failed with BUILD_FAILED. If expected, add opencv4:x64-windows=fail to D:\a_work\1\s\scripts\azure-pipelines/../ci.baseline.txt. REGRESSION: vcpkg-ci-opencv:x64-windows cascaded, but it is required to pass. (D:\a_work\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I believe this is opencv/opencv_contrib#3690

It's that issue and more (compatibility with cuda 12.4+ was seriously compromised).
All the patches should be in here https://github.com/microsoft/vcpkg/pull/38928 but i am very slow on it... any help would be very appreciated

It's that issue and more (compatibility with cuda 12.4+ was seriously compromised).
All the patches should be in here #38928 but i am very slow on it... any help would be very appreciated

Taking updates is good but I don't want to make more than the minimum number of changes in an infrastructure security patch like this

I'm trying to update libtorch to fix that break. (And before you go 'why didn't you update opencv then': opencv's fixes were only 3-4 commits, libtorch's fixes seem far more broad/widespread since cuda removed a major subsystem libtorch used)

I have the update to libtorch here:
https://github.com/Neumann-A/my-vcpkg-ports/blob/master/libtorch/
Also requires newer xnnpack and something else.
Didn't update it yet in vcpkg since my port has a working python behind building the python bindings which have not yet made it into vcpkg. So it will need some adjustments in that regard.

I have the update to libtorch here:
https://github.com/Neumann-A/my-vcpkg-ports/blob/master/libtorch/
Also requires newer xnnpack and something else.

I gave this a shot and it turned out to be WAY too involved :( But luckily after replaying all the patches to fix whitespace errors upstream's fix for the cudnn incompatibility seems to be fixed now.


[cinder-csi-plugin] Start using --nodeid option

What this PR does / why we need it:
Currently "--nodeid" is not used by the driver and its value is ignored. The real node ID is fetched from metadata service.
With this PR we start using value provided with --nodeid. If it's not set, then the plugin continues fetching node ID from metadata.
Which issue this PR fixes(if applicable):
fixes #1453
Release note:
--nodeid argument is now optional and used by the plugin. If it's not set, then the plugin fetches node ID from metadata.

/hold
I didn't see we have made a consensus in #1453

/retest

/retest

@Fedosin please check my comment here , https://github.com/kubernetes/cloud-provider-openstack/issues/1453#issuecomment-844945025

/hold cancel

/close
In favor of https://github.com/kubernetes/cloud-provider-openstack/pull/1565


Cocopods still referring to older version

plz upload 5.0.0 in cocopods

@msanders ^^

Indeed, Cocoapods still only knows about older versions:
https://cocoapods.org/pods/TrueTime

Sorry about that, looks like the push didn't go through. It should be updated now.


Teach the raw profile to take a JUnit XML file

Currently the raw profile only takes a JSON file. This change make it
take a JUnit XML file.

It seems the failure is not related to this change...


Add {when_iso_local} placeholder

1. What version of Caddy are you using (caddy -version)?
Git commit 8f7a1d6a2 from Nov 18, 2018.
2. What are you trying to do?
I prefer the ISO 8601 timestamp format but when perusing the log file it is friendlier if the human readable timestamps are in the local timezone of the server rather than UTC. So I'd like to propose adding a {when_iso_local} placeholder. The implementation is trivial:
diff --git a/caddyhttp/httpserver/replacer.go b/caddyhttp/httpserver/replacer.go
index 945b93e..8755f40 100644
--- a/caddyhttp/httpserver/replacer.go
+++ b/caddyhttp/httpserver/replacer.go
@@ -368,6 +368,8 @@ func (r *replacer) getSubstitution(key string) string {
                return url.QueryEscape(r.request.URL.RequestURI())
        case "{when}":
                return now().Format(timeFormat)
+       case "{when_iso_local}":
+               return now().Format(timeFormatISO)
        case "{when_iso}":
                return now().UTC().Format(timeFormatISOUTC)
        case "{when_unix}":
@@ -539,6 +541,7 @@ func (r *replacer) Set(key, value string) {

 const (
        timeFormat        = "02/Jan/2006:15:04:05 -0700"
+       timeFormatISO     = "2006-01-02T15:04:05" // ISO 8601 with timezone to be assumed as local
        timeFormatISOUTC  = "2006-01-02T15:04:05Z" // ISO 8601 with timezone to be assumed as UTC
        headerContentType = "Content-Type"
        contentTypeJSON   = "application/json"

For automated log file analysis I also include the {when_unix_ms} placeholder. This gives analysis tools an unambiguous timestamp while giving humans an easier to interpret string via the {when_iso_local} placeholder. Yes, this is itself problematic if you have personnel in different time zones who need to peruse the logs. But in that case you can either use the UTC timestamps and/or a tool to convert the UTC timestamps to each person's local timezone. This enhancement is primarily for people who are using Caddy as a personal web server.

Cool, feel free to make a PR for this change!


Endpoint to update a job listing

Description

Related Issue (Link to issue ticket)

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate - Postman, etc):

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Sure! On it


what3words now supports offline use

The comparison is somewhat outdated with respect to what3words:

it's no longer possible to purchase "words"
consequently, all location features (I think?) now work offline
… and it shouldn't be grouped with other Web-based services

Do you want a slap a prominent "Last Updated" or "Correct as of XXX" to that file then? There's to suggest it's not up to date.


CLI: Add ability to catch exempted cookies

Description
This PR updates packages cli and cli-dashboard so that while analyzing websites any exempted cookies and their exemption reason can be caught.
Relevant Technical Choices

Update responseReceivedExtraInfoListener event handler to get exemption reason for any exempted cookie.
Update reshapeCookies utility in cli-dashboard to handle exemption reason.
Add a new section named ExemptedCookiesSection similar to extension for visualizing exemption data.
Add ExemptedCookiesSection to CookiesLandingContainer.

Testing Instructions
The CLI can be used to analyze any of the following websites -

https://domain-aaa.com/gsi
https://domain-aaa.com/spotify
https://www.bbc.com/
https://campanhas.fidelidade.pt/seguro-automovel
https://www.meetup.com/
https://www.independent.ie/

They have been known to have cookie exemptions. If any cookie exemptions are detected the exemption section in the cookie landing should reflect that.
Additional Information
Caveats:

CDP implementation of Puppeteer doesn't show the set-cookie header for the accounts.google.com request URL.

If we open the network request in the browser in non-headless mode we can see a cookie NID being associated with
the request but CDP fails to show this cookie in the responseExtraInfo details for the same request.

In the below image, you can see accounts.google.com request has an extra info event but the extra info event response doesn't contain the set-cookie header which contains the cookie information.

Another caveat is some cookies will be sent once the initial frame is set with the origin-trial then the cookies sent in response will be set.

On refreshing such sites the cookies will be exempted.

Checklist

[x] I have thoroughly tested this code to the best of my abilities.
[x] I have reviewed the code myself before requesting a review.
[ ] This code is covered by unit tests to verify that it works as intended.
[x] The QA of this PR is done by a member of the QA team (to be checked by QA).

Partially Fixes #656

Let's create an issue for the CDP problem.


Program specific combos

I find myself often using the same shortcuts in different programs, but needing different outcomes or not wanting one combo in a specific program. An option to either select/exclude programs for a certain combo or an entire group would be great.

Hi thanks for the suggestion. Unfortunately this will not be implemented.


Add dockerfile

Fixes #47

You could use Dagger to build the Docker image 🤣

but this is so much easier :cry:


Overdiverged and potentially misdated sequences from Italy (Sicily/Campania)

Release date: 2024-01-15
Submitter: Viscardi et al.,
Submitting institution: Istituto Zooprofilattico Sperimentale del Mezzogiorno, Hanimal Health
Country: Italy (Sicily/Campania)
NCBI virus link: https://www.ncbi.nlm.nih.gov/labs/virus/vssi/#/virus?SeqType_s=Nucleotide&VirusLineage_ss=Monkeypox virus, taxid:10244&Authors_idx q.op%3DAND=viscardi&CreateDate_dt=2024-01-09T00:00:00.00Z TO 2024-01-20T23:59:59.00Z
Example Genbank: https://www.ncbi.nlm.nih.gov/nuccore/PP098578
Status: Submitter has been contacted (2024-01-19)

 List of Genbank accessions
PP098578
PP098579
PP098580
PP098581
PP098582
PP098583
PP098584
PP098585
PP098586
PP098587
PP098588
PP098589
PP098590
PP098591
PP098592
PP098593
PP098594
PP098595
PP098596
PP098597
PP098598
PP098599
PP098600
PP098601
PP098602
PP098603
PP098604
PP098605
PP098606
PP098607
PP098608
PP098609
PP098610
PP098611
PP098612
PP098613
PP098614
PP098615
PP098616
PP098617
PP098618
PP098619

I noticed the following potential QC issues with the 42 sequences submitted by Viscardi et al. when compared against the B.1 outbreak reference:

13 sequences are very overdiverged, with 45 to 1450 SNPs
Almost all sequences have frameshifts: OPG029:152-156, OPG047:477-483 caused by a single insertion
All dates are given as 2023-05 which is surprising for the following reasons:

It is long past the epidemic peak in Europe
It seems unlikely that the lab would sequence so many samples from the same month and none for others
Some sequences cluster have very few if any SNPs compared to other sequences from Europe that were collected in summer 2022, suggesting these sequences are also from summer 2022

It's very much possible that the dates are correct as it turned out in #2, the cluster might shown above might be a similar case to that issue.


Reproduce results (DINO) on 10% label data on coco dataset

Hi,
Thank you so much for your amazing work. I reproduce results on 10% label data on coco dataset for DINO network. However i am getting 37.2 mAP on 10% label while your result on paper shows 44.6 mAP on 10% label. Can you elaborate this.
Thanks in advance!

Uploading 20230419_192513.log…

20230419_192513.log

https://huggingface.co/czm369/MixPL/tree/main/mixpl_dino-4scale_r50_90k_coco-s1-p10.py

https://huggingface.co/czm369/MixPL/tree/main/mixpl_dino-4scale_r50_90k_coco-s1-p10.py

Hi,
Your results are amazing! I would appreciate if you could update README.MD file. I used the same file but I am not able to run the DINO model. Also, for the Faster-RCNN, I could not reproduce the results even with different learning rates and batch sizes. Could you please share some more insights like what dataset you used, did you use parallel distributed training?
Thanks,
Bharani.

how to take care this issue: KeyError: 'MixPL is not in the mmdet::model registry.

These is another issue: KeyError: 'AnnealMeanTeacherHook is not in the mmdet::hook registry.


CID Param should take a CID

https://github.com/fission-suite/ipfs-haskell/blob/cb82d52f73514e20444c031c090c258af231e5c3/library/Network/IPFS/Client/Param.hs#L9

Speaking of which, there is a working ipld-cid library on hackage, it would be cool if the CID type from that library could be re-used.

@walkah this also may be a good one for you to get your feet wet with


Add support for submitpackage

This was started already on the old repo (https://github.com/rust-bitcoin/rust-bitcoind-json-rpc/pull/23) but I went and move the repo before it got merged.
Just need to port the PR to this repo for further review.

cc @tnull - the other repo got archived so I can't respond to your question (https://github.com/rust-bitcoin/rust-bitcoind-json-rpc/pull/23#issuecomment-2500081510).


eChecklist Notes repetition

eChecklist notes should have code to squash repeated content.  For example, putting "This is a note" in the eChecklist notes column, importing the eChecklist and then re-exporting - you get one additional instance of the same phrase for each host.  (The title of this bug was from two iterations)
The same goes for pulling in SCC data.  We should never see (SCC) (SCC) (SCC)... - just (SCC).
This could be solved with a simple regex whenever you are adding to the notes - just check to see if the new content is found in the old content.  If so, just leave the note alone.

This is insanely difficult.  I can add a regex that will remove duplicated words, but that would not work for notes like...
This is a note
This is another note
I believe the resulting statement would be...
This is a note
another
eChecklist notes overwrite any existing notes in the finding (line 278 & 317 OR 323).  So cleaning up the notes (after fixing the error in #9) before importing the eChecklist, is the best that we can do short-term.
I would just say we can remove the "(SCC)" text so that it doesn't go in the notes.  We need to figure out a different way of doing notes entirely.  I think we should add a scan_notes and analyst_notes (maybe more) tables that clean this up.

The (SCC) note (1 of them) is actually helpful.
By rights, the notes should be per host, but the eChecklist doesn't lend
itself to that.
You can't turn the string into a regex and match the whole string?  "This[
]is[ ]a[ ]note."  ?  I suppose it's tricky because notes can be multiline
with \n's.
On Tue, Sep 11, 2018 at 2:50 PM Ryan P<EMAIL_ADDRESS>wrote:

This is insanely difficult. I can add a regex that will remove duplicated
words, but that would not work for notes like...
This is a note
This is another note
I believe the resulting statement would be...
This is a note
another
eChecklist notes overwrite any existing notes in the finding (line 278 &
317 OR 323). So cleaning up the notes (after fixing the error in #9
https://github.com/cyberperspectives/sagacity/issues/9) before
importing the eChecklist, is the best that we can do short-term.
I would just say we can remove the "(SCC)" text so that it doesn't go in
the notes. We need to figure out a different way of doing notes entirely. I
think we should add a scan_notes and analyst_notes (maybe more) tables
that clean this up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cyberperspectives/sagacity/issues/10#issuecomment-420420755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aoyyh8W7fEPFFajkisWpeOBZVHqHePQKks5uaCIFgaJpZM4Wjqt3
.

--

Jeff

Jeff Odegard
<EMAIL_ADDRESS>[image: LinkedIn] https://www.linkedin.com/in/jeffodegard/ [image:
Fakebook] https://www.facebook.com/jeff.odegard.98 [image: YouTube]
https://www.youtube.com/user/OdegardOnline

If we split the analyst and scan notes we make the scan notes a comment to the target status (https://phpspreadsheet.readthedocs.io/en/develop/topics/recipes/#add-a-comment-to-a-cell), then the analyst notes would be in the notes column.  To do this though it is going to require a rewrite of parse_excel_echecklist, and /ste/export.php.  Not something I want to tackle now.

I agree that notes requires a redesign.  I was just hoping for something
simple in the short term.
On Tue, Sep 11, 2018 at 3:31 PM Ryan P<EMAIL_ADDRESS>wrote:

If we split the analyst and scan notes we make the scan notes a comment to
the target status (
https://phpspreadsheet.readthedocs.io/en/develop/topics/recipes/#add-a-comment-to-a-cell),
then the analyst notes would be in the notes column. To do this though it
is going to require a rewrite of parse_excel_echecklist, and
/ste/export.php. Not something I want to tackle now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cyberperspectives/sagacity/issues/10#issuecomment-420432706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aoyyh5IGgplypsXHXeleGvxstpapho_zks5uaCvDgaJpZM4Wjqt3
.

--

Jeff

Jeff Odegard
<EMAIL_ADDRESS>[image: LinkedIn] https://www.linkedin.com/in/jeffodegard/ [image:
Fakebook] https://www.facebook.com/jeff.odegard.98 [image: YouTube]
https://www.youtube.com/user/OdegardOnline

I added the following:
if(preg_match("/" . preg_quote($note, "/") . "/", $finding->get_Notes())) {
`$finding->set_Notes($note);`

} else {
`$finding->prepend_Notes($note);`

}
So it will check for the presence of a string that already exists in it's entirety in the existing notes.  If it finds the entire message then it resets the entire message to that, otherwise it prepends it to the notes.
Examples:
Existing note: (SCC)
New note: (SCC)
Final note: (SCC)
Existing note: This is an SCC note
New note: (SCC)
Final note: (SCC) This is an SCC note
Existing note: What to do with (SCC) finding
New note: (SCC)
Final note: (SCC)
I'm doubting this is the preferred behavior.  I could add a check for string length (e.g. if existing note is longer than new note, then don't do anything, etc), or just don't change the note if the entirety of the new note is present in the existing note.

I implemented a fix for this, so you should not get the duplicating notes any more.

Added a add_cell_comment method to export.php today.  This will simply take a worksheet, cell coordinates (A1), and note string and add it as a comment to at the cell coordinates.  I had already added a scan_notes and analyst_notes tables to store these values.  The analysts notes will be put in the cell, and the scanner notes will be put in the "comment" at that cell.  It's going to take a bit more work to pull all of it together, but I've laid the groundwork for now.

Have a little bit of this in place, still need to work in the scan_notes and analyst_notes tables.

I saw some of this in our test results.  Let's leave open and move to 1.4.0  We need to work on the underlying design and figure out how to do this the right way.


face_mesh solution in google colab

Hello
I use face_mesh solution in google colab , i hope i have the triangulation  and UV texture coordinates. Is it possible to do this in colab?

Hi @rachid-bousaid go through this issues #1698, #1155.

which method allows to generate a mesh like this one in colab

MediaPipe face mesh solution API outputs face landmarks. Our simple drawing util is for showing the users how to parse and use the output face landmarks. For your request , you need to follow https://github.com/google/mediapipe/issues/1698#issuecomment-794814532 to implement a custom drawing method.

Hi @rachid-bousaid, Did you get a chance to go through the above comment. Thanks!

Hi @rachid-bousaid, Could you please respond to the above comment.  Thanks!


API refactoring to allow not only multiple inputs but also optional inputs and outputs.

As the API is changing the templated project generation is broken (it picks up the master branch)

Let me merge this to be sure the project generation works.


Add additional validation for size unit

This PR adds additional validation when parsing a size unit.
With this change, when parsing in strict mode an UnexpectedTokenException error will be thrown when an invalid size unit occurs after a number. When in lenient mode, however, if a valid size unit identifier is detected, it will be kept and the proceeding set of characters will be stripped. For example:
| Dimension value | Strict parsing | Lenient parsing
---|---|---|---
Before | 1radsss | 1 rad sss | 1 rad sss
After | 1radsss | UnexpectedTokenException | Value is removed
Also, there is no such unit named turns, but there is one called turn (ref), which I suppose is what was meant here :smile:.

That failing test seems to be unrelated to the change here.

Yeah, if I try validating:
@keyframes spin {
  to {
    transform: rotate(1turns);
  }
}

Then it fails with Unknown dimension: 1turns

@sabberworm Anything else you'd like to see here?

I’m just wondering if we really need to hard-code all possible units. To be future-proof, couldn’t we just parse everything as a unit that looks like a unit?
I don’t know if there are contexts where it’s ambiguous whether a token is a unit or not but I’d think everything that starts with a number is a CSSSize and every token that follows such a number without white-space in between is a unit. Or am I missing something?
I know this implies a less strict validation but the parser was always meant as a parser that checks syntax, not semantics.

I don’t know if there are contexts where it’s ambiguous whether a token is a unit or not but I’d think everything that starts with a number is a CSSSize and every token that follows such a number without white-space in between is a unit.

Yes, you're correct. In this case the parser would be looking for either a dimension (number immediately followed by a unit identifier) or a percentage ( number immediately followed by a percent sign).
Removing the hard-coded units along with the validation of the size unit does seem like the best option here, and if that's the case, it will be a breaking change and a major release would be warranted.

:warning: Rebasing with latest changes from master.


node on windows pauses when more than 3 serialports are open

All,
Windows 10, USB serial hub, node v10.x & v11.x, serialport v1.6.1, I can reproduce a problem when I have 4 serial ports open the node thread will pause for 1 - 2 seconds, which upsets the rest of my program. Have tried multiple older / newer versions of serialport and multiple versions of node but all with the same result. Another user opensourcegeek on gitter has reported a similar problem but has not logged a problem so I thought I would.
I have updated my code to dynamically open/close ports when needed however this workaround also throws intermittent open/close errors (earlier version with ports constantly open worked fine except for the pauses) so I'd be keen to have the original problem of node thread blocking rectified.
I'd be happy to troubleshoot the cause but not sure where to start.

I think this is the same issue as here:
https://github.com/voodootikigod/node-serialport/issues/533#issuecomment-147171966


Serverless anotation return format

I am trying to add my own DL model into CVAT. However, I am encountering a problem. The return value format of the function handler in main.py is not clear for each task. I have looked into the example code in the folder serverless/pytorch and serverless/tensorflow but they do not follow any principle; they are all different from each other.
Can anybody provide me the document for the reuturn JSON format of every task such as detection, segmentation, etc.
I have tried so many ways but none of them seem to work. I always get this error: triggersError": "json: unsupported value: encountered a cycle via *http.http"

Please, refer to #6332


Interface Styles -> High Detail Health bars

Please check if your issue is not a duplicate by searching existing issues
No previous described issue
Describe the bug
A clear and concise description of what the bug is.
After the latest runelite update High Detail health bars no longer show up. The old healthbars show even though the box is ticked and the plugin is activated.
To Reproduce
Steps to reproduce the behavior:

Go to 'Interface Styles'
Click on 'High Detail Health Bars'
See error High Details health bars not showing

Expected behavior
A clear and concise description of what you expected to happen.
The High Detail Health Bar should be showing whenever someone is in combat.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows 10 64bit
RuneLite version: 1.5.26
Launcher version: latest version

Additional context
Add any other context about the problem here, e.g. logs. Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

Jagex changed how default healthbars work, which caused this. A fix is in development

Thank you very much! I just wanted to put it out there, in case you guys didn't know yet :-) Thanks for the fast reply!


Try using Selenium timeout instead of arbitrary sleep for page waits

Believe there is a Selenium timeout setting that you can set as an upper bound, but will otherwise proceed as soon as page load is complete and rendered.  Would speed things up when we start to process more than a handful at a time.

Great suggestion. I did a quick search and it looks like selenium offers implicit & explicit waits
https://selenium-python.readthedocs.io/waits.html
As a quick test, I removed the "time.sleep" methods and no reviews were returned, although it ran much faster. :)
I like the idea of trying the selenium functions.


Migrate to SystemController::Set/GetPlatformController();

Resolves #973

Coverage increased (+0.03%) to 78.588% when pulling f585154cbcde5fed98a6f85185c002ebbb45b156 on default-sys-controller into ed8db5b77dc53fc740c4f3421e8adc4beebf55cf on master.


Transaction behavior with RocksDB

I would like to clarify the behavior of transactions when using the RocksDB storage engine.

We have to catch write conflicts but the documentation doesn't exhibit how to do that. From Foxx, would it be something like:

try {
  my write operation
}
catch (error) {
 if (error.errorNum == 1200) { that's a conflict? }
}

Is there a recommended way to retry conflicts from within Foxx? I guess that retrying right away would have high chances to hit the same conflict?

The documentation states that transactions have a maximum size and will be chunked if they go beyond a threshold; does that mean that those chunked transactions are not ACID?

What are the default values of

--rocksdb.max-transaction-size
--rocksdb.intermediate-commit-size
--rocksdb.intermediate-commit-count

Thanks in advance.

Regarding my second point, would that code be suitable to retry within Foxx?
var internal = require("internal");
function tryInsert(collection, document) {
    var done = false;
    var retries = 0;
    var result = null;
    while (!done && (retries < 10)) {
        try {
            result = collection.insert(document);
            done = true;
        }
        catch (err) {
            if (err.errorNum == 1200) {
                internal.sleep(.2 * retries);
                retries++;
            }
            else {
                throw err;
            }
        }
    }
    if (!done) {
        throw new Error("Could not insert document in collection " + collection._name);
    }
    return result;
}

Hi Thomas,
from my understanding most operations are ACI. If you enable the waitForSync on a collection the operations will become ACID.
This is true as long as the transactions are not split up! Else the atomic trait of the operation is lost and you might end up with parts of a transaction committed to RocksDB.
Your code looks good! I think you can use the try catch because in<EMAIL_ADDRESS>where insert is defined The checkRequestResult function is used that throws an exception, when an error occurred. Still the most general and stable way is to check the result of an operation. Just think about an insert with a list of items (1).
How fast you retry depends on your application. In many cases an exponential backoff or a variant is worth considering.
The default values can be found in arangod/Transaction/Options.cpp
uint64_t Options::defaultMaxTransactionSize = UINT64_MAX;
uint64_t Options::defaultIntermediateCommitSize = 512 * 1024 * 1024;
uint64_t Options::defaultIntermediateCommitCount = 1 * 1000 * 1000;

(1) insert with list of documents
<IP_ADDRESS>:5555@_system> db.test.insert([{},{}])
[
  {
    "_id" : "test/101",
    "_key" : "101",
    "_rev" : "_Vc-8tui---"
  },
  {
    "_id" : "test/102",
    "_key" : "102",
    "_rev" : "_Vc-8tui--_"
  }
]
<IP_ADDRESS>:5555@_system> try { db.test.insert([{},{"_key":"101"}]) } catch(e) { print(e) }
[
  {
    "_id" : "test/106",
    "_key" : "106",
    "_rev" : "_Vc_-Fie---"
  },
  {
    "error" : true,
    "errorNum" : 1210,
    "errorMessage" : "unique constraint violated"
  }
]

Hi Jan,
Thanks a lot for your answer. So if I try to map that to my initial questions:

It's the right way to catch it - keeping in mind the case when you insert / update multiple documents at once.
My code snippet looks fine and could be improved with exponential backoff.
When using RocksDB, there is a risk that transactions get chunked and are not ACID anymore in that situation, i.e. only part of the transaction may be committed but not the rest (I think that should be stated in the documentation).
Default values are pretty high:

max-transaction-size is basically infinite!
intermediate-commit-size = 512KB
intermediate-commit-count = 1 million

Hi Thomas,

As long as you insert single documents try/catch is OK. If you pass arrays you MUST check the result.
You could try some sort of backoff, if you have some means to check within your applications that there are no concurrent writes you should use that special knowledge.
Correct with intermediate commits the atomicity and therefore the AICD is lost.

Wanted to leave a small note for others in case they stumble on this ticket looking for the RocksDB transaction settings defaults.
It appears the default for intermediate-commit-size is actually 512 MiB, not 512KiB as stated above (which had me a bit worried).
https://github.com/arangodb/arangodb/blob/511315c5000770f142f6861481811852261b9eb3/arangod/Transaction/Options.cpp#L34-L36
Thanks for all the thoughtful comments above, very helpful!

Wanted to leave a small note for others in case they stumble on this ticket looking for the RocksDB transaction settings defaults.
It appears the default for intermediate-commit-size is actually 512 MiB, not 512KiB as stated above (which had me a bit worried).
https://github.com/arangodb/arangodb/blob/511315c5000770f142f6861481811852261b9eb3/arangod/Transaction/Options.cpp#L34-L36
Thanks for all the thoughtful comments above, very helpful!


fix(explore): datasource_type typo

fix(explore): datasource_type typo
SUMMARY

Fixing datasource_type variable name in exploreUtils to recognise the dataset type when adding a new chart (for example)...(missing datasource error occured before the fix)
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@villebro Thanks for your review... description added


README.md error

The readme.md example contains an error @ ln19.
I suggest replacing ln19-20 with the following:
var sprite = require('png-sprite').Sprite;
var sprite = new Sprite();

Indeed, I've fixed that. Thanks for the report!


"Getting started" questions

Hi there,
I just started working with GraphQL in Go. I have read the API docs and some examples. Still, I'm stuck with some things.
Given the following schema, I have a few questions:

How is it possible to have both field and method names for a specific type ? Name, Age are both field and method. What is your workaround about this ?
Why the Age method works fine with pointer whereas the Name method does not ?
Is there a way to automatically return Name and Age from the User type without writing a method for each of them ?
How do you handle *.graphql files loading ? Having a single string is a bit annoying.
How do you handle depth limiting and other security guidelines ?

package project

import (
	"context"
)

var Schema = `
	schema {
		query: Query
	}

	type Query {
		user(id: ID!): User
	}

	type User {
		name: String!
		age: Int
		isAdmin: Boolean!
	}
`

type Resolver struct{}

type User struct {
	Name string
	Age int32
}

func (r *Resolver) User(ctx context.Context, args struct{ ID int32 }) (*User, error) {
	return &User{
		Name: "foo",
		Age: 25,
	}, nil
}

func (u *User) Name(ctx context.Context) string {
	return u.Name
}

func (u *User) Age(ctx context.Context) *int32 {
	return &u.Age
}

func (u *User) IsAdmin(ctx context.Context) bool {
	return false
}

Thank you for your time and support.

Add new struct "UserResolver" with "User"

type User struct {
	Name string
	Age int32
}

type UserResolver struct {
	User *User
}
...
func (u *UserResolver) Name(ctx context.Context) string {
	return u.User.Name
}
...

http://graphql.org/learn/schema/

name: String! (Non-Null string)
var Schema = `
...
	type User {
		name: String!
		...
	}
`
...
func (u *User) Name(ctx context.Context) string {
	...
}

name: String (can be Null)
var Schema = `
...
	type User {
		name: String
		...
	}
`
...
func (u *User) Name(ctx context.Context) *string {
	...
}

No, but you can use generators

Using the self-written methods allows you to make the necessary calculations only when you ask for the required field.

ResolveImage
...
func (r *ImageResolver) Votes(ctx context.Context) (*ImageVoteResolver, error) {
	return ResolveImageVote(ctx, r.Image.ID) // Request to the database only if we request the field "Votes"
}
...

ResolveImageVote
...
func (r *ImageVoteResolver) Up() int32 {
	return int32(r.ImageVote.Plus)
}

func (r *ImageVoteResolver) Down() int32 {
	return int32(r.ImageVote.Minus)
}

func (r *ImageVoteResolver) Favorite() int32 {
	return int32(r.ImageVote.Plus)
}

func (r *ImageVoteResolver) Count() int32 {
	return int32(r.ImageVote.Plus + r.ImageVote.Minus) // calculations
}

func (r *ImageVoteResolver) Score() int32 {
	return int32(r.ImageVote.Plus - r.ImageVote.Minus) // calculations
}
...

Thank you for your help @GhostRussia. I just tested your solutions and it works as expected.
Regarding the question 4, I found related issues such as #160.


overriding the popover data attribute styles with a class

I've come across an interesting problem for the popover api, we have styles provided by the user agent stylesheet (browser) for the native API. For unsupported browsers we're using the polyfill, but from what I understand it makes use of a data attribute.
Data attributes in turn have the same specificity as a class. What this means, is that for unsupported browsers the user cannot override styles declared by the stylesheet unless it's an inline style or !important.
I had considered using @layer, but it doesn't seem like I can control that when making a generic popover component. Any ideas?

Ah I figured it out. Polyfill styles need to be at appended at the beginning of the head so that classes can override them in the cascade
 document.head.insertBefore(styleNode, document.head.firstChild);


H2O on GPU fails with ResponseError

Hi,
I run demo from https://github.com/h2oai/perf/blob/master/gtc/Multi-GPU-H2O-GBM.ipynb
OS Rhel 7.2
Installed from link from README - http://s3.amazonaws.com/h2o-deepwater/public/nightly/latest/h2o-3.13.0-py2.py3-none-any.whl
Python 3.5
CUDA 8
GPU: 2x Tesla K80
CPU: CPU Model: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
RAM: 504GB
I initialzed LD_LIBRARY_PATH and PATH variables to point to CUDA-8.0, OpenBLAS.
Here's the error:
Training H2O XGBoost model with depth= 6 sample_rate= 1.0 on GPU 0
Unexpected error: <class 'h2o.exceptions.H2OResponseError'>
For CPU, computations were done successfully.
OptionsAttachments

@PlayMen my initial guess would be, like in your other issue it's something to do with us building it on Ubuntu16.04 and you running it on RHEL 7.
But to be sure could you share the H2O logs? When the notebook runs h2o.connect(ip='localhost',port=54321,verbose=False) it should show you H2O connection url:, you can get the logs from there (http://docs.h2o.ai/h2o/latest-stable/h2o-docs/logs.html).

Hi,
H2O connection url:         http://<IP_ADDRESS>:54321
I tried to get logs with python command
h2o.download_all_logs(dirname='./your_directory_name/', filename = 'autoh2o_log.zip')
But it gave me an empty folder. I tried to call it at the end of my python script and inside runH2OXGBoost() method, but I got same result. folder /tmp/h2o- was not created.

Hi,
I managed to obtain the logs.
h2o_<IP_ADDRESS>_54321-3-info.log
h2o_<IP_ADDRESS>_54321-4-warn.log
h2o_<IP_ADDRESS>_54321-5-error.log
h2o_<IP_ADDRESS>_54321-httpd.log
envinronment:
export CUDA_PATH=/usr/local/cuda-8.0/
export LD_LIBRARY_PATH=$CUDA_PATH/lib64:$LD_LIBRARY_PATH
and PATH to python 3.5

Another information - from JVM ERR output
[05:25:42] dmlc-core/include/dmlc/./logging.h:300: [05:25:42] src/tree/tree_updater.cc:18: Unknown tree updater grow_gpu_hist
Stack trace returned 7 entries:
[bt] (0) /tmp/libxgboost4j3779472714376306033.so(_ZN7xgboost11TreeUpdater6CreateERKSs+0x3ff) [0x2b6907a8a44f]
[bt] (1) /tmp/libxgboost4j3779472714376306033.so(_ZN7xgboost3gbm6GBTree11InitUpdaterEv+0x1dc) [0x2b6907a2670c]
[bt] (2) /tmp/libxgboost4j3779472714376306033.so(_ZN7xgboost3gbm6GBTree13BoostNewTreesERKSt6vectorINS_9bst_gpairESaIS3_EEPNS_7DMatrixEiPS2_ISt10unique_ptrINS_7RegTreeESt14default_deleteISB_EESaISE_EE+0x3d) [0x2b6907a2f46d]
[bt] (3) /tmp/libxgboost4j3779472714376306033.so(_ZN7xgboost3gbm6GBTree7DoBoostEPNS_7DMatrixEPSt6vectorINS_9bst_gpairESaIS5_EEPNS_11ObjFunctionE+0xb70) [0x2b6907a318c0]
[bt] (4) /tmp/libxgboost4j3779472714376306033.so(_ZN7xgboost11LearnerImpl13UpdateOneIterEiPNS_7DMatrixE+0x22b) [0x2b69079832bb]
[bt] (5) /tmp/libxgboost4j3779472714376306033.so(XGBoosterUpdateOneIter+0x27) [0x2b6907989ab7]
[bt] (6) [0x2b6804017774]

@mdymczyk, could you tell if logs helped to find the core of issue?

@PlayMen it looks like the GPU library isn't being loaded properly. I think I've mentioned this before but XGBoost integration has been moved to our core project github.com/h2oai/h2o-3 - you'll have more luck asking there.

Ok. @mdymczyk, I see the proble is that it tries to find libxgboost4j.so but cannot find.
Is it correct that xgboost GPU is called underneath and I can see same performance like if I've used xgboost?


Using emulator's CLI with zsh shell installed

Description
Just wanna tell that you can't use the emulator's functions command if you're using zsh as your main shell. Since the emulator's functions command is in conflict with zsh's functions
Solution
You can switch the shell back to bash temporarily:
Switch to bash:
exec bash
Switch back to zsh:
exec zsh
Thanks,

zsh is so common these days, poor support from Google calling a global module with the name functions.
Such a generic name, why not gfunctions ?
calling any global command with such a commonly used phrase is bad practice, not like google tbh.
Hopefully the change it sometime soon.

Duplicate of #29.
Solution
Use functions-emulator instead.
Since 1.0.0-alpha.1 the Emulator has shipped with a second alternative binary (functions-emulator) to avoid name conflicts with functions.


[Bug]: Internal Exception: javalangArrayIndexOutOfBoundsException

General Info

[X] I didn't added any mods
[X] I get this issue consistently in single-player
[X] I get this issue consistently in multi-player
[x] I am crashing and can provide my crash report(s)
[X] I am using the latest version of the modpack

Your launcher
Curseforge
Modpack version
1.0.1
Describe your issue
Whenever the singleplayer world is opened to LAN, players get the following error when joining. This is on a fresh world with no modifications to the world settings.

Steps to reproduce the issue

Create a new world
Open world to lan
Have another player attempt to join

Additional Information
latest.log
log file from client starting and connecting

[not affiliated with the pack, just trying to help] I don't think the log will help, there's nothing except this to help diagnose:
# at line 3024
[14:31:33] [Netty Client IO #0/WARN]: Packet not registered: ClientboundDisconnectPacket
[14:31:33] [Netty Client IO #0/WARN]: Packet:ClientboundDisconnectPacket
[14:31:33] [Netty Client IO #0/WARN]: Packet data:
{
  "f_132075_": {
    "f_237194_": {
      "f_237497_": "disconnect.genericReason",
      "f_237498_": [
        "Internal Exception: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0"
      ],
      "f_237500_": []
    },
    "f_237195_": [],
    "f_237196_": {},
    "f_237197_": {}
  }
}


Ability to spawn multiple ptys

Hi, I would love to have the ability to spawn multiple ptys, so I can run different commands in each.
My goal is to implement a job runner, where you can easily switch between different jobs to see their output, while they are all running simultaneously.
I guess the limitation currently is the hard coded pty name of /dev/ptmx?

Oh ok, so let me fiddle with that a bit more.
I'm basically trying to create something like https://github.com/pvolok/mprocs.

Yes, it does work! Thank you, I just didn't understand the code corretly


Feat/animations with framer

address (will be) : svyu.github.io/react_master_class/#/animations_with_framer
TODO:

code refactoring
make root page
make code sandbox environment and transfer codes and check/confirm and submit links

go x 3 !


Log warning when failing to find start or end

Currently, if a start or end delimiter is not detected, the include tag silently handles this. This really ought to be logged via warning.

Thank you!

Looks like the latest version no longer warns on missing delimiters. Was this an intentional removal?
If not, sounds like a regression test might be needed.

I'm pretty sure that #177 will fix the problem, but to be totally sure... could you give a try to the branch regression-92?
You can install it with python3 -m pip install git+https://github.com/mondeja/mkdocs-include-markdown-plugin@regression-92

Confirmed that branch fixes the regression.

Released in v6.0.1.

Thanks for the fix!
This really is an excellent plugin, definitely deserves more attention.


fix(doc): Fix typo on "Push to GitHub Container Registry"

@yyvess could you please port the fixes here too, https://github.com/stefanprodan/timoni/blob/main/docs/cue/module/github-actions.md
Thank you!

@stefanprodan You point the file that I am modified modify ;-)

There are 2 files, one in the docs root and one in docs/cue/module


Get 404 for latest java 8

Hi,
running the role and configuring it for java 8 gets me this:
TASK [srsp.oracle-java : get JDK tarball (as tar.gz file)] ********************************************************************************************************************************************************
fatal: [dev-testuser1]: FAILED! => {"changed": false, "dest": "/tmp/jdk-8u172-linux-x64.tar.gz", "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "http://download.oracle.com/otn-pub/java/jdk/8u172-b11/a58eab1ec242421181065cdc37240b08/jdk-8u172-linux-x64.tar.gz"}

Forget this.
Thx


Colon in event name

Prefix before colon is stripped out of the event name during ng-docs generation.
For example
/**
 * @ngdoc event
 * @name my-prefix:my-event
 * @eventOf myModule.controller:myController
 * @eventType broadcast
 */
$scope.$broadcast('my-prefix:my-event');

produces event called my-event instead of my-prefix:my-event.

Workaround is to use unicode square colon ꞉ :smile:


Can vcr be used with doctests?

Yeah, but you have to use a pytest yield fixture

https://docs.pytest.org/en/latest/doctest.html

Gitter is probably the best place for these sorts of questions https://gitter.im/kevin1024/vcrpy