Investigate GSOD redirect error

#949 was required to revert a renamed file which caused problems when deployed live.
The link would create an infinite redirect, and this persisted even with a clean rebuild after the cache was cleaned. Not sure if it's netlify or next.js. We should find out because I don't currently know how to safely rename a page.

I think this is actually pretty simple now I look back at it.
1: Differently named index file in old site
My migration script for the old cert-manager site, rutte assumed that all "index" files were called _index.md, which was true when I wrote the script initially.
However, on 2022-03-24 (before the migration) we merged #867 which added content/en/docs/contributing/google-season-of-docs/2022/improve-navigation-and-structure/index.md.
My script thus didn't know this was an index file and didn't rename it to README.md. This meant that after the refresh merged the path changed:
from:
/docs/contributing/google-season-of-docs/2022/improve-navigation-and-structure/

to:
/docs/contributing/google-season-of-docs/2022/improve-navigation-and-structure/index/

There was no index page configured, so the path without index/ would be a 404.
Takeaway: I didn't realise that Hugo supported both _index.md and index.md, and since we didn't use index.md anywhere until shortly before the refresh merged, I never spotted this. Careful review of the manifest would have shown this but I never even thought to check for this specific case.
Bad luck that we started using index.md at this point, too.
2: Redirect rule
On 2022-04-14 #917 was raised which highlighted the breaking change. Several commits were then pushed directly to master without a PR in an attempt to fix the issue (so I can't link a PR)
One of those commits fixed the issue by redirecting <...>/improve-navigation-and-structure/ to <...>/improve-navigation-and-structure/index/ permanently:
https://github.com/cert-manager/website/blame/ed5c332fbb67989078c6bc8e2d94263017bc3c0c/public/_redirects#L160
I was not aware of this change; I was away at the time it was made.
3: I try to be helpful
I spotted the "broken" URL randomly and on 2022-04-26 I raised #941 which, among other things, changed the URL back to how it would've been on the old site.
Crucially, when I test this locally it works absolutely fine because our redirect rules only apply when we deploy and not when running locally.
Takeaway: I should've spotted that this was a potentially breaking change in its right, and should've looked at adding a redirect rule from /index. This would've increased the chances of me spotting the new redirect rule which was added previously.
4: Reverted
Because of the redirect rule combined with my "helpful" change to change the path back to the old style, a redirect loop occurred but crucially this was not reproducible on a local environment.
Richard spotted the breakage on live and I raised #949 to revert. Until I spotted the new redirect rule today, I was confused as to what had broken.
TL;DR

I thought we only used _index.md but just before the refresh we added index.md
The fix to the above added a new redirect rule I wasn't aware of
I tried to fix (1) "properly"
This caused a redirect loop.

We should find out because I don't currently know how to safely rename a page.

To follow up on this specifically: Renaming a page actually works exactly as I'd expected all along, and there's nothing to see here :grin:

I have not properly communicated the hot-fixes I made on Friday, my apologies for this, it has created a lot of confusion.
The issue was raised by Enjeck on Saturday 15 April 2020 in https://github.com/cert-manager/website/issues/917. This issue was problematic because cert-manager just had been selected a few hours earlier (during the night from Friday to Saturday). Since I had to chance to get an approval until the next Tuesday due to a bank holiday, and because the only way to "see" whether a fix on _redirect would have an impact, it had to be on the master branch. Thus, I chose to commit to the master branch and skip a pull request, and I referenced Enjeck's issue in each of the commits (I realized that I could have self-lgtm in my own pull requests, I didn't have to push to master!)
The three commits in question are:

ad85bbd
7363767
5cd7bab


clonehero: <IP_ADDRESS> -> <IP_ADDRESS>80

Description of changes

Final release of Clone Hero
https://clonehero.net/releases/v<IP_ADDRESS>80/
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

NOTE: Package is currently broken, but builds fine. Running the binary crashes with no error. Marking PR as Draft until it runs.

Thanks @syboxez!! I managed to get this working and opened a new PR for it: #228096

Superseded by #229321


How to config share embedding in DSSM?

How to config in the DSSM model to share the embedding between item_id and history_item_id?

set same embedding_name for item_id and history_item_id


Link to script to validate and modify virtual network broken

There are a few places across the SQL Managed Instance docs that reference a script that does not appear to exist anymore.
$scriptUrlBase = 'https://raw.githubusercontent.com/Microsoft/sql-server-samples/master/samples/manage/azure-sql-db-managed-instance/delegate-subnet'
I've tried to find that script across GitHub but have been unsuccessful.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6b036445-58f3-bd8e-103e-17c60041a545
Version Independent ID: fa53a263-a15a-2449-207a-51b59afbec4c
Content: Configure an existing virtual network - Azure SQL Managed Instance
Content Source: articles/azure-sql/managed-instance/vnet-existing-add-subnet.md
Service: sql-managed-instance
Sub-service: operations
GitHub Login: @srdan-bozovic-msft
Microsoft Alias: srbozovi

@ZachSkylesOwens
Thanks for your feedback! We will investigate and update as appropriate.

It looks like it may have moved to here: https://github.com/microsoft/sql-server-samples/tree/master/samples/manage/azure-sql-db-managed-instance/delegate-subnet
I made a pull request to update this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/141840
@srdan-bozovic-msft please confrim


Move all e2e tests to use latest API version

Which issue this PR addresses:
Fixes
What this PR does / why we need it:
Updates the e2e tests to all use the latest API client version
Test plan for issue:
The e2e test it self will show any issues
Is there any documentation that needs to be updated for this PR?

Going to merge this as is, but TLs are tracking the follow ups.


Reproducible result issue

The result I reproduced in fair1m1.0 is 24.1277, and my environment is consistent with what you mentioned. May I ask if there is anything that may cause this situation? Thanks a lot.

The result I reproduced in fair1m1.0 is 24.1277, and my environment is consistent with what you mentioned. May I ask if there is anything that may cause this situation? Thanks a lot.

请问您的本机是什么环境呢，我在编译的那一步会报错

The result I reproduced in fair1m1.0 is 24.1277, and my environment is consistent with what you mentioned. May I ask if there is anything that may cause this situation? Thanks a lot.

请问您的本机是什么环境呢，我在编译的那一步会报错

sys.platform: linux
Python: 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21) [GCC 9.4.0]
CUDA available: True
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.1, V10.1.243
GPU 0,1: NVIDIA GeForce RTX 2080 Ti
GCC: gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
PyTorch: 1.6.0+cu101
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2019.0.5 Product Build 20190808 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75
CuDNN 7.6.3
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0+cu101
OpenCV: 4.8.1
MMCV: 1.7.1
MMDetection: 2.2.0+unknown
MMDetection Compiler: GCC 7.4
MMDetection CUDA Compiler: 10.1

The result I reproduced in fair1m1.0 is 24.1277, and my environment is consistent with what you mentioned. May I ask if there is anything that may cause this situation? Thanks a lot.

请问您的本机是什么环境呢，我在编译的那一步会报错

sys.platform: linux Python: 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21) [GCC 9.4.0] CUDA available: True CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 10.1, V10.1.243 GPU 0,1: NVIDIA GeForce RTX 2080 Ti GCC: gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 PyTorch: 1.6.0+cu101 PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2019.0.5 Product Build 20190808 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75
CuDNN 7.6.3
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0+cu101
OpenCV: 4.8.1
MMCV: 1.7.1
MMDetection: 2.2.0+unknown
MMDetection Compiler: GCC 7.4
MMDetection CUDA Compiler: 10.1

请问您对源码有修改吗，我在编译的时候一直报错

The result I reproduced in fair1m1.0 is 24.1277, and my environment is consistent with what you mentioned. May I ask if there is anything that may cause this situation? Thanks a lot.

请问您的本机是什么环境呢，我在编译的那一步会报错

sys.platform: linux Python: 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21) [GCC 9.4.0] CUDA available: True CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 10.1, V10.1.243 GPU 0,1: NVIDIA GeForce RTX 2080 Ti GCC: gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 PyTorch: 1.6.0+cu101 PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2019.0.5 Product Build 20190808 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75
CuDNN 7.6.3
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0+cu101
OpenCV: 4.8.1
MMCV: 1.7.1
MMDetection: 2.2.0+unknown
MMDetection Compiler: GCC 7.4
MMDetection CUDA Compiler: 10.1

