[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

vendor/github.com/urfave/cli/v2/mkdocs-requirements.txt

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – d44ab419-1947-4d19-b126-00a898c84e74
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-45288
Go-golang.org/x/net-v0.7.0
Vulnerable Package

CVE-2024-24786
Go-google.golang.org/protobuf-v1.28.1
Vulnerable Package

Passwords And Secrets - Generic Password
/rockmongo-default-password.json: 12
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/localFinger.json: 10596
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Alibaba_Nacos_Default_password.json: 56
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/XXL_JOB_Default_Login.json: 34
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Alibaba_Nacos_Default_password.json: 29
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/XXL-JOB 任务调度中心 后台默认弱口令.json: [26](https://github.com/TheRedHatter/scan4all/blob/snyk-fix-2f67045edd8e5eaabfb4ae5cb4cccd12//lib/goby/goby_pocs/XXL-JOB 任务调度中心 后台默认弱口令.json#L26)
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Wayos_AC_Centralized_management_system_Default_Password_CNVD_2021_00876.json: 34
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/WAVLINK_WN535G3_POST_XSS_CVE_2022_30489.json: 32
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/WAVLINK_WN535G3_POST_XSS_CVE_2022_30489.json: 67
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/panabit-ixcache-default-password.json: 12
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/alibaba-nacos-v1-auth-bypass.json: 10
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/D-Link AC集中管理系统默认弱口令.json: [28](https://github.com/TheRedHatter/scan4all/blob/snyk-fix-2f67045edd8e5eaabfb4ae5cb4cccd12//lib/goby/goby_pocs/D-Link AC集中管理系统默认弱口令.json#L28)
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/SDWAN_Smart_Gateway_Default_Password.json: 32
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/mallgard.json: 26
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Hsmedia_Hgateway_Default_account.json: 28
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Alibaba Nacos 控制台默认弱口令.json: [28](https://github.com/TheRedHatter/scan4all/blob/snyk-fix-2f67045edd8e5eaabfb4ae5cb4cccd12//lib/goby/goby_pocs/Alibaba Nacos 控制台默认弱口令.json#L28)
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Wayos_AC_Centralized_management_system_Default_weak_password.json: 28
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Mallgard_Firewall_Default_Login_CNVD_2020_73282.json: 34
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/D-Link_AC_management_system_Default_Password.json: 32
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Alibaba Nacos 控制台默认弱口令.json: [54](https://github.com/TheRedHatter/scan4all/blob/snyk-fix-2f67045edd8e5eaabfb4ae5cb4cccd12//lib/goby/goby_pocs/Alibaba Nacos 控制台默认弱口令.json#L54)
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/Datang_AC_Default_Password.json: 30
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/datang-ac-default-password-cnvd-2021-04128.json: 12
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/ZhongXinJingDun_Information_Security_Management_System_Default_Login.json: 69
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/浪潮tscev4命令执行.json: 12
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Token
/cve_2022_1388_goby.json: 73
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Token
/齐治堡垒机任意用户登录.json: 10
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Token
/cve_2022_1388_goby.json: 35
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Token
/Shterm_QiZhi_Fortress_Unauthorized_Access_CNVD_2019_27717.json: 28
Query to find passwords and secrets in infrastructure code.

CVE-2024-0406
Go-github.com/mholt/archiver-v3.1.1
Vulnerable Package

Fixed Issues

Severity
Issue
Source File / Package

CVE-2023-42818
Go-golang.org/x/crypto-v0.0.0-20220829220503-c86fa9a7ed90

Passwords And Secrets - Generic Password
/CVE-2021-20158.yaml: 26

Passwords And Secrets - Generic Password
/db_tests: 3191

Passwords And Secrets - Generic Password
/wildfly-default-login.yaml: 20

Passwords And Secrets - Generic Password
/jira-servicedesk-signup.yaml: 45

Passwords And Secrets - Generic Password
/CVE-2022-22972.yaml: 38

Passwords And Secrets - Generic Password
/CVE-2022-0824.yaml: 39

Passwords And Secrets - Generic Password
/CVE-2020-17456.yaml: 28

Passwords And Secrets - Generic Password
/CVE-2007-4556.yaml: 25

Passwords And Secrets - Generic Password
/xunchi-cnvd-2020-23735-file-read.yml: 9

Passwords And Secrets - Generic Password
/CVE-2014-9614.yaml: 27

Passwords And Secrets - Generic Password
/lutron-iot-default-login.yaml: 14

Passwords And Secrets - Generic Password
/db_tests: 1355

Passwords And Secrets - Generic Password
/mida-eframework-xss.yaml: 24

Passwords And Secrets - Generic Password
/CVE-2022-34590.yaml: 29

Passwords And Secrets - Generic Password
/CVE-2019-17444.yaml: 29

Passwords And Secrets - Generic Password
/db_tests: 1113

Passwords And Secrets - Generic Password
/mofi4500-default-login.yaml: 23

Passwords And Secrets - Generic Password
/CVE-2022-29383.yaml: 36

Passwords And Secrets - Generic Password
/CVE-2022-29009.yaml: 28

Passwords And Secrets - Generic Password
/CVE-2019-18818.yaml: 28

Passwords And Secrets - Generic Password
/db_tests: 2888

Passwords And Secrets - Generic Password
/CVE-2022-34048.yaml: 30

Passwords And Secrets - Generic Password
/CVE-2022-38637.yaml: 30

Passwords And Secrets - Generic Password
/CVE-2017-18024.yaml: 26

Passwords And Secrets - Generic Password
/CVE-2022-26148.yaml: 32

Passwords And Secrets - Generic Password
/CVE-2020-24579.yaml: 26

Passwords And Secrets - Generic Password
/CVE-2022-29007.yaml: 28

Passwords And Secrets - Generic Password
/thruk-xss.yaml: 28

Passwords And Secrets - Generic Password
/dataiku-default-login.yaml: 22

Passwords And Secrets - Generic Password
/CVE-2022-29383.yaml: 29

Passwords And Secrets - Generic Password
/CVE-2021-42567.yaml: 30

Passwords And Secrets - Generic Password
/CVE-2017-12635.yaml: 32

Passwords And Secrets - Generic Password
/graylog-log4j.yaml: 34

Passwords And Secrets - Generic Password
/CVE-2015-7245.yaml: 26

Passwords And Secrets - Generic Password
/3com-nj2000-default-login.yaml: 23

Passwords And Secrets - Generic Password
/CVE-2022-31269.yaml: 49

Passwords And Secrets - Generic Password
/alumni-management-sqli.yaml: 25

Passwords And Secrets - Generic Password
/CVE-2022-30489.yaml: 30

Passwords And Secrets - Generic Password
/CVE-2020-13117.yaml: 30

Passwords And Secrets - Generic Password
/dlink-dsl-2888a-rce.yml: 19

Passwords And Secrets - Generic Password
/db_tests: 6754

Passwords And Secrets - Generic Password
/CVE-2021-33044.yaml: 32

Passwords And Secrets - Generic Password
/CVE-2019-16097.yaml: 28

Passwords And Secrets - Generic Password
/CVE-2022-37153.yaml: 29

Passwords And Secrets - Generic Password
/db_tests: 1187

Passwords And Secrets - Generic Password
/ruijie-eg-file-read.yml: 13

Passwords And Secrets - Generic Password
/ruijie-eg-cli-rce.yml: 16

Passwords And Secrets - Generic Password
/CVE-2022-29006.yaml: 28

Passwords And Secrets - Generic Password
/CVE-2018-20010.yaml: 36

Passwords And Secrets - Generic Password
/db_tests: 2889

Passwords And Secrets - Generic Password
/ruijie-eg-password-leak.yaml: 20

Passwords And Secrets - Generic Password
/db_tests: 1244

Passwords And Secrets - Generic Password
/db_tests: 1109

Passwords And Secrets - Generic Password
/CVE-2020-13167.yaml: 25

Passwords And Secrets - Generic Password
/CVE-2019-14223.yaml: 28

Passwords And Secrets - Generic Password
/db_tests: 6768

Passwords And Secrets - Generic Password
/db_tests: 6753

Passwords And Secrets - Generic Password
/CVE-2019-1010287.yaml: 29

Passwords And Secrets - Generic Password
/db_tests: 2887

Passwords And Secrets - Generic Password
/zms-sqli.yaml: 27

Passwords And Secrets - Generic Password
/CVE-2021-46073.yaml: 37

Passwords And Secrets - Generic Password
/db_tests: 523

Passwords And Secrets - Generic Password
/db_tests: 1128

Passwords And Secrets - Generic Password
/db_tests: 952

Passwords And Secrets - Generic Password
/couchdb-cve-2017-12635.yml: 21

Passwords And Secrets - Generic Password
/ruijie-information-disclosure.yaml: 21

Passwords And Secrets - Generic Password
/CVE-2022-0968.yaml: 42

Passwords And Secrets - Generic Password
/db_tests: 6698

Passwords And Secrets - Generic Password
/CVE-2022-32094.yaml: 29

Passwords And Secrets - Generic Password
/db_tests: 6755

Passwords And Secrets - Generic Password
/jenkins-default.yaml: 25

Passwords And Secrets - Generic Password
/CVE-2022-26148.yaml: 52

Passwords And Secrets - Generic Password
/CVE-2019-9733.yaml: 32

Passwords And Secrets - Generic Password
/db_tests: 1099

Passwords And Secrets - Generic Password
/unauthenticated-nacos-access.yaml: 7

Passwords And Secrets - Generic Password
/CNVD-2020-23735.yaml: 19

Passwords And Secrets - Generic Secret
/api-petfinder.yaml: 22

Passwords And Secrets - Generic Token
/qizhi-fortressaircraft-unauthorized.yml: 9

Passwords And Secrets - Generic Token
/h3c-secparh-any-user-login.yml: 9

Passwords And Secrets - Generic Token
/db_tests: 6731

Passwords And Secrets - Generic Token
/CVE-2018-19892.yaml: 36

Passwords And Secrets - Generic Token
/CVE-2017-9822.yaml: 27

Passwords And Secrets - Generic Token
/CVE-2021-42237.yaml: 64

Passwords And Secrets - Generic Token
/CVE-2022-38870.yaml: 26

Passwords And Secrets - Generic Token
/.goreleaser.yml: 10

Passwords And Secrets - Generic Token
/CVE-2022-1388.yaml: 34

Passwords And Secrets - Generic Token
/ofbiz-default-login.yaml: 23

Passwords And Secrets - Generic Token
/CVE-2021-42237.yaml: 50

Passwords And Secrets - Generic Token
/CVE-2021-42237.yaml: 62

Passwords And Secrets - Generic Token
/CVE-2021-42192.yaml: 80

Passwords And Secrets - Generic Token
/CVE-2019-8451.yaml: 31

Passwords And Secrets - Generic Token
/dedecms-cve-2018-7700-rce.yml: 11

Passwords And Secrets - Generic Token
/versa-flexvnf-default-login.yaml: 57

Passwords And Secrets - Generic Token
/chinaunicom-default-login.yaml: 18

Passwords And Secrets - Generic Token
/CVE-2021-42237.yaml: 43

Passwords And Secrets - Generic Token
/db_tests: 6247

Passwords And Secrets - Generic Token
/CVE-2021-42237.yaml: 36

Passwords And Secrets - Generic Token
/.coveralls.yml: 1

Passwords And Secrets - Generic Token
/CVE-2020-16846.yaml: 24

Passwords And Secrets - Generic Token
/hue-default-credential.yaml: 62

Passwords And Secrets - Generic Token
/unauthorized-h3csecparh-login.yaml: 17

Passwords And Secrets - Generic Token
/CVE-2019-8446.yaml: 27

Passwords And Secrets - Generic Token
/CVE-2021-42237.yaml: 58

Passwords And Secrets - Generic Token
/CVE-2018-7700.yaml: 22

Passwords And Secrets - Generic Token
/CVE-2021-21287.yaml: 29

Passwords And Secrets - Generic Token
/CVE-2022-1388.yaml: 47

Passwords And Secrets - Generic Token
/CVE-2021-37580.yaml: 25

Passwords And Secrets - Password in URL
/open-redirect.yaml: 90

Passwords And Secrets - Password in URL
/CVE-2019-8451.yaml: 28

Passwords And Secrets - Password in URL
/open-redirect.yaml: 92

Passwords And Secrets - Password in URL
/open-redirect.yaml: 91

Passwords And Secrets - Password in URL
/cloudinary-credentials.yaml: 18

Passwords And Secrets - Password in URL
/open-redirect.yaml: 89

Host Namespace is Shared
/docker-compose.yml: 4

Host Namespace is Shared
/docker-compose.yml: 27

Host Namespace is Shared
/docker-compose.yml: 4

Host Namespace is Shared
/.drone.yml: 47

Networks Not Set
/docker-compose.yml: 27

Networks Not Set
/docker-compose.yml: 4

Networks Not Set
/.drone.yml: 47

Networks Not Set
/docker-compose.yml: 4


GTM Proxy Service

I noticed that the gtm proxy service svc-pxy is a LoadBalancer. Is this required? If not it's probably safer to use ClusterIP as it shouldn't be accessed remotely.

@sstubbs
This is an oversight on my part - it was a test that should have not been committed to master. You are correct. I will add a pr to correct this once I have a bit of time.
Would you mind doing PR reviews? Since you are starting to use this, I would prefer a second look on things I put into master.

ok sounds good.

Please see PR here, I assigned you to it if thats ok.
https://github.com/LamaAni/PGXL-HELM/pull/27

Resolved by PR.


prometheus not running.

Trying to run prometheus but getting this error
level=info ts=2017-12-15T10:46:23.745498382Z caller=main.go:215 msg="Starting Prometheus" version="(version=2.0.0, branch=HEAD, revision=0a74f98628a0463dddc90528220c94de5032d1a0)"
level=info ts=2017-12-15T10:46:23.745559054Z caller=main.go:216 build_context="(go=go1.9.2, user=root@615b82cb36b6, date=20171108-07:11:59)"
level=info ts=2017-12-15T10:46:23.745594335Z caller=main.go:217 host_details="(Linux 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 meghna-Latitude-3560 (none))"
level=info ts=2017-12-15T10:46:23.749048549Z caller=web.go:380 component=web msg="Start listening for connections" address=<IP_ADDRESS>:9090
level=info ts=2017-12-15T10:46:23.749124255Z caller=main.go:314 msg="Starting TSDB"
level=info ts=2017-12-15T10:46:23.749111326Z caller=targetmanager.go:71 component="target manager" msg="Starting target manager..."
level=error ts=2017-12-15T10:46:23.749512882Z caller=main.go:323 msg="Opening storage failed" err="open DB in data/: Locked by other process"

Turn off the other Prometheus that is running.
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


chore: import repository https://github.com/gke-activiti/nodetest.git

this commit will trigger a pipeline to generate the CI/CD configuration which will create a second commit on this Pull Request before it auto merges

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Enabling CLI autocompletion makes Ubuntu 22.04.1 LTS terminal hang

Which @angular/* package(s) are the source of the bug?
common
Is this a regression?
No
Description
The terminal always hangs when opened until Ctrl+C is pressed. Then it continues functioning normally.
Workaround can be found here: https://askubuntu.com/questions/1438682/ubuntu-20-04-terminal-is-not-responding
Please provide a link to a minimal reproduction of the bug
N/A
Please provide the exception or error you saw
N/A

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 14.2.9
Node: 19.0.1 (Unsupported)
Package Manager: npm 8.19.2
OS: linux x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1402.9 (cli-only)
@angular-devkit/core         14.2.9 (cli-only)
@angular-devkit/schematics   14.2.9 (cli-only)
@schematics/angular          14.2.9 (cli-only)

Anything else?
No response

@grott0,
To be honest I am not sure what is happening here and what exactly ng-common does as this is not a package which is distributed by the Angular team.

Is ng globally installed?
I did notice that you are using Node.js 19 which version 14 does not support. The current support versions in Angular 14 are Node.js 14 and 16.
What is the output of the following two commands ng --get-yargs-completions & ng completion script

Closing due to lack of information provided.
If the problem persists, please open a new issue following our submission guidelines.


Unable to run In-paint images script

I'm unable to run the "in_paint.py" script. It is throwing the following error: Could anyone please help me with it?
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 6 but got size 5 for tensor number 1 in the list.

The error pops up when the input image size is not in multiples of 32!


How to configure logging

Is there a way to set the severity for sidecar logs?
According to gcsfuse-cli documentation, this should be possible using "config-file" option, but that doesn't seem to work with the csi driver.
logging:
    file-path: /dev/fd/1
    format: text
    severity: warning

volumes:
- name: gcs-fuse-csi-ephemeral
  csi:
	driver: gcsfuse.csi.storage.gke.io
	volumeAttributes:
	  mountOptions: "uid=10001,config-file=/etc/mycustomconfig.yaml"
	  bucketName: my-bucket

got invalid arguments for volume ["config-file=/etc/mycustomconfig.yaml"]: gcs-fuse-csi-ephemeral. Will discard invalid args and continue to mount.

Hi @houston3 , it's possible to configure the gcsfuse config file, you can pass a mount option like this:
mountOptions: "uid=10001,logging:severity:warning"

Please note that you are not allowed to overwrite the entire config file. The logging file-path is immutable as well.
This is not publicly documented yet, because we are working on converting these common options to volume attributes so that users can easily configure these options. But for now you can use the above approach to configure the logging severity.

Thank you. That works :+1:

The documentation is updated: https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/cloud-storage-fuse-csi-driver#volume-attributes


${command.xxx} deprecated syntax is not shown in tasks.json

Ref: #16064

VSCode Version: 1.10.0-insiders
OS Version: Windows 10

Steps to Reproduce:

Go to tasks.json, change "command" attribute of the task to "${env.Path}".
No highlight that this syntax is deprecated.

Works in launch.json.

Not so easy to do in the tasks world, will need @dbaeumer for this

Assigning to @dbaeumer to add the following for his tasks schema


Update install-minikube.md

Added steps to find out if virtualization in installed on the users OS.

/assign @zacharysarah
/assign @cody-clark

Hi, @shavidissa. I think this PR is already in process, https://github.com/kubernetes/website/pull/14013.

@shavidissa Is this to close a specific issue?

Hi @zacharysarah: No I noticed this gap and wanted to update docs but it looks like there is a PR already on the way for it :) I will close this PR.
Hi @kbhawkey: Thank you for bringing it to my notice. :)

Ok @zacharysarah  and @kbhawkey am reopening this PR as am not sure if the mentioned PR addresses this issue. What do you think?

@shavidissa It looks #14013 has a different scope, but it's also proposing changes to some of the same content.
@sftim 👋 Any input here?

I'm happy to collaborate. Might not have many cycles this week though.

I can rebase if this gets merged first.

/approve

Hi @zacharysarah, I squashed the commits to 1.  :)
Hi @sftim, I removed the shell syntax. Thanks a lot for the support :)

/lgtm
The preview looks nice.


403: Forbidden when using getTweets python function

I am getting this error for accessing a user profile with the code:
tweetCriteria = got.manager.TweetCriteria().setUsername('barackobama').setMaxTweets(1)
tweets = got.manager.TweetManager.getTweets(tweetCriteria)

Error is:
An error occured during an HTTP request: HTTP Error 403: Forbidden
Try to open in browser: https://twitter.com/search?q=%20from%3Abarackobama&src=typd

Has twitter updated its scraping detection? Please help

You can try:
https://basilkjose.medium.com/twint-twitter-scraping-without-twitters-api-aca8ba1b210e
https://pub.towardsai.net/extract-tweets-without-limitations-in-a-few-lines-of-code-using-python-21578f89a00c


chore(lint): all-contributors/prettier conflict

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Deploy preview for netlify-cms-www ready!
Built with commit 87cb163bcccb861d245b33d1be1abe448b84e59f
https://deploy-preview-1597--netlify-cms-www.netlify.com


Not really an issue

Hi Jerome,
I have create a repo with this project refactored to an ES2015 version if you are interested in having a look.
https://github.com/TVScoundrel/mmo-phaser-es6
Cheers,
Tom

Nice! Thanks! I should ditch my 2000's javascript and move on to a more modern syntax, hopefully for my next project! I added a link to your repository in the tutorial btw.

Ah nice one. Yes I see I received some request to put some more detail in my README. Thanks!


Adds ability to set and edit names of queries in history and favorites

Adds the ability to set and edit names of saved queries in history and favorites. Uses an inline text input field that is activated pressing a button, and dismissed on blur or Enter. Implements #637.

See screen recording: https://youtu.be/7Gbg9E9ryxc

Merging this because it still lgtm and @asiandrummer had already accepted it


Refactor of settings.py

Changed several parts of the code to reduce verbosity and make it a little more readable. No functionality changed. Added 2 TODOs to discuss functions that return a string or None, to either update the docstrings or the functions + the tests

Code looks more pythonic, great job!

I implemented that toolkit from the php-saml toolkit and I willfully tried to keep the structure between the toolkits (same with the java and dotnet) in order to help me in the maintenance. But I think this specific change that you proposed does not affect me to port future changes on the rest of the toolkits.
I will review and merge.
Thanks for contribute!  (I will apply those changes also on python3-saml

@pitbulk you've done a terrific job maintaining this library in many languages, this PR was just to make it more readable to those used to Python conventions, and I agree the structure should be kept as much as possible (e.g. although in Python getters and setters are not common practice, I'd leave them there).
I will open an issue for discussion first for any changes more than just style.

Thanks @brachi , I read fast your comment and saw  the"terrific" word that alarmed me. This is a spanish "false friend".
Thanks for contribute! Sure we can find a balance between portability and python code style :)

I tried to apply this change to python3-saml and the tests failed. I will need to review if we changed the behavior: https://github.com/onelogin/python3-saml/pull/24/files

@pitbulk it seems tests/src/OneLogin/saml2_tests/response_test.py is failing at setup time in both master and the settings_refactor branches. If that test file is removed all other tests pass (including settings_test). Is that the failure you had?

The trace of the errors on python3-saml
======================================================================
ERROR: testGetSPMetadataSigned (tests.src.OneLogin.saml2_tests.settings_test.OneLogin_Saml2_Settings_Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pitbulk/proyectos/python3-saml/tests/src/OneLogin/saml2_tests/settings_test.py", line 412, in testGetSPMetadataSigned
    self.generateAndCheckMetadata(settings_info)
  File "/home/pitbulk/proyectos/python3-saml/tests/src/OneLogin/saml2_tests/settings_test.py", line 431, in generateAndCheckMetadata
    metadata = compat.to_string(settings.get_sp_metadata())
  File "/home/pitbulk/proyectos/python3-saml/src/onelogin/saml2/settings.py", line 596, in get_sp_metadata
    OneLogin_Saml2_Error.PUBLIC_CERT_FILE_NOT_FOUND
OneLogin_Saml2_Error: Cannot sign metadata: missing SP public key certificate.

======================================================================
FAIL: testIsInValidLogoutResponseSign (tests.src.OneLogin.saml2_tests.auth_test.OneLogin_Saml2_Auth_Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pitbulk/proyectos/python3-saml/tests/src/OneLogin/saml2_tests/auth_test.py", line 989, in testIsInValidLogoutResponseSign
    self.assertIn('In order to validate the sign on the SAMLResponse, the x509cert of the IdP is required', auth.get_errors())
AssertionError: 'In order to validate the sign on the SAMLResponse, the x509cert of the IdP is required' not found in ['invalid_logout_response_signature', 'Signature validation failed. Logout Response rejected']

======================================================================
FAIL: testIsValidLogoutRequestSign (tests.src.OneLogin.saml2_tests.auth_test.OneLogin_Saml2_Auth_Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pitbulk/proyectos/python3-saml/tests/src/OneLogin/saml2_tests/auth_test.py", line 1077, in testIsValidLogoutRequestSign
    self.assertIn('In order to validate the sign on the SAMLRequest, the x509cert of the IdP is required', auth.get_errors())
AssertionError: 'In order to validate the sign on the SAMLRequest, the x509cert of the IdP is required' not found in ['invalid_logout_request_signature', 'Signature validation failed. Logout Request rejected']

never mind, the problem was in the tests :)


https request results in http  using express-middleware

I am using the express-middleware and I am sending a request with LinkedInBot as User-Agent via Postman to my domain with https as protocol. This results in rendertron being called with a non-https-Url. Due to this the <base href> in the html is also a non-https-URL. This results in a mixed-content error in various browsers.
The problem must be within my express setup or the rendertron-middleware. I veriefied the rendertron instance returns the right <base href> if renderton.appspot.com/render/https://mydomain.test gets called.
   const incomingUrl =       req.protocol + '://' + req.get('host') + req.originalUrl;
Should work though. If anyone has an idea what could be causing this, I would really appreciate it.

Okay,
apparently I was behind a proxy and hat to enable trust-proxy in my express settings. Sorry, for that.

Hi @j-heinze Please can you explain this?

@j-heinze, can you explain please in more detail how have you solved this problem? What was the value for trust-proxy in express settings or how have you used this: const incomingUrl = req.protocol + '://' + req.get('host') + req.originalUrl;?
Thank you in advance!


x/tools/go/packages: Load in NeedName|NeedFiles mode can produce incorrect results for certain modules

This issue is related to #29452, #31087, and #31893, but is more narrowly focused on the correctness of the packages.NeedName | packages.NeedFiles mode.
Background
Both go/packages and go/build are concerned with loading Go packages and returning information about them.
Go packages may be inside modules that are tidy and compile successfully, or they may be incomplete and fail to build in certain configurations. Loading information about a package should succeed independently from whether or not building said package (in a specific configuration) can be done without build errors.
Environment
$ go version
go version go1.12.5 darwin/amd64

Issue
Incorrect results are produced when using the go/packages package in packages.NeedName | packages.NeedFiles mode. Correct results are produced by the go/build package.
To reproduce the issue, create a target package to be imported in a temporary directory /tmp/target with the following files:
-- go.mod --
module m

go 1.12

require github.com/google/go-github v0.0.0-20181014183319-aa7423eb7970

-- main.go --
// +build ignore

package main

func main() {}

-- p.go --
package p

import "github.com/google/go-github/github"

var _ *github.Client

Then, inside another directory, create the following test command:
-- go.mod --
module m

go 1.12

require golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c

-- main.go --
package main

import (
	"fmt"
	"go/build"

	"golang.org/x/tools/go/packages"
)

func main() {
	for driver, f := range map[string]func(dir string) (name string, goFiles []string, _ error){
		"go/build":    useGoBuild,
		"go/packages": useGoPackages,
	} {
		name, goFiles, error := f("/tmp/target")

		fmt.Println(driver)
		fmt.Println("  error:", error)
		if error == nil {
			fmt.Println("  name:", name)
			fmt.Println("  goFiles:", goFiles)
		}
		fmt.Println()
	}
}

func useGoBuild(dir string) (name string, goFiles []string, _ error) {
	p, err := build.ImportDir(dir, 0)
	if err != nil {
		return "", nil, fmt.Errorf("build.ImportDir: %v", err)
	}
	return p.Name, p.GoFiles, nil
}

func useGoPackages(dir string) (name string, goFiles []string, _ error) {
	cfg := &packages.Config{
		Mode: packages.NeedName | packages.NeedFiles,
		Dir:  dir,
	}
	pkgs, err := packages.Load(cfg, ".")
	if err != nil {
		return "", nil, fmt.Errorf("packages.Load: %v", err)
	}
	if len(pkgs) != 1 {
		return "", nil, fmt.Errorf("got %d packages, want exactly 1 package", len(pkgs))
	}
	p := pkgs[0]
	if len(p.Errors) > 0 {
		return "", nil, fmt.Errorf("p.Errors: %v", p.Errors)
	}
	return p.Name, p.GoFiles, nil
}

Run it as follows:
$ export GO111MODULE=on
$ export GOPROXY=direct
$ export GOPATH=$(mktemp -d)
$ go build -o /tmp/loadpkg
$ /tmp/loadpkg
go/build
  error: <nil>
  name: p
  goFiles: [p.go]

go/packages
  error: packages.Load: go [list -e -json -compiled=false -test=false -export=false -deps=false -find=true -- .]: exit status 1: go<EMAIL_ADDRESS>go.mod has post-v0 module path "github.com/google/go-github/v18" at revision aa7423eb7970
go: error loading module requirements

Notice that go/build produced correct results, while go/packages produced incorrect results (an error).
/cc @matloob per owners.

Unfortunately this is one of those cases where we're bound by what go list does. If go list can successfully produce a package, then go/packages will be able to also. But this would require us to pass extra information about what we want to go list.
In any case, as things are now, this is infeasible to fix.


Benchmarks page

Hello,
Thank you for xsv and the desire to have one tool do well with a large amount of data.
I noticed you have this handy page:
https://github.com/BurntSushi/xsv/blob/master/BENCHMARKS.md
You may want to consider displaying data for less beefy systems as well, just so you can see if there's any performance differences between revisions of your code, etc.
Here's just some data running time on a freebsd-10.1 digital ocean droplet 1 gig of RAM droplet:
xsv stats worldcitiespop.csv --everything  12.62s user 1.28s system 16% cpu 1:24.95 total xsv table  0.00s user 0.00s system 0% cpu 1:24.95 total
Certainly not as noteworthy as your results, and I understand you wouldn't really want to do heavy data science on just a gig of RAM. Do you have any input on what would contribute to the length of time it took? Or do you think this is adequate?
Thanks!

It's hard to say without more data. The act of passing --everything is essentially the user saying, "Yup, I have enough memory to load the CSV data and compute statistics that require it." (The xsv stats --help usage states that several statistics require storing all CSV data in memory. This is why they are optional, because they cannot be computed in an online fashion.) If your system doesn't have enough memory, then it might be swapping, which will obviously lead to a big slow down. e.g., What happens if you remove the --everything flag?

Hello,
Removing --everything time results:
xsv stats worldcitiespop.csv  1.52s user 0.06s system 19% cpu 8.173 total xsv table  0.01s user 0.00s system 0% cpu 8.166 total
Far better time but interesting the CPU report is slightly more elevated.

Well... yeah. If --everything causes your system to swap then it's going to make far less effective use of your system's resources.
The whole point of xsv is to give the user control over the resources used. This is why options like --everything are separated and why the docs include details like when all of the CSV data needs to be read into memory. This is especially important in your case because you're running it on a system with constrained resources. Therefore, you must be cognizant of what resources you want to let xsv use.
A helpful tool is time -v because it can report the maximum memory usage of the process, including user/system time. On a 3.4 GHz Intel i5 with 4 threads, here are some results.
Running xsv stats --everything:
[andrew@Serval tmp] /usr/bin/time -v xsv stats worldcitiespop.csv --everything > /dev/null
        Command being timed: "xsv stats worldcitiespop.csv --everything"
        User time (seconds): 31.49
        System time (seconds): 0.32
        Percent of CPU this job got: 218%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:14.58
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 1425376
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 69738
        Voluntary context switches: 2084
        Involuntary context switches: 3759
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

Notice the memory usage required: over 1.4GB! Now let's try without --everything:
[andrew@Serval tmp] /usr/bin/time -v xsv stats worldcitiespop.csv > /dev/null
        Command being timed: "xsv stats worldcitiespop.csv"
        User time (seconds): 3.67
        System time (seconds): 0.02
        Percent of CPU this job got: 99%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:03.70
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 15404
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 162
        Voluntary context switches: 36
        Involuntary context switches: 45
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

Memory usage has shrunk to 15MB (which should be constant, probably as a result of the IO buffer). Moreover, the time required has decreased several fold. This is because the stats computed in --everything (like cardinality and median) require a lot more resources.
If you create an index with xsv index worldcitiespop.csv, then it goes even faster if you have multiple cores:
[andrew@Serval tmp] /usr/bin/time -v xsv stats worldcitiespop.csv > /dev/null
        Command being timed: "xsv stats worldcitiespop.csv"
        User time (seconds): 3.83
        System time (seconds): 0.01
        Percent of CPU this job got: 370%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.03
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 25112
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 237
        Voluntary context switches: 82
        Involuntary context switches: 1005
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

My recommendation to you is to carefully read xsv's documentation and be more cognizant of the available system resources and how xsv uses them. If you find an inconsistency there, then that probably means the docs could be improved.

Hello,

My recommendation to you is to carefully read xsv's documentation and be more cognizant of the available system resources and how xsv uses them.

great advice/idea.
Thank you for creating xsv and tolerating my many opened issues.
Best,
sean

Hello,
turns out time -l within freebsd is somewhat the verbose version on linux.
   70.77 real        57.90 user         6.08 sys
726660  maximum resident set size
  2086  average shared memory size
    47  average unshared data size
   127  average unshared stack size
 1155193  page reclaims
 26311  page faults
     0  swaps
     0  block input operations
     0  block output operations
     0  messages sent
     0  messages received
     0  signals received
 26402  voluntary context switches
  6489  involuntary context switches


Resource Download Checksum Checking

When a custom resource has not been downloaded, Lability will attempt to download it
If a custom resource has been downloaded and no checkum is specified, Lability will use what's there
If a resource has been downloaded and a checksum is specified:

Lability will check the MD5 checksum of the existing custom resource

If the checksum doesn't match, Lability will attempt to (re)download the resource

Lability doesn't check that the checksum of the (re)downloaded resource actually matches the custom resource definition. I think that Lability should throw an error in this instance.

It also appears that if the checksum file exists, the actual resource file is not checked to see if it exists! For example, if you delete an ISO file but leave the checksum file, it does not attempt to download the ISO resource! 👀


chore Add ATTN logs about partition range

The CCR syncer relies on the value of the partition range to determine the mapping relationship between the upstream partition and the downstream partition. This PR records this behavior in the corresponding code.

run buildall


Programmatically generate the consent code  for credential manager for APIM

Is your feature request related to a problem? Please describe.
Is there a way to programmatically generate the consent code? There is an SDK to confirm once the user visits the page.
Link to the page: https://learn.microsoft.com/en-us/rest/api/apimanagement/authorization/confirm-consent-code?view=rest-apimanagement-2022-08-01&tabs=Python
client. authorization.confirm_consent_code(         resource_group_name="rg1",         service_name="apimService1",         authorization_provider_id="oauthcode",         authorization_id="authz1",         parameters={"consentCode": "theconsentcode"},     )
Describe the solution you'd like
We are looking for—a way for users to skip consent without leaving our site. Our site is already configured as an OAuth provider to the credential manager.
Additional context
We want to avoid the screen when authorizing credential managers and using the authorization code method.

Any update on this? This has been block for us.

@ChenxiJiang333 Please help on this issue

Hi @sanjaydatasciencedojo, do you mean you are looking for an API/SDK method that to generate a consent code that can be used by users to get authorized to access your site without manually approval? As far as I know, such API does not exist. Yet since we are not a domain expert to this service, it's suggested to transfer the issue to https://github.com/Azure/azure-rest-api-specs/issues to get the answer from service team.

Yes. We are looking for a way to create an attended scenario where users don't have to leave our site and authorize. In the Microsoft page for consent, thank you for your help.

We need service support for the request. Please open issues in https://github.com/Azure/azure-rest-api-specs/issues repo.


nixos/tests/mumble: update test to use systemd-journal

Motivation for this change
#68361
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

backported in 566cf3894511d1d339027804c46ea11c0114d30d


Invalid PNG file generation

Compressing 1.pnm in this archive using png crate results in an invalid PNG file. EyeOfGnome reports "bad adaptive filter value". Compression code can be found in the same archive. Changing just one pixel (uncomment line 16 in main.rs) results in a correct file being generated.

I ran into a similar issue and created a reproduction repo here before finding this issue. Debug hits the same assertion as image-rs/deflate-rs#18. Would be nice to (in order of declining preference) switch to a fuzzed encoder (parallel to the decoder discussion in #151), fix the bug, and/or make the assertion in release mode since I only lucked into noticing the corrupted data in a production tool.

This issue is still not fixed since png uses deflate v0.7.

Dependency is updated in the git repo, but the versions on crates.io still depend on 0.7.

The fix has been in master for a while. Can we get a new point release on crates.io with the fix?

It's going on the schedule for this weekend.

png 0.16.0 has been published, and is going to be updated into image.


Refact state-widget component

Refact the state-widget component used in the chapter children list.

Codecov Report

Merging #130 into master will decrease coverage by 0.42%.
The diff coverage is 23.52%.

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage   44.99%   44.57%   -0.43%
==========================================
  Files          85       85
  Lines        1129     1142      +13
  Branches      189      190       +1
==========================================
+ Hits          508      509       +1
- Misses        597      609      +12
  Partials       24       24

Impacted Files
Coverage Δ

.../components/state-widget/state-widget.component.ts
23.52% <23.52%> (-76.48%)
:arrow_down:

...p/pages/managed-groups/managed-groups.component.ts
100.00% <0.00%> (+20.00%)
:arrow_up:

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 e594da0...c22ed4b. Read the comment docs.


Can not install dependecy

Hi, I saw your creation and that's exactly what I need in my project. However, when I try to install it, XCode gives me an error.

Thanks.

This issue should hopefully be resolved alongside the latest release (1.0.15). There appeared to be an issue with the url-image dependancy. If you run into any trouble let me know!

Thanks for response! Tried again, but didn't work. Let me know if you need any other information.

Interesting, I've been trying to reproduce this but I haven't been able to so far. Can you share some more details to reproduce this, such as:

Xcode/macOS version
Other SPM dependencies installed
Deployment targets (iOS, macOS, etc.) and versions (iOS 13/14)

And any other information that you believe would be helpful to reproduce this bug.

Version 11.3.1 (11C504)/macOS Catalina (10.15.3)

none, but have installed FirebaseAuth with cocoapods

IOS simulator version 11.3.1, IOS 13.3

Other information:
I don't know if it plays any role, but when I press "Add package dependency" I have next window ->

here I choose "ZNOshka" (my project name)
Then I choose rules such as "Version: up to next major: 1.0.15 < 2.0.0"

The issue was that the package used Swift tools version 5.2, which is not compatible with Xcode 11.3.1. In the latest update (1.0.18), I reduced the Swift tools version to version 5.1, which allows compatibility with Xcode 11.3.1. Let me know if you run into any issues.

Awesome will try that tomorrow! Thanks for your help!
Also, I saw in your profile that you are WWDC SSC Winner, congrats with that! Can I see your project somewhere? Just really interested in what you have done :)

Thanks! I just put the repo up here: https://github.com/Jake-Short/wwdc-2020-mood-predictor.
I've been meaning to get screenshots/videos of it, but I am running macOS Big Sur and there appears to be a bug preventing me from running the playground. But you can still see the code if you would like!

Thank you!🙏🏼🙏🏼🙏🏼


RallyRetro

hey there @candyncoop!  what's this pr meant to do?

Hi Krmorse,
Please disregard my PR, I was not paying attention and did it my mistake, I
apologize.
Thank you~
On Thu, Oct 12, 2017 at 1:10 PM, krmorse<EMAIL_ADDRESS>wrote:

hey there @candyncoop https://github.com/candyncoop! what's this pr
meant to do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/krmorse/IterationRetro/pull/2#issuecomment-336236586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aels6vfUNQFmfIaPL6CDhm2bbx5rWnNzks5srmQWgaJpZM4P3bcD
.

No problem.  Hope you're finding this app useful!


Show events from api

Hi, How i can show events from api?

Hi @Flavio-Vieirastack,
You can use CalendarEventData class to store event data and you can add it to calendar view using add method provided by EventController.
ex.,

// Create event class.
final event = CalendarEventData(
   // TODO: Get this data from API.
   date:  // Start date,
   endDate:   // End date,
   title:  // Title,
  description: // Description
  event: // Optional. Use to store properties that are not provided by CalendarEventData class.
);

// Add event to controller.
controller.add(event);

// Use this if you are using CalendarControllerProvider.
// CalendarControllerProvider.of(context).add(event);

If this is not the answer you are looking for, please provide more info on how you want to show events.

Many thanks for the reply. My doubt was that I have a list of events and I need it to be added to the calendar on their dates, based on what's in the api, with the way you described above can I do this?

Can you please provide one example?

with I have this model, by the return of the api it and a list
import 'dart:convert';

class JobsDescriptionCardsModel {
  final String descricaoJob;
  final String dataDoJob;
  final String horarioDoJob;
  JobsDescriptionCardsModel({
    required this.descricaoJob,
    required this.dataDoJob,
    required this.horarioDoJob,
  });

  Map<String, dynamic> toMap() {
    return {
      'descricaoJob': descricaoJob,
      'dataDoJob': dataDoJob,
      'horarioDoJob': horarioDoJob,
    };
  }

  factory JobsDescriptionCardsModel.fromMap(Map<String, dynamic> map) {
    return JobsDescriptionCardsModel(
      descricaoJob: map['descricao'] ?? "",
      dataDoJob: map['data_acao'] ?? "",
      horarioDoJob: map['hora_inicial_acao'],",
    );
  }

  String toJson() => json.encode(toMap());

  factory JobsDescriptionCardsModel.fromJson(String source) => JobsDescriptionCardsModel.fromMap(json.decode(source));
}

this is the method that does get in the api
@override
  Future<List<JobsDescriptionCardsModel>> getJobsDescrition() async {
    SharedPreferences sharedPreferences = await SharedPreferences.getInstance();

    final int? id = sharedPreferences.getInt("idInfluencer");
    final String token = sharedPreferences.getString("token") ?? "";

    final result = await _restClient.get<List<JobsDescriptionCardsModel>>(
        "/job_acoes?influenciador_id=${id.toString()}",
        headers: {
          'Content-Type': 'application/json',
          'Accept': 'application/json',
          'Authorization': 'Bearer $token'
        }, decoder: (data) {
      if (data != null) {
        return data
            .map<JobsDescriptionCardsModel>(
                (j) => JobsDescriptionCardsModel.fromMap(j))
            .toList();
      }

      return <JobsDescriptionCardsModel>[];
    });

    if (result.hasError) {
      throw ("erro ao buscar dados");
    }
    return result.body ?? <JobsDescriptionCardsModel>[];
  }

and I need to pass this data to the calendar, would it be possible?

great, my friend thank you very much. if not too much abuse do you understand the table calendar? I have a problem displaying my bookmarks there. If you can't help anyway, thank you very much.


OSX: GPG error: exit status 2 Error code 218: GENERIC in method keybase.1.login.login`

I chose options: Login -> Password -> One time shell to GPG
And, then I received this error:
GPG error: exit status 2 Error code 218: GENERIC in method keybase.1.login.login
My PGP keys are encrypted and I was not prompted for a passphrase. Any terminal did not start.
I typically don't allow access to my GPG keys until I know what the client is doing. Please help me understand from this log data what is being attempted.
I would prefer to do these steps to validate my login from a command console and then take any artifact (e.g., something signed) and then importing into the client.
my log id: 18c868927a98fe475cf6f01c

Run keybase status to see where you log is, and then you can examine that.
It looks like GPG errored out /usr/local/bin/gpg --no-tty --with-colons --fingerprint -K, which is just printing the fingerprint of the secret keys that you have locally.  Your desktop client needs to sign a statement with your PGP key to transition from a Web-based account to one with device keys.  This is the first step in that process, since we are checking to see if the signing keys even exist on this computer.

It could be that I keep a tighter security on my GPG than the GUI can "handle." I've decided not to use the keybase tool. You can close this issue.


Website footer links are cut off on mobile

Is this issue still available? I'd like to pick it up.

Given it still occurs, I don't see why not


Put account name on it's own line in remove account dialogs

r? @keybase/react-hackers

1b880f8

Hacked account


failing to create/update aws sqs due to timeout of 2m

Hello!

Vote on this issue by adding a 👍 reaction
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details
I am trying to upgrade from Pulumi v2.20.0 to Pulumi v.3.28.0. Deployment process run by pulumi up -r fails because of timeouts origin by Terraform (so it seems): Creation/Update of SQS queues is failing all the time because of that:
i am using packages:
"@pulumi/aws": "^5.1.0",
"@pulumi/awsx": "^0.40.0",
"@pulumi/pulumi": "^3.28.0",
Steps to reproduce

This is the code i ran:
`import * as aws from "@pulumi/aws";
const q = new aws.sqs.Queue('Experts-CS-dev-Experts-CSLambda20220404121254156400000016', {
kmsDataKeyReusePeriodSeconds: 300,
maxMessageSize: 10240,
messageRetentionSeconds: 604800,
namePrefix: 'Experts-CS-dev-Experts-CSLambda',
policy: '{"Statement":[{"Action":["sqs:SendMessage"],"Condition":{"ArnEquals":{"aws:SourceArn":"arn:aws:sns:eu-west-1:225051786593:Experts-CS-dev-f8eba3f"}},"Effect":"Allow","Principal":{"Service":"sns.amazonaws.com"},"Resource":"*"}]}',
redrivePolicy: '{"deadLetterTargetArn":"arn:aws:sqs:eu-west-1:225051786593:Experts-CS-dev-Experts-CSLambda-dlq-8672972","maxReceiveCount":10}',
tags: {
costCenter: 'operations',
org: 'cliotechweb',
project: 'backend-stacks',
stack: 'dev'
},
visibilityTimeoutSeconds: 30
})
exports.queueName = q.id;`
Expected: deployment to be successfull
Actual: it fails because of that:
aws:sqs:Queue (ApiCSP-dev-ApiCSPReport):
error: 1 error occurred:
* creating urn:pulumi:dev::backend-stacks::aws:sqs/queue:Queue::ApiCSP-dev-ApiCSPReport: 1 error occurred:
* error waiting for SQS Queue (https://sqs.eu-west-1.amazonaws.com/225051786593/ApiCSP-dev-ApiCSPReport20220404121139274300000006) attributes to create: timeout while waiting for state to become 'equal' (last state: 'notequal', timeout: 2m0s)

Hi @yossi-nagar - it might be you're running into this upstream bug.
There's a few workaround suggestions in that issue, hopefully one of those will help you!


Rancher UI RKE2 Vsphere Machine Pools form not updating based on Data Center selection

The Machine pools form in Rancher under vmware/RKE2 does not update properly when you have a vcenter with multiple datacenters.  The options for Resource Pool, DataStore, and Folder all stay locked to whatever the first item in the Datacenter list was and don't update accordingly.
To reproduce:
Cluster Management->Clusters->Create
Choose "Vmware Vsphere", ensuring the slider is set to RKE2/k3s
Choose a credential
Under "pool1" Machine pool, observe all options related to the first item in the datastore list, select a different one, observe that no options change or are updated based on datacenter selection.

Rancher install is running on docker using rancher/rancher:latest with sha256:f411ee37efa38d7891c11ecdd5c60ca73eb03dcd32296678af808f6b4ecccfff

Same issue here!


Add NIC to 'Microsoft.Network/loadBalancers/backendAddressPools'

Bicep CLI version 0.6.18
I'm working with 'Microsoft.Network/loadBalancers@2022-01-01'
I'm having issues with 'Microsoft.Network/loadBalancers/backendAddressPools@2022-01-01'
When I add backend pool I am able to add ip addresses under 'Backend Pool Configuration', when i write code.
As you can see on the picture below there is an option to add 'NIC', but there is no property for this when i write code.
So I have to point to a nic of a vm manually.
If you look at the json template below, after I added a NIC. The only property is "name": "rg-vmdctest01_vmdctest01-nic-1ipconfig1"
I tried to write this in code without success. I don't think this is only bicep issue. Probably you can't do this in JSON as well. But it would be helpful if you could point to a nic of a vm.
The option 'IP address' under 'Backend Pool Configuration', works with code. But when I connect through Private Endpoint in a second vnet, it can't connect for some reason. Here you have a second issue.
You can look at my code if this is helpful.
https://github.com/petitess/bicep/tree/main/privatelink01
I hope you can do something about that.
Have a nice day.
{     "type": "Microsoft.Network/loadBalancers/backendAddressPools",     "apiVersion": "2020-11-01",     "name": "[concat(parameters('loadBalancers_lbi_infra_dev_01_name'), '/Pool01')]",     "dependsOn": [         "[resourceId('Microsoft.Network/loadBalancers', parameters('loadBalancers_lbi_infra_dev_01_name'))]"     ],     "properties": {         "loadBalancerBackendAddresses": [             {                 "name": "rg-vmdctest01_vmdctest01-nic-1ipconfig1",                 "properties": {}             }         ]     } }

To add a nic to the backend address pool you need to modify the Microsoft.Network/networkInterfaces resource and not the actual load balancer. Here's an example snippet on what this could look like.
resource internalNic 'Microsoft.Network/networkInterfaces@2021-05-01' = {
  name: internalNicName
  location: location
  properties: {
    ipConfigurations: [
      {
        name: 'ipconfig1'
        properties: {
          privateIPAddress: internalNicIP
          privateIPAllocationMethod: 'Static'
          subnet: {
            id: externalSubnetId
          }
          loadBalancerBackendAddressPools: [
            {
              id: externalLBBackendPool
            }
          ]
        }
      }
    ]
    enableIPForwarding: true
    enableAcceleratedNetworking: true
  }
}


Allow AggregateHandler to get ID from route params

Hi,
We’ve touched this on Discord and @jeremydmiller asked me to create a ticket for this.
I am one of the people who like the REST API design like /orders/:orderId/confirm . It would be amazing if Wolverine would allow us to get the aggregate id from the route param instead of the request body.

This is going to be a little more annoying than I'd hoped. This is going to take a separate Wolverine.Http.Marten project. No clean way of doing this without knowledge of the HttpChain
`


Add elm-community/elm-linear-algebra to native whitelist

As explained in https://github.com/elm-lang/package.elm-lang.org/issues/149#issuecomment-168164677, nothing new needs to be approved here, but still the package cannot be published unless explicitly whitelisted.

Similar change will be needed with elm-community/elm-webgl.

Added a different way.


Audit accessibility

We just had a talk at work about accessibility and the important of making sure websites are accessible. We should audit our website to make sure it's accessible and make any necessary improvements.

For continued support/easy pickup, automated can run as websites are generated or can be integrated into headless browser type tests (if you want to use node, phantomjs is cool, but I imagine you'd want to use firefox + chrome as they make up most of the marketshare). Things like aria, alt images, can be tested this way. This is super useful as people add features to keep up accessibility checks. Example npm library is https://axe-core.org/
The other tools is to have a dev mode where developers can flip on a panel to check for violations http://khan.github.io/tota11y/ . Some will naturally fall through to the cracks, like semantic links (i.e. click [here] for the queue versus [visit our queue]) unless you want to solve a huge nlp problem and get published 😄
(Also by law I think every website the Univ of Illinois operates has to be accessible for legal reasons )

@bhuvy2 thanks so much for the advice! Sounds like you know a fair bit about this, want to take a stab at adding accessibility checks to our CI pipeline?

@nwalters512 So after looking at this for a bit, I don't believe that just adding Accessibility tools that I mentioned will produce "meaningful" results. Meaning that we get the basics (i.e. we may get an Image isn't tagged with alt) but most of the output is too verbose or too strict to be useful.
Could I file a series of issues instead about Accessibility in lieu?

Of course! A series of narrowly-scoped and actionable issues about accessibility would be a huge help.

@nwalters512 I opened #244 #245 #246 #247 and #248 that detail some accessibility concerns.
The other addendum I'll make is that since this a new project, I advocate for using w3's guidelines on accessibility with section docs though there are older standards that work with screen readers.
Not every section needs to be labeled, but it does help. Browsers do a job of guessing what each part does based on the text, which is why Firefox's guide on accessibility isn't as constrained as w3's.
Ultimately the decision is up to how you want to tackle the issue as a design decision for the entire site.
Apart from that, it looks good on the usual checklist


No way to remove label for required field

Not sure is it a bug, but if field is required and label is not set then we still have
<label for="formly_1_input_email_0" class="control-label ng-binding">*</label>

http://www.awesomescreenshot.com/image/383232/ee664a49a14e97762bfaddaccbb6552a
http://angular-formly.com/#/example/other/toggle-required
{
        key: 'text',
        type: 'input',
        templateOptions: {
          //label: 'Moehahah',
          placeholder: 'Formly is terrific!'
        },
        validation: {
          show: true
        },
        expressionProperties: {
          'templateOptions.required': 'model.checked'
        }
      }

This is how it's always worked and to change it would be a breaking change. But I agree with the change and personally consider it a bug. I'd accept a PR that fixes the wrapper that causes this. You'll want to add an ng-if to this line

This has been released as a breaking change in 5.0.0. Enjoy :-)

Check that. I made a mistake. Try 5.0.1


Override rather than merge on manifest update

Signed-off-by: Liam White<EMAIL_ADDRESS>

@liamawhite: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-telemetry-k8s-tests_istio

lint_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-telemetry-k8s-tests_istio

lint_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test lint_istio

integ-security-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-telemetry-k8s-tests_istio

lint_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test lint_istio

integ-security-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-security-k8s-tests_istio

gencheck_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-telemetry-k8s-tests_istio

lint_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test lint_istio

integ-security-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-security-k8s-tests_istio

gencheck_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test gencheck_istio

integ-multicluster-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-telemetry-k8s-tests_istio

lint_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test lint_istio

integ-security-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-security-k8s-tests_istio

gencheck_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test gencheck_istio

integ-multicluster-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-multicluster-k8s-tests_istio

integ-mixer-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test unit-tests_istio

integ-local-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-galley-k8s-tests_istio

release-test_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test release-test_istio

integ-pilot-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-telemetry-k8s-tests_istio

lint_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test lint_istio

integ-security-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-security-k8s-tests_istio

gencheck_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test gencheck_istio

integ-multicluster-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-multicluster-k8s-tests_istio

integ-mixer-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-mixer-k8s-tests_istio

integ-distroless-k8s-tests_istio
ddc4e178090ca859524329c3257494cad1e8d39c
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@liamawhite: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
5ce32ae6a65ac9b5452c4b9435703f855c3bb275
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@liamawhite Can we reapply this PR, I found it was reverted by https://github.com/istio/istio/pull/23722
We need this to fix https://github.com/istio/istio/issues/27032


Improve ufs journal parsing efficiency

Fixes #9698
In the journal entry stream reader we keep a buffer to reuse for reading
entries. Because this buffer might not be fully utilized, we cannot use
protobuf's default parseFrom(byte[]) and instead wrap the valid
portion of the buffer in a ByteArrayStream. However this causes
additional buffer allocations. We can instead use the lower level parser
API to parse a slice of the existing buffer.
This does not affect the embedded journal implementation because we
allocate a fresh buffer for each entry (exact size). Also I did not
apply this optimization for the v0 journals as those are no longer in
use aside for migrations.
The overall performance improvement is about 75% for a 10MB edit log
file stored on local disk, this also reduces the number of new objects
allocated which can reduce GC pressure.
Cherry-pick of existing commit.
pr-link: Alluxio/alluxio#9699
change-id: cid-5f1fdc9eb2cb39637dfb5518b0144839ab231827

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5061/
Test FAILed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5072/
Test PASSed.

alluxio-bot, merge this please


MAT-6430: Add asterisk direction

MADiE PR
Jira Ticket: MAT-6430
(Optional) Related Tickets:
Summary
508 compliance modification.
All Submissions

[x] This PR has the JIRA linked.
[x] Required tests are included
[x] No extemporaneous files are included (i.e Complied files or testing results)
[x] This PR is into the correct branch.
[x] All Documentation as needed for this PR is Complete (or noted in a TODO or other Ticket)
[x] Any breaking changes or failing automation are noted by placing a comment on this PR.

DevSecOps
If there is a question if this PR has a security or infrastructure impact, please contact the Security or DevOps engineer assigned to this project to discuss it further.

[ ] This PR has NO significant security impact (i.e Changing auth methods, Adding a new user type, Adding a required but vulnerable package)
[ ] All CDN/Web dependencies are hosted internally (i.e MADiE-Root Repo)

Reviewers
By Approving this PR you are attesting to the following:

Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
The tests appropriately test the new code, including edge cases
If you have any concerns they are brought up either to the developer assigned, security engineer, or leads


Update MD file on new branch 2017-27-24_11-11-41

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add HEAD and OPTIONS on healthz

Load balancers prefer to make HEAD or OPTIONS requests for health checks
as they are cheaper.
Related https://github.com/timescale/promscale/issues/710
Also some community users encountered this problem  https://timescaledb.slack.com/archives/C011FC0PPC5/p1653384295441989?thread_ts=1652775715.500199&cid=C011FC0PPC5

We can close related PR https://github.com/timescale/promscale/pull/1371

Wasn't the agreement to add OPTIONS to all endpoints?

@paulfantom By looking into user issues I wasn't fully convinced if that was really needed. There are some other reasons as well, however let's discuss this more offline.


Avoid breakage when no gem version is passed

I was having this problem:
[2013-02-04T11:46:34+00:00] INFO: *** Chef 10.18.2 ***
[2013-02-04T11:46:34+00:00] INFO: [inet6] no default interface, picking the first ipaddress
[2013-02-04T11:46:36+00:00] INFO: Setting the run_list to ["role[zynk]", "role[app_converter]", "recipe[role_zynk::ephemeral]"] from JSON
[2013-02-04T11:46:38+00:00] INFO: Run List is [role[zynk], role[app_converter], recipe[role_zynk::ephemeral]]
[2013-02-04T11:46:38+00:00] INFO: Run List expands to [role_zynk::default, app_resourcemanager::converter, role_zynk::ephemeral]
[2013-02-04T11:46:39+00:00] INFO: Starting Chef Run for ip-10-252-1-241.sa-east-1.compute.internal
[2013-02-04T11:46:39+00:00] INFO: Running start handlers
[2013-02-04T11:46:39+00:00] INFO: Start handlers complete.
[2013-02-04T11:46:42+00:00] INFO: Loading cookbooks [apache2, app_resourcemanager, apt, bluepill, build-essential, chef-client, hostsfile, logrotate, nginx, ohai, redisio, role_zynk, rsyslog, runit, rvm, rvm_passenger, sudo, users, yum, zynk_apache2, zynk_rails, zynk_redis, zynk_rvm]
[2013-02-04T11:46:44+00:00] INFO: Storing updated cookbooks/zynk_rvm/attributes/normal.rb in the cache.
[2013-02-04T11:46:46+00:00] INFO: Processing gem_package[rvm] action install (rvm::default line 21)
[2013-02-04T11:46:47+00:00] WARN:  failed to find gem rvm (>= 0) from [http://rubygems.org/]

================================================================================
Error executing action `install` on resource 'gem_package[rvm]'
================================================================================

Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" ----
STDOUT:
STDERR: ERROR:  While executing gem ... (ArgumentError)
    Illformed requirement [""]
---- End output of /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" ----
Ran /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" returned 1

Cookbook Trace:
---------------
/var/chef/cache/cookbooks/rvm/recipes/default.rb:23:in `from_file'
/var/chef/cache/cookbooks/rvm/recipes/system_install.rb:20:in `from_file'
/var/chef/cache/cookbooks/rvm/recipes/system.rb:20:in `from_file'
/var/chef/cache/cookbooks/zynk_rvm/recipes/default.rb:10:in `from_file'
/var/chef/cache/cookbooks/role_zynk/recipes/default.rb:18:in `from_file'

Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/rvm/recipes/default.rb

 21: gem_package 'rvm' do
 22:   action :nothing
 23: end.run_action(:install)
 24:
 25: require 'rubygems'
 26: Gem.clear_paths
 27: require 'rvm'
 28: create_rvm_shell_chef_wrapper
 29: create_rvm_chef_user_environment
 30:
 31: class Chef::Resource
 32:   # mix in #rvm_cmd_wrap helper into resources
 33:   include Chef::RVM::ShellHelpers
 34: end
 35:

Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/rvm/recipes/default.rb:21:in `from_file'

gem_package("rvm") do
  provider Chef::Provider::Package::Rubygems
  action [:nothing]
  retries 0
  retry_delay 2
  package_name "rvm"
  cookbook_name "rvm"
  recipe_name "default"
  gem_binary "/usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem"
end

================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/role_zynk/recipes/default.rb
================================================================================

Mixlib::ShellOut::ShellCommandFailed
------------------------------------
gem_package[rvm] (rvm::default line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" ----
STDOUT:
STDERR: ERROR:  While executing gem ... (ArgumentError)
    Illformed requirement [""]
---- End output of /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" ----
Ran /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" returned 1

Cookbook Trace:
---------------
  /var/chef/cache/cookbooks/rvm/recipes/default.rb:23:in `from_file'
  /var/chef/cache/cookbooks/rvm/recipes/system_install.rb:20:in `from_file'
  /var/chef/cache/cookbooks/rvm/recipes/system.rb:20:in `from_file'
  /var/chef/cache/cookbooks/zynk_rvm/recipes/default.rb:10:in `from_file'
  /var/chef/cache/cookbooks/role_zynk/recipes/default.rb:18:in `from_file'

Relevant File Content:
----------------------
/var/chef/cache/cookbooks/rvm/recipes/default.rb:

 16:  # See the License for the specific language governing permissions and
 17:  # limitations under the License.
 18:  #
 19:
 20:  # install rvm api gem during chef compile phase
 21:  gem_package 'rvm' do
 22:    action :nothing
 23>> end.run_action(:install)
 24:
 25:  require 'rubygems'
 26:  Gem.clear_paths
 27:  require 'rvm'
 28:  create_rvm_shell_chef_wrapper
 29:  create_rvm_chef_user_environment
 30:
 31:  class Chef::Resource
 32:    # mix in #rvm_cmd_wrap helper into resources

[2013-02-04T11:46:48+00:00] ERROR: Running exception handlers
[2013-02-04T11:46:48+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2013-02-04T11:46:48+00:00] ERROR: Exception handlers complete
[2013-02-04T11:46:48+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-02-04T11:46:48+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: gem_package[rvm] (rvm::default line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" ----
STDOUT:
STDERR: ERROR:  While executing gem ... (ArgumentError)
    Illformed requirement [""]
---- End output of /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" ----
Ran /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/gem install rvm -q --no-rdoc --no-ri -v "" returned 1

Closing due to inactivity.
If this is still an issue please reopen or open another PR.
Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks,
Sous-Chefs


unable to subscribe to market data due to likely invalid endpoint /quote-streamer-tokens.

Unable to subscribe to market data due to likely invalid endpoint /quote-streamer-tokens
version used was tastytrade-sdk==1.0.0
minimal reproducible example and error/traceback provided below.
import os
from tastytrade_sdk import Tastytrade
tasty = Tastytrade(api_base_url=api_url).login(login=username, password=password)
symbols = ['BTC/USD']
subscription = tasty.market_data.subscribe(
    symbols=symbols,
    on_quote=print,
    on_candle=print,
    on_greeks=print
)

![image](https://github.com/user-attachments/assets/09512ba8-cab1-4141-a9df-64117b4cd34f)

related issues provided below.
https://github.com/tastytrade/tastytrade-api-js/issues/7
https://github.com/tastyware/tastytrade/issues/142

solution (for now) seems to be to replace GET  /quote-streamer-tokens with GET /api-quote-tokens per https://github.com/tastytrade/tastytrade-api-js/issues/7#issuecomment-2050511655
in https://github.com/tastytrade/tastytrade-sdk-python/blob/master/src/tastytrade_sdk/market_data/market_data.py#L34

implemented:
update
--
evidence the proposed patch resolved the error:

--
and now i'm on the same page with https://github.com/tastytrade/tastytrade-sdk-python/issues/17 :laughing: !


FilterValidator|trim works incorrectly on client side

Here is my Model::rules:
public function rules()
{
    return [
        [['email', 'password'], 'required'],
        ['rememberMe', 'boolean'],

        [['email'], 'trim'],
        ['email', 'email'],
        ...
    ]
}

When I insert "<EMAIL_ADDRESS>trim works, but I still get error:

getValue reads the value once here: https://github.com/yiisoft/yii2/blob/2.0.4/framework/assets/yii.activeForm.js#L294, and all the validators use this value. The trim validator changes the input's value, but the other validators use the outdated value passed by yii.activeform.js.


No word timestamps but accuracy like with them?

Hi. Is there a quick way to keep file clean without word timestamps but at the same time for times to be accurate?
Example without word timestamps
00:00:09,000 --> 00:00:10,000
Narobiłeś w portki ze strachu?
When I do the same with word timestamps, accuracy is much better
00:00:09,260 --> 00:00:09,720
<\font color="#00ff00">Narobiłeś</font> w portki ze strachu?
(...)
Sometimes it also works well without word timestamps, but not in this particular example. I do not need word timestamps in my output file, is there a simple way to achieve this with current capabilities of stable-ts? Thanks!

this was answered here #111
https://github.com/jianfch/stable-ts/issues/111#issuecomment-1480595162
keep word_timestamps=True' but add result.to_srt_vtt('subs.srt', word_level=False)`

@echo off
for /r %%X in (*.mp4 *.mp3 *.wav *.aif *.aiff *.avi *.mpg *.mkv *.mov) do (
if exist %%X.srt (
echo "%%X already transcribed") else (echo "%%X.srt file doesn't exist. Creating Now"
stable-ts "%%X" --model base.en --task transcribe --language English --threads 48 --output_dir "%%~pX." -o "%%X.json"
stable-ts "%%X" --word_level False -o "%%X.srt"
)
)
From a Dos Batch file, I wrote.
So in this case, the first pass makes the Json and the second pass makes a SRT without the font interruptions.
The benefit of this is that you can always go back to the json for another export with changed settings.
The SRT in the second pass still benefits from the word level timestamps and regrouping of the words into sentences. If you go straight to SRT with timestamps turned off it'll give you the same basic output as the original Whisper with not breaks or sentence structure.


chore(js): add import order sorting plugin to prettier

Overview
Running Prettier will now order our import statements, so we don't have to worry about them in PR reviews!

We will retry to get this in after the large releases that are looming. Closing the PR until then


[feature-request] Specify default configuration in angular.json, if no configuration provided

Provide a way to specify a default configuration in angular.json, if no configuration is provided in commandline or otherwise.
If I understand correctly "dev" was the default configuration in Angular <=5, but it doesn't seem to be the case in Angular 6. Since we're now specifying configurations in a more detailed way (not just environment parameter), I think it would be useful to have a way to define which configuration is the default one. This would eliminate potential issues of "ng serve" vs "ng serve -c dev" and so on.
Technically, the "default" options could be specified directly within particular sections of angular.json (outside of configuration section), but I don't think it's a clean and desired solution. Defining configurations in their separate place seems readable and easier to maintain.

@sebastian-zarzycki-es, the build:options section is exactly for that purpose. You can specify your default configuration there and overwrite the options in build:configurations section.

Like I said, I don't believe this to be a proper solution. It's harder to maintain and less readable. I don't like having fileReplacements directly within "options" either. It's no longer an option, it's a specific action performed.

fileReplacements is indeed an option (in fact, its implementation does not actually replace anything; it merely maps a path to a different path at build time).
Configurations are nothing more than a set of additive options.  The intent of the design is to limit the repetition of configuration parameters within the build configurations.  The less repetition; the less chance for errors.  Configurations are also completely optional and for some builder/project setups may be completely unnecessary.
There are no current plans to change this at this time but thank you for the feedback.  Changes and modifications to the configuration system will be reviewed for the 7.0 release and usability concerns such as this will be part of the discussion.

"The intent of the design is to limit the repetition of configuration parameters within the build configurations. The less repetition; the less chance for errors."
Configuration file in text form is for human, not for computer. You're adding additional step for a human to mentally parse options section and then merge/override/replace them with what's found in configuration section. That's actually higher chance for errors.

The problem is there's no good way to modify the default configuration that is used if someone simply runs ng serve


Bump up code coverage to 100% for a few more files.

This change is

Current coverage is 58.10% (diff: 100%)

Merging #146 into master will increase coverage by 2.31%

@@             master       #146   diff @@
==========================================
  Files            32         32
  Lines          1036       1036
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            578        602    +24
+ Misses          434        412    -22
+ Partials         24         22     -2

Powered by Codecov. Last update 600189f...5cfeb35

Done. PTAL.

I did add a testonly flag in adaptertesting...


State encoding

Choose an encoding project wide, because when we want to add special characters in the comments, the whole thingy gets broken.

I personally recommend hardcoding UTF-8, though

Ouch, I forget about #40 :D

Merged #79


[BUG] when published to web

when i published to web
Description
exported 3/4/2020 4:13 PM

console errors are
Uncaught ReferenceError: CapsuleBufferGeometry is not defined
    at GeometryLoader.parse (nunu.min.js:2816)
    at ObjectLoader.parseGeometries (nunu.min.js:2830)
    at ObjectLoader.parse (nunu.min.js:2828)
    at nunu.min.js:34
    at XMLHttpRequest.f.onload (nunu.min.js:2536)
:8883/favicon.ico:1

Failed to load resource: the server responded with a status of 404 (Not Found)

other

from nunu studio code

  case "CapsuleBufferGeometry":
        d = new CapsuleBufferGeometry(a.radiusTop,a.radiusBottom,a.height,a.radialSegments,a.heightSegments,a.capsTopSegments,a.capsBottomSegments,a.thetaStart,a.thetaLength);
        break;
//CapsuleBufferGeometry is not defined

Version

Platform

Web Version [X]
Windows [X]
Linux [X]

thank you for fixing this


Fix detaching events in L.Map.TouchEvents

L.DomEvents.on calls have context param, it is used to stamp event handler.
L.DomEvents.off calls are missing this context, detaching the event handler silently fails, because it produces a different stamp.

@ddproxy Can this be merged, please?

Will perform a build/release later today.

@ddproxy Ping about the release, please :)

@ddproxy Ping


about output.json

Could you please tell me how to get the output.json file?
thank you!

output.json is the output file, it will be produced after running the script.


Upgraded to smallrye-open-api 1.0.1 (v2)

Signed-off-by: Eric Wittmann<EMAIL_ADDRESS>
[x] Have you followed the guidelines in our Contributing document?
[ ] [v2] Have you created a JIRA and used it in the commit message?
[ ] [v4] Have you created a GitHub Issue and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[ ] Have you built the project locally prior to submission with mvn clean install?

Looks like CI failed on MP Standalone server because of:
java.lang.NoClassDefFoundError: org/jboss/logging/Logger from within SmallRye ArchiveUtil

@EricWittmann You need to add org.jboss.logging as a module dependency to https://github.com/thorntail/thorntail/blob/master/fractions/microprofile/microprofile-openapi/src/main/resources/modules/io/smallrye/smallrye-open-api/main/module.xml.

OK will do.

Looks like the MP OpenAPI TCK now fails


Accuracy problem?

I'm testing this out and it's recognizing 1 word per 20 at best, even when take screenshots of typed text in a text editor.
Is this just a limit of the technologies abillities at this time?

Guide for reporting issues
Please use the forum.