Methods are Inferred as Variables

Environment data

Language Server version: 2022.9.40
OS and version: Windows_NT x64 10.0.19044
Python version (& distribution if applicable, e.g. Anaconda): 3.9.13 (using venv)

Code Snippet

import numpy as np
# numpy version is 1.23.3

arr = np.random.random((3,3,3))

Repro Steps

Create a test.py file;
Write the above codes;
Issue occurs. (Indeed methods in Python are also objects, so I'm not sure whether this is an issue or a feature to be improved)

Expected behavior
random should be inferred as a "method".
Because when ctrl-clicking random, which goes to the definition, the following is shown. And clearly random should also be a "method" as _rand.random.

Actual behavior
random is inferred as a "variable" as shown below.

Logs

[Info  - 6:36:06 PM] (26472) Pylance language server 2022.9.40 (pyright 9fd1b94c) starting
[Info  - 6:36:06 PM] (26472) Server root directory: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist
[Info  - 6:36:06 PM] (26472) Starting service instance "course"
[Info  - 6:36:06 PM] (26472) Starting service instance "Coursera1"
[Info  - 6:36:06 PM] (26472) Starting service instance "numpy-100"
[Info  - 6:36:06 PM] (26472) Notebook support: LSP
[Info  - 6:36:06 PM] (26472) Interactive window support: LSP
[Info  - 6:36:06 PM] (26472) No configuration file found.
[Info  - 6:36:06 PM] (26472) No pyproject.toml file found.
[Info  - 6:36:06 PM] (26472) Setting pythonPath for service "course": "d:\workspace\COMP4211\course\.venv\Scripts\python.exe"
[Warn  - 6:36:06 PM] (26472) stubPath d:\workspace\COMP4211\course\typings is not a valid directory.
[Info  - 6:36:06 PM] (26472) Assuming Python version 3.9
[Info  - 6:36:06 PM] (26472) Assuming Python platform Windows
[Info  - 6:36:07 PM] (26472) Search paths for d:\workspace\COMP4211\course
[Info  - 6:36:07 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\course
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\course\typings
[Info  - 6:36:07 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stubs\...
[Info  - 6:36:07 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\bundled\stubs
[Info  - 6:36:07 PM] (26472)   c:\Program_Files\Python39\DLLs
[Info  - 6:36:07 PM] (26472)   c:\Program_Files\Python39\Lib
[Info  - 6:36:07 PM] (26472)   c:\Program_Files\Python39
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\course\.venv
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\course\.venv\Lib\site-packages
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\course\.venv\Lib\site-packages\win32
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\course\.venv\Lib\site-packages\win32\lib
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\course\.venv\Lib\site-packages\pythonwin
[Info  - 6:36:07 PM] (26472) Adding fs watcher for library directories:
 C:\Program_Files\Python39\DLLs
C:\Program_Files\Python39\lib
C:\Program_Files\Python39
d:\workspace\COMP4211\course\.venv
d:\workspace\COMP4211\course\.venv\lib\site-packages
d:\workspace\COMP4211\course\.venv\lib\site-packages\win32
d:\workspace\COMP4211\course\.venv\lib\site-packages\win32\lib
d:\workspace\COMP4211\course\.venv\lib\site-packages\Pythonwin
[Info  - 6:36:07 PM] (26472) Adding fs watcher for directories:
 d:\workspace\COMP4211\course
[Info  - 6:36:07 PM] (26472) Searching for source files
[Info  - 6:36:07 PM] (26472) Found 1 source file
[Info  - 6:36:07 PM] (26472) Background analysis(3) root directory: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist
[Info  - 6:36:07 PM] (26472) Background analysis(3) started
[Info  - 6:36:07 PM] (26472) Background analysis(1) root directory: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist
[Info  - 6:36:07 PM] (26472) Background analysis(1) started
(26472) Background analysis message: setConfigOptions
(26472) Background analysis message: setImportResolver
(26472) Background analysis message: ensurePartialStubPackages
[Info  - 6:36:07 PM] (26472) Background analysis(2) root directory: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist
[Info  - 6:36:07 PM] (26472) Background analysis(2) started
[Info  - 6:36:07 PM] (26472) No configuration file found.
[Info  - 6:36:07 PM] (26472) No pyproject.toml file found.
[Info  - 6:36:07 PM] (26472) Setting pythonPath for service "Coursera1": "d:\workspace\COMP4211\Coursera1\.venv\Scripts\python.exe"
[Warn  - 6:36:07 PM] (26472) stubPath d:\workspace\COMP4211\Coursera1\typings is not a valid directory.
[Info  - 6:36:07 PM] (26472) Assuming Python version 3.9
[Info  - 6:36:07 PM] (26472) Assuming Python platform Windows
[Info  - 6:36:07 PM] (26472) Search paths for d:\workspace\COMP4211\Coursera1
[Info  - 6:36:07 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\Coursera1
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\Coursera1\typings
[Info  - 6:36:07 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stubs\...
[Info  - 6:36:07 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\bundled\stubs
[Info  - 6:36:07 PM] (26472)   c:\Program_Files\Python39\DLLs
[Info  - 6:36:07 PM] (26472)   c:\Program_Files\Python39\Lib
[Info  - 6:36:07 PM] (26472)   c:\Program_Files\Python39
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\Coursera1\.venv
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\Coursera1\.venv\Lib\site-packages
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\Coursera1\.venv\Lib\site-packages\win32
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\Coursera1\.venv\Lib\site-packages\win32\lib
[Info  - 6:36:07 PM] (26472)   d:\workspace\COMP4211\Coursera1\.venv\Lib\site-packages\pythonwin
[Info  - 6:36:08 PM] (26472) Adding fs watcher for library directories:
 C:\Program_Files\Python39\DLLs
C:\Program_Files\Python39\lib
C:\Program_Files\Python39
d:\workspace\COMP4211\Coursera1\.venv
d:\workspace\COMP4211\Coursera1\.venv\lib\site-packages
d:\workspace\COMP4211\Coursera1\.venv\lib\site-packages\win32
d:\workspace\COMP4211\Coursera1\.venv\lib\site-packages\win32\lib
d:\workspace\COMP4211\Coursera1\.venv\lib\site-packages\Pythonwin
[Info  - 6:36:08 PM] (26472) Adding fs watcher for directories:
 d:\workspace\COMP4211\Coursera1
[Info  - 6:36:08 PM] (26472) Searching for source files
[Info  - 6:36:08 PM] (26472) Found 60 source files
[Info  - 6:36:08 PM] (26472) No configuration file found.
[Info  - 6:36:08 PM] (26472) No pyproject.toml file found.
[Info  - 6:36:08 PM] (26472) Setting pythonPath for service "numpy-100": "d:\workspace\COMP4211\numpy-100\.venv\Scripts\python.exe"
[Warn  - 6:36:08 PM] (26472) stubPath d:\workspace\COMP4211\numpy-100\typings is not a valid directory.
[Info  - 6:36:08 PM] (26472) Assuming Python version 3.9
[Info  - 6:36:08 PM] (26472) Assuming Python platform Windows
[Info  - 6:36:08 PM] (26472) Search paths for d:\workspace\COMP4211\numpy-100
[Info  - 6:36:08 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib
[Info  - 6:36:08 PM] (26472)   d:\workspace\COMP4211\numpy-100
[Info  - 6:36:08 PM] (26472)   d:\workspace\COMP4211\numpy-100\typings
[Info  - 6:36:08 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stubs\...
[Info  - 6:36:08 PM] (26472)   d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\bundled\stubs
[Info  - 6:36:08 PM] (26472)   c:\Program_Files\Python39\DLLs
[Info  - 6:36:08 PM] (26472)   c:\Program_Files\Python39\Lib
[Info  - 6:36:08 PM] (26472)   c:\Program_Files\Python39
[Info  - 6:36:08 PM] (26472)   d:\workspace\COMP4211\numpy-100\.venv
[Info  - 6:36:08 PM] (26472)   d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages
[Info  - 6:36:08 PM] (26472)   d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\win32
[Info  - 6:36:08 PM] (26472)   d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\win32\lib
[Info  - 6:36:08 PM] (26472)   d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\pythonwin
[Info  - 6:36:08 PM] (26472) Adding fs watcher for library directories:
 C:\Program_Files\Python39\DLLs
C:\Program_Files\Python39\lib
C:\Program_Files\Python39
d:\workspace\COMP4211\numpy-100\.venv
d:\workspace\COMP4211\numpy-100\.venv\lib\site-packages
d:\workspace\COMP4211\numpy-100\.venv\lib\site-packages\win32
d:\workspace\COMP4211\numpy-100\.venv\lib\site-packages\win32\lib
d:\workspace\COMP4211\numpy-100\.venv\lib\site-packages\Pythonwin
[Info  - 6:36:08 PM] (26472) Adding fs watcher for directories:
 d:\workspace\COMP4211\numpy-100
[Info  - 6:36:08 PM] (26472) Searching for source files
[Info  - 6:36:08 PM] (26472) Found 3 source files
(26472) [IDX(FG)] index libraries d:\workspace\COMP4211\numpy-100 (index) ...
(26472) [IDX(FG)]   read stdlib indices (33ms)
(26472) [IDX(FG)] index libraries d:\workspace\COMP4211\numpy-100 (index) [succeed] (34ms)
(26472) [FG] parsing: d:\workspace\COMP4211\numpy-100\test.py (27ms)
(26472) [FG] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 4ms] (114ms)
(26472) [FG] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\builtins.pyi (50ms)
(26472) [FG] binding: d:\workspace\COMP4211\numpy-100\test.py (0ms)
(26472) Background analysis message: setTrackedFiles
(26472) Background analysis message: markAllFilesDirty
(26472) Background analysis message: analyze
(26472) Background analysis message: setConfigOptions
(26472) Background analysis message: setImportResolver
(26472) Background analysis message: ensurePartialStubPackages
(26472) Background analysis message: setTrackedFiles
(26472) Background analysis message: markAllFilesDirty
(26472) Background analysis message: analyze
(26472) Background analysis message: setConfigOptions
(26472) Background analysis message: setImportResolver
(26472) Background analysis message: ensurePartialStubPackages
(26472) Background analysis message: setTrackedFiles
(26472) Background analysis message: markAllFilesDirty
(26472) Background analysis message: setFileOpened
(26472) Background inlayHint message
(26472) [BG(3)] parsing: d:\workspace\COMP4211\numpy-100\test.py (35ms)
[Info  - 6:36:08 PM] (26472) SourceFile: Received fs event 'change' for path 'd:\workspace\COMP4211\course\.git\FETCH_HEAD'
(26472) [BG(3)] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 3ms] (141ms)
(26472) [BG(3)] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\builtins.pyi (49ms)
(26472) [BG(3)] binding: d:\workspace\COMP4211\numpy-100\test.py (0ms)
(26472) [BG(3)] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing.pyi [fs read 2ms] (38ms)
(26472) [BG(3)] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing.pyi (9ms)
(26472) [BG(3)] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing_extensions.pyi [fs read 0ms] (5ms)
(26472) [BG(3)] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing_extensions.pyi (3ms)
(26472) [BG(3)] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi [fs read 1ms] (21ms)
(26472) [BG(3)] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi (3ms)
(26472) [BG(3)] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\abc.pyi [fs read 1ms] (2ms)
(26472) [BG(3)] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\abc.pyi (1ms)
(26472) [BG(3)] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\__init__.pyi [fs read 2ms] (268ms)
(26472) [BG(3)] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\__init__.pyi (57ms)
[Info  - 6:36:09 PM] (26472) SourceFile: Received fs event 'change' for path 'd:\workspace\COMP4211\Coursera1\.git\FETCH_HEAD'
[Info  - 6:36:09 PM] (26472) SourceFile: Received fs event 'change' for path 'd:\workspace\COMP4211\numpy-100\.git\FETCH_HEAD'
(26472) [BG(3)] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\__init__.pyi [fs read 1ms] (36ms)
(26472) [BG(3)] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\__init__.pyi (1ms)
(26472) [BG(3)] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\mtrand.pyi [fs read 1ms] (9ms)
(26472) [BG(3)] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\mtrand.pyi (6ms)
(26472) [BG(3)] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\__init__.py [fs read 1ms] (13ms)
[Info  - 6:36:09 PM] (26472) Could not resolve source for '._ufunc' in file 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\__init__.py'
[Info  - 6:36:09 PM] (26472)   Attempting to resolve relative import
[Info  - 6:36:09 PM] (26472)   Attempting to resolve using root path 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing'
[Info  - 6:36:09 PM] (26472)   Resolved import with file 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\_ufunc.pyi'
[Info  - 6:36:09 PM] (26472)   Attempting to resolve using root path 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing'
(26472) [BG(3)] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\__init__.py (1ms)
(26472) [BG(3)] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\_shape.py [fs read 0ms] (2ms)
(26472) [BG(3)] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\_shape.py (0ms)
(26472) [BG(3)] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\core\overrides.py [fs read 1ms] (17ms)
(26472) [BG(3)] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\core\overrides.py (2ms)
(26472) [BG(3)] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\collections\abc.pyi [fs read 0ms] (0ms)
(26472) [BG(3)] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\collections\abc.pyi ...
(26472) [BG(3)]   parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\_collections_abc.pyi [fs read 0ms] (2ms)
(26472) [BG(3)]   binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\_collections_abc.pyi (1ms)
(26472) [BG(3)] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\collections\abc.pyi (4ms)
(26472) Background analysis message: getSemanticTokens full
(26472) [BG(3)] getSemanticTokens full at d:\workspace\COMP4211\numpy-100\test.py (4ms)
(26472) Background analysis message: analyze
(26472) [BG(3)] analyzing: d:\workspace\COMP4211\numpy-100\test.py ...
(26472) [BG(3)]   checking: d:\workspace\COMP4211\numpy-100\test.py (5ms)
(26472) [BG(3)] analyzing: d:\workspace\COMP4211\numpy-100\test.py (6ms)
(26472) Background analysis message: getSemanticTokens range
(26472) [BG(3)] getSemanticTokens range 0:0 - 3:0 at d:\workspace\COMP4211\numpy-100\test.py (1ms)
(26472) Background analysis message: resumeAnalysis
(26472) Loading ONNX runtime...
(26472) Loaded ONNX runtime. Creating IntelliCode session...
(26472) Created IntelliCode session.
(26472) Initialize deeplearning succeeded
(26472) Created IntelliCode session.
(26472) Initialize deeplearning succeeded
(26472) [FG] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing.pyi [fs read 2ms] (46ms)
(26472) [FG] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing.pyi (8ms)
(26472) [FG] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing_extensions.pyi [fs read 1ms] (4ms)
(26472) [FG] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\typing_extensions.pyi (3ms)
(26472) [FG] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi [fs read 1ms] (9ms)
(26472) [FG] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi (3ms)
(26472) [FG] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\abc.pyi [fs read 0ms] (1ms)
(26472) [FG] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\typeshed-fallback\stdlib\abc.pyi (1ms)
(26472) [FG] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\__init__.pyi [fs read 1ms] (219ms)
(26472) [FG] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\__init__.pyi (37ms)
(26472) [FG] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\__init__.pyi [fs read 0ms] (33ms)
(26472) [FG] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\__init__.pyi (1ms)
(26472) [FG] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\mtrand.pyi [fs read 1ms] (10ms)
(26472) [FG] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\random\mtrand.pyi (11ms)
(26472) [FG] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\__init__.py [fs read 1ms] (10ms)
[Info  - 6:36:13 PM] (26472) Could not resolve source for '._ufunc' in file 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\__init__.py'
[Info  - 6:36:13 PM] (26472)   Attempting to resolve relative import
[Info  - 6:36:13 PM] (26472)   Attempting to resolve using root path 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing'
[Info  - 6:36:13 PM] (26472)   Resolved import with file 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\_ufunc.pyi'
[Info  - 6:36:13 PM] (26472)   Attempting to resolve using root path 'd:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing'
(26472) [FG] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\__init__.py (0ms)
(26472) [FG] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\_shape.py [fs read 0ms] (0ms)
(26472) [FG] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\_typing\_shape.py (0ms)
(26472) [FG] parsing: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\core\overrides.py [fs read 0ms] (15ms)
(26472) [FG] binding: d:\workspace\COMP4211\numpy-100\.venv\Lib\site-packages\numpy\core\overrides.py (1ms)
(26472) [FG] parsing: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\bundled\native-stubs\numpy\random\mtrand.pyi [fs read 1ms] (42ms)
(26472) [FG] binding: d:\yzhao\.vscode\extensions\ms-python.vscode-pylance-2022.9.40\dist\bundled\native-stubs\numpy\random\mtrand.pyi (1ms)
(26472) Background inlayHint message

In the hover text, the initial text in parentheses indicates the declaration type of the symbol in question, and the evaluated type of that symbol is displayed next.
In your example, the symbol random is declared as a variable, not a method. So pylance is correct to display (variable) here. Variable declarations take the form x = <expression>. Function declarations take the form def x(<param list) .... Method declarations are function declarations nested within a class declaration.
The variable random happens to be assigned a value that is a method, so the inferred type of random is a function (in this case an overloaded function that has multiple signatures). That's why you see the type random(size: None = ...) -> float ... displayed within the hover text.

But is it possible to make some optimization for variables that are actually methods?

The symbol random is not a method. It's a variable. It happens to receive a value through an assignment statement, and the expression assigned to it happens to evaluate to a method type. But that doesn't change the fact that random is a variable. So it would be inappropriate and inconsistent to display it as a method.
Even if this weren't a consistency issue, there's a major implementation hurdle that would prevent pylance from indicating that random is a method within the completion suggestion list. The full list of completion suggestions is built prior to any type evaluation. The symbol category for each completion suggestion (which dictates which icon you see to the left of the item in the pop-up menu) is based entirely on the symbol's declaration, not on its type. The declaration form is cheap to determine, whereas the type can be very expensive to evaluate. For that reason, the type is resolved only once you select that item from the menu. If we were to evaluate the types of every symbol before displaying the completion suggestion list, you'd often need to wait for multiple seconds for the popup to appear. That would destroy the user experience.

@erictraut Thanks for the elaboration! I agree with you :)


Fix spelling of symfony

Coverage remained the same at 100.0% when pulling 3565ddb1331fb905897a96504cf5908cede9c76c on harikt:patch-1 into d29bcffd0d9cd7c1d99c6c5f64e0cbcbd9fd6ad2 on soliantconsulting:develop.


Update zio, zio-streams to 2.1.3

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-streams

from 2.0.22 to 2.1.3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #390.


Video Output Settings

Hi,
I'm looking to get the "HDMI Video Output" setting - e.g. Monitor1, Monitor2, Auto(Dual). This seems to come from the AppCommand0300.xml interface using the "GetVideoInfo" command, similar to the Audyssey settings. I've been looking at the code in this repository trying to figure this out. So far, adapting from your test script:
def create_body():
    body = BytesIO()

    post_root = ET.Element("tx")
    item = ET.Element("cmd")
    item.set("id", "3")

    command_name = ET.Element("name")
    command_name.text = "GetVideoInfo"

    param_list = ET.Element("list")
    for param_name in ["videooutput", "hdmisigin", "hdmisigout"]:
        prm = ET.Element("param")
        prm.set("name", param_name)
        param_list.append(prm)

    item.append(command_name)
    item.append(param_list)
    post_root.append(item)

    post_tree = ET.ElementTree(post_root)
    post_tree.write(body, encoding="utf-8", xml_declaration=True)

    body_bytes = body.getvalue()
    body.close()
    return body_bytes

if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('--host', type=str,
                        default='<IP_ADDRESS>',
                        help='host of Denon AVR receiver')
    args = parser.parse_args()
    data = create_body()
    r = requests.post("http://{host}:{port}/{path}".format(host=args.host, port="8080", path="/goform/AppCommand0300.xml"), data=data)
    with open("./VideoInfo.xml", "wb") as file:
        file.write(r.content)

gives:
<?xml version="1.0" encoding="utf-8" ?>
<rx>
<cmd>
<name>GetVideoInfo</name>
<list>
<param name="videooutput" control="1">Monitor 1</param>
<param name="hdmisigin" control="1"> --- </param>
<param name="hdmisigout" control="1"> --- </param>
</list>
</cmd>
</rx>

Is it possible to get this information from the existing implementation or will it require an additional AppCommandCmd implementation similar to that in audyssey.py?
The video output information would be useful to me in home assistant so that I can trigger certain actions based on its current status and when it changes (e.g. sending IR commands to control a projector and screen when it changes to Monitor2)
NB I am currently able to change the video output settings in the "app direct" interface using the telnet commands VSMONI1, VSMONI2, VSMONIAUTO. e.g. calling "/goform/formiPhoneAppDirect.xml?VSMONI1" from a home assistant button action

:(


docs(dev-mode): removing outdated documentation

PR Checklist

[x] Leverages formatting as provided by https://squidfunk.github.io/mkdocs-material/reference/abbreviations/
[x] Have viewed and verified edits in rendered form ensuring proper formatting

What are you changing?

Removed the following files:

Local directory
installMPS.md
installRPS.md
overview.md
allowlist.md

Anything the reviewer should know when reviewing this PR?

@matt-primrose I think you overwrote your initial commit.  I don't see any of the main files listed in the commit diff.  Also, the blurb on the index.html page about local microservices needs to go as well when these files do.


Use DNS server for showing master IP addresses instead of virsh

On baremetal the DHCP server running on the baremetal network
is external to the provisioning host so 'virsh net-dhcp-leases'
won't show the IP addresses of the master nodes. We can instead
obtain the IP addresses from the DNS server running on the bootstrap
VM.

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/402/

No longer needed. Changes were addressed in https://github.com/openshift-metalkube/dev-scripts/commit/1d74bd97550b3c84fe69e0effd130b2adad7485d


download link additions

Pull request description
added links for downloads for utilities electrical service, natural gas service approx and retail culinary water service areas.

This file gets built by a python file. If you want these links add them to the google doc for the sgid thing.


Create 221223-Retweet-ApplyGrants.tweet

Firing 13 retweets may be a little bit Eth_Classic_DAO heavy 👀

Firing 13 retweets may be a little bit Eth_Classic_DAO heavy 👀

True, makes sense to change tweet dates. Good for staggering tweets. Nuke any you don't feel are appropriate.


Package restore for RC2

Hi Roji,
I'm trying out the just-released-today RC2 bits and wanted to try the postgreSQL provider that you've been working on.
I have the following in my Nuget.config (copied from your test)
<add key="NpgsqlUnstable" value="https://www.myget.org/F/npgsql-unstable/api/v3/index.json" /
And in my project.json dependencies:
 "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.0-*",
And  this is my frameworks setup
 "frameworks": {
        "netcoreapp1.0": {
            "imports": [
                "dotnet5.6",
                "dnxcore50"
            ]
        }
    }

But,dotnet restore reports:
Unable to resolve 'Npgsql.EntityFrameworkCore.PostgreSQL (>= 1.0.0)' for 'DNXCore,Version=v5.0'.
Can you tell what I may have misaligned?
Thanks!

Hey Julie.
Not sure what is wrong, but I'm working on releasing Npgsql 3.1.0 and the EFCore provider, should be out in an hour or two! Hang on until then, I'll also try to run your test here before pushing to nuget.org

So it's 3 hours later, 3AM over here and everything is finally released :/
No need for the npgsql-unstable feed, everything is on nuget.org. I did a test and managed to restore, build and run. I'm pretty sure netcoreapp1.0 requires you to depend on Microsoft.NETCore.App, here's what my project.json looks like:
"netcoreapp1.0": {
  "imports": [
	"dotnet5.6",
	"dnxcore50",
	"portable-net45+win8+wp8"
  ],
  "dependencies": {
	"Microsoft.NETCore.App": {
	  "version": "1.0.0-*",
	  "type": "platform"
	}
  }
}

Let me know if you run into any problems!

Congratulations, @roji!!
You are awesome!!!
Em 16/05/2016 20:57, "Shay Rojansky"<EMAIL_ADDRESS>escreveu:

So it's 3 hours later, 3AM over here and everything is finally released :/
No need for the npgsql-unstable feed, everything is on nuget.org. I did a
test and managed to restore, build and run. I'm pretty sure netcoreapp1.0
requires you to depend on Microsoft.NETCore.App, here's what my
project.json looks like:
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net45+win8+wp8"
],
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
}
}
Let me know if you run into any problems!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/issues/35#issuecomment-219582925

Thanks @franciscojunior, let's see what people report though :)

wow... I hope you have gone to bed! I got some wierd notfound errors on some of the dependencies.
This is what I replaced the unstable myget source with:

I'll toss the error listing in a gist and link to it from here (I'll edit).

@julielerman you may want to totally clear your local nuget cache, you may be using some unstable rc3 packages which are already in there...

given that I'm getting a stackoverflow when my app tries to open a connection to the postgresql db, I thought I would revisit the caching. I deleted the nuget.org cache folder and re-ran dotnet restore. Looks the same as last night.
Here are some things to do:

I'd make sure your application's NuGet.Config is clean - you should only getting stable packages from nuget.org.
You've deleted the nuget HTTP cache, but try cleaing the package cache as well (%USERPROFILE%.nuget\packages).
Make sure don't have old version of the runtime and tools themselves, delete %LOCALAPPDATA%\Microsoft\dotnet and uninstall anything undesirable in the Windows programs list.
Finally, I'd also re-delete both the nuget HTTP cache as you've done before (%LOCALAPPDATA%\NuGet).

oh! I see it. Guess I should have been more careful when copying someone else's nuget.config. Gonna go clean things up and restore again. FWIW, migrations seem to be connecting, so possibly the stackoverflow is from my code as I'm still trying to shift the sample from RC1 to RC2.

ahhh much better. Clean restore. Migrations are working. Now to get to the bottom of the stackoverflow when my app is opening the connection to the database ... totally different problem and I think a conflict with the old code and the new behavior. Just have to find the source... :)
THANKS and thanks for whipping the new provider up so quickly

Great! Give it hell and let me know if any problems.


Improve tdb, add tdb/README

The diff speaks for most of the changes; in the paragraph below I explain why I added a "continue" command.
Typing "run" after a breakpoint kept you stuck at the breakpoint and re-printed "hit breakpoint X". I changed this to emulate gdb: you can only type "run" once, and after a breakpoint is hit the "continue" command resumes execution until a breakpoint is hit again.

Sample session:
mov eax, 0

loop:   prn eax
        inc eax
        jmp loop

: break 3
: run
0
Breakpoint hit at address: 3
: continue
1
Breakpoint hit at address: 3
: continue
2
Breakpoint hit at address: 3
: q


Making compatible with 3.6

Removing linter as its marking every import for syntax error without any comments

Regarding https://github.com/jiri-otoupal/pycrosskit/pull/18/commits/ec9ccfe09b2d06aedb12daffc9bf495aabf12439, it's not about every imports but unused imports


Fixed get_yearly_contributions function return value

Previous output was not formatted:

After changing, the output is formatted properly:

Looks good @rajuljha
Do not forget to

Give this repository a star ✨
Follow Clueless Community on GitHub ✅
Share your work on socials and tag us and Clueless 🫂


Switch from GraalVM EE to Oracle GraalVM

Description
Cloud Shell just updated the GraalVM from the old GraalVM Enterprise Edition to the latest Oracle GraalVM.
Fixes # (issues)
New samples # (demos / Illustrations )
Type of change
Please delete options that are not relevant.

New feature (non-breaking change which adds functionality)
This is a minor change as the JDK version 17 remains unchanged.

How Has This Been Tested?

[Yes] Paid

Checklist:

[Yes] My code follows the style guidelines of this project
[Yes] I have performed a self-review of my code
[Yes] I have commented my code, particularly in hard-to-understand areas
[Yes] I have made corresponding changes to the documentation
[Yes] My changes generate no new warnings.
[Yes] All the sensitive informations are masked or removed.
[Yes] All the links mentioned are valid and tested.
[Yes] Image names are seperated only with '-'.
[Yes] Added instruction to clone only this sample and links to other common sample pages.

Hi @ashok-cm, Happy new year! Can you please approve this minor change?


Draft: Up-to-date with upstream

PR Summary
Collect updates from spiner and ports-of-call.
The FetchContent code for spiner was slightly modified and used to replace the singularity_import_* code; this should make dependencies handle more consistently across codes.
@jhp-lanl your fixes in #220 will be overwritten, but I still need to clear up some build issues on my end, so that isn't going to interfere.
2023-02-03: depends on https://github.com/lanl/spiner/pull/58
One Must Imagine Sisyphus Happy

[x] spiner builds tests even with BUILD_TESTING=OFF cache set. why? a3405a4
[ ] with kokkos+kokkoskernels (openmp backend) segfaults on pte test
[ ] some CMake lists have duplicate entries - these shouldn't break anything but why take the chance
[ ] Check if "all-Fetch" build works (no spack, except hdf5)
[ ] Check some mixed builds
[ ] GPU build works
[ ] make sure github/gitlab CI is up2date

PR Checklist

[ ] Adds a test for any bugs fixed. Adds tests for new features.
[ ] Format your changes by using the make format command after configuring with cmake.
[ ] Document any new features, update documentation for changes made.
[ ] Make sure the copyright notice on any files you modified is up to date.
[ ] After creating a pull request, note it in the CHANGELOG.md file
[ ] If preparing for a new release, update the version in cmake.

Are the naming changes to reduce probability of collisions @mauneyc-LANL ?

@mauneyc-LANL what's the timeline for merging this, are we waiting for other MRs in other repos?

@mauneyc-LANL what's the timeline for merging this, are we waiting for other MRs in other repos?

I am not sure about the usefulness of several significant changes in this PR. I'm thinking to close this and refactor only the minimum changes to stay flush with upstream.

Closing, will resubmit with simpler changes.


[FEATURE]: Improvement in UI in footer section

Detailed description

I would like to raise an issue regarding the alignment and layout of the footer links on the project's website. Currently, the social links are aligned to the left, and the "About Us" and "Contact" links are aligned to the right. However, I believe that a more elegant and visually appealing design can be achieved by center-aligning social links and placing the "About Us" and Contact links above them. Additionally, I suggest adding a "2023 © All Rights Reserved" statement at the bottom center.
Context

I want to make something like this.
By aligning the logo and social links in the center, placing the "About Us" links above them, and adding the "Contact" links next, the footer section will have an improved visual layout. The addition of a "2023 © All Rights Reserved" statement will also enhance the professional appearance and ensure compliance with copyright requirements.
Possible implementation
To achieve the desired alignment and layout, I propose the following changes to the footer section:
1.Center-align the logo and social links, creating a visually balanced composition.
2.Position the "About Us" links above the centered elements, allowing for easy access and clear separation from the "Contact" links.
3.Place the "Contact" links next to the centered elements, ensuring continuity and logical flow.
4.Add a "2023 © All Rights Reserved" statement below the aligned elements, providing the necessary copyright information.
Additional information
No response
Checklist

[X] I have read the Contributing Guidelines
[X] I have checked the existing issues
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@Anmol-Baranwal , Hey please assign me this issue under GSSOC'23  contribution.

@Anmol-Baranwal , Hey please assign me this issue under GSSOC'23  contribution.

The design looks good, we will ask you for the changes if required.
Please tag me if you need any assistance, I have assigned you the issue.


webpack external config not found

when I run using npm start -s and it compiles I get the following error (tracked down to a webpack external defined as a JSon object for configuration).
./src/_services/user.service.js
Module not found: Can't resolve 'config' in '/Users/james/Documents/Projects/react/Camera/Template/src/_services'
Any thoughts why this is happening?

What's the solution for this?

dear Jason Watmore, please update this issue

I have to find the problem so you have to install a package of npm
i config that worked for me --> https://www.npmjs.com/package/config


Omit Thresholds section if unused

Instead of emitting this:
**THRESHOLDS**

* Not specified

just drop it altogether if no values were specified?

See also:

#107


[FIX] Dropdown menus won't shake anymore when reaching end of screen

Proposed changes (including videos or screenshots)

A fix was made on usePosition() hook, that had a loop behavior when any frame that used it on the main application would get off the screen.

Issue(s)

Message ellipsis dropdown window shakes depending on the size of the screen. They should not shake, which was resolved
Further comments
The PR has several unrelated files because of a merge that was made meanwhile working on the specific problem and can therefore be ignored on review

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.6 out of 7 committers have signed the CLA.:white_check_mark: dougfabris:white_check_mark: tassoevan:white_check_mark: tiagoevanp:white_check_mark: juliajforesti:white_check_mark: yash-rajpal:white_check_mark: hugocostadev:x: Educg550You have signed the CLA already but the status is still pending? Let us recheck it.


Error use logger for Sentry

I add this rows in config/logging.php
'channels' => [
    // ...
    'sentry' => [
        'driver' => 'sentry',
        'level'  => error,
        'bubble' => true,
    ],
],

But if i try to use Log::channel('sentry')->error('Message', []), i catch Exception with message Driver [sentry] is not supported. Version of laravel: 5.6.26

Make sure you are using version 0.9.x of the sentry/sentry-laravel package.

I use version 0.9.0

Did php artisan package:discover also output Discovered Package: sentry/sentry-laravel?
Also make sure you are not doing the Log in a serviceprovider's register/boot method since the Sentry service provider might not have booted and registered the logging driver yet.

command php artisan package:discover not shows sentry package. I call method of Log in standart http controller

I remove config/sentry.php and run command php artisan vendor:publish --provider="Sentry\SentryLaravel\SentryLaravelServiceProvider". It is helps me


Staff dashboard: Payment requests summary table

[ ] Heading: Active Requests For Payment
[ ]  Queryset: Payment Requests for projects the active user is the Lead on, where the Payment Request is not Paid or Declined.
[ ] NB: This component will be hidden if the staff member has:

No active Projects
No active Payment Requests

[ ]  Limit to 10 RPs

All acceptance criteria visible and functional during test. Thanks! 💥


Updated to 0.13.9-SNAPSHOT

increment version to 0.13.9

Can one of the admins verify this patch?

LGTM


Pandacash v0.4.0 added for tests

v2 test for the blockchain.ts added (two routes) - fully integrated with panda
pandacash-cli helper added for tests
adjustments in the blockchain.ts v2

The added tests can be run in an isolated mode with:
npm run test-v2:blockchain

:tada: This PR is included in version 1.0.0 :tada:
Your semantic-release bot :package::rocket:


Dead links 2 jan 24

Attempting to fix broken links. If I fixed a link incorrectly in your docs, please fix.

Thank you @aimurphy!

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65948ec40f70d821de99e9e0--harness-developer.netlify.app

@ravilach Dont merge yet. fixing conflicts from other PRs then I'll merge it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6595872d5c3585187db2dfea--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://659588eca35989196fbfbcd6--harness-developer.netlify.app


Clean integration tests with mocha

First iteration of refactoring.

npm run test work great now.
You can filtering some test, for example npm run test -- test/test_google -g 'no results'

Huge thanks for your effort!


Correction for raw affiliation Sorbonne Université (LIP6, CNRS)

Correction needed for raw affiliation Sorbonne Université (LIP6, CNRS)
raw_affiliation_name: Sorbonne Université (LIP6, CNRS)
new_rors: 02feahw73;02en5vm52;05krcen59
previous_rors: 02feahw73;02en5vm52
works_examples: W4393817021
contact: 1aaf05318fe74831c12b38def30f4c7b:bd33c50d64161a0a1ee6401a9f @ sorbonne-universite.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


Nested import won't work

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
If I use import with a relative path in an already imported Fastfile the second import fails because it resolves the path relative to the root Fastfile instead of the imported one.
I was trying to do this because:

We have a set of mobile projects with almost the same configuration (this is, almost the same Fastfile). We were thinking about extracting all the common functionality to a common Fastfile which would be included in all the projects using import_from_git
We support bot iOS and Android and we have quite a few lanes, so we were thinking to split the included Fastfile to make it manageable
Taking this into account we thought we could have a main Fastfile for each project, which includes our shared lanes from a second Fastfile, which in turn imports several files including related lanes for all supported platforms

We wanted to have something like this:
(Main project) Fastfile
    +-(import_from_git)(shared configuration) Fastfile
        +-(import)(shared configuration) First set of related lanes
        +-(import)(shared configuration) Second set of related lanes
        ...

Maybe this isn't supported? Is there any other way to achieve this?
Command executed
$ bundle exec fastlane

Complete output when running fastlane, including the stack trace and command used
[✔] 🚀

[!] Could not find Fastfile at path '/[...]/fastmain/fastlane/./HelloWorld'

I have included all the Fastfiles used in my test in the Environment section. In this first test I use import in the main Fastfile instead of import_from_git as is intended in the final solution.
Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.7

Ruby
2.6.6

Bundler?
true

Git
git version 2.21.0 (Apple Git-122)

Installation Source
~/.rbenv/versions/2.6.6/bin/fastlane

Host
Mac OS X 10.15.7 (19H2)

Ruby Lib Dir
~/.rbenv/versions/2.6.6/lib

OpenSSL Version
OpenSSL 1.1.1g  21 Apr 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-11.1.app/Contents/Developer/

Xcode Version
11.1

System Locale

Variable
Value

LANG
es_ES.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
#default_platform(:ios)

import("../../fastinclude/fastlane/Fastfile")

platform :ios do
  lane :hello_world_local do
    UI.message "Hello world local iOS"
  end
end

platform :android do
  lane :hello_world_local do
    UI.message "Hello world local Android"
  end
end

`../../fastinclude/fastlane/Fastfile`
import("./HelloWorld")

platform :ios do
  lane :hello_world do
    UI.message "Hello world iOS"
  end
end

platform :android do
  lane :hello_world do
    UI.message "Hello world Android"
  end
end

`../../fastinclude/fastlane/HelloWorld`
platform :ios do
  lane :hello_world_included do
    UI.message "Hello word included iOS"
  end
end

platform :android do
  lane :hello_world_included do
    UI.message "Hello word included Android"
  end
end

`./fastlane/Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.162.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
2.1.4

rake
13.0.1

CFPropertyList
3.0.2

public_suffix
4.0.6

addressable
2.7.0

atomos
0.1.3

aws-eventstream
1.1.0

aws-partitions
1.380.0

aws-sigv4
1.2.2

jmespath
1.4.0

aws-sdk-core
3.109.0

aws-sdk-kms
1.39.0

aws-sdk-s3
1.83.0

babosa
1.0.3

claide
1.0.3

colored
1.2

colored2
3.1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.20

declarative-option
0.1.0

digest-crc
0.6.1

domain_name
0.5.99999999

dotenv
2.7.6

emoji_regex
3.0.0

excon
0.76.0

multipart-post
2.0.0

faraday
1.0.1

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.0

gh_inspector
1.1.3

jwt
2.2.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.1

signet
0.14.0

googleauth
0.13.1

httpclient
2.8.3

mini_mime
1.0.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.38.0

google-cloud-env
1.3.3

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

google-cloud-storage
1.29.0

json
2.3.1

mini_magick
4.10.1

plist
3.5.0

rubyzip
2.3.0

security
0.1.3

naturally
2.2.0

simctl
1.6.8

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.3.0

xcodeproj
1.18.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

generated on: 2020-10-05

I have just found out that import_from_git has a dependencies parameter, that seems to be used to import several files from a given repository. I get the behaviour I want if I do the following:
In ./fastlane/Fastfile use import_from_git instead of import, with list of dependencies:
# import("../../fastinclude/fastlane/Fastfile")
import_from_git(url: 'file:////[...]/fastinclude',
  branch: 'develop', path: 'fastlane/Fastfile', dependencies: ['fastlane/HelloWorld'])

In ../../fastinclude/fastlane/Fastfile remove the local import
This causes the behaviour I want, but then the creator of the Fastfile in the root project is forced to know all the dependencies. Failing to include all the needed dependencies will cause the main Fastfile to lack some lane definitions.
Is this the way I should address this?

New Issue Checklist

[x]  Updated fastlane to the latest version
[x]  I read the Contribution Guidelines
[x]  I read docs.fastlane.tools
[x]  I searched for existing GitHub issues

Issue Description
If I use import with a relative path in an already imported Fastfile the second import fails because it resolves the path relative to the root Fastfile instead of the imported one.
I was trying to do this because:

We have a set of mobile projects with almost the same configuration (this is, almost the same Fastfile). We were thinking about extracting all the common functionality to a common Fastfile which would be included in all the projects using import_from_git
We support bot iOS and Android and we have quite a few lanes, so we were thinking to split the included Fastfile to make it manageable
Taking this into account we thought we could have a main Fastfile for each project, which includes our shared lanes from a second Fastfile, which in turn imports several files including related lanes for all supported platforms

We wanted to have something like this:
(Main project) Fastfile
    +-(import_from_git)(shared configuration) Fastfile
        +-(import)(shared configuration) First set of related lanes
        +-(import)(shared configuration) Second set of related lanes
        ...

Maybe this isn't supported? Is there any other way to achieve this?
Command executed
$ bundle exec fastlane

Complete output when running fastlane, including the stack trace and command used
[✔] 🚀

[!] Could not find Fastfile at path '/[...]/fastmain/fastlane/./HelloWorld'

I have included all the Fastfiles used in my test in the Environment section. In this first test I use import in the main Fastfile instead of import_from_git as is intended in the final solution FaceTime
Environment
✅ fastlane environment ✅

i would ecommend this post to others
I'm having the same problem as the others.
pleased to see your issue as I think I have the same problem

Thnaks ,
I faced similar kind of issue last time, I am still searching for some proper solution about nested import
please suggest me if you find any solution L Brands Aces

Thanks for the information upsers


GitHub release is built with too new a version of glibc

Checklist

[X] I've looked through the issues and pull requests for similar reports

Describe your issue
cross-x86_64-unknown-linux-gnu.tar.gz from https://github.com/cross-rs/cross/releases/tag/v0.2.5 requires version 2.34 of glibc to run.
The official rust docker image only comes with version 2.31 of glibc. Thus I propose to built the official release of the cross binary with a lower version of glibc.
What target(s) are you cross-compiling for?
No response
Which operating system is the host (e.g computer cross is on) running?

[ ] macOS
[ ] Windows
[X] Linux / BSD
[ ] other OS (specify in description)

What architecture is the host?

[X] x86_64 / AMD64
[ ] arm32
[ ] arm64 (including Mac M1)

What container engine is cross using?

[X] docker
[ ] podman
[ ] other container engine (specify in description)

cross version
cross 0.2.5
Example
$ docker run --rm -it rust:1.71.0
# cd /tmp
# curl -L -O https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-gnu.tar.gz
# tar xf cross-x86_64-unknown-linux-gnu.tar.gz
# ./cross --version
./cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./cross)
./cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./cross)
./cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./cross)

Additional information / notes
This also occurs when using cargo-binstall to install cross in the image.

the official rust image has multiple debian sources, I'd recommend you use bookworm instead which ships with 2.36
We could maybe consider lowering it, but I don't see the benefit of doing so.

We could maybe consider lowering it in our binary release, but I don't see the benefit of doing so.

The benefit would be that it would work with the default version of the official rust docker image.


not really an issue - more of a complement !

Not an issue  but a complement !!
I really love the license! -
Do What The F*ck You Want To Public License
And the project is fantastic too!!

Thank you very much.


Documentation: Use data from admiraldata on New Anti-cancer vignette

Please select a category the issue is focused on?
User Guides
Let us know where something needs a refresh or put your idea here!
The new anti-cancer vignette should be updated such that the example data from admiraldata is used (see also https://github.com/pharmaverse/admiraldata/issues/13).

We keep the data in the vignette for now.


🐞SPFx v1.17 - Generator Renamed to M365, but still shows SharePoint Logo

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

Chrome v111.0.5563.146
SPFx v1.17
Node.js v16.18.0

Describe the bug / error
The Yeoman Generator for SharePoint has been renamed to “Microsoft 365”, but the ASCII logo at the end is still using the SharePoint Online logo.
Steps to reproduce

run yo @microsoft/sharepoint
observe the Yeoman generator displays “Welcome to Microsoft 365. Let's create a new Microsoft 365 solution.“ instead of the previous “Welcome to SharePoint Online. Let's create a new SharePoint solution”
pick any options to run the generator
observe the closing logo of the confirmation shows the SharePoint logo in ASCII art

Expected behavior
The closing logo of the confirmation shows the Microsoft 365 logo in ASCII art.

@andrewconnell - thanks for reporting this one!
We changed the wording but not the name of the generator - it is still SPFx Yeoman Generator.
And the correct brand icon for it is SharePoint logo.


UnboundLocalError: local variable 'special_tokens_file' referenced before assignment

Happens during this
enc = GPT2Tokenizer.from_pretrained('gpt2')
  File "example_lambada_prediction_difference.py", line 23, in <module>
    enc = GPT2Tokenizer.from_pretrained(model_name)
  File "/bflm/pytorch-pretrained-BERT/pytorch_pretrained_bert/tokenization_gpt2.py", line 134, in from_pretrained
    if special_tokens_file and 'special_tokens' not in kwargs:
UnboundLocalError: local variable 'special_tokens_file' referenced before assignment

Looking at offending file, it looks like there's a path for which special_tokens_file is never initialized
https://github.com/huggingface/pytorch-pretrained-BERT/blob/3d78e226e68a5c5d0ef612132b601024c3534e38/pytorch_pretrained_bert/tokenization_gpt2.py#L134

Yes, this should be fixed by #498.


Luxor ambiguity clarification in howto and tutorial 1

PR Checklist
If you are contributing to Javis.jl, please make sure you are able to check off each item on this list:

[ ] Did I update CHANGELOG.md with whatever changes/features I added with this PR?
[ ] Did I make sure to only change the part of the file where I introduced a new change/feature?
[ ] Did I cover all corner cases to be close to 100% test coverage (if applicable)?
[ ] Did I properly add Javis dependencies to the Project.toml + set an upper bound of the dependency (if applicable)?
[ ] Did I properly add test dependencies to the test directory (if applicable)?
[ ] Did I check relevant tutorials that may be affected by changes in this PR?

all above not necessary as it's a doc change

[x] Did I clearly articulate why this PR was made the way it was and how it was made?

Link to relevant issue(s)
No issue for this just from the Zulip channel
How did you address these issues with this PR? What methods did you use?
I've updated the HowTo section by adding a
How can I avoid ambiguity errors with Luxor.jl?

section.
Additionally I added two sentences to the first tutorial to make clear that using Luxor should be avoided inside Javis scripts.

@Wikunia - I added some clarifying language and fixed some grammar. Otherwise, if it looks good to you, feel free to merge it. :smile:

Done! Thanks for your thoughts and input @cormullion and your initial work on this @Wikunia ! :smile:


Studio Lab Sign up does not work

I received an email from Sagemaker Studio Lab team that I was approved for an account couple of days ago. I tried multiple times to sign up, but it says the information is incorrect or the approval is expired. I am using the same email I used to request a free account and I tried to sign up the day I received the approval and I tried it today and I have still no luck. I don't know where else to turn to because there is no help form.

This is the right place to report this, someone will investigate.

Hi, once you are approved you have 7 days to register. If you don't we expire your approval. We do this because the service is very popular and we want to make sure we are prioritizing folks that are active.  If your approval has expired simply request an account again.

@MicheleMonclova Yes, I understand it expires within 7 days if not registered. My issue was, I tried to register the same day I received my approval email, but it still told me it was expired.

I heard of one other case like this - let me investigate. Thank you for your patience.

@dn4086 can you fill out this form. https://pages.awscloud.com/GLOBAL_PM_PA_amazon-sagemaker_20211116_7014z000000rjq2-registration.html  Here you can safely put in your email address that you are having issues with.

@MicheleMonclova
Thanks. Just submitted the form.

Hi  - you should have received another email yesterday to help you complete your registration. Did you?

Hi @MicheleMonclova ,
I did not receive an email from AWS. I did check my spam too. is there a way you can re-send it?

Hi  Dn4086 - according to our logs your final email verification keeps timing out, requiring to start over. Sorry. Let us know if you are having better luck.


How can I add addons?

What is the issue?
How do I add addons for a feature?
For example, I have Plan A for $29/m. It gives 100 of "X" feature. 100 is a fixed amount here.
But now let's say, the user has ran out of X feature credits for the current billing cycle and he/she wants to buy more of "X" feature.
I want to allow that so they can get "X" amount for some $/X credit.
Is this possible?
Steps to reproduce
No response
Are there any recent changes that introduced the issue?
No response
OS
Windows
OS version
No response
Tier version
No response

That's exactly how the example app here works: https://github.com/tierrun/tier-vercel-openai
You can just clone the pricing model they link to in that repo: https://model.tier.run/clkkv3fv93bbko972m4w3x9o8
And adjust the pricing/titles to match your use case


Master

Allow to assign an arbitrary object to the server which can be used in
response handlers.

that is based off the wrong branch. sorry.


[feature request] Add Zotero and Mendeley profiles to OSF social profile options

From @AndrewSallans in CenterForOpenScience/osf#957:

Per user request on Twitter, add Zotero. Also, as it is similar, add Mendeley.
Also am interested in how much would be required to implement these connections with user-driven OAuth, and what value we might get in growing OSF via those connections (ie. push all of a user's public OSF projects to their Mendeley and Zotero profiles, allow for auto Twitter/Facebook/LinkedIn, tracking on Impactstory, etc.).

I'll be working with both Zotero and Mendeley as addons, so I'm self-assigning.
These will be my primary tasks over the next two months, with an expected go-live date in February.

Thanks @lyndsysimon

Please remove me as assignee; I can't seem to do so.


The python runtime has an inflexible dependency on typeguard~=2.13.3

@mrgrain I'm looking for some help. This package specifically aws-cdk.asset-kubectl-v20  is a dependency of aws-cdk-lib for the python runtime. I'm trying to install a package that depends on a higher version of the currently pinned dependency typeguard.
Can the v20 dependencies be bumped and released to include "jsii>=1.103.1, <2.0.0" to get the pacmak updates from this PR. I think aws-cdk-asset-awscli-v1 v2.2.202 had the same issue but is now fixed in higher versions. diff
# requirements.txt - py3.9
aws-cdk-lib==2.161.1
aws-cdk-asset-awscli-v1>2.2.202
typeguard>=4.0

pip install -r requirements.txt

ERROR: Cannot install -r requirements.txt (line 1), aws-cdk-lib and typeguard>=4.0 because these package versions have conflicting dependencies.
The conflict is caused by:
    The user requested typeguard>=4.0
    aws-cdk-lib 2.161.1 depends on typeguard<5.0.0 and >=2.13.3
    aws-cdk-asset-awscli-v1 2.2.203 depends on typeguard<5.0.0 and >=2.13.3
    aws-cdk-asset-kubectl-v20 2.1.2 depends on typeguard~=2.13.3

Please let me know if this isn't the place for this request, my understanding is incorrect, thanks.

Looking into if we can remove this dependency. Otherwise an upgrade should be possible.

New version is released.

Thank you!

Thank you!

Let me know if that works!

Thank you!

Let me know if that works!

Yes, it worked! however I tagged you in the constructs repo, I'm seeing the same issue there.


Change GPU name

Hi!
Where can I change in the code to be able to replace  WebGL Vendor and  WebGL Renderer for specific instances?

You can supply all of these settings through the userProfile. If you extract a user profile once, you'll see the format and data in there. Replace/clear anything you don't want to restore and then change out the webgl params.


Accessibility service sometimes get stuck & does not monitor clipboard

Is your feature request related to a problem?
When I close XClipper (swiping up in the recents screen), it can no longer check for clipboard changes.
Describe the solution you'd like:
A service that runs XClipper in the background.

XClipper uses high-level accessibility service,
Did you enable it from Settings > Accessibility & select XClipper & turn it one! If yes, & doing so it still can't detect let me know your device name &  model. Also sometimes it shows that "This service is malfunctioning" or some similar message, let me know that as well.

It is -- I should mention that it does work, but only captures the most recent copy, not all the copies that happened since the app was closed. I'm on Android 11, Pixel 5.

What do you mean by the most recent copy? Do you mean when the app is closed & removed from the recent menu the service doesn't work anymore which means you are not able to copy anything?
If yes, then there is a problem!

No, I can copy, but for example, if I close the app, if I copy "Hello" then "Hello Hi", if I reopen the app, XClipper only shows "Hello Hi" as the newest element, not "Hello".

So you are saying "Hello" is not stored in XClipper & you don't see that item when you reopen the app. Am I getting this correct?

Yes.

But do you get a notification from XClipper saying Clipboard content as "Hello"?

I only get a notification when I reopen the app, and only for "Hello Hi".

Open the XClipper > Settings >General. Can you post the screenshot of this screen!

Looks okay to me! So here is another question, is this happening from start or does it happen suddenly? Meaning, was it working earlier or did it happens just now?

This has happened from the beginning.

Okay so try the following solutions,

Go to Phone Settings > Accessibility > XClipper & make sure the setting is turned on.
In the app, go to Settings > General > uncheck & recheck the "Clipboard Service" setting, do the same for the "Improve detection" setting.
If this still does not works, try rebooting the device once.
If that didn't work, uninstall the app & reinstall the app but this time don't enable "Improve Detection" setting through ADB.
See if this works, if not let me know!

It didn't work.

Seems like your accessibility got stuck! I'll keep this issue open till I figure out why this happened. If you could tell me how to reproduce this issue then it would be much more helpful :)

I don't even know how it happened myself.

XClipper uses high-level accessibility service,
Did you enable it from Settings > Accessibility & select XClipper & turn it one! If yes, & doing so it still can't detect let me know your device name & model. Also sometimes it shows that "This service is malfunctioning" or some similar message, let me know that as well.

I  encountered the same problem. It seems that after Android Q, the background access to the clipboard is restricted. I have not found a solution yet.

@kstianzui Did you used this app, the app has a workaround for that limitation & it works perfectly fine on my Pixel 2 (Android 11) & later devices as well.

Did you use this app? The app has a workaround for that limitation & it works perfectly fine on my Pixel 2 (Android 11) & later devices as well.

Yes, I tested it on my phone, my phone is a Samsung S10+(Android 12), it has enough permissions, and it runs in the background

@kstianzui So you are saying on your device the app (Android 12) the app is not working?

@kstianzui So you are saying on your device the app (Android 12) the app is not working?

Yes，I tested again just now，no battery limit

I don't have an Android 12 device, might've to purchase one to test the app!

I don't have an Android 12 device, might've to purchase one to test the app!

Maybe it is an isolated phenomenon, I have tested similar software and none of them are working properly

I previously have the same problem, but now i found out the solution, make sure to not restricted the app background and also allow background data + unrestricted data. You can see screenshot below. Hopefully it helps.

Got it, I can force this check when the app is installed that'll tell users to disable restricted battery usage from settings. Thanks for your help.

@febryanvaldo Hey, can you tell me your device name for which you have to disable battery optimization in order to make XClipper work?

@KaustubhPatange Google Pixel 4XL.


heh: 0.4.1 -> 0.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/heh/versions.
meta.description for heh is: A cross-platform terminal UI used for modifying file data in hex or ASCII.
meta.homepage for heh is: https://github.com/ndd7xv/heh
meta.changelog for heh is: https://github.com/ndd7xv/heh/releases/tag/v0.5.0
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.5.0 with grep in /nix/store/4ccrcsg1p8qmx0qzvlnni7kh1bb3w3fx-heh-0.5.0
found 0.5.0 in filename of file in /nix/store/4ccrcsg1p8qmx0qzvlnni7kh1bb3w3fx-heh-0.5.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

heh

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4ccrcsg1p8qmx0qzvlnni7kh1bb3w3fx-heh-0.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A heh https://github.com/r-ryantm/nixpkgs/archive/1263cf969096bde76fae6f1f94a170eee0cee3f0.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1263cf969096bde76fae6f1f94a170eee0cee3f0#heh

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4ccrcsg1p8qmx0qzvlnni7kh1bb3w3fx-heh-0.5.0
ls -la /nix/store/4ccrcsg1p8qmx0qzvlnni7kh1bb3w3fx-heh-0.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

heh

Maintainer pings
cc @Piturnah for testing.

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

1 package built:

heh


Readme example added missed colon

Babel gave error on this, apology if that some new javascript syntax though... like ES2222 no colons in object declarations :P

Hah! Thanks. That would be kinda cool, tbh :)


[pango] fix exports

It turns out that, despite my assumptions (https://github.com/Microsoft/vcpkg/pull/985#issuecomment-298184300), _WINDLL is not defined when using CMake + Ninja (I guess it's a MSBuild specific thing).
Too bad we still don't have automated per-PR testing to catch such issues quickly :(

Thanks for the quick fix!
We have limited automated testing, but it currently only builds vcpkg itself and a few packages, so it is not extensive. Indeed, this is something that could have been caught with proper per-PR testing.


 cannot appear inside

Following warning should not exist when dealing with Vue 2 in certain scenarios:
Tag <slot> cannot appear inside <table> due to HTML content restrictions. It will be hoisted out of <table> by the browser.
I think there should be a way to disable this warning.
Awesome work with this plugin! Keep up the good job!

@rstoenescu Can you share reproduction code?


[Grouping & Mapping] Group Extension

@aruniverse could you review this PR please? thanks

@aruniverse could you review this PR please? thanks

I can review after all existing comments have been closed out by @MindaugasButkus

@aruniverse ready to go 🚀


Re-fix #113

https://github.com/macvim-dev/macvim/blob/fix/deployment_target/src/configure.in#L52
the previous patch was not enough '[' ']'.


What I do wrong?

Hello,
I'm trying to make simple JavaScript snippets,
I chose a code block and specifying snippet name, prefix, description all okay
but when I go to file > preferences > user snippets and choose JavaScript
snippet text is not visible there.
I'm using VS Code version 1.19.0
What's wrong I'm doing ?
Thanks,
Bulent

It is known bug. I did not have a time to fix it. I will try to fix it in next 7 days.

any update on it ? i found only 2 snippet creator extensions for vscode, and none of them are working, i'm really interested by that


Static methods are inherited across all instances

Hi there,
I love the library so far.  Any reason why static methods are inherited at the instance level?  It seems better for performance & encapsulation, if class/static methods only belong to the class.  Would love to understand the philosophy behind this implementation.
Best,
Yi-Hsiao
Relevant lines of code:
https://github.com/tnhu/jsface/blob/master/jsface.js#L138
https://github.com/tnhu/jsface/blob/master/jsface.js#L153

Hi Yi-Hsiao,
Thanks for commenting! The reason is to simulate Java static methods in which static methods are accessible on both class and instance levels. It was a design decision being made since I started jsface (side note: I have Java background).
I later realized I never use static properties (methods and variables) on instance level :). Agreed that it could be better to make static them accessible on class level only.
If nobody's against it, I'll make a change.

Thanks for the explanation. I suggest that you bump the version major number if this change does happen so as not to break current use cases.

Fix in 2.4.0. Thanks everyone!


[firebase_auth] ERROR_INTERNAL_ERROR on iOS when Email login

When trying to login and sign in with Email I get this Exception:
code:"ERROR_INTERNAL_ERROR"
details:null
message:"An internal error has occurred, print and inspect the error details for more information."
hashCode:374231514
runtimeType:Type (PlatformException)

In Console: flutter: PlatformException(ERROR_INTERNAL_ERROR, An internal error has occurred, print and inspect the error details for more information., null)
This only happen with iOS, not with Android. Other firebase services work fine.
I tried it on version 0.13.0 and 0.14.0 and both have the issue

final FirebaseApp _firebaseApp = FirebaseApp.instance;

doesn't work for me :P , full callstack:
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(ERROR_INTERNAL_ERROR, An internal error has occurred, print and inspect the error details for more information., null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
#1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:316:33)
<asynchronous suspension>
#2      FirebaseAuth.sendSignInWithEmailLink (package:firebase_auth/src/firebase_auth.dart:160:19)
<asynchronous suspension>
#3      SessionRepository.sendSignInWithEmailLink (package:buki_flutter/repositories/session_repository.dart:31:32)
<asynchronous suspension>
#4      SessionBloc.sendSignInWithEmailLink (package:buki_flutter/blocs/session_bloc.dart:113:31)
#5      _EmailLoginPageState.build.<anonymous closure> (package:buki_flutter/pages/email_login_page.dart:25:59)
#6      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:654:14)
#7      _InkResponseState.build.<ano<…>

FlutterFire firebase_auth still doesn't work on iOS as of 0.14.0+5
Error
PlatformException (PlatformException(ERROR_INTERNAL_ERROR, An internal error has occurred, print and inspect the error details for more information., null))
Flutter Doctor output
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G1012, locale en-NG)
    • Flutter version 1.9.1+hotfix.6 at /Users/ws4/development/flutter
    • Framework revision 68587a0916 (8 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/ws4/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/ws4/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • 87669E03-C836-47C7-A588-F279BD456B66 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)

• No issues found!

FYI:
only happened with sendSignInWithEmailLink , not signInWithEmailAndPassword.

I've just fixed mine.
Don't know if this would solve yours but I removed my GoogleService-Info.plist, then downloaded it and added it to my Runner Target again. Then, I ran pod install and it all worked.

I've just fixed mine.
Don't know if this would solve yours but I removed my GoogleService-Info.plist, then downloaded it again and added it to my Runner Target again. Then, I ran pod install and it all worked.

not work for me, do you use sendSignInWithEmailLink ?

No, I'm using signInWithEmail in my app. I'll take a look at it and see if I can help out though.

Opened a issue #1514 for sendSignInWithEmailLink

Consolidating under #1456 - we'll be looking at parsing native error messages & codes and bubbling these up to the Dart layer in a consistent cross-platform format.


image readme & subfolders

Added a readme describing the process to create images for cards, as well as subfolders for each category of cards. The readme for each folder describes the cards that should be in that folder.

I fixed the folder names to have underscores instead of spaces.


UX - work through the flow and how the user inputs info on the Transaction section of the Create a DAO process.

Possible solution/inputs to make this more streamlined:
target address: 0xAAVEAddress
deposit
uint, uint, address
1000000000, 300000, 0xsomeaddress
deposit(uint 100000000, uint 3000000, address 0xsomeaddress)


Added clang-format rules

I get the feeling these changes may not be desirable for rules_cc but thought I'd share them none the less.
This PR introduces rules for running clang-format.

There's an unfortunatel build failure unrelated to the changes in this PR 😞
(19:59:34) ERROR: /workdir/examples/test_cc_shared_library/BUILD:177:20: in linking_suffix_test rule //examples/test_cc_shared_library:linking_action_test:
Traceback (most recent call last):
	File "/workdir/examples/test_cc_shared_library/starlark_tests.bzl", line 12, column 24, in _linking_suffix_test_impl
		for arg in reversed(actions[1].argv):
Error in reversed: in call to reversed(), parameter 'sequence' got value of type 'NoneType', want 'iterable'

Hey @UebelAndre I just got a pointer here from @jsharpe - I'd like to bring your work into our "super formatter" that formats approx. all code in a monorepo with one tool. https://github.com/aspect-build/bazel-super-formatter
LMK if you have thoughts or 👍🏻 👎🏻 about me borrowing your code, or if you'd like to do that yourself :)

Hey @UebelAndre I just got a pointer here from @jsharpe - I'd like to bring your work into our "super formatter" that formats approx. all code in a monorepo with one tool. https://github.com/aspect-build/bazel-super-formatter LMK if you have thoughts or 👍🏻 👎🏻 about me borrowing your code, or if you'd like to do that yourself :)

Feel free to use this code, I posted it here to share it with the community and try to save folks time re-implmenting this. Hoping it helps 😄

Oh, I see this still doesn't provide the clang-format binary itself. I was somewhat involved with npmjs.com/package/clang-format - not sure if the pre-built binaries there are a good thing to re-use, or if we can get pre-built binaries from somewhere else? Or do we force users to compile the tool from source?

Compiling from source is probably very non-trivial to do as AFAIK this requires the LLVM core?
The grailbio/bazel-toolchain has the ability to export clang-format from the binary releases of llvm (this is clang-tidy but clang-format would be trivial to add): https://github.com/grailbio/bazel-toolchain/blob/24720b5021ce9c0e05f606bf9b654ddafbbae783/toolchain/BUILD.llvm_repo#L133
but this is a rather heavyweight way of fetching the binaries for clang-format as it downloads the whole llvm install. https://github.com/DoozyX/clang-format-lint-action/tree/master/clang-format also has some binaries for linux but guess windows and macOS will also be needed. I suspect that the npm solution is probably the easiest and most lightweight approach to this.


not easy for a popup filter to handle "" when modifyOtherKeys is enabled

Describe the bug
It is not easy for a popup filter to handle a chord using the alt and shift modifiers when modifyOtherKeys is enabled.
To Reproduce
Open an xterm terminal, and run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    exe "set <m-s-a>=\eA"
    fu s:popup_filter(winid, key)
        if a:key is# "\<m-s-a>"
            call s:setheight(a:winid)
            return v:true
        endif
        return v:false
    endfu
    fu s:setheight(winid)
        let s:height = get(s:, 'height', 1) + 1
        call popup_setoptions(a:winid, #{minheight: s:height})
    endfu
    call popup_create('test', #{
        \ filter: function('s:popup_filter'),
        \ filtermode: 'n',
        \ mapping: v:false,
        \ })
EOF
)

Press M-S-a (that is Alt + Shift + a): nothing happens.
Expected behavior
The height of the popup window is increased by 1.
Environment

Vim version: 8.2 Included patches: 1-1009
OS: Ubuntu 16.04.6 LTS
Terminal: XTerm(322)

Additional context
The issue is specific to a terminal where modifyOtherKeys is enabled, and to the GUI (which AFAICT uses a similar feature).
In a terminal where modifyOtherKeys is disabled, the popup filter handles <M-S-a> just fine.

Here are the sequences of bytes received by the popup filter in various environments:
                                               ┌────────────────────────┐
                                               │         chords         │
                                               ├───────┬────────────────┤
                                               │  M-a  │     M-S-a      │
┌─────────────┬────────────────────────────────┼───────┼────────────────┤
│             │ gnome-terminal                 │ c3 a1 │          c3 81 │
│             ├────────────────────────────────┼───────┼────────────────┤
│             │ xterm modifyOtherKeys disabled │ c3 a1 │          c3 81 │
│ environment ├────────────────────────────────┼───────┼────────────────┤
│             │ xterm modifyOtherKeys enabled  │ c3 a1 │ 80 fc 02 c3 81 │
│             ├────────────────────────────────┼───────┼────────────────┤
│             │ GUI                            │ c3 a1 │ 80 fc 02 c3 81 │
└─────────────┴────────────────────────────────┴───────┴────────────────┘

Notice how the two cells in the bottom-right corner of the table are different.
It seems inconsistent.  I would expect this table instead:
                                               ┌───────────────┐
                                               │    chords     │
                                               ├───────┬───────┤
                                               │  M-a  │ M-S-a │
┌─────────────┬────────────────────────────────┼───────┼───────┤
│             │ gnome-terminal                 │ c3 a1 │ c3 81 │
│             ├────────────────────────────────┼───────┼───────┤
│             │ xterm modifyOtherKeys disabled │ c3 a1 │ c3 81 │
│ environment ├────────────────────────────────┼───────┼───────┤
│             │ xterm modifyOtherKeys enabled  │ c3 a1 │ c3 81 │
│             ├────────────────────────────────┼───────┼───────┤
│             │ GUI                            │ c3 a1 │ c3 81 │
└─────────────┴────────────────────────────────┴───────┴───────┘

Because of this inconsistency, inside a popup filter, you can't handle a chord using the M- and S- modifiers with the expected notation if modifyOtherKeys is enabled:
if a:key is# "\<m-s-a>"
             ^^^^^^^^^^
                 ✘

Instead, you need to write this:
if a:key is# "\x80\xfc\x02\<m-s-a>"

Ideally, we should not need this \x80\xfc\x02 prefix.  But if there's really no way around it, at least we should have a way to get it programmatically (in case it can vary from a terminal to another).  I don't know how to get it.  I've tried to use the new \<*xxx> notation documented at :h expr-quote:

<*xxx> Like <xxx> but prepends a modifier instead of including it in the
character.  E.g. "<C-w>" is one character 0x17 while "<*C-w>" is four
bytes: 3 for the CTRL modifier and then character "W".

But it doesn't give me the whole byte sequence; only the first 2 match:
vim -es -Nu NONE +'call writefile(["\<*m-s-a>"], "/tmp/byteseq", "b") | .!xxd /tmp/byteseq' +'%p | qa!'
00000000: 80fc 0041                                ...A
          ^^^^ ^^
          ✔    ✘
               I need 02

Describe the bug
It is not easy for a popup filter to handle a chord using the alt and shift modifiers.
To Reproduce
Open an xterm terminal, and run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    exe "set <m-s-a>=\eA"

This isn't relevant.

    fu s:popup_filter(winid, key)
        if a:key is# "\<m-s-a>"

Should use "==" instead of "is#".

            call s:setheight(a:winid)
            return v:true
        endif
        return v:false
    endfu
    fu s:setheight(winid)
        let s:height = get(s:, 'height', 1) + 1
        call popup_setoptions(a:winid, #{minheight: s:height})
    endfu
    call popup_create('test', #{
        \ filter: function('s:popup_filter'),
        \ filtermode: 'n',
        \ mapping: v:false,
        \ })
EOF
)

Press M-S-a (that is Alt + Shift + a): nothing happens.
Expected behavior
The height of the popup window is increased by 1.
Environment

Vim version: 8.2 Included patches: 1-1009
OS: Ubuntu 16.04.6 LTS
Terminal: XTerm(322)

Additional context
The issue is specific to a terminal where modifyOtherKeys is enabled,
and to the GUI (which AFAICT uses a similar feature).
In a terminal where modifyOtherKeys is disabled, the popup filter
handles <M-S-a> just fine.

Here are the sequence of bytes received by the popup filter in various environments:
                                               ┌────────────────────────┐
                                               │         chords         │
                                               ├───────┬────────────────┤
                                               │  M-a  │     M-S-a      │
┌─────────────┬────────────────────────────────┼───────┼────────────────┤
│             │ gnome-terminal                 │ c3 a1 │          c3 81 │
│             ├────────────────────────────────┼───────┼────────────────┤
│             │ xterm modifyOtherKeys disabled │ c3 a1 │          c3 81 │
│ environment ├────────────────────────────────┼───────┼────────────────┤
│             │ xterm modifyOtherKeys enabled  │ c3 a1 │ 80 fc 02 c3 81 │
│             ├────────────────────────────────┼───────┼────────────────┤
│             │ GUI                            │ c3 a1 │ 80 fc 02 c3 81 │
└─────────────┴────────────────────────────────┴───────┴────────────────┘

Notice how the two cells in the bottom-right corner of the table are
different.
It seems inconsistent.  I would expect this table instead:
                                               ┌───────────────┐
                                               │    chords     │
                                               ├───────┬───────┤
                                               │  M-a  │ M-S-a │
┌─────────────┬────────────────────────────────┼───────┼───────┤
│             │ gnome-terminal                 │ c3 a1 │ c3 81 │
│             ├────────────────────────────────┼───────┼───────┤
│             │ xterm modifyOtherKeys disabled │ c3 a1 │ c3 81 │
│ environment ├────────────────────────────────┼───────┼───────┤
│             │ xterm modifyOtherKeys enabled  │ c3 a1 │ c3 81 │
│             ├────────────────────────────────┼───────┼───────┤
│             │ GUI                            │ c3 a1 │ c3 81 │
└─────────────┴────────────────────────────────┴───────┴───────┘

Because of this inconsistency, inside a popup filter, you can't handle a chord using the M- and S- modifiers with the expected notation:
if a:key is# "\<m-s-a>"
             ^^^^^^^^^^
                 ✘

Instead, you need to write this:
if a:key is# "\x80\xfc\x02\<m-s-a>"

Ideally, we should not need this \x80\xfc\x02 prefix.  But if
there's really no way around it, at least we should have a way to get
it programmatically (in case it can vary from a terminal to another).
I don't know how to get it.  I've tried to use the new \<*xxx>
notation documented at :h expr-quote:

<*xxx> Like <xxx> but prepends a modifier instead of including it in the
character.  E.g. "<C-w>" is one character 0x17 while "<*C-w>" is four
bytes: 3 for the CTRL modifier and then character "W".

But it doesn't give me the whole byte sequence; only the first 2 match:
vim -es -Nu NONE +'call writefile(["\<*m-s-a>"], "/tmp/byteseq") | .!xxd /tmp/byteseq' +'%p | qa!'
00000000: 80fc 0041 0a                             ...A.
          ^^^^ ^^
          ✔    ✘
               I need 02

Hmm, I first thought of fixing this for the popup filter, but it should
probably be fixed much deeper down, where the modifyOtherKeys sequence
is detected.  It already removes the shift modifier when it looks like
it is included in the key.  E.g. for "A" we do get the shift modifier,
as if  was used, but the modifier is already included in the key.
We can do this also when the Alt or Meta modifier is present.  It looks
like everything works, only the termcodes test has a failure.  Need to
figure that out...
--
TIM: To the north there lies a cave,  the cave of Caerbannog, wherein, carved
in mystic runes, upon the very living rock, the last words of Olfin
Bedwere of Rheged make plain the last resting place of the most Holy
Grail.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

This isn't relevant.

You're right, but I let it inside the code so that you could check that when disabling modifyOtherKeys, then the popup filter was able to handle <M-S-a>, and that the issue was not that my code was broken for some other reason.  And when you disable modifyOtherKeys, then you do need this line.

Should use "==" instead of "is#".

I have the habit of using is# for a string comparison to avoid this pitfall.  It's not necessary here, but I do it to be consistent; I rarely, if ever, need/want a coercion from string to number.
I'll try to lose this habit.

Fixed by https://github.com/vim/vim/commit/20298ce679dbf21c07c8fe2161724a12424f1e69.

Fixed by https://github.com/vim/vim/commit/20298ce679dbf21c07c8fe2161724a12424f1e69.

Looks like I talked too fast, sorry.
The issue is indeed fixed in a terminal where modifyOtherKeys is enabled, but not in the GUI.
Minimal example:
vim -Nu NONE -g -S <(cat <<'EOF'
    fu s:popup_filter(winid, key)
        if a:key == "\<m-s-a>"
            call s:setheight(a:winid)
            return v:true
        endif
        return v:false
    endfu
    fu s:setheight(winid)
        let s:height = get(s:, 'height', 1) + 1
        call popup_setoptions(a:winid, #{minheight: s:height})
    endfu
    call popup_create('test', #{
        \ filter: function('s:popup_filter'),
        \ filtermode: 'n',
        \ mapping: v:false,
        \ })
EOF
)

Press M-S-a and observe how the height of the popup window is not increased, while it should.
The issue is the same; 3 extra bytes – \x80\xfc\x02 – are prepended in front of M-S-a.

In case it helps, I'm using gtk2, and I configure Vim like this before the compilation:
./configure  \
  --enable-fail-if-missing       \
  --enable-gui=gtk2              \
  --enable-luainterp=dynamic     \
  --enable-python3interp=dynamic \
  --prefix=/usr/local            \
  --with-compiledby=user         \
  --with-luajit

Let me know if you want me to open a new separate issue.

Fixed by https://github.com/vim/vim/commit/20298ce679dbf21c07c8fe2161724a12424f1e69.

Looks like I talked too fast, sorry.
The issue is indeed fixed in a terminal where modifyOtherKeys is enabled, but not in the GUI.
Minimal example:
vim -Nu NONE -g -S <(cat <<'EOF'
    fu s:popup_filter(winid, key)
        if a:key == "\<m-s-a>"
            call s:setheight(a:winid)
            return v:true
        endif
        return v:false
    endfu
    fu s:setheight(winid)
        let s:height = get(s:, 'height', 1) + 1
        call popup_setoptions(a:winid, #{minheight: s:height})
    endfu
    call popup_create('test', #{
        \ filter: function('s:popup_filter'),
        \ filtermode: 'n',
        \ mapping: v:false,
        \ })
EOF
)

Press M-S-a and observe how the height of the popup window is not increased, while it should.
The issue is the same; 3 extra bytes – \x80\xfc\x02 – are prepended in front of M-S-a.

In case it helps, I'm using gtk2, and I configure Vim like this before the compilation:
./configure  \
  --enable-fail-if-missing       \
  --enable-gui=gtk2              \
  --enable-luainterp=dynamic     \
  --enable-python3interp=dynamic \
  --prefix=/usr/local            \
  --with-compiledby=user         \
  --with-luajit

Let me know if you want me to open a new separate issue.

It's tricky.  I'll fix it for GTK.  It looks like every GUI has slightly
different code to deal with modifier keys, each one has to be checked
separately.  I could try to unify the code, but since I can't check for
each GUI if it works it might as well cause more problems.
--
The Law of VIM:
For each member b of the possible behaviour space B of program P, there exists
a finite time t before which at least one user u in the total user space U of
program P will request b becomes a member of the allowed behaviour space B'
(B' <= B).
In other words: Sooner or later everyone wants everything as an option.
-- Vince Negri
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Fixed by https://github.com/vim/vim/commit/ef6746f637adbdb6860b4fa0266c43c49fa498bc.  Thank you very much.


Restructuring files

Extremely minor restructuring change to conform to some nodejs standard...somewhere.

This is a largely outdated hub file; I'm calling this one off.


[WIP] Enable Metrics for ASG

NOTE: Alarms still cannot be created as ASGs are named somewhat
randomly. So alarms will have to be aware of that and will need
to be updated any time ASG is changed. Cannot think of sensible
way to do that.

So if I'm understanding, this enables metrics for the ASG with its original name when it's provisioned, but if it ever updates, metrics would break?

Metrics wont break. IIRC, we don't update ASGs but re-create them so you'd get a new metric on update as well. But alarms will have been tied to old metric name which would no longer exist.
Furthermore, we create alarms with the VPC and since ASG name is dynamically generated later (at spinup) changes will have to be made to account for it.

AFAIK, you should just need to add support to disco_alarms.py for the AWS/AutoScaling namespace. disco_alarms.py already provided the autoscaling group name as the dimension for the AWS/EC2 namespace, so probably just need to do the same here. https://github.com/amplifylitco/asiaq/blob/master/disco_aws_automation/disco_alarm_config.py#L88

Can one of the admins verify this patch?

ok to test