编译的时候会出现这个错误，ninja: error: '/home/luozheng/PyCharmProject/SFRNet/mmdet/ops/dcn/src/cuda/deform_conv_cuda.cpp', needed by '/home/luozheng/PyCharmProject/SFRNet/build/temp.linux-x86_64-cpython-37/mmdet/ops/dcn/src/cuda/deform_conv_cuda.o', missing and no known rule to make it

The result I reproduced in fair1m1.0 is 24.1277, and my environment is consistent with what you mentioned. May I ask if there is anything that may cause this situation? Thanks a lot.

请问您的本机是什么环境呢，我在编译的那一步会报错

sys.platform: linux Python: 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21) [GCC 9.4.0] CUDA available: True CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 10.1, V10.1.243 GPU 0,1: NVIDIA GeForce RTX 2080 Ti GCC: gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 PyTorch: 1.6.0+cu101 PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2019.0.5 Product Build 20190808 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75
CuDNN 7.6.3
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0+cu101
OpenCV: 4.8.1
MMCV: 1.7.1
MMDetection: 2.2.0+unknown
MMDetection Compiler: GCC 7.4
MMDetection CUDA Compiler: 10.1

编译的时候会出现这个错误，ninja: error: '/home/luozheng/PyCharmProject/SFRNet/mmdet/ops/dcn/src/cuda/deform_conv_cuda.cpp', needed by '/home/luozheng/PyCharmProject/SFRNet/build/temp.linux-x86_64-cpython-37/mmdet/ops/dcn/src/cuda/deform_conv_cuda.o', missing and no known rule to make it

好像遇到过 但时间久远不太确定是不是这么解决的 好像是在github搜了这个错误 然后要么是下载了这个缺失的文件要么是改了源码 大概率是下载了缺失的文件

好滴好滴，我再试试，你跑出来的结果只有20多吗


Can 3Dposeviewer run on Ubuntu?

Yes. It runs on Ubuntu.

How to resolve this problem when I run python -m run.visualize --num-human 1 --num-hypo 40 --vis-gt?
Error message:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)

I tried those solutions but it's still not work. And I tried export QT_DEBUG_PLUGINS=1 to get more information:
QFactoryLoader::QFactoryLoader() checking directory path "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqeglfs.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqminimal.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqminimalegl.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqoffscreen.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqvnc.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-egl"
]
},
"archreq": 0,
"className": "QWaylandEglPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-generic.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland"
]
},
"archreq": 0,
"className": "QWaylandIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-egl"
]
},
"archreq": 0,
"className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-glx"
]
},
"archreq": 0,
"className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwebgl.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqwebgl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"webgl"
]
},
"archreq": 0,
"className": "QWebGLIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("webgl")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/platforms" ...
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqoffscreen.so"
QFactoryLoader::QFactoryLoader() checking directory path "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platformthemes" ...
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platformthemes/libqgtk3.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platformthemes/libqgtk3.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
"MetaData": {
"Keys": [
"gtk3"
]
},
"archreq": 0,
"className": "QGtk3ThemePlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("gtk3")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platformthemes/libqxdgdesktopportal.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
"MetaData": {
"Keys": [
"xdgdesktopportal",
"flatpak",
"snap"
]
},
"archreq": 0,
"className": "QXdgDesktopPortalThemePlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/platformthemes" ...
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platformthemes/libqxdgdesktopportal.so"
QFactoryLoader::QFactoryLoader() checking directory path "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforminputcontexts" ...
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
"IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
"MetaData": {
"Keys": [
"compose",
"xim"
]
},
"archreq": 0,
"className": "QComposePlatformInputContextPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("compose", "xim")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
"IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
"MetaData": {
"Keys": [
"ibus"
]
},
"archreq": 0,
"className": "QIbusPlatformInputContextPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("ibus")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/platforminputcontexts" ...
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
QFactoryLoader::QFactoryLoader() checking directory path "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/accessiblebridge" ...
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/accessiblebridge" ...
This plugin does not support propagateSizeHints()
QFactoryLoader::QFactoryLoader() checking directory path "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/accessible" ...
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/accessible" ...
This plugin does not support propagateSizeHints()
QFactoryLoader::QFactoryLoader() checking directory path "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats" ...
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqgif.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqgif.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"gif"
],
"MimeTypes": [
"image/gif"
]
},
"archreq": 0,
"className": "QGifPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("gif")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqicns.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqicns.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"icns"
],
"MimeTypes": [
"image/x-icns"
]
},
"archreq": 0,
"className": "QICNSPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("icns")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqico.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqico.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"ico",
"cur"
],
"MimeTypes": [
"image/vnd.microsoft.icon",
"image/vnd.microsoft.icon"
]
},
"archreq": 0,
"className": "QICOPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("ico", "cur")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqjpeg.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqjpeg.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"jpg",
"jpeg"
],
"MimeTypes": [
"image/jpeg",
"image/jpeg"
]
},
"archreq": 0,
"className": "QJpegPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("jpg", "jpeg")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqsvg.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqsvg.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"svg",
"svgz"
],
"MimeTypes": [
"image/svg+xml",
"image/svg+xml-compressed"
]
},
"archreq": 0,
"className": "QSvgPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("svg", "svgz")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqtga.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqtga.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"tga"
],
"MimeTypes": [
"image/x-tga"
]
},
"archreq": 0,
"className": "QTgaPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("tga")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqtiff.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqtiff.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"tiff",
"tif"
],
"MimeTypes": [
"image/tiff",
"image/tiff"
]
},
"archreq": 0,
"className": "QTiffPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("tiff", "tif")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqwbmp.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqwbmp.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"wbmp"
],
"MimeTypes": [
"image/vnd.wap.wbmp"
]
},
"archreq": 0,
"className": "QWbmpPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wbmp")
QFactoryLoader::QFactoryLoader() looking at "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqwebp.so"
Found metadata in lib /home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqwebp.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"webp"
],
"MimeTypes": [
"image/webp"
]
},
"archreq": 0,
"className": "QWebpPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("webp")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/imageformats" ...
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqgif.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqicns.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqico.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqjpeg.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqsvg.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqtga.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqtiff.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqwbmp.so"
loaded library "/home/stu1122/PycharmProjects/GFPose-main/venv/lib/python3.10/site-packages/PyQt5/Qt5/plugins/imageformats/libqwebp.so"

Does it show any additional error message right before your error message "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found."
Like the one displayed here: "Cannot load library /home/curiouspan/qt6-build/qtbase/plugins/platforms/libqxcb.so: (libQt6XcbQpa.so.6: cannot open shared object file: No such file or directory)"

Nope. After I install opencv-python-headless like here(https://github.com/NVlabs/instant-ngp/discussions/300), this message disapeared but a new problem "This plugin does not support propagateSizeHints()".


react-app-polyfills/ie9 does not support "FormData"

Is this a bug report?
Yes

In IE9
react-app-polyfills/ie9 does not support "FormData"

Did you try recovering your dependencies?
No

(Write your answer here.)
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment
Windows10 + IE9

(paste the output of the command here)
Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Please add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

That's expected behavior. FormData isn't available to IE10, and the IE9 polyfill you're referring to only adds minimal support for the APIs needed for Create React App.
Please see https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md

Maybe we can update the readme that if you need more features, like this, you must include them manually.

OK
Thanks.


Doesn't compile with Google Closure Compiler anymore

Hi,
I've been minifying xlsx using Google Closure Compiler for months now, always worked fine. But since upgrading from 0.9.3 to 0.9.6 I'm getting the following error.
stdin:20562: ERROR - constant self assigned a value more than once.
Original definition at externs.zip//browser/window.js:70
		if(typeof self == 'undefined' && typeof app != 'undefined') self = app;

It seems to be caused by this change:
https://github.com/SheetJS/js-xlsx/commit/70c48a74b9efb61b46293ef35f6babe5022e94df#diff-6b0da2a0ba02b003f8c2e16a0e39cbdcR12
The line mentioned in the error message is this one:
https://github.com/google/closure-compiler/blob/ab4617a86346e659253593b11d2570fa26300415/externs/browser/window.js#L68
As far as I gather, Closure Compiler thinks that self here refers to https://developer.mozilla.org/en/docs/Web/API/Window/self which is a read-only property.
This might be a bug in Closure Compiler, but I wonder if it would be possible to use a different variable name?

Sorry about that! We had to make some changes to the shim to support Adobe products (see https://github.com/SheetJS/js-xlsx/issues/603) and we left the line in.  Removing it does not affect the result in extendscript so we will remove the line in the source and push a new version of the module momentarily.

@jscheid we just released 0.9.7 with the fix.  There are 14 warnings which are intentional (including currently-disabled functions with the if(0) pattern).  To verify on the web interface:
https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520SIMPLE_OPTIMIZATIONS%250A%252F%252F%2520%2540output_file_name%2520default.js%250A%252F%252F%2520%2540code_url%2520http%253A%252F%252Foss.sheetjs.com%252Fjs-xlsx%252Fxlsx.core.min.js%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F%252F%2520ADD%2520YOUR%2520CODE%2520HERE%250Afunction%2520hello(name)%2520%257B%250A%2520%2520alert('Hello%252C%2520'%2520%252B%2520name)%253B%250A%257D%250Ahello('New%2520user')%253B%250A%250A
We currently run jshint / jscs / flow checks, but in the future we will be adding a closure check :)

I've also just tested with 0.9.7, works perfectly now. That was a really quick turnaround, many thanks!

@jscheid closure actually revealed a bug in flow/jshint!  We were getting ready to make a release this week anyway :)
https://github.com/jshint/jshint/issues/3116
https://github.com/facebook/flow/issues/3601


