Failed getting response from http://<IP_ADDRESS>:4001/: ssh: rejected: connect failed (Connection refused)

After going running the ec2 setup script and trying to install deis, I am getting this error (where <IP_ADDRESS> is one of the public IPs on EC2):
$ export DEISCTL_TUNNEL=<IP_ADDRESS>
$ deisctl list
INFO client.go:291: Failed getting response from http://<IP_ADDRESS>:4001/: ssh: rejected: connect failed (Connection refused)
ERROR client.go:213: Unable to get result for {Get /_coreos.com/fleet/states}, retrying in 100ms
INFO client.go:291: Failed getting response from http://<IP_ADDRESS>:4001/: ssh: rejected: connect failed (Connection refused)
ERROR client.go:213: Unable to get result for {Get /_coreos.com/fleet/states}, retrying in 200ms
INFO client.go:291: Failed getting response from http://<IP_ADDRESS>:4001/: ssh: rejected: connect failed (Connection refused)
ERROR client.go:213: Unable to get result for {Get /_coreos.com/fleet/states}, retrying in 400ms

I also tried setting DEISCTL_TUNNEL to the ELB IP...
$ export DEISCTL_TUNNEL=deis-1.mydomain.com
$ deisctl list
Error: failed initializing SSH client: timed out while initiating SSH connection

Hmm, that timeout could mean that etcd could be down or you forgot to add your key to your ssh agent via ssh-add. If you SSH into the machine, what's the status of etcd?

I got that problem once I created a cluster with an old discovery URL in my settings. @olalonde are you sure your discovery URL is right?

I deleted the cloudformation stack and removed the key pair and started from scratch. Platform successfully installed. I'm not entirely sure but I think the issue might have been due to an incorrect ssh key.


The AlignmentX and AlignmentY properties of DrawingBrush class do not work on v11.1.1，v11.1.2，v11.1.3

Describe the bug
The AlignmentX and AlignmentY properties of DrawingBrush class do not work on v11.1.1，v11.1.2，v11.1.3
but it's work on v11.1.0-beta1, v11.0.10.
On v11.1.0-beta1,v11.0.10 version,It's default value is Center,
On v11.1.1，v11.1.2，v11.1.3,It's default value is Top and Left,
To Reproduce
After upgrading the version, these two properties changed to Top and Left, and resetting the values has no effect.
Expected behavior
I hope to enable these two properties in the latest version, or change their default values to Center
Avalonia version
e.g. 11.1.1,11.1.2,11.1.3
OS
No response
Additional context

This is normal, in version 11.0.10。

This is abnormal in version 11.1.3。

Please add a sample we can easily run at our end

Shouldn't these properties align content inside of the tile boundaries? I.e., in your case - inside of 64;64 tile.

Yeah looks like a bug in previous versions which was fixed. I remember slightly something like that before but it was wrong. Can't recall issue number atm.

Yeah looks like a bug in previous versions which was fixed. I remember slightly something like that before but it was wrong. Can't recall issue number atm.

Thank you, will it be fixed in the next version? When will the next version be released?

Shouldn't these properties align content inside of the tile boundaries? I.e., in your case - inside of 64;64 tile.

Yes,these properties align content inside of the tile boundaries. Using the same code, in the latest version, they do not work, but they work in versions before 11.1.0-beta1

Thank you, everyone. I have seen it and it has been fixed in version 11.2.0-beta1. Thank you very much for your support。


implement dark mode

styles are inlined/internal only. To keep latency low and avoid any render blocking resource, we might need to keep using internal css, but there is a way to re-use and import common css by using Go nested templates.
This can be achieved easily as follows:
common-css.html
{{ define "common-css" }}
<style type="text/css">
// common css code here ...
</style>
{{ end }}

landing.html
<head:>
...
{{ template "common-css" }}
</head>
...

Please see discussions and issues

https://github.com/golang-cafe/golang.cafe/pull/39
https://github.com/golang-cafe/golang.cafe/issues/36

For me this is already possible to start working on this issue or I need to wait to some refactor to finish?

I am not aware of anybody working on the nested template refactoring yet, so If you want you can give it a go :)
I am not sure how you want to implement it? I guess some sort of button to switch on and off dark mode? Open to your suggestions

how you want to implement it?

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

I think it will be pretty straightforward then, you can either copy pasta all the dark mode css everywhere or create the dark-mode-css.html nested template as shown above so it can be re-used. Up to how best works for you :)

Thanks. How can I check my changes locally without installing Docker, PostgreSQL?

Right now you must need the following in order to run it locally: Bash, Go, Docker. You can just run a script to set it up. ./setup-database.sh - are you having issues with Docker? You don't need to install PostgreSQL locally you just need docker running and the bash script will do the rest

Do not want to pollute my system with Docker, I will try with Devtools only :)

fair enough - not sure if there are other ways you can test this locally. Docker is a pretty standard tool for dev work. Can use postgres installed locally as well. But up to you really. Open to suggestions for better dev experience if you have any


resolves #170 build v8go for musl libc

What I Did

create a new workflow to build GN on Alpine (build dependency of v8)

it will automatically create a pull request
if you don't trust the compiled file available at deps/alpine_x84_64/gn, you can run the workflow again to replace this file

add a new workflow to build v8 on Alpine

get v8 dependencies from the GitHub runner (ubuntu-20.04) because the script does not work on Alpine
use Docker to build v8 on Alpine
copy files from the Docker container and create a pull request

introduce two Python scripts to split the build task since we cannot get v8 dependencies from Alpine

get_v8deps.py : get v8 dependencies
compile_v8.py : compile v8
build.py uses functions from the get_v8deps.py and compile_v8.py scripts to get dependencies and compile v8 (in one go)

add cgo directive for deps/alpine_x86_64 (disclaimer: I don't know what I'm doing 🐶)

as far as I understand, it would allow to pass an environment variable CC=musl-gcc to install v8go on Alpine?

create a module deps/alpine_x84_64/vendor.go

resolves #170

Note : I'm currently building libv8.a for Alpine on my fork

I've added deps/alpine_x86_64/libv8.a. How can I test that everything is running fine on Alpine?

Yay! tests are running fine on Alpine 🎉
I'm using a Docker container to run the test + coverage on Go 1.17.13 alpine3.16 and 1.19.3 alpine3.16.
You can see the result on my fork: https://github.com/Mogztter/v8go/pull/1

Will this fix 32 bit arm too? Or is there perhaps a way to put the build workflow in the process, so don't need to pre-vendor?

Yay! tests are running fine on Alpine 🎉 I'm using a Docker container to run the test + coverage on Go 1.17.13 alpine3.16 and 1.19.3 alpine3.16.
You can see the result on my fork: https://github.com/Mogztter/v8go/pull/1

@ggrossetie Hi there! The link for the result is not working. Could you please share the working example?

@ggrossetie Hi there! The link for the result is not working. Could you please share the working example?

I was trying to build a native binary for D2 but they are now using another library so I've deleted my fork 😞


fix: use /usr/local/bin as bin path

Changes the bin path from /opt/buildpack/bin to /usr/local/bin as discussed in #300

Merging this as fix later, otherwise we don't get a new build / release.


Problem singing in YT Vanced/Micro G

YToday when I open the app, the error was, you're disconnected, please check your internet connection, but I was well connect to my Wifi. So I  reinstall the app, but now I can't sing in with my account, when I try to, the app didn't add my account and it star charging infinitely. Please help, I did everything that said the Vanced guide, but it didn't work

Vanced Discord


Divide functionality in Conductor into plugin and core

Split functionality in conductor into a "default message delivery plugin" and "core functionality" as in the emission and processing of events.

This is an investigative task where we will explore the feasibility of sectioning out the default message delivery pieces into their own plugin.


Suggestion: Ability to exclude folders and/or exclude files too

Wanted to first say that this is AWESOME!
Thank you for creating this extension!
Can you give us the ability to exclude certain folders from it's search
as well as exclude certain files?
thanks!!!!!!

@bcanzanella Will it be possible for Open Matching Files (OMF)  to use the search.exclude instead of the files.exclude setting?
files.exclude
Configure glob patterns for excluding files and folders. For example, the files explorer decides which files and folders to show or hide based on this setting.
search.exclude
Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the files.exclude setting.
The problem is that I do not want to hide my node_modules folder from the files exlorer but I do want to skip it when searching for files.
Something to consider!

@Preconf interesting... I'll have to check that out.

I'm having a similar issue.

Under the hood, Open Matching Files (OMF) uses the same search api as VSCode's command palette file search.

I believe VSCode's built in file search ignores files in the VCS ignore file (e.g. .gitignore), by default. But this is not the behavior I see with Open Matching Files (OMF). Is it possible to have OMF automatically ignore all files ignored by the VCS?

I'm having a similar issue.

Under the hood, Open Matching Files (OMF) uses the same search api as VSCode's command palette file search.

I believe VSCode's built in file search ignores files in the VCS ignore file (e.g. .gitignore), by default. But this is not the behavior I see with Open Matching Files (OMF). Is it possible to have OMF automatically ignore all files ignored by the VCS?

Version 0.5.0 should now exclude files that are part of your settings.json files.exclude as well as the search.exclude.


HDFS: Allow overriding datanode registration addresses

Description
Part of https://github.com/stackabletech/hdfs-operator/issues/174, implemented by rebuilding HDFS from source, after applying the required patches.
Definition of Done Checklist

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
Please make sure all these things are done and tick the boxes

- [x] Changes are OpenShift compatible
- [x] All added packages (via microdnf or otherwise) have a comment on why they are added
- [x] Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
- [x] All packages should have (if available) signatures/hashes verified
- [x] Does your change affect an SBOM? Make sure to update all SBOMs

