python3Packages.adjustText: init at 0.7.3

Motivation for this change
Add the adjustText python package.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 137462 at ef98e15e run on aarch64-linux 1

2 packages built successfully:

python38Packages.adjustText
python39Packages.adjustText

1 suggestion:

warning: no-python-tests
Test runner could not discover any test cases: ‘Ran 0 tests in 0.000s’
Near pkgs/development/python-modules/adjustText/default.nix:24:0:
   |
24 |     description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";
   | ^

Builds happily on macos 10.15 & nixos x86_64

Result of nixpkgs-review pr 137462 run on x86_64-linux 1

2 packages built:

python38Packages.adjusttext
python39Packages.adjusttext


[Bug]: Traefik proxy breaks when adding a prefix

Description
Path prefix doesn't work when using Traefik as reverse proxy, and it breaks the whole app if the option Strip Prefixes is also enabled (by default). The reverse proxy will stop responding to any request to the app. Disabling Strip Prefixes option or switching to Caddy fixes the issue. Also tried editing Container Labels but this field is rewritten with generated options when saving.
Minimal Reproduction (if possible, example repository)

Add domain to a Coolify application using a prefix and with Strip Prefixes options checked. For example: http://co44ock.ip.ip.sslip.io/prefix
Coolify will generate the following container labels:

traefik.enable=true

traefik.http.middlewares.gzip.compress=true

traefik.http.middlewares.http-0-co44ock-stripprefix.stripprefix.prefixes=/prefix

traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https

traefik.http.routers.http-0-co44ock.entryPoints=http

traefik.http.routers.http-0-co44ock.middlewares=https-0-co44ock-stripprefix,gzip

traefik.http.routers.http-0-co44ock.rule=Host(`co44ock.ip.ip.sslip.io`) && PathPrefix(`/prefix`)

traefik.http.routers.http-0-co44ock.service=http-0-co44ock

traefik.http.services.http-0-co44ock.loadbalancer.server.port=3000

caddy_0.encode=zstd gzip

caddy_0.handle_path.0_reverse_proxy={{upstreams 3000}}

caddy_0.handle_path=/prefix*

caddy_0.header=-Server

caddy_0.try_files={path} /index.html /index.php

caddy_0=http://co44ock.ip.ip.sslip.io

caddy_ingress_network=coolify

All request to the application/domain will result in a 404 page not found, including the prefix in the requested URL and to paths that are surely defined in the application server and should not return 404

Replacing the proxy with Caddy fixes the issue and also disabling the Strip Prefix option
Exception or Error
Traefik server outputs this error to the logs when making requests:
2024-06-19T20:53:51.622924401Z time="2024-06-19T20:53:51Z" level=error msg="middleware \"https-0-co44ock-stripprefix@docker\" does not exist" routerName=http-0-co44ock@docker entryPointName=http
Version
v4.0.0-beta.297

Can you indent your labels better so it's more easily to see what it actually is?

@Thijmen Done, sorry about that

I doubt this is a 900.000 $ bounty?


ROCm Data Center Tool incorrect RHEL9 package version

In previous versions of ROCm Data Center Tool (RDC) included with ROCm 6.2 for RHEL9, RDC’s version number was incorrectly set to 1.0.0. ROCm 6.3 includes RDC with the correct version number.

[!IMPORTANT]
If you’re using RHEL9, you must first uninstall the existing ROCm 6.2 RDC 1.0.0 package with sudo yum remove rdc before upgrading to the ROCm 6.3 RDC package sudo yum install rdc.

The version number is fixed in ROCm 6.3.0.
RDC users on RHEL9: use the workaround in the issue description when upgrading from ROCm 6.2.x.


how to execute $scope.openPopover = function($event) from within code?

See lines 205
Want to open the popover instead of referring to register()
after putting stuff in want to refer to register()

$scope.popover.show(angular.element(document.getElementById('fb')));


HPA warning - selector is required (ScaledObject with cron trigger)

Non-stop warnings in namespace events:

Expected Behavior
No warnings or errors after ScaledObject creation
Actual Behavior
Namespace event/warning -> selector is required (Reason: SelectorRequired)
kind: Event
apiVersion: v1
metadata:
  name: keda-hpa-backend.17da56bd723508de
  namespace: ivp-test
  uid: c7a39d49-7904-494d-b379-c05e3d6bad31
  resourceVersion: '23791866'
  creationTimestamp: '2024-06-19T07:19:39Z'
  managedFields:
    - manager: kube-controller-manager
      operation: Update
      apiVersion: v1
      time: '2024-06-19T07:34:40Z'
      fieldsType: FieldsV1
      fieldsV1:
        f:count: {}
        f:firstTimestamp: {}
        f:involvedObject: {}
        f:lastTimestamp: {}
        f:message: {}
        f:reason: {}
        f:reportingComponent: {}
        f:source:
          f:component: {}
        f:type: {}
involvedObject:
  kind: HorizontalPodAutoscaler
  namespace: ivp-test
  name: keda-hpa-backend
  uid: 87f0527b-7e4d-4633-96c8-a3a3a3ed28dd
  apiVersion: autoscaling/v2
  resourceVersion: '23784754'
reason: SelectorRequired
message: selector is required
source:
  component: horizontal-pod-autoscaler
firstTimestamp: '2024-06-19T07:19:39Z'
lastTimestamp: '2024-06-19T07:34:40Z'
count: 61
type: Warning
eventTime: null
reportingComponent: horizontal-pod-autoscaler
reportingInstance: ''

HPA spec part
...
"spec": {
        "maxReplicas": 100,
        "metrics": [
            {
                "external": {
                    "metric": {
                        "name": "s0-cron-Europe-Riga-10xx1-5923xx5",
                        "selector": {
                            "matchLabels": {
                                "scaledobject.keda.sh/name": "backend"
                            }
                        }
                    },
                    "target": {
                        "averageValue": "1",
                        "type": "AverageValue"
                    }
                },
                "type": "External"
            }
        ],
        "minReplicas": 3,
        "scaleTargetRef": {
            "apiVersion": "deployment.xxx.com/v1alpha1",
            "kind": "ApplicationDeployment",
            "name": "backend"
        }
    },
...

ScaledObject
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  labels:
    scaledobject.keda.sh/name: backend
  name: backend
  namespace: ivp-test
status:
  externalMetricNames:
    - s0-cron-Europe-Riga-10xx1-5923xx5
  hpaName: keda-hpa-backend
  originalReplicaCount: 3
  scaleTargetGVKR:
    group: deployment.xxx.com
    kind: ApplicationDeployment
    resource: applicationdeployments
    version: v1alpha1
  scaleTargetKind: deployment.xxx.com/v1alpha1.ApplicationDeployment
spec:
  cooldownPeriod: 30
  idleReplicaCount: 0
  minReplicaCount: 3
  scaleTargetRef:
    apiVersion: deployment.xxx.com/v1alpha1
    kind: ApplicationDeployment
    name: backend
  triggers:
    - metadata:
        desiredReplicas: '3'
        end: 59 23 * * 5
        start: 1 0 * * 1
        timezone: Europe/Riga
      name: backend
      type: cron

Steps to Reproduce the Problem

ScaledObject with cron trigger
Observe an events in the namespace

Specifications

KEDA Version: 2.14.0
Platform & Version: Azure AKS 1.28.9
Kubernetes Version: 1.28.9
Scaler(s): Cron

@JorTurFer @zroubalik any idea?
@gerbil can you try leaving out name: backend in your scaledobject to see if it is related to custom naming please?

@tomkerkhove  the same for name: tmp

One question, does your workload have any label? I'd say that the error comes due to missing labels on the workload. If the workload doesn't have labels, the selector will be empty

Could you please elaborate a bit more on what exactly does this error means? I can clearly see matchLabel selectors on HPA in spec.external.metrics Or am i looking into wrong field/object? Custom resources controlled by scaleTargetRef inside ScaledObject does not contain any labels indeed.

I've managed to fix this by adding CRD subresource reconcile logic into custom operator to have valid scale and status subresources; Now when i got /scale output with correct status.selector field i can see that HPA can observe current/desired state of the CRD owned objects.

I've managed to fix this by adding CRD subresource reconcile logic into custom operator to have valid scale and status subresources; Now when i got /scale output with correct status.selector field i can see that HPA can observe current/desired state of the CRD owned objects.

yeah, that's the problem, /scale needs to be implemented correctly (incl status), HPA controller checks that


PhantomJS not properly rendering websites which use Flexbox

Hi,
I've tried Implementing Wraith in the project I'm working on and I'm using a System with Windows 8.1 Pro.
Description of Issue :
Wraith Version - 3.2.1
Ruby Version - ruby 2.2.5p319
ImageMagick Version - 7.0.2-7 Q16 x64
PhantomJS Version - 1.9.7
CasperJS Version - 1.1.2