Page show participants

You have to do the PR against develop branch

The "Leave" button is so ugly... what do you think @AlbertMartinezM?

Also I think participants name must be in bold and the dropdown icon must be aligned with the top (aligned with the title)

Finally, the icon is reverted, must work like this:


(APS-601) Update MHAP copy

Context

JIRA
Changes in this PR

Re-include MHAP AP types
Update MHAP copy on Apply AP type page
Small fixes and improvements

Screenshots of UI changes
Before

After

@yndajas looks fine, rebase and squash all the commits before merge

@yndajas looks fine, rebase and squash all the commits before merge

Thanks Bala! I'll leave the commits unsquashed in this instance since they're independent changes to different bits of code all already in main


Update golangci-lint to v1.52.0

Ignore "should have a package comment" for now (many)
Ignore "error strings should not be capitalized", because Config Sync uses errors for user-readable status messages.

perhaps we could consider cherry picking https://github.com/GoogleContainerTools/kpt-config-sync/pull/465 instead? This would make it simpler to rebase the feature branch

/hold

@sdowell https://github.com/GoogleContainerTools/kpt-config-sync/pull/465 looks too big. linter changes should probably be separate from version bumps.
When you update to 1.19 tho, you will need to update the staticcheck linter to 1.1.9. I'm only updating it to 1.17 here.

/unhold
I fixed all the unused parameter failures.

Agreed it would have been an easier cherry pick if I had separated the linter change. That being said, is there an urgent reason for this PR? #465 is already submitted, so we could get the linter bump when merging the feature branch

Linting is failing on https://github.com/GoogleContainerTools/kpt-config-sync/pull/412
Not super sure why, but I realized our lint-go.sh script was using master to download the install script, instead of the versioned tag. So I pinned it, but it was still failing. It also tends to hang occasionally. So I upgraded it, which caused test failures. So I fixed them


Docker Container improvement

The container should use the same build steps as when you install HAL on your local system.
For this purpose the Dockerfile and the install_dependencies.sh script were adapted accordingly.
First you have to build the container, replacing $YOUR_CMAKE_OPTIONS and $YOUR_MAKE_OPTIONS with the appropriate options:
docker build --build-arg=CMAKE_OPTIONS=$YOUR_CMAKE_OPTIONS --build-arg=MAKE_OPTIONS=$YOUR_MAKE_OPTIONS -t emsec/hal:latest .
The container can be started at least under Linux with:
xhost + 'local:docker@' && docker run -dit --name hal -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $/PATH/TO/YOUR/PROJECTS/FOLDER/:/projects/ emsec/hal:latest
Here $/PATH/TO/YOUR/PROJECTS/FOLDER/ should be replaced with the folder where the projects to be processed are located.
After starting the container, the known HAL gui opens and under /projects you can find all your projects to edit.

Thanks for taking care of this!


migrate kaitai and snippets out of the api repo

Kaitai and Snippets both exist in this repo (1,2) and in their own repos (1,2). This is problematic and has caused many mis-syncs and we should simply submodule or just link to them. They are also available in the plugin manager now as well so could probably even be removed.

Done in 13ff200ba134b8704f37eca99c42b70dab0d17dc


Remove backgroundColor from UIImageView in PZPhotoView

Removed default background color of imageview used in PZPhotoView since it seems like a debug setting.

And I wonder if this change will be applied to Cocoapods.


pkg_resources.DistributionNotFound: The 'octodns' distribution was not found and is required by the application

Traceback (most recent call last):
File "/usr/local/bin/octodns-sync", line 6, in
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 3251, in
@_call_aside
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'octodns' distribution was not found and is required by the application
octodns install using: pip install -r requirements.txt
requirements contains: -e git+https://git@github.com/github/octodns.git@07b8c19acc337efc90391f5024a346ce0956a5be#egg=octodns
command ran was: octodns-sync --config-file=/etc/bind/octodns-config.yaml

sorry, wrong repo 😅


No indication of something clickable to get to remove contact

After clicking on a contact and you enter chat there should be something to indicate that you can click to the top right of the contact name to get into remove contact. There is another there on iOS (unsure if android is the same right now - will update).
However this ticket may be irrelevant if we implement the UI in remove contact in #231

resolved by: https://github.com/hyperledger/aries-mobile-agent-react-native/pull/736


how to get newsletter code

can you please help me to get this code ? https://prnt.sc/qAb-i9M5c6SF
by this i am getting only html
let html = editor.getHtml();
i want that code as it is in the popup in my jquery log

Do this : editor.runCommand('gjs-get-inlined-html')


sth went wrong

Hi,
first of all. Thanks for your great work.
Today after updating i cant get it to run.
Even tried complete reinstall.
error:
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/chia/chia-monitor/monitor/__main__.py", line 85, in <module>
    lost_plots_alert_threshold = config["notifications"]["lost_plots_alert_threshold"]
KeyError: 'lost_plots_alert_threshold'

any suggestions?

Hey @Waldkotz, glad you like it and thanks for reporting this issue! :)
This somewhat cryptic error message means your config.json is out of date and is missing the lost_plots_alert_threshold parameter under notifications. Please compare your local config.json with the provided example config-example.json and make sure all the fields are matching.
But I agree that we should get better error messages for this type of error and maybe also add some explanation on this update process to the README.md.

Thanks the line
"lost_plots_alert_threshold": 1,
was missing.
now its working a litte more. still getting no output.
tried to reinstall.
after runnning  pipenv run python -m monitor there is no output strg+c results to bye and the error massages.
x@y:~$ cd chia-monitor/
x@y:~/chia-monitor$ pipenv install
Installing dependencies from Pipfile.lock (70a85a)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 53/53 — 00:00:12
To activate this project's virtualenv, run the following:
 $ pipenv shell
x@y:~/chia-monitor$ pipenv run alembic upgrade head
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> 0d96de75543b, Create inital event model
INFO  [alembic.runtime.migration] Running upgrade 0d96de75543b -> d5e37981194d, Add total_plots column to farming events table
INFO  [alembic.runtime.migration] Running upgrade d5e37981194d -> 9c7abcc3ed80, Add host column to harvester_events table
INFO  [alembic.runtime.migration] Running upgrade 9c7abcc3ed80 -> 5ae65fde6009, Add harvester_count column to connection_events table
x@y:~/chia-monitor$ screen -S chia-mon
x@y:~/chia-monitor$ pipenv run python -m monitor
^C
2021-06-18T16:23:44.266 INFO   👋 Bye!
2021-06-18T16:23:44.330 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa089234d90>
2021-06-18T16:23:44.330 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa089234310>
2021-06-18T16:23:44.330 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa089234b80>
2021-06-18T16:23:44.330 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa0891c7670>
2021-06-18T16:23:44.330 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa0891c70a0>
x@y:~/chia-monitor$

BTW
x@y:~/chia-monitor$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.04
Release:        21.04
Codename:       hirsute
x@y:~/chia-monitor$ uname -r
5.11.0-18-generic
x@y:~/chia-monitor$

Very weird 🤔 I suspect the program might hang during the creation of the API collectors.
To further debug the root cause of this issue, I added some logging before each collector is created.
Could you please update to the latest version and try again?
You can also join our Discord support channel, where we can try to debug it together 🙂

Did the update.
Now it works.
Thanks.
Can you tell me the server?

Awesome, I'll close this issue then 👍🏽
You can join the server by clicking this link.


nox support for git tagging with scheme to support feature branch builds

Partially closes #2917
Code Changes