The 3.3.4 variant is tested against stackabletech/hdfs-operator@2cd93add0383fe55e9770c1cc0e50ae6126b2fae. The 3.3.6 variant is untested due to https://github.com/stackabletech/hdfs-operator/issues/440.
There is no 3.2.x backport, on the hypothesis that any new clusters should be running 3.3.x+, and any existing clusters have clearly already been fine without external access.. :P

Good catch, will do.


FAQ How is the average rewards expected per Validator Pool calculated?

https://www.notion.so/cere/How-is-the-average-rewards-expected-per-Validator-Pool-calculated-bfc480fbc36940afb889cb80a6675293


Unverified pieces get stuck until all pieces finish downloading

e.g. piece 59 in the screenshot below

shady need to obfuscate the image

I think you are seeing that because the green represent non-BLOCK_BLANK blocks, which includes reserved blocks.
on cmd.js [line 461] (https://github.com/feross/webtorrent/blob/master/bin/cmd.js#L461) you can replace
bar += piece.blocks[j] ? '{green:█}' : '{red:█}'

with
bar += piece.blocks[j] ? (piece.blocks[j] === 1 ? '{blue:█}' : '{green:█}') : '{red:█}'

and you will see reserved blocks in blue.
But not all reserved blocks will be shown, because if you have reserved blocks on pieces without any written block, the condition on [line 456] (https://github.com/feross/webtorrent/blob/master/bin/cmd.js#L456) will skip it
if (piece.verified || piece.blocksWritten === 0) {
    continue
}

so, something like this can be used to skip the condition
if (piece.verified || !piece.blocks[0]) {
    continue
}

even if it doesn't check all the blocks, as far i can see when starting with a new piece it starts with the first block, so its a kind of better approach

I'm not sure exactly what "reserved" means in this context, but yeah with that change I'm seeing that the pieces that get stuck do have 'blue' segments in them, I was really unfortunate with this one as it happened on the first block so I had to wait for the entire file to be downloaded before it would go back and try again.

@grunjol's fix in https://github.com/feross/webtorrent/pull/272 should resolve this issue! Please give<EMAIL_ADDRESS>a try, and please let us know if this does the trick.


@vscode/proxy-agent 0.28.0

https://github.com/microsoft/vscode/issues/236423

Should we hold-off on this merge to avoid blocking any emergency insiders from main till the terrapin sync finishes ?

The Terrapin sync has finished. Thanks!


Could you support to add call back when video start, pause and finish ?

I think now it is really good library
however it could be nice if we have something like @brianegan

Allow to change/ customize the color of control bottom bar (now it is white)
Add call back when video starring play, pause and end
When video finishing play. It should show play button
Maybe let pause and play buttons in center both vertical and horizontal

here you go: https://github.com/brianegan/chewie/pull/274


[Doc] Update docs about materialized view

Why I'm doing:
Docs about materialized view is late than the codes.
What I'm doing:
Update docs to be better for the current implentments.
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[x] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@Mergifyio backport branch-3.2

@mergify backport branch-3.1


Any $ sympols need to be escaped with a $ symbol.

This is regarding the Docker Compose section in the readme.
current state:
    cloud_storage_data:
      driver: sapk/plugin-rclone
      driver_opts:
        config: "$(base64 ~/.config/rclone/rclone.conf)"
        args: "--read-only --fast-list"
        remote: "https://sos-ch-dk-2.exo.io:rmcsearchresiliotestrz"

according to: https://github.com/moby/moby/issues/30629
this is how it should look.
    cloud_storage_data:
      driver: sapk/plugin-rclone
      driver_opts:
        config: "$$(base64 ~/.config/rclone/rclone.conf)"
        args: "--read-only --fast-list"
        remote: "https://sos-ch-dk-2.exo.io:rmcsearchresiliotestrz"

After using two $ signs my docker compose file worked. Before that I got the error:
Invalid interpolation format for "driver_opts

Sorry my fault. The config needs to be converted to base 64 and then pasted in at config: "base64 string of rclone.conf"

No problems this part isn't clear enough maybe I should add step for generating the base64 in global var and use it via variable substitution.

thats what I have done now :)
      driver_opts:
        config: ${RCLONE_CONF_BASE64}
        args: "--read-only --fast-list"
        remote: "exoscale-encrypted:${S3_BUCKET}"

Yes and you have done something like export RCLONE_CONF_BASE64=$(base64 ~/.config/rclone/rclone.conf) before your docker-compose up.
I should add put it that way in the docs.
What I was thinking was copying the result of base64 custom-rclone.conf in the docker-compose file because it is how I use it but that not the simplest way to begin when most people are using the default.


Refactor postLabels to postLabel

Don't handle multiple label creations in the client module. Handle that logic in the program logic.

Also don't create functions inside loops warning.


Use pluginlib to reenable displays panel and load basic plugins

This pr does a bunch of stuff:

sets up the rviz_default_plugins package
uses the new ros2 branch for pluginlib:

https://github.com/ros/pluginlib/tree/ros2

finishes migrating files that used pluginlib and that were skipped over in previous refactorings
reeanbled the displays plugin
changed some of the libraries to SHARED and changed other linking settings to address issue with multiple Ogre instances due to multiple copies of the Ogre static libraries
routes logging of the application through the new ros logging infrastructure (fixes https://github.com/ros2/rviz/issues/62, or at least works around it)
migrates move tool and orbit view controller to rviz_default_plugins

What I still need to do:

[x] add pluginlib to instructions in readme
[ ] (re) migrate a few of the display plugins, at least grid
[x] do an uncrustify and cpplint pass
test on

[x] Linux
[ ] Windows

[ ] run tests
[x] update instructions or fix CMake to make it build on Linux
[x] resolve issues with filesystem experimental on Linux (linking and API issues)
[ ] figure out what is wrong with the orbit view controller

This still doesn't get a display panel to show at first, that needs the configuration loading to be fixed, but you can add one from the add panel dialog.
I also need to test out the add display by topic more, since I just ported it without trying it out (just made it compile).

Nice work!
I built the branch on Ubuntu 16.04, here are some findings:

The default tinyxml2 APT package libtinyxml2-dev is not sufficient for CMake builds, as it does not provide a TinyXML2Config.cmake. I had to add the tinyxml2 repo to the rviz workspace and build it from source.
When building tinyxml2 from source it creates a tinyxml2Config.cmake (lowercase), but the build expects a TinyXML2Config.cmake (uppercase). I had to replace the name in find_package in the pluginlibs CMakeLists.txt with the lowercase variant.
When using the default GCC (5.4.0), has_include(<experimental/filesystem>) in the filesystem_helper returns true but the API seems to miss some methods (e.g. fs::path::parent_path()). So the fact that <experimental/filesystem> is available may not be enough to use it.
both the displays panel and the view controller panel can be added fine
the orbit view controller behaves strangely right now

I updated the OP with more todo check boxes based on your feedback. I'm going to try and get this done today, but I have some things to do this afternoon which might get in the way of that.

Maybe we could take up these three fixes and tests for next week, @greimela-si and @wjwwood? So they would not be part of this PR:

(re) migrate the display plugins
figure out what is wrong with the orbit view controller
test out the add display by topic more

@jeising that's the plan, but currently I'm hung up on an issue with the Qt Automoc step, but only on windows. I've spent the better part of a day on this one thing and haven't found a workaround just yet. I wanted it to be at least compiling before pushing this for merge (and then subsequently opening issues for the other problems).
I'll push what I have shortly and describe the problem before picking up on it again.

The resource_retriever is currently missing in the readme.

I fixed the orbit view controller in #129.


JSON should not have a trailing comma after last element

The logs parameter to the create subscription sample contains JSON where the last property in each of the objects has a trailing comma. Removing them.
Description
Cosmetic change
Testing Guide
n/a
History Notes
n/a

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Since this is a cosmetic change to the command parameters the above checks do not apply

monitor

/azp run

Thanks @rwatjen


[11.x] Extract common logic in join method

Moved the common binding addition logic outside the conditional blocks.

No plans to merge right now.


Tea bag is off-centre

Currently, the tea bag is positioned too far to the left.

This is fixed in #4


playground for App Bar

Fixes 3404 .

Changes proposed in this Pull Request:

Added basic playground for App Bar with all props of App Bar

Screenshots:

To Test:

/components/app-bar/playground

When animationDuration is set to 1000 and only 1000, the app bar refuses to expand. All other numbers work just fine.
https://user-images.githubusercontent.com/8997218/189242294-034f3c4b-7365-4896-aa66-e4d1c6a94b2f.mov
I love how you used a disabled text field for scrollContainerId.

When animationDuration is set to 1000 and only 1000, the app bar refuses to expand. All other numbers work just fine.
Screen.Recording.2022-09-08.at.7.19.38.PM.mov
I love how you used a disabled text field for scrollContainerId.

Working fine on my end for firebase URL. @daileytj / @emclaug2  / @jeffvg  please let me know if you are also facing the same issue as Huayun mentioned.

I'm having the same issue as Huayun with the scroll issue with the animationDuration being set to 1000. It will occasionally open back up if I scroll up and down, but it's inconsistent.

I'm having the same issue as Huayun with the scroll issue with the animationDuration being set to 1000. It will occasionally open back up if I scroll up and down, but it's inconsistent.

This issue occurs when we scroll the page fast. Same issue I can see in the storybook.

I'm having the same issue as Huayun with the scroll issue with the animationDuration being set to 1000. It will occasionally open back up if I scroll up and down, but it's inconsistent.

This issue occurs when we scroll the page fast. Same issue I can see in the storybook.

Sounds good. I'll approve this, but be sure to write up an issue to address this.

I'm having the same issue as Huayun with the scroll issue with the animationDuration being set to 1000. It will occasionally open back up if I scroll up and down, but it's inconsistent.

This issue occurs when we scroll the page fast. Same issue I can see in the storybook.

Sounds good. I'll approve this, but be sure to write up an issue to address this.

Logged an issue https://github.com/brightlayer-ui/react-component-library/issues/515


Change login flow handling to prevent 400 errors

Spun up a quick fix (attempt) at what was pointed out on #241. I'm second guessing the fix however, as I'm not sure if and when the else statement would happen. Any improvements, please let me know and I'll add them.

I don't think this is right, the actual error returned in this case seems intentional, from my reading of the code this change should result in no visible behaviour difference (the while loop will either break or hit function return - where break is effectively the same as pass from the if statement).

This is does have a behaviour change, it now lets the user click Google, hit back and use GitLab (and vice versa).  Before, it would keep doing that "400 Bad Request".  I agree with that the actual error is intentional, but I'm not sure in which cases it should happen.

To meet expected user behaviour we probably need to rework the backend logic to do something other than return an error in the case that the user is mid-flow elsewhere.

I also initially thought this, and that's why I opted for a while loop as I thought there could be a way inside the else to loop to the top of the while statement, but that's obviously not happening so I'm at a bit of a loss of what would be a more approriate workaround while keeping the error.

This is does have a behaviour change, it now lets the user click Google, hit back and use GitLab (and vice versa). Before, it would keep doing that "400 Bad Request". I agree with that the actual error is intentional, but I'm not sure in which cases it should happen.

I see, I had overlooked that the login dict's method is being assigned and forced to match the method passed as an argument. In that case, in terms of the local logic:

The if branch is unnecessary since it will always be true.
The else branch is unreachable.
The while seems unnecessary because the logic will always break (if else was reachable it would break or return) from the loop on the first iteration. It's also unclear why the loop would be necessary if this weren't the case.

In terms of the wider logic my review process is:

I need to check if modifying the dict like this is safe as far as the caller is concerned. It smells of an antipattern.
The dict is coming from the login state, which looks to be given as an rvalue (for lack of a more Pythonic term) so it's safe to modify.
However, by modifying it we're locally overriding the true "active-login-flow" retrieved, which seems hacky and like it could have unintended consequences.

It seems to me like the proper way to resolve this is to make sure if already logging in, we just clean that up and then initiate the new flow. That may be what this change is achieving (I'm not super familiar with the rest of the logic that follows in this method), but it's unclear from the code change / justification given here.

We'll close this because it's not ideal as an approach and we should reconsider how to achieve the goals.  Thanks for your attempt though.


Error during One-click deployment of Cross Instance Workspace one Access

Code of Conduct

[X] I have read and agree to the Code of Conduct.
[X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[X] Do not leave "+1" or other comments that do not add relevant information or questions.
[X] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation
5.1
Module Version
<IP_ADDRESS>1
PowerShell Version
7.3.6
PowerCLI Version
<IP_ADDRESS>24340
PowerVCF Version
<IP_ADDRESS>0
Guest Operating System
windows server 2019
Environment Details
No response
Description
Error while running Add-Cluster group in Global wsa one-click deployment.
Error or Debug Output
'''Powershell
Error at Script Line 26214
[04-17-2024_11:23:03]   Relevant Command: $StatusMsg = Add-ClusterGroup -server $jsonInput.sddcManagerFqdn -user $jsonInput.sddcManagerUser -pass $jsonInput.sddcManagerPass -domain $jsonInput.mgmtSddcDomainName -drsGroupName $jsonInput.drsGroupNameWsa -drsGroupVMs (Get-vRSLCMProductNode -environmentName $jsonInput.environmentName -product vidm).vmName -WarningAction SilentlyContinue -ErrorAction SilentlyContinue -WarningVariable WarnMsg -ErrorVariable ErrorMsg
[04-17-2024_11:23:03]   Error Message: Cannot process argument transformation on parameter 'drsGroupVMs'. Cannot convert value to type System.String.
,,,
Expected Behavior
Add-Cluster group should run without any issues
Actual Behavior
Error Message: Cannot process argument transformation on parameter 'drsGroupVMs'. Cannot convert value to type System.String.
Steps to Reproduce
Issue while running One-click cross-Instance wsa Deployment
Log Fragments and Files
No response
Screenshots
No response
References
No response

The input value for the -drsGroupVMs parameter needs to be modified to handle both single node and multiple nodes of Workspace ONE Access as follows:
-drsGroupVMs ((Get-vRSLCMProductNode -environmentName $jsonInput.environmentName -product vidm).vmName -Join ",")


PROGRAM GONE ROGUE!

Bru is very reliable and virus-free software.
If you had done something bad. It's your problem !!!!
You can complain to github that this crappy software is a virus. Except
that it is Open Source. If you're sure of what you're saying, show me some
photos.

—
Reply to this email directly, view it on GitHub
https://github.com/Klocman/Bulk-Crap-Uninstaller/issues/611, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP4KDEKSBU3K72XNXGXHK5DZB65RJAVCNFSM6AAAAABHTBFN7CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4TCNBWGI4TOMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

If something like that actually happened then give exact steps that led to the issue. Also, ideally don't use a burner account and intentionally bad English.

que font les gens ?! J'ai juste téléchargé ce prg de mon dépôt de l'année et il est complètement effacé de mon dossier de téléchargements !!! comment est-ce possible ?? tu n'as pas testé ta libération de merde b4 ?! je ne vous ai pas donné le droit de supprimer quoi que ce soit, encore moins tout mon dossier dlz !!!
alors voici le problème : votre prg a supprimé mes téléchargements sans demander la permission ! Comment les gens sont-ils censés faire confiance à votre code si vous allez simplement supprimer tout ?! J'ai besoin d'une explication sur pourquoi cela s'est produit et d'un correctif dès que possible ou je vais devoir signaler cela à github et le supprimer du dépôt !!!

I'll just close this since there's no actionable information.


Feature Request: homebrew formula

Create a homebrew formula for better-commits so that it can be installed globally with something like brew install better-commits on macOS and Linux.
Could either be a custom tap or included in homebrew/core.

Hey great idea :). I'm not familiar with this process and would likely need someone else to take this. - I am working full-time and have a new-born baby at the moment 😅

Thanks for the reply!
I've distributed a few personal projects before on my own homebrew-tap, but a project of this scale should really be submitted to homebrew-core.
If I can figure out how to submit it there I'd be happy to help


feat: ignore rhs of dischargers when linting for unreachable

Before this change the linter would complain that assumption was unused
def t : ℕ → ℕ := sorry
@[simp]
lemma a : aa = 0 → t aa = 0 := sorry
lemma aaa (ha : aa = 0) : t aa = 0 := by
  simp (disch := assumption)

could you add a test?


Crash on repeated 69s

Somebody redeemed the TTS "696969696969696969969696969696969696969696969696969696996969696969696969696969696969696969696969969696969696969696699969696969696969696969969696969696969696969696969696969696996969696969696969696969696969696969696969969696969696969696699969" causing the application to just crash.  That's not nice!
Shorter number of 69's also crashes.
Sorry, I'm a bug magnet. 😅

Does not seem to be crashing here when I feed it into my example scene provided with the plugin. Are you using all default settings on the GDSAM node currently?

Interesting, yeah, it should be all the default settings using an AudioStreamPlayer with the volume arbitrarily dragged down to -15.933.  Windows 10, Godot 4.1.  I'll see if I can get a minimal repro for it.

Ok, I've attached a project that simply crashes on launch with the script:
extends Node2D
@onready var gdsam = $GDSAM
@onready var audio_stream_player = $AudioStreamPlayer

func _ready():
	gdsam.speak(audio_stream_player, "696969696969696969696969696969696969696969696969696969696969696969696969")

test_tts_crash.zip

That crashes. The wild thing is if I copy and paste the 69 spam from your original post and use it, then it does not crash.

Looks like it's crashing somewhere deep in SAM's output rendering which I doubt I have much hope of fixing or having the time to parse or deeply understand. This will have to sit on the backburner for a while.

Ah, bummer.  Is there at least a way to put a try/catch block around it or something to prevent it from crashing the whole application?

I can take a look at that.

Found another crash: "Qwerty...aeiou... John... madden... Brushnode... so many layers 12345qtp467"
Seems different sections of this work OK, but all together: crash.


How to access asset data in API / Elements API?

I am using Elements API to create JSON feeds with entries, but I can't find any way to display/grab the data from the embedded assets. Any help/examples are appreciated!
https://github.com/craftcms/element-api

Something like this...
$embeddedAsset = \spicyweb\embeddedassets\Plugin::$plugin->methods->getEmbeddedAsset($asset);

$data['asset'] = $embeddedAsset ? $embeddedAsset->html : null;


[MM-26322] - Optimistically update the order of channels/categories when dragging

Summary
Optimistically update the order of channels and categories in order to avoid 'jumping' when dragging.
Ticket Link
https://mattermost.atlassian.net/browse/MM-26322

A couple questions:

Could dispatching the RECEIVED_CATEGORIES twice mess up the sidebar state, like if the user attempts to make another change in between the two actions? Maybe we could get away with only dispatching it once before the request is made.
What happens if the request fails? We don't really have a good way of rolling back the sidebar state since these changes made by moveChannelToCategory could get complicated. Perhaps we could cheat on the rollback by just reloading the affected categories if an error occurs.

Good idea, we can just use the request to persist the information on the backend and check that it didn't fail.
I guess I should dispatch the action with the old categories when the request fails.

@nevyangelova
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#1187-upstream-release-5.26-1595338373
Branch 'automated-cherry-pick-of-#1187-upstream-release-5.26-1595338373' set up to track remote branch 'release-5.26' from 'upstream'.
+++ Downloading patch to /tmp/1187.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/1187.patch

Applying: - Optimistically update the order of channels/categories when dragging
Applying: Don't rely on backend response for setting categories
Applying: rename category variable
Applying: Dispatch original and target category
Applying: Add appropriate naming
Using index info to reconstruct a base tree...
M	src/actions/channel_categories.ts
Falling back to patching base and 3-way merge...
Auto-merging src/actions/channel_categories.ts
CONFLICT (content): Merge conflict in src/actions/channel_categories.ts
Patch failed at 0005 Add appropriate naming
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU src/actions/channel_categories.ts

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.

Manually cherry-picked this onto the release-5.26


v0.8.2 release?

Now that https://github.com/conda-tools/conda-execute/pull/48 has been merged, it would be super helpful to tag a release so that the noarch issue fix is available via conda-forge ...
@conda-tools/core

+1 from me.

Just tagged a v0.8.2. @djkirkham has an interest in updating https://github.com/conda-forge/conda-execute-feedstock

@jakirkham and @pelson Great, thanks! 👍


add jalr branch

thanks this project~
Maybe need publish new version

I'll have a chance to test this and cut a new release this weekend. Thanks for your contribution!

thank you~


add batch_msg + replace yahoo with apache

Motivation

added  num_batch_message into SEND command in PulsarDissector.
replace yahoo with apache.

Result
Will be able to see num_batch_message in to SEND command.

@rdhabalia I have being doing some changes on the dissector already. It includes this fix plus adding support for all new commands and correctly parsing the checksums.
It is based on top of #536 and I didn't send out a PR yet because I wanted to get the visualization of the messages inside the batches.
Relevant commit at https://github.com/merlimat/pulsar/commit/a72cd77e83db2691b679c034a14782043a71b782

sure, will close this PR then.

@rdhabalia If you have cycles, feel free to carry over from my branch! ;)


Spec, grammar: function expression should not require semicolon

Dart Language Specification (3-rd Edition / June 2015) reads (16.10 Function Expressions)
functionExpression:
formalParameterList functionBody
;
however
functionBody:
async? ‘=>’ expression ‘;’
| ...etc
;
This looks unintended, not only since the paragraphs below mention the form "=> e" without semicolon, but because it would seem clumsy for function expressions to require a terminating semicolon. E.g. when passing a function as an argument, we'd write x.foo((e) => true) and in fact there is a lot of code out there that has this form.
It is not a simply typo however, since we do have two situations where requiring a semicolon makes sense:
"functionSignature functionBody" as referenced from topLevelDefinition and
"methodSignature functionBody" from classMemberDefinition.
So maybe changing those to a new nonterminal terminatedFunctionBody would be enough to fix it.

No milestone now: This correction is part of a larger update of grammar related parts of the specification, based on Dart.g.

This was fixed at some point:
\begin{grammar}
<functionExpression> ::= <formalParameterPart> <functionBody>
\end{grammar}

<functionBody> actually still ends in a semicolon, but this PR will fix it.

Landed said PR.


nnictl command not found(may be because of failing to add the necessary environment variable)

Environment:

NNI version: v1.7
NNI mode (local|remote|pai): local
Client OS: ubuntu18.04, windows10
Server OS (for remote mode only):
Python version: 3.6
PyTorch/TensorFlow version: not used
Is conda/virtualenv/venv used?: no
Is running in Docker?: no

Log message:

command line: nnictl command not found

What issue meet, what's expected?:
After installing nniv1.7, the command "nnictl *" command can't be used directly. The error 'nnictl command not found' is caused and no warning about this problem emerging in the log. But when I manually add "/home/user/.local/bin" to the path variable, the 'nnictl *' command can be used normally.
How to reproduce it?:
The specific condition to cause this problem haven't been comfirmed.   '/home/user/.local/bin' is not in the path after installing.
Additional information:
The nni version is v1.7 and the OS version is ubuntu 18.04.  The os is newly installed.

Hi, @linbinskn ,do you install nni by pip install or  from source code? By default nni will not add /home/user/.local/bin to your PATH, but it will show an info to suggest you add this path when the installation finished.

Get it, thanks.
------------------ 原始邮件 ------------------
发件人: "Junwei<EMAIL_ADDRESS>发送时间: 2020年7月8日(星期三) 中午1:30
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [microsoft/nni] nnictl command not found(may be because of failing to add the necessary environment variable) (#2644)
Hi, @linbinskn ,do you install nni by pip install or  from source code? By default nni will not add /home/user/.local/bin to your PATH, but it will show an info to suggest you add this path when the installation finished.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


ConnectionRefuseError

I was interested in using Alpyne; however, I was having difficulty getting it to run on my machine.
Java Version "17.0.1"
Javac Version "17.0.1"
I was testing the "Stock Management Game".
The "simple run - single.py", but I keep getting a "Connection Refuse Error".
I proceeded to test just the part that fails which is the following:
client = AlpyneClient(r"Exported\StockManagementGame\model.jar", blocking=True, verbose=True)
Does anyone happen to know what might be the issue?
I wasn't sure if it was a security issue or something related to pathing, variables, etc.
Error / Traceback:
`---------------------------------------------------------------------------
ConnectionRefusedError                    Traceback (most recent call last)
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args)
1345             try:
-> 1346                 h.request(req.get_method(), req.selector, req.data, headers,
1347                           encode_chunked=req.has_header('Transfer-encoding'))
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\http\client.py in request(self, method, url, body, headers, encode_chunked)
1284         """Send a complete request to the server."""
-> 1285         self._send_request(method, url, body, headers, encode_chunked)
1286
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\http\client.py in _send_request(self, method, url, body, headers, encode_chunked)
1330             body = _encode(body, 'body')
-> 1331         self.endheaders(body, encode_chunked=encode_chunked)
1332
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\http\client.py in endheaders(self, message_body, encode_chunked)
1279             raise CannotSendHeader()
-> 1280         self._send_output(message_body, encode_chunked=encode_chunked)
1281
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\http\client.py in _send_output(self, message_body, encode_chunked)
1039         del self._buffer[:]
-> 1040         self.send(msg)
1041
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\http\client.py in send(self, data)
979             if self.auto_open:
--> 980                 self.connect()
981             else:
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\http\client.py in connect(self)
945         """Connect to the host and port specified in init."""
--> 946         self.sock = self._create_connection(
947             (self.host,self.port), self.timeout, self.source_address)
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\socket.py in create_connection(address, timeout, source_address)
843         try:
--> 844             raise err
845         finally:
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\socket.py in create_connection(address, timeout, source_address)
831                 sock.bind(source_address)
--> 832             sock.connect(sa)
833             # Break explicitly a reference cycle
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
During handling of the above exception, another exception occurred:
URLError                                  Traceback (most recent call last)
~.environments\fastai\lib\site-packages\alpyne\client\alpyne_client.py in init(self, model_loc, blocking, port, verbose)
48             self._http_client = HttpClient(f"http://<IP_ADDRESS>:{port}")
---> 49             _, _, output = self._http_client.get("/versions/number/0")
50             self.version = ModelVersion.from_json(output)
~.environments\fastai\lib\site-packages\alpyne\client\http_client.py in get(self, url)
56     def get(self, url: str) -> RequestResponse:
---> 57         return self.api_request(url, method="GET")
58
~.environments\fastai\lib\site-packages\alpyne\client\http_client.py in api_request(self, url, method, body)
37             request.add_header("Content-Type", "application/json")
---> 38             response = urllib.request.urlopen(request, timeout=3)
39             if response.getcode() >= 400:  # TODO model errors should warn user and mark episode as halted
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\urllib\request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
213         opener = _opener
--> 214     return opener.open(url, data, timeout)
215
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\urllib\request.py in open(self, fullurl, data, timeout)
516         sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method())
--> 517         response = self._open(req, data)
518
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\urllib\request.py in _open(self, req, data)
533         protocol = req.type
--> 534         result = self._call_chain(self.handle_open, protocol, protocol +
535                                   '_open', req)
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\urllib\request.py in _call_chain(self, chain, kind, meth_name, *args)
493             func = getattr(handler, meth_name)
--> 494             result = func(*args)
495             if result is not None:
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\urllib\request.py in http_open(self, req)
1374     def http_open(self, req):
-> 1375         return self.do_open(http.client.HTTPConnection, req)
1376
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args)
1348             except OSError as err: # timeout error
-> 1349                 raise URLError(err)
1350             r = h.getresponse()
URLError: <urlopen error [WinError 10061] No connection could be made because the target machine actively refused it>
During handling of the above exception, another exception occurred:
ModelError                                Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_10116/3414797435.py in
----> 1 client = AlpyneClient(r"Exported\StockManagementGame\model.jar", blocking=True, verbose=True)
~.environments\fastai\lib\site-packages\alpyne\client\alpyne_client.py in init(self, model_loc, blocking, port, verbose)
50             self.version = ModelVersion.from_json(output)
51         except:
---> 52             raise ModelError(f"Failed to properly start the app. Error from process: {self._proc.stderr.readline().decode()}")
53
54     def _validate_java(self):
ModelError: ModelError[path=, status=Failed to properly start the app. Error from process: Error: A JNI error has occurred, please check your installation and try again
, error=None, msg='']`

Hello! From the last line it seems there might be a problem with your Java installation. I'd check via java -version and javac -version that they're both pointing to the same version, and one that's 11+.
If that checks out, please try re-running your script with verbose=True and upload the alpyne.log file here - assuming you're on the latest version (0.1.2), it will be in your script directory.

Hello!
I installed the newer versions of Java.
When I check my versioning, it shows "17.0.1" for both Java & Javac now.
Besides having AnyLogic installed, Java, & Alpyne is there any other prerequisites that are required?
Log File:
`[2021-11-12 07:54:42] INFO    @ com.anylogic.alpyne.AlpyneServer main
| [PID=4704] Initializing @ 'C:\Users\test_user\Alpyne\examples\StockManagementGame\Exported\StockManagementGame' with arguments: {path=., port=8888, dev_mode=false}
[2021-11-12 07:54:42] FINER   @ ModelManager.
| ENTRY {0}	.
[2021-11-12 07:54:42] FINER   @ BonsaiBrainLearningPlatform.
| ENTRY {0}	{}
[2021-11-12 07:54:42] SEVERE  @ com.anylogic.alpyne.AlpyneServer main
| Issue while attempting to run server: null
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.anylogic.alpyne.sim.api.JarReader.getRLExperiment(JarReader.java:40)
at com.anylogic.alpyne.sim.ModelManager.(ModelManager.java:42)
at com.anylogic.alpyne.AlpyneServer.main(AlpyneServer.java:93)
Caused by: java.lang.NoClassDefFoundError: com/querydsl/sql/RelationalPath
at com.anylogic.engine.ExperimentCustom.(Unknown Source)
at com.anylogic.engine.ExperimentReinforcementLearning.(Unknown Source)
at com.anylogic.engine.ExperimentReinforcementLearning.(Unknown Source)
at stock_management_game1.RLExperiment.(RLExperiment.java:90)
... 8 more
Caused by: java.lang.ClassNotFoundException: com.querydsl.sql.RelationalPath
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 12 more
[2021-11-12 07:54:42] WARNING @ com.anylogic.alpyne.AlpyneServer main
| Alpyne terminated.
[2021-11-12 07:54:42] INFO    @ AlpyneServer.main
| [PID=4704] Initializing @ 'C:\Users\test_user\Alpyne\examples\StockManagementGame\Exported\StockManagementGame' with arguments: {path=., port=8888, dev_mode=false}
[2021-11-12 07:54:42] SEVERE  @ AlpyneServer.main
| Issue while attempting to run server: null
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.anylogic.alpyne.sim.api.JarReader.getRLExperiment(JarReader.java:40)
at com.anylogic.alpyne.sim.ModelManager.(ModelManager.java:42)
at com.anylogic.alpyne.AlpyneServer.main(AlpyneServer.java:93)
Caused by: java.lang.NoClassDefFoundError: com/querydsl/sql/RelationalPath
at com.anylogic.engine.ExperimentCustom.(Unknown Source)
at com.anylogic.engine.ExperimentReinforcementLearning.(Unknown Source)
at com.anylogic.engine.ExperimentReinforcementLearning.(Unknown Source)
at stock_management_game1.RLExperiment.(RLExperiment.java:90)
... 8 more
Caused by: java.lang.ClassNotFoundException: com.querydsl.sql.RelationalPath
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 12 more
[2021-11-12 07:54:42] WARNING @ AlpyneServer.main
| Alpyne terminated.
`

To your question - no, there's not other prerequisites. The error shown in the log indices it couldn't find one of the model dependencies. I would make sure the "lib" folder wasn't removed from the exported model folder. I also noticed the port number was changed; this technically shouldn't cause problems but, in case there's a more underlying issue, I would try with the default too. Let me know if these don't help (or if they do) and I can try suggesting a few other things.

Ah thank you! Yep, that was the issue.
The I re-extracted the folder & there was no issue after that.
Ah, yes, I tried both the default port and another one, but they gave the same error.
Thank you!


Buffer inconsistency

import os, sys, json
import scipy.constants as cst
import time
import numpy as np
from matplotlib import pyplot as plt
import xobjects as xo
import xtrack as xt
import xfields as xf
import xpart as xp

context = xo.ContextCpu(omp_num_threads=0)

#################################
# Declre all parameters         #
#################################

n_macroparticles = int(1e4) # [1]
bunch_intensity = 2e11   # [1]
physemit_x = 1.46e-09            # [m]
physemit_y = 2.9e-12             # [m]
beta_x_IP1 = 1             # [m]
beta_y_IP1 = .0016             # [m]
sigma_z = .00194                   # [m]
sigma_delta = .0015           # [m]
Qx = .554                           # [1]
Qy = .588                             # [1]
Qs = .0436                            # [1]
p0c = 182.5e9                          # [eV]
phi = 15e-3                           # [rad] half crossing angle

nslice = 3
nturns = 3

beta_s = sigma_z/sigma_delta # [m]
energy = p0c/1e9             # [GeV]

##Offsets in sigma
mean_x_init = 0.0
mean_y_init = 0.0

sigma_x             = np.sqrt(physemit_x*beta_x_IP1)  # [m]
sigma_px            = np.sqrt(physemit_x/beta_x_IP1)  # [m]
sigma_y             = np.sqrt(physemit_y*beta_y_IP1)  # [m]
sigma_py            = np.sqrt(physemit_y/beta_y_IP1)  # [m]

####################
# Particles        #
####################

particles_b1 = xp.Particles(_context=context,
    q0        = -1,
    mass0     = xp.ELECTRON_MASS_EV,
    p0c       = p0c,
    x         = sigma_x * (np.random.randn(n_macroparticles)+mean_x_init),
    px        = sigma_px * np.random.randn(n_macroparticles),
    y         = sigma_y * (np.random.randn(n_macroparticles)+mean_y_init),
    py        = sigma_py * np.random.randn(n_macroparticles),
    zeta      = sigma_z * np.random.randn(n_macroparticles),
    delta     = sigma_delta * np.random.randn(n_macroparticles),
    weight    = bunch_intensity / n_macroparticles
)

# To initialize on pi-mode offset on y should be opposite sign (second one -)
particles_b2 = xp.Particles(_context=context,
    q0        = 1,
    mass0     = xp.ELECTRON_MASS_EV,
    p0c       = p0c,
    x         = sigma_x * (np.random.randn(n_macroparticles)+mean_x_init),
    px        = sigma_px * np.random.randn(n_macroparticles),
    y         = sigma_y * (np.random.randn(n_macroparticles)+mean_y_init),
    py        = sigma_py * np.random.randn(n_macroparticles),
    zeta      = sigma_z * np.random.randn(n_macroparticles),
    delta     = sigma_delta * np.random.randn(n_macroparticles),
    weight    = bunch_intensity / n_macroparticles
)

#############
# beam-beam #
#############

slicer = xf.TempSlicer(sigma_z=sigma_z, n_slices=nslice)

print('build bb elements...')

bbeamIP1_b1 = xf.BeamBeamBiGaussian3D(
        _context=context,
        config_for_update = None,
        other_beam_q0=particles_b2.q0,
        phi=phi,
        alpha=0,
        # decide between round or elliptical kick formula
        min_sigma_diff     = 1e-28,
        # slice intensity [num. real particles] n_slices inferred from length of this
        slices_other_beam_num_particles = slicer.bin_weights * bunch_intensity,
        # unboosted strong beam moments
        slices_other_beam_zeta_center = slicer.bin_centers,
        slices_other_beam_Sigma_11    = nslice*[sigma_x**2],
        slices_other_beam_Sigma_22    = nslice*[sigma_px**2],
        slices_other_beam_Sigma_33    = nslice*[sigma_y**2],
        slices_other_beam_Sigma_44    = nslice*[sigma_py**2],
        # only if BS on
        slices_other_beam_zeta_bin_width_star_beamstrahlung = slicer.bin_widths_beamstrahlung / np.cos(phi),  # boosted dz
        # has to be set
        slices_other_beam_Sigma_12    = nslice*[0],
        slices_other_beam_Sigma_34    = nslice*[0],
)

bbeamIP1_b2 = xf.BeamBeamBiGaussian3D(
        _context=context,
        config_for_update = None,
        other_beam_q0=particles_b1.q0,
        phi=phi,
        alpha=0,
        # decide between round or elliptical kick formula
        min_sigma_diff     = 1e-28,
        # slice intensity [num. real particles] n_slices inferred from length of this
        slices_other_beam_num_particles = slicer.bin_weights * bunch_intensity,
        # unboosted strong beam moments
        slices_other_beam_zeta_center = slicer.bin_centers,
        slices_other_beam_Sigma_11    = nslice*[sigma_x**2],
        slices_other_beam_Sigma_22    = nslice*[sigma_px**2],
        slices_other_beam_Sigma_33    = nslice*[sigma_y**2],
        slices_other_beam_Sigma_44    = nslice*[sigma_py**2],
        # only if BS on
        slices_other_beam_zeta_bin_width_star_beamstrahlung = slicer.bin_widths_beamstrahlung / np.cos(phi),  # boosted dz
        # has to be set
        slices_other_beam_Sigma_12    = nslice*[0],
        slices_other_beam_Sigma_34    = nslice*[0],
)
########
# arcs #
########

# from IP to right crab sextupole (sy2r.2)
el_arc_left = xt.LineSegmentMap(_context=context,
    qx = 0,  # 2pi phase advance so integer part is zero
    qy = 0.25,  # 2.5pi
    qs = 0,  # no dipole here so no synchrotron motion
    betx = beta_x_IP1,
    bety = beta_y_IP1,
    bets = beta_s,
)

###########
# Tracker #
###########
elements_b1 = [el_arc_left,bbeamIP1_b1]
elements_b2 = [el_arc_left,bbeamIP1_b2]

line_b1 = xt.Line(elements=elements_b1)
line_b2 = xt.Line(elements=elements_b2)

line_b1.build_tracker()
line_b2.build_tracker()

line_b1.configure_radiation(model_beamstrahlung='mean')
#line_b2.configure_radiation(model_beamstrahlung='mean')

line_b1.track(particles_b1,num_turns=nturns,turn_by_turn_monitor=True)
#line_b2.track(particles_b2,num_turns=nturns,turn_by_turn_monitor=True)

gives:
File ~/xsuite_packages/xtrack/xtrack/tracker_data.py:95, in TrackerData.__init__(self, element_dict, element_names, element_s_locations, line_length, cache, compound_mask, element_compound_names, kernel_element_classes, extra_element_classes, allow_move, _context, _buffer, _offset)
     93 check_passed = self.check_elements_in_common_buffer(_buffer, allow_move=allow_move)
     94 if not check_passed:
---> 95     raise RuntimeError('The elements are not in the same buffer')
     97 line_element_classes = set(ee._XoStruct for ee in self._elements)
     98 self.line_element_classes = line_element_classes

RuntimeError: The elements are not in the same buffer

The problem
The elements el_arc_left, bbeamIP1_b1, and bbeamIP1_b2 are in different buffers in the beginning (context is passed, not buffer). First two are moved to the same buffer in line_b1.build_tracker(), but then el_arc_left is moved elsewhere by line_b2.build_tracker(). By the time we track line_b1 the elements are not in the same buffer. I think, therefore, the error is legitimate in this case. It can be avoided by copying the element el_arc_left.
Additional observations
I think there are some more potential issues to discuss though. A quick summary of what is happening in the last part:

In line -8 of the script the track kernel is built (it is actually unnecessary and will be thrown out, but is needed for step 2)
In line -5, configure_radiation is called, and it asserts a tracker is present (https://github.com/xsuite/xtrack/blob/main/xtrack/line.py#L2087), even though it is not actually used at all
Now that the line is no longer invalidated, we can track in line -2, however the track kernel needs to be rebuilt due to the change in configuration. This happens specifically here https://github.com/xsuite/xtrack/blob/main/xtrack/tracker.py#L1174.
As part of the rebuild, a new TrackerData is created (https://github.com/xsuite/xtrack/blob/main/xtrack/tracker.py#L1325), however without passing the allow_move=True flag. Lack of the flag is what triggers the error in the end, as the objects cannot be moved (again) to the target context.

There are some questions:

Should we require a valid tracker for configure_radiation? I think we shouldn't, as it requires extraneous compilations.
Should we keep allow_move=False (maybe make it explicit!) when rebuilding the tracker as part of tracking (when one already exists)? I think maybe we should, as otherwise issues like the one (undesired move) in this example would go unnoticed.
Is it right that on the one hand we require building the tracker before tracking, unless one is already there, in which case we compile automatically? I believe so, as really the main point of requiring build_tracker is that we want to freeze the line.

Summary
I don't think there is much we can do to prevent this, stopping short of disallowing move on elements that are part of a frozen line. Unrelated, maybe we could consider not asserting valid tracker in configure_radiation.

Thanks for the thorough checks! I had not noticed the two lines have an element in common.
Solution suggested to the users:
line_b1.build_tracker()
line_b2.build_tracker(_buffer=line_b1._buffer)

Concerning your questions:

Should we require a valid tracker for configure_radiation? I think we shouldn't, as it requires extraneous compilations.

Probably this check can be removed (it probably comes from the time in which this logic was in the tracker)

Should we keep allow_move=False (maybe make it explicit!) when rebuilding the tracker as part of tracking (when one already exists)? I think maybe we should, as otherwise issues like the one (undesired move) in this example would go unnoticed.

Yes, I agree

Is it right that on the one hand we require building the tracker before tracking, unless one is already there, in which case we compile automatically? I believe so, as really the main point of requiring build_tracker is that we want to freeze the line.

I agree

I close this and open a separate issue with the open points


Widgets are not found anymore

I'm loading zsh-hist using zinit and sice the latest commit I get an error whenever I want to execute a zle widget. For example: No such shell function `.hist.undo.widget' for ^_. Probably related to the removed autoload stuff?

Thanks for reporting this. This is actually a bug in Zinit, but I can add a workaround for it, since it can take many months before such a bug in Zinit gets fixed.

PS: If you're interested in switching to a less buggy plugin manager that functions more transparently, I can highly recommend Znap. 😉

Thanks for the quick reply! I honestly didn't think of that, sorry. If it doesn't take too much time, I'd appreciate a workaround, but I would truly understand if you don't want to integrate workarounds for external bugs.
Thanks for the hint on Znap, will take a look 🙂  I originally used oh-my-zsh, then zplug and eventually zinit due to the freedom and configurability it offers (i.e. I also manage a couple of binary releases, such as k3d, pulumi and terraform, with it). But I have to agree that due to the complexity a fix on one end often causes new bugs on others and it also makes it more difficult for potential contributors to understand the project and support the maintainer ...

No problem: Here's the workaround already. 🙂
And if there's any features you'd like to see in Znap to help you switch over, feel free to open issues for them over there.


Helpers to make views a little more like UIKit

Don't feel strongly, but these feel on the fringes of the scope of YOLayout.

UIKit-ifying NSView could probably be a library in itself. Reminds me of https://github.com/BigZaphod/Chameleon

Yeah I agree.. I'll nuke this
On Wednesday, March 4, 2015, John Boiles<EMAIL_ADDRESS>wrote:

UIKit-ifying NSView could probably be a library in itself. Reminds me of
https://github.com/BigZaphod/Chameleon
—
Reply to this email directly or view it on GitHub
https://github.com/YOLayout/YOLayout/pull/42#issuecomment-77304419.


[Enhancement] Support fill data cache when querying cloud native mv

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 15 / 22 (68.18%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/OlapTable.java
14
21
66.67%
[2889, 2890, 2905, 2906, 2907, 2908, 2917]

:large_blue_circle:
com/starrocks/planner/OlapScanNode.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.2

@Mergifyio backport branch-3.1


Node modules install error

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[X] 3.x
Node 8
Npm 5
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

After a node_modules directory cleanup, the Cli tells me to install all dependencies but it failes with this error
Expected behavior:

Install all dependencies
Steps to reproduce:
? Looks like a fresh checkout! No ./node_modules directory found. Would you like to install project dependencies? Yes
[INFO] Installing dependencies may take several minutes!

npm install
✖ Running command - failed!
[ERROR] An error occurred while running npm install (exit code 1):

    npm WARN deprecated<EMAIL_ADDRESS>Please update to the latest object-keys
    npm ERR! code ENOLOCAL
    npm ERR! Could not install from "node_modules/cordova-plugin-app-event" as it does not contain a package.json
    file.

    npm ERR!      /Users/xxxx/.npm/_logs/2017-06-16T07_05_55_089Z-debug.log

Other error

npm install
npm WARN deprecated<EMAIL_ADDRESS>Please update to the latest object-keys
npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules/cordova-plugin-app-event" as it does not contain a package.json file.

npm ERR!      /Users/xxxx/.npm/_logs/2017-06-16T07_19_56_538Z-debug.log
Other information: [/Users/xxxx/.npm/_logs/2017-06-16T07_19_56_538Z-debug.log]
1683 verbose stack Error: ENOENT: no such file or directory, open '/Users/xxxx/myproject/node_modules/cordova-plugin-app-event/package.json'
1684 verbose cwd /Users/xxxx/myproject
1685 verbose Darwin 16.5.0
1686 verbose argv "/usr/local/Cellar/node/7.7.3/bin/node" "/usr/local/bin/npm" "install"
1687 verbose node v8.0.0
1688 verbose npm  v5.0.0
1689 error code ENOLOCAL
1690 error Could not install from "node_modules/cordova-plugin-app-event" as it does not contain a package.json file.
1691 verbose exit [ 1, true ]

OK now i've removed '"cordova-plugin-app-event": "file:node_modules/cordova-plugin-app-event",' from my package.json, that come from old installation of for 'local-notification', and the modules are installed but with some other errors:
npm WARN deprecated<EMAIL_ADDRESS>Please update to the latest object-keys
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

<EMAIL_ADDRESS>install /Users/Web/Development/PkgGroup/mobile/ionic3/PkgGroup/node_modules/node-sass
node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/darwin-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.0/darwin-x64-57_binding.node":
HTTP error 404 Not Found
...

<EMAIL_ADDRESS>postinstall /Users/xxxx/myproject/node_modules/node-sass
node scripts/build.js

Building: /usr/local/Cellar/node/7.7.3/bin/node /Users/xxxx/myproject/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/Cellar/node/7.7.3/bin/node',
gyp verb cli   '/Users/xxxx/myproject/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed     at getNotFoundError (/Users/xxxx/myproject/node_modules/which/which.js:13:12)
gyp verb which failed     at F (/Users/xxxx/myproject/node_modules/which/which.js:68:19)
gyp verb which failed     at E (/Users/xxxx/myproject/node_modules/which/which.js:80:29)
gyp verb which failed     at /Users/xxxx/myproject/node_modules/which/which.js:89:16
gyp verb which failed     at /Users/xxxx/myproject/node_modules/isexe/index.js:42:5
gyp verb which failed     at /Users/xxxx/myproject/node_modules/isexe/mode.js:8:5
gyp verb which failed     at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb which failed  python2 { Error: not found: python2
gyp verb which failed     at getNotFoundError (/Users/xxxx/myproject/node_modules/which/which.js:13:12)
gyp verb which failed     at F (/Users/xxxx/myproject/node_modules/which/which.js:68:19)
gyp verb which failed     at E (/Users/xxxx/myproject/node_modules/which/which.js:80:29)
gyp verb which failed     at /Users/xxxx/myproject/node_modules/which/which.js:89:16
gyp verb which failed     at /Users/xxxx/myproject/node_modules/isexe/index.js:42:5
gyp verb which failed     at /Users/xxxx/myproject/node_modules/isexe/mode.js:8:5
gyp verb which failed     at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
......
gyp info ok
Installed to /Users/xxxx/myproject/node_modules/node-sass/vendor/darwin-x64-57/binding.node
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN The package @ionic/cli-plugin-ionic-angular is included as both a dev and production dependency.
npm WARN<EMAIL_ADDRESS>had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.

Ionic and the ionic-app-scripts are not NPM5 compatible.
Downgrade to Node 6.11 + npm 3 or 4 and wait for the next ionic-app-scripts release.

This issue was moved to ionic-team/ionic-cli#2454

Please guide to downgrade to npm 4.....

@OwaisKhatri why? We released the updated app-scripts deps so you can use ionic with npm5/node8

Downgrading to<EMAIL_ADDRESS>worked. This is annoying...

Indeed, downgrade to npm@4 work. Thanks.

@danielsogl  app-scripts still not working with npm5/node8. I saw the update you mentioned, but it is not working.


Job duration equals age when all pod failed

When all pod associated to a job have failed, displayed duration is equal to age. I think it should be equal to one of:

duration between first pod start & last pod end
duration of last pod

Possibly related to https://github.com/kubernetes/kubernetes/pull/87564
@loganmzz Is the example below what you're talking about?
Run a job that fails.  This one runs for 30 seconds then fails
kubectl create job testjob --image brianpursley/error

Wait 15 minutes, and then run kubectl get all
NAME                READY   STATUS   RESTARTS   AGE
pod/testjob-cvmcb   0/1     Error    0          15m
pod/testjob-r8tq8   0/1     Error    0          13m
pod/testjob-t822p   0/1     Error    0          11m
pod/testjob-wgj6b   0/1     Error    0          15m
pod/testjob-xcc69   0/1     Error    0          13m
pod/testjob-xsx46   0/1     Error    0          14m
pod/testjob-zb69s   0/1     Error    0          9m12s

NAME                 TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
service/kubernetes   ClusterIP   <IP_ADDRESS>    <none>        443/TCP   25m

NAME                COMPLETIONS   DURATION   AGE
job.batch/testjob   0/1           15m        15m

The job retried several times, but each time failed after 30 seconds.  However the total duration of the job is showing as 15 minutes, which is actually just the age.

Yes, it is exactly that.

Is there any spec/documentation about kubectl get columns per resource type ?

I took a look to Job and in .status.conditions, you have entry with .type equals to Failed or Complete with associated lastTransitionTime that can be used instead of completionTime (that make non-sense for non-Complete job)

I think this is a duplicate of https://github.com/kubernetes/kubernetes/issues/86436. Please reopen if not.
/traige duplicate
/close

/triage duplicate


Error while running the utility code - irm christitus.com/win | iex

Describe the bug
When I enter the code in PowerShell as admin it shows the following error (Check Screenshot Below)
To Reproduce
I don't think that this is reproducible as it is just a system error(I suppose)
Expected behavior
I expected the utility to launch
Screenshots

Additional context
I have a windows 11 laptop Ryzen 5 gtx 1650ti running 21h2 win11

I am getting exactly this error message

Solution here. https://github.com/ChrisTitusTech/winutil/issues/464
I had the same issue

I still couldn't figure out the solution but just changing the internet worked for me so would consider this issue solved thanks for the help:}


Sane config dir saved in environment variable, requiring logout/login on switch

The module sets $SANE_CONFIG_DIR, so at a switch the configuration dir is not changed.
Is there a special reason we don’t use environment.etc, @abbradar?

I actually rework this as part of #26287. I'm not sure why was it like this in the first place (and not sure who to ask).

I don’t think this has been changed. I disabled the sane config in my system, because it also injects LD_LIBRARY_PATH, which affects the search path and startup time of every single binary.
  env = {
    SANE_CONFIG_DIR = config.hardware.sane.configDir;
    LD_LIBRARY_PATH = [ "${saneConfig}/lib/sane" ];
  };

This is everything but … sane. :drum:

Ideally, we should make every package that interacts with sane backends, look them up in /etc/sane-libs, and then we'd be able to remove the insane :drum: usage of LD_LIBRARY_PATH. I asked upstream whether an alternative solution is possible / available:
https://gitlab.com/sane-project/backends/-/issues/660

This issue was fixed by https://github.com/NixOS/nixpkgs/pull/199667.

@doronbehar: I agree. And thanks for the upstream issue.


add in support for udt

after looking through the test failures, i realize we have different ideas of how a udt multiaddr should be represented. thoughts?

my thought was that udt addresses would look like: /ip4/<IP_ADDRESS>/udt/2222, but i think that you were expecting /ip4/<IP_ADDRESS>/udp/2222/udt which makes sense too.

/ip4/<IP_ADDRESS>/udp/2222/udt

o/ that one

i had support for UTP already, i think so it shouldn't be too difficult to replicate all the utp parts and s/utp/udt

yeah... i ended up clobbering some things to make it work 'my way'. whoops.

nvm. didnt need to change anything apparently.

yeah i thought i had it there already


Removed unnecessary requirements for loading snapshots

Signed-off-by: David Son<EMAIL_ADDRESS>Issue #, if available: #432
Description of changes:
Created changes to the snapshot opt so that LoadSnapshot only validates network config, socket path, drive location, and snapshot paths. These are the only configurations required to load a snapshot.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

It would be nice to update the examples as well to only use minimum configuration.

Correct. I made a change to the example's go.mod so that the local installation of the SDK can be used in the example code.


Microsoft.Cdn/profiles/endpoints/customdomains

Describe the noise
Resource type (i.e. Microsoft.Storage/storageAccounts)
Microsoft.Cdn/profiles/endpoints/customdomains
apiVersion (i.e. 2019-04-01)
2019-12-31
Client (PowerShell, Azure CLI, or API)
PowerShell
Relevant ARM Template code (we only need the resource object for the above resourceType and apiVersion, but if it's easier you can include the entire template
Expected response (i.e. "I expected no noise since the template has not been modified since the resources were deployed)
No change.
Current (noisy) response (either include a screenshot of the what-if output, or copy/paste the text)
  ~ Microsoft.Cdn/profiles/thetradedesk-ads-html5-cdn/endpoints/thetradedesk-ads-html5 [2019-12-31]
    - properties.customDomains: [
        0:

          name:                "azhtml5-adsrvr-org"
          properties.hostName: "azhtml5.adsrvr.org"

      ]

  ~ Microsoft.Cdn/profiles/thetradedesk-ads-html5-cdn/endpoints/thetradedesk-ads-html5/customdomains/azhtml5-adsrvr-org [2019-12-31]
    - properties.customHttpsParameters:

        certificateSource:                             "AzureKeyVault"
<EMAIL_ADDRESS>      "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"
        certificateSourceParameters.deleteRule:        "NoAction"
        certificateSourceParameters.resourceGroupName: "va9-ttd-tls-certs-rg"
        certificateSourceParameters.secretName:        "STARadsrvrorg"
        certificateSourceParameters.secretVersion:     "cb20f743b7f8497ba762bd9fb33fc9d2"
        certificateSourceParameters.subscriptionId:    "001a3882-eb1c-42ac-9edc-5e2872a07783"
        certificateSourceParameters.updateRule:        "NoAction"
        certificateSourceParameters.vaultName:         "va9-TTDImportedCerts-kv"
        minimumTlsVersion:                             "TLS12"
        protocolType:                                  "ServerNameIndication"

Additional context
Add any other context about the problem here.

@detienne20 is this w51?

w51

This fix should be fully deployed. Please let us know if you are still seeing the issue.

This fix should be fully deployed. Please let us know if you are still seeing the issue.

Re-opening as it looks like some of the noise is still present:
  ~ Microsoft.Cdn/profiles/thetradedesk-ads-html5-cdn [2019-12-31]
    - kind: "cdn"

  ~ Microsoft.Cdn/profiles/thetradedesk-ads-html5-cdn/endpoints/thetradedesk-ads-html5 [2019-12-31]
    - properties.customDomains: [
        0:

          name:                "azhtml5-adsrvr-org"
          properties.hostName: "azhtml5.adsrvr.org"

      ]

Re-opening as it looks like some of the noise is still present:
  ~ Microsoft.Cdn/profiles/thetradedesk-ads-html5-cdn [2019-12-31]
    - kind: "cdn"

  ~ Microsoft.Cdn/profiles/thetradedesk-ads-html5-cdn/endpoints/thetradedesk-ads-html5 [2019-12-31]
    - properties.customDomains: [
        0:

          name:                "azhtml5-adsrvr-org"
          properties.hostName: "azhtml5.adsrvr.org"

      ]

The following property is covered by the Swagger round trip validation KPI:

$.kind (2021-02-06)

The following property is covered by the Swagger round trip validation KPI:

$.kind (2021-02-06)

Hi, we're having this same issue too. All of a sudden the what-if is identifying these changes to custom domain, but also to Azure for MySql admin password
 - properties.customHttpsParameters:

        certificateSource:                           "Cdn"
<EMAIL_ADDRESS>    "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"
        certificateSourceParameters.certificateType: "Dedicated"
        minimumTlsVersion:                           "TLS12"
        protocolType:                                "ServerNameIndication"

~ Microsoft.DBforMySQL/servers/rch*****dev [2017-12-01]
    + properties.administratorLoginPassword: "*******"
    + properties.createMode:                 "Default"

Is this a what-if bug, so when I deploy these changes "shouldn't" be applied, given that nothing has changed since the last deployment?

Hi @kleky - these are what-if noise issues. The properties under properties.customHttpsParameters look like default values. The DBforMySql/servers noise should be filed as a separate issue, but those look like write-only properties that are not tagged as such in the DBforMySql/servers api definition.


chore: remove unused argument

Is the reason for that lingering argument that we think that someone is very unspecific in their imports, or what's the deal?
Having it still here is a bit confusing, when you want to insert options.

Coverage remained the same at 100.0% when pulling 806bc45e6c472aa58ba1ae5c9945d654d32f481d on remove-unused-argument into 2a34f85d83ae95d70d48d2274faef894d6ab1c71 on master.

@DanielAnfelt please rebase and change the commit message so that the body contains the text "BREAKING CHANGE: remove unused argument"


WIP: Add some Time functions

Inspired in pretty-ms and parse-ms. Converts and show time from milliseconds to days, hours, minutes, etc.
Also, add some numbers.max as an example of how to write the numbers
need help:
I have to improve Time.ex but:

Following Buck example using The doesn't work because String.eql doesn't evaluate to a Bool

Time.ex.show_secs: The(_, Bool.true)
   let time = Time.show(Time.ex.parse, Bool.false)
   case time:
   | The.value<>(String.eql(time.seconds, "20s"));

Using Victor's suggestion doesn't type check

Time.ex: Bool
   Bool.and(Time.ex.test_days, Bool.false)

Time.ex.test: Time.ex.test_days == Bool.true
  _

@johnchandlerburnham I don't think the licenses belong here. What is your take on the matter?

Despite I changed a lot of things in the parse-ms, the essence of the code is the same. For pretty-ms I just saw some examples on how it would output but it's my code.
I think that a lot of cases of copying libs to use in Formality will happen. In the MIT License, this is what made me copy the license as a code: "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."

Copyright doesn't cover the essence of the idea expressed in code, only the concrete implementation. If you directly copy files, functions or text, then it needs to preserve the license, but you haven't done that here. A port is generally a derivative work which generates a fresh copyright (covered here by the root LICENSE file). I would remove the license text and just include a comment that links to the repo you were inspired by and gives credit to its author as a matter of good open source friendliness.


How to disable all the log ?

I want to disable all the log in my production build

Logger.level = Level.nothing;
this did the work

Logger should be disabled in production builds automatically...


Remove reference to Shopify middleware

Fixes #16
I will add usage to README.md in a subsequent PR.
Review
@arthurnn
@csfrancis seems like we're currently running off a commit that isn't part of master. I'm assuming we've force pushed since?

Yeah, the commit that we're using in Shopify was used for Lua cacheable. Diffing it against master, it looks like we could probably switch back to the master branch.

In #22 I took an alternative approach to this problem. This isn't needed now.


⚠ AGE-Vicmap_Address-MS has degraded performance

In 3d028d5, AGE-Vicmap_Address-MS (https://vicmap.land.vic.gov.au/hosting/rest/services/vicmap/Vicmap_Address/MapServer/0/query?where=1%3D1&resultRecordCount=1) experienced degraded performance:

HTTP code: 200
Response time: 2355 ms

Resolved: AGE-Vicmap_Address-MS performance has improved in 1f234f9 after 23 minutes.


Just checks

Coverage increased (+0.3%) to 95.266% when pulling f3f6edbfd4fbb890c6491592e26ff8782c30fde5 on just_checks into 30208c5a048ef034db8e4abfcdf2c8129e0b14a1 on master.


Formalize thread-safety garantees

This is a breaking change.
This formalizes the final suggestion of #320 regarding thread-safety of the types:

EventsLoop gains a marker field assuring it is !Send and !Sync, this way, some backends can rely of this fact without users depending on one of them on an over platform accidentally being Send of Sync
Window must be Send, this adds a test for it.

I've rebased and added the additionnal requirement that MonitorId, WindowId and DeviceId are Send as well, I think it'll be much needed for ergonomic use of winit, especially given some winit examples already rely on it.
Is that ok ?

Thanks


BOT not Responds and recived messages

bot not shown messeage decription in jason file

you need make an another server and put the server id and bot log channel id in code then run it

Are you still experiencing this issue?

Closing issue due to inactivity


[Feature request] Back-face culling

It would be very useful if OSPRay could support back-face culling for mesh faces in the future. What I am asking for is an option similar to VisRTX's experimental cullBackfaces option, which can be set on ANARI triangles geometries.
A typical use case would be rendering two-sided meshes with differently colored front and back sides of the surface. Such meshes consist of pairs of faces with opposite winding orders, and back-face culling would allow only one of the faces to be visible (the front-facing one). An example:

Currently, rendering of such two-sided meshes can only be realized by performing the (view-dependent) back-face culling on the application side prior to handing the filtered face list to OSPRay.

From my perspective, a two-sided material would not be the optimal solution, because the input mesh already consists of pairs of faces, and our application's data structure only supports one color attribute per face. Changing that, and merging the face pairs during hand-over to OSPRay is not impossible, but it would represent a deviation with respect to all other rendering backends currently in use by our application aside from OSPRay (OpenGL, ANARI, Tachyon), which all use the back-face culling technique.
But still, if you are convinced that a two-sided material is the best solution, it would still be an improvement (at least better than the current workaround, which is performing the view-dependent face culling on the application side).
For our application, two-sided coloring would only be needed for mesh geometries, not other geometry types.


Roll Flutter Engine from b50fc4ad6820 to 77432202f766 (1 revision)

https://github.com/flutter/engine/compare/b50fc4ad6820...77432202f766
2023-11-25<EMAIL_ADDRESS>[Flutter GPU] Raster encoding. First triangle! (flutter/engine#48314)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Add 'cortex-debug' to .devcontainer.json

Problem
The 'cortex-debug' extension is not installed by default when opening vscode inside the container.
That extension is used during debugging process for mbed-os targets

Summary of Changes
Add 'cortex-debug' to .devcontainer.json

Fixes #181

The extension installation is suggested at the moment. Is that not enough ?

@pan- It depends on approach how we should deal with the vscode inside the container.
My assumption was that running vscode in that way should give user complete development environment, without need to install anything manually (we can think about it as a 'ready-to-go" solution).

@pan- Sure, here you go:  #8122


[Enhance](resource group)db support replication_allocation

Proposed changes
Issue Number: close #xxx

db support replication_allocation,when create table,if not set replication_num or replication_allocation ,will use it in db
fix partition property will disappear when table partition is not null

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Use the new flatpak logo

I'm not sure if there are copyrights for the logo.
Also, is 250x250 px required?

I'm not sure if there are copyrights for the logo.

Seems to be fine https://flatpak.org/press/

Although, per https://code.visualstudio.com/api/references/extension-manifest the icon has to be 128x128 px


broken Makefile, and spurious file

I'd put in a PR, but I am not 100% on the project structure.
Gulp is no longer part of the build process, but Makefile still references it. It also references a removed/moved travis script. While I can fix the build/test statements to make them functional, Travis is a complete mystery to me.
Additionally, I noticed a seemingly spurious empty file, -, in the root of the repository. It's been there for a year or so, and should probably be removed. It's very likely this file was created from a shell typo while authoring cc953493.

@draeath Thanks for the feedback.
Can you take a look at #217 and see if it solves the issues you raised?

Yep, coming in fresh without having looked at that Makefile before I'd have no problems starting a build. Thanks!

Fixed in bf86121


Release 2-3 tasks to test task switching mechanism

Task name: NpmV0
Description:

Add Node16 handler to check task switching mechanism

Documentation changes required: N
Added unit tests: N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

/azp run


Removes deprecation notice

Removes deprecation notice as the project seems to still be maintained given it is now supporting Swift 4.2

+1


ROX-17653: add pods names to pod restart junit

Description
Add pod names in junit restarted pod report. This will result in different tickets for different pods.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
Manually run script on payload I found in Jira. It correctly reports pod names
cat <<EOF  | grep "copied to Artifacts" | cut -d- -f1,3 | sort -u | tr '\n' ' '
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-2njt5-collector-previous.log
Ignoring this restart due to: collector restart due to sensor connection failure (likely slow start)
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-2njt5-compliance-previous.log
This restart does not match any ignore patterns
collector-2njt5-compliance-previous.log copied to Artifacts
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-7qvmk-collector-previous.log
Ignoring this restart due to: collector restart due to sensor connection failure (likely slow start)
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-7qvmk-compliance-previous.log
This restart does not match any ignore patterns
collector-7qvmk-compliance-previous.log copied to Artifacts
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-8q2m9-collector-previous.log
Ignoring this restart due to: collector restart due to sensor connection failure (likely slow start)
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-8q2m9-compliance-previous.log
This restart does not match any ignore patterns
collector-8q2m9-compliance-previous.log copied to Artifacts
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-d4gxw-collector-previous.log
Ignoring this restart due to: collector restart due to sensor connection failure (likely slow start)
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-d4gxw-compliance-previous.log
This restart does not match any ignore patterns
collector-d4gxw-compliance-previous.log copied to Artifacts
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-kbx77-collector-previous.log
Ignoring this restart due to: collector restart due to sensor connection failure (likely slow start)
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-kbx77-compliance-previous.log
This restart does not match any ignore patterns
collector-kbx77-compliance-previous.log copied to Artifacts
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-kflg8-collector-previous.log
Ignoring this restart due to: collector restart due to sensor connection failure (likely slow start)
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-kflg8-compliance-previous.log
This restart does not match any ignore patterns
collector-kflg8-compliance-previous.log copied to Artifacts
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-vqtv5-collector-previous.log
Ignoring this restart due to: collector restart due to sensor connection failure (likely slow start)
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/collector-vqtv5-compliance-previous.log
This restart does not match any ignore patterns
collector-vqtv5-compliance-previous.log copied to Artifacts
Checking for a restart exception in: /tmp/k8s-service-logs/stackrox/pods/sensor-6c85864f79-cdn2c-sensor-previous.log
This restart does not match any ignore patterns
sensor-6c85864f79-cdn2c-sensor-previous.log copied to Artifacts
EOF

collector-compliance sensor-cdn2c

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

I have a suggestion (which is feature creep so feel free to ignore) but in case you are up for it: Add a link to the logfile artifact similar to how this is done in

Let's skip it. Having a pod name and a link to CI should be enough to quickly locate the file.


Remove now superfluous unbox implementations

This PR removes superfluous code and fixes the currently broken master build.

One thing I wanted to check: how should we structure the include order in the unit tests? We have currently a mixture of test includes first as well as last.

That's a good question, we don't have this nailed down in our coding standard. Thinking about it, we should probably structure it similar to .cpp files, i.e., the implemented/tested header always comes first. Then system headers -> caf -> vast. I think the suite name should go all the way to the top, actually.
Leaves the question whether we wish to give the unit test framework includes (test.hpp, fixture/..., and usually caf/test/dsl.hpp or caf/test/io_dsl.hpp) a special place.
Food for thought:
#define SUITE my_class

#include "my_class.hpp"

// unit test framework includes
#include <caf/test/dsl.hpp> // could go to the CAF include block as well
#include "test.hpp"

// fixture includes
#include "fixture/..."

// standard includes
#include <vector>
// ...

// CAF includes
#include <caf/...>
// ...

// VAST includes
#include <vast/...>
// ...

// ... actual code ...

I've filed #231 to codify these guidelines.