0.4.39 h0fb591

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This PR closes #2, closes #3 and closes #4 at once!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@sodre, this can now be merged.  It brings the latest libzen 0.4.39 into conda-forge, together with Windows support as well.

@conda-forge/staged-recipes is there an ad hoc reviewer that could check this and #6 ?

@conda-forge-admin, please ping team

Hi! This is the friendly automated conda-forge-webservice.
I was asked to ping @conda-forge/libzen and so here I am doing that.

I'd advise you add yourself as a maintainer on this feedstock


Cover methods for memory leaks

[ ] combineEvents
[ ] condition
[ ] debounce
[ ] debug
[ ] delay
[ ] every
[ ] reshape
[ ] some
[ ] splitMap
[ ] spread
[ ] status
[ ] throttle

https://media-codings.com/articles/automatically-detect-memory-leaks-with-puppeteer


Updated base image with build arg

Simplifies startup script by adding build arg JAR_FILE.
If there's exactly one JAR under target/ or JAR_FILE build arg is specified, it will be copied as /app/app.jar and will be ran.
If there's more than one, which JAR to run must be specified using JAR_FILE env var/build arg.
This pull should not break any previous usages.

Looks fine by me, albeit it's fine to let shell scripts do heavy lifting. Just merge unless anyone else has strong feelings?


Patch + Minor release for 08/11/2022

API change check
API changes are not detected in this pull request.


Update the .NET parsers

Update the Newtonsoft.Json parser to version 12.0.3
Update the System.Text.Json parser to version 5.0.0

Installing the .NET 5 SDK is required for these parsers to work.
All binaries are now removed and thanks to the new setup feature introduced in #120, the .NET parsers can be run on any supported .NET platform (Linux, macOS, Windows).

Thank you! Can you please also add the results into /results/logs.txt ?

Sure! Is there an easy way to replace the results for a given parser? If I use python3 run_tests.py --filter=dotnet_only.json the logs are overwritten with the two .NET parsers and all other parser results are lost.
Or should I just manually merge the results in the logs.txt file?

You have to add the new results to the previous ones manually.


Should overlay border change to mode color when activating mode via khd? [kwm 4.0.2] [khd 1.1.0]

First, thanks for making the best tiling WM for macos. I just switched from kwm 3.1.3 to the latest released kwm + khd and converted my configs over, but I don't see the overlay color change until I change window focus, either via mousing to a new window w/ focus-follows-mouse or via kwm focus navigation via khd binds. I have kwm compatibility mode turned on via khd kwm on. Is this expected behavior, or maybe just some missing functionality after the overlay rewrite?

Can you post your kwmrc and khdrc?

I think it was a path issue where I had a mixed environment of old and new things binaries around. I don't know the exact point it all started working, though, so it's hard to say if it was a config change or path conflicts that got it going. All is working as expected now.


fix: replace password entropy library

fix password strength issues for passwords like "11111111111111" by using Dropbox zxcvbn3 library
refactoring of password strength validation
strength meter UI changes

Looks good, but is there any way we can display the password requirements?
E.g.,
MUST contain at least 8 characters (12+ recommended)
MUST contain at least one uppercase letter
MUST contain at least one lowercase letter
MUST contain at least one number

@codywall
Haven't got any specific requirements in the ticket. As the previous implementation was based on entropy, not on the requirements like you described above I decided to follow existing approach.
This library works a bit differently, you basically enter whatever password you want, and if it is not strong enough it adds suggestions to make password stronger. I can display those suggestions along with password strength.
Here is a demo. Try it with repeated combination of characters like "asassasasasasa", or "qwerty", or any common password like "happyfriday" and see the suggestions
https://lowe.github.io/tryzxcvbn/


fix: change cancel to go to home

Why
<Briefly explain why you made those changes (you can reference some issues here).>
Description

Closes #...
Checklist

[ ] I followed the contribution guidelines.
[ ] I created an issue and used it in the commit message.
[ ] I have built the project locally prior to submission with mvn clean install.
[ ] I kept a clean commit log (no unnecessary commits, no merge commits).
[ ] I am happy with my contribution.

Perfect, thanks!


Not possible to define colors as functions for custom color palettes

There is not well-documented feature in TailwindCSS which lets you generate colors with functions.
If Tailwind detects a function and not a string as a color value, it will call the function with the name of the corresponding opacity CSS variable (normally --tw-bg-opacity, --tw-text-opacity and like) and use the returned string.
It seems WindiCSS does not support this?
See also TailwindCSS source util/withAlphaVariable and this test: it allows a closure to be passed here.
One real-life example of a TailwindUI extension: DaisyUi

One use-case for this is theming of colors with CSS variables (like DaisyUi).

from v3.0.4 we have color callback function support https://github.com/windicss/windicss/commit/e9552582db8225f7d1556efa45d30d3ab7d39e77 https://github.com/windicss/windicss/commit/c7542e23999c2075cf105e8c90e5bd087615a913


'az consumption usage list' does not return 'tags' anymore

Describe the bug
While using CLI to obtain consumption usage list, all resources do not contain its tags. For all of them is a null value.
It worked Monday last week.
Environment summary
azure-cli (2.0.55) & azure-cli (2.0.59) as well / Windows 10

We are having the same issue. We know it was listing all the tags and also deployed a script in our test environment with this command. Now, we wanted to deploy that in our production environment and noticed it's not working anymore. We find only the tags key, but not the values.
Environment: azure-cli (2.0.52) / Windows 10

consumption

This should be working already. Please close this out.


build problem: can not pull ghcr.io/autowarefoundation/autoware-universe:galactic-20221201-prebuilt-cuda-amd64 image

following Documentation ,
when  Build the container for Carla bridge,
I can not pull ghcr.io/autowarefoundation/autoware-universe:galactic-20221201-prebuilt-cuda-amd64 image.
After login ghcr.io by github account (following  https://stackoverflow.com/questions/74656167/unable-to-pull-image-from-github-container-registry-ghcr
), I still getting the message, "Error response from daemon: denied", when docker pull.

AWF switched the place storing docker image. We couldn't download the old images temporarily.
We need to wait for their update.
Here is the discussion: https://github.com/orgs/autowarefoundation/discussions/4964

Hi @LifeIsBinary @MamoruDS, the issue should be solved by https://github.com/evshary/autoware_carla_launch/pull/122
Let me know if there is any other issue.

I'll close the issue. Feel free to reopen it if there is any further problem.


Expand the examples used when setting up the DB

Some more examples in the build script would allow me to test this more thoroughly. This covers the following:

Defining a fictional board and other employees
Adding work titles
Code to retrieve the above

There are now 10 users, 3 sites, 9 items and one order.


I can't create subcategories under the Scenarios category

When I try to create a new subcategory under Scenarios, nothing happens. I don't have this issue if I create subcategories under the other main categories.

The code works the same for sub-categories no matter where you create them so I'm not sure I follow your issue.  Can you include some screen shots? Error messages? Steps to reproduce the issue? Any amount of detail so that I can help you?  You also may want to check that you're using the most up to date version of the web part by checking the instructions here: https://github.com/pnp/custom-learning-office-365#updating-the-solution

Hi Julie,
Thanks for the quick response!
The version is: <IP_ADDRESS>
When I create a sub category under the Get started category, I get this timer at the top, for a few seconds before the new sub category appears:

But if I try creating a sub category under the Scenarios main category, I don't get the timer at the top and nothing happens. No error messages either.

Unfortunately, I will need more to go on as I cannot reproduce the issue.  If I go to the Scenario's group i see this:

And then when I click on the plus next to "Add new Subcategory" I get this UI to add it:

So, to be able to assist you I would have to know more detail about every step your taking plus any errors in the browser console that you are seeing.

Hi Julie,
testsubcategory.docx
Here are the screen shots of the process in a docx.
Thanks!

Ok, now that I have something to look at, at least I understand your issue, unfortunately I still cannot reproduce it.  If I do the same thing, I get the saving status as you point out and then it refreshes and the new sub category is there.  I assume there is some sort of error, but you'll need to provide a console log for me to be able to diagnose it. If you're unfamiliar with the console log you can get directions: Diagnosing Pre-Check, specifically I need the results of step 3, saved via instructions in step 5 and shared with me.

Morning Julie,
Here is the console log ans also the screenshot of the errors only:
esriuk365.sharepoint.com-1596702206258.log

Did you update from version 2 or 3 of learning pathways or is this a new install? If not have you actually started using this or are you just in a testing phase?  If you're in a testing phase, we could try deleting the custom subcategory list and see if that fixes itself but I just can't seem to find an issue, what is concerning is that your console log seems to be incomplete and shows that the page is reloading right after the post call to update the custom sub categories which implies the process isn't finishing.  Is there any way you can take a video of the process, or tell me if the browser is reloading the page instead of just updating the screen?  Also, maybe we could try having you clear the console log after the admin page loads but before you try and add a new subcategory and then make sure the console completely finishes loading before saving the log?

Here is the screen recording of the process: https://esriuk365-my.sharepoint.com/:v:/g/personal/kbedocs_esriuk_com/EbwaB_ehbphAg7g5OGBTfWwBMngCHHucmgSVh7rkRkxTZQ?e=3jVGNN
It is a fresh installation. We can try deleting the custom subcategory. Can you let me know where to find it?

Ok, the link didn't work, but if it's a fresh install then you can delete everything in the CustomConfig folder and that effectively "resets" it.  Then refresh the CustomLearningAdmin.aspx page which should then load the solution and rebuild the CustomConfig list item in the CustomConfig table.  Then assuming all that's good try adding one subcategory to Solutions.

