ErrorNoTelemetry: Could not find pty on pty host

Issue Type: Bug
Open Remote SSH workspace with client Win10 and remote server Ubuntu20. At some point (often discussed issue) the SSH connection dies. Terminal window shows request for passphrase. Enter passphrase, connection is restarted. Exception is thrown. This pattern repeats frequently and makes Remote SSH editing prohibitively difficult to use.
Looking through tickets here it seems there were recent changes in this area related to ErrorNoTelemetry and "Could not find pty on pty host". My hope here is that this report will help identify issues related to those recent changes, and that since is somewhat related to the disconnection problem that the logs here will help to identify and remedy that issue as well.
This happens frequently on my system. I'm not getting any (remote) work done with these tools right now. I'm happy to run and report diagnostics.

Relevant Log (Remote Server)
[2022-08-04 09:30:20.499] [remoteagent] [info] Extension host agent started.
[2022-08-04 09:30:23.183] [remoteagent] [info] [<IP_ADDRESS>][75f5e98e][ManagementConnection] New connection established.
[2022-08-04 09:30:23.254] [remoteagent] [info] [<IP_ADDRESS>][c162e4c9][ExtensionHostConnection] New connection established.
[2022-08-04 09:30:23.262] [remoteagent] [info] [<IP_ADDRESS>][c162e4c9][ExtensionHostConnection] <2731390> Launched Extension Host Process.
[2022-08-04 09:37:52.076] [remoteagent] [error] ["ErrorNoTelemetry: Could not find pty on pty host" ...

Clean view of error from Log (Window)
[2022-08-04 09:30:20.751] [renderer1] [info] resolveAuthority(ssh-remote) returned '<IP_ADDRESS>:60088' after 15053 ms
[2022-08-04 09:37:50.630] [renderer1] [info] [remote-connection][Management   ][75f5e…][reconnect] received socket timeout event.
[2022-08-04 09:37:50.630] [renderer1] [info] [remote-connection][Management   ][75f5e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
[2022-08-04 09:37:50.631] [renderer1] [info] [remote-connection][Management   ][75f5e…][reconnect] resolving connection...
[2022-08-04 09:37:50.632] [renderer1] [info] Invoking resolveAuthority(ssh-remote)
[2022-08-04 09:37:53.468] [renderer1] [info] [remote-connection][ExtensionHost][c162e…][reconnect] received socket timeout event.
[2022-08-04 09:37:53.468] [renderer1] [info] [remote-connection][ExtensionHost][c162e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
[2022-08-04 09:37:53.469] [renderer1] [info] [remote-connection][ExtensionHost][c162e…][reconnect] resolving connection...
[2022-08-04 09:38:09.959] [renderer1] [error] Could not find pty on pty host: ErrorNoTelemetry: Could not find pty on pty host
    at d._throwIfNoPty (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:24:29103)
    at d.updateIcon (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:24:25409)
    at Object.call (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:16:8293)
    at onPromise (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:15:4880)
    at onRawMessage (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:15:4268)
    at /home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:15:3556
    at h.invoke (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:11:145)
    at z.deliver (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:11:2275)
    at M.fire (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:11:1853)
    at process.W (/home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/vs/platform/terminal/node/ptyHostMain.js:9:20668)
    at process.emit (node:events:390:28)
    at emit (node:internal/child_process:917:12)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)
[2022-08-04 09:38:09.963] [renderer1] [error] *snip exact same trace*
[2022-08-04 09:38:09.975] [renderer1] [error] Request 73 timed out (15000ms)
[2022-08-04 09:39:48.840] [renderer1] [info] resolveAuthority(ssh-remote) returned '<IP_ADDRESS>:60259' after 118066 ms
[2022-08-04 09:39:48.841] [renderer1] [info] [remote-connection][Management   ][75f5e…][reconnect] connecting to <IP_ADDRESS>:60259...
[2022-08-04 09:39:48.841] [renderer1] [info] [remote-connection][ExtensionHost][c162e…][reconnect] connecting to <IP_ADDRESS>:60259...
[2022-08-04 09:39:49.166] [renderer1] [info] [remote-connection][Management   ][75f5e…][reconnect] reconnected!
[2022-08-04 09:39:49.307] [renderer1] [info] [remote-connection][ExtensionHost][c162e…][reconnect] reconnected!
[2022-08-04 09:39:50.038] [renderer1] [error] *snip exact same trace*

This is the related event on the terminal window
Enter passphrase for key 'C:/Users/tonyg/.ssh/tg128':
d6eac03c7d1a: running
Acquiring lock on /home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/vscode-remote-lock.ubuntu.3b889b090b5ad5793f524b5d1d39fda662b96a2a
Found existing installation at /home/ubuntu/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a...
Checking /home/ubuntu/.vscode-server/.3b889b090b5ad5793f524b5d1d39fda662b96a2a.log and /home/ubuntu/.vscode-server/.3b889b090b5ad5793f524b5d1d39fda662b96a2a.pid for a running server
Looking for server with pid: 2731187
Found running server...

*
* Reminder: You may only use this software with Visual Studio family products,
* as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
*

Checking server status on port 46579 with wget
d6eac03c7d1a: start
SSH_AUTH_SOCK====
webUiAccessToken====
listeningOn==46579==
osReleaseId==ubuntu==
arch==x86_64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==a091f07d-cfd5-4f78-b7b5-ca6301f3c32c==
d6eac03c7d1a: end

Related view from the Remote - SSH window
[09:31:39.049] > serverStartTime==809==
> connectionToken==a111a11a-aaa1-1a11-a1a1-aa1111a1a11a==
> 1885e2252fee: end
>
[09:37:50.639] ------

[09:37:50.639] SSH Resolver called for "ssh-remote+sub.domain.tld", attempt 2, (Reconnection)
[09:37:50.641] SSH Resolver called for host: sub.domain.tld
[09:37:50.641] Setting up SSH remote "sub.domain.tld"
[09:37:50.643] Using commit id "3b889b090b5ad5793f524b5d1d39fda662b96a2a" and quality "stable" for server
[09:37:50.647] Install and start server if needed
[09:37:50.650] Using SSH config file "C:\Users\tonyg\.ssh\vscode_remote.config"
[09:37:50.650] Running script with connection command: ssh -T -D 60235 -F "C:\Users\tonyg\.ssh\vscode_remote.config" "sub.domain.tld" bash
[09:37:50.653] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[09:37:50.963] > serverStartTime==809==
> connectionToken==a111a11a-aaa1-1a11-a1a1-aa1111a1a11a==
> 1885e2252fee: end
>
[09:37:51.048] > C:\WINDOWS\System32\cmd.exe
[09:37:51.049] Got some output, clearing connection timeout
[09:37:51.075] >
>
>
>
[09:37:52.311] > Enter passphrase for key 'C:/Users/tonyg/.ssh/tg128':
[09:39:05.483] > serverStartTime==809==
> connectionToken==a111a11a-aaa1-1a11-a1a1-aa1111a1a11a==
> 1885e2252fee: end

System information (not attached to avoid revealing sub.domain.tld)
CPUs	Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz (16 x 2304)
GPU Status	2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled
Load (avg)
Memory (System)	31.82GB (20.65GB free)
Process Argv	--crash-reporter-id 3555131d-7d56-4887-a807-ceafc2556f0b
Screen Reader	no
VM	0%
Remote	SSH: sub.domain.tld
OS	Linux x64 5.4.0-122-generic
CPUs	Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz (2 x 2099)
Memory (System)	3.84GB (0.32GB free)
VM	0%

Note from above, I'm looking to see if this could be a memory issue on the remote site that's forcing SSH termination.
I am the only user connected with VSCode. I have a separate SSH client connected and there are never issues even when VSCode connectivity is bouncing up and down. sshd_config has MaxSessions 100.
VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:12:52.460Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Remote OS version: Linux x64 5.4.0-122-generic
Extensions (5)

Extension
Author (truncated)
Version

vscode-apache
mrm
1.2.0

remote-ssh
ms-
0.84.0

remote-ssh-edit
ms-
0.80.0

php-docblocker
nei
2.7.0

vscode-intelephense-client
bme
1.8.2

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912:30529769
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Updated to v1.70.0. Pattern is exactly the same. Connection dies within a couple minutes. Stack is different of course. I'll provide correlating detail from other windows if required for another event.

From Log (Window)
[2022-08-04 11:16:49.024] [renderer2] [info] resolveAuthority(ssh-remote) returned '<IP_ADDRESS>:55113' after 49200 ms
[2022-08-04 11:16:49.024] [renderer2] [info] [remote-connection][Management   ][638f5…][reconnect] connecting to <IP_ADDRESS>:55113...
[2022-08-04 11:16:49.024] [renderer2] [info] [remote-connection][ExtensionHost][a0708…][reconnect] connecting to <IP_ADDRESS>:55113...
[2022-08-04 11:16:49.335] [renderer2] [info] [remote-connection][Management   ][638f5…][reconnect] reconnected!
[2022-08-04 11:16:49.339] [renderer2] [error] Could not find pty on pty host: ErrorNoTelemetry: Could not find pty on pty host
    at d._throwIfNoPty (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:24:29620)
    at d.updateIcon (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:24:25456)
    at Object.call (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:16:8327)
    at a.onPromise (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:4892)
    at a.onRawMessage (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:4275)
    at /home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:3561
    at f.invoke (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:145)
    at N.deliver (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:2275)
    at I.fire (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:1853)
    at process.Q (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:9:20673)
    at process.emit (node:events:390:28)
    at emit (node:internal/child_process:917:12)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)
[2022-08-04 11:16:49.340] [renderer2] [error] Could not find pty on pty host: ErrorNoTelemetry: Could not find pty on pty host
    at d._throwIfNoPty (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:24:29620)
    at d.updateTitle (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:24:25396)
    at Object.call (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:16:8327)
    at a.onPromise (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:4892)
    at a.onRawMessage (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:4275)
    at /home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:3561
    at f.invoke (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:145)
    at N.deliver (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:2275)
    at I.fire (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:1853)
    at process.Q (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:9:20673)
    at process.emit (node:events:390:28)
    at emit (node:internal/child_process:917:12)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)