git_nox.py to include git-related sessions and utilities
a new nox session, tag, which generates a tag and applies it to the currently checked-out HEAD commit, based on the currently checked-out branch and existing tags in the repo

dry_run option allows user to check what the generated tag would be without actually applying it. e.g. nox -s tag -- dry_run
push option allows user to push the generated tag to the remote, e.g. nox -s tag -- push. without push, the tag is just applied to the current commit locally, but can then be pushed by the following command below
push_local option allows user to just push the current tag on the HEAD commit, no matter what it is. no new tag is generated. this may be used if you want to run nox -s tag without pushing, but then want to push what you'd generated.

an automated test for the utility that generates the tag, to evaluate the tagging logic/scheme. (yes, a test of our nox component is pretty meta...maybe this is a no-no? 😬 )

and a nox session to execute these tests, nox -s "pytest(nox)", which is now run as part of our backend checks in CI. is this too meta???

Steps to Confirm

you can use nox -s tag -- dry_run locally to evaluate what some of the tags may be, switching to different branches and also applying certain tags locally to evaluate different scenarios

please don't push your test tags to the remote if you can avoid it, as there are GH CI actions that are triggered whenever a tag is pushed, and we don't want to create cruft/use resources unnecessarily

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[x] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

Description Of Changes
Tagging scheme described in this doc has been updated to match what i've implemented here, and i believe it should work well for us going forward. See some of the automated test cases in this PR to get a feel for how the tag generation works in different scenarios. There are some changes to how we've tagged and versioned up to this point, but nothing too drastic. I'm open to hearing other ideas if anyone's got concerns with what i've landed on though!
We'll need to update the release process doc a bit so that release managers:

ensure they make release branches with release- prefix
can leverage the new nox session to generate rc tags on their release branch, in a consistent and reliable mannger
can leverage the new nox session to generate a b0 tag on main after publishing the release
Note that the final, official release tag will still be done thru GH UI, as release notes are generated, etc. Changing that process would be disruptive.

Beyond those minor improvements to the release process, this functionality will more importantly allow us to publish testpypi packages based on feature branches in an easy and reliable way, which in turn will allow us to build fidesplus "edge" or "double-edge" environments based on feature branches. In order to do that, this change will be coupled with a new nox option in fidesplus that allows the feature-branch version of fides to be explicitly pinned into the edge/double-edge build process.

I think this looks really good @adamsachs ! Thanks for the helpful PR description as well. Left a few comments/suggestions that shouldn't be blocking anything but let me know what you think. A lot of this is pretty difficult to see all the way through until it is in the wild but it looks great 👍🏽

Thanks for the helpful comments @SteveDMurphy! i fixed up and rebased to keep a clean commit history - i think i got them mostly addressed besides one i was a bit unclear on what you were suggesting. let me know when you get a chance to look, no huge rush!
FYI i also added in the nox tests themselves into our CI workflow, i hope this isn't getting too meta...

FYI i also added in the nox tests themselves into our CI workflow, i hope this isn't getting too meta...

I think it's nice to have! It's sort of an odd failure in CI tho after passing locally 🤔  I didn't look too closely but if it becomes a problem maybe strip it out and add a follow on issue so we can see more of this in the wild and circle back as needed

FYI i also added in the nox tests themselves into our CI workflow, i hope this isn't getting too meta...

I think it's nice to have! It's sort of an odd failure in CI tho after passing locally 🤔 I didn't look too closely but if it becomes a problem maybe strip it out and add a follow on issue so we can see more of this in the wild and circle back as needed

aw shucks, it seems like the GH runner isn't actually able to connect to the git repo to read tags 🤔 ... i'll see if i can debug it a bit, or maybe i can do some mocking in the tests so as to not rely on git access. but i'll probably timebox that effort if i can't find something relatively quick.

FYI i also added in the nox tests themselves into our CI workflow, i hope this isn't getting too meta...

I think it's nice to have! It's sort of an odd failure in CI tho after passing locally 🤔 I didn't look too closely but if it becomes a problem maybe strip it out and add a follow on issue so we can see more of this in the wild and circle back as needed

aw shucks, it seems like the GH runner isn't actually able to connect to the git repo to read tags 🤔 ... i'll see if i can debug it a bit, or maybe i can do some mocking in the tests so as to not rely on git access. but i'll probably timebox that effort if i can't find something relatively quick.

ok @SteveDMurphy! i think i got this figured out, just needed to explicitly fetch the tags once in the test session. tests were passing in CI on previous commits, they should be good on this re-run. i also simplified the available commands per the discussion above. i've left it as a separate commit so if we want to revert, we can - but i'll rewrite the GH description accordingly. i think this new behavior is safer, easier to use, and easier to follow in the code. let me know what you think.


How to collect jenkins data and render graph

hi,
I had installed all the components required for insight application. But am not sure on how to collect the jenkins data and render graph for the same. I tried configuring jenkinsAgent as shown below and running JenkinsAgent() python script , gives me an error

PFB log_jenkinsAgent and config file
log_JenkinsAgent.log
config.txt

Hi,
The iSight MQ exchange is not defined. Can you follow the instructions as mentioned @ http://platform.cogdevops.com/windows/InSights_V1.0.zip
Download and extract zip.
Follow the step-by-step instructions from Instructions_V1.0 document.
Also, please validate if the Jenkins REST API is accessible.
Thanks,
Vishal


Add command option for --msbuild-path

This change adds a way to pass a custom path for msbuild through to the engine. This allows for users to select preview versions if they would like until we figure out a better way to automatically select MSBuild versions.
This change separates out the MSBuild path into the WorkspaceOptions object and refactors the logic into IConfigureOptions<> implementations so that they will be cached automatically by the system.

Blocked by #800


[BUG]

Describe the bug
Java v12 version, list blob is not working as expected. It doesn't give the result blob list. It returns null. But sometimes, it returns value. I am experiencing a weird behavior.
Exception or Stack Trace
ListBlobs returns null
To Reproduce
Steps to reproduce the behavior:
Code Snippet
`StorageSharedKeyCredential credential = new StorageSharedKeyCredential(getAccountName(), AccountKey);
BlobServiceAsyncClient storageClient = new BlobServiceClientBuilder().endpoint(endpoint).sasToken(sasSource).credential(credential).buildAsyncClient();
BlobContainerAsyncClient blobContainerClient= new BlobContainerClientBuilder().endpoint(endpoint).sasToken(sasSource).containerName(sourceAccountConnectionVo.getContainerName()).buildAsyncClient();
List results = new ArrayList<>();
ListBlobsOptions options = new ListBlobsOptions().setDetails(new BlobListDetails().setRetrieveMetadata(true));
List results = new ArrayList<>();
blobContainerClient.listBlobs(options) .subscribe(response ->{
results.add(response.getName());
});`
Expected behavior
In results we should get list of blobs in container
Screenshots
Setup (please complete the following information):

OS: [e.g. iOS]
IDE :  STS
Version of the Library used - V 12.0.6

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[  ] Bug Description Added
[ ] Repro Steps Added
[ ] Setup information Added

@saralpa - could you check if this is the case? - https://github.com/Azure/azure-sdk-for-java/wiki/Frequently-Asked-Questions#my-app-uses-the-async-client-libraries-but-it-never-seems-to-get-any-results

I have added block now, but it has not found.
PagedFlux<BlobItem> result = container.listBlobs(); 	  result.subscribe(response -> { 	      System.out.println(response.getName()); 	  }).block;
It gives me error : block cannot be resolved or is not a field
I checked  I have added only this dependency :

com.azure
azure-storage-blob
12.6.0

Do I need to add any other dependency as well for block.

@saralpa block is a method, not a field, so you need to call it as block().

