Bump Terraform version to 0.12.10

fixes #1080

Tests failed with:
dep ensure
Solving failure: No versions of github.com/hashicorp/hcl met constraints:
	v2.3.0: Could not introduce<EMAIL_ADDRESS>due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>	v2.2.0: Could not introduce<EMAIL_ADDRESS>due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>	v2.1.0: Could not introduce<EMAIL_ADDRESS>due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	v2.0.0: Could not introduce<EMAIL_ADDRESS>due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>	v1.0.0: Could not introduce<EMAIL_ADDRESS>due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	v2.0.0-alpha.1: Could not introduce<EMAIL_ADDRESS>due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	master: Could not introduce github.com/hashicorp/hcl@master due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>	appveyor: Could not introduce github.com/hashicorp/hcl@appveyor due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	decode-string-booleans: Could not introduce github.com/hashicorp/hcl@decode-string-booleans due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	f-custom-decoding: Could not introduce github.com/hashicorp/hcl@f-custom-decoding due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	f-simple: Could not introduce github.com/hashicorp/hcl@f-simple due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	f-simpleapi-extensible: Could not introduce github.com/hashicorp/hcl@f-simpleapi-extensible due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	gohcl-document-optional: Could not introduce github.com/hashicorp/hcl@gohcl-document-optional due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	hcl2: Could not introduce github.com/hashicorp/hcl@hcl2 due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	jbardin/json-failures: Could not introduce github.com/hashicorp/hcl@jbardin/json-failures due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>	missing-trailing-brace: Could not introduce github.com/hashicorp/hcl@missing-trailing-brace due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>	sethvargo/keys: Could not introduce github.com/hashicorp/hcl@sethvargo/keys due to multiple problematic subpackages:
	Subpackage github.com/hashicorp/hcl/v2 is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/ext/dynblock is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hcldec is missing. (Package is required by<EMAIL_ADDRESS>Subpackage github.com/hashicorp/hcl/v2/hclsyntax is missing. (Package is required by<EMAIL_ADDRESS>
Exited with code exit status 1

You probably need to update the dependency by running:
dep ensure -update github.com/hashicorp/terraform

This is now being done in https://github.com/gruntwork-io/terragrunt/pull/939, and will continue the work there.


Build binary from source failed because of proxy environment variable does not work for combined commands

Description of problem:
The below step 38 is failed even I have proxy environment variable set just before this step. In order to get it work, I must add http_proxy=XXX.proxy.com:3128 before the command go get -v -d github.com/cpuguy83/go-md2man.  It seems to be an issue for the RUN command to grab variable from ENV.
Step 37 : ENV HTTPS_PROXY XXX.proxy.com:3128
 ---> Using cache
 ---> 21cf267360b0
Step 38 : RUN set -x 	&& export GOPATH="$(mktemp -d)" 	&& git clone -b v1.0.1 https://github.com/cpuguy83/go-md2man.git "$GOPATH/src/github.com/cpuguy83/go-md2man" 	&& git clone -b v1.2 https://github.com/russross/blackfriday.git "$GOPATH/src/github.com/russross/blackfriday" 	&& go get -v -d github.com/cpuguy83/go-md2man 	&& go build -v -o /usr/local/bin/go-md2man github.com/cpuguy83/go-md2man 	&& rm -rf "$GOPATH"
 ---> Running in a6de7047cbdc
+ mktemp -d
+ export GOPATH=/tmp/tmp.iG0eP3mWJn
+ git clone -b v1.0.1 https://github.com/cpuguy83/go-md2man.git /tmp/tmp.iG0eP3mWJn/src/github.com/cpuguy83/go-md2man
Cloning into '/tmp/tmp.iG0eP3mWJn/src/github.com/cpuguy83/go-md2man'...
Note: checking out 'ac953c483fd3b9183a4eb2ac343256663c5f033b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

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

  git checkout -b new_branch_name

+ git clone -b v1.2 https://github.com/russross/blackfriday.git /tmp/tmp.iG0eP3mWJn/src/github.com/russross/blackfriday
Cloning into '/tmp/tmp.iG0eP3mWJn/src/github.com/russross/blackfriday'...
Note: checking out '2e7d690972283d45aadc7a5ea304841e26529433'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again.
Additional info:

This is exactly how ENV works.
Note that you have HTTPS_PROXY set in ENV and stated you are setting HTTP_PROXY to get it to work.
These are different vars.
Closing this for now since it does not look like a docker issue.

Note that you have HTTPS_PROXY set in ENV and stated you are setting HTTP_PROXY to get it to work.
These are different vars.

I use the HTTP_PROXY this time, still hit the issue.
Step 38 : ENV HTTP_PROXY XXX.proxy.com:3128
 ---> Running in 1543f01cf8dd
 ---> af468442cbaf
Removing intermediate container 1543f01cf8dd
Step 39 : RUN set -x 	&& export GOPATH="$(mktemp -d)" 	&& git clone -b v1.0.1 https://github.com/cpuguy83/go-md2man.git "$GOPATH/src/github.com/cpuguy83/go-md2man" 	&& git clone -b v1.2 https://github.com/russross/blackfriday.git "$GOPATH/src/github.com/russross/blackfriday" 	&& go get -v -d github.com/cpuguy83/go-md2man 	&& go build -v -o /usr/local/bin/go-md2man github.com/cpuguy83/go-md2man 	&& rm -rf "$GOPATH"
 ---> Running in 378bfcd57887
+ mktemp -d
+ export GOPATH=/tmp/tmp.rQFqMJMIuu
+ git clone -b v1.0.1 https://github.com/cpuguy83/go-md2man.git /tmp/tmp.rQFqMJMIuu/src/github.com/cpuguy83/go-md2man
Cloning into '/tmp/tmp.rQFqMJMIuu/src/github.com/cpuguy83/go-md2man'...
Note: checking out 'ac953c483fd3b9183a4eb2ac343256663c5f033b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

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

  git checkout -b new_branch_name

+ git clone -b v1.2 https://github.com/russross/blackfriday.git /tmp/tmp.rQFqMJMIuu/src/github.com/russross/blackfriday
Cloning into '/tmp/tmp.rQFqMJMIuu/src/github.com/russross/blackfriday'...
Note: checking out '2e7d690972283d45aadc7a5ea304841e26529433'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

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

  git checkout -b new_branch_name

+ go get -v -d github.com/cpuguy83/go-md2man
code.google.com/p/go.net (download)
# cd .; hg clone -U https://code.google.com/p/go.net /tmp/tmp.rQFqMJMIuu/src/code.google.com/p/go.net
abort: error: Network is unreachable
package code.google.com/p/go.net/html: exit status 255
The command '/bin/sh -c set -x 	&& export GOPATH="$(mktemp -d)" 	&& git clone -b v1.0.1 https://github.com/cpuguy83/go-md2man.git "$GOPATH/src/github.com/cpuguy83/go-md2man" 	&& git clone -b v1.2 https://github.com/russross/blackfriday.git "$GOPATH/src/github.com/russross/blackfriday" 	&& go get -v -d github.com/cpuguy83/go-md2man 	&& go build -v -o /usr/local/bin/go-md2man github.com/cpuguy83/go-md2man 	&& rm -rf "$GOPATH"' returned a non-zero code: 1
Makefile:74: recipe for target 'build' failed
make: *** [build] Error 1

Step 38 : ENV HTTP_PROXY XXX.proxy.com:3128
 ---> Using cache
 ---> af468442cbaf
Step 39 : ENV GOPATH "$(mktemp -d)"
 ---> Running in ca402877bf66
 ---> 179a962b0c97
Removing intermediate container ca402877bf66
Step 40 : RUN git clone -b v1.0.1 https://github.com/cpuguy83/go-md2man.git "$GOPATH/src/github.com/cpuguy83/go-md2man"
 ---> Running in 3a022820f168
Cloning into '$(mktemp -d)/src/github.com/cpuguy83/go-md2man'...
Note: checking out 'ac953c483fd3b9183a4eb2ac343256663c5f033b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

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

  git checkout -b new_branch_name

 ---> fe6ae9167ecc
Removing intermediate container 3a022820f168
Step 41 : RUN git clone -b v1.2 https://github.com/russross/blackfriday.git "$GOPATH/src/github.com/russross/blackfriday"
 ---> Running in 28c3b254be77
Cloning into '$(mktemp -d)/src/github.com/russross/blackfriday'...
Note: checking out '2e7d690972283d45aadc7a5ea304841e26529433'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

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

  git checkout -b new_branch_name

 ---> 02e06051211a
Removing intermediate container 28c3b254be77
Step 42 : RUN go get -v -d github.com/cpuguy83/go-md2man
 ---> Running in 41252dbc7644
code.google.com/p/go.net (download)
# cd .; hg clone -U https://code.google.com/p/go.net $(mktemp -d)/src/code.google.com/p/go.net
abort: error: Network is unreachable
package code.google.com/p/go.net/html: exit status 255
The command '/bin/sh -c go get -v -d github.com/cpuguy83/go-md2man' returned a non-zero code: 1
Makefile:74: recipe for target 'build' failed
make: *** [build] Error 1

I split these commands still hit the issue.
Now I understand this is a special issue combined by golang and docker, I'm not which should own it.

@gouyang It specifically looks like it's an issue with hg clone.

it's not the issue of hg itself,
$ export http_proxy=squid.xxx.com:3128
[guohua@ghua ~]$ hg clone -U https://code.google.com/p/go.net
destination directory: go.net
requesting all changes
adding changesets
adding manifests
adding file changes
added 240 changesets with 1074 changes to 389 files

$ http_proxy=squid.xxx.com:3128 hg clone -U https://code.google.com/p/go.net
destination directory: go.net
requesting all changes
adding changesets
adding manifests
adding file changes
added 240 changesets with 1074 changes to 389 files

it seems the issue only happens when the go get tool is hg, as I tested go get other app works which go get is using http or https.
@cpuguy83  could you reopen this issue for investigation?


Blog post's section title overlapped by website header

Describe the bug
Blog post's section title is overlapped by the website header when accessing directly from the links on the right-index.
How to Reproduce

Access to any blog post on AsyncAPI website.
Click on any section title at the right-index.

(*) Tested with Firefox 98.0.1 (64-bit)
https://user-images.githubusercontent.com/81691177/158625769-c80d9e71-56e3-483d-aa37-f24ea440b228.mp4
Expected behavior
All section titles should be displayed and visible when being accessed from the index.

Thanks, @peter-rr for raising the issue.
I had a look into this, looks like when you click on the link the browser is taking the item to the top of the page, the problem is the header is fixed and the content goes under it.

I found a StackOverflow answer for this that may help: https://stackoverflow.com/questions/11386807/adding-an-automatic-offset-to-the-scroll-position-for-all-hash-links-calls
Will try and continue to look, but looks like most things in this link feel like hacks... but not sure

@peter-rr can you confirm if this is still an issue? when I check in Brave browser all works as expected

@derberg Not an issue anymore! Now it's working as expected 🚀

@peter-rr thanks for the confirmation 🙏🏼


Can't download video from BBC News Chinese site

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.04.07
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

PS C:\Windows\system32> youtube-dl -F https://www.bbc.com/zhongwen/simp/uk-56693005 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://www.bbc.com/zhongwen/simp/uk-56693005', '--verbose']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2021.04.07
[debug] Python version 3.7.2 (CPython) - Windows-10-10.0.17134-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[bbc] uk-56693005: Downloading webpage
ERROR: Unable to extract playlist data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "e:\program files\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "e:\program files\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "e:\program files\python37\lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "e:\program files\python37\lib\site-packages\youtube_dl\extractor\bbc.py", line 1226, in _real_extract
    webpage, 'playlist data'),
  File "e:\program files\python37\lib\site-packages\youtube_dl\extractor\common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract playlist data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Seems like youtube-dl can't find video data from page.

Fixed in PR #28674.

Fixed in PR #28674.

No, I upgraded youtube-dl, but BBC News Chinese still can't download:
`~ $ youtube-dl -F https://www.bbc.com/zhongwen/simp/uk-56693005 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://www.bbc.com/zhongwen/simp/uk-56693005', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.04.17
[debug] Python version 3.9.4 (CPython) - Linux-4.9.186-perf-g10af704-aarch64-with-libc
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4
[debug] Proxy map: {}
[bbc] uk-56693005: Downloading webpage
ERROR: Unable to extract playlist data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper
return func(self, *args, **kwargs)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info
ie_result = ie.extract(url)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/bbc.py", line 1224, in _real_extract
self._search_regex(
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract playlist data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
~ $`

The PR isn't yet merged into the release build. I'm afraid you'll have to wait for it, unless you're able to make your own build.


BLE connection problems with firmware kernel 4.19

With the latest firmware, which includes the Kernel 4.19, data transfer via Bluetooth is no longer possible after a few hours. Initially it works fine, but after a few hours no connection can be established - not only once but completely.
I have installed some older firmware versions. But it only works correctly with the last firmware commit, which still contains the Kernel 4.14:
https://github.com/Hexxeh/rpi-firmware/commit/a08ece3d48c3c40bf1b501772af9933249c11c5b
If someone still has the problem with a current firmware version. With the following command you can downgrade to the last 4.14 stable:
sudo BRANCH=stable rpi-update 45a2e771e7272781e62ae92322734c2b90e0268a
sudo reboot

Hi @Markkuuss ,
thank you for letting us know. Is there anything we should do about this?
Do you want to add a comment to the documentation?

Hi @ChristianKuehnel
I'm looking for a solution to run Miflora on a current firmware as well. Or at least hints where the error could be, e.g. if it is a firmware problem or if other software has to be adapted.

I confirm this issue as well:

it is solvable with hciconfig hci0 down; sleep 5; hciconfig hci0 up - but not every time.
strace shows that hciconfig down  is stuck waiting on the bluetooth socket (AF_BLUETOOTH)
incident happens after 12-24hr, sometimes already after 60min

Raspberry Pi 3, Raspbian Buster - issue already happened on Raspbian Stretch.
Issue seems not related to bluepy or miflora, but more with bluetooth in general.

Closing ticket as it's not so something that can be fixed in miflora.

Where could this problem be addressed? Miflora doesn't work on a current Raspberry Pi anymore.


Though template front matter is documented as a requirement, this is not enforced in the codebase.

Either change the documentation to align itself with the current state of the codebase or modify the codebase to ignore and issue a warning for all templates that do not have front matter.

See https://github.com/4awpawz/fusion.ssg.web/issues/12.

Closed in favor of https://github.com/4awpawz/fusion.ssg.web/issues/12.


Trouble making app tarball

Hello, I am trying to create an app tarball from a simple Comonicon project and keep getting the following error. Any ideas of what could be going wrong?
julia --project deps/build.jl app tarball                     16:27:42
[ Info: building application
┌ Info: application options:
└   options.application = ComoniconOptions.Application("build", ComoniconOptions.Asset[], false, false, "generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)", ComoniconOptions.Precompile(["test/runtests.jl"], String[]), nothing)
┌ Warning: Project has a build script, this might indicate that it is not relocatable
└ @ PackageCompiler ~/.julia/packages/PackageCompiler/ghAiI/src/PackageCompiler.jl:744
[ Info: PackageCompiler: creating base system image (incremental=false)...
[ Info: PackageCompiler: creating system image object file, this might take a while...
Precompiling project...
  33 dependencies successfully precompiled in 15 seconds
[ Info: PackageCompiler: Executing /Users/kate/Downloads/testci/test/runtests.jl => /var/folders/z_/r2n_rt396917fl9qm_t5h7jm0000gn/T/jl_packagecompiler_ZP3qEB/jl_bPUcNp
cmd1: arg=stringoption=Sam
[ Info: PackageCompiler: Done
[ Info: PackageCompiler: creating system image object file, this might take a while...
[ Info: generating completion scripts
[ Info: creating path: /Users/kate/Downloads/testci/build/testci/completions
ERROR: LoadError: UndefVarError: Comonicon not defined
Stacktrace:
 [1] tarball_name(m::Module, name::String; application::Bool)
   @ ComoniconBuilder ~/.julia/packages/ComoniconBuilder/bJXHb/src/build.jl:181
 [2] build_tarball_app(m::Module, options::ComoniconOptions.Comonicon)
   @ ComoniconBuilder ~/.julia/packages/ComoniconBuilder/bJXHb/src/build.jl:100
 [3] install(m::Module, options::ComoniconOptions.Comonicon)
   @ ComoniconBuilder ~/.julia/packages/ComoniconBuilder/bJXHb/src/install.jl:68
 [4] install(m::Module; kw::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ ComoniconBuilder ~/.julia/packages/ComoniconBuilder/bJXHb/src/install.jl:3
 [5] install
   @ ~/.julia/packages/ComoniconBuilder/bJXHb/src/install.jl:2 [inlined]
 [6] #comonicon_install#3
   @ ~/.julia/packages/Comonicon/9x3SY/src/cast.jl:213 [inlined]
 [7] comonicon_install()
   @ testci ~/.julia/packages/Comonicon/9x3SY/src/cast.jl:213
 [8] top-level scope
   @ ~/Downloads/testci/deps/build.jl:1
in expression starting at /Users/kate/Downloads/testci/deps/build.jl:1
~/Downloads/testci                                                               16:34:12

I ran this on a test app I created with  the following structure:
.
├── Comonicon.toml
├── Manifest.toml
├── Project.toml
├── build
│   └── testci
├── deps
│   └── build.jl
├── src
│   └── testci.jl
└── test
    └── runtests.jl

where Comonicon.toml has the following:
name = "testci"

[sysimg]
filter_stdlibs=false
incremental=false

[sysimg.precompile]
execution_file = ["test/runtests.jl"]

[application]
filter_stdlibs=false
incremental=false

[application.precompile]
execution_file = ["test/runtests.jl"]

testci.jl has:
module testci

using Comonicon

@cast mycmd1(arg; option="Sam") = println("cmd1: arg=", arg, "option=", option)
@cast mycmd2(arg; option="Sam") = println("cmd2: arg=", arg, "option=", option)

"""
testci
"""
@main

end # module

and build.jl has:
using testci; testci.comonicon_install()

Output of versioninfo()
Julia Version 1.6.3
Commit ae8452a9e0 (2021-09-23 17:34 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.5.0)
  CPU: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

this should be fixed on latest release now

Hi @Roger-luo, just getting back to this.
I got the latest release of Comonicon and called julia --project deps/build.jl app tarball and this time gsea-application-0.1.0-julia-1.7.0-darwin-x86_64.tar.gz was made! However when I tested the gsea binary in the tarball, I got the error below when Julia isn't installed. So its not really relocatable yet. And just to note, when Julia is installed the gsea exectuable produces the same warnings as below but works.
Could I being doing something wrong?
Many thanks for your help again.
┌ Warning: Error requiring `Mux` from `WebIO`
│   exception =
│    LoadError: ArgumentError: Package WebIO does not have JSON in its dependencies:
│    - If you have WebIO checked out for development and have
│      added JSON as a dependency but haven't updated your primary
│      environment's manifest file, try `Pkg.resolve()`.
│    - Otherwise you may need to report an issue with WebIO
│    Stacktrace:
│      [1] require(into::Module, mod::Symbol)
│        @ Base ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [2] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│        @ Base ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [3] include_string(m::Module, txt::String, fname::String)
│        @ Base ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [4] top-level scope
│        @ ~/.julia/packages/WebIO/Y7bGU/src/WebIO.jl:104
│      [5] (::WebIO.var"#75#87")()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [6] err(f::Any, listener::Module, modname::String)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:47
│      [7] (::WebIO.var"#74#86")()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [8] withpath(f::Any, path::String)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:37
│      [9] (::WebIO.var"#73#85")()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│     [10] listenpkg(f::Any, pkg::Base.PkgId)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:20
│     [11] __init__()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│    in expression starting at /Users/kate/.julia/packages/WebIO/Y7bGU/src/providers/mux.jl:1
└ @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:49
┌ Warning: Error requiring `WebSockets` from `WebIO`
│   exception =
│    LoadError: ArgumentError: Package WebIO does not have Sockets in its dependencies:
│    - If you have WebIO checked out for development and have
│      added Sockets as a dependency but haven't updated your primary
│      environment's manifest file, try `Pkg.resolve()`.
│    - Otherwise you may need to report an issue with WebIO
│    Stacktrace:
│      [1] require(into::Module, mod::Symbol)
│        @ Base ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [2] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│        @ Base ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [3] include_string(m::Module, txt::String, fname::String)
│        @ Base ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [4] top-level scope
│        @ ~/.julia/packages/WebIO/Y7bGU/src/WebIO.jl:122
│      [5] (::WebIO.var"#84#96")()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [6] err(f::Any, listener::Module, modname::String)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:47
│      [7] (::WebIO.var"#83#95")()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│      [8] withpath(f::Any, path::String)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:37
│      [9] (::WebIO.var"#82#94")()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│     [10] listenpkg(f::Any, pkg::Base.PkgId)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:20
│     [11] __init__()
│        @ WebIO ~/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib:-1
│    in expression starting at /Users/kate/.julia/packages/WebIO/Y7bGU/src/providers/generic_http.jl:1
└ @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:49
fatal: error thrown and no exception handler available.
InitError(mod=:Blink, error=AssertionError(msg="isfile(f)"))
YY.26_60832.clone_1.clone at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib (unknown line)
jfptr_YY.26_60833.clone_1 at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib (unknown line)
jl_apply_generic at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/libjulia-internal.1.7.dylib (unknown line)
__init___60851.clone_1.clone at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib (unknown line)
jfptr___init___60852.clone_1 at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/sys.dylib (unknown line)
jl_apply_generic at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/libjulia-internal.1.7.dylib (unknown line)
jl_module_run_initializer at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/libjulia-internal.1.7.dylib (unknown line)
_finish_julia_init at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/libjulia-internal.1.7.dylib (unknown line)
julia_init at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/libjulia-internal.1.7.dylib (unknown line)
jl_init at /Users/kate/craft/tool/GSEA.jl/build/gsea/lib/julia/libjulia-internal.1.7.dylib (unknown line)
main at /Users/kate/craft/tool/GSEA.jl/build/./gsea/bin/gsea (unknown line)

I don't think you can have anything depends on Requires that needs to be loaded after the module is loaded since it's dynamic I'm not sure what's the best to remove Requires but I think you may want to try to reproduce this error with PackageCompiler since this is mainly a static compile issue I believe and doesn't seem to be an issue in Comonicon (otherwise you should be able to do it without warnings from Mux)

So my suggestion is still to try to reproduce the error with PackageCompiler first to see if you can get rid of the dynamic parts.

Sounds good, I'm trying it now. Thanks @Roger-luo.

@Roger-luo I was able to duplicate the error with PackageCompiler, so now working on debugging that.


Diff background color makes text unreadable

Sorry if I'm knocking on the wrong door. I just installed the plugin and went to apply a patch and it's pretty unreadable because of the background color. I'm not sure if these are default colors set by this plugin or something wrong with my setup (mostly vanilla Astronvim w/ Astrodark theme). When I select a different theme (even reselecting Astrodark) these background colors go away which is why I'm starting here. If they are set here I just need some configuration to make them readable for my theme. Thanks!

That depends on DiffAdd and DiffText, so if they colorscheme doesn't set those highlight you will have to

Thanks, I'm still pretty new to neovim. I'm enjoying the plugin!
For anyone else with skill issues like me here's what I changed:
~/.config/nvim/lua/plugins/astroui.lua
return {
  "AstroNvim/astroui",
  ---@type AstroUIOpts
  opts = {
    colorscheme = "astrodark",
    highlights = {
      astrodark = {
        DiffAdd = { fg = "#00ff00", bg = "#005500" },
        DiffText = { fg = "#ffff00", bg = "#555500" },
      },
    },
}

see https://github.com/AstroNvim/astrotheme/pull/139


Day2 Lucy's Schedule LogicApp/Teams - Joshua Kroupenin

Using LogicApp and Teams notifications

We checked out your repository. We're thrilled to say your solution is now listed in our Hall of Fame
Thank you for your contributions!
This PR is now closed! 🎉


iam_access_key_root_disabled-periodic

Getting result as no results available in the AWS config console.
I have created a Lambda function with the same code present here.
Can you please help.

Several possibilities:

There is a problem of IAM permission (lambda), check the CloudWatch logs of the lambda.
There is a bug in the rule code, check the CloudWatch logs of the lambda.

Please consider those possiblities. Feel free to reopen an issue with the logs if needed or do a PR.


the GPU consumption trained on ImageNet

when training on 1000 classes imagenet, the GPU memory of prompts seems very large and results in the Out Of Memory error on 16GB GPU Card.
How to solve this problem?

reduce the batch size then

Yes, it exceeds 16GB even using batch-size=1. Unfortunately, I do not have a GPU with 32GB memory 😂
Maybe I should think other ways to reduce the memory consumption.

@KaiyangZhou 麻烦问一下论文中res50在imagenet上的实验，需要几张卡，memory需要多大？一般训练多久？

@XiaoCode-er

1 gpu card
16gb memory
few hours

@KaiyangZhou
Hi, I have encountered the same problem.
Can you kindly provide the checkpoints of CoOp on ImageNet?

The pre-trained weights have just been released. Please see the readme file

@KaiyangZhou
Thank you for sharing the code,
please ask, is it possible for one RTX3090 24Gb?

is it possible for one RTX3090 24Gb?

basically the memory consumption increases with the number of classes (for prompt learning methods)
24gb might be sufficient for most datasets except imagenet

Hi Kaiyang, I think with a slight modification, the model could run on ImageNet if using more than one graphic cards.
For CoOp, just change the code on line 257 of coopy.py from "self.model = nn.DataParallel(self.model)" to "self.model.text_encoder = nn.DataParallel(self.model.text_encoder)". I tested it on 1-shot ImageNet with 4 graphic cards, and found that each card only consumed around 8GB memory. Compared with my previous experiments on a single card, the accuracy even increases a little bit :)
The image_encoder does not need to be run parallelly at least for CoOp because it does not require backward propagation and only has a small batch size.

~reduce the batch size then~
just realize mainly the text encoder causes the problem :(
hmm, it's a tough question then
ideally you would need a GPU with 32GB memory
for 16 GB GPUs you might need to modify the source code, somehow (no idea what to do, yet)

I had to say the way using DataParallel on CustomCLIP cannot save GPU memory on each card at all...

No. DataParallel won't help.
The problem for imagenet is that the 1,000 classes would create a huge memory consumption for the text encoder. So for smaller datasets with fewer classes, the problem is gone. And the tricky thing is, you can't split the classes into two gpus because in doing so the attention in the transformer model won't work properly. Hmm ...

No. DataParallel won't help.
The problem for imagenet is that the 1,000 classes would create a huge memory consumption for the text encoder. So for smaller datasets with fewer classes, the problem is gone. And the tricky thing is, you can't split the classes into two gpus because in doing so the attention in the transformer model won't work properly. Hmm ...

In fact, DataParallel could save memory if used correctly. To be short, it is not the class tensors in the last layer themselves caused the problem, but the intermediate tensors, gradients and the computation graph.
If the code is modified as mentioned above, all the intermediate tensors and most of the gradients could be scattered to different GPUs. And finally, when the model on each card get the final text features, we can collect them to a single card then.

Emm, I am not sure whether you noticed. I indeed have run experiments and verified the method's effectiveness...
I tested it on 1-shot ImageNet with 4 graphic cards, and found that each card only consumed around 8GB memory.

No. DataParallel won't help.
The problem for imagenet is that the 1,000 classes would create a huge memory consumption for the text encoder. So for smaller datasets with fewer classes, the problem is gone. And the tricky thing is, you can't split the classes into two gpus because in doing so the attention in the transformer model won't work properly. Hmm ...

I do not understand why the attention in the transformer model would have problems. I think the attention mechanism only work within each sample, and there is no attention between samples in a batch.

Oh, my bad. I thought you were talking about another approach. The attention thing doesn't matter then.

在1000级imagenet上训练时，提示的GPU内存似乎很大，导致16GB GPU卡出现内存不足错误。如何解决这个问题？

I want to know why doesn't CoOp have this problem?

I want to know why doesn't CoOp have this problem?

~那就减少批量~
才意识到主要是文本编码器导致的问题:(
嗯，这是个很难回答的问题
理想情况下，你需要一个32GB内存的GPU
对于16 GB的GPU，你可能需要以某种方式修改源代码(还不知道该怎么做)

I want to know why doesn't CoOp have this problem?  one RTX3090 24Gb is enough for coop


Slides doesn't work as expected on iOS

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[ x] 3.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When I deploy my current state of application to iOS device the slider doesn't work as I expected. Slider is on the first page after application run. It seems to be free mode all the time without transition at all. On Android devices and browser everything works fine. This issue appears only on ios devices.
Expected behavior:
The slides should work as on android devices.
Steps to reproduce:
Copy from docs the slider and deploy to IOS Device.
Try to swipe slider.
Related code:
<ion-slides>
    <ion-slide>

Slide 1

    </ion-slide>
    <ion-slide>

Slide 2

    </ion-slide>
    <ion-slide>

Slide 3

    </ion-slide>
</ion-slides>

Other information:
Please look at this issue as soon as possible. I will be very appreciated.

Hello, thanks or using Ionic! Could you create a video that shows this issue? I am not able to reproduce this.

Hey, thank you for a quick reply,
This is a video with issue:
https://drive.google.com/file/d/0ByBY5oTSL9fITXNCUUpwOU1hMmc/view?usp=sharing
I think it can be something wrong with loading this slider, cause when I logout an app everything works as expected.

Maybe share some code? This may be something wrong with how your app handles async grabbing data. Look at console logs and stuff

Hmm thats interesting. This sounds like it could be some kind of race condition. Could you share a minimal repo that we could use to reproduce this issue?

Just try create new project and add a slider to first page. Then you will see this issue, I hope.

I tried start new app and add slider and this issue doesn't appear :/

I solved this problem. I've added a hook and update it after enter:
    ionViewDidEnter() {
        this.slides.update();
    }

Awesome, as it seems you have fixed your issue, for now, I am going to close this issue. Thanks!


Update Readme.md: add reference to Arch package.

Add instructions for installing on Arch Linux

Thanks! Can you change the markdown from heading tag to a normal paragraph as the steps above and below?

@itsron717
Apologies: totally missed this.
Can do.
Will update shortly.

@itsron143 Can you merge this?


multi-level gnn

multi-level gnn

Modulus Pull Request
Description

Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

Implemented in #646

Implemented in #646


Configuring cloudflare pages

I don't really know how to deploy this correctly.
The quickstart doesn't show what configuration need to be set on cloudflare pages.
I set the build configuration to none and it deployed successfully. But there's no content shown. Just a blank site on the cf pages.
I need help configuring the cloudflare pages.

I don't really know how to deploy this correctly. The quickstart doesn't show what configuration need to be set on cloudflare pages. I set the build configuration to none and it deployed successfully. But there's no content shown. Just a blank site on the cf pages. I need help configuring the cloudflare pages.

I didn't quite get what do you mean. Could you post your current config file?

The quickstart doesn't show what configuration need to be set on cloudflare pages.

This is related to the specific target you're going to monitor.


Jupyter environment variables load only once ever per kernel.

Applies To

[x] Notebooks (.ipynb files)
[x] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Once I run a notebook, the settings in the .env file become "stuck" across:

restarting the kernel
restarting VSCode entirely
restarting my laptop entirely
opening an entirely different notebook
deleting and re-creating the conda environment with the same name

The only solution is to create a conda env/kernel with a new name at which point the .env file is reloaded. But, again, only once.
It seems like there must be some kind of cache inside the extension?
Below, you can see two interactive windows that I loaded from two different kernels:

On the left, this is the output from a kernel that I loaded before changing the .env file. This output is incorrect. The output here is after a full restart of VSCode.
On the right, this is the output from a kernel that I loaded after changing the .env file. This output is correct.

VS Code Version
Version: 1.69.0 (Universal) Commit: 92d25e35d9bf1a6b16f7d0758f25d48ace11e5b9 Date: 2022-07-07T05:28:41.511Z (3 days ago) Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: <IP_ADDRESS>-electron.0 OS: Darwin arm64 21.5.0
Jupyter Extension Version
v2022.6.1001902341
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.10.5
Language Extension Version (if applicable)
v2022.10.0
Anaconda Version (if applicable)
4.13.0
Running Jupyter locally or remotely?
No response

Thanks for filing this extension, i'll have a look at this soon.
Please note, we've identified a few issues related to the environment variables being loaded in kernels & plan on addressing them for the next release
See here https://github.com/microsoft/vscode-jupyter/issues/10359

Oh, haha, it's great to hear that there are known .env problems. I thought I was going crazy with this strange bug.

@tbenthompson Please could you :

Try this again
Provide all of the output from the Jupyter output panel (you can get to that using the command Jupyter: Show Output)

Sure, here: https://gist.github.com/tbenthompson/63b3697b8be29d3ef18a5d24771b5441
Thanks!

Should be fixed with this PR https://github.com/microsoft/vscode-jupyter/pull/10843
Please could you install the latet pre-release version of the Jupyter extension and try this again (in vscode insiders) & let us know.
If it still persists, please feel free to reopen this issue, or I can do that.


VRP failing to solve simple constraint

Hello,
I've tried this demo locally and it's working fine. However, I want to use one constraint for a production use-case and the solver keeps violating this constraint.
def cut_long_edges(constraint_factory: ConstraintFactory):
return constraint_factory.for_each(Vehicle) \
    .filter(lambda vehicle: vehicle.get_long_edges() > 0) \
    .penalize("cut_long_edges", HardSoftScore.ONE_HARD,
              lambda vehicle: (vehicle.get_long_edges()) )

method get_long_edges just loops through customer_list and accumulates the number of adjacent customers with distance > X.
So I removed all the constraints and just kept this one
@constraint_provider
def vehicle_routing_constraints(constraint_factory: ConstraintFactory):
    return [
        cut_long_edges(constraint_factory)
    ]

The score is 1Hard/0Soft and it's using only 1 vehicle out of 11, which is weird because it's obvious that score 0Hard/0Soft is achievable with 11 vehicles and a timelimit of 600 seconds !!
Here is the output:

Where have I gone wrong in the above scenario?
Thanks in advance.

A way to debug the issue is to use constraint_verifier to verify that cut_long_edges is working as expected; see https://github.com/optapy/optapy-quickstarts/blob/4bdf9cce4a5e1ed4ffb3691b940abb0168251d63/vehicle-routing/tests.py#L15-L22 for an example. I expect the issue is you only have 1 depot (which is in the lower right), meaning there will always be at least one long edge (since the depot is too far from the edges in the top left). You would need to add a depot in the top left, and assign some vehicles to it. As for why only single vehicle is being used in the above example, it because there are no constraints to encourage using multiple vehicles (since each vehicle will have at least one long edge because they all come from the lower right depot).

Hey @Christopher-Chianelli, thanks for your quick response.
You are right the issue here is having 1 depot IDK how I missed that, I've just solved it by updating get_long_edges to ignore the distance between the depot and any other point.


add use of the namespace of the Route class to README.md

There was no use statement for the used Route class in the example in README.md

@nlzet Good catch, thank you"


Connection with Cloud Services

Don't we all know the struggle of Cloud Services having an app that isn't made for viewing img/vid?
So why don't just view let's say a OneDrive folder with only images inside from your Gallery App, like connecting it.
Would be nice if you could have an saving path that saves IMG/VID directly to an Gallery Album (individual) that is storing the data intern and extern on the cloud or even only on the cloud.

I think this is more or less duplicate with #126. People there mostly mentioned Nextcloud, but for now it lumps Google Drive, One Drive, etc. all in the same issue. You could show interest in #126 by adding a thumb up reaction to the top post, and subscribe to the issue to get updates from the discussion.

Would be nice if you could have an saving path that saves IMG/VID directly to an Gallery Album (individual) that is storing the data intern and extern on the cloud or even only on the cloud.

I'm not sure I follow. Are you suggesting to synchronize a specific local folder with a remote album? It seems easier to leverage the existing syncing capabilities of official cloud apps. What I mean is that the syncing can be triggered in the background thanks to a different app. It does not need to happen in the gallery.


feat: add item column and relative time to history

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
https://user-images.githubusercontent.com/17953978/158453923-8e1830c9-241e-4bd4-9ab2-8985d397ac37.mov
PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

What's new?

[x] PR closes #2547
[x] Added column which shows item id and links to gallery page (name is not available so we take id for now), added relative time and tooltip with exact stamp on hover

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

Probably #2545 broke something here 👀

My mac has frozen.
@yangwao said that there is a pagination for the history component

@kkukelka may update your PR with the latest main?

@kkukelka may update your PR with the latest main?

Maybe you drink too much club mate?

@kkukelka may update your PR with the latest main?

done

looks normal here or am i missing something?

here https://deploy-preview-2552--koda-nuxt.netlify.app/rmrk/collection/2644199cf3652aaa78-KK01?tab=history

I sense that pagination doesn't work here?
almost frozen my stuff https://deploy-preview-2552--koda-nuxt.netlify.app/rmrk/collection/b45071647155359951-SUBSTRA?tab=history&page=5

clicked update branch, let's see?

Schumacher, seems lots of caffeine today lol
otherwise, it's working?
https://user-images.githubusercontent.com/5887929/158605663-78a5d3cb-c963-46ce-ae5d-8ed42791724a.mov

oh found bug, link to item doesn't work
leads to non-existing nft https://deploy-preview-2552--koda-nuxt.netlify.app/rmrk/gallery/9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-BUYg54M6_EPLgXDtmfTDP663

Good eye!
{
  "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052",
  "events": [
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-MINTNFTKZ6hxTeIVTR8CKEx1UGac"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-LISTVg-SA9ZqfMYVyNOq0TRRy"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-BUYpfpKvJxNHW2JrskhHZoDM"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-LISTQDPhuXFgDiG2C42oehjeQ"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-BUYLSmNCpMZBeiwl2CHMj7Uu"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-LISTRWcsa83ZhcXY3dTLX81su"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-LISTXXxJ1lYPxRa8uf7uTg4m2"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-LISTeBoxa_zCzB9uig5eWfKif"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-LISTwINca_XiQf6yN1mMZJwRB"
    },
    {
      "id": "9181565-dac5c7f54029d0e73c-HXAI8-E_V_EM-0000000000000052-LISTSC43fZxm5Mg1XE4_Eyduh"
    }
  ]
}

@kkukelka fast fix is to remove everything after the last dash
const reg = /-[a-zA-Z0-9_]+$/

id.replace(reg, '')

Better approach is to select name and id from NFT :)

@kkukelka fast fix is to remove everything after the last dash
const reg = /-[a-zA-Z0-9_]+$/

id.replace(reg, '')

gonna opt for regex as i dont have time update graphql query
event['Item'] = newEvent['id']?.replace(
          /-(BUY|CONSUME|LIST|MINT|MINFNFT|SEND).+$/,
          ''
        )

also made sure not to show item column on NFT Detail page

Add the name of the item to the history, once it would be available.
Right now making this issue name was not available.


fix two GPG 2.1.x problems

plumb through TTY from client back to service for PGP export
ignore 'grp' parameter in --with-colons output

r? @patrickxb


Fixing routing app so it no longer uses deprecated methods.

Also changed the list so it displays the route instructions instead of
the street name.
@tyle8552 can to review this

Thanks @tyle8552 I've updated that. Okay to merge now?

thanks @colinanderson I've fixed up formatting.

@mbcoder Looks good to merge.


technical and customizing update

This pull request primarily focuses on the addition of new workflows, updates to dependencies, and the addition of new configuration files. The most important changes include the creation of new workflows for Azure Web App deployment and open source static analysis tools, updates to dependencies in package.json and requirements-dev.txt, and the addition of a new certificate request and publish settings.
Addition of new workflows:

.github/workflows/main_starlight-chat-assistant(starlightretail).yml: A new workflow has been added for building and deploying a Python app to Azure Web App. This workflow runs on push to the main branch and on workflow dispatch.
.github/workflows/ossar.yml: A new workflow has been added for integrating a collection of open source static analysis tools with GitHub code scanning. This workflow runs on push and pull requests to the main branch, and on a weekly schedule.

Updates to dependencies:

frontend/package.json: The version of vite has been updated from 4.1.5 to 4.5.3.
requirements-dev.txt: Multiple dependencies have been updated, including requests, tqdm, langchain, and urllib3.

Addition of new configuration files:

.mergify.yml: A new configuration file has been added for Mergify, which will request a review from a specific team when checks are green and the pull request is not closed.
Starlight-Chat-Assistant.PublishSettings: A new publish settings file has been added for the Starlight Chat Assistant.

Description

Contribution Checklist

[x] I have built and tested the code locally and in a deployed app
[x] For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
[x] This is a change for all users of this app. No code or asset is specific to my use case or my organization.
[x] I didn't break any existing functionality :smile:

This pull request includes a series of changes aimed at enhancing the project's GitHub workflows, updating dependencies, and adding new configuration files. The most significant changes include the addition of two new GitHub workflows, updates to the package.json and requirements-dev.txt files, and the creation of new configuration files.
GitHub workflows:

.github/workflows/main_starlight-chat-assistant(starlightretail).yml: Added a new GitHub workflow for building and deploying a Python app to Azure Web App.
.github/workflows/ossar.yml: Added a new GitHub workflow for integrating a collection of open source static analysis tools with GitHub code scanning.

Dependency updates:

frontend/package.json: Updated the version of vite from 4.1.5 to 4.5.3.
requirements-dev.txt: Updated the versions of requests, tqdm, langchain, and urllib3.

Configuration files:

.mergify.yml: Added a new configuration file for Mergify, a tool that automates the merging process of pull requests.
Starlight-Chat-Assistant.PublishSettings: Added a new configuration file for publishing settings of the Starlight Chat Assistant.
primarycert.csr: Added a new certificate signing request file.

This pull request includes several workflow configuration updates and dependency version upgrades. The most important changes include the addition of new GitHub Actions workflows for CodeQL analysis, OSSAR scanning, and Azure Web App deployment, as well as updates to the requirements-dev.txt and frontend/package.json dependencies.
Workflow Automation Enhancements:

CodeQL Analysis: Added a new workflow for CodeQL analysis to scan for vulnerabilities and errors in the codebase. (.github/workflows/codeql.yml)
OSSAR Scanning: Introduced a workflow for integrating open source static analysis tools with GitHub code scanning. (.github/workflows/ossar.yml)
Azure Deployment: Added workflows for building and deploying the Python app to Azure Web App for different environments. (.github/workflows/main_starlight-chat-assistant(starlightretail).yml, .github/workflows/main_starlight-chat-assistant.yml) [1] [2]

Dependency Updates:

Frontend: Updated the vite dependency in the package.json file. (frontend/package.json)
Backend: Updated several dependencies in the requirements-dev.txt file. (requirements-dev.txt)

This pull request includes several updates to GitHub Actions workflows, dependency upgrades, and configuration changes. The main updates involve setting up CodeQL and OSSAR workflows, adding deployment workflows for a Python app, and updating dependencies in the requirements-dev.txt and package.json files.
GitHub Actions Workflows:

Added a CodeQL workflow to analyze the codebase for security vulnerabilities and errors. This includes setting up a matrix for supported languages and initializing CodeQL tools. (.github/workflows/codeql.yml)
Introduced an OSSAR workflow to integrate open source static analysis tools with GitHub code scanning. This includes setting up permissions and running OSSAR on windows-latest. (.github/workflows/ossar.yml)
Created deployment workflows for the Starlight-Chat-Assistant Python app, targeting both starlightretail and Production environments. These workflows include steps to set up Python, create a virtual environment, install dependencies, and deploy to Azure Web App. (.github/workflows/main_starlight-chat-assistant(starlightretail).yml, .github/workflows/main_starlight-chat-assistant.yml) [1] [2]

Dependency Updates:

Upgraded vite in the frontend/package.json file from version 4.1.5 to 4.5.3. (frontend/package.json)
Updated several dependencies in the requirements-dev.txt file, including requests, tqdm, langchain, and urllib3. (requirements-dev.txt)

Configuration Changes:

Added a Mergify configuration to request reviews from a specific team when checks are green and no reviews have been requested. (.mergify.yml)

These changes aim to enhance the security, deployment, and dependency management of the project.

Warning: there is an unexpected logo change in this PR


Mempool

This is a minimal viable implementation of a lockfree threadsafe mempool that can be used with libsodium's mlock functionality

@tdammers This PR is ready. I've addressed all comments, except one, which I need some feedback on: namely the segment count vs bytes.
Please resolve the ones that you agree are done, or comment otherwise.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/channel-wg-leads
/assign knative-sandbox/channel-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/eventing 7251c1b...486c349:
  > 486c349 fix metrics md page (# 5615)
  > d32eb86 Update CODE_OF_CONDUCT.md (# 5616)
  > 1f48ef0 Revert "if no kubeconfig use inclusterconfig test (# 5603)" (# 5613)
  > 699a33b Improve security-related config in more yaml files (# 5612)
  > ea859aa Improve security-related config in yaml files (# 5611)
  > d3e8af1 upgrade to latest dependencies (# 5606)
  > d9b4354 Update community files (# 5602)
  > dcbb9af Fix the link to the Working Group page. (# 5610)
  > a005619 Add health endpoint to event_display server (# 5608)
bumping knative.dev/pkg 842df75...64ab22b:
  > 64ab22b k8s-service-trailing-slash-fix (# 2178)
  > c367a9d Drop Client as it is only used in tests (# 2203)
  > bb4aaf0 Ignore special errors in codegen for events (# 2202)
  > 3826bb2 Add a new mechanism for requeuing a key. (# 2201)
  > 889b567 Update community files (# 2199)

/lgtm
/approve
Good Job!


Handle a number of deprecations

See individual commits for details.

/remove-lifecycle stale

/approve

/hold
for https://github.com/openshift/library-go/pull/1643#discussion_r1532117011

Looks good to me as well!


In Firefox, navigating to a table with less rows leaves a default

When switching between items, the value of the extra row isn't set back to null. See Screen Designer for the authorisations.

Appears to be okay on Work PC. Maybe just Home PC install of Firefox?

Not just in Firefox. Also causing issues in Chrome. Fixed for table screen by using new function clearInputWhenReadDataBindingChanges.

Still occurring after change on Live.


fix: update patch libs, add travis node 12,14

Overview
Update version of lodash specifically to resolve security issue.
Add nodejs version 12 and 14 to travis CI matrix

Thank you 🙏<EMAIL_ADDRESS>


Add federation deployments to deploy.yaml

Missed in https://github.com/google/exposure-notifications-server/pull/260 because I didn't understand why we would need it, but now I do (because the Terraform deployments will only happen when Terraform is run, whereas this file will run every time a new commit is merged to master)

/assign @mikehelmick

/lgtm
/approve


NSFS | NC | CLI | Add force_md5_etag option to account and bucket schema/create/update

Environment info

NooBaa Version: VERSION
Platform: Kubernetes 1.14.1 | minikube 1.1.1 | OpenShift 4.1 | other: specify

Actual behavior

Currently a user can not set force_md5_etag property to account/bucket.

Expected behavior

A user can not set force_md5_etag property to account/bucket.

Steps to reproduce

More information - Screenshots / Logs / Other output

Similar to what we have in regular deployments, add this option to an account config

Ref to usage in namespace_fs
https://github.com/noobaa/noobaa-core/blob/d1bf8c465af745dedbff9d3803ec13da344884ba/src/sdk/namespace_fs.js#L1607

Hi,
I have an open question (also described in the PR comment).
If I have a general configuration with config.NSFS_CALCULATE_MD5 true.
Someone use the Manage NSFS CLI and decides that there is an account that will be a test account and creates it with --force_md5_etag false, what do we think that the value of md5_enabled should be?
Currently, the md5_enabled is still true.
cc: @romayalon @naveenpaul1 @nadavMiz

Specific Bucket/Account settings override global settings

@nimrod-becker @nadavMiz  it doesn't happen currently, do you want this change in the PR or a different one?
The current PR can be approved if we know it is a GAP to close (since it doesn't relate to the manage NSFS CLI).

Closing, @nadavMiz fixed it in PR #7915.
Adding request validation label.
cc: @romayalon


some of psar results are not same as Tradingview

Which version are you running? The lastest version is on Github. Pip is for major releases.
My pandas_ta version is the latest: 0.3.14b0.
Is your feature request related to a problem? Please describe.
df.ta.psar(af0=0.5, af=0.2, max_af=0.4, append=False)

the result is:

there are some differences with tradingview:

I ran the data for about six months,
there will be some different results sometimes.
You can check the red numbers, it is different from Tradingview.
I used Bitcoin futures data from Binance API and BTCUSDTPREP symbol from Binance in Tradingview.
The two data are totally the same.
Describe the solution you'd like
Could you tell me why and how to fix it?
Thank you very much.

Hello @Ben0ni,
Please update to the development version and let me know if you have the same issue.

There was an initial index increment requested in here for the for loop.
It is sometimes difficult to match TV. 😐  But if you can figure it out, would appreciate a PR. 😎
Kind Regards,
KJ

@twopirllc

I did the update.
However, the result is totally the same as before.

@Ben0ni
Damn!
Like I said, it is sometimes difficult to match TV. 😐 For more info, see https://github.com/twopirllc/pandas-ta/pull/311
If you can figure it out, we would appreciate a PR. 😎
Kind Regards,
KJ

Hi guys,
I think that it is really hard to maintain issues like this. I've made some tests. Sorry, I wrote this code in few min and did not see python for a long time.
import pandas as pd
import pandas_ta as ta
import numpy as np

if __name__ == "__main__":
    data = pd.read_csv("BINANCE_BTCUSDTPERP, D.csv")

    data.ta.psar(append=True)
    data.fillna(0, inplace=True)

    print(
        np.corrcoef(data['ParabolicSAR'].values,
        data['PSARl_0.02_0.2'].values + data['PSARs_0.02_0.2'].values)
    )

    print(
        np.corrcoef(data['ParabolicSAR'].values[10:],
        data['PSARl_0.02_0.2'].values[10:] + data['PSARs_0.02_0.2'].values[10:])
    )

Output:
[[1.         0.99986257]
 [0.99986257 1.        ]]
[[1. 1.]
 [1. 1.]]

The one and only difference between TV and Pandas TA is that TV calculates starting SAR in much simple way. I think that TV starts with Long PSAR and previous low. Pandas TA uses DM. This is not an issue in my opinion, because Parabolic SAR corrects itself after few iterations (you can see second correlation).
Best,
AbyssAlora

Hi guys,
I am really sorry for my spam, but i little bit more dig into this issue and found that @Ben0ni is right. I found that SAR after reverse is sometimes different. Here is the original version of PSAR from Pandas TA:
          high       low  ParabolicSAR  PSARl_0.5_0.4  PSARs_0.5_0.4
41     8108.54   7852.12     7812.0000      7812.0000         0.0000
42     8300.50   7871.17     8300.5000         0.0000      8300.5000
43     8334.57   8150.00     7852.1200      7871.1700         0.0000
44     8290.00   8000.00     8334.5700         0.0000      8334.5700
45     8047.78   7172.76     8334.5700         0.0000      8334.5700
46     7495.81   7337.44     8290.0000         0.0000      8290.0000
47     8800.00   7359.00     7172.7600      7172.7600         0.0000
48    10408.48   8626.89     7337.4400      7337.4400         0.0000
49     9803.83   9066.07     7359.0000      7359.0000         0.0000
50     9930.13   9156.03     8578.7920      8578.7920         0.0000
51     9569.10   9070.00    10408.4800         0.0000     10408.4800
52     9418.65   8975.72     9930.1300         0.0000      9930.1300

ParabolicSAR -> TV version (exported)
The output for correlation (warmup period is ignored):
[[1.         0.99914584]
 [0.99914584 1.        ]]

You can see the row 43 where Pandas TA is 7871.1700 and TV is 7852.1200 (looks like TV PSAR is not looking just to previous H/L after reverse). It looks like reversal is calculated in the right way. I've made a new version for experiments trying to fit TV:
def psar(...) -> DataFrame:
   ...
        if reverse:
            # _sar = ep
            if falling:
                _sar = min(low.iloc[row - 1], low.iloc[row - 2], ep)
            else:
                _sar = max(high.iloc[row - 1], high.iloc[row - 2], ep)
   ...

Result:
          high       low  ParabolicSAR  PSARl_0.5_0.4  PSARs_0.5_0.4
41     8108.54   7852.12     7812.0000      7812.0000         0.0000
42     8300.50   7871.17     8300.5000         0.0000      8300.5000
43     8334.57   8150.00     7852.1200      7852.1200         0.0000
44     8290.00   8000.00     8334.5700         0.0000      8334.5700
45     8047.78   7172.76     8334.5700         0.0000      8334.5700
46     7495.81   7337.44     8290.0000         0.0000      8290.0000
47     8800.00   7359.00     7172.7600      7172.7600         0.0000
48    10408.48   8626.89     7337.4400      7337.4400         0.0000
49     9803.83   9066.07     7359.0000      7359.0000         0.0000
50     9930.13   9156.03     8578.7920      8578.7920         0.0000
51     9569.10   9070.00    10408.4800         0.0000     10408.4800

with correlation (warmup period is ignored):
[[1. 1.]
 [1. 1.]]

I am not sure if it is the only thing to change, but I hope it helps.
Kind regards,
AbyssAlora

@AbyssAlora
Thanks, it works.
Now the result is all the same.

Do we look at " PSARr_0.02_0.2"  for uptrend and downtrend?

Hello @kaanguven,
So "PSARr_0.02_0.2" is an extra column providing the "reversal", when it switches from long to short and back.
The uptrend is the long column or "PSARl_0.02_0.2" and the downtrend is the short column or "PSARs_0.02_0.2".
If you want one PSAR line, then you need to combine the up and down trend lines into one signal.
When in doubt, plot the results and see what is useful. Also check help(ta.psar).
Kind Regards
KJ

Hello @einarjohnson

hi there. are there any plans to merge these changes into main and into a new release?

Yes and you can become more familiar with the future main but using the development branch. It has numerous improvements across the board. There are still some outstanding PRs, Issues, and features to include before making a new release.
Kind Regards,
KJ

@twopirllc , thank you for such a quick response.

@twopirllc, I have one question about the development branch. I am currently plugging it into our project I have noticed that the rsi momentum indicator does not seem to behave like the one defined on the main branch. to be more specific, it seems to me that it is not returning nan values for the first 14 rows of data when we use the default length=14 parameter. There is only a nan value in the first row.
Screenshot of dataframe:

Is this change to be expected on the dev branch and thus future releases?


Fix CABAL_VERSION argument in building ghc-cabal

Part of https://github.com/snowleopard/hadrian/pull/312, which can fix the version number in setup-config's header section

Thanks! Looks good to me.
Just one note: we could probably also get rid of the hard-coded list cabalDeps, since we are now parsing the .cabal file anyway. Do you think you could do that?
Anyway, this should probably be done in a separate PR. Shall I merge this?

Just one note: we could probably also get rid of the hard-coded list cabalDeps, since we are now parsing the .cabal file anyway. Do you think you could do that?

Sure, I will do it another time.

Shall I merge this?

Yes, thanks.


Hilla forms reference documentation examples no longer works correctly

Vote to prioritize: add a 👍 reaction to help the community and maintainers prioritize this issue.

On https://hilla.dev/docs/data-binding/reference page and others in same section you define model properties in examples as readonly properties, e.g.:
readonly fullName = new StringModel(this, 'fullName', new NotEmpty({message: 'Cannot be empty'}));

If the model properties are not defined as getters using this_getPropertyModel inside, e.g.:
get amount() {
    return this[_getPropertyModel]("amount", NumberModel, [false]);
}

then @hilla/form validation no longer works correctly since it explicitly checks for getters in model. Btw this is a breaking change which was introduced in minor version update in @hilla/form which is wrong...
I know that your intent is to generate the models from endpoints, but on our projects we cannot use the hilla server side endpoints because of incompatible security model so we have to define the client models manually and the documentation was very misleading in this case.

Sounds like a bug we should fix. Let us add support for fields on par with getters.
Note: with fields it is impossible to define a self-referencing model. That's why we moved to using getters in generated models.

Sounds like a bug we should fix. Let us add support for fields on par with getters.
Note: with fields it is impossible to define a self-referencing model. That's why we moved to using getters in generated models.

It's not a problem to use the getter (maybe a little bit more user friendly notation would be welcome), just that the documentation has old examples which no longer work properly.


Switch to just import cirq in circuit_test.py

We've been doing it. There's not many left.

Automerge cancelled: A status check is failing.


ObjectHandlerBase Tokenize

Changed Tokenize back to allow tokenization of propertybag values (no only urls).
Eg.
Within "ObjectPropertyBagEntry.ExtractObjects" propertybag values are tokenized.
            foreach (PropertyBagEntry propbagEntry in template.PropertyBagEntries)
            {
                propbagEntry.Value = Tokenize(propbagEntry.Value, web.ServerRelativeUrl);
            }

Hi @SchauDK, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Hi Michael,
thx for this one. We'll have a look on this in upcoming days.

Thank you Michael!


Render happens twice on page load

Describe the bug
The problem is that when the page is loaded, the component is rendered twice instead of once, which can cause issues with performance and functionality.
To Reproduce

Go to Snack posted below.
See logs. The logs will show that the render function is being called twice.

Expected behavior
Render to only happens once.
Versions (please complete the following information):

react: v18.2.0
react-native: v0.71.4
react-native-gesture-handler: v2.5.0
react-native-reanimated: v2.9.1
react-native-reanimated-carousel v3.1.0

It happens on all devices but impacts smartphones more due to render items taking up memory on initial load

The same with me!


Use feature gates to control whether the count of remaining items is allowed to be returned

Currently, if  need to return the RemainingItemCount, we need to set withRemaingCount in the Search Label or url query https://github.com/clusterpedia-io/clusterpedia/pull/33
It is now possible to allow all requests to return the RemainingItemCount by reusing the feature gate of the kube apiserver -- RemainingItemCount

I think it's better if the both of those way is be supported.  the RemainingItemCount is not required very much. what do you think?

@calvin0327 Yes. Use feature gate to control the default behaviour and also support active setting in the url query or search label

/assign

@feeltimeQ Thank you for joining!

The default value for feature gateway RemainingItemCount is true.
We can't change this default, so it seems we need to actively set it in the charts and  apiserver deploy yaml. --feature-gates=RemainingItemCount=false.
https://github.com/clusterpedia-io/clusterpedia/blob/e38f39f03d2483ebbfc5b2c96a13e6b71a0f835f/deploy/clusterpedia_apiserver_deployment.yaml#L36-L44
What do you think? @calvin0327 @cleverhu


rootless-install.sh: bump up to 19.03.7

Can we somehow automate this?
I suggest adding the latest version string ("19.03.7") to  a text file like https://download.docker.com/linux/static/stable/x86_64/LATEST

@StefanScherer @thaJeztah @tonistiigi @tiborvass

I suggest adding the latest version string ("19.03.7") to a text file like
https://download.docker.com/linux/static/stable/x86_64/LATEST

Could be good to have; we may have to consider what works best (also if we decide to move containerd and possible the cli to a separate tar)

@tiborvass @silvin-lubecki ^^

The checks are still on Waiting for status 🤔cc @thaJeztah @StefanScherer

@silvin-lubecki yes, I think there's a bug on GitHub where, after you mark a check as "required", it will be added to existing  PR's, but never actually run (or complete) 😞
@AkihiroSuda could you do a force push to see if that helps?

I've kicked off https://ci-next.docker.com/teams-core/job/get.docker.com/job/upload-rootless-install/5/
Something we want to convert into a GH action soon :-)

Was thinking about that (didn't know how it got deployed). Would we need an option to make changes without them being deployed directly? (In case there's large changes for an upcoming release) guess we could use a feature branch for that or something 🤔


Using unittest runner

Removed dependency on Pytest
Tests run predictably from any directory

Good tasks to do next:

Fix the Lint warnings
Move the line_of_sight_analysis.kml file into its own dir and have the entire dir be ignored.
Consider adding a formatting action such as Black.

Thanks Ben


Netcore refactor build WIP

I have updated the netcore branch with the refactor-build changes.
I did run into some issues though. We have 2 versions of the AppContext in the compatibility layer, I deleted the one in the test project because I thought it would be good to leverage InternalsVisibleTo just like Core does to get round the internal class modifier. Sorry if I missed some conversations on this(I blame British Telecoms).
We also have a few tests failing failing, not too serious mind you but I thought I would start a conversation and get the PR going.
My goal here is to get a failed build going for netcore so we can start migrating tests. We also need to consider some of the SILVERLIGHT build symbols still knocking about.

#241

For the AppContext there was a discussion https://github.com/castleproject/Windsor/pull/267#discussion_r120069735
I have included the file from Castle.Windsor directory in this commit: https://github.com/castleproject/Windsor/pull/272/commits/1f8f2fe3520f709a19b298639620df361139c7ca

@alinapopa - Interesting. I still had to add these namespaces to make it compile after deleting it.
https://github.com/castleproject/Windsor/pull/270/commits/6c622e46481b25de87797f421a12ca17d8539042#diff-8cd94cbc9518ce2b6b4a83f3b20a4c2fR21
https://github.com/castleproject/Windsor/pull/270/commits/6c622e46481b25de87797f421a12ca17d8539042#diff-91149d79f52b6063cd5d4a9b37aa963fR21
https://github.com/castleproject/Windsor/pull/270/commits/6c622e46481b25de87797f421a12ca17d8539042#diff-13278852499736e2295dc81caae6f232R22
https://github.com/castleproject/Windsor/pull/270/commits/6c622e46481b25de87797f421a12ca17d8539042#diff-a5c21b4a91aa747c7cfdf8471836def6R22
https://github.com/castleproject/Windsor/pull/270/commits/6c622e46481b25de87797f421a12ca17d8539042#diff-79045564f824b06efee7be484c993bdcR24
https://github.com/castleproject/Windsor/pull/270/commits/6c622e46481b25de87797f421a12ca17d8539042#diff-426a283953c953ce976a76f3e6716567R23

@alinapopa - We need to sync up and get on the same branch.

@alinapopa - We can then add this to the build script and the framework moniker for netstandard to the test project. This would yield failed tests in pursuit of #271.

@alinapopa

For the AppContext there was a discussion #267 (comment)

I think what @jonorossi was saying here was he was not happy using a shared project. What I have also seen used before was the use of the InternalsVisibleTo attribute to expose internals to tests which to me seemed like a tidier way of achieving this.
Will ping back tomorrow after your feedback.

I think what @jonorossi was saying here was he was not happy using a shared project. What I have also seen used before was the use of the InternalsVisibleTo attribute to expose internals to tests which to me seemed like a tidier way of achieving this.

Yep, I thought @alinapopa was talking about those "shared project" types that were the alternative to PCLs that don't compile but just hold code compiled into something else.
InternalsVisibleTo might not be the best option, it might cause you grief in the future if you accidentally don't expose something needed for normal use of Windsor but won't be picked up by unit tests because they could then use internal code.
Since we are literally talking about one single line method that is a polyfill I didn't see a problem being duplicated between projects.

@fir3pho3nixx I won't be around until much later today, feel free to merge after changing the ordering in csproj file so that tests pass.

@alinapopa - thanks, will get these changes in by tomorrow evening. I am off to go vote this evening.

InternalsVisibleTo might not be the best option, it might cause you grief in the future if you accidentally don't expose something needed for normal use of Windsor but won't be picked up by unit tests because they could then use internal code.

Sorry @jonorossi but doing the right thing is difficult sometimes. I am siding with @kkozmic on this one. Duplicating type definitions across modules creates other cody type issues, eg the namespaces have to be the same for a start(with shared projects you might have this), behaviours can evolve independently over time if they are copied classes. If they are linked via msbuild, you are one change away from this going horribly wrong. I feel very strongly that this is a tidy way of hiding internals from your public api but creating a backdoor for testing without esoteric ephemeral linking or duplication. It also creates all sorts of mental issues when you start reflecting into assemblies to solve production problems. I am pretty sure this is OK.

@alinapopa && @jonorossi - I am going to go ahead and merge this. In the absence of a positive signal about the InternalsVisibleTo attribute I have left this out for now.
Thanks for reviewing.

As an aside, I really enjoyed reading this: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/1709

I am going to go ahead and merge this.

👍

In the absence of a positive signal about the InternalsVisibleTo attribute I have left this out for now.

Oops, I didn't realise you were expecting a response. I said "InternalsVisibleTo might not be the best option" as that thought came to mind, however you clearly want to so let's go with it. I've used InternalsVisibleTo in the past for the exact same reason and it is a good reason, I just wanted a thought I had captured. Maybe doing this will help us get rid of those "Internal" namespaces.

As an aside, I really enjoyed reading this: DefinitelyTyped/DefinitelyTyped#1709

Castle is tabs, and has been since 2003 😄, unfortunately there is a bit of mixed code that has snuck through. We've got #237 logged to add an editorconfig file like we've had in Core for ages.

Oops, I didn't realise you were expecting a response. I said "InternalsVisibleTo might not be the best option" as that thought came to mind, however you clearly want to so let's go with it. I've used InternalsVisibleTo in the past for the exact same reason and it is a good reason, I just wanted a thought I had captured. Maybe doing this will help us get rid of those "Internal" namespaces.

No problems at all. I will do it as a separate PR.


"unauthorized error cannot add subdomain ahmedthabet-wiki-w1 to zone tfgw-testnet-01.3x0.me",

when deploying a wiki I used w1 i'm sure i used it before somewhere, but wasn't in my workloads list. after continuing with the chatflow it failed node 6RZfnjuXVLFdtZh218hn4BLzsoKkTVpweqWECk5YUKud with workload id 478645
https://explorer.testnet.grid.tf/api/v1/reservations/workloads/478645
the error message was "unauthorized error cannot add subdomain ahmedthabet-wiki-w1 to zone tfgw-testnet-01.3x0.me",
I think we can do some more validation on the domain user or even adding extra character or something

Let's double check the logic for deleted a record properly works


Continuous Deployment (CD) of cb-network services on self-hosted runner

What would you like to be added
: I'd like to continuously deploy cb-network services (i.e., controller, cladnet-service, and admin-web) on the self-hosted runner when a pull_request is merged.
Why is this needed
: It's needed to provide the latest version of cb-network services.

Ref: Storing workflow data as artifacts

These are some of the common artifacts that you can upload:

Binary or compressed files

Redundant compiling of cladnet-service is inefficient. For example, compiling it at on-PR and on-merged (i.e., on-push by merged).
To avoid it,  I'd like to upload the cladnet-service execution file to the artifacts on PR and download and use it on-merged.


MSETNX behaves wrong

<IP_ADDRESS>:6379> get a
(nil)
<IP_ADDRESS>:6379> get b
(nil)
<IP_ADDRESS>:6379> get c
(nil)
<IP_ADDRESS>:6379> set b b
OK
<IP_ADDRESS>:6379> msetnx a a b b c c
(integer) 1
<IP_ADDRESS>:6379> get a
"a"
<IP_ADDRESS>:6379> get b
"b"
<IP_ADDRESS>:6379> get c
"c"
The reason is AggregateMSetNX extends AggregateBroadcast which overrides begin method, it just check Command's first key. So if I set the second key already, it doesn't validate existence right. So is it really necessary to broadcast to all KeyNodes for behaviors like MSETNX?
Also is there a plan to write some test cases?

The idea with using broadcast is that it optimizes for a large number of keys. If we didn't use broadcast, we would have to run EXISTS for every individual key, which would mean num messages == num keys. Instead we broadcast all keys to all KeyNodes - so num messages == num keynodes. Since each KeyNode then gets all keys, some which don't map to it, they should just return false values in their responses, which is fine - so long as we get back true values for the keys that do exist, from the KeyNodes they belong to.
Having said all that, I can see the bug, but I don't think it's due to using broadcast, which is the intention here - need to keep on digging, let's see who finds it first.
Also yes, we definitely need tests! I wonder if we can somehow leverage an existing set of tests for Redis? I tried using the TCL tests for Redis itself, but I couldn't get them to run against an external server, and they're probably too exhaustive anyway. Can you think of any other spots we mind find a good set of general Redis tests?

Ok I found the bug - it was as simple as the wrong method name being overridden in AggregateMSetNX - it should have been broadcastArgs instead of keys. Basically if you study AggregateBroadcast (which AggregateMSetNX eventually extends), you'll see it takes over the keys method with an integer range (one per KeyNode, since it's communicating with all of them), and then uses its own broadcastArgs to implement command args (or keys).
I also updated the comments to try and explain this more clearly. Thanks again for the report! Looking forward to the next bug. :-)

Fixed in 3a53d78bb1a2e658d53f1e587c877d4e6076ae4f

What about tests for a java or scala redis client?

Great idea
On 10/07/2015 12:32 PM, "tramchamploo"<EMAIL_ADDRESS>wrote:

What about tests for a java or scala redis client?
—
Reply to this email directly or view it on GitHub
https://github.com/stephenmcd/curiodb/issues/6#issuecomment-120205668.


Huaya douyin, opening it again will cut off the flow

Huaya douyin hls stream will be interrupted when opened again

streamlink-go will not caching any data, all the actions of extract streams will doing again when reopen

streamlink-go will not caching any data, all the actions of extract streams will doing again when reopen

I only found out yesterday that running streamlink go first, opening Douyin or Huaya live stream for the first time can play normally. After closing the player, opening the live stream again and playing for 2 minutes will cut off the stream

Is there a way to reproduce this bug stably? I used it as a service on my router and didn't find any similar problems.

Is there a way to reproduce this bug stably? I used it as a service on my router and didn't find any similar problems.

I am using streamlink go. exe on the Windows system, and I don't know about other options. However, running streamlink go. exe through cmd on the Windows system works fine for the first time and requires me to close and rerun streamlink go. exe for later use. Otherwise, the stream will be interrupted in about 2 minutes

try run streamlink-go with
streamlink-go.exe --debug --logfile debug.log
reproduce this bug and upload debug.log

try run streamlink-go with
streamlink-go.exe --debug --logfile debug.log reproduce this bug and upload debug.log

I will try downloading it again now to see if the previous exe is damaged

I downloaded it again and now it seems normal again. Maybe it's because I used to download binary files, Sun Hun

Ok. I'll close this issue. BTW, this repository will be archived. It has been merged into https://github.com/nv4d1k/live-stream-forwarder .


Debug bundlesize

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Oh cool, everything's working 😄

is it?


App crashes on Take snapshot +upload in latest version

No crash page, just goes blank and get a web contents error.

This will be disabled for now until Electron side is fixed: https://github.com/electron/electron/issues/20750

https://github.com/electron/electron/issues/20750#issuecomment-727066103

hey! fixed!


Quickstart Kind - Stuck After - In-memory channel installed

I tried to go back to version 1.6 and still the same issue on my machine.
mt-broker-controller and mt-broker-ingress are not getting in a ready state.
The eventing is exactly what I want to demonstrate.
Is there an easy fix for this? Should I try minikube instead?

I am going to upgrade KIND and see if I have better luck.


Cannot read properties of null (reading 'style')

I get an error when i use SunEditor, for more detail please check imag

e

Please let me know under what circumstances the error occurs.

This is still happening in the latest version:
"suneditor": "2.45.1",
"suneditor-react": "3.6.1"
It happened when pasting an image from a screenshot, inside the editor.

We ran into this as well, it appeared when we had a tag like so in an email reply (munged by the user's email client):

We think it's possible when that image tag fails to load because of the missing source, Suneditor should do a nil check or something before attempting to set attrs on it.

Actually this is a real showstopper, since the error occures while the editor is initialized, thus no eventhandlers are added afterwards, what results in changes cannot be handled and saved. It's a deadlock situation in our application.
Please fix this bug or at least catch the exception, that at least the editor instance is returned for futher processing.
Cheers.

Still having the same issue. In my case I had an image like below

I have managed to bypass the error by adding  before  tag, but this was a one time solution.


Expose whether attestation is supported by OE

We have functionality that depends on enclave attestation that we want to build into the application, and which should not be governed by a runtime flag. We currently detect whether oesign is linking libsgx, which implies the presence of the attestation functionality, but it's obviously not a particularly good way to do that.
If the exported CMake functionality could expose whether the OE install has that functionality through a definition or some other mecanism, it would be very helpful.

@achamayou Let's talk about this sometime, Amaury. I'm going to close this issue for now, but we should follow up about this.


steven: steven is rendering invisible NPC's

Steven is rendering invisible NPC's.

Left / Red = Blaze
Mid / Grey = Wither
Right / Beige = Villager

Steven:

versus Minecraft:

Merged into #55


Slice and loop region

Hi, I'm currently exploring ways to expose current_duration + total_duration over both StaticSoundData and StreamingSoundData<T>, and there's something that keep getting me confused:
shouldn't the slice and loop_region be internally modified ?  (without touching public API)
Context
As far as I understand, if we e.g. have:

a sound whose initial slice/duration is 10s
set e.g. its loop_region(2..4) the sound will loop starting from 2s up to 4s
but the slice will still indicate 10s, which feels misleading.

Even more, if we follow-up with the same example and:

set its slice(6..7)

Then as far as I can tell we have a bug because on one side:

duration now returns 1s (6..7)
while our loop_region is 2s (2..4)

Worse, both regions do not even overlap. So when it gets played, does it:

loop from 2s to 4s ?
play without loop from 6s to 7s ?
do not play at all ?

Suggestions
Naive solution
As far as I understand, and please correct me if I'm wrong, but:

loop_region(..) should modify internal slice while setting a separate loop parameter to true
slice(..) should keep modifying internal slice while setting separate loop parameter to false

This way it is guaranteed to always have a correct slice with a consistent duration and interface does not require any breaking change.
More elaborate solution
Unless you purposely want to be flexible and let crate users being able to specify both a slice which can contains a smaller loop_region to have a sound that starts playing e.g. from 1s to 9s while looping on the last 3s for example. But in that case, shouldn't the loop_region always be a smaller region contained inside the current slice, but it's not currently validated by the setters.
Good-enough solution
If no change at all is preferable, at the very least it feels like the API should expose:

total_duration: total duration without taking account neither slice nor loop region modifications
loop_duration: pretty self-explanatory

Current state for downstream users
Last but not least it could be a concern left to downstream crate consumers,
but there's something particularly annoying in the current state of the API.
We can perfectly calculate duration(s) ourselves for StaticSoundData by doing something like:
impl SomeTrait for StaticSoundData {
   fn total_duration(&self) -> Duration { self.slice(None).loop_region(None).duration() }
}

Except the downside is that StreamingSoundData<T> requires a self instead of a &self for StaticSoundData, forcing every method which needs the duration of a T: SoundData to automatically require self to be agnostic over both types.
Thanks for your time :)

Now I also realize that looping sound, and some streaming sounds, can be considered as having an Infinite duration.
But it could still be useful to expose a way to know what is the looping_region portion of audio duration.
And for streaming sound that never ends, Infinite would also be a plausible way to express it.

I'm willing to open a PR if it can helps, but I need your feedback first to be sure to not go in the wrong direction.

I think you're misunderstanding the slice feature. Slicing a sound is meant to be semantically like you created a brand new sound with a portion of the original sound's audio data. It's not actually copying any audio data, but you could think of it like it is. As such, the loop region is relative to the slice. Say you have a sound with data points A through F:
A B C D E F
0 1 2 3 4 5

And then we take a slice of the sound from times 2-5 (inclusive):
C D E F
0 1 2 3

If we set the loop region from 1-2 (inclusive), we'll hear D and E repeatedly, even though those were at positions 3 and 4 in the original sound.
Going back to your example where you have a slice of 6..7 and a loop region of 2..4, that loop region is out of bounds, but not in the way you think it is. You'd be trying to loop a region after the end of the sound, since the sliced sound is only 1 second long and you're trying to play a portion 2 seconds in. (I believe in this case, the sound wouldn't play at all, but I'd have to check what the behavior is because I haven't made any promises about what that behavior should be.)

Thanks for the follow-up, this explanation actually clarify everything (and would be worth added in the docs).
I've opened PR #103 to expose ways to retrieve durations.


Can I pass request headers when creating a sound instance?

I am trying to reference an mp3 file in my Sharepoint database, but I need to pass a token in order to retrieve it. Is there a way to pass request headers as params when creating a sound instance?
Thanks in advance!

Hi! You can load the sound first and then pass the data into new Sound(). Hope this helps!


Making readme more descriptive

Also adding some relevant hyperlinks and other minor edits

This change is

/lgtm
/approve