On running the command "wraith capture [filename.yaml]" and after its successful execution when I Observe the screenshots in the "Shots" folder the Screenshots do not contain the JS and CSS elements which makes it look like as if the the Site is broken. The Icons, the Spacing between elements and other elements all are just missing from the Screenshots .The Structure of the site breaks as the images are shifted from their place.
I've tried changing the userAgent and the other settings using a CasperJS script in the before_capture hook as mentioned below. This was done just to check if it was due to the Casper JS Webkit.
I Just want the screenshots to look like as the site looks actually.
Issue checklist:

[ Y ] I have validated my config file against YAML Validator to make sure it is valid YAML.
[ Y ] I have run the command in verbose mode (by adding verbose: true to my config) and pasted the output below:

- [ Y ] I have run the command using Phantom as well but still the result was same.

[ Y ] I have pasted the contents of my config file below:

# (required) The engine to run Wraith with. Examples: 'phantomjs', 'casperjs', 'slimerjs'
browser: "casperjs"

# (required) The paths to capture. All paths should exist for both of the domains specified above.
paths:
  Home:     /

# (required) Screen widths (and optional height) to resize the browser to before taking the screenshot.
screen_widths:
  - 768x5500
  - 1024x5500
  - 1280x5500
  - 1326x5500

# (optional) JavaScript file to execute before taking screenshot of every path. Default: nil
before_capture: 'javascript/browser--casper.js'

# (required) The directory that your screenshots will be stored in
directory: 'shots'

# (required) Amount of fuzz ImageMagick will use when comparing images. A higher fuzz makes the comparison less strict.
fuzz: '20%'

# (optional) The maximum acceptable level of difference (in %) between two images before Wraith reports a failure. Default: 0
threshold: 5

**The browser--casper.js has been pasted below** -

module.exports = function (casper, ready) {
casper.userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240";
casper.options.pageSettings.javascriptEnabled = true;
casper.options.pageSettings.loadImages = true;
casper.options.pageSettings.loadPlugins = true;
casper.options.pageSettings.localToRemoteUrlAccessEnabled = true;
casper.thenOpen(casper.page.url);
casper.wait(10000, ready);
}

To check if this is something due to my Windows System, I installed a New Ubuntu (Linux) system 14.04 LTS as a VM in my Windows Machine only. The Installation on Ubuntu was a success but the screenshots observed for the above mentioned .yaml file were still same and didn't loaded the page properly even after imparting enough page load time. The Screens shots display the pages that seem visually broken..

PhantomJS 1.9.7 isn't very modern - it doesn't even let you use JavaScript's .bind method - so if your site is quite modern CSS/JS-wise (e.g. using Flexbox, canvas, web components, etc) then Phantom may not render it correctly.
You may want to try upgrading to Phantom 2.1.
Also, it would be helpful to paste the entire config - for instance, if you've set your domains to be https rather than http then that could also cause problems.
Other than that, I can confirm that your config seems ok from here, so there's nothing obvious to explain why your pages might not be rendering properly.

##############################################################
##############################################################
This is an example configuration provided by Wraith.
Feel free to amend for your own requirements.
---
This particular config is intended to demonstrate how
to use Wraith in 'capture' mode, which is best suited to
comparing a test and live version of the same website.

wraith capture churchfinder.yaml

##############################################################
##############################################################
(required) The engine to run Wraith with. Examples: 'phantomjs', 'casperjs', 'slimerjs'
browser: "phantomjs"
(required) The domains to take screenshots of.
domains:
current:  "http://www.churchfinder.com"
new:      "This can't be shared due to privacy policy of the company"
(required) The paths to capture. All paths should exist for both of the domains specified above.
paths:
home:     /
(required) Screen widths (and optional height) to resize the browser to before taking the screenshot.
screen_widths:

320x3000
600x3000
768x3000
1024x3000
1280x3000

(optional) JavaScript file to execute before taking screenshot of every path. Default: nil
before_capture: 'javascript/disable_javascript--phantom.js'
(required) The directory that your screenshots will be stored in
directory: 'shots'
(required) Amount of fuzz ImageMagick will use when comparing images. A higher fuzz makes the comparison less strict.
fuzz: '20%'
(optional) The maximum acceptable level of difference (in %) between two images before Wraith reports a failure. Default: 0
threshold: 5
(optional) Specify the template (and generated thumbnail sizes) for the gallery output.
gallery:
template: 'slideshow_template' # Examples: 'basic_template' (default), 'slideshow_template'
thumb_width:  200
thumb_height: 200
(optional) Choose which results are displayed in the gallery, and in what order. Default: alphanumeric
Options:
alphanumeric - all paths (with or without a difference) are shown, sorted by path
diffs_first - all paths (with or without a difference) are shown, sorted by difference size (largest first)
diffs_only - only paths with a difference are shown, sorted by difference size (largest first)
Note: different screen widths are always grouped together.
mode: diffs_first
AND THE DISABLE JAVASCRIPT FILE USED IN THE BEFORE CAPTURE HOOK IS AS FOLLOWS -
// ######################################################
module.exports = function (phantom, ready) {
// disable JavaScript
phantom.settings.javascriptEnabled = true;
// reload the page without JS enabled
phantom.open(phantom.url, function () {
    setTimeout(ready, 5000);
});

}
Comment :
The site is of http domain only so i think that shouldn't be a problem.
As per your comment @ChrisBAshton I updated the Version of PhantomJS to 2.1.1 as it shows on Terminal (Ubuntu) and CMD (Windows) but the problem is still the same. For all the Resolutions provided the screenshots are visually broken. I'm attaching the screenshot for reference , Please have a look.
You can compare it with the URL written in the Yaml file.
I Appreciate your help on this.
Really eager to implement wraith successfully for my project.
Thanks for the efforts.