Closing this issue for lack of activity.  If you are still experiencing problems, please feel free to open a new issue and reference this one. Thanks!

I have a customer who has this same issue, this is the console log output at the point of trying to add the sub category in either the Get Started Category or Scenarios Category. Interestingly adding a sub category to the Product Category works fine. This is a fresh install, not an upgraded instance.
Failed to load resource: the server responded with a status of 500 ()
custom-learning-admin-web-part_12b87b31bad8500ddc89eb4e4dab5d9c.js:1 [OrgAssetsService.getOrganisationAssetsLibraries]: Err='Something went wrong when executing request. Status='500''
(anonymous) @ custom-learning-admin-web-part_12b87b31bad8500ddc89eb4e4dab5d9c.js:1
custom-learning-admin-web-part_12b87b31bad8500ddc89eb4e4dab5d9c.js:1 Message: TypeError: Cannot read property 'SubCategories' of undefined - CustomLearningAdmin (upsertSubCategory)

Hi.  Deleting everything from the Custom Config folder fixed the issue for me. Delete everything in the CustomConfig folder and that effectively "resets" it. Then refresh the CustomLearningAdmin.aspx page which should then load the solution and rebuild the CustomConfig list item in the CustomConfig table.


DeleteMany and ForceDeleteMany won't accept slice of entities

The documentation sample code for DeleteMany is
var products []*ProductEntity
engine.LoadByIDs(int64{1, 2}, &products)
engine.DeleteMany(products...)

But the following code won't compile, saying Cannot use 'requestEntities' (type []*entity.UserEntity) as the type []Entity:
ormService := service.DI().OrmEngine().Clone()
var requestEntities []*entity.UserEntity
ormService.Search(beeorm.NewWhere("CreatedAt < DATE_ADD(UTC_TIMESTAMP(), INTERVAL -30 DAY)"), nil, &requestEntities)
ormService.DeleteMany(requestEntities...)

The workaround is to pass the entities to DeleteMany one by one:
for _, requestEntity := range requestEntities {
	ormService.DeleteMany(requestEntity)
}

Am I missing something or is the documentation wrong?

Hi @farhadhf , i see i had bug in my documentation. Now documentation is fixed.
This code:
var products []*ProductEntity
engine.LoadByIDs(int64{1, 2}, &products)
engine.DeleteMany(products...)

was wrong.
I created new version https://github.com/latolukasz/beeorm/releases/tag/v1.14.0 where all ...Many() methods are removed. You should use methods without Many suffix.
In your scenario you should use flusher:
ormService := service.DI().OrmEngine().Clone()
var requestEntities []*entity.UserEntity
ormService.Search(beeorm.NewWhere("CreatedAt < DATE_ADD(UTC_TIMESTAMP(), INTERVAL -30 DAY)"), nil, &requestEntities)

flusher := ormService.NewFlusher()
for _, e := range requestEntities {
    flusher.Delete(e)
}
flusher.Flush()


[Bug][Upgrade] Error: UPGRADE FAILED: cannot patch "devlake-ui" with kind Deployment

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I'm trying to upgrade DevLake from v0.19.0-beta4 to v1.0.0-beta4 using Helm and am getting the error below. Same Issue came up with  v1.0.0-beta3 also. Thank you.
"Error: UPGRADE FAILED: cannot patch "devlake-ui" with kind Deployment: Deployment.apps "devlake-ui" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"devlake", "app.kubernetes.io/name":"devlake", "devlakeComponent":"ui"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "devlake-lake" with kind Deployment: Deployment.apps "devlake-lake" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"devlake", "app.kubernetes.io/name":"devlake", "devlakeComponent":"lake"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "devlake-mysql" with kind StatefulSet: StatefulSet.apps "devlake-mysql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden"
What do you expect to happen
Upgrade to newer version v1.0.0-beta4
How to reproduce
export ENCRYPTION_SECRET="your_current _secret"
helm upgrade devlake devlake/devlake --version=1.0.0-beta4 --set API_REQUESTS_PER_HOUR="10000" --set API_RETRY="3" --set PIPELINE_MAX_PARALLEL="1" --set IN_SECURE_SKIP_VERIFY="true" --set lake.encryptionSecret.secret=$ENCRYPTION_SECRET
Anything else
No response
Version
v0.19.0-beta4
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hello,
Is there any update on this?
Thanks.

@ZhangNing10 is working on sth else, maybe later.

hi @amila77kashyapa , you can firstly delete the ui deployment and then upgrade

Hi @ZhangNing10 When I delete UI deployment then it giving below error.
"Error: UPGRADE FAILED: cannot patch "devlake-lake" with kind Deployment: Deployment.apps "devlake-lake" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"devlake", "app.kubernetes.io/name":"devlake", "devlakeComponent":"lake"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "devlake-mysql" with kind StatefulSet: StatefulSet.apps "devlake-mysql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden"
with deleting both UI and devlake-lake deployment it give below error. But also it creates new deployments "UI and devlake-lake"  with the new version "1.0.0-beta4" and after running DB migration via UI, devlake is working with new version.
"Error: UPGRADE FAILED: cannot patch "devlake-mysql" with kind StatefulSet: StatefulSet.apps "devlake-mysql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden"


Add Sanghavi2020 (HvM)

result of https://github.com/brain-score/brainio_contrib/pull/27

@franzigeiger and @jjpr-mit are fixing the jenkins unit test, let's wait to re-run and merge once successful.

