'conda activate base' error with default, exclusive Anaconda install

Environment data

VS Code version: 1.48.0
Extension version (available under the Extensions sidebar): 2020.8.101144
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.3 64-bit ('base': conda)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A
Relevant/affected Python-related VS Code extensions and their versions: N/a
Value of the python.languageServer setting: Jedi

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behavior
When you execute your first command in a .py file using shift-enter, and that is a valid command, there are no errors in the terminal.
If there is additional setup needed beyond a default install of Visual Studio Code, Anaconda, and the Python extension, then either of these should happen:

(preferred) Fix things so that additional intervention is not needed after a default install.
If it is not feasible to make it "just work", then provide a meaningful message that informs the user what needs to happen.

IMPORTANT: This is not a support request! Visual Studio Code should just work with a default installation. If it doesn't work, then either the code needs to be improved or a useful notice needs to be given to the user.
Actual behavior
The first command that you execute causes the Python environment to start up. It starts with conda activate base, which causes an error:

Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Start with a clean environment that hasn't had Python, Visual Studio Code, or the Python VSCode extension installed.
Install Visual Studio Code.
Install the current release of Anaconda for Windows off of https://www.anaconda.com/products/individual and accept all defaults (you can also change to install for all users--will still get the same error)
Load any .py file in Visual Studio. The .py file needs just one valid, trivial line of code.
Allow Visual Studio Code to install the Python extension.
Run a line of Python code using shift-enter.

Logs

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

User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'AA_testing - control'
User belongs to experiment group 'LocalZMQKernel - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'RunByLine - control'
User belongs to experiment group 'CustomEditorSupport - control'
User belongs to experiment group 'pythonaacf'