Hi @Sabbi0612 - I've just tried your config locally and I get the same issue, the screenshots look weird. I'm using a modern version of Phantom 2.1.1.
You site uses Flexbox (I had a quick look at your site and there is a CSS rule .two-col-block__inner { flex-basis: 49%; }).
After digging into this in a bit more detail, it appears that there is very limited support for Flexbox even in Phantom 2+. See this discussion.
The good news is that they reckon Flexbox will be fully supported in the next major version of PhantomJS.
Until then, there isn't really a fix for this. You could try using SlimerJS instead, which is a different rendering engine, but this isn't supported by Wraith out of the box (see #364) so you'd have to write your own snap file, etc.

@Sabbi0612 Trying PhantomJS 2.5 beta as it appears to have much improved flexbox support.

@seanw Any luck with 2.5? I installed phantomjs with homebrew, which only provides up to 2.1.1, but could try to manually switch to 2.5 if flexbox support is there

There is a release date for 2.5? Flex box feature is really f*cking me :(

This fix worked for us: https://github.com/ariya/phantomjs/issues/14365, as referenced originally by @ChrisBAshton

Turns out that the Safari fix doesn't solve everything.. A lot, but not everything.
 The idea is to have casper set a 'casper-env' class to the body of the headless page (so it will not interfere with the application when displayed through Chrome), and catch up on it in your css to disable flex properties in the application casper is looking at.
I am aware that this is far from optimal and goes against every design principle of regressive testing, but in my case the flexbox property was not subjective to the test, but nonetheless the bug rendered the page useless, so I came up with this gist to get around that:
https://gist.github.com/automagisch/7ad2be5ee75b27e10111971b6394918b
It allows for checking if the env class had been set, and respond in your (s)css to that class change, so I would set a 'display: flex' to 'display: block' for Casper, so I can still test my functionalities :).

definitly not a fix, but untill phantomjs2.5 is released this works pretty well (at least for me).


Edburns msft dd 1621318 quarkus aks public

Docs Build status updates of commit 4df81d4:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/howto-deploy-java-quarkus-app.md
:warning:Warning

Details

articles/aks/TOC.yml
:white_check_mark:Succeeded

articles/aks/howto-deploy-java-quarkus-app.md

Line 82, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'contribute-how-to-write-howto.md'.
Line 83, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'links-how-to.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@edburns, in order for this PR to be considered for merge, it has to be moved out of draft staging by using the "Ready for review" button. However, Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.

Hello @jborsecnik I am mentoring content from an external author. I have opened a corresponding PR on azure-docs-pr and I have a process for copying commits from this external repo to the internal one. So, I intend to leave this one in draft status and close it when the corresponding azure-docs-pr PR is merged.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Learn Build status updates of commit c84912c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/howto-deploy-java-quarkus-app.md
:warning:Warning

Details

articles/aks/TOC.yml
:white_check_mark:Succeeded

articles/aks/howto-deploy-java-quarkus-app.md

Line 22, Column 1: [Warning: file-not-found - See documentation] Invalid file link: './media/aks-demo-arch.png'.
Line 22, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 27, Column 129: [Warning: hard-coded-locale - See documentation] Link 'https://azure.microsoft.com/en-us/services/postgresql/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 28, Column 29: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/azure/aks/intro-kubernetes' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 29, Column 32: [Warning: hard-coded-locale - See documentation] Link 'https://azure.microsoft.com/en-us/services/postgresql/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 73, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/microsweeper-local.png'.
Line 73, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 77, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/leaderboard-local.png'.
Line 77, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 130, Column 1: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/azure/postgresql/quickstart-create-server-database-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 138, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/create-single-server.png'.
Line 138, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 146, Column 84: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/cloud-shell/overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 166, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/aks-dashboard.png'.
Line 166, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 170, Column 1: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli#connect-to-the-cluster' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 363, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/microsweeper-aks.png'.
Line 363, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 418, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/azure-cli.png'.
Line 418, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 434, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/azure-cli-psql.png'.
Line 434, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 558, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'docs/microsweeper-aks-secret.png'.
Line 558, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 578, Column 3: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli#delete-the-cluster' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 485ff34:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/howto-deploy-java-quarkus-app.md
:warning:Warning

Details

articles/aks/media/aks-quarkus/aks-dashboard.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/aks-demo-arch.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/azure-cli.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/azure-cli-psql.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/create-single-server.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/leaderboard-local.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/microsweeper.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/microsweeper-aks.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/microsweeper-aks-secret.png
:white_check_mark:Succeeded

articles/aks/media/aks-quarkus/microsweeper-local.png
:white_check_mark:Succeeded

articles/aks/TOC.yml
:white_check_mark:Succeeded

articles/aks/howto-deploy-java-quarkus-app.md

Line 22, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 27, Column 129: [Warning: hard-coded-locale - See documentation] Link 'https://azure.microsoft.com/en-us/services/postgresql/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 28, Column 29: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/azure/aks/intro-kubernetes' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 29, Column 32: [Warning: hard-coded-locale - See documentation] Link 'https://azure.microsoft.com/en-us/services/postgresql/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 73, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 77, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 130, Column 1: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/azure/postgresql/quickstart-create-server-database-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 138, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 146, Column 84: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/cloud-shell/overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 166, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 170, Column 1: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli#connect-to-the-cluster' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 363, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 418, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 434, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 558, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Screenshot' is duplicated. Within an article, alt text must be unique.
Line 578, Column 3: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli#delete-the-cluster' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 582, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'cfunctions-quarkus-tutorial.md'.
Line 28, Column 29: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/azure/aks/intro-kubernetes' will be broken in isolated environments. Replace with a relative link.
Line 130, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/azure/postgresql/quickstart-create-server-database-portal' will be broken in isolated environments. Replace with a relative link.
Line 146, Column 84: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/cloud-shell/overview' will be broken in isolated environments. Replace with a relative link.
Line 170, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli#connect-to-the-cluster' will be broken in isolated environments. Replace with a relative link.
Line 578, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli#delete-the-cluster' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@edburns - This PR hasn't been updated for a while. Should it be closed or signed off?
@MicrosoftDocs/public-repo-pr-review-team

The corresponding PR in the private repo has been closed, so I'll close this old PR as well. If you'd like help reopening this PR later, email the publicprs alias.


Add FAQ on missing required assets to debug

Summary
Adding instructions for folks who first miss the prompt to add build and debug assets in an FAQ section.
Fixes #6408
@mairaw Let me know if there is a better place this info can go. I think this feedback bubbles up often enough that adding a short FAQ section to the doc is worth it. Also in Omnisharp-vscode repo #1040

I think that adding the FAQ on that page is fine @kendrahavens!
@gregvanl do you cover this anywhere on the VS docs?
Also because key bindings vary by OS and we don't have that cool feature that VS docs has for different keyboard combinations depending on OS, I think we should give the instruction using the menu View > Command Palette.

@maira Not that I am aware. It could also be added to https://code.visualstudio.com/docs/languages/csharp#_common-questions. In general, the VS Code C# is mostly for showing the features (value proposition) of the C# extension. It isn't really a tutorial.

That seems like a good idea @gregvanl. @kendrahavens what do you think?

Sounds great! I can add this section there as well. I'll change the keyboard shortcut part to just use the menu.

@kendrahavens The best answer is to move forward with your plan. (I always just edited the text, not knowing the command exists). So, I merged #6495 based on my (faulty) understanding of the VS Code command palette.

@BillWagner Gotcha! I wasn't sure if there was a step I was missing that the copying and pasting took care of! I'll continue forward with the command method.

Could I maybe get a review? It's required before merging. @JRAlexander @BillWagner Thanks folks!


Master to 0.4.0

This is 0.4.0 branch after I merged it with changes from master and fixes.
Once we review it and want to continue forward with move to 0.4.0:

We will merge this PR with 0.4.0
We will merge any outstanding and important 0.4.0 PRs with 0.4.0
We will merge 0.4.0 into master and make it an 0.4.0 release

@ilanbiala @roieki @amoshaviv @mleanos please review before we merge this into 0.4.0 and further on to master

@lirantal @roieki @amoshaviv @NeverOddOrEven @Shrizzy Left some comments to review.

thanks @ilanbiala I addressed all issues you mentioned

@ilanbiala I think we're good to merge this to 0.4, right?

Yes, I think so.

Had a holiday weekend, so I spend much time at my computer over the last few days.
So far it looks good to me. I'm still going through it right now.

Update dependcies: https://github.com/meanjs/mean/pull/622

All seems fine with me as well. I think we can start merging this into 0.4

I forked this repository. I then checked the master_to_0.4.0 branch out, and tested locally. Everything went fine, and I merged it to the 0.4.0. The merge had no issues at all, and everything seems to be working perfectly.
I'm not sure what I should do next to help this merge, and then to begin helping out with merging all the PR's.
Forgive me, but I'm a bit new to the forking and contributing aspect of GitHub. Should I push my new 0.4.0 branch to my repo, and create a pull request? I did make one modification to the gitingore. I added VS files.

@mleanos thanks for helping out.
The procedure you did confirms that we shouldn't have any issues with the merge, but basically the plan is now:

Merge this PR master_to_0.4.0 to 0.4.0
Then merge any valid and outstanding 0.4.0 PRs to 0.4.0
Then we make a 0.4.0 release and merge 0.4.0 to master

At the moment I'm just waiting to figure out if we're merging this PR https://github.com/meanjs/mean/pull/622 to master_to_0.4.0 before I'm closing it, and then we can continue.
@mleanos once step (2) is finished we'll need quite some help with testing the 0.4.0 branch and that's where you can help the most. It'll be a few days/week until we're there.
Thanks for chiming in!

Finally merging this to 0.4.0


Example parsed as PrimitiveType.DateTime is problematic

I have OpenApi documents that I'm parsing with this library. I have several examples where I am unable to get information I need from them. There are two issues I'm running into.
I'm not sure why date is being included as a primitive type anyway because the MSDN article on primitive types does not include date.
1. Cannot check if offset was included
I have an example value: "start_date": "2017-12-01T00:00:00"
When the document is parsed, this example value is an OpenApiDateTime which has a value type of DateTimeOffset. I would like to be able to validate that an offset is included in the original example.
Because the type is DateTimeOffset and there doesn't seem to be a way to get the original string value from the parsed example, I cannot do this check.
2. Non-dates are parsed as dates
I have an example value: "account_number": "01-5410-00"
When the document is parsed, this example value is an OpenApiDateTime even though it is decidedly not a date and isn't even a format I would recognize as a date.
Another example is this header, where the version number is a date string:
{
  "name": "x-ms-version",
  "value": "2015-12-11"
}

Another example is a time value: "start_time": "07:00"

It was a design error to try and interpret the data types of example values.  We should never have tried to do it because it causes way too many problems.  I think we need to make a breaking change to the library to just treat all example values as simply their native JSON compatible values.
Additional validators can be created and run as a secondary process to verify the validity of examples.

I think that would fix issues like #420 and #533 as well. It's probably helpful to check array vs object vs primitive still but I would welcome a breaking change to fix this. My workaround code is not pretty.


Fix projection in IPC reader

Which issue does this PR close?

Closes #1735 .
Rationale for this change
Fix possible panic caused by projection in IPC reader.

What changes are included in this PR?
Fix the function read_record_batch in arrow/src/ipc/reader.rs.

Are there any user-facing changes?
No.

Hi @viirya , thanks for your comment. A new test is added to IPC reader in my last commit.

Codecov Report

Merging #1736 (5a76cf3) into master (ca1d85f) will decrease coverage by 0.01%.
The diff coverage is 73.80%.

@@            Coverage Diff             @@
##           master    #1736      +/-   ##
==========================================
- Coverage   83.31%   83.30%   -0.02%
==========================================
  Files         196      196
  Lines       55961    56037      +76
==========================================
+ Hits        46625    46681      +56
- Misses       9336     9356      +20

Impacted Files
Coverage Δ

arrow/src/ipc/reader.rs
86.97% <73.80%> (-1.75%)
:arrow_down:

arrow/src/array/transform/mod.rs
86.85% <0.00%> (+0.11%)
:arrow_up:

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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

Hi @viirya , the test for projection has been improved to check more data types. It is ready for review now.

Merged, thanks!


pull request for e2e test at 12/22/2016 12:15:17

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


add tutorial LOJ 1002 - Country Roads(en)

Hello. Sorry for late review, was busy.
Good work. But I think the sentences are quite long in the explanation part and difficult to follow. Maybe examples will help. And, necessarily it's just simple dijkstra with new costs being the maximum of previous cost and the current edge weight instead of summing the latter two, isn't it? Might as well mention it.

@rebornplusplus Thank you very much for the constructive feed back and guidelines :heart: . Done!

Merged. Thank you for your continuous contributions. :1st_place_medal:


How to call TotalSegmentator as a Python module?

This is rather a question, no issue:
What is the recommended way to import and call TotalSegmenator as a Python module?
Thank you.

I did not intend this usecase therefore it is not as convenient. But you can still do it. Should not be too difficult. I would recommend using the method nnunet_predict_image() and you can see here how to use it: https://github.com/wasserth/TotalSegmentator/blob/master/bin/TotalSegmentator


CallId for outgoing call is always nil

Is the callId for an outgoing call supposed to get set? It is always nil. I need that callId to be able to be able to do call transferring, etc.
I put a breakpoint in the example app, in 'hangupCall', before any other code, and the callId is always just nil. That value is populated on incoming calls.

@calioasis the call uuid and the request uuid is returned as a parameter to the Ring URL, Answer URL and Hangup URL. The response to the outbound API call returns a request UUID like below.
{
  "message": "call fired",
  "request_uuid": "9834029e-58b6-11e1-b8b7-a5bd0e4e126f",
  "api_id": "97ceeb52-58b6-11e1-86da-77300b68f8bb"
}

You should then map the request_uuid to the call uuid on the request parameters to the above URLs.

I'm having the same problem and do not understand the answer.

@GoldenJoe While making a call from the iOS App, the CallUUID is present in the Callback URL of the Dial XML used (in the answer URL of the SIP Endpoint). To get this CallUUID in your iOS App, you could try the following:

Assume that the answer_url is http://your.domain.com/dial. This will be the answer URL of the Application attached to the SIP endpoint used in the iOS App. This URL should return a Dial XML with callback URL as one of it's parameters. Reference - https://www.plivo.com/docs/xml/dial/
When Plivo makes a request to http://your.domain.com/answer, the Dial XML is returned which makes a call to the destination number passed in the iOS App. When the call is in ringing state, a request is sent to the callback URL with the call UUID (https://www.plivo.com/docs/xml/dial/#callbackurl-request-parameters), store the call UUID in your server
Host another application in your server, say, http://your.domain.com/get_calluuid. This application will retrieve the stored call uuid.
From your iOS app, make a request to http://your.domain.com/get_calluuid to get the current call uuid.

By doing this, the call uuid is available in your iOS app.


It's ready

Question
The project I've been working on for the part few months is now ready-enough to reveal to the world. Transformers.js is an essential part of it, and I just want to say thank you for your amazing work.
https://www.papeg.ai
As you can see in the source code, there are lots of workers that implement Transformers.js workers; translation, image description, STT, TTS, speaker verification, image- and music generation, RAG embedding, and more!
https://github.com/flatsiedatsie/papeg_ai
Keep on rockin' !
// Reddit post: https://www.reddit.com/r/LocalLLaMA/comments/1g0jehn/ive_been_working_on_this_for_6_months_free_easy/
(Feel free to close this issue at any time)

Wow, this is amazing - great stuff! 🔥 Do you have a video or post on twitter that I can re-share? I'd love to help amplify!

This is really great project! We have been in contact on Reddit. I just left you some comments there from my testing of non-English languages :-)