I tried using block() as a method also. Still the issue remains the same. I checked the azure folder also, It has dependency added of v12 version  only. Here is my dependency tree.
[INFO] PocBulkExport:PocBulkExport:jar:0.0.1-SNAPSHOT [INFO] +- com.azure:azure-storage-blob:jar:12.6.0:compile [INFO] |  +- com.azure:azure-core:jar:1.4.0:compile [INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.10.1:compile [INFO] |  |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.10.1:compile [INFO] |  |  |  +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.10.1:compile [INFO] |  |  |  |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile [INFO] |  |  |  |  \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile [INFO] |  |  |  +- org.codehaus.woodstox:stax2-api:jar:4.2:compile [INFO] |  |  |  \- com.fasterxml.woodstox:woodstox-core:jar:6.0.2:compile [INFO] |  |  +- org.slf4j:slf4j-api:jar:1.7.28:compile [INFO] |  |  +- io.projectreactor:reactor-core:jar:3.3.3.RELEASE:compile [INFO] |  |  |  \- org.reactivestreams:reactive-streams:jar:1.0.3:compile [INFO] |  |  \- io.netty:netty-tcnative-boringssl-static:jar:2.0.27.Final:compile [INFO] |  \- com.azure:azure-storage-common:jar:12.6.0:compile [INFO] |     \- com.azure:azure-core-http-netty:jar:1.5.0:compile [INFO] |        +- io.netty:netty-handler:jar:4.1.45.Final:compile [INFO] |        |  +- io.netty:netty-common:jar:4.1.45.Final:compile [INFO] |        |  +- io.netty:netty-transport:jar:4.1.45.Final:compile [INFO] |        |  |  \- io.netty:netty-resolver:jar:4.1.45.Final:compile [INFO] |        |  \- io.netty:netty-codec:jar:4.1.45.Final:compile [INFO] |        +- io.netty:netty-handler-proxy:jar:4.1.45.Final:compile [INFO] |        |  \- io.netty:netty-codec-socks:jar:4.1.45.Final:compile [INFO] |        +- io.netty:netty-buffer:jar:4.1.45.Final:compile [INFO] |        +- io.netty:netty-codec-http:jar:4.1.45.Final:compile [INFO] |        +- io.netty:netty-codec-http2:jar:4.1.45.Final:compile [INFO] |        +- io.netty:netty-transport-native-unix-common:jar:4.1.45.Final:compile [INFO] |        +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.45.Final:compile [INFO] |        \- io.projectreactor.netty:reactor-netty:jar:0.9.5.RELEASE:compile [INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.2.6.RELEASE:compile [INFO] |  +- org.springframework.boot:spring-boot-starter:jar:2.2.6.RELEASE:compile [INFO] |  |  +- org.springframework.boot:spring-boot:jar:2.2.6.RELEASE:compile [INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:2.2.6.RELEASE:compile [INFO] |  |  +- org.springframework.boot:spring-boot-starter-logging:jar:2.2.6.RELEASE:compile [INFO] |  |  |  +- ch.qos.logback:logback-classic:jar:1.2.3:compile [INFO] |  |  |  |  \- ch.qos.logback:logback-core:jar:1.2.3:compile [INFO] |  |  |  +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.12.1:compile [INFO] |  |  |  |  \- org.apache.logging.log4j:log4j-api:jar:2.12.1:compile [INFO] |  |  |  \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile [INFO] |  |  +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile [INFO] |  |  +- org.springframework:spring-core:jar:5.2.5.RELEASE:compile [INFO] |  |  |  \- org.springframework:spring-jcl:jar:5.2.5.RELEASE:compile [INFO] |  |  \- org.yaml:snakeyaml:jar:1.25:runtime [INFO] |  +- org.springframework.boot:spring-boot-starter-json:jar:2.2.6.RELEASE:compile [INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.3:compile [INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.10.3:compile [INFO] |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.2.6.RELEASE:compile [INFO] |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.33:compile [INFO] |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.33:compile [INFO] |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.33:compile [INFO] |  +- org.springframework.boot:spring-boot-starter-validation:jar:2.2.6.RELEASE:compile [INFO] |  |  +- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile [INFO] |  |  \- org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:compile [INFO] |  |     +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile [INFO] |  |     \- com.fasterxml:classmate:jar:1.3.4:compile [INFO] |  +- org.springframework:spring-web:jar:5.2.5.RELEASE:compile [INFO] |  |  \- org.springframework:spring-beans:jar:5.2.5.RELEASE:compile [INFO] |  \- org.springframework:spring-webmvc:jar:5.2.5.RELEASE:compile [INFO] |     +- org.springframework:spring-aop:jar:5.2.5.RELEASE:compile [INFO] |     +- org.springframework:spring-context:jar:5.2.5.RELEASE:compile [INFO] |     \- org.springframework:spring-expression:jar:5.2.5.RELEASE:compile [INFO] +- org.apache.commons:commons-lang3:jar:3.10:compile [INFO] \- com.fasterxml.jackson.core:jackson-databind:jar:2.11.0.rc1:compile [INFO]    +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0.rc1:compile [INFO]    \- com.fasterxml.jackson.core:jackson-core:jar:2.11.0.rc1:compile [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS

Sorry, I misread your code earlier and stopped after seeing block. You cannot call both subscribe() and block(). When you call subscribe() you get back a Disposable which allows you to cancel the async operation, but you cannot block on this object. If you want to ensure the method in question blocks, you simply call block() on the operation (the type which has a block() method is a Mono or possibly a Flux). Calling block() will also subscribe internally and then wait for completion.

Hi @saralpa, it looks like @rickle-msft has followed up and answered your question, so I'm now closing this issue.
Feel free to reactivate and provide more details or open a new issue if there's additional topics.
Thanks again for filing the GitHub issue!


Alessandro/onboarding add to dock experiment setup

Task/Issue URL: https://app.asana.com/0/1206329551987282/1208662187851716/f
Description:
This PR setup the Add to Dock experiment to be prompted from the onboarding flow.
The commits are self-contained. The PR includes a small cleanup of unused onboarding variables (last commit). You can review that one separately to avoid polluting the overall review
Steps to test this PR:
Scenario 1 - Present Add to Dock from linear onboarding

Add return VariantIOS(name: "mk", weight: 1, isIncluded: VariantIOS.When.notPadDevice, features: [.addToDockIntro]) in DefaultVariantManager -> selectVariant() -> Variant? at line 155.
Add return true in HomeRowReminder -> func showNow() -> Bool at line 55 (after the variant check)
Launch the App.
Ensure that Add to Dock Dax dialog is presented after "Set Default Browser" dialog.
Ensure that the Add To Dock Banner at the top of the web view is not presented after tapping on the first suggested search.
Continue with the flow and ensure that the Add to Dock promo is not presented in the final contextual dialog.
Repeat the test and ensure that the “Show me how” button in the Add to Dock promo dialog shows the video tutorial.
Background and foreground the app while the video is playing and ensure the video resumes playing.
Ensure that the onboarding flow continues when tapping the “Got It” button.

Scenario 2 - Add to Dock is presented from contextual onboarding

Add return VariantIOS(name: "mo", weight: 1, isIncluded: VariantIOS.When.notPadDevice, features: [.addToDockContextual]) in DefaultVariantManager -> selectVariant() -> Variant? at line 155.
Add return true in HomeRowReminder -> func showNow() -> Bool at line 55 (after the variant check)
Launch the App.
Ensure that Add to Dock Dax dialog is not presented after "Set Default Browser" dialog.
Ensure that the Add To Dock Banner at the top of the web view is not presented after tapping on the first suggested search.
Continue with the flow and ensure that the Add to Dock promo is presented in the final contextual dialog.
Repeat the test and ensure that the “Show me how” button in the Add to Dock contextual dialog shows the video tutorial.
Background and foreground the app while the video is playing and ensure the video resumes playing.
Ensure that the the dialog is dismissed upon tapping “Start Browsing".

Scenario 3 - Add To Dock is presented from banner for control variant

Add return VariantIOS(name: "mh", weight: 1, isIncluded: VariantIOS.When.notPadDevice, features: []) in DefaultVariantManager -> selectVariant() -> Variant? at line 155.
Add return true in HomeRowReminder -> func showNow() -> Bool at line 55 (after the variant check)
Launch the App
Ensure that the App to Dock Dax Dialog does not appear in the onboarding flow.
Ensure that the Add to Dock banner appears after the first search (since we return true)

Scenario 4 - Smoke test pixels are sent
Link to the Pixel scenarios https://github.com/duckduckgo/iOS/pull/3543
Definition of Done (Internal Only):

[ ] Does this PR satisfy our Definition of Done?

Copy Testing:

[ ] Use of correct apostrophes in new copy, ie ’ rather than '

Orientation Testing:

[ ] Portrait
[ ] Landscape

Device Testing:

[ ] iPhone SE (1st Gen)
[ ] iPhone 8
[ ] iPhone X
[ ] iPhone 14 Pro
[ ] iPad

OS Testing:

[ ] iOS 15
[ ] iOS 16
[ ] iOS 17

Theme Testing:

[ ] Light theme
[ ] Dark theme

Internal references:
Software Engineering Expectations
Technical Design Template

@SabrinaTardio as per our discussion instead of opening another PR I followed your advice and changed the main target branch to be main


changed schema names to be more specific, fixed minor bugs in invento…

…ry model and resolvers, and added inventory and campaign into typeDefs

still need to implement method to get campaigns and inventories


Delete site/charts directory

created to support TID distro but the charts are available from Istio Website

@psbrar99 - It was pointed out to me that Istio upstream charts will work here - so don't need those here. Reverting back to pre-change. Hope you can approve - thanks!

Done, thanks!

Thank you Sir!


What about p8 file

The samples are done according to the old Apple certificates. Is there a way to use the .p8 certificate file without the need to convert pem?

I'm also waiting for this

i've upgraded my curl and openssl for http2 and waiting for this too.

If you want, you can see at my library https://github.com/edamov/pushok.
It realizes JWT auth with p8 key. Also it supports new iOS 10 features such as Collapse IDs, Subtitles and Mutable Notifications.
It is not stable yet, but I work on it and want to release this library as soon as possible :)
I've started to implement own library because ApnsPHP has only few commits during last year.

Since the company I work for wants to keep using ApnsPHP we added p8 support: https://github.com/M2mobi/ApnsPHP/releases/tag/2.0.0beta1


self.target should be self._target

class Match(Region):
""" Extended Region object with additional data on click target, match score """
def init(self, score, target, rect):
super(Match, self).init(rect[0][0], rect[0][1], rect[1][0], rect[1][1])
self._score = float(score)
if not target or not isinstance(target, Location):
raise TypeError("Match expected target to be a Location object")
self._target = target
def getScore(self):
	""" Returns confidence score of the match """
	return self._score

def getTarget(self):
	""" Returns the location of the match click target (center by default, but may be offset) """
	return self.getCenter().offset(self._target.x, self._target.y)

def __repr__(self):
	return "Match[{},{} {}x{}] score={.2f}, target={}".format(self.x, self.y, self.w, self.h, self._score, **# self.target.getTuple())**

This has been patched in a development branch and will be rolled out to master in the near future.

Released v0.4.1a1 with this hotfix and updated Pypi. The new version should be available for update shortly.


Django Forms integration not working well

So I have a regular django form that I am porting to django-unicorn, so I can dynamically update the queryset.
Depending on the approach I have some strange errors.
Component
<div>
{{form}}
</div>

Unicorn View
from django_unicorn.components import UnicornView,QuerySetType

class MyView(UnicornView):
    form = None
    class Meta:
        exclude = ()
        javascript_exclude = (
            "form",
        )

Django template
            {% unicorn 'myview' form=form %}
Then on any interaction I get:

Cannot cache component '<class 'project.components.myview.MyView'>' because it is not picklable: <class '_pickle.PicklingError'>: Can't pickle <function paginator_number at 0x1028d6170>: it's not the same object as django.contrib.admin.templatetags.admin_list.paginator_number

I left just the necessary to reproduce the issue....
The form_class documentation is not so clear on how to use that, and when trying, it gives a whole new set of issues.
(awesome project! I have been looking for this for years!)

Hi @adamghill thanks for the quick response.
Basically I was losing the initial field value when using form_class and accessing my data (update view)....
I tried to manually populate, but no good:
class MyView(UnicornView):
    form_class = MyForm
    my_cool_field = None

    class Meta:
        exclude = ()
        javascript_exclude = (
            "form",
        )

    def mount(self):
        print(self.form.instance)
        if self.form.instance.id:
            print(self.form.instance.my_cool_field)
            self. my_cool_field = self.form.instance.my_cool_field

Maybe I am doing something wrong?
The field is a dropdown, and the values are there, but it shows a blank entry

@adamghill some piece of information. If I remove the model from the unicornview, the value is kept

Interesting! Ok, I'll do some more testing on my own and let you know what I discover/if I find bugs that I can fix.
I assume I could use something like this for MyForm for testing purposes?
class MyForm(forms.Form):
    my_cool_field = forms.CharField()

@adamghill yes, if you want to do a zoom or something, I am more than happy to help. Since I am new on django-unicorn, I cant help on fixing things, but I will get there :)

I just ran into the same pickling error. I have a GET form that is validated in views.py. Then, it gets passed to the UnicornView.
This stackoverflow answer removed the warning. However, I'm not sure what information gets lost in the process.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 843 ms

Resolved: Bofrost.be performance has improved in 858ce7b after 11 minutes.


Resolve gRPC _Rendezvous and _UnaryUnaryMultiCallable discussions

From #2149

It is not-user-friendly to require:
try:
    foo()
except grpc.RpcError as grpc_err:
    if isinstance(grpc_err, grpc.Call):
        code = grpc_err.code()
    else:
        raise

instead of
try:
    foo()
except grpc._channel._Rendezvous as grpc_err:
    code = grpc_err.code()

Also worth noting from the previous review. From @tseaver

I was thinking we would avoid the "private" class in system tests, at least (maybe we use the if isinstance(exc, Call) bit inside the predicate?

Hello,
One of the challenges of maintaining a large open source project is that sometimes, you can bite off more than you can chew. As the lead maintainer of google-cloud-python, I can definitely say that I have let the issues here pile up.
As part of trying to get things under control (as well as to empower us to provide better customer service in the future), I am declaring a "bankruptcy" of sorts on many of the old issues, especially those likely to have been addressed or made obsolete by more recent updates.
My goal is to close stale issues whose relevance or solution is no longer immediately evident, and which appear to be of lower importance. I believe in good faith that this is one of those issues, but I am scanning quickly and may occasionally be wrong. If this is an issue of high importance, please comment here and we will reconsider. If this is an issue whose solution is trivial, please consider providing a pull request.
Thank you!


[Merge] Optimistic merge policy that self corrects its selections if a much better score is available in future or current merge scores are much worse from previous scores

Is your feature request related to a problem? Please describe.
Lucene's merge selection algorithm uses a pessimistic merge selection strategy where it looks at the existing state of the segments and selects the best possible merges at the point in time. In reality, the indexer is emitting out segments every X seconds depending on refresh strategy and not merging can be a better strategy than merging segments right away if we could somehow know that new segments would be created soon. Once a segment is selected for merging, the decision is not revisited for that segment ever till it is merged away.
Example
Assume that there is a segment of size 2GB and many small segments, say 15, adding up to 1 GB. The merge selection algorithm, assuming Opensearch default merge settings, will create 2 merges - one for small segments adding up to 1GB and another one including 2GB segment. While pathological segment merging fix in lucene attempts to fix this issue, it is based on a static policy of 50% size ratio. It also creates yet another problem, where it never attempts to merge 2GB segment with smaller segments, even when there is no anticipation of more writes e.g. once a time series shard is rolled over.
Describe the solution you'd like
A few improvements that can be tried out:

Use an optimistic strategy for merge selection algorithm where the merges that have not yet started can be revisited. The MergeScore can be stored in the merge spec to decide whether to abort a pending merge if new segments or a better score policy is available. This can be a bit hard to do, especially because we may just end up aggressively aborting.
The order in which the merges are executed should be based on the best score.
Abort policy for merging can also be based on previous scores for that shard instead of a static policy. A simple Exponential moving average can be tried out.

Tagging @shwetathareja @rishabhmaurya for feedback.

Aborting segment merge could leave the stale temporary files created during merge ?

You are right @gashutos . But the recommendation here is not to abort an ongoing merge. It is just abort pending merges when a better strategy is available or not schedule a merge if the score is too far off from previous ones until a time or size condition is met.

@itiyama : There was change done in Lucene to merge the tiny segments at the time of refresh/ commit itself - merge_on_refresh & merge_on_commit - https://issues.apache.org/jira/browse/LUCENE-8962
This was enabled by default in OpenSearch here - https://github.com/opensearch-project/OpenSearch/pull/3561
If we delay merging longer, then it can impact search performance with too many small segments. But, I agree if it can simply evaluate pending merges in case better score policy is available and not abort aggressively. This would reduce the no. of merging operations.

On a similar note on improving overall merge process and performance, I am exploring few other merge policies which can improve search and update performance. I am taking reference from this paper which discusses different compaction policies which optimally trade between the I/O cost of updates on one hand and the I/O cost of lookups and storage space on the other.
Will create a RFC shortly discussing details on these merge policies along with performance gains we can get from them.

@itiyama : There was change done in Lucene to merge the tiny segments at the time of refresh/ commit itself - merge_on_refresh & merge_on_commit - https://issues.apache.org/jira/browse/LUCENE-8962

Yes, this is one of the triggers for merge to just merge the segments created as a result of refresh. This does not really select large segments for merging and yes, it does provide benefits on large core machines, but it does not eliminate the problem completely it only works on segments created as a result of refresh. For example, a small segment will be created every X seconds for a single core machine.

Will create a RFC shortly discussing details on these merge policies along with performance gains we can get from them.
Sure, will wait for your RFC.


Attempt SSA optimizations on zero-argument functions first

Problem
Currently in Brillig, we inline functions but don’t do loop unrolling, so we are really constrained in terms of constant folding.
It seems likely that there are plenty of functions that could be constant-folded if we separated out a category that can be easily worked with, viz. zero-argument functions (with no foreign calls).

These zero-argument functions are often used to build arrays, so O(n) savings for even a few arrays could be significant

When we optimize_into_acir, we run all of the passes over all of the functions in one go.
Happy Case

Validate how many cases of this there are using the flamegraph tool on Brillig

Are there a lot of zero-arg functions?
When you do array operations in Brillig functions without args, do they currently get fuzed/unrolled?
Confirm that this optimization seems useful

Running all passes over:
a. functions without arguments
b. functions reachable from (a)
c. the remaining functions

Validate whether that allows us to take advantage of the zero-arg functions being smaller, meaning they will get inlined as smaller versions

NOTE:

Most passes appear to be relatively idempotent, with the notable exception of inlining
The first line of most SSA passes is ~for function in self.functions {

These passes can be easily converted to per-function passes

Workaround
Yes
Workaround Description
Optimize by hand
Additional Context
No response
Project Impact
Nice-to-have
Blocker Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

@TomAFrench After running the noir-profiler on all test_programs (with dumping the folded_lines from flamegraph.rs)

The successful runs were collected
I used ad-hoc regex to parse out the zero-arg functions
I tallied the number of occurrences, which may be found below:

{
"equal()"=>10,
 "less()"=>3,
 "inner_1()"=>3,
 "inner_2()"=>3,
 "inner_3()"=>6,
 "new()"=>72,
 "none()"=>84,
 "foo()"=>1,
 "regression_2903()"=>3,
 "regression_2906()"=>5,
 "regression_4967()"=>5,
 "test_iterators()"=>2744,
 "test_mut_iterators()"=>4302,
 "doc_tests()"=>7882,
 "x5_5_config()"=>3390,
 "regression_2255()"=>1,
 "zero()"=>24,
 "regression_4506()"=>17,
 "one()"=>11,
 "ALLOCATE_HASHMAP()"=>185,
 "test_retain()"=>1143,
 "zeroed()"=>21
}

Out of 240 programs where noir-profiler succeeded.
Notes:

I used a couple ad-hoc ruby one-liners which can be modified if we want other stats.
Some interesting functions:

test_mut_iterators(), >4k occurrences, used for hashmaps (HashMap and UHashMap cases conflated)
doc_tests() is also used by both hashmaps

What is x5_5_config?

what is x5_5_config?

https://github.com/noir-lang/noir/blob/master/noir_stdlib/src/hash/poseidon/bn254/consts.nr
We can make this whole file comptime tbh so we don't need to worry about it.

It would be interesting to run this on aztec-packages as it's more representative of real world usage.

Running the same script at the root of aztec-packages after a successful bootstrap.sh full gives:
{
  "get_instance()"=>176576,
  "t_main()"=>1,
  "tx_overhead()"=>12,
  "empty()"=>12,
  "new()"=>416
}

Notes from manually reviewing SSA emitted from compiling the blob crate in aztec-packages:

There are a lot of functions that just jump somewhere else:

b37185():
  jmp b37186()

Moreover, there are chains of A(): jmp B(); B(): jmp C(); ..

I would expect some of these to go away by completing this issue

Many large constants are repeated, e.g. strings and arrays
Inlining might be over-eager in some cases:

E.g. the 23-instr methods b37163 and b37167 from the blob crate appear to be inlined versions of the same function

There were no changes to Brillig sized from result of running SSA passes on individual functions, so dropping the 0-arg SSA pass and keeping the impl Function { do_pass() } refactor


Release 1.1.3

Purpose

Release 1.1.3

Codecov Report

Merging #477 into ballerina-1.1.x will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             ballerina-1.1.x     #477   +/-   ##
==================================================
  Coverage              63.94%   63.94%
  Complexity               932      932
==================================================
  Files                     98       98
  Lines                   4834     4834
  Branches                 484      484
==================================================
  Hits                    3091     3091
  Misses                  1532     1532
  Partials                 211      211

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d723d8b...48ed24f. Read the comment docs.


Cannot Add Conditions to Permissions for SQS

I was writing a test app to create an SQS  Queue and then set permissions allowing SNS to publish to the queue via subscribe.  With much testing, I have yet to have a successful test.
Upon looking at the SQS Documentation, permissions with arnEquals arn:aws:sns:....:mytopic needs to be applied as a condition.  There does not appear to be any functionality to set conditions from the SDK.
I attempted to generate a manual process via JsonValue and build up a policy however haver gotten several core dumps.  Hence, I would prefer an AddCondition member for Aws::SQS::Model::AddPermissionRequest.  Am I missing something?
Here's how I am adding the Permission, which does appear in the console after executing:
// Add Permission to Queue to allow SNS to Write
Aws::SQS::Model::AddPermissionRequest addPermReq;
Aws::SQS::Model::AddPermissionOutcome addPermOut;
addPermReq.WithQueueUrl( QueueUrlList[q-1] )
.WithLabel( "SNS_Permission_Policy" )
.AddActions( "*" )
.AddAWSAccountIds( accountId );
    addPermOut = sqsClient.AddPermission( addPermReq );

    if( addPermOut.IsSuccess()) {
        std::cout << "Permission Added To Queue" << std::endl;
    } else {
        std::cerr << "SQS Add Permission Failed:"
                  << addPermOut.GetError().GetExceptionName() << std::endl;
        exit(-1);
    }

theres an integration test doing this. Have you had a look at that?
Sent from my iPhone

On Dec 11, 2016, at 10:45 AM, BCribbs<EMAIL_ADDRESS>wrote:
I was writing a test app to create an SQS Queue and then set permissions allowing SNS to publish to the queue via subscribe. With much testing, I have yet to have a successful test.
Upon looking at the SQS Documentation, permissions with arnEquals arn:aws:sns:....:mytopic needs to be applied as a condition. There does not appear to be any functionality to set conditions from the SDK.
I attempted to generate a manual process via JsonValue and build up a policy however haver gotten several core dumps. Hence, I would prefer an AddCondition member for Aws::SQS::Model::AddPermissionRequest. Am I missing something?
Here's how I am adding the Permission, which does appear in the console after executing:
// Add Permission to Queue to allow SNS to Write
Aws::SQS::Model::AddPermissionRequest addPermReq;
Aws::SQS::Model::AddPermissionOutcome addPermOut;
addPermReq.WithQueueUrl( QueueUrlList[q-1] )
.WithLabel( "SNS_Permission_Policy" )
.AddActions( "*" )
.AddAWSAccountIds( accountId );
addPermOut = sqsClient.AddPermission( addPermReq );

if( addPermOut.IsSuccess()) {
    std::cout << "Permission Added To Queue" << std::endl;
} else {
    std::cerr << "SQS Add Permission Failed:"
              << addPermOut.GetError().GetExceptionName() << std::endl;
    exit(-1);
}

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I’m looking at the QueueOperationTest.cpp now … I will let you know.
Thanks,
Brown Cribbs

On Dec 11, 2016, at 2:42 PM, Jonathan M. Henson<EMAIL_ADDRESS>wrote:
theres an integration test doing this. Have you had a look at that?
Sent from my iPhone

On Dec 11, 2016, at 10:45 AM, BCribbs<EMAIL_ADDRESS>wrote:
I was writing a test app to create an SQS Queue and then set permissions allowing SNS to publish to the queue via subscribe. With much testing, I have yet to have a successful test.
Upon looking at the SQS Documentation, permissions with arnEquals arn:aws:sns:....:mytopic needs to be applied as a condition. There does not appear to be any functionality to set conditions from the SDK.
I attempted to generate a manual process via JsonValue and build up a policy however haver gotten several core dumps. Hence, I would prefer an AddCondition member for Aws::SQS::Model::AddPermissionRequest. Am I missing something?
Here's how I am adding the Permission, which does appear in the console after executing:
// Add Permission to Queue to allow SNS to Write
Aws::SQS::Model::AddPermissionRequest addPermReq;
Aws::SQS::Model::AddPermissionOutcome addPermOut;
addPermReq.WithQueueUrl( QueueUrlList[q-1] )
.WithLabel( "SNS_Permission_Policy" )
.AddActions( "*" )
.AddAWSAccountIds( accountId );
addPermOut = sqsClient.AddPermission( addPermReq );
if( addPermOut.IsSuccess()) {
std::cout << "Permission Added To Queue" << std::endl;
} else {
std::cerr << "SQS Add Permission Failed:"
<< addPermOut.GetError().GetExceptionName() << std::endl;
exit(-1);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/aws/aws-sdk-cpp/issues/377#issuecomment-266302584, or mute the thread https://github.com/notifications/unsubscribe-auth/AXYAniVc2PPwFN1u0Kqu1ake6i2_0JFlks5rHFIngaJpZM4LJ_1O.

I’ve looked in detail and while the AddPermissions tests look like what I’ve done, there is now direct way to add conditions that I can see, which the AWS Documentation suggests is needed.
I can see the following in the console:

my topics getting generated
my queues being created
permissions being set
Subscriptions occurring to tie the topic to the queue

When I push a message either raw or JSON using the Publish to Topic my code does not receive, and the cloud watch metrics on the SQS Queues show my application making ReceiveMessage calls with no returned messages.  Hence, I believe SNS is not correctly connected.
I know there is a ConfirmSubscription step that an be called, but no Token is accessible to do a confirm.
AWS Documentation again suggests that Confirmation is not needed for Publishers and Queues using the same AccountId.
At this point I am at a loss, my application needs to be able to configure SNS subscriptions and queues automatically not by hand in the console.
Brown Cribbs

On Dec 11, 2016, at 2:42 PM, Jonathan M. Henson<EMAIL_ADDRESS>wrote:
theres an integration test doing this. Have you had a look at that?
Sent from my iPhone

On Dec 11, 2016, at 10:45 AM, BCribbs<EMAIL_ADDRESS>wrote:
I was writing a test app to create an SQS Queue and then set permissions allowing SNS to publish to the queue via subscribe. With much testing, I have yet to have a successful test.
Upon looking at the SQS Documentation, permissions with arnEquals arn:aws:sns:....:mytopic needs to be applied as a condition. There does not appear to be any functionality to set conditions from the SDK.
I attempted to generate a manual process via JsonValue and build up a policy however haver gotten several core dumps. Hence, I would prefer an AddCondition member for Aws::SQS::Model::AddPermissionRequest. Am I missing something?
Here's how I am adding the Permission, which does appear in the console after executing:
// Add Permission to Queue to allow SNS to Write
Aws::SQS::Model::AddPermissionRequest addPermReq;
Aws::SQS::Model::AddPermissionOutcome addPermOut;
addPermReq.WithQueueUrl( QueueUrlList[q-1] )
.WithLabel( "SNS_Permission_Policy" )
.AddActions( "*" )
.AddAWSAccountIds( accountId );
addPermOut = sqsClient.AddPermission( addPermReq );
if( addPermOut.IsSuccess()) {
std::cout << "Permission Added To Queue" << std::endl;
} else {
std::cerr << "SQS Add Permission Failed:"
<< addPermOut.GetError().GetExceptionName() << std::endl;
exit(-1);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/aws/aws-sdk-cpp/issues/377#issuecomment-266302584, or mute the thread https://github.com/notifications/unsubscribe-auth/AXYAniVc2PPwFN1u0Kqu1ake6i2_0JFlks5rHFIngaJpZM4LJ_1O.

BTW,  are there plans for integration tests on SNS, the other integration tests are quite useful, but SNS does not have tests. I was able to get a test app to publish to a topic I create and from the console I can do an email confirmation and receive the message via email so SNS works, just attaching/connecting SNS to SQS in an automatic fashion appears to be somewhat difficult and not really documented in a way I can easily figure this out.
Brown Cribbs

On Dec 11, 2016, at 2:42 PM, Jonathan M. Henson<EMAIL_ADDRESS>wrote:
theres an integration test doing this. Have you had a look at that?
Sent from my iPhone

On Dec 11, 2016, at 10:45 AM, BCribbs<EMAIL_ADDRESS>wrote:
I was writing a test app to create an SQS Queue and then set permissions allowing SNS to publish to the queue via subscribe. With much testing, I have yet to have a successful test.
Upon looking at the SQS Documentation, permissions with arnEquals arn:aws:sns:....:mytopic needs to be applied as a condition. There does not appear to be any functionality to set conditions from the SDK.
I attempted to generate a manual process via JsonValue and build up a policy however haver gotten several core dumps. Hence, I would prefer an AddCondition member for Aws::SQS::Model::AddPermissionRequest. Am I missing something?
Here's how I am adding the Permission, which does appear in the console after executing:
// Add Permission to Queue to allow SNS to Write
Aws::SQS::Model::AddPermissionRequest addPermReq;
Aws::SQS::Model::AddPermissionOutcome addPermOut;
addPermReq.WithQueueUrl( QueueUrlList[q-1] )
.WithLabel( "SNS_Permission_Policy" )
.AddActions( "*" )
.AddAWSAccountIds( accountId );
addPermOut = sqsClient.AddPermission( addPermReq );
if( addPermOut.IsSuccess()) {
std::cout << "Permission Added To Queue" << std::endl;
} else {
std::cerr << "SQS Add Permission Failed:"
<< addPermOut.GetError().GetExceptionName() << std::endl;
exit(-1);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/aws/aws-sdk-cpp/issues/377#issuecomment-266302584, or mute the thread https://github.com/notifications/unsubscribe-auth/AXYAniVc2PPwFN1u0Kqu1ake6i2_0JFlks5rHFIngaJpZM4LJ_1O.

Thanks for the pointers, ultimately, you have to write a custom policy with the conditinals, which was about a dozen lines, maybe two dozen lines of code that the Other SDKs (Java and C#) have built in with the “WithCondition” member function which is absent in the SQS C++ SDK.  The right combination was difficult to diagnose, and I ended up doing a JSON file with the CLI to apply first, then, replicate that JSON structure using nested JsonValue objects.
You can close the issue or move it into the “Suggested Enhancement / Feature Request” category.
Thanks again,
Brown Cribbs

On Dec 11, 2016, at 2:42 PM, Jonathan M. Henson<EMAIL_ADDRESS>wrote:
theres an integration test doing this. Have you had a look at that?
Sent from my iPhone

On Dec 11, 2016, at 10:45 AM, BCribbs<EMAIL_ADDRESS>wrote:
I was writing a test app to create an SQS Queue and then set permissions allowing SNS to publish to the queue via subscribe. With much testing, I have yet to have a successful test.
Upon looking at the SQS Documentation, permissions with arnEquals arn:aws:sns:....:mytopic needs to be applied as a condition. There does not appear to be any functionality to set conditions from the SDK.
I attempted to generate a manual process via JsonValue and build up a policy however haver gotten several core dumps. Hence, I would prefer an AddCondition member for Aws::SQS::Model::AddPermissionRequest. Am I missing something?
Here's how I am adding the Permission, which does appear in the console after executing:
// Add Permission to Queue to allow SNS to Write
Aws::SQS::Model::AddPermissionRequest addPermReq;
Aws::SQS::Model::AddPermissionOutcome addPermOut;
addPermReq.WithQueueUrl( QueueUrlList[q-1] )
.WithLabel( "SNS_Permission_Policy" )
.AddActions( "*" )
.AddAWSAccountIds( accountId );
addPermOut = sqsClient.AddPermission( addPermReq );
if( addPermOut.IsSuccess()) {
std::cout << "Permission Added To Queue" << std::endl;
} else {
std::cerr << "SQS Add Permission Failed:"
<< addPermOut.GetError().GetExceptionName() << std::endl;
exit(-1);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/aws/aws-sdk-cpp/issues/377#issuecomment-266302584, or mute the thread https://github.com/notifications/unsubscribe-auth/AXYAniVc2PPwFN1u0Kqu1ake6i2_0JFlks5rHFIngaJpZM4LJ_1O.


Create UI components breadcrumb

Description

The task is to create a shared UI component for breadcrumb.

Criteria

[ ] create a breadcrumb component

Notes

https://ui.shadcn.com/docs/components/breadcrumb

Assignment

Role
Assignee

Developer
@Akikaze1119

Reviewer
@HrRn

Note: I will start as soon as the ICON is implemented.
https://github.com/Tascurator/tascurator-frontend/issues/33