Adding SanghaviMurty2020 to this too (result of brain-score/brainio_contrib#28)

Closing this (carried over to brain-score/braino_collection#37).


uv tool run error messages references uvx when appropriate

Summary
Resolves #5013.
Test Plan
❯ ./target/debug/uv tool run fastapi-cli
warning: `uv tool run` is experimental and may change without warning.
Resolved 9 packages in 28ms
The executable fastapi-cli was not found.
However, the following executables are available via uv tool run --from fastapi-cli <EXECUTABLE>:
- fastapi

❯ ./target/debug/uvx fastapi-cli
warning: `uvx` is experimental and may change without warning.
Resolved 9 packages in 23ms
The executable fastapi-cli was not found.
However, the following executables are available via uvx --from fastapi-cli <EXECUTABLE>:
- fastapi

Thanks so much, that was so fast!


Add some shared traits with CustomDirectives

Another step towards https://github.com/wellcomecollection/platform/issues/5101

For For https://github.com/wellcomecollection/platform/issues/5162


[Feature Request] Add option to exclude the entire Applications directory from migration

Is your feature request related to a problem? Please describe.
I would like to be able to exclude the entire /Applications directory so that no application can be migrated. We've got a lot of applications that we don't want the users to be able to migrate freely between devices and it would just be easier to be able to exclude the entire /Applications directory.
Describe the solution you'd like
Being able to exclude /Applications from migration when using the "Complete" or "Advanced Selection" options. It would also be nice if "Applications Folder" doesn't appear under the "Complete" option and the "Applications" tab doesn't appear under the "Advanced Selection" option if the entire /Applications directory has been excluded.
Describe alternatives you've considered
Excluding every single application.
Additional context
None

I am interested in having this option as well. I'd love to do a "Complete" migration but not have any apps migrated to avoid the possibility of Intel architecture apps being moved and potentially running in Rosetta 2. I'd rather the management system install the apps fresh ensuring the appropriate architecture apps get installed. Thanks!


Add a test for Lock Waits

Added a test case for consul and etcd which asserts that clients
correctly block if the lock key is already held by another client.
It also tests that the waiting client unblocks once the lock is
released.

This PR shows that there is a bug in the etcd lock code because the new LockWait test case fails against the etcd package:
--- FAIL: TestEtcdStore (24.45s)

    --- PASS: TestEtcdStore/Common (0.34s)

        --- PASS: TestEtcdStore/Common/PutGetDeleteExists (0.32s)

        --- PASS: TestEtcdStore/Common/List (0.01s)

        --- PASS: TestEtcdStore/Common/DeleteTree (0.01s)

    --- PASS: TestEtcdStore/Atomic (0.02s)

        --- PASS: TestEtcdStore/Atomic/Put (0.01s)

        --- PASS: TestEtcdStore/Atomic/PutCreate (0.01s)

        --- PASS: TestEtcdStore/Atomic/PutWithSlashSuffixKey (0.00s)

        --- PASS: TestEtcdStore/Atomic/Delete (0.01s)

    --- PASS: TestEtcdStore/Watch (0.51s)

    --- PASS: TestEtcdStore/WatchTree (0.51s)

    --- PASS: TestEtcdStore/Lock (0.01s)

    --- PASS: TestEtcdStore/LockTTL (10.01s)

    --- FAIL: TestEtcdStore/LockWait (10.00s)

    --- PASS: TestEtcdStore/PutTTL (3.01s)

FAIL

FAIL	github.com/docker/libkv/store/etcd	24.472s

There is a fix for this in this PR: https://github.com/docker/libkv/pull/186

closed by #186


Don't send 0 as the response size for streaming responses

Send nothing instead.

Codecov Report

Merging #11 (413c1e8) into master (3540ce8) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           80        82    +2
  Branches         7         7
=========================================
+ Hits            80        82    +2

Impacted Files
Coverage Δ

apilytics/django.py
100.00% <100.00%> (ø)

apilytics/fastapi.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_a53qsc9zx6/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_a53qsc9zx6/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_a53qsc9zx6/clone/recipe/meta.yaml:28: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_a53qsc9zx6/clone/recipe/meta.yaml:40: http_url: http://eblot.github.io/pyftdi/ is not https
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_ad3k4zn9os/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_ad3k4zn9os/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_ad3k4zn9os/clone/recipe/meta.yaml:28: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_ad3k4zn9os/clone/recipe/meta.yaml:40: http_url: http://eblot.github.io/pyftdi/ is not https
Errors were found


Surmagic init - Illegal hardware instruction  surmagic init

Describe the bug
Calling surmagic init while being in the Xcode project folder is throwing an error:
 📂 Created a directory: ./Surmagic

Fatal error: could not load resource bundle: from /usr/local/bin/surmagic_surmagic.bundle or /Users/mgy/Developer/surmagic/surmagic/.build/x86_64-apple-macosx/release/surmagic_surmagic.bundle: file surmagic/resource_bundle_accessor.swift, line 11
[1]    82586 illegal hardware instruction  surmagic init

To Reproduce
Steps to reproduce the behavior:

cd to Xcode project directory
run surmagic init
See error

Expected behavior
The Surfile is generated and no error thrown.
Screenshots
...
macOS (please complete the following information):
ℹ  Printing the information:

1.2.2

Xcode 12.3
Build version 12C33

ProductName:	macOS
ProductVersion:	11.1
BuildVersion:	20C69

Additional context
...

Hi miroslavkovac, thank you for the issue,
might be related to this issue:
https://forums.swift.org/t/swift-5-3-spm-resources-in-tests-uses-wrong-bundle-path/37051/16
...even if they're talking about the test targets. Our issue is related to the bundle path.
I'll watch that issue. Kindly, let me know If you'll find something useful about the case.
Till that time, stay healthy.
Best
Muhammed Gurhan Yerlikaya

Hi miroslavkovac, thank you for the issue,
might be related to this issue:
https://forums.swift.org/t/swift-5-3-spm-resources-in-tests-uses-wrong-bundle-path/37051/16
...even if they're talking about the test targets. Our issue is related to the bundle path.
I'll watch that issue. Kindly, let me know If you'll find something useful about the case.
Till that time, stay healthy.
Best
Muhammed Gurhan Yerlikaya

I actually experienced this issue too

I actually experienced this issue too

I actually experienced this issue too

I actually experienced this issue too

Quick Note: init command it's just an easy way to create Surfile in the Surmagic directory. Since I couldn't fix this bug, you can easily create a Surmagic directory and a Surfile from the template:
https://github.com/gurhub/surmagic/wiki/What-is-the-Surfile
and use the library with ease 😊
Please check early comments on this page about the issue on SPM. I'll not wait for them to fix probably, I'm gonna switch the method for creating that file.
Thank you for your support.
Please feel free to contribute.
Best

Quick Note: init command it's just an easy way to create Surfile in the Surmagic directory. Since I couldn't fix this bug, you can easily create a Surmagic directory and a Surfile from the template:
https://github.com/gurhub/surmagic/wiki/What-is-the-Surfile
and use the library with ease 😊
Please check early comments on this page about the issue on SPM. I'll not wait for them to fix probably, I'm gonna switch the method for creating that file.
Thank you for your support.
Please feel free to contribute.
Best

Thank you all for your passion 😊
Please check version 1.2.3: https://github.com/gurhub/surmagic/releases/tag/1.2.3.
From now Surmagic will search Surfile under the "SM" directory.✌🏻


feat: create logic for fetching healthcare professionals

Resolves #530
🔧 What changed

Fetch the healthcare professionals for the ModSearchHealthcareProfessional component
Create graphQl query
Create a moderationHealthcareProfessionalStore

🧪 Testing instructions
📸 Screenshots

Before

After

@Anissa3005 Is this PR still a WIP?

@theyokohamalife Yes, we needed to implemented something first in the backend to make this work. The backend implementation is merged yesterday, so now working on this again!


Module splitTextToSize in combination with doc.text not working when using template literals

Hi,
In 1.4.1 I just discovered a potential bug.
According to the documentation, the module splitTextToSize should split a provided text, according to the integer provided as second argument in it's method, to an Array of Strings. In combination with doc.text this should result in a multiline text.
The current behaviour is that this works when providing a String directly or a variable like so:
const splitText = doc.splitTextToSize('hey I am a veeeeeeeeeeery long string`, 10)
doc.text(splitText, 0, 0)

Or
const veryLongString = 'hey I am a veeeeeeeeeeery long string`
const splitText = doc.splitTextToSize(veryLongString, 10)
doc.text(splitText, 0, 0)

Both will result in a correct Array that, in combination with doc.text() returns a multiline text.
However, when you use ES6 template literals like this:
const splitText = doc.splitTextToSize(`status: ${hey I am a veeeeeeeeeeery long string}`, 10)
doc.text(splitText, 0, 0)

doc.splitTextToSize() works, as it outputs an Array, but when you then use doc.text, the String is not multiline.
I can add an example in a couple of days if necessary as I'm now a bit short on time.
Thanks!

Please provide an example file so that I can start debugging it.

Hello
The example provided is not allowed in js
The proper way is:
let var=any text ...${variablename} other text
While in the example it is written
let anyVar=any text.. ${anyText...} Other text
I suggest that you change the example provided to
let x='hey I am a veeeeeeeeeeery long string';
splitText = doc.splitTextToSize(status: ${x}, 10)
doc.text(splitText, 0, 0);
Best Regards

No example provided.


Add .to_ast to Dry::Struct class

Resolves https://github.com/dry-rb/dry-struct/issues/131

Thanks for the effort, this was done in https://github.com/dry-rb/dry-struct/pull/148


Click on HTML element

Hello world!
I want to developp maybe a new feature for this wonderful project.
I was thinking that maybe 70% of the time we use this library form fill and submit form.
I was thinking at a functionality to directly click on a html element in php.
Maybe something like $page->click('.my-selector');!
We can add this functionnality with a lot of function like :

form submit $page->submitForm('.my-selector');
fill input $page->fillInput('.my-selector', 'some text');*
etc.

And maybe with a new object like that $page->formHandler->fillInput('.my-selector');
And maybe after do a whole html support with node, etc.
Thanks for reading this!
(and sorry for my bad english)

i install and use jquery for form handle

This can be done with javascript directly, but it wouldn't look like a normal user behavior. It could even select inputs that are hidden behind other elements and not supposed to be selected by the user.
I was thinking about implementing a mechanism to find the coordinates of the html elements and use the actual mouse to click in that position.

Yeah that's a really good idea! Maybe get the coordinates in javascript the click ?

I don't know of any other way of getting the coordinates without javascript. It's also unlikely that a real user would click in the exact edge of an element every time, so it would be nice if we add a little variation to it.

Yes your right but you also have to get the width and the height then.


Add vtk9 support phase8

Description
This PR incorporates the OSPRay 2.8.0 work and Volume plot changes (except for test-suite changes) implemented by @ARSanderson on the investigate_vtk9_master branch (which will go away in the near future).
Apologies to reviewers for the large number of changed files in this PR.
Due to the significant number of changes to Volume plot, and the difficulty attempting to support both VTK 8 and VTK 9 in the same atts, I made the design choice to put the VTK 9 changes into a new plot directory: VolumeVTK9.  The choice to compile Volume or VolumeVTK9 is made at configure time and is based (obviously) on the VTK version being used.
The plot is still just plain 'Volume' in the internals.
Whitespace cleanup was performed on all files touched.
There is still more work to be done to get VTK 9 support fully functional, especially in the realm of supporting on-screen and of-fscreen rendering in the same build.
Type of change
* [ ] Bug fix

[X] New feature~~
* [ ] Documentation update
* [ ] Other

How Has This Been Tested?
I have compiled with vtk8 on  Windows and linux and successfully run the regression suite on pascal.
Also compiled on Windows with vtk 9.
Checklist:

[X] I have followed the style guidelines of this project.~~
[X] I have performed a self-review of my own code.~~
[X] I have commented my code where applicable.~~
- [ ] I have updated the release notes.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
[X] I have confirmed new and existing unit tests pass locally with my changes.~~
- [ ] I have added new baselines for any new tests to the repo.
- [ ] I have NOT made any changes to protocol or public interfaces in an RC branch.
[X] I have assigned reviewers (see VisIt's PR procedures for more information).~~

@biagas ok, I am making it through this now 😜

I suspect @ARSanderson may not be paying too much attention and I didn't mean to suggest you should wait for any details before proceeding with merge. Again, if anything I mentioned in your opinion is worth a closer look, maybe just file a ticket and proceed with merge.

Sorry out of the loop will try to take a look.


[Doc Question] Forgotten Deprecated Label on GFX906 GPUs?

As I know that GFX906 GPUs are entering their last stage of life span in ROCm 6. Since I am an owner of 2 AMD Radeon™ Pro VII GPUs who loves running AI models on my workstation these days, I really care about the effect of the deprecate bulletin on me. On the latest System Requirement Page, however, only AMD Instinct™ MI50 is tagged with "Deprecated". May I ask if you guys forget to tag AMD Radeon™ Pro VII and AMD Radeon™ VII as "Deprecated"? Or is it actually those two GPUs are still in "Supported" state. Thanks!

https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html


New release?

Hello!
I wonder when we could expect a new Jrsonnet release?

There is new prerelease available on gcmodule branch and here: https://github.com/CertainLach/jrsonnet/releases/tag/v0.5.0-gcmodule-test
It can't be uploaded to crates.io now, because it depends on git dependencies (forks of serde-json and gcmodule), i will publish forked packages to crates.io soon

There is new prerelease available on gcmodule branch and here: https://github.com/CertainLach/jrsonnet/releases/tag/v0.5.0-gcmodule-test
It can't be uploaded to crates.io now, because it depends on git dependencies (forks of serde-json and gcmodule), i will publish forked packages to crates.io soon

Amazing! Thank you :)

To be more exact, here are the PRs which include the changes currently needed by jrsonnet:
serde-yaml

https://github.com/dtolnay/serde-yaml/pull/225

gcmodule

https://github.com/quark-zju/gcmodule/pull/14
https://github.com/quark-zju/gcmodule/pull/15

Hello! Following-up this "new release" thread, I was wondering is there is any updates on a potential new release, this implementation of Jsonnet is such a gift for heavy usage it would be awesome to get the latest features and functions from the official implem 🤩
Thanks!

I checked those PRs listed above btw:

Yaml 1.1 octal thing was closed and not merged, but dtonlay suggested a workaround that doesn't require it. I don't understand why this project depends on YAML in the first place tbh.
Not sure about this.
This is just an optimisation. Shouldn't block a new release I think?

I built and made available some binaries for the latest commit at https://github.com/aslafy-z/jrsonnet-unstable-builds

I tried to use brew install jrsonnet --HEAD and it almost worked.
HEAD is now at 0e1ae58 fix: update hi-doc
==> cargo install --path=cmds/jrsonnet
error: unexpected argument '--generate' found

  tip: to pass '--generate' as a value, use '-- --generate'

Usage: jrsonnet <--exec|INPUT>

For more information, try '--help'.
Error: Failure while executing; `\{\"SHELL\"=\>\"bash\"\} /opt/homebrew/Cellar/jrsonnet/HEAD-0e1ae58/bin/jrsonnet - --generate bash` exited with 2. Here's the output:

It is now jrsonnet generate <shell> instead of jrsonnet - --generate <shell>

whoever owns the homebrew install then needs to change it slightly,
  def install
    system "cargo", "install", *std_cargo_args(path: "cmds/jrsonnet")
    generate_completions_from_executable(bin/"jrsonnet", "-", "--generate")
  end

asked the maintainers in homebrew on their last merge before digging into their issue/pr process.

I just released https://github.com/CertainLach/jrsonnet/commit/0e1ae581969b0ab6489a867723470007f0b92472 as

https://github.com/aslafy-z/jrsonnet-unstable-builds/releases/tag/0e1ae58
https://github.com/aslafy-z/jrsonnet-unstable-builds/releases/tag/0e1ae58-exp

:wave: The last preview version on the release page has an issue with std.prune (some error about preserve_order) that is fixed on master, any plans on releasing v0.5.0 for real :wink: ?

@CertainLach I've got some colleagues that want to use jrsonnet and while installing they run in all kinds of problems that do not happen in the 0.5.0-pre96 version, it's always awkward to tell them to install the pre-release version. I've been running the pre96 version for quite a while and haven't seen any problems with it, would it be an option to make a new release?

Hi there, I am finally working on writing the release notes, so the actual release may come soon


Use HTML attachment content-id in URLs

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
https://trello.com/c/rmphfmD6/2760-change-whitehall-html-attachments-to-use-content-ids-in-url-5

Superseded by #6377. See https://github.com/alphagov/whitehall/pull/6363#discussion_r761288330.


Add JUnit extension that isolates tests

Add a JUnit extension that isolates a test case. Isolates mean that all objects that were created during a test will be deleted afterwards.
Ideas for the API:
@TestDbBuilder
private static ExasolObjectFactory testDbBuilder = ...;

@Tests
void test(@IsolatedTestDbBuilder ExasolObjectFactory factory){
 factory.createSchema("test");
}

or
@TestDbBuilder
private static ExasolObjectFactory testDbBuilder = ...;

@Tests
@WithTestDbCleanup
void test(){
  factory.createSchema("test");
}

Expected behavior:

TDB deletes the schema test after the test execution.
Objects created in outside the test (for example in beforeAll) are not neleted

Stale feature request. Closing. Can be reopened if it becomes relevant again.


Implement Deferred Scene Resetting Alt.

Another approach to #47 is restructuring Command and creating a ResetScene command.
In practice, this approach doesn't really work well...
Resetting the Scene entails modifying the command deque. If resetting the scene is a command, then this means that the command deque will be modified in-place (which, again, is asking for trouble).
Ultimately, this quirk can be mitigated, but it begs the question of whether or not resetting the scene should actually be a command in the first place.

So which is better? #47 or #49

Resetting using the command system is definitely not meant to be since the commands deque needs to be reset as well. #47 is much better.


Listener: Use consistent upper case type values with start/end_keyword

Currently the type info passed to listener v2 start/end_keyword methods can have these values: Keyword, Setup, Teardown, For, For Item, If, Else If, Else. They use pretty strange case and For Item is pretty bad name in general.
As part of the model refactoring (#3749) the internally used type values are going to be changed to KEYWORD, SETUP, TEARDOWN, FOR, FOR ITERATION, IF, ELSE IF and ELSE. These values work better also with listeners and using the exact same values avoids the need for mapping internal values to listener values.

Same types are used also in output.xml  with <kw> elements. Because normal keywords do not have type there at all, and FOR/IF have their own <for>/<if> elements, this only changes <kw type='setup'> and <kw type='teardown'> to <kw type='SETUP'> and <kw type='TEARDOWN'>.


use file to work out where to load mesh from

To load a mesh from a file for an example, specifying the path can be tricky.  The following
https://github.com/kinnala/scikit-fem/blob/7dbe3cbc6f1e11188d72337a1e4577a4f8a1cbaa/docs/examples/ex21.py#L6
only works if the example is run from the top-level directory as
python docs/examples/ex21.py

but of course failed when I ran it in docs/examples.
There are facilities in the standard library for getting around this.  The one adopted here might even work on non-POSIX systems.

This looks like a reasonable addition.

Slightly annoying to have to recast the pathlib.Path as str, but that's a limitation of meshio.read which I might look into upstream rather than in skfem.Mesh.load.

nschloe/meshio#538 is a request to ‘Accept os.PathLike as well as str in read function’.

nschloe/meshio#538 is a request to ‘Accept os.PathLike as well as str in read function’.

And https://github.com/nschloe/meshio/pull/545 is a PR implementing it :smile:

And https://github.com/nschloe/meshio/pull/546 is a now-merged PR by the owner doing the same thing :tada:


Fix mac jobs attempting to use gfile service account key

Fix: activation of the key was added to  https://github.com/grpc/grpc/blob/9a19606af0091a4d38ca923a6a26191aa67feb6a/tools/internal_ci/helper_scripts/prepare_build_macos_rc#L34, but not all the jobs actually download the file which results in a failure.
++ export GOOGLE_APPLICATION_CREDENTIALS=/tmpfs/src/gfile/GrpcTesting-d0eeee2db331.json
++ GOOGLE_APPLICATION_CREDENTIALS=/tmpfs/src/gfile/GrpcTesting-d0eeee2db331.json
++ gcloud auth activate-service-account --key-file=/tmpfs/src/gfile/GrpcTesting-d0eeee2db331.json
ERROR: (gcloud.auth.activate-service-account) Unable to read file [/tmpfs/src/gfile/GrpcTesting-d0eeee2db331.json]: [Errno 2] No such file or directory: '/tmpfs/src/gfile/GrpcTesting-d0eeee2db331.json'

Only affects kokoro jobs, merging.


Mctoools implementation

https://github.com/Mojang/minecraft-creator-tools
There's command line tool equivalent for this now and it may be useful for some people to have the project be validated directly in VSC rather than export it and then validate it.

I dont if I will ever do this, feels like Microsoft will make it a plugin at some point :)


Fix cloning of Sequential models w. input_tensors argument

Changed _clone_sequential_model to work properly when using the input_tensors argument. Fixes #20549.
keras.models.clone_model() now checks for input_tensors in the right way and uses input_tensors shape and dtype in the clone as expected.
Also added tests for cloning Functional and Sequential (w./wo. explicit Input layer) models with defined input_tensors:
keras/src/models/cloning_test.py::CloneModelTest::test_input_tensors_cnn_functional
keras/src/models/cloning_test.py::CloneModelTest::test_input_tensors_cnn_sequential
keras/src/models/cloning_test.py::CloneModelTest::test_input_tensors_cnn_sequential_noinputlayer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.62%. Comparing base (553521e) to head (fe2cbb4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20550      +/-   ##
==========================================
- Coverage   82.17%   77.62%   -4.56%
==========================================
  Files         515      515
  Lines       47995    47995
  Branches     7510     7510
==========================================
- Hits        39440    37254    -2186
- Misses       6738     8984    +2246
+ Partials     1817     1757      -60

Flag
Coverage Δ

keras
77.47% <100.00%> (-4.55%)
:arrow_down:

keras-jax
65.13% <100.00%> (+<0.01%)
:arrow_up:

keras-numpy
?

keras-tensorflow
66.10% <100.00%> (+<0.01%)
:arrow_up:

keras-torch
65.06% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Release v0.49.0

I've gone ahead and revised the release job, and it should be all set now.
By the way, before we move on, could @rnbguy please take a look at it? Thanks!


update stripe api version

The change logs after 2015-09-08 don't have any major changes in the koudoku code.

LGTM

hitomi :heart:


KMS Cloud Formation template missing for Kurento 7.0.0

Discussed in https://github.com/orgs/Kurento/discussions/21

Originally posted by lahirudx March 29, 2023
I tried to install KMS-Coturn with AWS Cloud Formation template according to docs. But the cloud formation wizard says,
"Cannot open this file because of an error.: https://s3-eu-west-1.amazonaws.com/aws.kurento.org/KMS-Coturn-cfn-7.0.0.yaml must reference a valid S3 object to which you have access."
Is it not publicly accessible?

I have the same issue trying to use aws cloudformation but with 7.1.1, would it be possible to get a copy of the template or host somewhere accessible?


Qt platform plugin “xcb” in “” cannot be loaded on CentOS

Description
When Running
sct_label_utils -i t2.nii.gz -create-viewer 1,2,3,4,5,6,7 -o t2label

The following error appears,
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted

Steps to Reproduce

Install SCT following the instructions for CentOS shown here

Download any test data, in my case I ran

sct_download_data -d course_london19

run,

cd sct_course_london/single_subject/data/t2
``

4. Finally execute,
```bash
sct_label_utils -i t2.nii.gz -create-viewer 1,2,3,4,5,6,7 -o t2label

Expected behavior:
The following image should appear:

Actual behavior:
I get the following output
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted

OS
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.1.3.el7.x86_64
Architecture: x86-64
Usefull resources

Run docker without root access
Issue reported on the forum

@gmotzespina do you have any update on this issue?  @zougloub do you think you can help us there?

No, until now I haven't had any progress on the matter. I'm gonna continue working on this today.

I haven't been able to do much progress on this. Do you think pairing on this would be helpful to find a solution @jcohenadad, @zougloub. In any case I'll continue working on this.

@gmotzespina have you tried installing libxkbcommon-x11? That's where I landed after a little search.

@agahkarakuzu No I haven't tried it out, but I'll do it. Thanks ! I'll keep you updated.

Installing libxkbcommon-x11 doesn't work, keep getting the same output.

@gmotzespina sorry to hear that it did not work. Just out of curiosity, are you trying to achieve this in a container or on your commputer?
Because  docker run -it spinalcord:latest call does not appear to do x11 forwarding, which prevents you from seeing GUI components.

Yeah Actually I'm trying just that:
# in Terminal
docker pull centos:latest
docker run -it centos:latest
# in docker container
yum -y install git bzip2 gcc wget which mesa-libGL

After having installed your favorite OS, run SCT installer:
git clone https://github.com/neuropoly/spinalcordtoolbox.git sct
cd sct
yes | ./install_sct
export PATH="/sct/bin:${PATH}"
sct_check_dependencies
sct_testing

Also I'm not sure if Qt is even supported on centos: https://doc.qt.io/qt-5/linux.html. I might be missing something though.

As far as I am concerned, you should be OK with Qt on Centos. The problem appears to me that you are trying to access GUI components through a container without passing the commands to let Docker engine know where to look for that communication.
Can you try adding the following arguments to your docker run command?
--net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw"

Also I'm not sure if Qt is even supported on centos: https://doc.qt.io/qt-5/linux.html. I might be missing something though.

@gmotzespina what let's you think that Qt is not supported on centos? the link you provided clearly lists centos as an OS

Also I'm not sure if Qt is even supported on centos: https://doc.qt.io/qt-5/linux.html. I might be missing something though.

@gmotzespina what let's you think that Qt is not supported on centos? the link you provided clearly lists centos as an OS

Ignore my comment, I've miss read the docs.

@agahkarakuzu I've tried following the same steps as shown above just instead of running docker run -it centos:latest I did it as you suggested:  docker run -it --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" centos:latest.
It keeps failing the same way,
[root@docker-desktop t2]# yum install libxkbcommon-x11
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.mirror.lstn.net
 * extras: mirrors.sonic.net
 * updates: repos.dfw.quadranet.com
Resolving Dependencies
--> Running transaction check
---> Package libxkbcommon-x11.x86_64 0:0.7.1-3.el7 will be installed
--> Processing Dependency: libxkbcommon(x86-64) = 0.7.1-3.el7 for package: libxkbcommon-x11-0.7.1-3.el7.x86_64
--> Processing Dependency: libxkbcommon.so.0(V_0.5.0)(64bit) for package: libxkbcommon-x11-0.7.1-3.el7.x86_64
--> Processing Dependency: libxkbcommon.so.0()(64bit) for package: libxkbcommon-x11-0.7.1-3.el7.x86_64
--> Running transaction check
---> Package libxkbcommon.x86_64 0:0.7.1-3.el7 will be installed
--> Processing Dependency: xkeyboard-config for package: libxkbcommon-0.7.1-3.el7.x86_64
--> Running transaction check
---> Package xkeyboard-config.noarch 0:2.24-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================================================================
 Package                                                  Arch                                           Version                                             Repository                                    Size
================================================================================================================================================================================================================
Installing:
 libxkbcommon-x11                                         x86_64                                         0.7.1-3.el7                                         base                                          19 k
Installing for dependencies:
 libxkbcommon                                             x86_64                                         0.7.1-3.el7                                         base                                         108 k
 xkeyboard-config                                         noarch                                         2.24-1.el7                                          base                                         834 k

Transaction Summary
================================================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 962 k
Installed size: 5.9 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): libxkbcommon-x11-0.7.1-3.el7.x86_64.rpm                                                                                |  19 kB  00:00:00
(2/3): libxkbcommon-0.7.1-3.el7.x86_64.rpm                                                                                | 108 kB  00:00:00
(3/3): xkeyboard-config-2.24-1.el7.noarch.rpm                                                                                | 834 kB  00:00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                1.1 MB/s | 962 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : xkeyboard-config-2.24-1.el7.noarch                                                                                1/3
  Installing : libxkbcommon-0.7.1-3.el7.x86_64                                                                                2/3
  Installing : libxkbcommon-x11-0.7.1-3.el7.x86_64                                                                                3/3
  Verifying  : xkeyboard-config-2.24-1.el7.noarch                                                                                1/3
  Verifying  : libxkbcommon-x11-0.7.1-3.el7.x86_64                                                                                2/3
  Verifying  : libxkbcommon-0.7.1-3.el7.x86_64                                                                                3/3

Installed:
  libxkbcommon-x11.x86_64 0:0.7.1-3.el7

Dependency Installed:
  libxkbcommon.x86_64 0:0.7.1-3.el7                                                                     xkeyboard-config.noarch 0:2.24-1.el7

Complete!
[root@docker-desktop t2]# sct_label_utils -i t2.nii.gz -create-viewer 1,2,3,4,5,6,7 -o t2label

--
Spinal Cord Toolbox (git-master-a03b1e65b2934abf33abbdb8e360d38f9c937712)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

OK give me some time, will look into this and get back to you.

Nice, thanks a bunch, I'm case you want to pair let me know!

Here is a detailed debug report to begin with:
Spinal Cord Toolbox (git-master-a03b1e65b2934abf33abbdb8e360d38f9c937712)

QFactoryLoader::QFactoryLoader() checking directory path "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "webgl"
        ]
    },
    "archreq": 0,
    "className": "QWebGLIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("webgl")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/sct/python/envs/venv_sct/bin/platforms" ...
Cannot load library /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libfontconfig.so.1: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libfontconfig.so.1: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted

I kept track of missing dependencies  using export QT_DEBUG_PLUGINS=1. Installed all of the missing deps that it was complaining in this dockerfile:
FROM centos:latest
# Add a new user "spinalcordtoolbox" with user id 8877
RUN yum -y install git bzip2 gcc wget which mesa-libGL unzip
RUN git clone https://github.com/neuropoly/spinalcordtoolbox.git sct
RUN cd sct;	yes | ./install_sct

ENV PATH "/opt/Qt5.1.1/5.1.1/gcc_64/bin:/sct/bin:${PATH}"
#ENV QT_PLUGIN_PATH "/opt/Qt5.1.1/5.1.1/plugins"

RUN cd /tmp; wget https://www.neuro.polymtl.ca/_media/downloads/sct/20190121_sct_course-london19.zip; unzip 20190121_sct_course-london19.zip

RUN yum -y install fontconfig freetype freetype-devel fontconfig-devel libstdc++
RUN yum -y install libXrender libxkbcommon-x11
RUN useradd -u 8877 spinalcordtoolbox
# Change to non-root privilege
USER spinalcordtoolbox

After this installation, docker run -it sctagah` gices the following:

It is no longer complaining about missing dependencies, but asking for host to provide an  xhost. i connected XQuartz on <IP_ADDRESS> on OSX (this is how it is done on osx ).
Good news, your xcb problem has been resolved. Bad news, you have a new exception:

This issue may be resolved after properly installing dbus library.
Gotta take of know, I hope this gives you a better head start to proceed.

@agahkarakuzu thank you so much for your help!!! 🙏

@agahkarakuzu Thanks a bunch! I'll keep on going with your progress.

@agahkarakuzu Sorry to bother you again.
I've tried your solution using this Dockerfile:
FROM centos:latest
# Add a new user "spinalcordtoolbox" with user id 8877
RUN yum -y install git bzip2 gcc wget which mesa-libGL unzip
RUN git clone https://github.com/neuropoly/spinalcordtoolbox.git sct
RUN cd sct;	yes | ./install_sct

ENV PATH "/opt/Qt5.1.1/5.1.1/gcc_64/bin:/sct/bin:${PATH}"
#ENV QT_PLUGIN_PATH "/opt/Qt5.1.1/5.1.1/plugins"

RUN cd /tmp; wget https://www.neuro.polymtl.ca/_media/downloads/sct/20190121_sct_course-london19.zip; unzip 20190121_sct_course-london19.zip

RUN yum -y install fontconfig freetype freetype-devel fontconfig-devel libstdc++
RUN yum -y install libXrender libxkbcommon-x11
RUN useradd -u 8877 spinalcordtoolbox
# Change to non-root privilege
USER spinalcordtoolbox

First of all it didn't work because using a user without privileges throws the following error:
Command-line usage error: Option -o no write permission for file t2label
Aborted...

So I removed the generation of the non-root user and used this docker file:
FROM centos:latest
# Add a new user "spinalcordtoolbox" with user id 8877
RUN yum -y install git bzip2 gcc wget which mesa-libGL unzip
RUN git clone https://github.com/neuropoly/spinalcordtoolbox.git sct
RUN cd sct;	yes | ./install_sct

ENV PATH "/opt/Qt5.1.1/5.1.1/gcc_64/bin:/sct/bin:${PATH}"
#ENV QT_PLUGIN_PATH "/opt/Qt5.1.1/5.1.1/plugins"

RUN cd /tmp; wget https://www.neuro.polymtl.ca/_media/downloads/sct/20190121_sct_course-london19.zip; unzip 20190121_sct_course-london19.zip

RUN yum -y install fontconfig freetype freetype-devel fontconfig-devel libstdc++
RUN yum -y install libXrender libxkbcommon-x11

Then I followed the following steps

build the docker image docker image build -t spinalcord .
Run docker run -it spinalcord:latest.
Inside docker run

cd tmp/sct_course-london19/single_subject/data/t2
 export QT_DEBUG_PLUGINS=1
sct_label_utils -i t2.nii.gz -create-viewer 1,2,3,4,5,6,7 -o t2label

After running the steps above I get the following;
[root@e879cf0a15e9 t2]# export QT_DEBUG_PLUGINS=1
[root@e879cf0a15e9 t2]# sct_label_utils -i t2.nii.gz -create-viewer 1,2,3,4,5,6,7 -o t2label

--
Spinal Cord Toolbox (git-master-22f44e7316e75517ac3f056147ceb9db58e0c331)

QFactoryLoader::QFactoryLoader() checking directory path "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331008
}

Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /sct/python/envs/venv_sct/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 331008
}

I wasn't able to get to the point where you left not even by using the docker file you posted. Did I miss something?

Hey @gmotzespina, it is interesting that you are running into a different issue with the same Dockerfile. First off the command you use to run your container is not enough to bind your xhost with the container.
docker run -it spinalcord:latest is just to start container in interactive command-line mode. You need some additional steps depending on your own machine's OS. If it is OSX or Ubuntu, you can follow the steps I described for qMRLab's container, just by changing the image name from qmrlab:mcrgui to spinalcord:latest. Instructions are given in the section-2 here.
 Especially useful if you are an osx user.
docker build --rm -t <your_tag_here> .
I am doing that painful docker cleaning on my macbook again, I will rebuild image with a cleaner version of the Dockerfile I gave you above. I removed extra layers and some redundant env vars to give it a better structure.
I could not test this yet, there may be syntax errors in it.
FROM centos:latest

RUN yum -y update \
	&& yum -y install git bzip2 gcc wget which mesa-libGL unzip \
	&& yum -y install fontconfig freetype freetype-devel fontconfig-devel libstdc++ \
	&& yum -y install libXrender libxkbcommon-x11 \
	&& yum clean all

# Fetch SCT from source and install (at root directory)
# Download sct London course dataset in tmp folder and unzip
RUN git clone https://github.com/neuropoly/spinalcordtoolbox.git sct; \
    cd sct; \
    yes | ./install_sct; \
    cd /tmp; \
    wget https://www.neuro.polymtl.ca/_media/downloads/sct/20190121_sct_course-london19.zip; \
    unzip 20190121_sct_course-london19.zip; \
    rm 20190121_sct_course-london19.zip;\
    chmod 1777 /tmp

# Add SCT executable to the system env
ENV PATH "/sct/bin:${PATH}"

RUN useradd -u 8877 spinalcordtoolbox
USER spinalcordtoolbox

Using the build with the dockerfile I give above, I was able to do:

Functionality mentioned in the panel is there. I can navigate, zoom in out, change brightness, add labels etc. Note that I run it by passing -o option, I commented out non-root user steps at the end. If you enable them, you wont be even able to write to the /tmp. I am sure there are ways to have user non-privilaged and still enable writing to /tmp.
My steps to run this container:
docker build --rm -t sctdene .

Install XQuartz X11 server.
Check ‘Allow connections from network clientsoption inXQuartz` settings.
Quit and restart XQuartz.
In XQuartz window xhost + <IP_ADDRESS>
In the default OSX terminal:

docker run -e DISPLAY=host.docker.internal:0 -it sctdene

Once again, these steps are going to work if you are using OSX.
If you are using Ubuntu, then you need to do something like:
docker run -ti --rm \
       -e DISPLAY=$DISPLAY \
       -v /tmp/.X11-unix:/tmp/.X11-unix \
       sctdene

Just one note, when I hit right arrow to move change slides, the app crashes when the slice number exceeds that of max available. If this is not on purpose, can report as bug maybe ?

Just one note, when I hit right arrow to move through slides, the app crashes when the requested slice number exceeds that of max available. If this is not on purpose, I can report it as a BUG?

@agahkarakuzu yes please! thank you so much for your help!

Not at all @jcohenadad, opening an issue for the bug.

@agahkarakuzu Thanks a bunch for your help, you've been really helpful. @jcohenadad I guess I
should update the wiki, and respond Yazhuo ?
http://forum.spinalcordmri.org/t/sct-label-utils-error/160/9
I'm not sure if there is a PR to raise, since it seems that just running it with the right configuration and steps mentioned by @agahkarakuzu should solve Yazhuo's problems right?

@gmotzespina yup, sounds good. However it would be good to check the environment upon installation and spit out relevant message

@jcohenadad I've updated the wiki https://github.com/neuropoly/spinalcordtoolbox/wiki/testing, let me know if you think I missed something, or if there are some typos. Will proceed with the environment checkup.

@jcohenadad I've updated the wiki https://github.com/neuropoly/spinalcordtoolbox/wiki/testing, let me know if you think I missed something, or if there are some typos. Will proceed with the environment checkup.

this can be replaced by the command touch Dockerfile
why are you installing this? it is only used for specific needs (e.g. this issue)
typo here: chmod 777
[XQuartz install] (https://github.com/neuropoly/spinalcordtoolbox/wiki/testing/_compare/b19f5ccdf8204059085eb86f97feb3f47845baf2...4f292b70191d37aeb8deba66040184a3829fe8cc#diff-3047d71ccf1370a2898eb92c70273f56R64) is likely not specific to centos Docker container, but also applies to the Ubuntu docker. Moreover, people don't necessarily need xdisplay (e.g. if they only run scripts without GUI, there is no need for all this). So i suggest to make a section "To use GUI"

@gmotzespina can you please let the user know how to solve the issue on the forum please (top priority), thanks

@jcohenadad Done, I've also fixed the wiki: https://github.com/neuropoly/spinalcordtoolbox/wiki/testing

There is no follow-up from the user about this issue so we can close


Closing window doesn't end process

Bevy version
0.12.1, as well as main at time of writing: b6945e5332df2bc5934c198044acd290c744d9fb
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
2024-02-10T16:18:05.493890Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon Graphics", vendor: 4098, device: 5761, device_type: IntegratedGpu, driver: "AMD open-source driver", driver_info: "2024.Q1.1 (LLPC)", backend: Vulkan }
2024-02-10T16:18:05.877320Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux rolling EndeavourOS", kernel: "6.6.16-1-lts", cpu: "", core_count: "8", memory: "30.6 GiB" }

Tested the winit window example and it works fine
What you did
Ran any bevy app, for example the sprite example. Pressed the X button in the top bar of the app.
What went wrong
Process stayed open, had to be killed through Ctrl+C, or through system monitor.
Expected: process closes.
Additional information
This happened both on Wayland and Xorg.

I think you are using the AMDVLK driver. You might want to try the Mesa Radeon drivers, RADV. They are generally better supported. Try uninstalling the amdvlk package and installing vulkan-radeon instead.

Switch to the vulkan-radeon driver and now the process closes, although with a panic
Encountered a panic in system `bevy_render::view::window::prepare_windows`!
thread 'main' panicked at crates/bevy_render/src/pipelined_rendering.rs:49:67:
called `Result::unwrap()` on an `Err` value: RecvError

Interesting, this is probably #11734, although your error message is different. Does this happen on both Wayland and X11?

Happens with xwayland. When running on wayland with wayland feature enabled it works correctly, seems to be the same issue as you said

It's interesting that (apparently/probably) since #11737 got merged, it now panics a second time. This is the full message:
thread 'Compute Task Pool (14)' panicked at crates/bevy_render/src/view/window/mod.rs:368:21:
Couldn't get swap chain texture, operation unrecoverable: The swap chain has been lost and needs to be recreated
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::prepare_windows`!
thread 'Compute Task Pool (14)' panicked at crates/bevy_render/src/pipelined_rendering.rs:49:67:
called `Result::unwrap()` on an `Err` value: RecvError

That's why I didn't immediately recognize the error.

I'm seeing the same original problem with the recommended drivers, hangs after closing without panic.
2024-02-19T20:41:39.728702Z  INFO log: Guessed window scale factor: 1.6666666666666667
2024-02-19T20:41:39.832922Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon Graphics (RADV GFX1103_R1)", vendor: 4098, device: 5567, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 24.0.1 - kisak-mesa PPA", backend: Vulkan }
2024-02-19T20:41:40.162962Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 23.10 Ubuntu", kernel: "6.5.0-17-generic", cpu: "AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics", core_count: "8", memory: "27.1 GiB" }
2024-02-19T20:41:44.080514Z  INFO bevy_window::system: No windows are open, exiting
2024-02-19T20:41:44.081244Z  INFO bevy_winit::system: Closing window 0v1```

Seeing this same issue on Ubuntu after updating to 0.13 (was not an issue on 0.12.1):
2024-02-22T20:32:44.335631Z  INFO log: Guessed window scale factor: 1.1666666666666667
2024-02-22T20:32:44.405722Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 5700 XT (RADV NAVI10)", vendor: 4098, device: 29471, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 23.2.1-1ubuntu3.1", backend: Vulkan }
2024-02-22T20:32:44.608342Z  INFO log: Gamepad /dev/input/event7 (Microsoft X-Box 360 pad) connected.
2024-02-22T20:32:44.625949Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 23.10 Ubuntu", kernel: "6.5.0-17-lowlatency", cpu: "Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz", core_count: "4", memory: "15.6 GiB" }
2024-02-22T20:32:44.628695Z  INFO bevy_input::gamepad: Gamepad { id: 0 } Connected
2024-02-22T20:32:50.037479Z  INFO bevy_window::system: No windows are open, exiting
2024-02-22T20:32:50.043979Z  INFO bevy_winit::system: Closing window 0v1

After which the process hangs indefinitely until force-quit.

gonna throw in my little insight, i have had this issue since 0.13 (on xwayland) as well, panicking when user closes the main window and also on bevy::window::close_on_esc.
however, it does not happen when dependencies are built without optimisation.
it is a graceful shutdown with no opt-level in the Cargo.toml.

Can confirm removing the opt-level as @mochou-p described lets it shut down gracefully with Process finished with exit code 0.

another thing i just found out: having 2 games open, both with bevy::window::close_on_esc in Update, with both of them being the latest focused windows in the OS, pressing [Escape] will close both, the top one will panic, and the bottom one will shutdown gracefully. (bevy 0.13, xwayland)

Same for me...

Duplicate of #10260.

Fixed in #13236, can be closed.


ci(pie-monorepo): add designers as reviewers

[Changed] - update codeowners file to include designers

is this expected?


Question: tying to unlink my accounts

Question on: _docs/floodgate/linking.md     I need to be undercover for when i am staff

I can not unlink my account

Join our discord for questions please


adding HybridOverlayVXLANPort to HybridOverlayConfig stuct

the vxlan port that was used when we started working on the windows/linux hybrid
networking solution (4789) is required to be left open by some of our supported
platforms. Make the VXLAN port configurable so that it can be set and will no longer
interfere with enabling cloud platforms

/retest

@soltysh I removed the updated to the vendor files

/hold cancel

/lgtm

/lgtm

/approve


Problem with models.sPM?

When using mean, samples = spm.predict(key2, X_unmeasured, take_point_predictions_mean=False), the predictions are calculated over measured points, rather then unmeasured point array that is passed to the .predict

Addressed via #93
It should also run with numpyro's latest version without any problem.


HTTPS proxy-pass redirects to HTTP

I have an infinite loop in my configuration.
$ curl -i http://www.brownbag.tv
HTTP/1.1 301 Moved Permanently
Date: Sun, 27 Dec 2015 13:29:15 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Location: https://www.brownbag.tv/
Server: cloudflare-nginx
CF-RAY: 25b55f9271c43560-LHR

<title>301 Moved Permanently</title>

301 Moved Permanently

nginx/1.9.6

$ curl -i https://www.brownbag.tv
HTTP/1.1 301 Moved Permanently
Server: cloudflare-nginx
Date: Sun, 27 Dec 2015 13:29:21 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Location: http://www.brownbag.tv/
CF-RAY: 25b55fb5415a3488-LHR

This is my docker-compose.yml file
nginx:
  image: dmp1ce/nginx-proxy-letsencrypt:latest
  volumes:
    - /var/run/docker.sock:/tmp/docker.sock
  ports:
    - 80:80
    - 443:443
  restart: always
web:
  build: .
  environment:
    VIRTUAL_HOST: 'www.brownbag.tv'
    LETSENCRYPT_HOST: 'www.brownbag.tv'
    LETSENCRYPT_EMAIL: '<>'
    NODE_ENV: 'production'
  restart: always

Here is the generated nginx.conf - https://gist.github.com/BenHall/b0922114dd9903b81515
The proxy-pass is "proxy_pass http://www.brownbag.tv" but this just redirects to HTTPS.

Maybe the "web" configuration is redirecting back to http? The docker-compose configuration looks fine. I noticed the website is redirecting to http from https now.

I originally thought that but I swapped it out for a Golang but still having the same issue. This was the command:
docker run -d -p 80 --name ws1 -e VIRTUAL_HOST="www.brownbag.tv" -e LETSENCRYPT_HOST="www.brownbag.tv" -e LETSENCRYPT_EMAIL="<>" scrapbook/docker-http-server
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro dmp1ce/nginx-proxy-letsencrypt

I'm wondering if it is something to do with cloudflare.


Loading intellisense status stuck. Typescript language features just keeps crashing

Type: Bug
Randomly just started crashing. I think its too do with intellisense status stuck.
I cant ctrl+click to go to type definitions etc. Restarted, turned off all extensions. Still doing it.
VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
15.73GB (4.21GB free)

Process Argv
--crash-reporter-id ec879742-3bba-4695-b960-6bddbbf90375

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

vscode-eslint
dba
3.0.10

gitlens
eam
15.3.1

prettier-vscode
esb
11.0.0

copilot
Git
1.225.0

copilot-chat
Git
0.18.2

vscode-github-actions
git
0.26.3

readme-preview
man
0.0.3

vscode-docker
ms-
1.29.2

remote-wsl
ms-
0.88.2

sass-indented
syl
1.8.31

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31119336
wkspc-onlycs-t:31111718
wkspc-ranged-t:31125599
fje88620:31121564
aajjf12562cf:31125794

Please try collecting the TS Server log from the crashed instance:

Set "typescript.tsserver.log": "verbose"

Restart VS Code and reproduce the problem

Open the TypeScript section of the output panel

At the very top, find the first line that prints to path to the semantic error log file. It should look something like:
[Info  - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log

That file contains the typescript logs.

Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this


Update experimental debugger to 5.0.0.a7

For #8380

Codecov Report

Merging #8381 into master will decrease coverage by 0.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8381      +/-   ##
==========================================
- Coverage   59.37%   58.69%   -0.69%
==========================================
  Files         509      509
  Lines       23293    22923     -370
  Branches     3759     3754       -5
==========================================
- Hits        13831    13455     -376
- Misses       8566     8572       +6
  Partials      896      896

Impacted Files
Coverage Δ

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-75%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
0% <0%> (-66.67%)
:arrow_down:

...science/jupyter/jupyterKernelPromiseFailedError.ts
0% <0%> (-50%)
:arrow_down:

...ent/datascience/jupyter/jupyterWaitForIdleError.ts
0% <0%> (-50%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
50% <0%> (-30%)
:arrow_down:

src/client/language/characters.ts
12% <0%> (-21.34%)
:arrow_down:

src/client/datascience/cellFactory.ts
51.51% <0%> (-19%)
:arrow_down:

src/client/testing/codeLenses/main.ts
60% <0%> (-17.78%)
:arrow_down:

src/client/common/utils/platform.ts
76.47% <0%> (-11.77%)
:arrow_down:

src/client/constants.ts
75% <0%> (-5%)
:arrow_down:

... and 29 more

Continue to review full report at Codecov.

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


Opencensus Tracing: Propagate the current tracer to grpc

This will allow the grpc spans to be adopted as children of gax's logical operation span.

Thanks for reviewing


add bootstrapping support

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Can we discuss this on https://github.com/conda-forge/conda-forge.github.io?

Agreed. Would like to see a bit more discussion of this before rolling out more PRs
@katietz could you please open an issue and link it here (and to any other open PRs that are part of this work)?

Once https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/1187 is merged (which I hope will be soon) the top line will no longer be necessary.


add workflows for easy forking and deployment

Hi Thierry
I added two workflows, one to build the full version and one to build the light version. They also deploy directly to gh-pages with no modification. They are triggered manually (via the actions tab), so the user can decide what version they want.
This should simplify forking the project. If this helps you, maybe you can update this in the Host ADNO with Github Pages in the readme file?
Cheers
Sebi

Hi Sebi
good idea, greats thank's,
I'm not too familiar with this process, however I've tested it.
it works for each build (full and light) but when I run the ADNO BUILD AND RELEASE BOTH VERSIONS action
I only get the light version
th

you're welcome.
As you can see, on this PR I didn't touch the main.yml file. So there are no changes to your original workflow that builds the ZIP-Files. So actually, when you run ADNO BUILD AND RELEASE BOTH VERSIONS it should only create a release with the zip-files..?
Maybe you checked out the main-branch of my fork or maybe it didn't publish a new site but you're just seeing the one that was published before?
I think you could get rid of main.yml altogether and just use my new workflows. But that's something you have to decide. Maybe you want an action to build both versions and then publish them under two subpaths?
I can recommend checking out the github documentation on actions & github pages. it's really well writen and also available in french: https://docs.github.com/fr/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages

Hi Sebi
I tested with a fork of your repo and generated my own Adno application.
There's no problem, usually only one version is used and there's always a solution to generate both.
Thanks for the tip, I'll read the documentation.
th


Nullable type

Wouldn't be better to have the implementation similar to std::optional and if C++ 17 is available, default to std::optional?
https://github.com/microsoft/STL/blob/master/stl/inc/optional

Wouldn't be better to have the implementation similar to std::optional and if C++ 17 is available, default to std::optional?
https://github.com/microsoft/STL/blob/master/stl/inc/optional

We cannot use C++17. The latest C++ standard we can use is C++14

Wouldn't be better to have the implementation similar to std::optional and if C++ 17 is available, default to std::optional?
https://github.com/microsoft/STL/blob/master/stl/inc/optional

We cannot use C++17. The latest C++ standard we can use is C++14

Bond needs to support C++ 11 and up. There, I created a conditional wrapper to support C++ 17 conditional code:
https://github.com/bhardwajs/bond/blob/e83de6ffe5fcb38fb3e9f637351f3f9b90479dde/cpp/inc/bond/core/config.h#L35
Similarly, this can be
#if CXX_17
using Nullable<t> = std::optional<t>;
#else
...
#endif

Wouldn't be better to have the implementation similar to std::optional and if C++ 17 is available, default to std::optional?
https://github.com/microsoft/STL/blob/master/stl/inc/optional

We cannot use C++17. The latest C++ standard we can use is C++14

Bond needs to support C++ 11 and up. There, I created a conditional wrapper to support C++ 17 conditional code:
https://github.com/bhardwajs/bond/blob/e83de6ffe5fcb38fb3e9f637351f3f9b90479dde/cpp/inc/bond/core/config.h#L35
Similarly, this can be
#if CXX_17
using Nullable<T> = std::optional<T>;
#else
...
#endif

Then we have to maintain two sets of code, which means extra work. I don't know if it's a good idea.
I'm fine with either way.

Wouldn't be better to have the implementation similar to std::optional and if C++ 17 is available, default to std::optional?
https://github.com/microsoft/STL/blob/master/stl/inc/optional

I think @BillyONeal is the best person to answer this question.

Wouldn't be better to have the implementation similar to std::optional and if C++ 17 is available, default to std::optional?
https://github.com/microsoft/STL/blob/master/stl/inc/optional

I think @BillyONeal is the best person to answer this question.

TL;DR: The template metaprogramming inside std::optional is extremely complex and I don't think we need to take that cost for the limited use cases we need to support in the SDK. If we decide we need the full power of that we should copy/paste an existing std::optional implementation rather than trying to build our own.
This whole thing started as what I considered the 'minimum viable product' for a type like this.


[MODULE] Weapon Projectile Count (Volley)

Basic Module
Basic functionality: Increases the number of projectiles fired from the players weapon, these additional projectiles are spread in a straight line away from the player ship. Initially, the module provides 2 additional projectiles.
Upgrade Functionality: Each level of the module increases the number of projectiles fired by 2. (3 -> 5 -> 7 etc).

Addressed in #146


Add a dedicated test for the ledger

Closing, I want to rebase in a separate PR and keep the existing history, esp. to not lose what was done in https://github.com/opencollective/opencollective-api/pull/6160/commits/9685dba647fb18aa5c36d56f432611a8199cb59e


feat(MeasureTheory): prove that some equivalences are measure preserving

Construct measurable equivalence for the following equiv and then prove that they are measure preserving:

Equiv.arrowProdEquivProdArrow
Equiv.arrowCongr'
Equiv.prodAssoc

Also, we fix a typo in MeasureTheory.measurePreserving_pi
This PR is part of the proof of the Analytic Class Number Formula.

This looks very reasonable to me, and it has been waiting a long while.
maintainer merge

bors r+


VS Code Saving clears out textarea

Description and repro
Saving an update from VS Code blanks out the field I'm working on.  The connection seems to be working and captures all text from VS Code, but once I click save, everything goes away.
Chrome console looks right:
VM582:1 5 fields on the page
ghost-text.js:979 GhostText: Connected! You can switch to your editor
ghost-text.js:905 sending 5179 characters
ghost-text.js:931 Disabling field
ghost-text.js:979 GhostText: Disconnected!
Reproducable steps in screen recording attached:
https://github.com/fregante/GhostText/assets/20537536/adf71ec7-69bb-4fbe-bd2a-3ee7f771a311
Browser(s) tried
Chrome v124.0.6367.119 (Official Build) (64-bit)
Editor(s) tried
VS Code v1.89.0

Related to https://github.com/fregante/GhostText/issues/292, but the clearing behavior is new 😩

I'd happily throw over 10€ (via SEPA or LiberaPay, though) to help #309, #292 and #323 get solved.
Right now vscodium↔Firefox is essentially broken... 😢


Segmentation fault when loading datasets from file

Describe the bug
Custom dataset loading sometimes segfaults and kills the process if chunks contain a variety of features/
Steps to reproduce the bug
Download an example file:
wget https://gist.githubusercontent.com/TevenLeScao/11e2184394b3fa47d693de2550942c6b/raw/4232704d08fbfcaf93e5b51def9e5051507651ad/tiny_kelm.jsonl

Then in Python:
import datasets
tiny_kelm = datasets.load_dataset("json", data_files="tiny_kelm.jsonl", chunksize=100000)

Expected results
a tiny_kelm functional dataset
Actual results
☠ Segmentation fault (core dumped) ☠
Environment info

datasets version: 1.14.0
Platform: Linux-5.11.0-38-generic-x86_64-with-glibc2.29
Python version: 3.8.10
PyArrow version: 5.0.0

The issue has been fixed in pyarrow 6.0.0, please update pyarrow :)
The issue was due to missing fields in the JSON data of type list. Now it's working fine and missing list fields are replaced with empty lists


Spotify app deauthorizes me every reboot

Describe the bug
About 3-4 weeks i am facing issue with Spotify application (pkgs.spotify). App just asks me to sign in every time i boot and that is very annoying. BUT if i close spotify and open it again without any reboots it will not ask to sign in and just bring me to my music.
Steps To Reproduce
Steps to reproduce the behavior:

Install NixOS with home-manager as module and add to home.packages (or even to system environment.packages it doesn't matter) spotify package
Open spotify and sign in using browser
Close spotify gracefully and reboot
Login to your account, open spotify and it asks to sign in again... bruh

Expected behavior
Spotify not asks me to sign in every reboot
Screenshots

Additional context
I have already tried:

Removed spicetify (i use this one: github:Gerg-L/spicetify-nix)
Many times i removed those directories: ~/.cache/spotify and ~/.config/spotify. Signed in again then
Successfully overrided attributes of pkgs.spotify to bump version. (Tried latest stable and edge at the moment), nothing changed

Notify maintainers
@ftrvxmtrx @sheenobu @timokau @Ma27

Metadata

system: "x86_64-linux"
host os: Linux 6.6.58, NixOS, 24.11 (Vicuna), 24.11.20241025.18536bf
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.9
nixpkgs: /nix/store/wb6agba4kfsxpbnb5hzlq58vkjzvbsk6-source

Add a :+1: reaction to issues you find important.

Do you use something like impermanence which might remove relevant state after a reboot?

@Ma27 I have several symlinks in my home configuration:
xdg.userDirs = {
    enable = true;
    desktop = "${config.home.homeDirectory}/desktop";
    documents = "${config.home.homeDirectory}/documents";
    download = "${config.home.homeDirectory}/download";
    music = "${config.home.homeDirectory}/music";
    pictures = "${config.home.homeDirectory}/pictures";
    publicShare = "${config.home.homeDirectory}/public_share";
    templates = "${config.home.homeDirectory}/templates";
    videos = "${config.home.homeDirectory}/videos";
  };

home.file = lib.mkIf (osConfig.networking.hostName == "sleipnir") {
    "dotssh-dir-symlink" = {
      target = ".ssh";
      source = config.lib.file.mkOutOfStoreSymlink "/data/passport/ssh";
    };
    "music-dir-symlink" = {
      target = "music";
      source = config.lib.file.mkOutOfStoreSymlink "/data/archive/music";
    };
    "pictures-dir-symlink" = {
      target = "pictures";
      source = config.lib.file.mkOutOfStoreSymlink "/data/archive/pictures";
    };
    "videos-dir-symlink" = {
      target = "videos";
      source = config.lib.file.mkOutOfStoreSymlink "/data/archive/videos";
    };
    "documents-dir-symlink" = {
      target = "documents";
      source = config.lib.file.mkOutOfStoreSymlink "/data/archive/documents";
    };
  };

but it's only on one of my hosts, this problem appearing on all of my hosts

@Ma27 i am sorry, now i figured out that you are talking about github:nix-community/impermanence. no, i don't use this at all

Are you able to reproduce it inside of a vm (nixos-rebuild build-vm)?

@Atemu yes, that issue reproduces on slightly modified version of nixos configuration (just to make vm start properly).
Original configuration, VM configuration

Something has been changed (it is not spotify update) between 18536bf04cd71abd345f9579158841376fdd0c5a and 4aa36568d413aca0ea84a1684d2d46f55dbabad7 nixpkgs and spotify now does not loses my authorization between boots. Or maybe it was home-manager update? You can check my flake.lock update commit. If you have any idea what's changed and worked out - you are welcome!