Wow, this is amazing - great stuff! 🔥 Do you have a video or post on twitter that I can re-share? I'd love to help amplify!

Can you help amplify onnxslim, and I don't have a twitter account because of location restriction.

(just squashing some bugs, then I'll gladly take you up on your offer)


WP CLI occurs “Error establishing a database connection.” in Bedrock project

Version
6.5.3
What did you expect to happen?
It should added ThemeOptions with wp command
What actually happens?
I use Bedrock and Sage with Pantheon. I have installed WP CLI globally, but some commands do not work, for example wp cache, wp cron, wp comment…, it occurs Error: Error establishing a database connection.
In .env file db settings were these
DB_NAME='wordpress'
DB_USER='root'
DB_PASSWORD=
DB_HOST='database'

After searching this issue, I have changed DB_HOST from database to localhost and destroyed db using lando destroy command, but the result is the same. How can I fix this issue?
In addition, I want to use WP CLI for acf-composer package.
Steps to reproduce

Add WordPress+Bedrock+Sage project on Pantheon
Install WP CLI globally
Clone repository from Pantheon
Add .env file
Init lando using pantheon in the current directory command
Start lando
Check wp commands

System info
No response
Log output
No response
Please confirm this isn't a support request.
No

Thank you @Log1x. I have created a topic already.

That appears to be a link to a private message.

Sorry @Log1x. I thought that was a way to create a topic. Honestly, I cannot find a way to open a topic on roots. I'm opening a Topic, but I cannot create a topic.

Can you tell me how to open a topic on roots, if it is not difficult?


Update hydrotherm_dynamic_x8_water_heaterv6 Values to match Unit Manual

Hello,
Very minor tweak to the display values of each of the operating modes. This is to match what is actually in the manual located here on Page 29: https://www.hydrothermhotwatersystems.com.au/wp-content/uploads/2024/02/HYD_DYNAMIC_USER_MANUAL_WEB.pdf
Helps make sure you select the right value and you know what it actually does.

It is more important to be consistent with standard HA modes than with the device manufacturer's chosen names.


Publish 7.5-20220622180957+0000

Publish 7.5-20220622180957+0000

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Conditional export as module for markerclustererplus

Hi, it could be possible to preserve conditional module export for markerclustererplus like the old version (previous to lerna) like this?
https://github.com/googlemaps/v3-utility-library/blob/bd55f49fc8492207d30e179d280c00aa8b5016e0/markerclustererplus/src/markerclusterer.js#L1659
Thanks !!!

The dist/markerclusterplus.umd.js does this already:  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : .... What is the specific use case or issue you are trying to solve?

Hi @jpoehnelt,
for a long time im using this library as bower component and i didnt found the dist folder, it could be included bundle ?

Try<EMAIL_ADDRESS>https://unpkg.com/browse/<EMAIL_ADDRESS>

im using few more packages like markermanager, markerwithlabel and markerclusterplus at this moment (imho) the more safest way to preserve this dependencies is using the last commit without lerna:
https://github.com/googlemaps/v3-utility-library/tree/bd55f49fc8492207d30e179d280c00aa8b5016e0
I prefer to wait until all packages are available individually.

BTW, markermanger is not already published to NPM, right ?

The only published packages are markerclusterer, markerclustererplus, and markerwithlabel. If you open issues for the ones you use, I can begin the process and prioritize those.

Great @jpoehnelt, you could publish the markermanager to npm too? it would be very handy, thanks !!!

markermanager updated in #542, have not published yet

closing in favor of #474


The count fails in resource "aws_route" "requestor"

The Terraform AWS VPC Peering module fails if the requestor VPC does not exist yet.
We are trying to create the requestor's VPC and the peering at the same time, which ends up in this error:
Error: Invalid count argument

  on .terraform/modules/vpc.vpc_peering/main.tf line 62, in resource "aws_route" "requestor":
  62:   count                     = var.enabled ? length(distinct(sort(data.aws_route_tables.requestor.0.ids))) * length(data.aws_vpc.acceptor.0.cidr_block_associations) : 0

The "count" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the count depends on.

Error: Invalid count argument

  on .terraform/modules/vpc.vpc_peering/main.tf line 71, in resource "aws_route" "acceptor":
  71:   count                     = var.enabled ? length(distinct(sort(data.aws_route_tables.acceptor.0.ids))) * length(data.aws_vpc.requestor.0.cidr_block_associations) : 0

The "count" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the count depends on.

Facing the same issue. Is this fixed?

have the same problem

I am seeing the same but I am not sure there's anyway around it with the way the module is written, it's a limitation of terraform. One possible way to address this would be to have a version where you could pass all the route tables from the subnet modules in vs having it discover, terraform would be able to know then what route tables were going to exist at plan time.

I fixed this issue by, as noted in the error message, using the -target argument.
terraform plan -target="module.vpc"
@mordax7

+1, the module.vpc_peering expects both requestor and acceptor vpcs to be provisioned before calling itself.
Is it kinda annoying but you will need to provision them first using the -target= construct and then run terraform again.


[Idea] Expose the filtered UNIX socket as... a UNIX socket!

Is your feature request related to a problem? Please describe.
Some applications simply do not like having a remote host to listen to and would much rather have a UNIX socket to connect to. Plus, UNIX socket skip the whole TCP/IP stack, routing, etc. and may thus be faster.
Currently all socket proxies that may be used to control what and how something can access a UNIX socket expose the functionality through the network, usually plain TCP.
Describe the solution you'd like
Find a way to expose the filtered and controlled operations in a UNIX socket. The user should be able to set the path desired for such socket and make that available for mounting to e.g. another container (speaking specifically about Docker here).
Describe alternatives you've considered
None.
Additional context
I know some types of filtering, like allowed IPs and hosts, are impossible (and besides the point) if exposing it as a UNIX socket.
Given UNIX sockets require a system call and are a kernel feature, I'm not sure what it takes to make use of them from within a container, but hey, that's the point of opening the issue as well. I'm gonna do some investigation.

Hi Andre,
thanks for the suggestion. I also thought about this before and I think it will be implemented in a (not-so-)future release.

Hi Andre, thanks again for the suggestion.
After testing a while, it seems to work stable, so I released a new version today.

@wollomatic that's awesome
Ps.: there's a typo in the env var name here: https://github.com/wollomatic/socket-proxy/commit/2f10b68936ef0908122af72621bc7643a33aad45#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R48

Thanks, I'll fix the typo right now

Closing this since you've implemented it.
Ps.: in case you didn't know, if you include fixes #issueNumber or closes #issueNumber in the commit message or the PR description, GitHub automatically closes the issue when the PR gets merged or the commit gets pushed.
See https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue


Update-DbaServiceAccount - properly throw an error on failure

Type of Change

[x] Bug fix (non-breaking change, fixes #6854 )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Approach
Appropriately replace Write-Message with Stop-Function
Screenshots

looks good, thanks much!


  I switched to TRACE mode for a while and there was a ton of failures to receive metadata requests and discovery errors but the last relevant method I found was:
{"timestamp":"2020-07-01T05:35:10,969","level":"DEBUG","thread":"beaconchain-async-0","class":"PeerSync","message":"Request 200 blocks starting at 242041 from peer 16Uiu2HAmVKjTm3YePQgQLxm3fsfAUVgE58opRHZGDXRNLNsqvzBv","throwable":""}
We should have printed that the request was complete or failed after than but it never happened.  Looks like somehow the request is hanging forever and we're either not timing out or the timeout isn't cancelling the waiting future correctly.

This happened again.

This most recent event happened when syncing witti during a period of non-finalization using the build from this PR: https://github.com/PegaSysEng/teku/pull/2284

I've reproduced this in 2 out of 3 runs on witti syncing from ~block 210,000.  The sync does continue pulling blocks, but fork-choice stops updating the head block so that it looks like sync has halted.  Both times I've reproduced this issue, the head has gotten stuck at block 225055 (block root: 0x4f295c745c8de6c4b37055a34b5d4c5680a59d6b836b50e072509a78d2994b2b).

Fork choice is getting "stuck" at block 225055 because:

While we're syncing, all ProtoNode's have a weight of 0.

ProtoNode weights are based on attestations, but we ignore attestations that are not from the current or previous epoch.  So, historical nodes don't get updated with any weights while we're syncing.

Block 225053 (root: 0xd4e8f60d63b2f7a664aa7975568c64cba680298f4e768ea41d748d34619eb945) has 2 children:

Block 225054 (root: 0x3538af34cfa389d6efa8aa102a71437e16851bdd60a6754e723fc4c6936d8bd4)

This block has thousands of descendants

Block 225055 (root: 0x4f295c745c8de6c4b37055a34b5d4c5680a59d6b836b50e072509a78d2994b2b)

This block is a dead-end fork with no descendants

We choose our fork-choice head based on weight (which is 0), and tie-break based on hash.  So, block 225053 has its best child / best descendent set to block 225055, and all of its ancestors are updated to point to block 225055 as the best descendant.
The head will be stuck here until we either start processing attestations again (sync up to a very recent slot) or justify a new block that is incompatible with the current head.

Closing this ticket since it isn't really a "bug".  Added a follow-up ticket to look into improving teku's output in this case to make it clearer what's happening: #2353


Unsubscribing from WebSocketSubject reference to Websocket

<EMAIL_ADDRESS>When unsubscribing from a multiplex WebSocketSubject I am seeing the socket getting set to null. There are still other subscribers and the socket still exists, but we are loosing the reference to the socket
I believe this was introduced in 62d242e.
Relevant Code
protected _subscribe(subscriber: Subscriber<T>): Subscription {
    const { source } = this;
    if (source) {
      return source.subscribe(subscriber);
    }
    if (!this.socket) {
      this._connectSocket();
    }
    let subscription = new Subscription();
    subscription.add(this._output.subscribe(subscriber));
    subscription.add(() => {
      const { socket } = this;
      if (this._output.observers.length === 0 && socket && socket.readyState === 1) {
        socket.close();
      }
      this._resetState(); //This is where to socket reference is getting lost
    });
    return subscription;
  }

Oops, yup, I see the bug there. Thanks @webstp


Make it easier to detect use of outdated Plank binary

In a codebase where developers manually execute the Plank binary to generate models, it is difficult to detect scenarios where they may be landing code based on an outdated Plank binary.
One possible solution would be to write a Plank version/build number of some kind into the generated model header block so that version control systems (e.g. Git, SVN) can warn developers with merge errors. e.g.
// Autogenerated by Plank (https://pinterest.github.io/plank/)
// Plank v7.32

@RicoYao - you can add the version to the generated code, in practice we end up updating the models when there is a new version of plank added to our repository

@rahul-malik

you can add the version to the generated code
Just confirming what you mean by this - are you suggesting that we configure our own scripts to add the version header after Plank generates the models? We can do that.

I'm just saying that plank can update the file header it generates to output the current version. We have a struct that contains the version that you should be able to utilize


Bonner Program Requirements

Added data structures, admin interface, and event association for Bonner program requirements.
The list of Bonner requirements can be edited from the Bonner Management page. You should be able to add, remove, and re-order the requirements, as well as update their information.
Those requirements show up in a dropdown when creating or editing Bonner events. Each event can pick one requirement, and the requirement also shows up in the event view.

 Track the Bonner requirements


Swagger dependency scope is too broad

Is your enhancement request related to a problem? Please describe.
I'm using org.apache.pulsar:pulsar-broker and org.apache.pulsar:pulsar-client-original and I see that Swagger dependencies are "leaked" as transitive dependencies, because they are declared in the default compile Maven scope.
I'm currently using Swagger 2.X in the same project, and I don't like having two versions of the same library in the classpath, if possible.
Are io.swagger:swagger-annotations and io.swagger:swagger-core actually required also at runtime?
Describe the solution you'd like
I think those dependencies should be declared in the provided scope like usual for annotation libraries.
Describe alternatives you've considered
If there is no interest in handling this behavior, I'm also asking whether can I exclude the dependency from Maven when declaring the Pulsar dependency, or are you aware of problems about this workaround?
Additional context
I'm currently using Pulsar 2.6.3, which brings in Swagger 1.5.21, but I'm planning to upgrade to the latest Pulsar version, which brings in Swagger 1.6.2, so this issue should apply also to newer versions.

The issue had no activity for 30 days, mark with Stale label.


Experimental class bindings

This is the class bindings PR
these are the first bits but I want to iterate over this and see if there's a way we can also apply some of these concepts to the LitElement decorated functions
I'm still missing some bindings like Directives and AsyncDirectives (they just have what they need now, but ideally they should be fully typed)

Hey @alfonsogarciacaro I don't really have more to add to this PR I think it has been idle for a while but the important bits are there.
I added the useController so users that are using function based lit elements can also grab controllers that may already exist in the wild but ideally the controllers match better with the class based API which mirrors what actual lit users do and might be simpler for some to copy or port existing components
I will be adding docs for these today and then feel free to review

@alfonsogarciacaro thanks you for making Fable .Lit 🙏 I am just learning Lit and wondered why I can't do this example in Fable.Lit: https://lit.dev/docs/composition/controllers/#example:-mousemovecontroller
I found the answer here in this pull request. Thanks, @AngelMunoz.  Any reason not to merge this ? At least to have the official samples working in Fable.Lit too?

No particular reason I never got to finish this as I got distracted.
I'd like more feedback on this as well if you want to try these bits we could revisit the work and make the appropriate updates if needed
Cc: @JordanMarr , @OnurGumus
Sorry to bother I've seen you are using this as on Twitter as well I guess this could be of interest

I think the current approach is fine. One can just use the controllers the way you do. So far I haven't seen any need for this PR.

Sorry, all my free coding time has been consumed with the Elmish.Avalonia project (and my Fable.Lit project got iced).
TBH, I don't even know what this PR is about as there are no pretty pictures of code look at.
Based on Onur's comment, I'm assuming that you created bindings for Lit Controllers?


docs: advanced-web-scraping course

Large structural change that @PerVillalva and I worked on together. Here is the preview./


how does the remove1m.txt be generated

everything is in the title

Most likely every id for which reading caused an error. You could regenerate it by ignoring the file and then writing out which loads failed.


Additional self.loss in line 121

Hello, I see an additional line of self.loss in your implementation in line 121.
Is this intended?
self.loss += -2*np.log(len(w_c)) -np.sum([u[word.index(1)] for word in w_c]) + (len(w_c) * np.log(np.sum(np.exp(u))))
Thanks.

Thanks, I've commented out the extra one.


chore: bdd-sbhg-1584277033 to 0.0.2

chore: Promote bdd-sbhg-1584277033 to version 0.0.2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


AspectRatio still does not apply the ratio value

Description
Hey again,
I just tried the new AspectRatio pattern after the last bug, right now only the paddingBottom value is not working.
it works if I don't provide a value and it use the default one 4 / 3 but when I provide something else such as 16 / 9 or even 1 / 2, I see the generated class but it does not apply for some reason
Link to Reproduction
https://codesandbox.io/p/github/omarkhatibco/pandacss-test/main?layout=%257B%2522sidebarPanel%2522%253A%2522GIT%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522panelType%2522%253A%2522TABS%2522%252C%2522id%2522%253A%2522clj3g2y4k000b3b6nca8rhglx%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522panelType%2522%253A%2522TABS%2522%252C%2522id%2522%253A%2522clj3g2y4k000d3b6npw8t91vd%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clj3g2y4k000b3b6nca8rhglx%2522%253A%257B%2522id%2522%253A%2522clj3g2y4k000b3b6nca8rhglx%2522%252C%2522activeTabId%2522%253A%2522clj68o72000613b6oi5qawc4e%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clj3g2y4k000a3b6ne53qyvb8%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Ftsconfig.node.json%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252FApp.tsx%2522%252C%2522id%2522%253A%2522clj68o72000613b6oi5qawc4e%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522id%2522%253A%2522clj7ma6l000603b6nvsblxl9s%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TERMINAL%2522%252C%2522shellId%2522%253A%2522clj7ma6u7005cfwgn8ts8gj5d%2522%257D%255D%257D%252C%2522clj3g2y4k000d3b6npw8t91vd%2522%253A%257B%2522id%2522%253A%2522clj3g2y4k000d3b6npw8t91vd%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522id%2522%253A%2522clj3g527g00h73b6nc0l440p1%2522%252C%2522mode%2522%253A%2522permanent%2522%257D%252C%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A5173%252C%2522id%2522%253A%2522clj3g55w900na3b6n5jyzb1zg%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clj3g55w900na3b6n5jyzb1zg%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D
Steps to reproduce
Check the generated classes
JS Framework
React (TS)
Panda CSS Version
0.4.0
Browser
Latest
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

Hey @segunadebayo,
I hope you are doing well, I just tested the new release and it did not work 🙈
here a codesandbox


Dependency Injection for hashed url or params

I use Intervention Image since months and I'm very happy. Thanks!
It would be wonderful having the possibility to make custom templates for params and hashed urls.
For example:

GET /{route}/{template-name}/{hashed-image-url}[.ext]
in a class I could decrypt the hashed-image-url to get the real image filename and some params (like dimensions requested etc.)
pass these params to the Intervention Image application to serve the cached image

Is it possible?
If not, can you tell us some suggestions to start this implementation by ourselves?
Thanks so much!

Of course it is possible. You can use Intervention Image, but you have to write your own url processing engine.
The concept of Intervention Image's URL based image manipulation is to store image dimension and manipulation options in the template class and not in the url.


Tests: Adjust code and annotations for poll testcases.

Shorten the long function body for test_poll_wait() to
increase readability, split it into below two method:
test_poll_wait(),
check_results().

Adjust annotations for below poll test cases:
test_poll_wait(),
test_poll_cancel(),
test_poll_threadstate().

Signed-off-by: YouhuaX Zhu<EMAIL_ADDRESS>

Hi @andyross @andrewboie , Would you help to have a review?

thanks andyross for reviewing,
Hi @nashif @andrewboie ,  Would you help to have a review, too?

Just rebased this PR, and re-verified.


Ask for pretrain model

Dear Jiachen,
Thanks for your work! Would you like to share the pretrained models on ImageNet？ Best wishes!

Hi thanks for your interests. We will provide the trained models and it takes a bit time. in the mean time you are encouraged to train from your end and let us know whatever you got.

@5RJ we have tiny model uploaded. More is coming


expand matrix for maven version.

resolves #18
todo

[x] check if wildcards are possible e.g. 3.8.*, 3.9.*, 4.0.0-alpha-*

wildcard isn't a thing.


403 Forbidden Error

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question
get 403 HTTP Forbidden Error during try download this link -->
https://rr5---sn-npoe7n7r.googlevideo.com/videoplayback?expire=1656514949&ei=JRW8YpL4H6aB4-EPldSfuAs&ip=<IP_ADDRESS>&id=o-ACOYZY9OIZIrMeWC29ren3bCKQUT43rtkUmu8OMs4aKG&itag=22&source=youtube&requiressl=yes&mh=QP&mm=31%2C29&mn=sn-npoe7n7r%2Csn-npoldn7s&ms=au%2Crdu&mv=m&mvi=5&pl=24&initcwndbps=160000&spc=4ocVCwhhRmfthjV_48ipGlGXjBzv3gU&vprv=1&mime=video%2Fmp4&ns=wQQYzQsLf0WcaFQHeS00GfIG&cnr=14&ratebypass=yes&dur=177.748&lmt=1635032556535869&mt=1656492556&fvip=1&fexp=24001373%2C24007246&c=WEB&txp=6311224&n=mYtKyDg8RdAhOtO&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAPOWuNTzsZWEnYQQDG7B6UP8AXkjlT50zqKAkpki6hLvAiBQpqnBVKA4TF7bER7V2CQLSEhMtT8v5vBsl19L0KMLzA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgbuwb5C3LOyWJRl7rvnOnzcsxL2DodZnSCMOaeqEZ5OQCIQC1-GIs4LNc_prpgXEaIpN6BKG6hqpOUhhegZUN3bBl3A%3D%3D

Why are you trying to download a youtube direct link? Why not just use the youtube.com link?

I've extracted channel infos from youtube.com/{channelid}/videos link then try to extract and download from above link

@SARIBEG10 I don't what "channel info" you're talking about, but that's fine. Anyway, when did you extract the info?

@SARIBEG10 I don't what "channel info" you're talking about, but that's fine. Anyway, when did you extract the info above link?
EDIT: changed "info" to "above link"

curl -I -v -x 'http://<IP_ADDRESS>:8118' "https://rr5---sn-npoe7n7r.googlevideo.com/videoplayback?expire=1656514949&ei=JRW8YpL4H6aB4-EPldSfuAs&ip=<IP_ADDRESS>&id=o-ACOYZY9OIZIrMeWC29ren3bCKQUT43rtkUmu8OMs4aKG&itag=22&source=youtube&requiressl=yes&mh=QP&mm=31%2C29&mn=sn-npoe7n7r%2Csn-npoldn7s&ms=au%2Crdu&mv=m&mvi=5&pl=24&initcwndbps=160000&spc=4ocVCwhhRmfthjV_48ipGlGXjBzv3gU&vprv=1&mime=video%2Fmp4&ns=wQQYzQsLf0WcaFQHeS00GfIG&cnr=14&ratebypass=yes&dur=177.748&lmt=1635032556535869&mt=1656492556&fvip=1&fexp=24001373%2C24007246&c=WEB&txp=6311224&n=mYtKyDg8RdAhOtO&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAPOWuNTzsZWEnYQQDG7B6UP8AXkjlT50zqKAkpki6hLvAiBQpqnBVKA4TF7bER7V2CQLSEhMtT8v5vBsl19L0KMLzA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgbuwb5C3LOyWJRl7rvnOnzcsxL2DodZnSCMOaeqEZ5OQCIQC1-GIs4LNc_prpgXEaIpN6BKG6hqpOUhhegZUN3bBl3A%3D%3D"

Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8118 (#0)
allocate connect buffer!
Establish HTTP proxy tunnel to rr5---sn-npoe7n7r.googlevideo.com:443

CONNECT rr5---sn-npoe7n7r.googlevideo.com:443 HTTP/1.1
Host: rr5---sn-npoe7n7r.googlevideo.com:443
User-Agent: curl/7.58.0
Proxy-Connection: Keep-Alive

< HTTP/1.1 200 Connection established
HTTP/1.1 200 Connection established
< Connection: close
Connection: close
<

Proxy replied 200 to CONNECT request
CONNECT phase completed!
ALPN, offering h2
ALPN, offering http/1.1
successfully set certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
TLSv1.3 (OUT), TLS handshake, Client hello (1):
CONNECT phase completed!
CONNECT phase completed!
TLSv1.3 (IN), TLS handshake, Server hello (2):
TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
TLSv1.3 (IN), TLS handshake, Unknown (8):
TLSv1.3 (IN), TLS handshake, Certificate (11):
TLSv1.3 (IN), TLS handshake, CERT verify (15):
TLSv1.3 (IN), TLS handshake, Finished (20):
TLSv1.3 (OUT), TLS change cipher, Client hello (1):
TLSv1.3 (OUT), TLS Unknown, Certificate Status (22):
TLSv1.3 (OUT), TLS handshake, Finished (20):
SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
ALPN, server did not agree to a protocol
Server certificate:
subject: CN=*.c.docs.google.com
start date: Jun 21 11:05:53 2022 GMT
expire date: Aug 30 11:05:52 2022 GMT
subjectAltName: host "rr5---sn-npoe7n7r.googlevideo.com" matched cert's "*.googlevideo.com"
issuer: C=US; O=Google Trust Services LLC; CN=GTS CA 1C3
SSL certificate verify ok.
TLSv1.3 (OUT), TLS Unknown, Unknown (23):

HEAD /videoplayback?expire=1656514949&ei=JRW8YpL4H6aB4-EPldSfuAs&ip=<IP_ADDRESS>&id=o-ACOYZY9OIZIrMeWC29ren3bCKQUT43rtkUmu8OMs4aKG&itag=22&source=youtube&requiressl=yes&mh=QP&mm=31%2C29&mn=sn-npoe7n7r%2Csn-npoldn7s&ms=au%2Crdu&mv=m&mvi=5&pl=24&initcwndbps=160000&spc=4ocVCwhhRmfthjV_48ipGlGXjBzv3gU&vprv=1&mime=video%2Fmp4&ns=wQQYzQsLf0WcaFQHeS00GfIG&cnr=14&ratebypass=yes&dur=177.748&lmt=1635032556535869&mt=1656492556&fvip=1&fexp=24001373%2C24007246&c=WEB&txp=6311224&n=mYtKyDg8RdAhOtO&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAPOWuNTzsZWEnYQQDG7B6UP8AXkjlT50zqKAkpki6hLvAiBQpqnBVKA4TF7bER7V2CQLSEhMtT8v5vBsl19L0KMLzA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgbuwb5C3LOyWJRl7rvnOnzcsxL2DodZnSCMOaeqEZ5OQCIQC1-GIs4LNc_prpgXEaIpN6BKG6hqpOUhhegZUN3bBl3A%3D%3D HTTP/1.1
Host: rr5---sn-npoe7n7r.googlevideo.com
User-Agent: curl/7.58.0
Accept: /

TLSv1.3 (IN), TLS Unknown, Unknown (23):
< HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
< Last-Modified: Wed, 02 May 2007 10:26:10 GMT
Last-Modified: Wed, 02 May 2007 10:26:10 GMT
< Content-Type: text/plain
Content-Type: text/plain
< Content-Length: 0
Content-Length: 0
< Connection: close
Connection: close
< Vary: Origin
Vary: Origin
< Cross-Origin-Resource-Policy: cross-origin
Cross-Origin-Resource-Policy: cross-origin
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< Date: Sat, 02 Jul 2022 13:54:22 GMT
Date: Sat, 02 Jul 2022 13:54:22 GMT
< Server: gvs 1.0
Server: gvs 1.0

<

Closing connection 0
TLSv1.3 (OUT), TLS Unknown, Unknown (21):
TLSv1.3 (OUT), TLS alert, Client hello (1):

this is the output of curl HEAD request

bind the proxy to my localhost address as you see <IP_ADDRESS>:8118

See #29911.
Try this somewhere where the proxy isn't required.
Because the download links supplied by sites like YT expire, you can't have a workflow that extracts a download link for each video in the channel and then downloads each link in turn. Instead, extract a preferred format_id, which is usually stable, and then use that for each download; obviously but unavoidably, each video page has to be extracted just before the video download.

this link is expired you right i try to generate new link ==> youtube-dl --proxy=http://localhost:8118 -f 136 -g https://www.youtube.com/watch?v={vid}
then get generated link by :
curl -w '%{http_code}' -L -x http://localhost:8118 [generated_link]
then its return 200 http status code

you first check the generated link on browser and assure that link unexpired then try to download it

Almost always 403 for a download link is because it has expired, so you can just test that with curl -I ... and re-run yt-dl to get a fresh link, or indeed actually download from it.
yt-dl has some features that might help in archiving your channel:

--download-archive ... records downloaded items so thatthey don't get downloaded twice
playlist-items ... (etc) allow you to download only certain items from a playlist or channel.
More in the Manual.


Add TypeScript

TypeScript all the things! ⚡

I didn't add prettier yet because it would make the diff look crazy.
@leo After you review, let me know if you still want me to add prettier 👍


azure - python - CosmosDb MongoCollection - Error reading or replacing offers from CosmosDB serverless database

I am getting an error with azure cosmosDB MongoCollection in Serverless Account mode. Here is the full message:
updating urn:pulumi:dev::blog-main::azure:cosmosdb/mongoCollection:MongoCollection::dbCollection-tagindex: Error reading Throughput on Cosmos Mongo Collection "tagindex" (Account: "cosmos-dw-blog-dev", Database: "blog-db"): documentdb.MongoDBResourcesClient#GetMongoDBCollectionThroughput: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Message: {\"code\":\"BadRequest\",\"message\":\"Reading or replacing offers is not supported for serverless accounts.\\r\\nActivityId: 9eda1def-0cb5-42f2-ab5b-71b2ed3a4b43, Microsoft.Azure.Documents.Common/2.11.0\"}, Request URI: /offers, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.11.0"
Expected Behavior
The Pulumi doesn't need to read offers of the Cosmos DB account at the time of collection update with Serverless mode.
Current Behavior
The Pulumi tries to find the offer of the Cosmos DB and update it.
Steps to Reproduce

Create a new project with azure and python
Create a Cosmos DB account with the Serverless mode

azure.cosmosdb.Account("db",
                                              name="cosmos-" + name + "-" + config.project_name + "-" + config.env,
                                              location=resource_group.location,
                                              resource_group_name=resource_group.name,
                                              offer_type="Standard",
                                              kind="MongoDB",
                                              enable_free_tier=True,
                                              capabilities=[
                                                  cosmosdb.AccountCapabilityArgs(name="EnableServerless"),
                                                  cosmosdb.AccountCapabilityArgs(name="EnableMongo")],
                                              enable_automatic_failover=False,
                                              consistency_policy={
                                                  "consistencyLevel": "Session"
                                              },
                                              geo_locations=[
                                                  {
                                                      "location": resource_group.location,
                                                      "failoverPriority": 0,
                                                  },
                                              ])

Create a Cosmos DB Mongo database

azure.cosmosdb.MongoDatabase(database_name,
                                                     name=database_name,
                                                     resource_group_name=resource_group.name,
                                                     account_name=cosmos_account)

Create a Cosmos DB Mongo collection

azure.cosmosdb.MongoCollection("dbCollection-" + collection_name,
                                                    name=collection_name,
                                                    resource_group_name=resource_group.name,
                                                    account_name=cosmos_account,
                                                    database_name=database_name,
                                                    indices=[
                                                        cosmosdb.MongoCollectionIndexArgs(keys=['_id'], unique=True)
                                                    ],
                                                    shard_key="id")

Context (Environment)

This issue may be similar to this one: https://github.com/terraform-providers/terraform-provider-azurerm/issues/8661
Thank you :)

Which version of pulumi-azure are you on? The issue you linked was supposed to be fixed in 3.19.0 (v2.25.0 of the TF provider).


Cannot import torch and jax in the same script, with GPU installation from conda.

I was trying to use some pytorch dataloader with jax, so need to import torch and found this error related to Cuda and cudnn.
A minimal reproducible step is as follow:

Installed pytorch, cuda, cudnn, cuda-nvcc using conda with this conda env update -f environment.yml

# environment.yml
name: tmp
channels:
  - pytorch
  - anaconda
  - nvidia
  - defaults
dependencies:
  - python>=3.9
  - pip>=21.1
  - pytorch
  # - cpuonly  # Uncomment this will work.
  - torchvision
  - cudatoolkit>=11.1
  - cudnn>=8.2
  - cuda-nvcc
  - pip:
    - flax>=0.3.5

Activate env and install jax-gpu with pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html

Run this file python tmp.py

# tmp.py
import jax
import flax.linen as nn
import torch  # Comment this will work

model = nn.Conv(10,(3,3))
key1, key2 = random.split(random.PRNGKey(0))
x = jax.random.normal(key1, (1,10,10,3)) # Dummy input
params = model.init(key2, x) # Initialization call
print(jax.tree_map(lambda x: x.shape, params)) # Checking output shapes

Get error

2021-10-25 19:21:19.240649: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_dnn.cc:373] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2021-10-25 19:21:19.243894: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_blas.cc:226] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2021-10-25 19:21:19.245523: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_dnn.cc:373] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2021-10-25 19:21:19.247334: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_dnn.cc:373] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
Traceback .....
jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: UNKNOWN: Failed to determine best cudnn convolution algorithm: UNKNOWN: GetConvolveAlgorithms failed.