[2022-08-04 11:16:49.340] [renderer2] [error] Request 109 timed out (15000ms)
[2022-08-04 11:16:49.478] [renderer2] [info] [remote-connection][ExtensionHost][a0708…][reconnect] reconnected!
[2022-08-04 11:16:50.209] [renderer2] [error] Could not find pty on pty host: ErrorNoTelemetry: Could not find pty on pty host
    at d._throwIfNoPty (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:24:29620)
    at d.updateTitle (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:24:25396)
    at Object.call (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:16:8327)
    at a.onPromise (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:4892)
    at a.onRawMessage (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:4275)
    at /home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:15:3561
    at f.invoke (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:145)
    at N.deliver (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:2275)
    at I.fire (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:11:1853)
    at process.Q (/home/ubuntu/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/out/vs/platform/terminal/node/ptyHostMain.js:9:20673)
    at process.emit (node:events:390:28)
    at emit (node:internal/child_process:917:12)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)

It would be nice if there were an aggregated log showing all debug info sorted by time...

Meet exactly the same problem.
VSCode 1.70.0
Remote-SSH 0.85
However, the weird thing is that I didn't change any config on both VSCode and the Remote-SSH extension,
but the problem appear from 8/4. Before 8/4 there is no problem.

I've been experiencing this for a long time, and only decided to research and report it on 8/4.
As noted, I think it might be related to change in #151448 for #144548.

I'm having the same issue. I'm trying to debug an extension I'm making and this error detatches the debugger making it really hard to get any work done.


Ubuntu install Issue

Hi I was following your guild for ubuntu 18.. listed here

git clone -b ubuntu https://github.com/nagadomi/waifu2x-caffe.git
cd waifu2x-caffe
git submodule update --init --recursive
create symlink to ltcggie-caffe
ln -s ../lltcggie-caffe ./caffe
ln -s ../lltcggie-caffe ./libcaffe
build
rm -fr build # clean
mkdir build
cd build
cmake .. -DCUDA_NVCC_FLAGS = " -D_FORCE_INLINES -gencode arch = compute_61, code = sm_61 "  # sm_61 is for GTX1080
make
Ln -S Realpath ./Waifu2x-caffe ../Bin

however when I run the cmake command it bails out :/
gateway@gateway-media:~/work/video/waifu2x-caffe/build$ cmake .. -DCUDA_NVCC_FLAGS = " -D_FORCE_INLINES -gencode arch = compute_61, code = sm_61 "  # sm_61 is for GTX1080
Parse error in command line argument: -DCUDA_NVCC_FLAGS
Should be: VAR:type=value
CMake Error: No cmake script provided.
CMake Error: Problem processing arguments. Aborting.

nvidia info
gateway@gateway-media:~/work/video/waifu2x-caffe/build$ nvidia-smi
Fri Apr 10 19:47:51 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.116                Driver Version: 390.116                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 00000000:01:00.0  On |                  N/A |
| 20%   51C    P8    11W / 180W |    180MiB /  8119MiB |      4%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:02:00.0 Off |                  N/A |
|  0%   53C    P8     8W / 120W |      2MiB /  6078MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      2832      G   /usr/lib/xorg/Xorg                           110MiB |
|    0      3317      G                                                 10MiB |
|    0      3680      G   /usr/bin/gnome-shell                          56MiB |
+-----------------------------------------------------------------------------+

any ideas??

Delete the space character before and after =. -DCUDA_NVCC_FLAGS="..
The original install-linux.md does not have that space.
And now that option may not be needed.

I have a same problem:
root@i5:/opt/waifu2x-caffe/build# cmake .. -DCUDA_NVCC_FLAGS="-D_FORCE_INLINES  -gencode arch=compute_61,code=sm_61"
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:567 (message):
Imported targets and dependency information not available for Boost version
(all versions older than 1.33)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.10/Modules/FindBoost.cmake:1558 (_Boost_MISSING_DEPENDENCIES)
caffe/cmake/Dependencies.cmake:8 (find_package)
caffe/CMakeLists.txt:44 (include)
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:567 (message):
Imported targets and dependency information not available for Boost version
(all versions older than 1.33)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.10/Modules/FindBoost.cmake:1558 (_Boost_MISSING_DEPENDENCIES)
caffe/cmake/Dependencies.cmake:8 (find_package)
caffe/CMakeLists.txt:44 (include)
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:567 (message):
Imported targets and dependency information not available for Boost version
(all versions older than 1.33)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.10/Modules/FindBoost.cmake:1558 (_Boost_MISSING_DEPENDENCIES)
caffe/cmake/Dependencies.cmake:8 (find_package)
caffe/CMakeLists.txt:44 (include)
CMake Error at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1947 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files.  Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
caffe/cmake/Dependencies.cmake:8 (find_package)
caffe/CMakeLists.txt:44 (include)
-- Could NOT find GFlags (missing: GFLAGS_INCLUDE_DIR GFLAGS_LIBRARY)
-- Could NOT find Glog (missing: GLOG_INCLUDE_DIR GLOG_LIBRARY)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
caffe/cmake/ProtoBuf.cmake:4 (find_package)
caffe/cmake/Dependencies.cmake:27 (include)
caffe/CMakeLists.txt:44 (include)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /opt/waifu2x-caffe/caffe
used as include directory in directory /opt/waifu2x-caffe/caffe
used as include directory in directory /opt/waifu2x-caffe/caffe
used as include directory in directory /opt/waifu2x-caffe/caffe
used as include directory in directory /opt/waifu2x-caffe/caffe
-- Configuring incomplete, errors occurred!
See also "/opt/waifu2x-caffe/build/CMakeFiles/CMakeOutput.log".
See also "/opt/waifu2x-caffe/build/CMakeFiles/CMakeError.log".

You need to install the required packages for caffe first, including libboost-dev, libprotobuf-dev, etc.
I don't remember that, so please google it.


Storage Provisioning not working

Hi,
I am trying to provision the following storage.
require 'chef/provisioning/azurerm'
with_driver 'AzureRM:abcde-1234-5678-efghi-123235235'

azure_storage_account 'mystorageaccount02' do
  resource_group 'chef_provisioning_azurerm'
  location 'Central US'
  account_type 'Standard_LRS'
end

But I am getting following error
MsRestAzure::AzureOperationError: azure_storage_account[mystorageaccount02] (@recipe_files::C:/Users/anshulp/Desktop/example.rb line 6) had an error: MsRestAzure::AzureOperationError: MsRestAzure::AzureOperationError

I am able to provision the same via CLI
Please help.

I verified this by adding extra error handling, it seems the storage account will be created (as long the name is globally unique) however the additional info (tags, custom domain etc. are failing currently).
Adding extra debug I got the actual error being returned:
[2016-06-08T00:07:09+02:00] FATAL: RuntimeError: azure_storage_account[pendricastr6d5f3] (chef-provisioning-azurerm-examples::default line 14) had an error: RuntimeError: MustSpecifyPropertyToUpdate: Request must specify an account property to update.

This looks like something in Azure's provider has changed recently.  We will investigate.

This is now merged and will be in the next build


Description of the bug/crash
Enable mod Rover Recharger. Attempt to build crashed game. Used Modupdater. Attempt to build crashed game. 3rd try did not try building but game crashed when I clicked on rover lander. Unload mod and game runs.
Steps To Reproduce
Add mod to ONI Spaced Out.
Load game.
Try to build recharger.
Crash. Sometimes immediately. Sometimes after a few minutes.
Player.log
Player.log
ONI rover recharger crash.txt

The attached log file indicates that the crash was caused by some third-party mod that adds additional buttons to the buildings side screen, and this mod is seriously outdated.
I can't say more precisely what mod it is.

Yes it appears it is different than I thought. Not sure why it appeared after I added the recharger mod. Sorry to bother you. Hoping I will get it sorted and be able to use your mod.

Looks like this is the culprit. Removed. Once again, sorry for the bother. Thanks for the quick response. https://steamcommunity.com/sharedfiles/filedetails/?id=2021224960


feat: add datanode and meta 'http-addr' start args

The greptimedb image on dockerhub need to update.

@daviderli614 The CI test is failed, should fix the CI first.

Now, e2e container image does not support the 'http-addr' args, wait for release new greptimedb image.


Add getNextViableDate, getPreviousViableDate, getNextViableTime, getPreviousViableTime pre-built functions

