Error: No available formula with the name ".../homebrew-core/Aliases/python"

brew config output
HOMEBREW_VERSION: 3.6.1-58-g7a14ae6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 7a14ae61874770d9ceaee716f90e19c3b5674caa
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 2427a1e537e71d53412b6b3364f8d3c5f9a7f750
Core tap last commit: 4 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: quad-core 64-bit sandybridge
Clang: 14.0.6
Git: 2.34.1 => /bin/git
Curl: 7.81.0 => /bin/curl
Kernel: Linux 5.15.0-47-generic x86_64 GNU/Linux
OS: Ubuntu 22.04.1 LTS (jammy)
Host glibc: 2.35
/usr/bin/gcc: 11.2.0
/usr/bin/ruby: 3.0.2
glibc: N/A
gcc@11: N/A
xorg: N/A

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

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
<EMAIL_ADDRESS>
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

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

Verification

[X] I ran brew update and am still able to reproduce my issue.

What were you trying to do (and why)?
Upgrading my packages like i do every week brew upgrade
What happened (include all command output)?
Error: No available formula with the name "/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Aliases/python".
What did you expect to happen?
Packages to be upgraded normally
Step-by-step reproduction instructions (by running brew commands)
Just install home brew on a nix system and run `brew upgrade`

See discussion here https://github.com/Homebrew/discussions/discussions/3660

seeing the same issue, also on Ubuntu 22.04

I found a workaround:
not sure how it is used exactly, but I think the reference to the alias comes from the install receipt<EMAIL_ADDRESS>I manually updated the JSON and changed .source.path to point to the actual formula instead of the alias, and my brew upgrade works again.
* after manual edit:
$ cat<EMAIL_ADDRESS>| jq -r .source.path
<EMAIL_ADDRESS>

I'm seeing the same issue on Ubuntu 20.04 running on top of WSL 2. Wild shot, but could it also be related to Homebrew/discussions#3631?


Use proper git URL for GitHub repos

It can be seen in the following link that a git repo URL from GitHub should end with ".git": https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#about-remote-repositories

Could you provide a reference saying that URL without .git suffix is inappropriate? I know this is somewhat a convention, but I couldn't find any official doc from GitHub telling their preference.

I can't find one either.
However after more digging, I found something interesting (at least for me):

https://stackoverflow.com/questions/11068576/why-do-some-repository-urls-end-in-git-while-others-dont
Almost everywhere on Github web interface is providing *.git links. This strongly suggest that Github wants it to be seen as bare repo.
https://stackoverflow.com/questions/7861184/what-is-the-difference-between-git-init-and-git-init-bare/7861243#7861243
This seems to explains why Github uses a bare repo.

I would prefer to stick to what the repo hosting service provides.

It also needs a bit more work to interact with URL containing .git. See:

IMO the comment in code is misleading, or at least it misunderstood it.
Here is how Github (https://docs.github.com/en/rest/commits/commits#list-branches-for-head-commit) puts it:

repo string Required
The name of the repository. The name is not case sensitive.

My understanding is that "repo URL" != "repo name" as the former could be a link to a git bare repo (which would contains ".git" suffix).

Thank you for the response! I also like the explicitness of .git and happy to merge this. However, I got some blind spots and need to make them clear :)

This strongly suggest that Github wants it to be seen as bare repo.

I doubt it. Bare repositories are less useful for average GitHub users. And average GitHub users usually expect a repo to have a working directory. We could have a contact to people from GitHub and see if cloning one or the other can reduce the stress of their services, though I also guess not, as cloning without .git is already widely used.

This seems to explains why Github uses a bare repo.
I would prefer to stick to what the repo hosting service provides.

GitHub as a service can choose any kind of infra to help themselves. This could be nothing related to us cloning bare repos without .git extension. For example, git clone --bare https://github.com/rust-lang/cargo clone a bare repo whereas git clone https://github.com/rust-lang/cargo.git contains a working directory. We could observe that GitHub handles these variants interchangeably for clients.

My understanding is that "repo URL" != "repo name" as the former could be a link to a git bare repo (which would contains ".git" suffix).

I believe that's why Cargo chops .git extension off to make the URL reflect the {owner}/{repo} format, no? You cannot even create a newrepo.git on GitHub. But you're right, services outside GitHub may need .git extension to work with bare repos.

This strongly suggest that Github wants it to be seen as bare repo.

Just to clarify myself. I realized I chosen my word badly... What I actually meant is: when creating a new git repo on github. Github probably creates a bare repo (or something alike internally) and therefore they expose the url with the .git suffix (to follow the convention?). Anyway, this is just guesswork and I still couldn't find github statement on it.

This strongly suggest that Github wants it to be seen as bare repo.

I doubt it. Bare repositories are less useful for average GitHub users. And average GitHub users usually expect a repo to have a working directory.

I think there are misunderstanding here (poor choice of words from me).
First, whether github is using a bare repo or not doesn't really concern the user, and the following is just speculation of why github repos has .git suffix.
I meant Github might internally host a repo as a bare repo (or whatever alike). And github actually do want users to know that they are working with a bare repo remotely, not one with a working directory/copy as to lessen the concern of getting the warning mentioned in the aforementioned stackoverflow link.

Indeed. I believe GitHub uses something similar internally, but I am still not convinced that GitHub wants users to perceive the existence of bare repositories, given that it probably wouldn't bring any value to GitHub.
Anyway, it's really not useful for us debating here without any information from GitHub people. I do want to merge this pull request as myself loves .git much more 😆. However, sorry I didn't mean to turn you down. It just that we need to clarify the purpose of a change even it is only a simple doc update. If we could get official advice for favouring .git, or more other benefits with .git, we could then merge this.
(such as internally Cargo uses bare repo in a few places, but I don't think Cargo wants someone to depend on implementation details)

If we could get official advice for favouring .git, or more other benefits with .git, we could then merge this.

I'm not sure what kind of statement you need from github when their official document (link in the opening post) already include .git in all the examples. And their web interface also includes it (this indication itself is strong enough IMO):
Note that the top (?) button links to the documentation.
I might be wrong, yet I can't understand why one would like to outsmart github and omit the ".git" part when none of the official document says it is supported (at least I didn't found it). This is probably just a convenience feature and IMO one should not rely on it comfortably.

:pushpin: Commit ce174d4efca90c90ee4f7e5f672017da1248ef55 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit ce174d4efca90c90ee4f7e5f672017da1248ef55 with merge 777960615afe01ca3a822398e645027f2aeb2ce3...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 777960615afe01ca3a822398e645027f2aeb2ce3 to master...

@weihanglo
Thanks for the review!


Support integers in lai_to_hex_string and lai_to_decimal_string

https://github.com/qword-os/lai/blob/f9ac992b750e4e8f0e4ba7cb6c10b14a1c788e1c/core/object.c#L383

This has been fixed in #84.


Add a series of infrastructure files from ASLPrep/XCP-D

Closes none.
Changes proposed in this pull request

Add issue templates for bug reports and new feature requests. Also add a link to Neurostars for usage questions.
Add dependabot and linting GitHub Action workflows.

The linting job is going to fail for the foreseeable future.

Move pull request template from docs/ to .github/.
Add release notes builder template.

Remove release-drafter config. Not sure if this conflicts with the release notes builder though. Does it just modify the CHANGES file?

Add badges to README, including paper DOI, GitHub repo, Docker image, CodeCov, and License.

I went on Zenodo and enable the repo, but there won't be a DOI from there until your next release.

@mattcieslak since I addressed your review comments, is this good to merge?

all good!


Tf remediation

JIRA link (if applicable)
VIH-7491
Change description
Reformatted terraform, added a guard condition for manual approval after plan and fixed some az cli issues
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

merged


Problem with AndroidX

Can't show dialog when i use Fragment of  AndroidX

@Danielbaleba got any solution to this ?

No, sorry


(wrong-type-argument stringp nil) straight-vc-git-local-repo-name called without repo parameter for doom-modeline