Convolution performance may be suboptimal.  To ignore this failure and try to use a fallback algorithm, use XLA_FLAGS=--xla_gpu_strict_conv_algorithm_picker=false.  Please also file a bug f
or the root cause of failing autotuning.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

or this error if replace nn.Conv with nn.Dense
2021-10-25 19:24:39.358698: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_blas.cc:226] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2021-10-25 19:24:39.358720: F external/org_tensorflow/tensorflow/compiler/xla/service/gpu/gemm_algorithm_picker.cc:118] Check failed: stream->parent()->GetBlasGemmAlgorithms(&algorithms)

What work?

Install cpu-only version of pytorch.
Or not import torch in the script.

Which cudnn version do you have?
jax[cuda] will install jax with cudnn 8.2. Now if you have cudnn < 8.2, then it won't work. You should do this (if this is indeed the problem): jax[cuda11_cudnn805].

I guess what Jake mentioned solved your problem right?

Yes, by lowering Jax's GPU memory to 88% when import torch. I guess it pytorch's fault so closing this now.


Create a testimonial section

i can do this  please assign this task to me

Can you assign me this task?


RTE: Consume config changes

Add facilities to react to config file changes in turn generated by changes of the kubeletconfig objects, which are already being handled by the kubeletconfig controller.

/hold
I'd like a e2e test here