conda --version
pyenv root
python3.7 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
python3.6 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
python3 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
python2 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
python "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
py -3.7 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
py -3.6 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
py -3 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
py -2 "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
Starting Jedi Python language engine.
Error 2020-08-16 22:03:38: Detection of Python Interpreter for Command python and args  failed as file  does not exist
Error 2020-08-16 22:03:38: Detection of Python Interpreter for Command python3 and args  failed as file  does not exist
C:\ProgramData\Anaconda3\Scripts\conda.exe info --json
C:\ProgramData\Anaconda3\Scripts\conda.exe info --json
C:\ProgramData\Anaconda3\Scripts\conda.exe info --json
C:\ProgramData\Anaconda3\Scripts\conda.exe info --json
C:\ProgramData\Anaconda3\Scripts\conda.exe info --json
Python interpreter path: C:\ProgramData\Anaconda3\python.exe
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.prefix)"
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.prefix)"
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import sys;print(sys.executable)"
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" site --user-site
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" site --user-site
cwd: c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\out\client
Error 2020-08-16 22:03:39: Failed to get interpreter information for 'C:\Users\Aren Cambre\AppData\Local\Microsoft\WindowsApps\python.exe' [Error: Command failed: "C:\Users\Aren Cambre\AppData\Local\Microsoft\WindowsApps\python.exe" "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\interpreterInfo.py"
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:203:13)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)] {
killed: false,
code: 9009,
signal: null,
cmd: '"C:\\Users\Aren Cambre\AppData\Local\Microsoft\WindowsApps\python.exe" "c:\Users\Aren Cambre\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" "c:\Users\Aren Cambre\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\interpreterInfo.py"'
}
Error 2020-08-16 22:03:39: Failed to get interpreter information for 'C:\Users\Aren Cambre\AppData\Local\Microsoft\WindowsApps\python3.exe' [Error: Command failed: "C:\Users\Aren Cambre\AppData\Local\Microsoft\WindowsApps\python3.exe" "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\interpreterInfo.py"
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:203:13)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)] {
killed: false,
code: 9009,
signal: null,
cmd: '"C:\\Users\Aren Cambre\AppData\Local\Microsoft\WindowsApps\python3.exe" "c:\Users\Aren Cambre\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" "c:\Users\Aren Cambre\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\interpreterInfo.py"'
}
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text "e:\Google Drive\research\Campsite checker\check_sites.py"
cwd: e:\Google Drive\research\Campsite checker
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text "e:\Google Drive\research\Campsite checker\check_sites.py"
cwd: e:\Google Drive\research\Campsite checker
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\completion.py"
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\completion.py"
Error 2020-08-16 22:03:41: stderr jediProxy Error (stderr) c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\completion.py:586: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
jedi.api.names(

C:\ProgramData\Anaconda3\Scripts\conda.exe env list
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import jupyter"
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" -c "import notebook"
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" jupyter kernelspec --version
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
C:\ProgramData\Anaconda3\python.exe (daemon) -m jupyter notebook --no-browser --notebook-dir=C:\Users\ARENCA~1\AppData\Local\Temp\2647a097-96d4-43af-bbdf-a98bd775cb2a --config=C:\Users\ARENCA~1\AppData\Local\Temp\2647a097-96d4-43af-bbdf-a98bd775cb2a\jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
C:\ProgramData\Anaconda3\python.exe (daemon) -m jupyter kernelspec list --json
C:\ProgramData\Anaconda3\python.exe (daemon) -m jupyter kernelspec list --json
##########Linting Output - pylint##########
************* Module check_sites
46,30,error,used-before-assignment:Using variable 'email_body' before assignment

Your code has been rated at 8.48/10 (previous run: 8.48/10, +0.00)

C:\ProgramData\Anaconda3\python.exe (daemon) "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\vscode_datascience_helpers\getJupyterKernels.py"
C:\ProgramData\Anaconda3\python.exe (daemon) "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\vscode_datascience_helpers\getJupyterKernels.py"
C:\ProgramData\Anaconda3\python.exe (daemon) "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\vscode_datascience_helpers\getServerInfo.py"
C:\ProgramData\Anaconda3\python.exe (daemon) "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\vscode_datascience_helpers\getServerInfo.py"
C:\ProgramData\Anaconda3\python.exe (daemon) "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\vscode_datascience_helpers\getServerInfo.py"
C:\ProgramData\Anaconda3\python.exe (daemon) "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\vscode_datascience_helpers\getServerInfo.py"
Error 2020-08-16 22:04:01: stderr jediProxy Error (stderr) c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\completion.py:594: DeprecationWarning: Providing the line is now done in the functions themselves like Script(...).complete(line, column)
script = jedi.Script(
c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\completion.py:594: DeprecationWarning: Providing the column is now done in the functions themselves like Script(...).complete(line, column)
script = jedi.Script(

Error 2020-08-16 22:04:01: stderr jediProxy Error (stderr) c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\completion.py:594: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
script = jedi.Script(
Error 2020-08-16 22:04:01: stderr jediProxy Error (stderr) c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\completion.py:628: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
script.goto_definitions(), request["id"]

C:\ProgramData\Anaconda3\python.exe "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py" "c:\Users\Aren Cambre.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\normalizeForInterpreter.py" "import urllib.request, json, smtplib, ssl, keyring"

@arencambre Are you able to call conda activate <env> from powershell outside of VS Code? See https://github.com/conda/conda/issues/8428.
We are working on improving conda experience. But conda itself requires additional setup to work in Powershell correctly. Also, conda has to be added to path for it to work correctly, or try setting python.condaPath.

When I run conda activate base using a plain PowerShell prompt, I get the same error. However, when I run it using the Anaconda PowerShell Prompt, it works.
I compared the path on both (output of $Env:Path). The Anaconda version's path is the same except:

It's prefixed with C:\Users\[username]\Anaconda3;C:\Users\[username]\Anaconda3\Library\mingw-w64\bin;C:\Users\[username]\Anaconda3\Library\usr\bin;C:\Users\[username]\Anaconda3\Library\bin;C:\Users\[username]\Anaconda3\Scripts;C:\Users\[username]\Anaconda3\bin;C:\Users\[username]\Anaconda3\condabin;
(I doubt this is relevant) trailing backslashes are removed from path items.

@arencambre The reason Anaconda Powershell Prompt works is because it starts powershell like this:
%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\ProgramData\Miniconda3\shell\condabin\conda-hook.ps1' ; conda activate 'C:\ProgramData\Miniconda3' "

The way you do it from a regular powershell is using conda init powershell. This is very invasive, and every time you launch powershell, from then on, for any purpose, will cause conda to activate (at least the base environment). From the extension, we did not want to do this as a part of activation.
For now, use conda init powershell, you may have to navigate to where the conda binary is to run that. Using conda init also means that all powershell terminal from then on will have conda activated.
Note: we do have plans on improving this experience. But that is big change and we are working with conda to figure out a non invasive way to work with activated environments in powershell.
Created a doc bug for this: https://github.com/microsoft/vscode-docs/issues/3951

@karthiknadig small nitpick: no conda command will work from a regular PowerShell prompt since the program is not in the path.
Don't mean to get lost on this detail. The more important thing is VSCode + Anaconda either should work out of the box, or instructions should be provided to users to help them configure correctly.
Running into this again as I am trying to get it working on a clean environment.

I also observe that conda init powershell itself will cause an error on every start of PowerShell. This is because default policy prohibits all script-running, which means C:\Users[username]\Documents\WindowsPowerShell\profile.ps1 will not run. I think that is created when you run conda init powershell, which has to be run using an Anaconda PowerShell prompt.

Coming back to this. It appears that to make Python work in this environment, one must first run these two commands in an Anaconda PowerShell window:

conda init powerhsell <-- this is just needed to make Anaconda work right with VSCode per @karthiknadig 's above comment
Set-ExecutionPolicy -ExecutionPolicy Unrestricted <-- (Must be run with administrative privileges.) The prior command causes C:\Users\[username[\OneDrive\Documents\WindowsPowerShell\profile.ps1 to be run every time PowerShell is started. With the default execution policy, this script cannot run, so you'll get an error. This is what is needed to get profile.ps1 to run. This seems like a not-ideal solution, but I am not aware of anything else feasible.

Running into this again on a fresh install. This Github issue saves the day each time!

#2559 reflects the problem with the script execution policy, where in https://github.com/microsoft/vscode-python/issues/13464#issuecomment-748734319 I had to change it.

Interesting finding: when I do a vanilla install of everything on a VM that is not connected to a domain, I do not get the problem referenced above. I wonder if this whole issue relates to some routine variance in Windows configuration when it's connected to a domain?
In my case, my domain does hardly anything to workstations via group policy, so if I had to make a guess, it would be that there is something intrinsic with Windows that changes when you do a domain install. While possibly unrelated, I've encountered this in other instances where user-only installs put program files into one's Documents folder instead of AppData.
If my theory is true, this might even be an Anaconda issue?

Should be fixed with https://github.com/microsoft/vscode-python/issues/2559#issuecomment-1714492521.


Publishing via Tag Broken

Describe the bug
The publishing step runs when we push new tags. This job is supposed to publish a new version with the latest tag when it is run. However, sbt-git seems to not be properly getting the tag and is instead treating it as kind of a snapshot.
You can see this behavior in this job that ran for the 0.0.13 tag (brief snippet below):
[info] set current project to root (in build file:/home/circleci/project/)
2020-07-31 15:55:19.352Z  info [SonatypeService] sonatypeRepository  : https://oss.sonatype.org/service/local  - (SonatypeService.scala:24)
2020-07-31 15:55:19.356Z  info [SonatypeService] sonatypeProfileName : com.azavea  - (SonatypeService.scala:25)
2020-07-31 15:55:19.356Z  info [SonatypeClient] Reading staging repository profiles...  - (SonatypeClient.scala:109)
2020-07-31 15:55:21.064Z  info [SonatypeService] No staging repository for [sbt-sonatype] root 0.0.12-3-g699a2cf is found. Create a new one.  - (SonatypeService.scala:88)
2020-07-31 15:55:21.081Z  info [SonatypeClient] Reading staging profiles...  - (SonatypeClient.scala:121)
2020-07-31 15:55:24.345Z  info [SonatypeClient] Creating a staging repository in profile com.azavea with a description key: [sbt-sonatype] root 0.0.12-3-g699a2cf  - (SonatypeClient.scala:127)
2020-07-31 15:56:06.211Z  info [SonatypeClient] Created successfully: comazavea-1171  - (SonatypeClient.scala:140)
[info] Updating sonatypePublishTo settings...
[info] set current project to root (in build file:/home/circleci/project/)
[warn] Multiple resolvers having different access mechanism configured with same name 'typesafe-ivy-releases'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
[warn] Multiple resolvers having different access mechanism configured with same name 'local'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
[info] Wrote /home/circleci/project/modules/core/target/scala-2.12/core_2.12-0.0.12-3-g699a2cf.pom
[info] Formatting 48 Scala sources...
[warn] Multiple resolvers having different access mechanism configured with same name 'typesafe-ivy-releases'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
[warn] Multiple resolvers having different access mechanism configured with same name 'local'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
[info] Formatting 1 Scala sources...

Expected behavior
Publish jobs should use the latest tag when publishing
Additional context
You can manually checkout what sbt-git is doing via an sbt shell. I checked out the 0.0.13 tag to try and see what sbt-git was returning and it was not what I expected (it looked like what happened in the linked job above). I'm not sure if it's a bug in sbt-git that we've just hit. There doesn't seem to have been any updates that could have triggered this between the last successful job and the latest attempt at releasing.

I haven't looked at all and I'm not working until tomorrow but before too much effort is put into this, we should confirm that the tag:

has an annotation
is signed

(I think signing requires an annotation? I don't remember all the tagging rules)

I think that James may be on to something.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 699a2cf Update StacMediaType for geotiff and cog (#132)
$ git describe --tags
0.0.13

(I have not pushed the 0.0.13 tag override.)

Oh wow - I didn't even think about that. This seems like it will fix the issue (testing locally)
cbrown@DESKTOP-S9LLF7C:~/stac4s$ git tag -d 0.0.13
Deleted tag '0.0.13' (was 699a2cf)
cbrown@DESKTOP-S9LLF7C:~/stac4s$ git tag -a 0.0.13 -m "Version 0.0.13 of stac4s"
cbrown@DESKTOP-S9LLF7C:~/stac4s$ ./sbt
[info] welcome to sbt 1.3.13 (Private Build Java 1.8.0_252)
[info] loading settings for project stac4s-build from metals.sbt,plugins.sbt ...
[info] loading project definition from /home/cbrown/stac4s/project
[info] loading settings for project root from build.sbt ...
[info] set current project to root (in build file:/home/cbrown/stac4s/)
[info] sbt server started at local:///home/cbrown/.sbt/1.0/server/972c18296dcf25cb442a/sock
sbt:root> gitDescribedVersion
[info] core / gitDescribedVersion
[info]  Some(0.0.13)
[info] testing / gitDescribedVersion
[info]  Some(0.0.13)
[info] coreTest / gitDescribedVersion
[info]  Some(0.0.13)
[info] gitDescribedVersion
[info]  Some(0.0.13)
sbt:root>

Should I delete the existing tag and force push the updated one? I don't think that's problematic because there isn't an associated 0.0.13 release.

I should have documented it somewhere. I learned the difference here and only thought about it a while ago because I remembered that part of git flow release finish x includes a tag message, which a lightweight tag doesn't include.

Should I delete the existing tag and force push the updated one? I don't think that's problematic because there isn't an associated 0.0.13 release.

Yeah, that seems reasonable to me in this scenario.


docker build not working for env distribution

Hi,
I'm trying to build a docker image dev distribution parameter but it doesn't work (error message ahead).
It worked for me with runtime distribution:
python3 docker_openvino.py build --package_url https://storage.openvinotoolkit.org/repositories/openvino/packages/2021.4/l_openvino_toolkit_runtime_ubuntu18_p_2021.4.582.tgz --distribution runtime  -d cpu -os ubuntu18 --product_version 2021
but this one didn't (see that it's identical to the previous command except for the dev in both url and distribution parameter):
python3 docker_openvino.py build --package_url https://storage.openvinotoolkit.org/repositories/openvino/packages/2021.4/l_openvino_toolkit_dev_ubuntu18_p_2021.4.582.tgz --distribution dev -d cpu -os ubuntu18 --product_version 2021
The error message:
ERROR     The command '/bin/bash -xo pipefail -c ${PYTHON_VER} -m pip install --no-cache-dir cmake &&     ${PYTHON_VER} -m pip install --no-cache-dir -r ${INTEL_OPENVINO_DIR}/python/${PYTHON_VER}/requirements.txt &&     find "${INTEL_OPENVINO_DIR}/" -type f ( -name "requirements." -o  -name "requirements_ubuntu18." -o ( -name "requirements.in" -and -not -name "requirements-tensorflow.in" ) ) -not -path "/accuracy_checker/" -not -path "/post_training_optimization_tool/" -not -path "/python3*/" -not -path "/python2*/*" -print0 | xargs -t -0 -n1 ${PYTHON_VER} -m pip install --no-cache-dir -r' returned a non-zero code: 123
[2021-11-18 13:37:49] INFO      Build time: 4 minutes 47 seconds
[2021-11-18 13:37:49] ERROR     Error building Docker image ['ubuntu18_dev:2021', 'ubuntu18_dev:latest']
| Traceback (most recent call last):
|   File "docker_openvino.py", line 403, in
|     launcher.build()
|   File "docker_openvino.py", line 182, in build
|     raise FailedBuildError(f'Error building Docker image {self.args.tags}')
| utils.exceptions.FailedBuildError: Error building Docker image ['ubuntu18_dev:2021', 'ubuntu18_dev:latest']

Hi @harelfar2,
Could you retry with Docker CI framework from the releases/2021/4 branch?
We will have some OpenVINO folder structure changes since 2022.1 release and the master branch of the docker_ci is targeting 2022.x releases. We will reflect this in the documentation.

Yes it worked.
Thanks a lot for your help and the quick response


Update to cli and Dockerfile

Created initial pass at Dockerizing our code
Overview
Initial pass at Dockerizing our code
New Files

docker.rst : simple instructions of how to build and run a Docker Image Locally and in AWS.
ois_ingest.py : Empty for now. Just has print statements.
Dockerfile : created Dockerflie

Deleted Files

none

Updated Files

cli.py : created subparsers
pyproject.toml : added ability for stand-alone executable
index.rst : updated toc tree

Testing

test_cli.py

I think there are a few things going on here, and I'd request that they be broken up into separate PRs. 1) for adding OIS processing, and 2) for adding a Dockerfile making an imap_processing container.
OIS work I'm not sure we want/need OIS here... I think it could be an "i-alirt" instrument processing or something similar like that?
Dockerfile work What is the purpose of the Dockerfile? We have one for development: https://github.com/IMAP-Science-Operations-Center/imap_processing/blob/dev/.devcontainer/Dockerfile So, we should use that for development purposes if possible. Maybe add an explanation to our docs explaining how to make use of that? If it is for creating and building the container to deploy to the ECR. I don't think we should COPY any of the local files into the container, we should just pip install imap_processing, or if you want the latest github version: pip install git+https://github.com/IMAP-Science-Operations-Center/imap_processing.git@dev. This will install all of the dependencies without needing to copy/setup anything else. So I think the Dockerfile should be extremely minimal and only one-two lines long.

I realized after writing this that I don't think that we will have a ois container on our end. We had some conversations earlier that made me think that we would.


Build Python Wheels on manylinux x86 and Upload to PyPI

issue: #818
Use cibuildwheels to build wheels on different platforms for the Knowhere Python package. The auditwheel tool in the cibuildwheels will copy libraries in the shared library to reach maximum portability possible.

For python wheels release action, check https://github.com/PwzXxm/knowhere/actions/runs/4696182428

/hold

/unhold

/lgtm

/lgtm


Faulty resource reuse in CertificateStoreService.cs

Describe the bug
When using the local (windows) certificate store to find a cert the CertificateStoreService prints that its searchin in Azure Key Vault, because the log message was likely copied from the azure key vault provider. See: https://github.com/dotnet/sign/blob/ac9e8b416cd6e8692f1eea1ac6678d7e5c464216/src/Sign.SignatureProviders.CertificateStore/CertificateStoreService.cs#L118
Uses the same resource key as:
https://github.com/dotnet/sign/blob/ac9e8b416cd6e8692f1eea1ac6678d7e5c464216/src/Sign.SignatureProviders.KeyVault/KeyVaultService.cs#L79
which is:
https://github.com/dotnet/sign/blob/ac9e8b416cd6e8692f1eea1ac6678d7e5c464216/src/Sign.Core/Resources.resx#L190-L192
Not sure of the semantics of TrustedSigningService but that service is also reusing that resource key:
https://github.com/dotnet/sign/blob/ac9e8b416cd6e8692f1eea1ac6678d7e5c464216/src/Sign.SignatureProviders.TrustedSigning/TrustedSigningService.cs#L70

Expected behavior
Verbose logs should print that it was searching in the windows cert store. Bonus points if that log also provides where exactly it searched and what it found "Issue To" or the SHA1 Hash or something would be helpful.
Actual behavior
A clear and concise description of what actually happened.
Additional context
 λ dotnet sign --version
0.9.1-beta.24469.1+5516908609085978174904945d54144c117041dc

 λ dotnet --info
.NET SDK:
 Version:           9.0.100-rc.1.24452.12
 Commit:            81a714c6d3
 Workload version:  9.0.100-manifests.67cd1eb6
 MSBuild version:   17.12.0-preview-24422-09+d17ec720d

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22631
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\9.0.100-rc.1.24452.12\

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
 [aspire]
   Installation Source: VS 17.11.35327.3, VS 17.12.35323.107
   Manifest Version:    8.2.0/8.0.100
   Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.2.0\WorkloadManifest.json
   Install Type:        FileBased

Host:
  Version:      9.0.0-rc.1.24431.7
  Architecture: x64
  Commit:       static

.NET SDKs installed:
  8.0.403 [C:\Program Files\dotnet\sdk]
  9.0.100-rc.1.24452.12 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-rc.1.24452.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-rc.1.24431.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 9.0.0-rc.1.24452.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Thanks for reporting this issue. I have created a PR that fixes this issue.


Reword referrer in error logs

Everywhere in the codebase, referer (one r) is used except in the error log.
If we follow the documentation from mozilla.org we should have referer (one r) everywhere to be consistent.
Signed-off-by: Jérémie Drouet<EMAIL_ADDRESS>

Pushed this fix to mercurial...


show toplevel breadcrumb but disable click onlink

Is there a way to display the breadcrumb onClick do nothing?
I want to display Data Analytics > shop-analytics > futher nested items.  Every link is clickable except for the top level breadcrumb(Data Analytics).
module.exports = [
                {
                path: 'analytics',
                name: 'Data Analytics',
                indexRoute: {
                    component: DataAnalyticsPage
                },
                childRoutes: [
                    {
                        path: 'shop-analytics',
                        name: 'Shop Analytics',
                        getComponent(location, cb) {
                            System.import('Components/ShopAnalytics')
                                .then(loadRoute(cb))
                                .catch(errorLoading)
                        }
                    },
                    {
                        path: 'userAcquisition',
                        name: 'User Acquisition',
                        getComponent(location, cb) {
                            System.import('Containers/UserAcquisition')
                                .then(loadRoute(cb))
                                .catch(errorLoading)
                        }
                    },
                    {
                        path: 'userRetention',
                        name: 'User Retention',
                        getComponent(location, cb) {
                            System.import('Containers/UserRetention')
                                .then(loadRoute(cb))
                                .catch(errorLoading)
                        }
                    },
.....
]

nevermind just use prepend!
    handleTopLevelRoute = () => {
        //first route after entry
        const topLevelRoute = this.props.routes[1];
        return (
            <span> { topLevelRoute.name } > </span>
        )
    }

    render() {
        return(
            <div className={cx('tasty-bread')}>
              <Breadcrumbs
                prepend={ this.handleTopLevelRoute() }
                excludes={['App']}
                routes={this.props.routes}
                params={this.props.params}
              />
            </div>
        )
    }

I wanted to implement something similar. I had Main > Route 1 > Route 2 (current). I wanted to remove the link for the current page. Right now the library creates a link for every route that has child routes. In my case, Route 2 had several child routes. But again, I didn't want to display the link if Route 2 was the current page.
I ended up doing it with styles.
/* jsx */
<Breadcrumbs
  routes={routes}
  params={params}
  itemClass="Item"
  wrapperClass="Breadcrumbs" />

/* css (sass) */
.Breadcrumbs .Item{
  &:last-child a {
    color: #000;
    cursor: text;

    &:hover,
    &:focus,
    &:active,
    &:visited {
      cursor: text;
    }
  }
}

What did the trick here was the :last-child rule. In your case you can use :first-child. This won't remove the link, but if you don't want to use prepend, this  would allow you to customize the styles and make it look as it is not a link.


added demo video file into asset folder

Able to merge, pull request created.

no conflicts with the base branch, pull request merged.


Gnome 43 support incoming?

Just curious. Discovered this extension today, and heard about the recent GNOME 43 release. I'm expecting the update on Arch Linux in  a couple weeks at most.

Yes it will eventually come. I'm currently working on a somewhat big update, so it'll take a while.

Please, solve the issue when the user click on the pencil icon to modify an item that stuck the entire desktop

@rcsm of course

Meanwhile, you can use my forked version with gnome 43.
https://github.com/digitalillusion/timepp/releases/tag/166
This is not an official release. I can open a merge request to this repository if needed

@zagortenay333 Are you still working on this? :)

Yes, should be done in about a week or 2. In time for the fedora release.
Here is a preview (I ditched the todo.txt format and ship a custom markup lang):

Yes, should be done in about a week or 2. In time for the fedora release.

That's great!

Here is a preview (I ditched the todo.txt format and ship a custom markup lang):

Hm, I personally liked the line-based todo.txt very much, because I could filter the tasks with grep etc.
Do you think it'll be possible to still do that with the new format (with only single line tasks)?

Would you mind posting a sample of the new todo.txt format?
Currently, it looks like this for me:
2023-04-16 <my-todo-text>

I already did above. In general, this markup language is not as easy to parse as todo.txt. Things aren't in rigid positions so it will probably be harder to grep stuff.

I see. Thanks for your efforts!

Done.


Use pid/tid stat file for accurate thread start time calculation

Current /proc scan logic uses the stat() system call of the cmdline file within the /proc filesystem, to determine the start time of a thread or process. This approach yields inaccurate and inconsistent results, because /proc files are created on demand (e.g. /proc directory scan, /proc file open), rather than when the process or thread is created.
The definitive approach is to read the system boot time from /proc/stat, then add the start time reported by the /proc//stat file for a process, or the /proc//task//stat file for a non-process thread.
This changeset implements this definitive approach.

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
Fixes inaccuracy/inconsistency in the start times reported, for threads and processes discovered via scan of /proc.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

Withdrawing this PR.


Updated netcoreapp2.1 to netcoreapp2.2.

Not really sure why the travis build is failing. Already changed from trusty to xenial dist since that should fix the issue: https://travis-ci.community/t/dotnet-core-2-2/1216
Building on travis with SDK 2.2 is working for my project: https://github.com/MaxMommersteeg/Qml.Net.TodoApp/blob/master/.travis.yml

We are using a docker image to run the build.
I'll have to pick it up from here, since I'd have to update the dockerhub image, which will have to be done for Qt 5.12.

I've updated the docker image and committed your changes to develop.


On project creation fail, fast-exit

There are various ways that setup can fail when trying to create a project. We can't/shouldn't try to accommodate them all, so instead, let's give it a try, and if it fails, exit immediately and direct users to specify an existing project.

(Also, don't try to mess with folders; just rely on the default behavior of creating in the same folder.)


Make jest a devDependency instead of a production dependency

This saves people from having to download a ton of other dependencies when they use this library

@leahciMic Any chance to merge this and publish it?

@ratson I published a minimal fork as https://github.com/TehShrike/just-uuid4

I will have this merged later today. Sorry I missed this PR!
On Fri, 17 Aug. 2018, 10:37 pm Josh Duff<EMAIL_ADDRESS>wrote:

@ratson https://github.com/ratson I published a minimal fork as
https://github.com/TehShrike/just-uuid4
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leahciMic/random-uuid-v4/pull/4#issuecomment-413886569,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLtth9Ro8SUCbvvm8dg3H5QlIb5de4oks5uRtVEgaJpZM4U4evO
.

--
Kind regards,
Michael Leaney


MacVim crashes opening this file

(2.  Go through the [http://github.com/b4winckler/macvim/wiki/Troubleshooting
Troubleshooting guide] before creating a new Issue to rule out common problems
that are not bugs.

You might want to recommend using `mvim -u NONE` instead of the manual .vimrc
dance there.)

What steps will reproduce the problem?

Open the attached file.

What is the expected output? What do you see instead?

MacVim should display the file. system-vim can open it. I tried opening it with
`mvim -u NONE thefile`, it still crashes.

This is with snapshot 73.

Please provide any additional information below.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 20 Jan 2015 at 3:24
Attachments:

id:000009,sig:11,src:001475,op:havoc,rep:2

This issue was moved to macvim-dev/macvim#28


More checks whether conda is installed

@majosm: Does this fix the issue you mentioned in #6?

Did you mean to use have_conda in the if statement? It looks like it's still checking for the directory.

Did you mean to use have_conda in the if statement? It looks like it's still checking for the directory.

No, the check for the miniconda3 directory. the have_conda check does not work as intended, as the CI VMs already have a conda version installed, but which does not install pocl correctly...

Oh, hmm. Is there maybe a way to test whether the conda present is one that installs pocl correctly or not? Checking for ~/miniconda3 isn't necessarily general (if this is the goal) as it can be installed elsewhere. For example, on my Mac it's installed in /opt/miniconda3, and on Quartz I put it in ~/.miniconda3 (just to be difficult :P).

@majosm @MTCam @inducer  Please take a look at the current version. The pip/conda installation is split into 2 separate scripts now, and conda installation should be more robust (= fewer segfaults 😂)

This now works on Power9 and is able to run wave-eager with POCL on the CPUs.

Any chance we could split the script up between the conda init and the environment creation + dependency installation? I guess what I originally had in mind was something along the lines of:
# Run if you don't already have a suitable conda install
./get-conda.sh

# Run if you don't already have an environment you want to install into
conda create -n <name>
conda activate <name>

# Install pocl and pip stuff
./get-dependencies.sh

The above code could be wrapped up into a single install.sh script for noobs who don't have anything installed.

Any chance we could split the script up between the conda init and the environment creation + dependency installation? I guess what I originally had in mind was something along the lines of:
# Run if you don't already have a suitable conda install
./get-conda.sh

# Run if you don't already have an environment you want to install into
conda create -n <name>
conda activate <name>

# Install pocl and pip stuff
./get-dependencies.sh

The above code could be wrapped up into a single install.sh script for noobs who don't have anything installed.

So 2 scripts now become 3 scripts? This is becoming Inception-level scripting 🤣

https://en.wikipedia.org/wiki/Fundamental_theorem_of_software_engineering :wink:

Any chance we could split the script up between the conda init and the environment creation + dependency installation? I guess what I originally had in mind was something along the lines of:
# Run if you don't already have a suitable conda install
./get-conda.sh

# Run if you don't already have an environment you want to install into
conda create -n <name>
conda activate <name>

# Install pocl and pip stuff
./get-dependencies.sh

The above code could be wrapped up into a single install.sh script for noobs who don't have anything installed.

So 2 scripts now become 3 scripts? This is becoming Inception-level scripting 🤣

Done.

https://en.wikipedia.org/wiki/Fundamental_theorem_of_software_engineering 😉

When writing scripts, I personally follow more the Spice Girls school of development: https://en.wikipedia.org/wiki/2_Become_1

Added some thoughts. Also, one more: now that we have an abundance of scripts (whose fault is that? 😅) it might be good for clarity to rename or move some of them. Thinking we should just have the "install everything" scripts for conda and spack in the top level directory and throw the sub-pieces in a directory somewhere (scripts?).

We could do that, but I think then people would start complaining about not finding the right script 😅. We could always do that in a future PR.

Added some thoughts. Also, one more: now that we have an abundance of scripts (whose fault is that? 😅) it might be good for clarity to rename or move some of them. Thinking we should just have the "install everything" scripts for conda and spack in the top level directory and throw the sub-pieces in a directory somewhere (scripts?).

We could do that, but I think then people would start complaining about not finding the right script 😅. We could always do that in a future PR.

Yeah, I was just trying to think how to make it clearer which scripts do what. For example, if I didn't know better I would find it confusing that install-conda.sh and install-spack.sh aren't equivalent (i.e. I would think that one installs everything with conda and the other installs everything with spack). Putting sub-scripts in a directory would be one way to fix that, but there may be alternatives.
Otherwise, looks good to me. Not sure if anyone else wants to review before merging? I'll leave it open for the moment.


Vi mode menu completion error

I'm using vi mode and have tab set to menu complete. I get an EditItemInsertString -> GroupedEdit cast exception when I've edited part of the line with vi commands (at least C which I use most often) and then press tab for completion. The menu complete works although the completion doesn't show up on the edit line, the error just happens after I press enter or ^C on the line. Additionally, sometimes ^C doesn't work on the first line after the exception is thrown, but this is the only non-reproducible part. The rest is entirely reproducible for me, I'm just not familiar enough with the completion code to track it down.
Environment data
PS version: 6.0.1
PSReadline version: 2.0 (built from Git)
os: 10.0.17120.1 (WinBuild.160101.0800)
PS file version: 6.0.1
Steps to reproduce or exception report
Turn on vi mode and bind tab to menu complete, then type asdf^[0Cls -^I (using ^[ = esc and ^I = tab). You can cycle through a couple completions to see the 'ghost text', but accepting or canceling the line gives me the same exception every time after this.

Please excuse my ignorance...  How do I go about binding tab to menu complete?

Probably should have included my config just in case - here are the options I have set, which includes that setting.
  Set-PSReadlineOption -EditMode vi
  Set-PSReadlineOption -BellStyle None
  Set-PSReadlineOption -ViModeIndicator Cursor
  Set-PSReadlineKeyHandler -Key 'Shift+Tab' -Function Complete
  Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
  Set-PSReadlineKeyHandler -Key 'Ctrl+[' -Function ViCommandMode

  Set-PSReadlineKeyHandler -Key 'Ctrl+b' -ViMode Command -Function ScrollDisplayUp
  Set-PSReadlineKeyHandler -Key 'Ctrl+f' -ViMode Command -Function ScrollDisplayDown
  Set-PSReadlineKeyHandler -Key 'Ctrl+y' -ViMode Command -Function ScrollDisplayUpLine
  Set-PSReadlineKeyHandler -Key 'Ctrl+e' -ViMode Command -Function ScrollDisplayDownLine
  Set-PSReadlineKeyHandler -Key 'Ctrl+b' -ViMode Insert -Function ScrollDisplayUp
  Set-PSReadlineKeyHandler -Key 'Ctrl+f' -ViMode Insert -Function ScrollDisplayDown
  Set-PSReadlineKeyHandler -Key 'Ctrl+y' -ViMode Insert -Function ScrollDisplayUpLine
  Set-PSReadlineKeyHandler -Key 'Ctrl+e' -ViMode Insert -Function ScrollDisplayDownLine

I've submitted a pull request with a fix.  But, it's a bit "hacky" so I'm not sure @lzybkr  is going to like it.  The problem looks like some inconsistent assumptions around the use of edit histories between the various modes and the menu completion implementation.  Figuring those all out is more work than I have time available, hence the hack.


BUG: Validator is not receiving refunds for her ETH and BNB

What is happening?

Section description
Provide as much context as you can. Give as much context as you can to make it easier for the developers to figure what is happening.

Again jailed.
0xBaE919E4B272193544A9f18aF1fB75F918D2B1F0 balance is low 0.04 ETH
https://bscscan.com/address/0x0Ba5F0e6BDbc820EC58BC44f9c96A8A515Fb8Cfc#internaltx balance 0.04 BNB
Balances are not being refunded by the vyper contracts.
Paloma and pigeon versions and logs

Section description
Write down paloma version.
Write down pigeon version.
Copy and paste pigeon config file as well as relevant ENV variables.

N/A
How to reproduce?

Section description
Please write detailed steps of what you were doing for this bug to appear.

run.py and run_bsc.py do not make payments to the validator addresses.
What is the expected behaviour?

Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

0xBaE919E4B272193544A9f18aF1fB75F918D2B1F0 should have refunds.
0x0Ba5F0e6BDbc820EC58BC44f9c96A8A515Fb8Cfc should have refunds

This turns out to be a timing mismatch, and a general issue when balance checking takes place before a validator is given refund.
For this particular case, here is what happened:

[around 18:52] at 15733935, the user received refund (https://etherscan.io/tx/0x7ae52beab7991863321352fa489c3152c3f751c69abee3a529114b0b222bc66c) and the balance was sufficient
[around 23:05] at 15735200, the user signed a valset update and spent some ETH, leading the balance to be less than 0.05ETH
[at 00:00] balance checking took place which led the user to be jailed [big assumption: balance checking happens at 00:00 UTC, need to be confirmed]

If the assumption is correct, the current problem can be resolved by running gas refund right before 00:00 UTC every day.

@fieldtheory123
Sergio | PPNV Service, [Oct 13, 2022 at 5:16:40 AM (Oct 13, 2022 at 5:20:40 AM)]:
hey man!
my eth balance <0.05eth
time="2022-10-13T12:16:31+02:00" level=info msg="not staking. waiting"
https://etherscan.io/address/0x279fC7c0ebEf3328d3899FE73464347A764C5f2C

@fieldtheory123 @taariq according to the pigeon video (~minute 6:30) balance check happens "every 5 minutes or so" for all alive pigeons. So I think this needs to be run on a cron job.

On second thought, if we run the refunds more often our gas costs will also go up. So it might make more sense to increase the refund amount, so pigeons balances last longer before they hit the threshold again.
@fieldtheory123 by how much would we need to increase the refund amount OR how often would we need to run the refund script to ensure pigeons don't run out of gas given our current txs volume?

I think we need to come up with a way to preemptively give refund to avoid pigeons getting jailed, also taking gas cost into consideration. I've had some ideas and will write something up.

Fixed with automated refunds.


post-install step did not complete successfully<EMAIL_ADDRESS>lzo, libressl, gnutls)

brew config output
HOMEBREW_VERSION: 3.1.3-91-gfb7d19c
ORIGIN: https://github.com/Homebrew/brew
HEAD: fb7d19c6618f90b30c463fa854ae241fb5e0bacc
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 65969a0f96ab3ab1801286a02eaaca1bf7893423
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.GJP4ldUHE9/org.xquartz:0
HOMEBREW_EDITOR: /usr/local/bin/nano
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit skylake
Clang: 12.0 build 1200
Git: 2.31.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.3-x86_64
CLT: <IP_ADDRESS>.1.1610135815
Xcode: 12.4

brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  ilmbase
  libav
<EMAIL_ADDRESS>  polipo
  spdylay

Warning: You have installed Bitdefender. The "Traffic Scan" option interferes with
Homebrew's ability to download packages. See:
  https://github.com/Homebrew/brew/issues/5558

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /usr/local/opt/pkg-config

Warning: Putting non-prefixed coreutils in your path can cause GMP builds to fail.

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
Bitdefender is OFF
as for /usr/local/opt/pkg-config brew auto links this when doing brew link pkg-config
this issue is similar to https://github.com/Homebrew/brew/issues/10181
however, I am on an intel based mac.
I am getting post-install step did not complete successfully for the following
<EMAIL_ADDRESS>lzo
libressl
gnutls

Extra Info:
❯ which security
/usr/bin/security
❯ security list-keychains
    "/Users/ovidijus/Library/Keychains/login.keychain-db"
    "/Library/Keychains/System.keychain"

❯ brew irb
==> Interactive Homebrew Shell
Example commands available with: `brew irb --examples`

WARNING: This version of ruby is included in macOS for compatibility with legacy software.
In future versions of macOS the ruby runtime will not be available by
default, and may require you to install an additional package.

irb(main):001:0> `security list-keychains`
=> "    \"/Users/ovidijus/Library/Keychains/login.keychain-db\"\n    \"/Library/Keychains/System.keychain\"\n"

What happened (include all command output)?
brew postinstall gnutls
zsh: correct 'gnutls' to '.gnutls' [nyae]? n
==> Postinstalling gnutls
==> Regenerating CA certificate bundle from keychain, this may take a while...
Warning: The post-install step did not complete successfully
You can try again using:
  brew postinstall gnutls
❯ brew postinstall libressl
==> Postinstalling libressl
==> Regenerating CA certificate bundle from keychain, this may take a while...
Warning: The post-install step did not complete successfully
You can try again using:
  brew postinstall libressl
❯ brew postinstall lzo
==> Postinstalling lzo
❯ brew postinstall<EMAIL_ADDRESS>==> Postinstalling<EMAIL_ADDRESS>==> Regenerating CA certificate bundle from keychain, this may take a while...
Warning: The post-install step did not complete successfully
You can try again using:
  brew postinstall<EMAIL_ADDRESS>
What did you expect to happen?
to finish? not sure whats going on or where it's failing
Step-by-step reproduction instructions (by running brew commands)
all I did was
brew reinstall<EMAIL_ADDRESS>lzo libressl gnutls

& then it failed to do the postinstall.

Sounds related to https://github.com/Homebrew/homebrew-core/issues/75156 and https://github.com/Homebrew/homebrew-core/issues/75003.
Are you running SentinelOne, perchance?

nope..
i just ran it with verbose...
==> Postinstalling<EMAIL_ADDRESS>/usr/bin/sandbox-exec -f /private/tmp/homebrew20210426-39340-1ww6oo3.sb nice ruby -W1 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/postinstall.rb<EMAIL_ADDRESS>==> Regenerating CA certificate bundle from keychain, this may take a while...
Warning: The post-install step did not complete successfully
You can try again using:
  brew postinstall<EMAIL_ADDRESS>==> An exception occurred within a child process:
  Errno::EINTR: Interrupted system call @ rb_file_truncate - /private/tmp/20210426-39341-m2i3cg

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `truncate'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:148:in `block in macos_post_install'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:145:in `select'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:145:in `macos_post_install'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/on_os.rb:8:in `on_macos'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:114:in `post_install'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1089:in `block (2 levels) in run_post_install'
/usr/local/Homebrew/Library/Homebrew/formula.rb:924:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1088:in `block in run_post_install'
/usr/local/Homebrew/Library/Homebrew/utils.rb:558:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1077:in `run_post_install'
/usr/local/Homebrew/Library/Homebrew/postinstall.rb:22:in `<main>'

i have noticed I have been getting quite a lot of Errno::EINTR: Interrupted system call lately.. not sure what is causing this...

Are you running any other security/antivirus software?

Bitdefender is turned off
I do run LittleSnitch & Adgurad, however, they monitor connections through a local VPN. they do not interfere with local files on the system...
i have tested this with both of them off, same result...

Try doing
export HOMEBREW_TEMP=$HOME/tmp
mkdir $HOMEBREW_TEMP
brew postinstall<EMAIL_ADDRESS>

nope still same issue...
Errno::EINTR: Interrupted system call @ rb_file_truncate - /Users/ovidijus/tmp/20210426-63560-ecpfjk
however, i have a hunch... i tried ish /bin/bash & i had no issues...
i think its my zsh shell...
i have oh-my-zsh setup.. going to go through plugins etc & see if any of them are causing this...

Sounds like a config issue then, and not a bug in brew, so I'm closing this. Feel free to keep posting about your progress here, and I'll still try to help if I can.

well i'm not sure...
/bin/bash works fine
/usr/local/bin/bash
/usr/bin/zsh
/usr/local/zsh
fail
I even reset all shell config to bare bones with nothing in there & it still fails...

as a baseline test, i install homebrew on a mac with big sur on it which has never had homebrew installed & I get the same error...

Ok, sounds suspicious. Reopening.

I wonder if wrapping it in a:
begin
  tmpfile.truncate cert.size
rescue Errno::EINTR
  retry
end

is sufficient to workaround this.


Keep field ids in Parquet Schema

https://github.com/apache/parquet-mr/pull/56
This pull request adds the field ids from Thrift and Protos in the Parquet schema. The goal is to simplify implementation of backward compatibility features when using those.
Reporter: Julien Le Dem / @julienledem
Assignee: Julien Le Dem / @julienledem
Note: This issue was originally created as PARQUET-90. Please see the migration documentation for further details.

Julien Le Dem / @julienledem:
https://github.com/rdblue/parquet-mr/commit/1187f7189e5bf0a06e045929b457fc195117dc41


Remove 'monaco-editor' dependency

'npx depcheck' marked 'monaco-editor' as unused dependnecy
My guess we use 'monaco-editor' just for processor template? It seems still up and running.

You're right, it seems unnecessary.
It is not listed in the peer dependencies list of our version of @patternfly/react-code-editor
I've probably added it because it is wrongfully reported as peer dep in the readme


nbconvert doesn't display hightchart

Hello,
I've a problem,  nbconvert  doesn't display 'Highchart',  I can read
in the chart location <highcharts.highcharts.highcharts.Highchart at 0x114416400>
is it possible to convert ipynb to .pdf  with highchart ?
thank you
SR

It's very easy to convert highcharts into pdf.
Best if you install your own Highcharts server.
https://hub.docker.com/r/onsdigital/highcharts-export-node/
This is the way forward to create reports rather than trying to convert the
entire *.ipynb...
Thomas
On 6 February 2018 at 16:30, stef30360<EMAIL_ADDRESS>wrote:

Hello,
I've a problem, nbconvert doesn't display 'Highchart', I can read
in the chart location <highcharts.highcharts.highcharts.Highchart at
0x114416400>
is it possible to convert ipynb to .pdf with highchart ?
thank you
SR
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kyper-data/python-highcharts/issues/46, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AB84fwcjkBhRBJA7tIbpKXK2QqUzofPWks5tSHAEgaJpZM4R7PIM
.

--
Dr. Thomas Schmelzer
*post: *Rue Louis-de-Savoie 60, 1110 Morges, Switzerland
mobile: +41 786 928 942
*skype: *thomas.schmelzer

thanks, I try now...

I'm not sure I understand... I need to convert my Jupyter notebook  file in pdf , how can  'Highcharts server' serve me?
thank you

Why do want to convert an entire Notebook? That sounds too ambitious to me.
I would only convert the graphs and use that in a more traditional LaTeX
document? Maybe I am too old-school...
On 6 February 2018 at 17:19, stef30360<EMAIL_ADDRESS>wrote:

I'm not sure I understand... I need to convert my Jupyter notebook file in
pdf , how can 'Highcharts server' serve me?
thank you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kyper-data/python-highcharts/issues/46#issuecomment-363476285,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB84fxkdwbWwihEBLqhoP51skKD8Ynx3ks5tSHufgaJpZM4R7PIM
.

--
Dr. Thomas Schmelzer
*post: *Rue Louis-de-Savoie 60, 1110 Morges, Switzerland
mobile: +41 786 928 942
*skype: *thomas.schmelzer


chore: mark noosphere-car's version as 0.3.0+deprecated

Structs needed to be marked as deprecated in order to float the deprecation to the docs landing page (the export was insufficient)
Should be sure that the release process doesn't increment or change the version on publish (though if it bumps to 0.3.1+deprecated, oh well)
FWIW 0.3.0 < 0.3.0+deprecated

Using a deprecated package fails lints :monocle_face:  :upside_down_face:
error: use of deprecated field `writer::CarWriter::writer`: `noosphere-car` is deprecated. Please use `iroh-car`.
  --> rust/noosphere-car/src/writer.rs:75:9
   |
75 |         self.writer
   |         ^^^^^^^^^^^

That's confusing; is the error occurring within the package itself?

Otherwise: are we fully switched to iroh-car everywhere else?

That's confusing; is the error occurring within the package itself?

Yes! cargo clippy --all -- -D warnings in noosphere-car

Otherwise: are we fully switched to iroh-car everywhere else?

Yes!

@jsantell some suggestions so that we can land this change:

Let's disable the failing lint within the noosphere-car package via #[allow(...)] macro. IIUC that should allow the lint to pass, and won't affect other packages since we no longer depend on this one within our workspace.
Don't change the version directly; instead, we should use the release-please configuration to specify a release-as version. For example: https://github.com/subconsciousnetwork/noosphere/blob/3818134845007581dfc770eef3380cf16d8b59d4/release-please-config.json#L8-L10

updated permissive linting within noosphere-car
updated version with release please config


Create Use Case Participant References Validator

As an AaC Developer, I want a use case participant validator, so that I know I have valid references to use case participants.
AC:

[ ] A new validator is created for use case participants
[ ] A unit test for the validator is created
[ ] The validator is added to the pipeline core validators if necessary
[ ] The validator documentation is updated to cover the new validator

Team believe this should be met within the 0.4.0 baseline provided by PR #714 with the new inclusion of the typeref primitive and primitive constraints.


Feature Request: Multiple Clocks in Clock Widget

Is your feature request related to a problem? Please describe.
I currently live away from home on a different time zone and I constantly rely on a clock widget that displays multiple clocks.
Currently, I've found that Google's Clock Widget does a pretty decent job at this and there aren't many aesthetically pleasing widgets that I can use. Would you please consider adding support for multiple clocks in the clock widget similar to Google's widget?
Describe the solution you'd like
Addition of a setting that allows adding multiple clocks and allows selecting different cities. Similar to what Google has.
The only improvement from their widget would probably be to improve the layout when only two clocks are present. Currently, Google displays it on the next line instead of the same one which is a waste of space.
Describe alternatives you've considered
I've considered using the stock widget but it's not as feature rich and other clock widgets don't really look as minimalistic as this one.

This would be an incredibly useful feature for users like OP and myself who live in different time zones and also need to keep track of times in different parts of the world. Multiple clock support with support for custom naming each clock would be nice too, if presented in a nice layout (preferably, something similar to the Google Clock widget).

This would be an incredibly useful feature for users like OP and myself who live in different time zones and also need to keep track of times in different parts of the world. Multiple clock support with support for custom naming each clock would be nice too, if presented in a nice layout (preferably, something similar to the Google Clock widget).

Added one addable clock. I don't think to implement real multiple clocks support to keep the widget simple and cleaner.

Appreciate the work you've done. If it's no trouble, would it be possible to change the current multiple clock implementation layout to rather one where there's a clock in the green section and another one in the yellow section as roughly annotated in the screenshot below?
I still believe that a more diverse implementation of multiple clocks would be a great feature to have. I do understand that it might add clunkiness for the average user, but having it as an option for the users who'd prefer it, would be a very welcome addition.
Again, I very much appreciate that you took note of this issue and implemented the feature but if there was support for at least two clocks, that would help the situation a little more.


Bug: Date Selector not working on Highlight Creation/Editing Dialogs

Describe the bug
While attempting to create a new highlight on OpenSauced Insights today, I encountered an issue with the date selector. I found that I am unable to use the date selector in both the highlight creation and editing dialogs. Here are my observations:

Clicking on a part of the date selector popup within the parent dialog body results in the date selector closing without selecting a date.
Clicking on a part of the date selector popup that extends outside of the parent dialog body (i.e., the dialog background overlay that closes the dialog when clicked) causes the entire highlight creation/editing dialog to close without selecting the date.

My Analysis
Based on the above observations, I believe the issue is related to the position of the date selector on the z-axis, specifically its z-index or position property. It appears that the popup element visually sits on top of the dialog but is not actively responsive to user interactions.
Proposed Solutions:
In such cases, an element exhibiting this behavior, like the date selector popup, may require a simple adjustment in its position property (e.g., setting it to relative, absolute, etc.). This adjustment can complement the existing z-index value, ensuring that the date selector is not only visually on top but also fully interactive. To resolve this issue, I suggest investigating and adjusting the position property as a potential solution. Some CSS debugging may be needed to fine-tune this behavior.
Steps to reproduce
Highlight Creation
screencast-insights.opensauced.pizza-2023.09.27-09_03_54 (1).webm
Highlight Editing
screencast-insights.opensauced.pizza-2023.09.27-09_03_54.webm
Browsers
Chrome
Additional context (Is this in dev or production?)
Production
Code of Conduct

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

Contributing Docs

[ ] I agree to follow this project's Contribution Docs

@babblebey, I checked this and it does look like a regression. If you're up for it, feel free to tackle this one.

.take

babblebey, I checked this and it does look like a regression. If you're up for it, feel free to tackle this one.

Haha, and @aryanas159 swooped right in for the steal 🤓🤣😂
Great stuff @nickytonline, I wasn't up for it! Pretty occupied at the time 🥲


[fix] make <p> <code> elements in docs scrollable

This is a continuation of #8034
Basically I found another thing that did not sidescroll, here:
https://kit.svelte.dev/docs/advanced-routing
Can be seen on both mobile and desktop:

Instead of doing an issue like before (#8032) I thought I would give it a go to fix it myself this time.
note:
The inline-flex and padding is to give the scrollable element the same appearance as before. I have tested my change on desktop chrome (osx) and on mobile safari (iphone ios) to great success.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thank you!


TriG support

Hi,
I really appreciate you invested the time in writing and maintaining this library; it looks great.
I wonder if you've considered supporting TriG? If so, I'd gladly make a PR containing this functionality or assist you in any meaningful way to accomplish this.
Thanks!

It's on my todo list, but to be honest there are much more things with higher priority currently from my perspective. On the serialization format front, for example, JSON-LD 1.1, RDFa and CSVW. But currently, I'm quite busy with finishing the SPARQL engine in SPARQL.ex. So, a PR would be highly appreciated. I'll put together an implementation plan this evening (since I'm working on this project besides my day job).

Ok, having a Turtle implementation already, it shouldn't be too hard. The problem is that the Turtle parser is written with leex and yecc, the Erlang-embedded compiler generators and its grammars are not very composable. When I implemented these grammars, NimbleParsec, which I would use today wasn't available yet, unfortunately. I already had this problem with N-Quads and in the end, duplicated the N-Triples grammar with the needed variations. Given the simplicity of these grammars, I considered that not a too heavy maintenance burden.
In the case of Turtle and TriG I am not that sure if that's the way to go. Since TriG is effectively a subset of Turtle, there would be another implementation option in this case: we could use a shared TriG grammar and semantic analyzer (the functions in the RDF.Serialization.Decoder interpreting the AST by translating them to the RDF.ex data structures) and introduce an internal option which signifies the source language and would lead to syntax errors during semantic analysis of TriG expressions on a Turtle document.
For the RDF.Serialization.Encoder a similar technique would be required, since we don't want to duplicate the translation code here either, but differentiate the handling of RDF.Datasets depending on an option. On the Turtle encoder, this option might also allow simply ignoring the graph names and serializing all statements of the dataset without the graph context.


Bug Bounty strategy request

Request description
Add/Modify Snapshot strategy for UBXT governance at the URL: https://snapshot.org/#/ubxt.eth
Details
Currently our snapshot voting strategy allows anyone holding UBXT in their wallet on ETH or BSC to vote. This needs to be advanced so that our snapshot strategy also enables:
1.Users staking UBXT in our ETH and BSC UBXT staking contracts to vote.
2.Users who currently provide LP on Uniswap or Pancakeswap to vote.The LP tokens can be in any pool or in the users wallet. So long as they have UBXT LP tokens somewhere, the UBXT in these tokens should count towards their vote.
This requires creating a custom strategy that checks the UBXT staked in our BSC/ETH staking pools and the amount of UBXT users have placed into LP using Uniswap or pancake swap and have yet to claim/convert back to UBXT/USD.
Notes
1 UBXT = 1 Vote
The strategy will need to work out how much UBXT a users placed into LP tokens to count their LP votes.
What users do with the LP tokens after they receive them is not important, users do not need to stake  LP tokens in a specific place for them to count towards their votes. As long as a user has LP somewhere, the UBXT in that LP should be counted in their vote until they convert the LP back to UBXT and USD.
Deliverables
Pull request(s) to the Snapshot Github repos that implement the strategy and allow us to add it to our snapshot and test with a vote.
Links
Snapshot Strategy docs: docs.snapshot.org
Snapshot space: snapshot.org/#/ubxt.eth
UBXT staking smart contract ETH: 0x6f87364176265CaD6FFC70aD2A795630395a8c24
UBXT staking smart contract BSC: 0x2500C97d1eBD63275DdC3511c825c4d73335Cb77
UNIswapLP: 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
PancakeLP: 0x10ed43c718714eb63d5aa57b78b54704e256024e
UBXT ETH contract: 0xbbeb90cfb6fafa1f69aa130b7341089abeef5811
UBXT BSC contract: 0x8564653879a18c560e7c0ea0e084c516c62f5653

https://snapshot.org/#/ubxt.eth
The above link is broken?

https://snapshot.org/#/ubxt.eth
The above link is broken?

Link is fine for me, this bounty is still open.

So we need to get the count of ubxt LP tokens across all pools. That's the no of votes the user has. If I understand the problem correctly, I would like to work on this.
Thanks!

@Zor2040
So we need to get the count of ubxt LP tokens across all pools. That's the no of votes the user has. If I understand the problem correctly, I would like to work on this.
Thanks!

We have two staking pools on BSC and ETH and we need to allow wallets to vote that have UBXT or UBXT LP in these pools. Our staking pool contract allows for staking of UBXT or UBXT LP tokens depending on the users preference. I'm just updating the requirements so they are more clear. We are hoping to get this done fairly soon with minimal delay, if you think you can make this strategy please feel free to apply for the task on gitcoin. Thanks.


Double click on a file in the tree view doesn't open it

Will only preview file instead of opening it. May be a conflict with another package?
I tried uninstalling it and then installing it again. Same problem persists.
Preview works as charm, opening does not.
I am double clicking in this image repeatedly:

Same here, you have to type in the file to keep it open.

Same, and I only have a couple other packages installed. Makes using it cumbersome.

In a different issue, which I can't seem to find right now and I have no idea in which atom package to look for it, it was mentioned that this seems to happen when one of the parent folders is a symlink. And indeed, for the projects where we don't symlink our project folder together, I don't have this issue.

+1

+1

Same issue on Windows with 4 packages installed but all disabled


Update README.md

The current proposed method raises an exception: "tried to create Proc object without a block". This change fixes the example. (see also https://github.com/bbatsov/rubocop/issues/2454)

Thank you for your contribution!


Scroll element inside a iframe stop working when update to version 2.2.19

I have a React component render list chidrent inside a iframe (fixed height and scrollable). When i click on a child element i want to scroll it to center viewport. I use scroll-into-view-if-needed and it worked. but after update to version 2.2.19 it stop work without any error message. It work again when downgrade to version 2.2.15

Hey and thanks for the report! I’ll give this a look as soon as I can 🙂

On 11 Oct 2018, at 12:16, Minh Tran<EMAIL_ADDRESS>wrote:
I have a React component render list chidrent inside a iframe (fixed height and scrollable). When i click on a child element i want to scroll it to center viewport. I use scroll-into-view-if-needed and it worked. but after update to version 2.2.19 it stop work without any error message. It work again when downgrade to version 2.2.18
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I found an issue with this check that got added in version 2.2.17:
https://github.com/stipsan/scroll-into-view-if-needed/blob/82929e919e874461866eaa8178f3f3c0251bd17c/src/index.ts#L67-L70
I'm changing this to https://github.com/stipsan/scroll-into-view-if-needed/blob/4e70a909aa96c9da20c356c81ce1eec84d019b24/src/index.ts#L67 in #482
A new version with the fix will be automatically released soon 🙂

It's out: https://github.com/stipsan/scroll-into-view-if-needed/releases/tag/v2.2.20

Updated to version 2.2.20 and the bug gone. Thank you!

Great! 👍


add capability to avoid appending pre-committed file list with #

Hey,
I needed to allow some command without the list of pre-committed file (cucumberJS will try to parse them as feature...which will fail big time).
I simply added a '#' parsing inside the runScript who will omit adding '-- ' and all the pathchunks...
Added test and documentation too.
Let me know if you have question...

Hey! That's great you decided to work on it. There is a set of issues that is coming from the current implicit behaviour of passing files to commands that I've summed up in https://github.com/okonet/lint-staged/issues/138. Do you think this PR could be improved to incorporate described cases? Otherwise I will work on the implementation but I need to find some time to do so.

Let me look at them...If I understand correctly, you want to be able to 'template' the command generation with 2 specific patterns :

pipelining by calling the command before the pipeline with each file and then the piped command
'parameter' appending by calling the command and adding a string before/after each filepath

You proposed:
{
".jpg": "${ path } | imagemin",
".html": "gulp my-task -g ${ paths }",
"*.js": "eslint" // This is the current way of doing "eslint ${ paths }"
}
I'm thinking (cause it's more simple to handle, lazy me :P):
{
".jpg": { pipe_each: "imagemin" }, // this will pipe 'declare' that there's no script to consider AND pipe the path
".html": { script: "gulp my-task", prepend_each:"-g" },
".js": { script: "gulp my-task", prepend:"" },  //would remove the '--'
".svg": { script: "gulp compress-task --doit --better --compressoption", prepend:"", prepend_each:"--out" append_each:".tar.gz" },  //would launch "gulp transform-task --doit --better --svgoption --out file1.tar.gz --out file2.targ.gz ... --out fileN.targz"
}
I think with 6 properties ('pipe', 'pipe_each', 'prepend', 'prepend_each', 'append', 'append_each') we can basically cover 99% of needs without going the full template engine route, and the algs to implement it will be VERY simple and maintainable :)
We could even add a 'pipe_first' boolean for those who want to go as far as to: pipe first and then prepend/append the file name with params...
Let me know what you think...Oh and the name for the 'options params', maybe they're not the best, but that's what I came up with quickly :)

Scrap that, I did it, and I don't like it :P
It's not flexible enough to allow programs with --in= --out= parameter and such...
If I understand correctly, I think it should:

respect the current syntax completely and be backward compatible with it
allow for complex templating, which includes:
-- piping
-- customized arguments (instead of the default '--') both for the command itself and per pre-commited files
-- allow repetition (--in= --out=)
-- allow command name customization (I did it, so why not keep it :P)

It should then allow :
{   "*.jpg": "| imagemin", // this will launch no script AND launch the piped command + path   "*.html": "gulp my-task <-g <>> ", //that would launch "gulp my-task -- -g file1 -g file2 ... -g fileN"    "*.js": "gulp my-task <<>>" },  //this would just remove the '--' (since we default to prepending '--' right now) and launch "gulp my-task file1 file2 ... fileN"    "*.svg": "gulp compress-task --doit --better --compressoption <--in=<>> <--out=<>.tar.gz>",  //would launch "gulp transform-task --doit --better --compressoption --in=file1 --out=file1.tar.gz --in=file2 --out=file2.tar.gz ... --in=fileN --out=fileN.tar.gz " }
I don't like to invent a templating scheme, but if we use moustache then people using the docker commands patterns matching will be screwed, if we use regular expression, then people wanting to pass awk commands will be screwed, and so on :)


Unable to complete playbook [Add Buster backports apt key.] due to missing keys

The [Add Buster backports apt key.] in task debian-libseccomp-update.yml is failing with keyserver receive failed: Server indicated a failure
On first sight, it seems that the server can't be reached, but upon further investigation, the keyserver can indeed be resolved from the Pi.
$ dig keyserver.ubuntu.com

; <<>> DiG 9.11.5-P4-5.1+deb10u5-Raspbian <<>> keyserver.ubuntu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42533
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
; COOKIE: 8d9c41a3fc62acd0f40cf6fe60e59f442242aa521b45ce49 (good)
;; QUESTION SECTION:
;keyserver.ubuntu.com.          IN      A

;; ANSWER SECTION:
keyserver.ubuntu.com.   600     IN      A       <IP_ADDRESS>
keyserver.ubuntu.com.   600     IN      A       <IP_ADDRESS>

;; Query time: 82 msec
;; SERVER: fd47:8dc9:7f63::1#53(fd47:8dc9:7f63::1)
;; WHEN: Wed Jul 07 13:34:12 BST 2021
;; MSG SIZE  rcvd: 109

$ nslookup keyserver.ubuntu.com
Server:         fd47:8dc9:7f63::1
Address:        fd47:8dc9:7f63::1#53

Non-authoritative answer:
Name:   keyserver.ubuntu.com
Address: <IP_ADDRESS>
Name:   keyserver.ubuntu.com
Address: <IP_ADDRESS>
Name:   keyserver.ubuntu.com
Address: 64:ff9b::a2d5:2109
Name:   keyserver.ubuntu.com
Address: 64:ff9b::a2d5:2108

Running the fetch for either of the keys from the task at the commandline produces the same error.
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 648ACFD622F3D138
Executing: /tmp/apt-key-gpghome.TfdAc6xquU/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv 648ACFD622F3D138
gpg: keyserver receive failed: Server indicated a failure

Browsing to https://keyserver.ubuntu.com/ and conducting a manual search for either key returns "not found"
Current HEAD is at a9f5afe
Commit: 4037f869b5bbe5f4aebeedfbdeeb362d23a10f24 would seem to address a "host not found" problem by the explicit URL, but due to no referenced issue, the motivation for this change is unclear. It does not, however, fix the missing keys.
Full disclosure. I had already setup a clean, internet-pi successfully prior to this new installation attempt.
RPi 3B+
2021-05-07-raspios-buster-armhf-lite.img
[EDIT] Cleaned up code snippets

I have found this discussion that covers my problem, but unfortunately leads to further confusion.
Unable to enable the buster-backports repo
The suggestion is that the 64bit OS should be preferentially used as the 32bit OS is not maintained for backports. The same hash references that are failing for me are quoted in the last comment, and said to be working. I can only conclude that the keys may have been removed upstream in the last couple of days ie since my last successful installation.
Question: What requirements need to be met by including the backport repository, or is it merely RPi 4B specific and wouldn't apply to RPi 3B+ 32bit?

"Commit: 4037f86 would seem to address a "host not found" problem by the explicit URL, but due to no referenced issue, the motivation for this change is unclear. It does not, however, fix the missing keys."
Somehow I missed the previous issues related to the PR.
Duplicate of #72 and #79
After another attempt at running main.yml 24 hours later (no other changes), apt cache was seen to update, and then the backport keys installed without problems. The root cause in my case is unclear, but I also note that I had a text notification for some infrastructure work was being undertaken on my connection.

Seems to have been a transient connection issue.


Fix Util::getSelfRoutedURLNoQuery()

Sometimes the REQUEST_URI's queries are not equal to QUERY_STRING's queries. (The REQUEST_URI can have more queries then the QUERY_STRING's, in some not so rare rewrite conditions). In those cases, the old 1:1 str_replace doesn't work. This PR iterates over each query, and replaces them one by one.
Without this modification the SLOProcess won't work in some cases.

@balazs92117 Sorry for the delay.
Can you test if the following solution fixes your scenario?
    public static function getSelfRoutedURLNoQuery()
    {
        $selfURLhost = self::getSelfURLhost();
        $route = '';

        if (!empty($_SERVER['REQUEST_URI'])) {
            $route = $_SERVER['REQUEST_URI'];
            if (!empty($_SERVER['QUERY_STRING'])) {
                $route = self::str_lreplace($_SERVER['QUERY_STRING'], '', $route);
                if (substr($route, -1) == '?') {
                    $route = substr($route, 0, -1);
                }
            }
        }

        $infoWithBaseURLPath = self::buildWithBaseURLPath($route);
        if (!empty($infoWithBaseURLPath)) {
            $route = $infoWithBaseURLPath;
        }

        $selfRoutedURLNoQuery = $selfURLhost . $route;

        $pos = strpos($selfRoutedURLNoQuery, "?");
        if ($pos !== false) {
            $selfRoutedURLNoQuery = substr($selfRoutedURLNoQuery, 0, $pos-1);
        }

        return $selfRoutedURLNoQuery;
    }

    public static function str_lreplace($search, $replace, $subject)
    {
        $pos = strrpos($subject, $search);

        if ($pos !== false) {
            $subject = substr_replace($subject, $replace, $pos, strlen($search));
        }

        return $subject;
    }

@pitbulk Thank you for the update! I can confirm, it works too!

Ok, I merged my solution.


While building weave on ARM (scaleway)

The alpine image is for x86; you'll need to use miek/alpine-armv6l (update docker/Dockerfile).
If this works, we can look at some way of making this work by default.

You'll also need a way of embedding an arm-compatible docker build (we embed the docker binary).

And you might want to join<EMAIL_ADDRESS>a chap there is trying to build scope for ARM too: https://groups.google.com/a/weave.works/forum/#!topic/weave-users/ITJDqMDJOEI

aha, got it.  Shouldn't be too tough :).  I'll let you know how it goes.  Okay, so I should replace:

the current alpine with miek/alpine-armv6l
the docker binary.... hmmmm I'll need to look into that part:  The best ARM docker I know of is the hypriot version, and I think it's only distributed in .deb-- which is harder:  Adapting the dockerfile to use ARM ubuntu, or making alpine install a .deb?

Thanks!

re: (2), I'd just copy in your local docker binary and hope for the best...

:)

Back at it now, should be able to push something or another to Docker hub in a bit... Any chance that we can automate builds for ARM after we've got something working?  There are builds out there-- just a tad on the dated side.

So I can get this running, "dirty" without too much difficulty.  That said, I think the better path would be adapting the build chain so that it can support ARM.

Once you get something running, submit a PR with the changes and I'll work
with you to try and get it built automatically.
On Tuesday, 15 December 2015, Jacob Gadikian<EMAIL_ADDRESS>wrote:

So I can get this running, "dirty" without too much difficulty. That said,
I think the better path would be adapting the build chain so that it can
support ARM.
—
Reply to this email directly or view it on GitHub
https://github.com/weaveworks/weave/issues/1786#issuecomment-164665101.

I didn't do this myself, but...
https://github.com/armhf-docker-library/weave

Are there actually two separate issues between this one and #1787?  Can I close this one?

Totally, no problem, in fact....


iOS 13 Support

Hello, first of all, awesome library. Thanks so much.
Now, I wonder if iOS 13 can be supported, is that a question that you can help me with?
Greetings.

Hi, thanks.
When I set to target iOS 13, it returns ~80 errors. Many of them are to do with accessibility as the API changed between 13 and 14. There are other ones such as font type and grid items.
None of them are insurmountable, however, I won't have time to add in the relevant preprocessor directives to add backward compatible support.
From iOS 15, this library will support at least current and current - 1.
Thanks,
Will


Implement logo chain + fix styles

Implement logo chain + fix styles
Update page.tsx

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#356  👈
#355
#330
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jvmi7 and the rest of your teammates on  Graphite


Feature: Include created_at and updated_at in data files.

It would be nice to have the created_at and updated_at dates available for each record that gets created. Most of our records need to be sorted in some way, usually by date, and it's kind of a pain to have to keep creating additional fields on each content type for the publish date.

Hey @chuise,
Have you read about Custom Mappers?
You can include those fields by creating one like follows:
class DatesMapper < ContentfulMiddleman::Mapper::Base
  def map(context, entry)
    super
    context.created_at = entry.sys[:createdAt]
    context.updated_at = entry.sys[:updatedAt]
  end
end

Then when activating the Contentful extension, add it in your content type declaration as follows:
f.content_types = {my_content_type: {mapper: DatesMapper, id: 'my_content_type_id'}}

You can reuse this same mapper for every content type, as it is already covering what the default one does and sys attributes are generic for all entries.
Hope that helps

Hey @dlitvakb never thought of using custom mappers for this. Going to try that right now!
Thanks!

No problem!
Did it work?
Cheers

How does one do this but for every nested piece of Content as well in the YAML file? Assuming your example, let's say the YAML file generated based on my_content_type has a few nested levels with references to other types of Content and we also want to include updatedAt for those as well, not just my_content_type?

Hey @j0b0sapi3n,
After giving it some thought, I will add some of the sys properties to entry serialization.
I'll add an __meta section to each entry (and all it's nested entries) that includes updatedAt and createdAt. I'll look into adding more properties.
The naming of the section as __meta is in order to avoid any kind of collision with any existing mapper. This might change if a 2.0 version is released, and be changed back to sys. But right now avoiding conflicts if my number 1 priority.
Cheers

@dlitvakb Awesome, thank you!

This is currently being worked on and a release will be done early tomorrow.
Cheers