closes: #4043
Assume today is 2020-06-12 and current time is 15:42:21
getNextViableDate:
getNextViableDate("XXXX-12-20") -> "2020-12-20"
getNextViableDate("XXXX-02-29") -> "2024-02-29"
getPreviousViableDate:
getPreviousViableDate("XXXX-12-20") -> "2019-12-20"
getPreviousViableDate("XXXX-02-29") -> "2020-02-29"
getNextViableTime:
getNextViableTime("TXX:12:14") -> "T16:12:14"
getNextViableTime("TXX:52:14) -> "T15:52:14"
getPreviousViableTime:
getPreviousViableTime("TXX:12:14") -> "T15:12:14"
getPreviousViableTime("TXX:52:14") -> "T14:52:14"

@vishwacsena
Due to there is few references on these functions. I am not quite sure about the signature of getNextViableTime and getPreviousViableTime. Do you have any idea or documentation on these functions? I will change the input and output correspondingly.

The only concern is how do we ensure that the time base of the comparison is the user’s timeZone, not the timeZone of the machine the sdk is running on.

The only concern is how do we ensure that the time base of the comparison is the user’s timeZone, not the timeZone of the machine the sdk is running on.

i think in API layer, at least we can support pass in timezone as a parameter, then later, we can figure out how to get user timezone E2E

I do not like these functions.  They really need an at least an optional base datetime to use--which can default to however we express the users timezone/currenttime.  If I say I want to fly "july 2, 2021" and return "july 3rd", then resolving july 3rd should really be wrt the first expression.

I do not like these functions. They really need an at least an optional base datetime to use--which can default to however we express the users timezone/currenttime. If I say I want to fly "july 2, 2021" and return "july 3rd", then resolving july 3rd should really be wrt the first expression.

I added a optional parameter for passing a timezone to these functions. If no timezone provided, the default is local timezone of the machine.
However, GitHub was down so that the commit is not showing correctly. I've pushed the commit again.

Could you please add more detail to either the issue, or the PR description, around what this is and why. The 4 of us doing the PR review now don't have enough data to understand if these functions are correct/sensible or should be changed.

Could you please add more detail to either the issue, or the PR description, around what this is and why. The 4 of us doing the PR review now don't have enough data to understand if these functions are correct/sensible or should be changed.

Sorry for the missing of the context of these functions. I updated the PR description.
These functions was dicussed in an email at the start of R10, we will make sure either the issue, or the PR description will provide enough context in the future.

I closed this PR. And rework all these stuffs in another PR.


Update redis to 3.2.4 to higher to address CVE and instability

https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES mentions

Redis 3.2.4     Released Mon Sep 26 08:58:21 CEST 2016
Upgrade urgency CRITICAL: Redis 3.2 and unstable contained a security
vulnerability fixed by this release.
AFFECTED VERSIONS:
All Redis 3.2.x versions are affected.

I understand cf-redis-release is running 3.2.1 vulnerable version (in the master branch and in the latest v436.3 tag
Is there plans to update to redis 3.2.4 or 3.2.5 ?

Yes, we have a story in our backlog to update. This specific issue is not a vulnerability in our release though as we disable config.

thanks @thereses for the additional precision on the vulnerability and the schedule

The latest redis release includes redis version 3.2.8. Thanks!


E2e testing

Adds a lot of e2e testing mostly for positive use cases.

Looks great. Looks like a ton of hard work went into this. Added considerations for.. well. consideration.

I do like most of the considerations and are a good sum are ones that I had similar thoughts on but were deemed lower on my list of things that I wanted done.  There's really only one refactor that I don't like and I'm putting my thoughts down for that one with that specific comment so we can discuss it more.


add orm singleton

GetOrmer is not thread safe?

Seems that beego already implement it in the source code, bootstrap will be called once in the new orm().
BTW, can refer to sync.Once to implement thread safe singleton.

rewrite the singleton code in a thread safe way, because NewOrm() will new struct orm every time. Just make it a absolute singleton. @wy65701436 Refer to beego docs, it says go built-in connection pool is used in beego orm module. @reasonerjt


Thread APIs are missing

👍 I was going to add some more endpoints sometime soon, I'll prioritize the thread endpoints since there is a request for them.
FYI, you can already send/edit/delete message to an existing thread. I've updated the comments to mention that (The comments are not yet merged into main):
https://github.com/MahdiBM/DiscordBM/blob/66e568c663eff32c2453219ad4039d933c7af667/Tests/IntegrationTests/DiscordClient.swift#L402
Basically, normal channel create/edit/delete endpoints work for threads too as long as you provide a thread-id instead of a channel id.

After seeing the other issue i'm no longer sure if i guessed the problem correctly. So is this what you mean, or something else? Since you fail to provide basic info while completely ignoring the issue template, I need to resort to guessing, which might not be accurate.


Feat:  Decorate members page

Overview

Decorate members page
Changes

add icon ( src\assets\images\icons\icon_person-circle.svg )
decorate member page( src\components\page\MembersPage.tsx )

Review points

It would be great if you check the construction of coding and point it out if it doesn't suit proper way.

Screen Captures

Assignee Checklist:

[x] The base branch is correct (See: Types of Branches)
[x] The branch name follows the Branch Naming Conventions
[x] The correct assignees and reviewers have been designated for this PR
[x] The coding style follows the Coding Style Guide
[x] All the related issues are associated with this PR
[x] All criteria in the associated issues are met (please tick the checkboxes)
[x] My changes do not generate new warnings or errors (especially in the console)

Reviewer Checklist:

[ ] The code follows the generic best practices and our Coding Style Guide
[ ] Code is well-commented and easy to understand
[ ] UI changes accurately reflect the provided design

@ShoeheyOt
Sorry, I couldn't pointed out in the first sight, but I found now that the space between MobileHeader and this component is not 35px, but 24px!
When you hover over the title, you see the gap is 35px

But this is the actual gap we want to set between MobileHeader and this component.

Because title's line height is smaller than icon's height, and icon's height is equal to the component's height.

Good morning Yusuke, Kanta!
Thank you for detailed review and comment,
@uskayyyyy @kanta1207

The gap between the header and the page content
This should be a padding of the parent element instead of adding the margin-top to the heading area because we always want to guarantee a fixed space (24px) underneath the header, whatever the content may be. Please also consider adding a padding-bottom, as well.

What I did

delete mt-[35px]
add pt-6 at parent of div which had mt-[35px]
replace mb-5 with pb-2 as the gap is 8px as below Figma image.

Cards are hidden in case there are many member cards.

What I did

add pb-16 in the parent div( same div as I put pt-6 above)
add pb-1 in wrapper div of cards
pb-16 is 64 px which is height of footer section so it is needed secure the space for them and I thought it is also needed to add gap in the bottom for distinguishability so I put pb-1 in the wrapper div

Reduce the use of arbitrary values for Tailwind classes whenever possible.
Tailwind CSS is a library designed to avoid random values in CSS. So, it is always preferred to use classes predefined by Tailwind CSS. If you need an irregular value, please consider adding a value to tailwind.config.ts. But here, you don't even have to define the height h-[3.75rem] (= 60px) because the icon has 44px of height and the card has the 8px of py for each top and bottom, which is a total of 60px.

What I did

delete h-[3.75rem]
You are totally right.

Use the size property of the Icon component to define the size
The Icon component guarantees the icon always becomes "square" because SVG sources are not always square. It is achieved using the size property defined within the component. Currently, you have the width and height in the className. It should be better to replace them with the size property.

What I did

replace className with size size={12}
delete w-12 and h-12 in parent div of Icon
add px-3.5 for meatball-menu icon
add p-[15px] for plus icon (please let me know if there is a way to avoid arbitrary values...)

Replace the  tag with  tag
We have implemented the shared  component based on shadcn/ui. It is essentially a component just to render a  element but with extended accessibility. So, please avoid using the plane HTML  element whenever possible.

Let me talk with you later.
I haven't push yet as I haven't replaced <button> with <Button> yet.
I will after I talk with you.
Thanks.

Hi,
As I checked with @uskayyyyy  verbally, I replaced <button> element with <Button> and set justify-start in className.
Please check when you have time.
Thanks

@uskayyyyy @kotaaaa @kanta1207
Thank you all for your review and comment!


feat(web) detect cached webapp running and prompt user to reload

very similar to the new deploy notification on the auth portal, except this detects a cached version of the web app running compared to what is now available on disk via the si launcher. This could potentially happen if the user left their browser open while running an si update

bors merge


Pythia experiment 2: Memorization

@uSaiPrashanth you probably know much better than me what's going into the Pythia paper from your memorization work! but creating this issue as a placeholder, hope that's ok :)


JS/TS filter updated to support template strings in backquotes

This is to support strings enclosed in backquote. For example:
// example1
"string1": `multi-line text
with \`escaped\` backquote
for testing`,

// example2
"string2": "this is `backquote` in \"double-quoted\" string\n",

@aurambaj FYI, I referenced other okapi filters like PropertiesFilter but the implementation is different.


Asynchronous scriptPreprocessor for webpack support

I'm using webpack (https://github.com/webpack/webpack) to develop react applications which allows one chain a various plugins into the js compilation step.  It is similar but more flexible then jest's scriptPreprocessor.
Webpack allows you also to specify additional loaders/transformations to apply when a script is required, for example:
var Page = require('promise!./Page.js)
This invokes the promise-loader (https://github.com/gaearon/promise-loader) to transform to require.ensure instructing webpack to split Page.js and all its dependencies into a new javascript file that will be asynchronously loaded and return a promise.
Jest however has no idea what to do with this require statement and blows up.  I was thinking that I could have the scriptPreprocessor just call webpack to compile the js files.
Unfortunately the scriptPreprocessor is synchronous, whereas the webpack compiler is asynchronous.  This results in a much less then ideal configuration where I need webpack to generate the js files in another folder and have jest run against them instead.
Any possibility that the scriptPreprocessor could provide a done function argument that can be called when compilation is complete (similar to jasmine async tests?).

I have a similar issue: http://stackoverflow.com/q/28870296/247243
What's the recommended workaround for this?

@moroshko That was pretty helpful, thanks.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Yeah, https://github.com/atecarlos/webpack-babel-jest seems like a reasonable solution. Jest 0.6.0 will also allow to specify moduleNameMapper that maps a module regex to a stub module. That way you can match all .css files that you require to a CSSStub for example.


embassy won't boot from sd card with ssd plugged into usb hub

probably trying to boot off of the ssd. likely can be fixed with a firmware change.

duplicate of #740


ChannelCreateEvent fires twice for forum posts under certain circumstances

General Troubleshooting

[X] I have checked for similar issues on the Issue-tracker.
[X] I have updated to the latest JDA version
[X] I have checked the branches or the maintainers' PRs for upcoming bug fixes.

Expected Behaviour
JDA should not execute onChannelCreate again when use it to send a message to a new forum post.
JDA executes onChannelCreate as expected (aka once per new channel created) if I remove the code inside the if clause that sends a message to the new forum post.
Code Example for Reproduction Steps
@Override
public void onChannelCreate(ChannelCreateEvent event) {
        try {
            if (event.getChannel().asThreadChannel().getParentChannel().asForumChannel()
                    .getIdLong() == suggestionForumID) {
                event.getChannel().asThreadChannel().sendMessage(MessageCreateData
                        .fromEmbeds(new EmbedBuilder().setTitle("Poll⠀⠀⠀⠀").setColor(10181046).build()))
                        .queue((message) -> {
                            message.addReaction(Emoji.fromUnicode("👍")).queue();
                            message.addReaction(Emoji.fromUnicode("👎")).queue();
                        });

            }
        } catch (IllegalStateException e) {
        }
    }

Code for JDABuilder or DefaultShardManagerBuilder used
JDABuilder.createDefault(passwords.getString("DiscordBotToken"), GatewayIntent.GUILD_BANS, GatewayIntent.GUILD_EMOJIS_AND_STICKERS, GatewayIntent.GUILD_MESSAGE_REACTIONS)
                        .disableCache(CacheFlag.VOICE_STATE)
                .addEventListeners(new SuggestionsPoll(config.getLong("SuggestionsForum")))
                .build().awaitReady();

Exception or Error
N/A

This should already be resolved by #2254 which is going to be in the next release.


SSLHandshakeException when using RESTMock

Hi,
First of all thanks for the great library. I've used RESTMock in the past around 2yrs back and everything worked smoothly. I was trying it today and faced some issues.
I have a simple test method
@Test
fun shouldShowLoader() {
    RESTMockServer.whenGET(RequestMatchers.pathContains("abc.json"))
            .thenReturnFile(200, "abc/abc.json")

    activityRule.launchActivity(null)

    onView(withId(R.id.errorContainer)).check(matches(isDisplayed()))
}

I'm getting this exception in logs :
URL its hitting: https://localhost:40882/abc.json?key=abc&q=mock
 I/MockWebServer: MockWebServer[40882] connection from /<IP_ADDRESS> failed: javax.net.ssl.SSLHandshakeException: Handshake failed  D/OkHttp: <-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
Tried a lot of solutions but nothing worked out. I'm using Android P for testing.
The app is working fine without any issue in production. Its just the UI tests I'm struggling with.

Passing in SSLSocketFactory socketFactory, X509TrustManager trustManager as done here https://github.com/andrzejchm/RESTMock/blob/4c840b24b0ac45c5e14c296e160e47b56852fd0f/androidsample/src/main/java/io/appflate/restmock/androidsample/di/AppModule.java#L41 to OkHttpClient solved this issue.
Closing the issue.


Scroll to line when outside of view

When the destination cursor position is outside of view, scroll to it

Looks like this is already implemented thanks for the cursorMove command

Looks like this is already implemented thanks for the cursorMove command


Implement touch controls

To skip songs and to pause/play

Added basic support in 55e79cb, still needs some work

Are previous and next buttons supposed to work in the present version?
If I touch them, they turn to green, but the song doesn't change

Are previous and next buttons supposed to work in the present version? If I touch them, they turn to green, but the song doesn't change

I'm afraid this was already answered:
https://github.com/witnessmenow/Spotify-Diy-Thing/issues/14
Unfortunately, I don't have premium account...


paginator only available in index.html

I wanted to make mysite.com/blog list my posts and just have mysite.com be a landing page. it looks like you can only use the paginator template data in index.html:
def self.pagination_enabled?(config, file)
    file == 'index.html' && !config['paginate'].nil?
end

This is in https://github.com/mojombo/jekyll/blob/master/lib/jekyll/generators/pagination.rb. Is there a reason why it's limited to index.html?

this issue has been open for more than a year now and has not been assign to anyone. will this be fixed? will this only be fixed if someone in the community writes a fix?

I agree with all of you : WE NEED PAGINATED every where ! Really, I need to have it in categories, projects, ... That's mandatory when you have to manage a huge web site, with mass of posts :)
Thank's

Also experienced the same problem!

This ticket is being locked. If you have an issue (or feature request) please file a new ticket instead of practicing the art of necromancy. It has hard to maintain actual issues against comments if this happens.


Tapping on a cluster vs tapping on a marker

How do we detect the difference between tapping on a cluster or a market in - (BOOL)mapView:(GMSMapView *)mapView didTapMarker:(GMSMarker *)marker

I am also facing same issue. So please help me out on this.

@DDRBoxman @christophernassar   Please help me on it.

(BOOL)mapView:(GMSMapView *)mapView didTapMarker:(CustomGMSMarker *)marker {
[self resignResponder];
if(marker.count > 1){
NSLog(@"cluster tapped");
} else {
NSLog(@"simple marker tapped");
}
return YES;
}

//Remember you need to customize your GMSMarker and insert the number of markers into the clusters in order to differentiate between them later like in this case

Thanks a lot.
Can you please help me out solving one more issue. I have already opened a issue for the same.
Unable to Show Pins when on Same Location while clustering #28

i am Still Waiting for your reply
Unable to Show Pins when on Same Location while clustering #28


Additional space after star unpacking

Python version: 3.6.5
Black version: 18.5b1
Black seems to add an additional space after a * when unpacking a tuple
--- test.py  (original)
+++ test.py  (formatted)
@@ -1,2 +1,2 @@
-x = 1, *(2, 3)
+x = 1, * (2, 3)

I'm guessing this should be already well formatted.

Good catch, Black misinterprets unpacking in a tuple here for a multiplication. We'll fix it!

Somehow this does not happen inside something:
c = 1,*(1,*(2, 3))

becomes
c = 1, * (1, *(2, 3))

Still happening with string unpacking:
Python 3.6.5
black, version 18.6b1
x = 1, *"ab" # original
x = 1, * "ab" # formatted


tests/e2e: clone proto event in rpcchecker

We've occasionally been running into errors in e2e tests about invalid wire format messages and message size mismatches in protobuf. According to https://github.com/golang/protobuf/issues/1609, this is generally related to concurrency issues such as modifying a message during marshalling. Add a Clone() call before sending the event over the channel to mitigate this issue.

Only added a comment, so no need to wait for this to go through CI again. Merging.


Implement icons mirroring of directional icons for RTL languages support

Follow-up to #8051. Part of our push for RTL language support: #7793. We have a lot of icons in the Wagtail admin that are directional (for example an arrow pointing to the right), and would need to be flipped when the admin UI is displayed in a right-to-left language. This is a well-known necessity for RTL support: https://rtlstyling.com/posts/rtl-styling#bidirectional-icons
We need to implement mirroring for all of those icons, most likely in CSS.

I believe this could be done for all of our directional icons at once, by adding a transform: scaleX(-1); or rotate to all of the icons. My preference would be to do this via a CSS variable at the root if possible – we set the transform once and for all for those directional icons, based on the icon class name (.icon-angle-double-left), and simply change the value of the CSS variable for [dir=rtl] pages or elements.
Here’s a quick prototype:
[dir=ltr] {
    --icon-direction: 1;
}

[dir=rtl] {
    --icon-direction: -1;
}

.icon-angle-double-left,
.icon-arrow-right {
    transform: scaleX(var(--icon-direction));
}

So the tasks needed would be to:

[ ] Review all of our icons and determine which ones should get this mirroring treatment
[ ] Implement the rotation for all icons, either based on what I outlined above, or a similar approach which doesn’t require us rotating icons in each and every instance they are used.

Discussed in today’s UI team meeting with @fabienheureux – we’re happy with the transform: scaleX approach which he had used on other projects successfully (not sure where the above prototype comes from but I’ve never used this "for real" before).
Fabien is going to review https://codepen.io/thibaudcolas/pen/qBobgWG?editors=1000, a list of all Wagtail’s icons, to check whether they should be mirrored or not for RTL languages. We’ll need to validate this with speakers of RTL languages (Arabic, Hebrew, Farsi).

Discussed in today’s UI team meeting with @fabienheureux – we’re happy with the transform: scaleX approach which he had used on other projects successfully (not sure where the above prototype comes from but I’ve never used this "for real" before).
Fabien is going to review https://codepen.io/thibaudcolas/pen/qBobgWG?editors=1000, a list of all Wagtail’s icons, to check whether they should be mirrored or not for RTL languages. We’ll need to validate this with speakers of RTL languages (Arabic, Hebrew, Farsi).

I am not a native Arabic speaker, but from my experience with the language (school and family) the only icons that would benefit from mirroring would be lists (bullet points, numbers) so that the bullet is on the right. However, mirroring the numbers does not work as they become unintelligible; in that case a completely different icon would be required.
In Arabic, while the text is right-to-left, numbers are actually left-to-right. So any icons containing sequences of numbers still make sense as-is. And of course, latin characters should not be mirrored, they are read left-to-right even if intermixed with right-to-left text.

Thank you Vince! I’ve updated the CodePen based on this to set aside all icons that will need a different symbol.

Here’s a more recent record of all the icons we have in use in the CMS: https://docs.wagtail.org/en/stable/advanced_topics/icons.html#available-icons


K8SSAND-1475 ⁃ Handle replacement of nodes stuck in "Starting" mode

My cluster ended up in a state where one Cassandra pod wouldn't start because the data volume was corrupted (or something like that). In this case, the management API tries over and over again to restart Cassandra and the pod gets stuck with the "Starting" cass-operator label.
One "logical" thing to do then is to use the replaceNodes setting of cass-operator to replace the faulty pod with a new one (including a new PV), and bootstrap it safely by replacing the previous instance of that node. Sadly, cass-operator prevents that from happening and the node never gets replaced.
The manual fix wasn't really easy, and involved:

removing the node from the cluster through nodetool removenode
deleting the PV and PVC
then deleting the pod

The additional streaming session and token movements triggered by the node removal phase could really be avoided, as well as the follow up cleanup operation if we could make it so that cass-operator allows such replacements.
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1475
┆priority: Medium

PR 383 should take care of this, as it does not care about the state of the node that's being replaced.


Add nextflow parameter validation

Purpose: This adds parameter validation from groovy scripts fromnf-core + some custom validation code, and adds help prompts for running the nextflow pipeline. This also adds labels and headings tomain.nf and removes most of the custom validation code we used previously given that we use nextflow_schema.json now

Ran the nextflow pipeline locally and it ran all the way through minus the run_quac_table_report step which stays idle and is getting investigated here #29


Passive FTP not working

I am testing the FTP server of the W5500.
Active FTP-Mode works fine.
However, passive FTP has a problem.  The setup of the connection works fine, but when the code goes to "case STOR_CMD" the connect call tries to open a connection to remote_ip <IP_ADDRESS> (Line 872 of ftpd.c): Hence the passive FTP implementation does not store the IP address of the FTP client before connecting the data socket.
To reproduce you can use the following python lines:
import ftplib
session = ftplib.FTP('<IP_ADDRESS>','abc','123')
session.set_pasv(False) #works
#session.set_pasv(True) #does not work
file = open('homer.png','rb')
session.storbinary('STOR homer.png', file, 512)
file.close()
session.quit()

Hello,
I modified FTP Server code.
So, please check it working well.
And you need to input user and password.

In passive mode, FTP Client try to connect and open data socket. It is not FTP Server. Please check it.


Feature Request: User Authentication

HockeyApp SDK supports the following:
Anonymous auth
Device UUID Auth
HockyApp User Login Auth
Email Auth
Web Auth
react-native-hockeyapp only supports anonymous.  Are there any plans to support additional authentication mechanisms?

If there's no short term goals to making this happen, I'm willing to contribute and can look at iOS early next week

@berickson1 I don't have the plan. So I would be really happy if you do it and I could probably do Android version. So feel free to work on it.

Cool.  We should agree upon an interface.  Here's my proposal:
Function: HockeyApp.configure
Parameters:
HOCKEY_APP_ID:string
autoSendCrashReports:boolean (default = true)
authType enum (default = 0)
app_secret: string (default = "")
Enum values:
0 - No Auth
1- Email (& Secred) Auth
2 - HockeyApp User Login Auth (email & password)
3 - Device UUID Auth
4 - Web auth (iOS only)
If you're ok with this, I'll start on iOS. Thoughts?

Looks good. :+1:
Just one observation... Maybe the naming of the var could be all camel case?

Sounds good, I wasn't sure what naming convention you preferred.
I've implemented iOS auth types. I'll hold off making a pull request because it will break android (differing api call signatures).
Take a look at it here: adfa03c7f4a80d6702ba1d32632fe5e7180f3ef3
Thoughts?

Sounds good, I wasn't sure what naming convention you preferred.
I've implemented iOS auth types. I'll hold off making a pull request because it will break android (differing api call signatures).
Take a look at it here: 81e3793b6c2077f74d1e2003b89558558d67e632
Thoughts?

Looks good to me. Feel free to create PR and next week when I'm back from skiing I'll write the Android version of it.

@martincik, @rspeyer implemented the Android piece.  Feel free to take a look here: da086f6709cae77f5dc514333d21758a0ee18cb6
I'll put up a pull request tomorrow for iOS/Android combined

Awesome! I was actually planning to send a PR for this, but you beat me to the punch :)

Looks good! Let's do PR.

@rspeyer Can you create PR for Android impl. of the Auth?

@martincik it looks like it has already been pulled in via the auth branch - here is the relevant diff: https://github.com/slowpath/react-native-hockeyapp/compare/81e3793b6c2077f74d1e2003b89558558d67e632...master

@rspeyer Great. Didn't notice. ;) Thank you.


Added bszeti, ckavili & lpsantil as CoP members

Add new members bszeti, ckavili & lpsantil as CoP members, fixes #181, #182, #183

/assign @sabre1041

@pabrahamsson do we want to add them to the container-cop team as well?

Sure will do @sabre1041

/lgtm


dl2 training and testing share the same *.o and *.e files

If both jobs are sbatched/processed at the same time - what it should normally happen -  both outputs/errors will be written in the same file.

Comments @vuillaut ? Otherwise it will be left like this for the moment.

feel free to improve if you have the opportunity, not a priority right now


Outdated type-signal in catalog for AAS-Resources

Description
Since R23-12, standard CX-0002 has mandated the use of the property http://purl.org/dc/terms/type to be used as signal the type of a dcat:Dataset in a dcat:Catalog. In an EDC, the corresponding resource must be added during with the POST /v3/assets call, for instance like this [1]. Since its introduction, the property asset:prop:type was due for removal with the next breaking release.
Current behaviour
The IRS relies on the deprecated and (starting R24-05) optional property asset:prop:type [2].
Expected behavior
The IRS (as a Consumer application) should use the Property http://purl.org/dc/terms/type to discover Digital Twin Registries (and Submodels, despite not strictly necessary) in a Provider's catalog. This can be done, for instance, via EDC-Catalog-Filtering, see example [3]. Please note that this property holds an object with an @id property which is why the filter is nested.
If the IRS looks for either or both is an implementation detail. What matters is that Data Providers, adhering only to the current version of the standard are found by the IRS.
[1]
POST /v3/assets
{
  "@context": {
    "edc": "https://w3id.org/edc/v0.0.1/ns/",
    "cx-common": "https://w3id.org/catenax/ontology/common#",
    "dct": "http://purl.org/dc/terms/"
  },
  "@id": "aas-dtr",
  "properties": {
    "dct:type": {"@id": "https://w3id.org/catenax/taxonomy#DigitalTwinRegistry"},
    "cx-common:version": "3.0"
  },
  "privateProperties": {
  },
  "dataAddress": {
    "@type": "DataAddress",
    "type": "HttpData",
    "baseUrl": "https://my-aas.dtr/api/v3.0",
    "oauth2:tokenUrl": "https://my-idp.url/token",
    "oauth2:clientId": "my-cid",
    "oauth2:clientSecretKey":"my-key",
    "proxyMethod": "true",
    "proxyQueryParams": "true",
    "proxyPath": "true"
  }
}

[2]
https://github.com/eclipse-tractusx/item-relationship-service/blob/31ed8b8b38996640ec1d39d921c48bda434abad0/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/asset/EdcAssetService.java#L156
[3]
POST /catalog/request
{
    "@context": {
        "edc": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@type": "CatalogRequest",
    "counterPartyAddress": "https://counter-party.address/api/v1/dsp",
    "counterPartyId": "BPNL000000FOOBAR",
    "protocol": "dataspace-protocol-http",
    "querySpec": {
        "offset": 0,
        "limit": 200,
        "filterExpression": {
            "operandLeft": "'http://purl.org/dc/terms/type'.'@id'",
            "operator": "=",
            "operandRight": "https://w3id.org/catenax/taxonomy#DigitalTwinRegistry"
        }
    }
}

Hi @arnoweiss
Thank you for raising this issue. I was not aware of this change. We will fix this ASAP.

More information about the standard can be found in section 3.1.4 EDC Data Asset Structure of CX-0002

ready for testing @ds-kgassner

successfully tested - approved from my side.

LGFM. PO acceptance in behalf of @jzbmw


Creating Mongodb app in azure cosmos yields error

Bug Report
The index path corresponding to the specified order-by item is excluded

Steps to Reproduce

npx create-payload-app, choose empty template
Configure indexSortableFields: true
Run and create first user

Other Details
This error shows in logs when trying to load the users collection

Workaround:
Manually add indexes on Users collection;

createdAt.$**
updatedAt.$**

Thanks for the report. We've had to make adjustments for cosmos db in the past (#1272). This sounds like something that also needs to be accounted for.

Maybe not the best workaround for auto-creating it but suffices my needs:
// Initialize Payload
payload.init({
    // ...
    onInit: () => {
        payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`)

        // Workaround for CosmosDB and https://github.com/payloadcms/payload/issues/1506
        // Await for moongoose to connect
        mongoose.connection.on('connected', () => {
            payload.logger.info('Mongoose connected')
            ;(payload.collections.users.Model as any).collection.createIndex({ updatedAt: 1 }, { background: true })
            ;(payload.collections.users.Model as any).collection.createIndex({ createdAt: 1 }, { background: true })
        })
    },
})

Hi @DanRibbens,
I saw you were assigned to this.
I've started PR #1537, maybe helpful.


[boost-container] build failure on Windows (missing boost-static-assert dependency)

Operating system
Windows
Compiler
MSVC
Steps to reproduce the behavior
`vcpkg install boost-container`

Failure logs
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: C:/vcpkg/buildtrees/boost-container/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\boost-container\config-x64-windows-dbg-CMakeCache.txt.log
      C:\vcpkg\buildtrees\boost-container\config-x64-windows-rel-CMakeCache.txt.log
      C:\vcpkg\buildtrees\boost-container\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:261 (vcpkg_execute_required_process)
  installed/x64-windows/share/vcpkg-boost/boost-install.cmake:55 (vcpkg_cmake_configure)
  ports/boost-container/portfile.cmake:12 (boost_configure_and_install)
  scripts/ports.cmake:175 (include)

C:\vcpkg\buildtrees\boost-container\config-x64-windows-out.log:
  Could not find a package configuration file provided by
  "boost_static_assert" (requested version 1.85.0) with any of the following
  names:

    boost_static_assertConfig.cmake
    boost_static_assert-config.cmake

  Add the installation prefix of "boost_static_assert" to CMAKE_PREFIX_PATH
  or set "boost_static_assert_DIR" to a directory containing one of the above
  files.  If "boost_static_assert" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  C:/vcpkg/installed/x64-windows/share/boost/BoostConfig.cmake:67 (find_package)
  C:/vcpkg/installed/x64-windows/share/boost/BoostConfig.cmake:128 (boostcfg_find_component)
  C:/vcpkg/installed/x64-windows/share/boost/vcpkg-cmake-wrapper.cmake:3 (_find_package)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  C:/vcpkg/installed/x64-windows/share/boost/cmake-build/BoostRoot.cmake:234 (find_package)
  C:/vcpkg/installed/x64-windows/share/boost/cmake-build/BoostRoot.cmake:274 (__boost_scan_dependencies)
  CMakeLists.txt:10 (include)

Additional context
Appears to be a missing dependency on the boost-static-assert package.
Running vcpkg install boost-static-assert before running vcpkg install boost-container fixes the issue.

This is a missing dependency. Maybe the generate script needs to lern to parse the CMake files instead of the b2 files.

Regression.

The release note says they removed the dependency... not in CMake at least.

The release note says they removed the dependency... not in CMake at least.

do you have a link for that?

nevermind found https://github.com/boostorg/container/commit/fb822f043515981d07d31fbc5f0484b791507e9d

And https://www.boost.org/doc/libs/1_85_0/doc/html/container/release_notes.html#container.release_notes.release_notes_boost_1_85_0


Debugging Model Performance on 1 Continuous Target: CTBiomarkers.CalciumScoring.AbdominalAgatston

Previous comments:
Ahmed14974: As previously observed through preliminary modeling iterations, any and all models trained on the input images to predict the Continuous Target variable CTBiomarkers.CalciumScoring.AbdominalAgatston have not shown any degree of decent performance. This Issue will document all approaches to be considered for the purposes of tuning and improving model performance, including model iterations which have already been attempted
echen4096: I tested a ResNet model with CoordConv layers and pretrained weights (commit). However, model performances remain poor.
Results:

Original Resnet Model

mse: 0.013112680986523628,
r_squared: -0.013185453842119443,
explained_variance: -0.010275483131408691

Resnet Model with CoordConv

mse: 0.01319037564098835,
r_squared: -0.019188805176170165,
explained_variance: -0.004194855690002441

Experiments Attempted for CTBiomarkers.CalciumScoring.AbdominalAgatston


Ideas about the future of this project

Hi everyone.
I am posting this here as an issue since I have no idea where to post such a message :-) I started this project some time ago to solve my own problem. It seems that a lot of other developers out there had the same problem. I realize that a lot of users are now dependent of this plugin and would like to discuss how to move forward so it will be maintained by more than me.
My ideas for the future is as follows (open for input):

Move the project to a new organization node4j (https://github.com/node4j). This will make it easier for other developers to take ownership of the project and help me maintain it.
Better documentation and more reliable versioning (compatibility matrix).
Maintain a clear roadmap of things to come in next versions of the plugin.

Also this "organization" would host a node maven repo and npm/yarn maven repo that will also be maintained by this "organization". This repository does not actually contains the binaries but acts as a proxy. See https://github.com/node4j/node-repo-proxy. This will make it easier for the plugin to download node and npm/yarn versions.
What do you think about this?
BR,
Sten Roger

Hi,
First of all, thanks for your work on the plugin!
The idea of organization sounds very promising. With regarding to repository - does it mean that we will have yet another point of failure? Can we think on how to distribute the plugin and everything else using existing well-known repositories like jcenter? (Btw do you plan to publish latest version of the plugin on jcenter)?

Whatever will get the development going on this is a good thing. Just do it!

I like the idea. Furthermore, I might be able to help you maintaining the plugin.
btw, thx a lot for your work!

Is this still under discussion? Can I help in any way?


Multiple images

Hi, is it possible upload multiple files?

No, for now, it is not possible out of the box.
The only solution I can think of when using my bundle is to have a collection field with a oneToMany relation to an entity storing the image. You could then make a form with a collection (allow_add and allow_delete). It would not be a multiple upload in the same click but it will allow you to provide features like image galery, ...


Cant save more than 17 packages

I am unable to save more than 17 packages in this extension. After the 17th package whenever i try to save new package it says saved but actually its is not saved in the extension

Hi @kafle1, so sorry for the late response. I can see that the quota limit fix was merged to the main branch a while ago but I never published a new version... my bad. In the next few days I'll test it just in case and publish it.


Solution Please?  Error

OSError: dlopen failed: library 👉 "libpthread.so.0" not found: needed by /data/data/com.termux/files/usr/lib/python3.11/site-packages/tls_client/dependencies/tls-client-arm64.so in namespace (default)
Solution please
Tried Termux non root & Ubuntu Same Problem...
Note: Installed all requirements

Your Device Was 32 bit !!

No 64 bit ubuntu & termux


Complemented dataset is not used in PolicyMeasures.estimate()

Summary
Complemented dataset is not used in PolicyMeasures.estimate() and this causes ValueError: Records with 'Recovered > 0' in NLD from 01Jan2020 to 01Dec2020 are un-registered.
(Optional) Related classes

covsirphy.PolicyMeasures
covsirphy.MPEstimator

Codes and outputs:
import covsirphy as cs
# Dataset preparation
data_loader = cs.DataLoader("input")
jhu_data = data_loader.jhu()
population_data = data_loader.population()
oxcgrt_data = data_loader.oxcgrt()
# Scenario analysis
analyser = cs.PolicyMeasures(jhu_data, population_data, oxcgrt_data)
analyser.trend()
analyser.estimate(cs.SIRF)

This causes ValueError.
Environment

CovsirPhy version: 2.12.0-eta
Python version; 3.8
Installation: pipenv
System: Ubuntu/Semaphore CI

With #374, this was fixed in development version 2.12.0-theta


PLEASE DELETE this issue. I apologize. first time I open issue and I did it wrong. cant find how to delete.

sorry to spam the issue section. how can I delete this issue? I formed it wrong and opened another one instead.

No worries, issues can be closed.


aligned_alloc

Any chance this can include things like: how to do aligned allocations in std::vector?

Related: std::align (though can be in a separate episode)


libcudamat_conv_gemm.so

Hi Emansim,
I try to train a model on MNIST dataset, but I cannot find libcudamat_conv_gemm.so.
Can you please help me to figure out what's happening?
Cheers,
Chengcheng
python lstm_combo.py models/lstm_combo_1layer_mnist.pbtxt datasets/bouncing_mnist.pbtxt datasets/bouncing_mnist_valid.pbtxt 0
Traceback (most recent call last):
File "lstm_combo.py", line 1, in
from data_handler import *
File "/home/smile/project/unsupervised-videos-master/data_handler.py", line 3, in
from util import *
File "/home/smile/project/unsupervised-videos-master/util.py", line 4, in
from cudamat import cudamat_conv_gemm as cc
File "/home/smile/project/unsupervised-videos-master/cudamat/cudamat_conv_gemm.py", line 4, in
_ConvNet = ct.cdll.LoadLibrary('libcudamat_conv_gemm.so')
File "/home/smile/anaconda2/lib/python2.7/ctypes/init.py", line 443, in LoadLibrary
return self._dlltype(name)
File "/home/smile/anaconda2/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: libcudamat_conv_gemm.so: cannot open shared object file: No such file or directory

you need to go first inside cudamat folder and install it by running "make"
make sure to set correct path to relevant dependencies inside Makefile
let me know if it helped .
I will make relevant changes to documentation

Hi Elman,
Thanks, I have solved that problem and it can run now.
Bests,
Chengcheng
On Mon, Mar 14, 2016 at 1:47 AM, Elman Mansimov<EMAIL_ADDRESS>wrote:

you need to go first inside cudamat folder and install it by running "make"
make sure to set correct path to relevant dependencies inside Makefile
let me know if it helped .
I will make relevant changes to documentation
—
Reply to this email directly or view it on GitHub
https://github.com/emansim/unsupervised-videos/issues/4#issuecomment-196153256
.

--
Best,
Chengcheng Jia
PhD Student
Electrical and Computer Engineering,
Northeastern University,
Cell: 1-(857)320-9063
Email<EMAIL_ADDRESS>Personal Page: https://sites.google.com/site/chengchengjia128/

Hi Elman,
I am trying to run my code by using your code, but I did not find the code
to generate feature (like ucf101). Could you share the code to generate
feature please? Thanks a lot.
Bests,
Chengcheng
On Mon, Mar 14, 2016 at 11:32 AM, Elman Mansimov<EMAIL_ADDRESS>wrote:

Closed #4 https://github.com/emansim/unsupervised-videos/issues/4.
—
Reply to this email directly or view it on GitHub
https://github.com/emansim/unsupervised-videos/issues/4#event-588884868.

--
Best,
Chengcheng Jia
PhD Student
Electrical and Computer Engineering,
Northeastern University,
Cell: 1-(857)320-9063
Email<EMAIL_ADDRESS>Personal Page: https://sites.google.com/site/chengchengjia128/

You can use any popular software framework like caffe or Toronto ConvNet software https://github.com/TorontoDeepLearning/convnet in order to extract features.
You can then use lstm_classifier.py to do classification.

Hi Elman,
I see. I will do it as suggested. Thanks a lot!
Bests,
Chengcheng
On Wed, Mar 16, 2016 at 1:32 PM, Elman Mansimov<EMAIL_ADDRESS>wrote:

You can use any popular software framework like caffe or Toronto ConvNet
software https://github.com/TorontoDeepLearning/convnet in order to
extract features.
You can then use lstm_classifier.py to do classification.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/emansim/unsupervised-videos/issues/4#issuecomment-197445276

--
Best,
Chengcheng Jia
PhD Student
Electrical and Computer Engineering,
Northeastern University,
Cell: 1-(857)320-9063
Email<EMAIL_ADDRESS>Personal Page: https://sites.google.com/site/chengchengjia128/


How to use @server

There are 2 pages
https://www.yuque.com/tal-tech/go-zero/ze9i30#99de9344
@server(
	jwt: $auth
	middleware: $middleware
)
service $name {
	....
}

https://www.yuque.com/tal-tech/go-zero/ppnpng#9d78a95e
service user-api {
    @server(  # what is the difference in/out service
        handler: CreateUserHandler   # how many keys in @server(handler/middleware/?)
        group: user
    )
    post /api/users/create (createRequest)
}

@server(
    jwt: Auth
    group: profile
)
service user-api {...}

There are 2 questions in 2nd block.
If there is no different in/out service, I think @server  should be in service.

@server is used to define service level.

There are 2 pages
https://www.yuque.com/tal-tech/go-zero/ze9i30#99de9344
@server(
	jwt: $auth
	middleware: $middleware
)
service $name {
	....
}

https://www.yuque.com/tal-tech/go-zero/ppnpng#9d78a95e
service user-api {
    @server(  # what is the difference in/out service
        handler: CreateUserHandler   # how many keys in @server(handler/middleware/?)
        group: user
    )
    post /api/users/create (createRequest)
}

@server(
    jwt: Auth
    group: profile
)
service user-api {...}

There are 2 questions in 2nd block.
If there is no different in/out service, I think @server should be in service.

We have update this doc, @server should be in service.


Feature request:  Downloading or printing search results in Accounts Screen

Feature request:  Downloading or printing search results in Accounts Screen
I am tracking some expenditures for work over several months and use a category for just that.  The feature I really need is to be able to download those particular transactions and to print those transactions nicely.   I search the category using the All Accounts view as well as each of the account screens depending on how I need it.
I'm using the chrome extension.

Looks like this request is included on our Trello board where we track feature requests. Thanks for the feedback!
https://trello.com/c/tP7ggGyP/278-sophisticated-transaction-export


[TASK] XML Diff tests should be able to ignore nodes

Issue Description
Is your feature request related to a problem? Please describe.
When testing the difference between two XML nodes, RAVEN should be able to ignore certain nodes provided by the user.
Describe the solution you'd like
In runtime or when testing, a user could submit an address (in xpath format) for which node(s) should be ignored when comparing.
Describe alternatives you've considered

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

issue closure checklist is satisfied.


update references in order to make this work with kafka 3.6.1

closes #1

Merged - thanks again for the PR @spike83 !


Crashing in mgs2 in video codec calls

The first time when the player encounters c4 the following video codec call with Otacon crashes the game
additional information
Hardware used: steam deck
Compatibility: proton experimental
Resolution:800p 16:10

This is a known issue on Proton / Linux, including Steam Deck. Even the XAudio workaround does not currently fix this. You'll probably have to wait for Valve to finish patching up Proton to support the media codecs of MGS2/3.


feat(rpc): storage proofs for snos and v0.8.0

Pull Request type
Please add the labels corresponding to the type of changes your PR introduces:

Feature

What is the current behavior?
Resolves: #NA
What is the new behavior?
Does this introduce a breaking change?
Yes (deleted some unused rocksdb columns - old database won't open.)
Other information

@antiyro @cchudant hey there! I started reviewing this PR, but I would really appreciate a description that summarize the changes I need to expect in the PR.

@HermanObst @shamsasari I don't 100% know where to start really, but the basic idea is this:
Bonsai-trie has a trie-log and uses snapshots to get the historical state of the global tries. The way it's handled today in bonsai-trie bothers me quite a lot, and this is the stop-gap solution that uses what's already there in bonsai-trie, with some drawbacks:

we can't get a storage proof for a block that is earlier than the block the node restarted at (due to using rocksdb snapshots)
the trie logs are not compact at all and handled weirdly in bonsai-trie
i had to remove a few features temporarily in bonsai-trie to make all of this work

The snapshot arc thing is a thing that stores a rocksdb Snapshot in an Arc, so that it can be stored in the MadaraBackend. Otherwise, it has an annoying lifetime. See https://github.com/rust-rocksdb/rust-rocksdb/issues/937 and https://github.com/rust-rocksdb/rust-rocksdb/issues/936
That's the hardest part, getting a MerkleTree out of the trie log. Otherwise, generating the merkle proof is as simple as calling getStorageProof which is implemented in my new tree traversal Iterator struct from https://github.com/madara-alliance/bonsai-trie/pull/36
I started reworking the whole trie-log idea in bonsai-trie from scratch in a way that would fix all of the drawbacks & not use rocksdb snapshots. That won't allow us to get rid of our rocksdb fork though, since I will use ArcSnapshot for other things.
Feel free to ask more questions though, this pr is a weird one.

I have modified upstream bonsai-trie and this branch to apply the trie-logs backwards. This is important because it allows us to serve proofs for blocks that are older than the current oldest snapshot

i also fixed the review comments

@HermanObst I am not really sure what you have in mind for the documentation you are asking.
I have made some modifications, but:

Do you think the documentation in RpcParams and DbParams (which is user-facing) is enough, or should I copy paste all of that all over the codebase everytime one of those fields pop up again? I would assume people read the user-facing doc before jumping into the code, or if they have questions about these args they would just look at how they're defined and find the user-facing RpcParams/DbParams struct pretty easily. I also think that these should have a dedicated page in the user-facing documentation, when we have that.
the snapshots struct in particular looks very self explanatory and I struggle to find any comment that I could add that would explain it better than looking at its code directly. I may be biased as it's my code and I understand it pretty well, but what do you not understand here?


fixes #37 - Add support for http headers

:warning: needs https://github.com/kuzzleio/kuzzle-common-objects/pull/11 to be merged first.
fixes #37
This PR adds the ability to send some custom HTTP headers from Kuzzle (and most importantly, from a plugin).
The sad downside is that to do so, we have to JSON parse the response from Kuzzle :\

Current coverage is 100% (diff: 100%)

Merging #38 into develop will not change coverage

@@           develop   #38   diff @@
====================================
  Files           13    13
  Lines          366   380    +14
  Methods          0     0
  Messages         0     0
  Branches         0     0
====================================
+ Hits           366   380    +14
  Misses           0     0
  Partials         0     0

Powered by Codecov. Last update fa6266a...da87f71


HDDS-9539: Adding initial content and animation for HomePage

What changes were proposed in this pull request?
This PR would introduce new content to the Homepage, along with visual improvements
Please describe your PR in detail:
The PR aims to address two main points:

Adding new content to the Home page.
Visually improve the homepage.

What is the link to the Apache Jira?
https://issues.apache.org/jira/browse/HDDS-9539
How was this patch tested?
This patch was tested locally running on docker.

Initial Homepage style and layout:
Placeholder text used to populate page.
https://github.com/apache/ozone-site/assets/43001336/a6d520e6-5f85-4534-98e7-15128cea9cf2


Proposal: Create "Instructor" badge in AMY

Background
All badged instructors in AMY have one of two badges: SWC and/or DC. We recently agreed that badged instructors are allowed to self-select to teach any lesson from any lesson community if they've completed instructor training and checkout. When workshop requests come in, there is typically a preference for a workshop of type SWC, DC or LC from the workshop host. We don't have great systems for tagging instructors from those areas to match them with workshop requests. Having specific badges could help select instructors based on their expressed preferences.
Proposal
I propose that we create a new badge type "Instructor" in AMY, and assign it to all existing badged instructors. Then from now-on we assign SWC, DC and LC badges based on instructor's personal preference to teach/not teach those types of workshops (provided they already have an instructor badge). For existing instructors, they will receive a new badge "Instructor", but keep their old badges. If this proposal is accepted, going forward we can give out "Instructor" badges at completion of check-out and allow self-assignment of other badges based on teaching preference.
To implement this we will need to:

Add the new badge to AMY
Update all currently badged instructors to have that badge assigned (Should be doable with a SQL Query)
Add LC instructor badge.
Put a process in place for gathering new instructor's teaching preferences

I'd very much like to hear input from  @maneesha @sheraaron  if this would create any problems to existing workflows or would even be helpful. I've mostly developed the idea based on discussions about tracking LC instructors and reaching out to them when LC workshop requests come in.
cc: @tracykteal @ErinBecker

It wouldn't create problems with workflows. For most workshops I don't actually look at which badge they have (or even what skill sets they have as  those are often out of date), just whether they are badged at all.  I trust instructors to self-select for what they can teach.
However I know that many of our badged instructors have allegiances and affinity for their badge so I think it's more of an issue from the point of view ofthe instructors. I'd want to know if our instructors are OK with not having a Carpentry-specific badge.

I agree with this proposal, with one change.
Agreed:

For existing instructors - add Instructor badge and retain old badges.

Change:

For new instructors - add Instructor badge and the badge for the
Carpentry that they did their teaching demo for. This is what we do
currently.

This change wouldn't require us to figure out a new process for asking
Instructors their teaching preferences and updating that in the system. It
is also extensible, as we can imagine also giving badges for particular
lesson sets (e.g. someone can be an Instructor, DC Instructor,
Genomics Instructor).
On Thu, Feb 22, 2018 at 1:47 AM, maneesha sane<EMAIL_ADDRESS>wrote:

It wouldn't create problems with workflows. For most workshops I don't
actually look at which badge they have (or even what skill sets they have
as those are often out of date), just whether they are badged at all. I
trust instructors to self-select for what they can teach.
However I know that many of our badged instructors have allegiances and
affinity for their badge so I think it's more of an issue from the point of
view ofthe instructors. I'd want to know if our instructors are OK with not
having a Carpentry-specific badge.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/swcarpentry/amy/issues/1232#issuecomment-367517640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASSbf4Tdzj38qxrHyM1axoe7SC2zwL8fks5tXKr5gaJpZM4SOgEP
.

--
Associate Director, The Carpentries

I agree with both Maneesha and Erin. I do not look at badges regularly. Only when awarding them. It would be nice to have documentation to know "which" badge they would like to have. Currently, if they made a SWC HW contribution but completed a DC Demo, I am not sure which badge to give them. I just choose. So this will help us in the future in allowing them to select.

Closing this as it is being discussed in #1162


Clarify that invalid identity server in account data means you don't have one

As discussed in https://github.com/vector-im/riot-web/issues/10704, the spec around m.identity_server in account data should be clarified to say that anything falsy or otherwise invalid as the same as null.

(this is actually an improvement to be made because I believe it needs an MSC)


Namespace V1 hooks and constants

What does this PR do and why?
another one:

Move any v1-specific hooks to hooks/v1/.
Moves any v1-specific constants files to constants/v1/.
Defines some missing project IDs and uses them where necessary.
Removes src/hooks/EventListener.ts file (it's unused)

Screenshots or screen recordings
N/A
Acceptance checklist

[x] I have evaluated the Approval Guidelines for this PR.
[-] I have tested this PR in all supported browsers.

@peripheralist for your review!
I haven't renamed the hooks themselves (i.e. useV1...). It didn't feel like it made sense in some cases , but I don't really have a strong opinion. Happy to make that change if we think it's more clear. cc @johnnyd-eth for additional thoughts

love this! gonna dig through it before approving, but seems conceptually sound 👌. agree that putting v1 in the hook names might not be necessary


Test: Git LFS commit support in github.dev and vscode.dev

Refs: https://github.com/microsoft/vscode-remote-repositories-github#7

[x] anyOS @daviddossett
[x] anyOS @mjbvz
[x] anyOS @rzhao271

Complexity: 3
Create Issue

This milestone, we've added support for committing LFS-tracked files when using GitHub Repositories in vscode.dev and github.dev.
Setup:

Ensure you have installed and enabled the pre-release of GitHub Repositories in vscode.dev and/or github.dev
Verify you have "githubRepositories.lfs.write.enabled": true

Testing:

Open https://github.dev/microsoft/vscode-docs/tree/vnext/ or https://insiders.vscode.dev/github/microsoft/vscode-docs/tree/vnext

Add your release notes screenshots, gifs, or mp4 (to simultaneously create image files and generate a markdown link to that file, you can paste screenshots from your clipboard directly into a markdown file. For mp4s and gifs, you can first use the Upload File explorer context menu entry to upload the file, then copy the explorer entry or drag and hold shift to create a markdown link to the file)

Commit them using the SCM view

Open the repo on github.com (you can use Copy GitHub HEAD Link in the editor context menu to get a link to a specific LFS-tracked file on github.com) and verify that GitHub.com says that the file was committed with LFS

I'll be out of office and won't be able to test this round.

👏

Works great!


Example notebook1 (with entropies) should also address weights

so far this is only part of the example0, with kde...

I suggest to include after #56, #57, #58


Restore is very slow compared to backup (Cloud console)

Full steps to reproduce the issue:

gyb --email<EMAIL_ADDRESS>--service-account --action backup

gyb --email<EMAIL_ADDRESS>restore-group --local-folder<EMAIL_ADDRESS>--use-admin<EMAIL_ADDRESS>

Expected outcome (what are you trying to do?):
The backup to group from a local (Google Cloud Shell) should not take a whole day
Actual outcome (what errors or bad behavior do you see instead?):
The backup took a minute or  2 to get (30k) emails but the restore takes many hours. It's on the Google Cloud Shell so I would assume there's not network speed limit.
What is great is that it in incremental though so I can take a couple of days to do it.
Just seems oddly slow or is that what should be expected?

Have you tested this with GYB 1.50?
In general, yes, writing (restore) is slower than reading (backup)?

Sorry, I should have said, I'm using 1.42. Let me upgrade and see if that makes it better

No, it's still really slow. Maybe even a little slower...
If that's just the way it handles the restore then I can just do it over a couple of days. As I say the incremental feature is great 👍
Thanks for the quick reply and the tool

Yep, this is really just a function of Google's API performance. Writing data to Gmail / Groups is just slower than reading it.


fix breaking bug by passing p to _dist

I did not see any test for this class; maybe we can add this as part of this PR.

Good catch, thanks. The kernel is still a WIP; feel free to add tests, of course—let me know if you are interested in this. Thanks for your contribution!

@Pseudomanifold I see here you mentioned that the kernel is still a work in progress. Is there anything you're looking for assistance with, in particular? I would love to help out in this effort! I will also work on adding tests as well.

I have updated the kernel implementation in the meantime and consider it complete (for the time being). I used to have some simple tests planned, but other than that, I have currently no use case for this module. Maybe an example would be nice? We should put this conversation to a different thread, though.


🔨(api) add Warren CLI indicator command (and sub-commands)

Purpose
We need a way to batch pre-calculate indicators from the CLI (as cronjobs for example).
Proposal
The indicator command and its sub-commands allow to perform indicators calculations from the CLI.
It ships with 3 sub-commands:

list: list indicators registered for batch computing using the CLI
inspect: show expected indicator arguments required to run
compute: compute the indicator given input arguments and optionally cache the result

TODO:

[x] implement indicator sub-commands
[ ] add annotations to Click commands and fix mypy issues
[ ] write tests
[ ] write documentation

I'm fine with the design!

Sounds good for me too :butterfly:


KAFKA-12463: Update default sink task partition assignor to cooperative sticky assignor

Jira
Changes sink tasks to use the CooperativeStickyAssignor by default, in a fashion that permits rolling upgrades of Connect workers and retains existing support for worker-level and connector-level overrides for the consumer assignor property.
Update 3/17/21: Converted to DRAFT due to the discovery of KAFKA-12487; discussion is ongoing on the ticket for KAFKA-12463.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Closing as this will likely be accomplished by KIP-726; can reopen if necessary.


Bump CastXML to 0.4.8

@tbirdso

@thewtex AFAICT this doesn't produce Linux/arm64 binaries.  Can the pipeline rules be updated for that?

@bradking I will build manually ARM binaries for both macOS and Linux and upload them to data.kitware.com.


Fix param object key in content-collections.mdx

Description (required)
The sample as-is resulted in the error "[ERROR] Missing parameter: post"

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

en/guides/content-collections.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Hi @jhuleatt! Are you sure you have copied this snippet in a file named [id].astro?
Looking at the current version, I don't see anything wrong with the code snippet. The given path is src/pages/posts/[id].astro so id is the correct param name, not post as suggested...
Maybe you tried this snippet in a file named [post].astro so you get an error... which is expected. In that case, you're right, you need to update the param name in your file, not in the docs!