/lgtm

/hold cancel
added tests in between (and uncovered bugs in the process leading to separate fixes)


Bug: OADP must-gather limilations

Contact Details
<EMAIL_ADDRESS>Describe bug
OADP must-gather tool got stuck when the namespace had ~1500 backup resources.
What happened?
Would expect that the tool completes gather or terminates with an error.
OADP Version
0.4.x (Beta)
OpenShift Version
4.8
Velero pod logs
NA

Restic pod logs
NA

Operator pod logs
NA

New issue

[X] This issue is new

To verify: Does this bug breaks the cluster or not.  When I tried on my cluster, it did. But then the cluster was used for many purposes and might have been already broken and this bug probably brought it to light.


Price is now displayed in UI

Previously price would not show in UI when food is listed.

Pull Request Test Coverage Report for Build 62

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 92.067%

Totals

Change from base Build 60:
0.005%

Covered Lines:
1532

Relevant Lines:
1664

💛  - Coveralls


noports: add automated tests for daemon delegated authorization feature

Is your feature request related to a problem? Please describe.
Currently no automated tests
Describe the solution you'd like
Automated tests in the e2e test pack
Describe alternatives you've considered
No response
Additional context
No response

Added to PR84 - relates to https://github.com/atsign-foundation/noports/pull/921