Here is a full backtrace, it seems that a :repo parameter is expected by this function but one is not being passed. Didn't have time to investigate further. Could maybe be an issue with the recipe itself?
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("^.*/\\(.+\\)\\.git$" nil)
  straight-vc-git-local-repo-name((:package "t" :type git))
  apply(straight-vc-git-local-repo-name (:package "t" :type git))
  straight-vc(local-repo-name git (:package "t" :type git))
  straight-vc-local-repo-name((:package "t" :type git))
  straight--convert-recipe((t) nil)
  straight-use-package((t) #f(compiled-function (package available) #<bytecode 0x155fc45>))
  straight-use-package-ensure-function(doom-modeline (t) nil)
  (progn (straight-use-package-ensure-function (quote doom-modeline) (quote (t)) (quote nil)) (straight-use-package (quote doom-modeline)) (defvar use-package--warning222 (function (lambda (keyword err) (let ((msg (format "%s/%s: %s" ... keyword ...))) (display-warning (quote use-package) msg :error))))) (condition-case err (progn (if (fboundp (quote doom-modeline-mode)) nil (autoload (function doom-modeline-mode) "doom-modeline" nil t)) (add-hook (quote after-init-hook) (function doom-modeline-mode))) ((debug error) (funcall use-package--warning222 :catch err))))
  eval((progn (straight-use-package-ensure-function (quote doom-modeline) (quote (t)) (quote nil)) (straight-use-package (quote doom-modeline)) (defvar use-package--warning222 (function (lambda (keyword err) (let ((msg ...)) (display-warning (quote use-package) msg :error))))) (condition-case err (progn (if (fboundp (quote doom-modeline-mode)) nil (autoload (function doom-modeline-mode) "doom-modeline" nil t)) (add-hook (quote after-init-hook) (function doom-modeline-mode))) ((debug error) (funcall use-package--warning222 :catch err)))) nil)
  elisp--eval-last-sexp(nil)
  #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>)(nil)
  apply(#f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>) nil)
  (progn (progn (fset (quote elisp--preceding-sexp) (function (lambda (&rest preceding-args) "\n\n(fn &rest PRECEDING-ARGS)" (let ((this-fn saved-func-elisp--preceding-sexp)) (let* (...) (if ... ... preceding-sexp))))))) (apply fn args))
  (unwind-protect (progn (progn (fset (quote elisp--preceding-sexp) (function (lambda (&rest preceding-args) "\n\n(fn &rest PRECEDING-ARGS)" (let (...) (let* ... ...)))))) (apply fn args)) (progn (if (eq (symbol-function (quote noflet|base)) saved-func-elisp--preceding-sexp) (fmakunbound (quote elisp--preceding-sexp)) (fset (quote elisp--preceding-sexp) saved-func-elisp--preceding-sexp))))
  (let ((saved-func-elisp--preceding-sexp (condition-case err (symbol-function (quote elisp--preceding-sexp)) (void-function (symbol-function (quote noflet|base)))))) (unwind-protect (progn (progn (fset (quote elisp--preceding-sexp) (function (lambda (&rest preceding-args) "\n\n(fn &rest PRECEDING-ARGS)" (let ... ...))))) (apply fn args)) (progn (if (eq (symbol-function (quote noflet|base)) saved-func-elisp--preceding-sexp) (fmakunbound (quote elisp--preceding-sexp)) (fset (quote elisp--preceding-sexp) saved-func-elisp--preceding-sexp)))))
  imalison:maybe-setq-instead(#f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>) nil)
  apply(imalison:maybe-setq-instead #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>) nil)
  #f(advice-wrapper :around #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>) imalison:maybe-setq-instead)(nil)
  apply(#f(advice-wrapper :around #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>) imalison:maybe-setq-instead) nil)
  (let ((result (apply fn args))) (when eros-mode (eros--eval-overlay result (point))) result)
  eros-around-eval-last-sexp(#f(advice-wrapper :around #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>) imalison:maybe-setq-instead) nil)
  apply(eros-around-eval-last-sexp #f(advice-wrapper :around #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'.  With a prefix argument of zero,\nhowever, there is no such truncation.\nInteger values are printed in several formats (decimal, octal,\nand hexadecimal).  When the prefix argument is -1 or the value\ndoesn't exceed `eval-expression-print-maximum-character', an\ninteger value is also printed as a character of that codepoint.\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f320f>) imalison:maybe-setq-instead) nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp)
  (if (region-active-p) (call-interactively (quote eval-region)) (call-interactively (quote eval-last-sexp)))
  eval-region-or-last-sexp()
  funcall-interactively(eval-region-or-last-sexp)
  call-interactively(eval-region-or-last-sexp)
  (let ((selection (if (or (eq arg 0) (not (eq arg 1))) (progn (quote eval-region-or-last-sexp)) (quote imalison:copy-eval-last-sexp)))) (setq current-prefix-arg nil) (call-interactively selection))
  imalison:eval-last-sexp(nil)
  funcall-interactively(imalison:eval-last-sexp nil)
  call-interactively(imalison:eval-last-sexp nil nil)
  command-execute(imalison:eval-last-sexp)

Ah nvm Seems I added an :ensure t and this caused the issue.


Drop the terse keyword in favor of a @concrete_terse macro

The terse keyword is weird and nonstandard and, more importantly, is messing with other macros like Base.@kwdef.

Turns out it's not terse that's making it not work with Base.@kwdef it's the fact that both macros are defining things that aren't struct definitions (in the case of @concrete terse it's the show methods, with Base.@kwdef it's the outer constructor`). We'll have to handle this on our side.


 See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-mbstring * is missing from your system. Install or enable PHP's mbstring extension.
  Problem 2
    - The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
  Problem 3
    - Installation request for aws/aws-sdk-php 3.112.15 -> satisfiable by aws/aws-sdk-php[3.112.15].
    - aws/aws-sdk-php 3.112.15 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
  Problem 4
    - Installation request for graphaware/neo4j-bolt 1.11.0 -> satisfiable by graphaware/neo4j-bolt[1.11.0].
    - graphaware/neo4j-bolt 1.11.0 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
  Problem 5
    - Installation request for graphaware/neo4j-php-client 4.8.5 -> satisfiable by graphaware/neo4j-php-client[4.8.5].
    - graphaware/neo4j-php-client 4.8.5 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
  Problem 6
    - Installation request for nebulaprotocol/ipfs-php 1.0.0 -> satisfiable by nebulaprotocol/ipfs-php[1.0.0].
    - nebulaprotocol/ipfs-php 1.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 7
    - Installation request for rakit/validation v0.22.3 -> satisfiable by rakit/validation[v0.22.3].
    - rakit/validation v0.22.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
  Problem 8
    - Installation request for riverline/multipart-parser 2.0.5 -> satisfiable by riverline/multipart-parser[2.0.5].
    - riverline/multipart-parser 2.0.5 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
  Problem 9
    - Installation request for stripe/stripe-php v6.43.1 -> satisfiable by stripe/stripe-php[v6.43.1].
    - stripe/stripe-php v6.43.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 10
    - Installation request for phpunit/php-code-coverage 4.0.8 -> satisfiable by phpunit/php-code-coverage[4.0.8].
    - phpunit/php-code-coverage 4.0.8 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  Problem 11
    - Installation request for phpunit/phpunit 5.7.27 -> satisfiable by phpunit/phpunit[5.7.27].
    - phpunit/phpunit 5.7.27 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  Problem 12
    - Installation request for squizlabs/php_codesniffer 2.9.2 -> satisfiable by squizlabs/php_codesniffer[2.9.2].
    - squizlabs/php_codesniffer 2.9.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
  Problem 13
    - aws/aws-sdk-php 3.112.15 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
    - league/flysystem-aws-s3-v3 1.0.23 requires aws/aws-sdk-php ^3.0.0 -> satisfiable by aws/aws-sdk-php[3.112.15].
    - Installation request for league/flysystem-aws-s3-v3 1.0.23 -> satisfiable by league/flysystem-aws-s3-v3[1.0.23].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/7.4/cli/php.ini
    - /etc/php/7.4/cli/conf.d/10-opcache.ini
    - /etc/php/7.4/cli/conf.d/10-pdo.ini
    - /etc/php/7.4/cli/conf.d/20-bcmath.ini
    - /etc/php/7.4/cli/conf.d/20-calendar.ini
    - /etc/php/7.4/cli/conf.d/20-ctype.ini
    - /etc/php/7.4/cli/conf.d/20-exif.ini
    - /etc/php/7.4/cli/conf.d/20-ffi.ini
    - /etc/php/7.4/cli/conf.d/20-fileinfo.ini
    - /etc/php/7.4/cli/conf.d/20-ftp.ini
    - /etc/php/7.4/cli/conf.d/20-gettext.ini
    - /etc/php/7.4/cli/conf.d/20-iconv.ini
    - /etc/php/7.4/cli/conf.d/20-json.ini
    - /etc/php/7.4/cli/conf.d/20-phar.ini
    - /etc/php/7.4/cli/conf.d/20-posix.ini
    - /etc/php/7.4/cli/conf.d/20-readline.ini
    - /etc/php/7.4/cli/conf.d/20-shmop.ini
    - /etc/php/7.4/cli/conf.d/20-sockets.ini
    - /etc/php/7.4/cli/conf.d/20-sysvmsg.ini
    - /etc/php/7.4/cli/conf.d/20-sysvsem.ini
    - /etc/php/7.4/cli/conf.d/20-sysvshm.ini
    - /etc/php/7.4/cli/conf.d/20-tokenizer.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
ERROR: Service 'graphjs' failed to build: The command '/bin/sh -c composer install' returned a non-zero code: 2

I'd like to give graphjs server a test without heroku.
It misses the docker-compose.yml to add a volume for the server too. But I don't what's the best way for your server.
Would you please finalize it?

Hello,
Hope you've seen my post from May 7.
Really hope to make it work.

It seems PHP 7.4 is installed on your Docker VM, not 7.3

Oh. So it won't work with 7.4?

I read PHP7.2+ in the readme,
And weird enough, when I type php in the container, only php7.3 shows up.


Add debugging statement to analyse corrupted packages

This PR is just used for debugging and should not be merged.

The debugging is done. I will close this PR now.


Refine button, and table for Dark theme

Closes: #
What's Changed

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

Now that #4765 is implemented, I think the dark-mode navbar needs some attention:

Since this is next do I have to it now?

Since this is next do I have to it now?

Fine with me if we want to do that in a follow-up PR, just want to make sure we're tracking it as an issue if so.

Issue created https://github.com/nautobot/nautobot/issues/4816

I have a PR in, #4818, not realizing this had already been created this morning.  Thoughts?  Can we somehow combine?  I have a few extra updates in mine.


Add dogstatsd check size in MQ

What does this PR do?
Add the job to check for dogstatsd size in the MQ

Motivation
The job is fast (2min for the build + 30 s for the job itself)
It can prevent failure on size that are not caught before reaching main

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Add bors tool

bors try

Is it possible to add the badge on the readme:

I changed the acces: only you and me (because I can't remove myself) can bors merge

bors merge

Weird:

bors retry

It should be ok now :)


Add ripgrep support

Disabled by default, can be enabled via search.useRipgrep.
For #19983

very good!


nuget.org "Project Site" Url

The nuget.org url does not link to this project https://www.nuget.org/packages/Mapster/

Updated

NuGet still links to https://github.com/chaowlert/Mapster instead of https://github.com/MapsterMapper/Mapster
What am I missing?

yes is always wrong


Add test to check exception for Unsupported Data Types

See #2379.
SQL CE does not support the data types TimeSpan and DateTimeOffset. We should add a test that when a user creates a model with those types in it and attempts to use it that the expected exception is thrown.
More generally it would be good to have a test which allows any provider to override the expected results so that data types which are expected to pass for that provider pass and data types which are expected to error for that provider error in the expected way.

@lajones we discussed in triage and concluded that providers should just include a test for the types they don't support (we already have this for our providers). Do you think there is something specific we need here?

Can you point me to the tests you mean when you say "we already have this for our providers"? The BuiltInDataTypes test tests that you can use supported data types but does not test what I mentioned above - that if you attempt to use an unsupported type the "right" kind of exception is thrown. Basically I want to make sure that the experience the customer gets if they include an "unsupported" data type is useful to that customer i.e. throws something or returns an error message that helps them identify what is wrong and how to fix it.

@lajones @rowanmiller There currently aren't any tests that check that Strings.UnsupportedType is thrown. It would be trivial to add such a test. I think it only needs to be a unit test, and it only needs to test that the correct exception is thrown for one unsupported type.

I think it would be better to have a test that each provider overrides listing all the unsupported types and checking that they throw (just as we test every type that is supported). It would also be useful if we ever need to enumerate for people what types are not supported by the various providers. Anyway - hopefully yes it would be fairly easy either way.

@lajones How do we determine the list of unsupported types? Do you mean unsupported "common" types for some definition of "common"? if so, what is that definition? In general there are an unbounded number of unsupported types and an application can try to use any of them. A provider should test that it works with any type that it supports. Any other type that is not recognized should cause an exception to be thrown. Testing that the correct exception is thrown for any type that is not recognized together with testing that any type that is supported works correctly seems to cover the test space. Otherwise we are picking a set of types that we think are somehow more important to test as unsupported than all the other unsupported types, and I don't see that that adds value.

@ajcvickers Yes - some definition of "common" TBD. In fact the BuiltInDataTypes test has become a test of "all C# built-in types plus some others that we think of as common". So that seems a good place to start. For instance if a provider chose not to support one of the C# built-in types I feel we should highlight that. There are also tests in that class that we support nullable versions of those types and Enums of certain integer types - to my mind those are valuable too and we should highlight it if a provider does not provide that support.
My own personal view would be that e.g. DateTime should definitely be in the "common" list even though it's not a C# built-in type. TimeSpan and DateTimeOffset (which were the original two that set off this discussion) I'm more on the fence about but on balance would probably include - and so highlight that SQL CE does not support them.

FWIW, I already have exactly this type of test added to my implementation of the TypeMapper tests... It is a very simple 2 liner test


[QUESTION] Is there a way to set the font height in pixels?

I've been given a picture to recreate and the font height is specified in pixels. Is there a way to set up an SKPaint object to draw text to a pixel height instead of a point height?

You could use the ratio... formula:
points = pixels * 72 / 96

where 96 is the pixels per inch on a 100% DPI

I actually think the API documentation is wrong, at least that's the information I got from the Skia mailing list
The SkPaint.textSize is actually the height, in pixels, that a glyph with height 1 em would get when rendered on the canvas (length #13 in this image)
The documentation incorrectly states SkPaint.TextSize is the height in points.
To verify this, I made a test program that uses this font from the Google Skia repo that has glyphs designed to have a height of 1 em units.
Here's the output of the program, the SkPaint.TextSize is 64 pixels, as is the height of the rectangle.

Good to know. Is this our docs that are wrong? I was not able to find any references to points with regards to text.

The pleasure is all mine, SkiaSharp rocks!
Only the Skia docs are wrong it seems, but the SkiaSharp doc is so brief that it is hard to understand the meaning :-)
Gets or sets the text size is not that useful for most users I guess? IMHO size could refer to width, height, line height, em height, etc...

Ah, yes. Heh, we need to improve that...
Would you like to open a PR ;)
https://github.com/mono/SkiaSharp-API-docs/blob/57ae4a903e9cba1627d0a7362d359a3d6ede80a9/SkiaSharpAPI/SkiaSharp/SKPaint.xml#L2987

Sure!

Fixed the docs.

I discovered this issue today and went to the docs wondering if text size used points or pixels. I don't think the docs were updated:
https://docs.microsoft.com/en-us/dotnet/api/skiasharp.skpaint.textsize?view=skiasharp-1.68.2
Additionally, SKFont (where I'm setting this) isn't documented at all.

I discovered this issue today and went to the docs wondering if text size used points or pixels. I don't think the docs were updated:
https://docs.microsoft.com/en-us/dotnet/api/skiasharp.skpaint.textsize?view=skiasharp-1.68.2
Additionally, SKFont (where I'm setting this) isn't documented at all.


Update server.py

changed "tmfs=" to "ds_tfms=get_transforms()" in order to get it work on google app engine

ok, great, LGTM thanks evilos.


Table borders look bad in dark mode

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I’m super excited to see #35857 and have built a copy of it to try out on my website. However, in dark mode, the borders of table cells remain black (or dark gray).
I think the best solution here would be to update the default .table class to use --bs-border-color as its border color, then add a new class (table-white?) that continues to use the current border colors, but also adds an explicit white background to table cells.
Reduced test cases
See the docs for tables: https://deploy-preview-35857--twbs-bootstrap.netlify.app/docs/5.1/content/tables/

In light mode, the very first table looks good. But in dark mode, its borders do not change color.
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Safari
What version of Bootstrap are you using?
3790ed0ec

Yeah, there's going to be a ton that's incomplete there—nearly all components aren't ready for it yet. No need to report issues on that branch/PR just yet :).

Sounds good! I only reported it because I saw no other issues with my (admittedly not super complex) website.

All good! Appreciate the extra eyes on it :). I'm very excited to see it evolve and improve!


Add CONTRIBUTING.md

I would like to avoid a long list/text but think this are a few things that we aim for and often are not clear.


[pilot] Guard against error when trying to notify testers once a Testflight build is uploaded

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
Fixes #15138 - this PR adds a guard against nil values that may unexpectedly come back from the API, effectively allowing fastlane to succeed even if this issue is encountered (which I believe is a reasonable action).
Description
For unknown reasons - likely outside of our control - the payload returned from a build uploaded to Testflight may or may not include what is defined on fastlane's  build model as build_beta_details.
In such cases even though a build has been uploaded successfully and a change log is set, fastlane still crashes due to an unexpected nil value when trying to set the autoNotify flag on the build.
This PR guards against that nil value and if absent, logs a warning to the UI letting the user know that the action wasn't performed due to the missing required information.

@googlebot I fixed it.

Thanks!

@googlebot I consent.


webpack 2.1.0-beta.25 not compatible with example

Webpack 2.1.x no longer allow a
{
  sassLoader: {
    // Apply the JSON importer via sass-loader's options.
    importer: jsonImporter
  }
}

key in the root
it yields this error
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration has an unknown property 'sassLoader'. These properties are valid:
   object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry, externals?, loader?, module?, name?, node?, output?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, stats?, target?, watch?, watchOptions? }
   For typos: please correct them.
   For loader options: webpack 2 no longer allows custom properties in configuration.
     Loaders should be updated to allow passing options via loader options in module.rules.
     Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
     plugins: {
       new webpack.LoaderOptionsPlugin({
         // test: /\.xxx$/, // may apply this only for some modules
         options: {
           sassLoader: ...
         }
       })
     }

Same here ☹

Probably related to:
https://github.com/jtangelder/sass-loader/issues/289
https://github.com/webpack/webpack/issues/3018
Haven't moved to Webpack2 yet so I can't verify. If anyone gets it working, please create a PR to update the documentation.

This works for me:
plugins: [
  // ...
  new webpack.LoaderOptionsPlugin({
    options: {
      sassLoader: {
        importer: jsonImporter,
      },
      context: __dirname,
    },
  }),
 // ...
],

And I have created a PR to update the documentation. https://github.com/Updater/node-sass-json-importer/pull/37

https://github.com/Updater/node-sass-json-importer/pull/37


unhandled nil-pointer-dereference (ocm list componentversions)

What happened
$ ocm list componentversions example.com/my-component:1.0.0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x2850cf2]

goroutine 1 [running]:
github.com/open-component-model/ocm/cmds/ocm/commands/ocmcmds/common/handlers/vershdlr.(*TypeHandler).all(0xc00150a6c0, {0x0, 0x0})
	/home/runner/work/ocm/ocm/cmds/ocm/commands/ocmcmds/common/handlers/vershdlr/typehandler.go:88 +0x32
github.com/open-component-model/ocm/cmds/ocm/commands/ocmcmds/common/handlers/vershdlr.(*TypeHandler).get(0xc00150a6c0, {0x0, 0x0}, {0x3794780?, 0xc000417390?})
	/home/runner/work/ocm/ocm/cmds/ocm/commands/ocmcmds/common/handlers/vershdlr/typehandler.go:213 +0x885
github.com/open-component-model/ocm/cmds/ocm/commands/ocmcmds/common/handlers/vershdlr.(*TypeHandler).Get(0x37958c0?, {0x3794780?, 0xc000417390?})
	/home/runner/work/ocm/ocm/cmds/ocm/commands/ocmcmds/common/handlers/vershdlr/typehandler.go:109 +0x31
github.com/open-component-model/ocm/cmds/ocm/pkg/utils.HandleOutput({0x37bcba0, 0xc00002c5b0}, {0x37bdfe0, 0xc00150a6c0}, {0xc000417380?, 0x3?, 0xc00150a6c0?})
	/home/runner/work/ocm/ocm/cmds/ocm/pkg/utils/handling.go:84 +0x1c4
github.com/open-component-model/ocm/cmds/ocm/pkg/utils.HandleOutputs(...)
	/home/runner/work/ocm/ocm/cmds/ocm/pkg/utils/handling.go:64
github.com/open-component-model/ocm/cmds/ocm/pkg/utils.HandleArgs(0xc00008fea0, {0x37bdfe0, 0xc00150a6c0}, {0xc000417230, 0x1, 0x0?})
	/home/runner/work/ocm/ocm/cmds/ocm/pkg/utils/handling.go:60 +0xeb
github.com/open-component-model/ocm/cmds/ocm/commands/ocmcmds/components/list.(*Command).Run(0xc000c168c0)
	/home/runner/work/ocm/ocm/cmds/ocm/commands/ocmcmds/components/list/cmd.go:79 +0x2bd
github.com/open-component-model/ocm/cmds/ocm/pkg/utils.SetupCommand.func1(0xc000247700?, {0xc000417230, 0x1, 0x1})
	/home/runner/work/ocm/ocm/cmds/ocm/pkg/utils/command.go:190 +0x130
github.com/spf13/cobra.(*Command).execute(0xc00025b808, {0xc0000720b0, 0x1, 0x1})
	/home/runner/go/pkg/mod/github.com/open-component-model/cobra@v0.0.0-20230329075350-b1fd876abfb9/command.go:943 +0x882
github.com/spf13/cobra.(*Command).ExecuteC(0xc0006e6308)
	/home/runner/go/pkg/mod/github.com/open-component-model/cobra@v0.0.0-20230329075350-b1fd876abfb9/command.go:1071 +0x3a5
github.com/spf13/cobra.(*Command).Execute(0x38023a0?)
	/home/runner/go/pkg/mod/github.com/open-component-model/cobra@v0.0.0-20230329075350-b1fd876abfb9/command.go:995 +0x13
main.main()
	/home/runner/work/ocm/ocm/cmds/ocm/main.go:17 +0xdc

What you expected to happen: a nice error-message
How to reproduce it (as minimally and precisely as possible): see above
Anything else we need to know: flat is better than nested.
Environment:
$ uname -a
Linux arch 6.10.0-arch1-2 #1 SMP PREEMPT_DYNAMIC Mon, 22 Jul 2024 17:28:23 +0000 x86_64 GNU/Linux

{"Major":"0", "Minor":"12", "Patch":"0", "PreRelease":"", "Meta":"", "GitVersion":"0.12.0", "GitCommit":"e5ca3001323b75ee5793a786089f1f410e9e8db3", "GitTreeState":"", "BuildDate":"2024-07-19T14:21:12Z", "GoVersion":"go1.22.2", "Compiler":"gc", "Platform":"linux/amd64"}

Hi @ccwienk ,
It tried this command with v0.12.0 and it works fine, there is the error message Error: error processing "example.com/my-component:1.0.0": component version "example.com/my-component:1.0.0" not found.
May be you have configured a default repository in you ocm config. Could you cross-check please and add this configuration to this issue..

Ok, the error happens, if there is a resolver defined in your config.
The fix to provide an appropriate error is simple, but there is a problem provide the expected correct non-error result for the list command.
A resolver is able to resolve component versions. But here only a component is specified. Therefore the resolver cannot provide a result, and the output would be an error. Nevertheless, the expected result would be to get all the versions  potentially addressable by the given resolvers.
Unfortunately this is not yet possible. I still have to think about a possible solution for this.


[FR] Add argument file support to build_zip

build_tar has support for argument file, but build_zip does not. It would be a nice feature to have since without this, we wouldn’t be able to create a zip from a lot of files due to the command line argument length limit.

This sounds like a bug more than a feature request. Is it fair to restate it as
"pkg_zip fails for large numbers of input files"?
How it gets solved is an implementation detail. When we move to pkg_filegroup, the list of source targets and where they go in the zip is going to be it's own file anyway, so that will sidestep the question of using argument files or not.

Closing since it looks like it works as expected. Sorry for the confusion.


跨集群拷贝大文件时拷贝失败

FATA[2022-05-20 14:32:24] PUT : 405 MethodNotAllowed(Message: The source object size is too large (more thran 5GB) to copy.Please use UploadPart-Copy API.)

目前新版已修复


Update aws-go-sdk version to V2

See this for migration notes: https://aws.github.io/aws-sdk-go-v2/docs/migrating
Advantages:

Better performance (read of up to 50%)
more modular => less code to compile => faster compile time

I'll started looking into the integration of the new sdk :+1:

I'll started looking into the integration of the new sdk :+1:

closed by #595 and #602


Add MaxVolumesPerNode limit to node info in Cinder CSI

What happened:
NodeGetInfo in pkg/csi/cinder/nodeserver.go should return also MaxVolumesPerNode. As openstack has default limit of 26 Cinder volumes per VM.
What you expected to happen:
There should be a way to set MaxVolumesPerNode value and it should default to 26 if nothing is provided. Other safe value for limit would be 25 so it would take a count the situation when you are using Cinder volume as root volume.
Anything else we need to know?:
Way to provider configurable value for MaxVolumesPerNode could be via openstack cloud config file. i.e
type Config struct {
 ...
  BlockStorage struct {
    MaxVolumesPerNode int64 `gcfg:"max-volumes-per-node"`
  }
}

Then we would need to introduce global variable (similar to OsInstance and configFile) for maxVolumes as it would be static after initialization. Also function is needed so that we can access it from nodeserver.go.
var maxVolumes int64 = 26

func GetMaxVolumes() int64 {
	return maxVolumes
}

We would just need to set the defined value to the global variable. If cfg.BlockStorage.MaxVolumesPerNode is defined. (int64 should default to 0 so we ignore it and also all non positive values)
func CreateOpenStackProvider() (IOpenStack, error) {
...
  cfg, epOpts, err := GetConfigFromFile(configFile)
  if err == nil {
    ...
    if cfg.BlockStorage.MaxVolumesPerNode > 0 {
       maxVolumes = cfg.BlockStorage.MaxVolumesPerNode
    }
...

Then last in nodeserver.go we could just call GetMaxVolumes
func (ns *nodeServer) NodeGetInfo(ctx context.Context, ...
...
return &csi.NodeGetInfoResponse{
  NodeId:             nodeID,
  AccessibleTopology: topology,
  MaxVolumesPerNode:  openstack.GetMaxVolumes(),
}, nil

Environment:

Cinder CSI

/kind feature

@mape90 Are you intrested in implementing this??if not i can do this

You are welcomed to implement this.

/assign

@mape90 @adisky I think the bug and the PR has different info... seems PR set to 256 and bug requested to be 25 or 26 ??
and because we have following spec in nova, what's the purpose to have this check in CPO layer instead delegate to openstack nova itself?
https://specs.openstack.org/openstack/nova-specs/specs/stein/implemented/conf-max-attach-volumes.html

I am not sure if there is any need to set any max limit for this value. The current hard coded limit in openstack side is 26. It will be configurable in future, so that if the virtualization system supports more it would then be possible to configure that value. ( they do not set any hard limit for it, however practical things might force some limits.) The 25 was only for use cases where the root volume is also cinder volume. As it also uses one of those 26 possible volume attachements.
Why we need to do checking here? Because otherwise k8s can schedule more PV mounts to nodes that it is possible to attach. This then causes that pods will never start as attachments will never succeed. But if we give this value for k8s then it can use it in scheduling and never schedule too many volume attachments (pods with PVs) to single node. Also if user tries to create more PVs than it is possible to attach to whole cluster then those pods will just hang unscheduled and it indicates correct issue to user.

ok, My understanding is usually it's not a good practice to have similar check in different layers because it might lead to inconsistency because of configuration, code change etc... so your suggestion is to provide this info to k8s and makes the error check as early as they can (to avoid call openstack cinder because we know it will fail), and this is good; and actually this should not related to cinder layer at all because in k8s we can control it, am my understanding right? Thanks a lot for your great description~

Yes this is only for informing k8s about how many volumes it can attach to nodes. So this might be less than the maximum in OS. I.e if you attach "local" cinder volumes to workers then you should decrease the max count based on how many these outside of k8s scope volumes are attached to node.

@jichenjc It is to inform kubernetes, This is done to be in sync with intree provider
https://github.com/kubernetes/kubernetes/pull/72980


time_bucket_gapfill does not support running without datapoints param.

Hi!
I'm trying to run a query with time_bucket_gapfill as follows:
MyModel.timescale.filter(time__range=ranges).time_bucket_gapfill('time', '1 day', start=ranges[0], end=ranges[1]).annotate(Count('temperature'))

However, since datapoints defaults to 240, it's not possible to pass None to the interval.

Opened a pull request https://github.com/schlunsen/django-timescaledb/pull/36. However, it seems to me that datapoints is not working properly. The behaviour intended by the timescaledb documentation does not match the one used here.


Why generating cprj when gpdsc is missing ?

> csolution.exe -s gpio-toggle.csolution.yml convert
...\STM32_basic_trace.gpdsc - warning csolution: generator 'STM32Cube_BasicTrace_CodeGen' from component 'STMicroelectronics::Utility:Debug:basic<EMAIL_ADDRESS>reading gpdsc failed
...\STM32_basic_trace.gpdsc - warning csolution: generator 'STM32Cube_BasicTrace_CodeGen' from component 'STMicroelectronics::Utility:Debug:basic<EMAIL_ADDRESS>reading gpdsc failed
...\STM32_basic_trace.gpdsc - warning csolution: generator 'STM32Cube_BasicTrace_CodeGen' from component 'STMicroelectronics::Utility:Debug:basic<EMAIL_ADDRESS>reading gpdsc failed
.../gpio-toggle.AC6+B-U585I-IOT02A.cprj - info csolution: file generated successfully
.../gpio-toggle.GCC+B-U585I-IOT02A.cprj - info csolution: file generated successfully
.../gpio-toggle.IAR+B-U585I-IOT02A.cprj - info csolution: file generated successfully

==> why generating a cprj which might be wrong as the gpdsc is missing ?

@fred-r This should have been fixed, can you please test it with the latest CMSIS-Toolbox? Thanks!


Multiple fixes/adjustments for Upstart services

This is an initial attempt to resolve the issues I've listed below.
This closes #133, #134, #135, and #138

Coverage decreased (-0.2%) to 7.381% when pulling 451a93ad48820c97923a9937ef781eaa84a7c572 on SteelPhase:upstart-things into 615a14ed75099c9eaac6949e22ac2341bf9d3197 on kardianos:master.

Coverage decreased (-0.2%) to 7.381% when pulling 451a93ad48820c97923a9937ef781eaa84a7c572 on SteelPhase:upstart-things into 615a14ed75099c9eaac6949e22ac2341bf9d3197 on kardianos:master.

I am looking into verifying the correctness of this PR, and the validity of the versionAtMost function

Thanks.
This PR looks great. If possible, is there  a way to get the upstart version without invoking init? Some busybox users don't bail when they have an un-recognized flag.

I haven't run into that specific issue. but I'll look into that.

@kardianos would /sbin/initctl version be a better options?


Added a feature to refresh the local environment and path variables. Closes #38 (I think)

This feature adds the ability to refresh the current environment variables including the path variable and also reloads the user's profile if it exists.
Closes #38


Omitting protocol parameter to websocketConnect() results in bad header on Firefox

Omitting the protocols parameter to websocketConnect() causes Firefox to send an invalid protocol header to the server
Calling websocketConnect(url, this.input) results in this header in the HTTP Upgrade request:
Sec-WebSocket-Protocol: undefined

The WebSocket connection immediately closes and Firefox prints a "Firefox can’t establish a connection to the server at [URL]" message in the console.
But if I add an empty array parameter: websocketConnect(url, this.input, []), there is no Sec-WebSocket-Protocol header in the HTTP Upgrade request.
Chrome 70 doesn't create the Sec-WebSocket-Protocol header in either case.
I am proxying the WebSocket connection through nginx to a Windows server running a custom service that uses the WebSocket implementation in .NET.
Versions:

rxjs-websockets 6.0.2
Firefox 63 on Ubuntu 16.04
nginx 1.14.0-0ubuntu1.2
.NET Framework 4.7

@JanSoderback Thanks for your report, @illusionalsagacity actually fixed this recently but it wasn't in a release. I've just published 6.0.3 with the fix, please let me know if it works for you and thanks once again to that person for the fix :)


[Ubersreik Adventures I] Token Art incorrect for 2 actors

I think the art for Gurdt and Frederick is incorrectly swapped in  Looks Can Kill
"Gurdt is smaller and leaner than his companions. He is a natural follower with few opinions of his own. He defers to Hans in all things. Frederick is overweight and sweats constantly, though has a large frame well suited to violence."From: dishwasherlove#8856foundry: 12.331wfrp4e: 8.2.3wfrp4e-core: 6.0.1wfrp4e-dotr: 6.0.1wfrp4e-eis: 6.0.2wfrp4e-starter-set: 6.0.1wfrp4e-ua1: 6.0.1Active Modules: chat-commander-wfrp4e, dice-so-nice, easy-artwork, quick-insert, socketlib, token-action-hud-core, token-action-hud-wfrp4e, warhammer-lib, wfrp4e-gm-toolkit, _chatcommands

Yes, You right


zsh completions are not installed

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running yt-dlp version 2021.02.24
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Description
python setup.py build skips the zsh completion file because it expects to find _yt-dlp but finds yt-dlp.zsh instead.
One possibility is to abandon installing completions via setup.py and have them installed via make instead, in which case it'd probably be a good idea to have the yt-dlp target either call setup.py or build the self-executing zip based on a flag.
Another possibilty (which I haven't researched in depth yet) is to try prodding setup.py into accepting yt-dlp.zsh and renaming it.
In any case, it might be a good idea to have setup.py be as declarative as possible, following PEP-517/518.

Related: https://github.com/yt-dlp/yt-dlp/pull/109 https://github.com/yt-dlp/yt-dlp/issues/108

If we go with the "setup.py is for the python artifacts, Makefile is for packaging" route, it seems the only part of setup.py that needs a non-declarative build is the lazy extractors and plugin features. Possibly there is an alternative way of building them?

and plugin features

please explain what u mean

it seems the only part of setup.py that needs a non-declarative build is the lazy extractors

Lazy extractors are buildable by either the makefile or setup.py. I don't see the harm in keeping it so. That being said, lazy extraction is buggy atm and is not officially supported. I believe the same is true for youtube-dl

I mean that aside from the dynamic generation of data_files, the only non-declarative parts of setup.py are the build_lazy_extractors class and the call to find_packages


[Refactor] Create overall code structure

As a developer, I'd like to have an overall structure of code to work with and 'fill in' as we add functionality and features
Structure should include:

[x] highway
[x] controller
[x] component
[x] active modes
[x] visitor
[x] truck
[x] tests
[x] logging
[x] documentation
[x] parameters

Reviewers: @inrokevin @lmz @davidory

@inrokevin I think this is all taken care of in #16 but for visitors?  Can you create a stub for that and then check this off?

Placeholder script added

As a matter of housekeeping, let's keep this open until is is merged in to one of the two main branches via a PR merge.
Checking it off here and moving it to "ready" in the project indicate your part is done pending a review.
Should all of this be assigned to the "architecture" branch and PR or other?

Closed via #16


Adding LICENCE section under README File.

@VFXGamer plz assign

I still want to it :) @VFXGamer

You can do it. But I won't label your PR as "hacktoberfest-accepted".

 The report link is also not working or either broken or unreachable. I think need to replace the link with , https://phishbuster-web.herokuapp.com/reports @VFXGamer

It redirects to localhost currently. Yea sure go ahead.


Convert files to tasks

What does the program do ?

In what programming language it is written?

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Notebooks: As an early access user I can learn how to use notebooks

NOTE: This will be behind a feature flag so only early access users will be able to see it

Left this blank to be not prescriptive about how to document Flows features

Common Use Cases to highlight documentation:

Downsampling
Data Cleaning with Normalization (map function?)
One off writing to buckets
Runbook
Create a dashboard cell (priority: low)

@noramullen1 - do you have a URL you can share?


filesystem RPM update transaction failure if /media symlink points to an active directory (real /run/media directory)

Describe the bug
https://github.com/microsoft/CBL-Mariner/pull/6378 introduced a change to have /media be a directory rather than a symlink to /run/media.
Prior to filesystem-1.1-16, /media used to be a symlink to /run/media but this was replaced with a directory. The RPM upgrade operation generally worked when the /media symlink is a dangling link, which is commonly the case (i.e., on Azure VM), however this is not guaranteed to always be true and the symlink could be properly linked to a real /run/media.
When the /media symlink is indeed properly pointing to a real /run/media, RPM has a known limitation where it is not possible to replace an active symlink with a directory, and thus the RPM transation fails.
To workaround this, a %pretrans scriptlet must run to test and remove the symlink before RPM attempts to install the new directory.
Refer to: https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement
To Reproduce

On a system with filesystem-1.1-15.cm2 or earlier, ensure /media symlink is an active link to a proper /run/media directory
Perform a dnf upgrade filesystem to attempt to upgrade to filesystem-1.1-16.cm2 or newer
Observe upgrade transaction failure

=============================================================================================================================================================================================================================================================================================================================
 Package                                                                    Architecture                                                           Version                                                                       Repository                                                                             Size
=============================================================================================================================================================================================================================================================================================================================
Upgrading:
 filesystem                                                                 x86_64                                                                 1.1-17.cm2                                                                    mariner-official-base                                                                  24 k

Transaction Summary
=============================================================================================================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 24 k
Downloading Packages:
filesystem-1.1-17.cm2.x86_64.rpm                                                                                472 kB/s |  24 kB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                453 kB/s |  24 kB     00:00
CBL-Mariner Official Base 2.0 x86_64                                                                                960 kB/s | 983  B     00:00
Importing GPG key 0x3135CE90:
 Userid     : "Mariner RPM Release Signing<EMAIL_ADDRESS> Fingerprint: 2BC9 4FFF 7015 A5F2 8F15 37AD 0CD9 FED3 3135 CE90
 From       : /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
Key imported successfully
CBL-Mariner Official Base 2.0 x86_64                                                                                979 kB/s | 1.0 kB     00:00
Importing GPG key 0xBE1229CF:
 Userid     : "Microsoft (Release signing<EMAIL_ADDRESS> Fingerprint: BC52 8686 B50D 79E3 39D3 721C EB3E 94AD BE12 29CF
 From       : /etc/pki/rpm-gpg/MICROSOFT-METADATA-GPG-KEY
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: filesystem-1.1-17.cm2.x86_64                                                                                1/1
  Preparing        :                                                                                1/1
Transaction couldn't start:
file /media from install of filesystem-1.1-17.cm2.x86_64 conflicts with file from package filesystem-1.1-15.cm2.x86_64
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Could not run transaction.

Expected behavior
Successful RPM update transaction and /media is a directory.
Screenshots
Related issue: https://microsoft.visualstudio.com/OS/_workitems/edit/46029046

Fixed. Will be released in next 2.0 update publish


Add Information for Setting Up the Project on Command Line

Executing commands/run.py does not work from command line out of the box (as suggested in the Readme). So maybe add the following information to the Readme for people who don't use PyCharme.
cd <path-to-project-root> # Go into project's root directory
python -m venv .venv # Create a virtual environment in .venv
source .venv/bin/activate # Activate virtual environment for the current session
export PYTHONPATH=<path-to-project-root> # Add search path, s.t. import-statements work
cd commands # For now, since relative paths are used in code
python run.py

The activation of the virtual environment and the PYTHONPATH update must happen every time a new terminal session is started.
Also a minimum python version (or at least the one with which this project is tested with) should be specified. At least the import statements only seem to work with 3.3+ (See here).

Thanks! Is now part of the .readme!


[Web] dart:web_gl NoSuchMethodError: method not found: 'get$TEXTURE_MAX_ANISOTROPY_EXT'

EXTTextureFilterAnisotropic object can not call TEXTURE_MAX_ANISOTROPY_EXT when profile & release mode.
debug mode is ok.
 _ext: Instance of 'EXTTextureFilterAnisotropic'
js_primitives.dart:47 NoSuchMethodError: method not found: 'get$TEXTURE_MAX_ANISOTROPY_EXT' (J.getInterceptor$z(...).get$TEXTURE_MAX_ANISOTROPY_EXT is not a function)
js_primitives.dart:47     at Object.get$TEXTURE_MAX_ANISOTROPY_EXT$z (http://localhost:63651/main.dart.js:27909:43)

https://github.com/wasabia/three_dart/issues/14
reproduce example code
click render will throw error in chrome console

code sample
import 'dart:html';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';

class app_debug2 extends StatefulWidget {
  String fileName;

  app_debug2({Key? key, required this.fileName}) : super(key: key);

  createState() => webgl_debugState();
}

class webgl_debugState extends State<app_debug2> {

  CanvasElement? element;
  dynamic gl;
  String divId = DateTime.now().microsecondsSinceEpoch.toString();

  @override
  void initState() {
    super.initState();

    init();
  }

  init() {
    ui.platformViewRegistry.registerViewFactory(divId, (int viewId) {
      this.element = CanvasElement(width: 300, height: 300)
      ..id = 'canvas-id';

      print(" set element ");
      print(" set gl ");

      this.gl = this.element!.getContext("webgl2", {"alpha": true, "antialias": true});
      return this.element!;
    });

  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text(widget.fileName),
        ),
        body: Container(
          child: HtmlElementView(viewType: divId),
        ),
        floatingActionButton: FloatingActionButton(
          child: Text("render"),
          onPressed: () {
            render();
          },
        ),
      ),
    );
  }

  render() {
    print(" render gl: ${gl} ");

    var _ext = gl.getExtension("EXT_texture_filter_anisotropic");

    print(" _ext: ${_ext} ");
    print(" _ext: ${_ext.TEXTURE_MAX_ANISOTROPY_EXT} ");

  }

}

Hi @wasabia, Thanks for filing the issue. I tried running your code sample but method platformViewRegistry is not found in dart:ui, So I used univeral_ui instead of dart:ui in the below code sample due to this issue https://github.com/flutter/flutter/issues/41563. I do see a similar error in debug mode though. Could you please share your output of flutter doctor -v and also check if this is the same error you are referring to?

code sample
import 'dart:html';
import 'package:flutter/material.dart';
import 'package:universal_ui/universal_ui.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: AppDebug(
      fileName: 'Some file name',
    ));
  }
}

class AppDebug extends StatefulWidget {
  String fileName;

  AppDebug({Key? key, required this.fileName}) : super(key: key);

  createState() => WebGLDebugState();
}

class WebGLDebugState extends State<AppDebug> {
  CanvasElement? element;
  dynamic gl;
  String divId = DateTime.now().microsecondsSinceEpoch.toString();

  @override
  void initState() {
    super.initState();
    init();
  }

  init() {
    ui.platformViewRegistry.registerViewFactory(divId, (int viewId) {
      element = CanvasElement(width: 300, height: 300)..id = 'canvas-id';
      gl = element!.getContext("webgl2", {"alpha": true, "antialias": true});
      return element!;
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text(widget.fileName),
        ),
        body: Container(
          child: HtmlElementView(viewType: divId),
        ),
        floatingActionButton: FloatingActionButton(
          child: Text("render"),
          onPressed: () {
            render();
          },
        ),
      ),
    );
  }

  render() {
    print(" render gl: ${gl} ");

    var _ext = gl.getExtension("EXT_texture_filter_anisotropic");

    print(" _ext: ${_ext} ");
    print(" _ext: ${_ext.TEXTURE_MAX_ANISOTROPY_EXT} ");
  }
}

logs
mahesh@Maheshs-MacBook-Air-M1 counter % flutter run -d chrome --no-sound-null-safety
Running "flutter pub get" in counter...                          2,759ms
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...             31.6s
This app is linked to the debug service: ws://<IP_ADDRESS>:59677/V-NqTJL5Kwk=/ws
Debug service listening on ws://<IP_ADDRESS>:59677/V-NqTJL5Kwk=/ws

Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

🔥  To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".

An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:59677/V-NqTJL5Kwk=
Height of Platform View type: [1642409947577000] may not be set. Defaulting to `height: 100%`.
Set `style.height` to any appropriate value to stop this message.
Width of Platform View type: [1642409947577000] may not be set. Defaulting to `width: 100%`.
Set `style.width` to any appropriate value to stop this message.
The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:59677/V-NqTJL5Kwk=
 render gl: [object WebGL2RenderingContext]
 _ext: [object EXTTextureFilterAnisotropic]
 _ext: 34046

Performing hot restart...                                        1,282ms
Restarted application in 1,292ms.
Height of Platform View type: [1642410066549000] may not be set. Defaulting to `height: 100%`.
Set `style.height` to any appropriate value to stop this message.
Width of Platform View type: [1642410066549000] may not be set. Defaulting to `width: 100%`.
Set `style.width` to any appropriate value to stop this message.
 render gl: [object WebGL2RenderingContext]
 _ext: [object EXTTextureFilterAnisotropic]
 _ext: 34046

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

only profile & release mode not work
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.8.1 at /Users/zhaolei/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 周前), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

Could you please clarify How were you able to compile the app despite platformViewRegistry not being available in dart:ui?
Can you please clarify this? I am using a third party plugin univeral_ui and I was able to reproduce the above error in debug mode too.

and also check if this is the same error you are referring to?

i did't know, how this happen,
i just can run it with dart:ui.
my problem is in profile & release mode
dart:web_gl NoSuchMethodError: method not found: 'get$TEXTURE_MAX_ANISOTROPY_EXT'

@wasabia could you please share the reproducible sample project with the above code sample?

demo_project.zip

Thanks for the sample project @wasabia, I am still getting the same error  when compiling your project on stable 2.8.1

The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix.
Try correcting the prefix or importing the library that defines 'platformViewRegistry'.dartundefined_prefixed_name

Here is a demo_project.zip which uses universal_ui instead of dart:ui to access platformviewRegistry and I am getting a no such method error in release mode but the error doesn't look same as yours.

chrome console logs(release mode)
Installed new service worker.
js_primitives.dart:47  set element
js_primitives.dart:47  set gl
html_dart2js.dart:39958 Height of Platform View type: [1643004164906000] may not be set. Defaulting to `height: 100%`.
Set `style.height` to any appropriate value to stop this message.
TH @ html_dart2js.dart:39958
html_dart2js.dart:39958 Width of Platform View type: [1643004164906000] may not be set. Defaulting to `width: 100%`.
Set `style.width` to any appropriate value to stop this message.
TH @ html_dart2js.dart:39958
js_primitives.dart:47  render gl: Instance of 'minified:Q1'
js_primitives.dart:47  _ext: Instance of 'EXTTextureFilterAnisotropic'
js_primitives.dart:47 NoSuchMethodError: method not found: 'gTS' (J.l0(...).gTS is not a function)
js_primitives.dart:47     at Object.aa3 (http://localhost:60551/main.dart.js:15882:23)
js_primitives.dart:47     at Zh.$0 (http://localhost:60551/main.dart.js:31312:22)
js_primitives.dart:47     at tn.x0 (http://localhost:60551/main.dart.js:34336:7)
js_primitives.dart:47     at tear_off.<anonymous> (http://localhost:60551/main.dart.js:3881:79)
js_primitives.dart:47     at eR.AT (http://localhost:60551/main.dart.js:32981:9)
js_primitives.dart:47     at eR.f8 (http://localhost:60551/main.dart.js:32985:21)
js_primitives.dart:47     at eR.Ay (http://localhost:60551/main.dart.js:33138:17)
js_primitives.dart:47     at eR.w_ (http://localhost:60551/main.dart.js:33111:3)
js_primitives.dart:47     at eR.Aw (http://localhost:60551/main.dart.js:33074:3)
js_primitives.dart:47     at eR.h0 (http://localhost:60551/main.dart.js:33039:16)

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

Labeling this issue for further investigation.

why i can run demo project ....
you should use profile mode will get same error.

[dart rotation] Opened a bug for dart2js to investigate: https://github.com/dart-lang/sdk/issues/48240

Deduplicating into the Dart SDK issue.


Add Scaleway extension

Description
Add Scaleway extension. Gives a quick access to Scaleway services and allows to perform actions:

Containers (list containers, get logs, deploy container)
Databases (list databases)
Instances (list instances, power on, reboot and shutdown instance)
Redis clusters (list clusters)

Screencast
https://user-images.githubusercontent.com/56303005/200965576-1789d214-8543-4553-b028-2b86850a6e00.mov
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @pernielsentikaer 👋
Thank you for reviewing!
The extension will take fake data instead of the actual Scaleway API when running in development (see the readme).
If you want to test with the actual API, you have to set the Use Node production environment setting in Raycast.
Since the cloud provider services are not free, I though it was a good idea to provide mock API responses to help test the extension faster.
Should I remove it?


fix a bug in generated xml code

fixes https://github.com/Azure/azure-sdk-for-cpp/issues/3062
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

/azp run cpp - storage

do we want a changelog entry as bug-fix for blobs?

This is actually not a bug-fix, just a small improvement and it's invisible to customers.

Is this something we might want to release as a patch for December?

I don't this small improvement itself is worth a release. If we have other new features/bug fixes, we'll ship a release.


Rename the module to glsl-matcap

Hi guys,
As I'm sure you know, most glsl functions on npm are prefixed with glsl I think a rename would be good for consistency, and it also makes it clearer for an external viewer what this package relates to.
Thanks,
Alvin

I'd tend to agree. Helps for discoverability. I'm glad to make the change, but maybe I'll wait for confirmation from @hughsk.


No caustics in Unidirectional Path tracer

version: 2.0 beta1
blender : 2.79b
Issue:
I suppose caustics effect can be achieved by long time rendering using PathCPU or PathOCL and get same result  with Bidi engine. So I did a test but after 50000 samples, there was still no caustics effect. Is there anything I can set to enable caustics in Path engine?
And the difference of color in these render results (including cycles) confuse me. they are just so different.
glass.zip
PATH:

BIDI: 500 samples

Cycles: 5000 samples

I suppose caustics effect can be achieved by long time rendering using PathCPU or PathOCL and get same result with Bidi engine.
Nope, it depends on what type of light source you are using. You need an "intersectable" light source to be able to get caustics out of a path tracer.  A point light sources, in LuxCore, are not directly intersectable (no matter of the radius) and can not generate any caustics. This happen because a path tracer can render a caustic only if it a path starting from the camera can hit the light sources.
I assume Cycles point lights are intersectable and directly visible by the camera (they are not in LuxCore) and this explain the different behavior of the path tracers.
Just replace the point light with a small triangle/quad light source. It can be intersected, and so the LuxCore path tracer will be able to render caustics. Even if, smaller is the light source, smaller is the probability of an hit and more the caustics will look like a confused group of fireflies (like in Cycles) instead of a sharp caustic.

Thanks a lot. I figure better using Bidi engine for this.  But there are some differences compared to Path Engine's result, like the small triangle in the water.

The small triangle is likely to depends on how the water has been modeled. It is tricky (more than one could tough). It is important how the geometry is made or you may end with some "air" between the water and glass. This very old video https://vimeo.com/groups/27884/videos/21139061 may contain some hint (it is about the old Lux but the concepts are still the same).
LuxCore also supports volume priorities in order to make this task easier. I'm not a Blender expert so I can not help you very much but if you open a topic on our forum, you should receive the help of people with Blender experience that can tell you exactly how to build the geometry.

Thanks. I'll close this issue.


isAuthorized and hasAdminRole can be changed via storage

I mean this is not secured obviously, I can just change the false to true and get access to some pages. How can we secure this better?

Hi @nukec
true, but this is a SPA. If you set this to true, the APIs will still not work, because the admin rights are missing.
2 things need to be validated:
No Admin data should be returned to a non-Admin
Admin requests can be only executed by admins
Otherwise you need server side rendering.
Greetings Damien

@damienbod I think one way would be to do a request to connect/userinfo to auth server each time page is opened and retrieve role each time, instead of only when login happens. so in case anyone changes role it updates itself each time after request. Do you think this would be overkill for auth server?
Or is there simply custom not allowed or just redirection to home screen better solution if I am trying to do request to [Authorize(Role="admin")] for example when hasAdminRole is true by hijacking?

but think about round trips and performance


Estimate mpp routing fee - documentation

Background
I want to implement multi path payments and display an estimated fee before sending.
Neither QueryRoutes nor EstimateRouteFee have a max_parts attribute like SendPaymentV2.
The documentation for the fee estimation endpoints do not mention multi path payments at all.
Is this not possible yet or do I miss something? What is the correct way to achieve this?
I think the api documentation could be improved in regards to this issue.
Thank you!
Your environment
lnd 0.11.1-beta

In practice it's difficult since only at run time can we really know which paths are taken given we only split when we encounter a failure atm. What we recommend instead is to use the fee_limit parameter to set a limit ahead of time, which'll ensure that lnd never selects a route that exceeds that amount.

In practice it's difficult since only at run time can we really know which paths are taken given we only split when we encounter a failure atm. What we recommend instead is to use the fee_limit parameter to set a limit ahead of time, which'll ensure that lnd never selects a route that exceeds that amount.

Closing this issue as EstimateRouteFee has now been updated to provide a close to accurate fee estimate, but no parts param in the API still which per the above comment is difficult to accomplish.


Add 'Compatibility' and 'Shadowmap' to "Preferred lightning technology"

title

As of now i couldn't find any fflags to force those lighting types else they would already have been added.


log4j - CVE-2021-4428

Describe the bug
Is prisma v1 effected? Will be updated to fix the issue?

Looking at the Scala dependencies file, looks like prisma server may not be affected. The version here is 1.2.17, but the Log4j website reports it only affects versions >=2.0-beta9 and <=2.14.1.
It would be great if someone more experienced with maintaining the project could weigh in though, as I've only scratched the surface here.

Prisma 1 is not affected. As stated above, we use 1.x of log4j, which is not a vulnerable version.


Documentation help with Service Annotations

We have a ingress controller with a few rules.  We have a Jenkins server that returns an error on url "/" so we are trying to get the health check to that service to "/robots.txt".  The Documentation says that you can override ingress settings via annotations in the service.  I do not think I have the annotations in the correct place, as they have no effect on the target group.  I've even put very invalid settings in like "health-check-port: goober" and I can't even force an error.
I've been through the two samples, and don't see a service annotation.  Not sure how this is supposed to work.
Here is how I have tried to annotate the jenkins service:
steved@steve-mint ~/projects/github/aws-alb-ingress-controller $ kubectl describe service jenkins
Name:                     jenkins
Namespace:                default
Labels:                   <none>
Annotations:              alb.ingress.kubernetes.io/healthcheck-path=/robots.txt
                          field.cattle.io/publicEndpoints=[{"port":30317,"protocol":"TCP","serviceName":"default:jenkins","allNodes":true}]
Selector:                 app=jenkins
Type:                     NodePort
IP:                       <IP_ADDRESS>
Port:                     <unset>  8080/TCP
TargetPort:               8080/TCP
NodePort:                 <unset>  30317/TCP
Endpoints:                <IP_ADDRESS>:8080
Session Affinity:         None
External Traffic Policy:  Cluster
Events:                   <none>

@stvdilln which version of the controller are you using? that looks like the correct annotation

@bigkraig Sheepishly I say 1.0-Alpha 3.  I was following example by pahud, and one of his yaml files was out of date when I deployed.  He's updated his demo instructions and I updated my controller to latest release.  I nuked the alb and let it rebuild, everything is working as expected.
I don't know if the docs could use updating, If I had correct software it would have worked fine.  Probably just close as user-error.  But thanks for the help, I'm up and running!

NP there has been a lot of work on the software and the docs lately so depending on the time of day anything is possible. We are very near a stable 1.0 release now though!


Mission 4327 compliance

Purpose

Additional changes to mission 4327 for QAS compliance

Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[ ] Feature
[ ] Documentation content changes
[x] Other... Please describe: QAS compliance

@prajin-op As discussed a few additional changes for QAS compliance.


no instructions on how to run web demo

Describe the bug
Since the Android version crashes immediately on all my devices, the WSL version is aliased and buggy and the Windows version doesn't compile, I was hoping the web version could be my lifeline to adopt this in a commercial project while the others are getting fixed.
There is a link to the web demo but no instructions on how to run it yourself of how to get started with egui on the web (eframe_template doesn't explain it either and is not functional).
I spent days trying to get anything to work without success, while the documentation is very light and assuming.
The source code links in the demo refer to rust files, without a way to run it, and based on the complex main Cargo.toml which makes it impossible to get started with them or a new egui project.
The demo project is in the crates directory, rather than the examples, with no link to it anywhere. The instructions refer to .sh files, but they don't actually exist and would presumably be limited to a linux shell rather than being cross-platform.
To Reproduce
Clone egui git, go to crates/egui_demo_app
None of the instructions work, same for any other egui example out there.
The native build works on WSL, but the cursor does not work and the text is virtually unreadable due to aliasing; it does not appear as a supported platform.
Link to the Windows compilation bug that occurs with any egui-related example: https://github.com/emilk/egui/issues/2856
I suspect this just happens to be a temporary bug in one of the dependencies. My toolchain appears to be fine.
Expected behavior
egui should have at least one working example/instructions for the promised platforms or not pretend that it does, it's very frustrating like this. The readymade web demo itself works fine.
Desktop (please complete the following information):

OS: Windows 11

I found the shell scripts; it's a bit confusing that the instruction is in a different folder than the scripts.
When I run it in WSL it doesn't do anything, and it can't find the jq command used in the script.

   Compiling libc v0.2.140
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.54
   Compiling unicode-ident v1.0.8
   Compiling quote v1.0.26
   Compiling version_check v0.9.4
   Compiling crossbeam-utils v0.8.15
   Compiling log v0.4.17
   Compiling leb128 v0.2.5
   Compiling scopeguard v1.1.0
   Compiling anyhow v1.0.70
   Compiling rayon-core v1.11.0
   Compiling pkg-config v0.3.26
   Compiling syn v1.0.109
   Compiling cc v1.0.79
   Compiling either v1.8.1
   Compiling unicode-segmentation v1.10.1
   Compiling slab v0.4.8
   Compiling memchr v2.5.0              ] 13/187: quote(build.rs), futures-channel-preview, tracing-core, semver, pin-project-internal(build.rs), log(build.rs), t...

[INFO ] extensions: false
    Finished release [optimized] target(s) in 1m 00s
  Installing /home/frank/.cargo/bin/wasm-bindgen
  Installing /home/frank/.cargo/bin/wasm-bindgen-test-runner
  Installing /home/frank/.cargo/bin/wasm2es6js
   Installed package `wasm-bindgen-cli v0.2.84` (executables `wasm-bindgen`, `wasm-bindgen-test-runner`, `wasm2es6js`)
Building rust…
   The web version should be based on a quick and easy vite/wasm-pack based setup, so that newcomers can just get started with egui development right away, hot reloaded.
Native hot-reload probably also requires a special setup that should be there.
It's a great and important project and deserves to be accessible to newcomers to Rust.

I guess a more portable xtask to run the web demo would be nice, if someone is willing and able to write one.
By the way, could you put your build output in a /details tag? So other people reading the thread don't have to scroll through so many lines.

Shell scripts are inappropriate technology, especially for rust/web development.
It was quite easy to get egui examples running using vite-plugin-rsw, hot reloaded on a local webpage.
It should be automatically set up when you do it like this, but I haven't tried it:
npm init mpl@latest my-app -- --type wasm

Then add glow, egui_glow and eframe dependencies basically, with the same version, put code in lib.rs and run yarn dev.
A main method has to be added for the web. Eframe's start_web documentation does not compile (in 0.21.x), but you can find the right usage in one of the examples.
I solved the issue for myself but unfortunately I don't have time to implement this for a pull request; I'm just leaving my thoughts here.
CodeSandbox can also do rust + wasm but it's not quite up to snuff yet.

I think it would be better to not use so many web oriented tools for the demo, though. Many people contributing to egui are not web devs, and might want to just quickly test their changes on the web demo to make sure they didn't break anything, without having to install all these tools. The shell scripts already allow that on linux and macOS, and are one missing command away from allowing it on Windows. That's why I think xtask would be a good alternative, as it removes all portability concerns and doesn't require anything more than the Rust toolchain you already need to build egui and eframe anyway.


support for php 7.3

Hello,
is it mandatory to have php 7.4?
since laravel 8.x requires php 7.3, i only use it (infact there is a breaking change with my application when i php 7.4)
so any plans of supporting php 7.3?
thanks

Hello! It is mandatory to have 7.4, yes.
I understand that some sites are still on 7.3, but I personally find shorthand functions and type hinting to be too valuable to forgo. I'm going to close this issue, but thank you for opening it.
I know you likely are already aware of this, but the list of incompatibilities between 7.3 and 7.4 are quite small: https://www.php.net/manual/en/migration74.incompatible.php

For me, biggest issue is with join syntax has changed.
I really love shorthands too, especially after using them in es6
anyways, i respect your decision :+1:


Rails 4 fix

To work in Rails 4.x views (experiences the Problem with Rails 4.2 / not sure if it's also a problem for 4.0 and 4.1).

I haven't used rails in a while, so looking for a few +1s from the community before merging this!
/cc @zapnap @parndt and everyone? :)

It seems fine in theory, though I wonder if we should make this plugin less aggressive by making people put this in their controllers manually? Or would that be too much?

That would be fine, too, I guess. Then just put the code I added in the readme as a hint?

I'd vote for that as well. Seems cleaner / less invasive that way, and easy enough.


Don't delete test data?

@ieivanov I owe an apology for deleting these lines a few months ago without much announcement, then you were likely confused and had to reintroduce them.
I'm suggesting deleting them again because I would like to run new/modified tests locally without waiting for the test data to download.
I'm suggesting that we keep the test data, but you may have a better solution. Is there a reason to delete them? I don't think GitHub actions complains? Is there a different workflow that you use to quickly iterate and rerun the tests without waiting for a complete download?

Codecov Report

Merging #159 (6a5db7a) into main (44b84d8) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #159      +/-   ##
==========================================
- Coverage   11.14%   11.08%   -0.06%
==========================================
  Files          44       44
  Lines        5969     5965       -4
==========================================
- Hits          665      661       -4
  Misses       5304     5304

Impacted Files
Coverage Δ

recOrder/tests/conftest.py
97.77% <ø> (-0.10%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Good call. I just made a matched PR in waveorder: https://github.com/mehta-lab/waveorder/pull/83


Fixed close icon color on hover in Banner component

Summary
Close icon on hover is invisible because the color is equal to banner background color
Fixes #
Fixed close icon color on hover in Banner component for primary variant
Screenshot/Video
Before:

After:

@cogor You have merge conflicts

I think the color picked should match the text, what do you think @kwwii ?

Agreed, we want this to play nice with theme switchers and such. It would be best to have it be the same color as the text. I think that the specific colours of these alerts and banners will be changed in the near-ish future so it is important that we keep it the same now.


Add various matrix norms

Though it is a image processing library, it is nice to have them at least in near future, I believe.
Changes

Added sumRows(), sumCols() for dim-wise sum
Changed norm function to a general p-norm one
Added typical norms including Frobenius, Nuclear, Max, Min

This is great, thank you!
The fact that Zignal is an image processing library is because I needed to be that, but I am open to any kind of signal processing, hence the name. And, indeed, these extra norm functions are very useful.


Enable Policy E2E Tests on postgres

Checklist

[X] Investigated and inspected CI test results
~Unit test and regression tests added~
~Evaluated and added CHANGELOG entry if required~
~Determined and documented upgrade steps~
~Documented user facing changes~

If any of these don't apply, please comment below.
Testing Performed
CI