@TymonLee can you provide Nvidia driver version info and cuda version info.

@TymonLee can you provide Nvidia driver version info and cuda version info.

Nvidia driver version: e6c111af
cuda version: 12.2

@TymonLee can you provide Nvidia driver version info and cuda version info.

As the picture posted above:  Driver Version: 535.129.03   CUDA Version: 12.2
I was suspecting this block of code:

func (plugin *NvidiaDevicePlugin) getNumaInformation(idx int) (int, error) {
cmd := exec.Command("nvidia-smi", "topo", "-m")
out, err := cmd.CombinedOutput()
if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err)
}

Maybe there is no need to panic? Returning an error to previous function call is enough?

@TymonLee can you provide Nvidia driver version info and cuda version info.

As the picture posted above: Driver Version: 535.129.03 CUDA Version: 12.2
I was suspecting this block of code:

func (plugin *NvidiaDevicePlugin) getNumaInformation(idx int) (int, error) {
cmd := exec.Command("nvidia-smi", "topo", "-m")
out, err := cmd.CombinedOutput()
if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err)
}

Maybe there is no need to panic? Returning an error to previous function call is enough?

Very interesting. Normally nvidia-smi topo -m should be executed without error. What is the error message when executed on your node? Can you upload it?

Can this issue be reproduced? There are no abnormalities found in the code and logs.

从代码中看应该是执行"nvidia-smi topo -m"这条命令的时候出错，但是我手动进device-plugin和业务容器执行这条命令都是成功的。倒是执行"nvidia-smi"的时候有以下报错，不知道是否有关：

Very interesting. Normally nvidia-smi topo -m should be executed without error. What is the error message when executed on your node? Can you upload it?

@TymonLee can you provide Nvidia driver version info and cuda version info.

As the picture posted above: Driver Version: 535.129.03 CUDA Version: 12.2
I was suspecting this block of code:

func (plugin *NvidiaDevicePlugin) getNumaInformation(idx int) (int, error) {
cmd := exec.Command("nvidia-smi", "topo", "-m")
out, err := cmd.CombinedOutput()
if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err)
}

Maybe there is no need to panic? Returning an error to previous function call is enough?

It is really unreasonable to panic and exit directly. You should just output the error log.

@TymonLee can you provide Nvidia driver version info and cuda version info.

As the picture posted above: Driver Version: 535.129.03 CUDA Version: 12.2
I was suspecting this block of code:

func (plugin *NvidiaDevicePlugin) getNumaInformation(idx int) (int, error) {
cmd := exec.Command("nvidia-smi", "topo", "-m")
out, err := cmd.CombinedOutput()
if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err)
}

Maybe there is no need to panic? Returning an error to previous function call is enough?

It is really unreasonable to panic and exit directly. You should just output the error log.

The error code is 255 and the output is Unknown error. Maybe many users' pods are also executing nvidia-smi at the same time and that caused some errors related to concurrency? There are a lot of user pods on a single machine. And this is an occasional error.


Selection should be underlined rather than italic

Original comment:
Editorial.
A selection operation has been performed on this SFR to get the following text
[deallocation of the resource from] in the SFR.
The text style should be underlined rather than italicized, because this is a selection.

How does this relate to #334?


Issues with getting balance....

Ok, so I am having issues getting the address with balance, and the proper balance...
Printing wallet.get_balance() shows the proper ammount in the blockchain wallet.
but when I try to go through the addresses to find which has the balance, then to send it out, The address with balance never comes up, and I get reports of all addresses being at a 0 balance.
Output from Code:

573
Entire Wallet Balance: 573
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy
Balance: 0 Address: removed for privacy

Source Code:
`from blockchain.wallet import Wallet
import time
wallet = Wallet('xxxxxxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxxxx', 'http://localhost:3000/')
print wallet.get_balance()
nobalance = True
while nobalance == True:
print 'Entire Wallet Balance: ' + str(wallet.get_balance())
balance = wallet.get_balance()
addresses = wallet.list_addresses()
for a in addresses:
print 'Balance: ' + str(a.balance) + ' Address: ' + a.address
if a.balance != 0:
print 'BALANCE Found: ' + str(a.balance) + ':'+ a.address
payment = wallet.send('REMOVED FOR PRIVACY', a.balance, a.address)
print payment.tx_hash
time.sleep(3)
print '\n'`

Also from service-my-wallet-v3
I get this output

blockchain-wallet-service start --port 3000
1559050845084 - info: blockchain.info wallet service v0.26.3 running on http://<IP_ADDRESS>:3000
wallet.external not set: TypeError: Class constructor Exchange cannot be invoked without 'new'
at new SFOX (C:\Users\punt\AppData\Roaming\npm\node_modules\blockchain-wallet-service\node_modules\bitcoin-sfox-client\lib\sfox.js:56:98)
at new External (C:\Users\punt\AppData\Roaming\npm\node_modules\blockchain-wallet-service\node_modules\blockchain-wallet-client\lib\external.js:27:20)
at fetchSuccess (C:\Users\punt\AppData\Roaming\npm\node_modules\blockchain-wallet-service\node_modules\blockchain-wallet-client\lib\external.js:111:12)
at process._tickCallback (internal/process/next_tick.js:68:7)


Add support for PassengerDefaultUser

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@gollub

Please sign the CLA here.

PassengerDefaultGroup defaults to the group of the user specified in PassengerDefaultUser, but if we're here, do you also want to add PassengerDefaultGroup?
https://www.phusionpassenger.com/documentation/Users guide Apache 4.0.html#PassengerDefaultGroup

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@gollub

Please sign the CLA here.

It's been over 6 months since this PR was opened and without the CLA signed we can't merge it. I'm going to close it out now for lack of CLA.

https://github.com/chef-cookbooks/passenger_apache2/pull/56 rekindles this.