Error: Provisioning could not be completed...

Strange issue I've not run into before. I get an error of "In order to provision the template you need Tenant Admin rights. Please ask a Tenant Admin to provision the template for you or to promote yourself to a Tenant Admin." when provisioning the Learning Pathways on a new tenant.
I created a new E5 dev tenant last week, and I am the GA of the tenant. I made sure to create the app catalog and then waited over the weekend to attempt to create the Learning Pathways from Look Book. I had no issues using the PnP provisioning for other Look book templates. I validated that I'm an admin for the app catalog.
I created another Global Admin user, and added as admin of the App Catalog, and still get same results trying to provision from the Look Book.
If I do the manual provisioning steps of creating a communication site, and then adding the Customlearning.sppkg, and then running the M365lpConfiguration.ps1 script, followed by opening the CustomLearningAdmin.aspx file....all completes as expected. However, that method doesn't give you a nice finished/policed LP site like the PnP Look Book method.
Is there something I'm missing or is there an issue with Look Book provisioning for this today? I've done this multiple times in different tenants recently without issue and at a bit of a loss. Thanks!
Patrick

Is there any chance its related to this M365 service health advisory that was just posted?

Is there any chance its related to this M365 service health advisory that was just posted?

Hi,
The issue that you are referring to shouldn't be related to the problem that you are experiencing. I would suggest you to try using a new browsing session (in incognito) just to be sure that it is not a client-caching issue. Eventually, you can press F12 in the browser and investigate the content of the JSON response for the validation request (CanProvisionPackage). Please let me know about your findings. Thanks.

Hi,
The issue that you are referring to shouldn't be related to the problem that you are experiencing. I would suggest you to try using a new browsing session (in incognito) just to be sure that it is not a client-caching issue. Eventually, you can press F12 in the browser and investigate the content of the JSON response for the validation request (CanProvisionPackage). Please let me know about your findings. Thanks.

He @PaoloPia - I even tried this from a completely different PC with a Private EDGE browsing session and still same results.
Doing an F12 this is what I see for information.  There are no errors, but I think this was the CanProvision you were referencing?

He @PaoloPia - I even tried this from a completely different PC with a Private EDGE browsing session and still same results.
Doing an F12 this is what I see for information.  There are no errors, but I think this was the CanProvision you were referencing?

Could you please expand the array of issues? I see there is one item, and I'd like to see the exception in there. Thx.

Could you please expand the array of issues? I see there is one item, and I'd like to see the exception in there. Thx.

Sure.

Sure.

And...just to validate that I am a GA and admin on the App Catalog as well.  I've added SPAdmin role too, but that is irrelevant.

And...just to validate that I am a GA and admin on the App Catalog as well.  I've added SPAdmin role too, but that is irrelevant.

Excellent, based on the detailed exception that you provided, I can see where the permission check fails. Could you please use the Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer) logged in with the account that you are using for provisioning and execute the following request:
https://graph.microsoft.com/v1.0/me/memberOf?$select=id,displayName
That is exactly what we do in the validation rule, and we check for the existence of an item (which should be the very first one in the resulting array) with displayName="Company Administrator". The result should be something like:
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#directoryObjects(id,displayName)",
"value": [
{
<EMAIL_ADDRESS>"#microsoft.graph.directoryRole",
"id": "916fb764-3944-41b9-8c15-9c791ce083cd",
"displayName": "Company Administrator"
},
....
Thanks,
Paolo

Excellent, based on the detailed exception that you provided, I can see where the permission check fails. Could you please use the Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer) logged in with the account that you are using for provisioning and execute the following request:
https://graph.microsoft.com/v1.0/me/memberOf?$select=id,displayName
That is exactly what we do in the validation rule, and we check for the existence of an item (which should be the very first one in the resulting array) with displayName="Company Administrator". The result should be something like:
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#directoryObjects(id,displayName)",
"value": [
{
<EMAIL_ADDRESS>"#microsoft.graph.directoryRole",
"id": "916fb764-3944-41b9-8c15-9c791ce083cd",
"displayName": "Company Administrator"
},
....
Thanks,
Paolo

I have this same scenario and the GET Command Above gives this output
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#directoryObjects(id,displayName)",
"value": [
{
<EMAIL_ADDRESS>"#microsoft.graph.directoryRole",
"id": "fa669323-be28-4868-a711-90870266cea1",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "cbaa2604-aaf5-4e1c-b8a9-f923d89ee052",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "a5f71bfd-6308-46f6-a97b-4a7a53d9a272",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "cf59864f-96ff-42a7-8143-a3f295358db9",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "8f7a7cad-92c8-49a8-ae7d-54c8d0c441a5",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "e4cfad2c-3ebf-4244-9fe8-513558b14f90",
"displayName": null
}
]
}
Please help

I have this same scenario and the GET Command Above gives this output
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#directoryObjects(id,displayName)",
"value": [
{
<EMAIL_ADDRESS>"#microsoft.graph.directoryRole",
"id": "fa669323-be28-4868-a711-90870266cea1",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "cbaa2604-aaf5-4e1c-b8a9-f923d89ee052",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "a5f71bfd-6308-46f6-a97b-4a7a53d9a272",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "cf59864f-96ff-42a7-8143-a3f295358db9",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "8f7a7cad-92c8-49a8-ae7d-54c8d0c441a5",
"displayName": null
},
{
<EMAIL_ADDRESS>"#microsoft.graph.group",
"id": "e4cfad2c-3ebf-4244-9fe8-513558b14f90",
"displayName": null
}
]
}
Please help

@PaoloPia   - I too get all NULL values

@PaoloPia   - I too get all NULL values

@PaoloPia - I found the NULL was a result of having consent to READ directory data.  After clicking on the CONSENT button on the Modify Permissions tab, I was able to run the query and see that it shows me as Global Administrator

@PaoloPia - I found the NULL was a result of having consent to READ directory data.  After clicking on the CONSENT button on the Modify Permissions tab, I was able to run the query and see that it shows me as Global Administrator

Hi,
Thanks for sharing the result. So it looks like the problem is that the role that we are looking for is "Company Administrator", but in your tenant it is called "Global Administrator". I'm investigating why that happens. In fact, the docs state that in Microsoft Graph the name should be "Company Administrator" (see here: https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#available-roles). Stay tuned, thanks.

Hi,
Thanks for sharing the result. So it looks like the problem is that the role that we are looking for is "Company Administrator", but in your tenant it is called "Global Administrator". I'm investigating why that happens. In fact, the docs state that in Microsoft Graph the name should be "Company Administrator" (see here: https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#available-roles). Stay tuned, thanks.

Quick update. It looks like something changed on the API side. We're working on it and we'll update ASAP our provisioning engine accordingly to the API changes.

Quick update. It looks like something changed on the API side. We're working on it and we'll update ASAP our provisioning engine accordingly to the API changes.

@PaoloPia  - excellent.  I had a colleague run into this as well today, and it's definitely something on the code side that is not looking at Global Administrator.  Did Microsoft themselves change that from Company Administrator in Graph?
Anxious for a resolve, since I believe this blocks anyone from doing any new PnP deployments of the Learning Pathways and Success Site.   I've got some backlog for development as well as some customer/clients needs that are now delayed.
Any escalation to get this fixed would be much appreciated!

@PaoloPia  - excellent.  I had a colleague run into this as well today, and it's definitely something on the code side that is not looking at Global Administrator.  Did Microsoft themselves change that from Company Administrator in Graph?
Anxious for a resolve, since I believe this blocks anyone from doing any new PnP deployments of the Learning Pathways and Success Site.   I've got some backlog for development as well as some customer/clients needs that are now delayed.
Any escalation to get this fixed would be much appreciated!

We have the same issue and appreciate if there's an update on the resolution.

We have the same issue and appreciate if there's an update on the resolution.

We're also having the same issue.

We're also having the same issue.

Hi,
This issue should now be solved. Something changed on the AAD/Graph side and we had to update the provisioning engine accordingly. Please try it again and, in case of any failure, please open a new issue providing the PnP Correlation ID. Thanks for your cooperation.

Hi,
This issue should now be solved. Something changed on the AAD/Graph side and we had to update the provisioning engine accordingly. Please try it again and, in case of any failure, please open a new issue providing the PnP Correlation ID. Thanks for your cooperation.

Thanks @PaoloPia.  I'm in the process of testing, and currently I have got past the validation and currently the provisioning is in process.  Thanks for your help in resolving!

Thanks @PaoloPia.  I'm in the process of testing, and currently I have got past the validation and currently the provisioning is in process.  Thanks for your help in resolving!

@PaoloPia Works fine now - Thanks.

@PaoloPia Works fine now - Thanks.

@PaoloPia  - I think there may still be issues, but I'm doing some more troubleshooting.  The provisioning succeeded for me for LP, but then when going into the CustomLearningAdmin.aspx it throws errors and correlation ID's.  Other pages continue to throw errors around the site as well.   So, I'm starting clean and going to try creating again, and will report back errors/details if still exists.

@PaoloPia  - I think there may still be issues, but I'm doing some more troubleshooting.  The provisioning succeeded for me for LP, but then when going into the CustomLearningAdmin.aspx it throws errors and correlation ID's.  Other pages continue to throw errors around the site as well.   So, I'm starting clean and going to try creating again, and will report back errors/details if still exists.

@PaoloPia - I'm getting a correlation error on the App package deployment in the App Catalog.  I've tried clearing out and deleting everything and tried the provisioning of LP 3 times now.   Thoughts or other info I can collect to provide to you to research further?
Deployment failed.  Correlation ID: 1dbba59f-d07e-0000-78e6-1f20d3c7a7b3

@PaoloPia - I'm getting a correlation error on the App package deployment in the App Catalog.  I've tried clearing out and deleting everything and tried the provisioning of LP 3 times now.   Thoughts or other info I can collect to provide to you to research further?
Deployment failed.  Correlation ID: 1dbba59f-d07e-0000-78e6-1f20d3c7a7b3

@PaoloPia here are additional error captures.
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
Failed to load component "c6062b6a-f22c-4475-897b-25081673c54a" (CustomLearningAdminWebPart). Original error: Failed to load URL 'https://tsim365.sharepoint.com/sites/appcatalog/ClientSideAssets/26c9cd9f-db62-49b1-b102-7f0dad281ea0/webpart-m365lpstrings_en-us_5ebf05c87596e5efe5e691d313907759.js' for resource 'M365LPStrings' in component 'c6062b6a-f22c-4475-897b-25081673c54a' (CustomLearningAdminWebPart). The file was not found in the server.
INNERERROR:
Failed to load URL 'https://tsim365.sharepoint.com/sites/appcatalog/ClientSideAssets/26c9cd9f-db62-49b1-b102-7f0dad281ea0/webpart-m365lpstrings_en-us_5ebf05c87596e5efe5e691d313907759.js' for resource 'M365LPStrings' in component 'c6062b6a-f22c-4475-897b-25081673c54a' (CustomLearningAdminWebPart). The file was not found in the server.
CALLSTACK:
Error
at t [as constructor] (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:874013)
at new t (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:1017762)
at Function.e.buildErrorWithVerboseLog (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:1040936)
at Function.e.buildLoadComponentError (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:1036981)
at https://modern.akamai.odsp.cdn.office.net/files/sp-client/chunk.systemjs-component-loader_en-us_06fb90fbb103ba8a0bb1.js:1:66114

@PaoloPia here are additional error captures.
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
Failed to load component "c6062b6a-f22c-4475-897b-25081673c54a" (CustomLearningAdminWebPart). Original error: Failed to load URL 'https://tsim365.sharepoint.com/sites/appcatalog/ClientSideAssets/26c9cd9f-db62-49b1-b102-7f0dad281ea0/webpart-m365lpstrings_en-us_5ebf05c87596e5efe5e691d313907759.js' for resource 'M365LPStrings' in component 'c6062b6a-f22c-4475-897b-25081673c54a' (CustomLearningAdminWebPart). The file was not found in the server.
INNERERROR:
Failed to load URL 'https://tsim365.sharepoint.com/sites/appcatalog/ClientSideAssets/26c9cd9f-db62-49b1-b102-7f0dad281ea0/webpart-m365lpstrings_en-us_5ebf05c87596e5efe5e691d313907759.js' for resource 'M365LPStrings' in component 'c6062b6a-f22c-4475-897b-25081673c54a' (CustomLearningAdminWebPart). The file was not found in the server.
CALLSTACK:
Error
at t [as constructor] (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:874013)
at new t (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:1017762)
at Function.e.buildErrorWithVerboseLog (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:1040936)
at Function.e.buildLoadComponentError (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6a45ef39ba2a14a973246917083942bc.js:1:1036981)
at https://modern.akamai.odsp.cdn.office.net/files/sp-client/chunk.systemjs-component-loader_en-us_06fb90fbb103ba8a0bb1.js:1:66114

Hi,
These are issues that apparently are not related to the fix we introduced yesterday. I'll ask people involved in LP project to give an eye and provide you feedback. Thanks.

Hi,
These are issues that apparently are not related to the fix we introduced yesterday. I'll ask people involved in LP project to give an eye and provide you feedback. Thanks.

Thanks @PaoloPia - thought I would try again for giggles today, but app catalog deployment is still failing for LP.  Thanks!
Patrick

Thanks @PaoloPia - thought I would try again for giggles today, but app catalog deployment is still failing for LP.  Thanks!
Patrick

Hi,
These are issues that apparently are not related to the fix we introduced yesterday. I'll ask people involved in LP project to give an eye and provide you feedback. Thanks.

Thanks for the information. We haven't tried the deployment yet as it looks like there's still an issue. Please advise when this will be resolved. Thanks.

Hi @PaoloPia  - is there any update on getting this fixed yet?  Thanks.

@PaoloPia - disregard.  This is now working for me.   It was an oversight on my side where I found one of my two Admin accounts in my tenant was NOT SCA on the App Catalog site collection.  After resolving, it seems to have resolved the app pkg deployment.  Thanks!!


Feature request: Online rendering service

Something like nbviewer for visdom .jsons would be really great so that you can share your work publicly. Any plans on that?

Hi @bodokaiser
Thanks for your message! I agree. We don't have something like that yet. It would also be nice to have a way to: 1) nicely serialize the dashboard to something viewable later offline, 2) make locally hosted dashboards viewable by the public. I've been thinking that ngrok might be a way to solve the latter.

Hi @ajabri
I agree with your ideas! However I think the main problem is if FB would pay server bills + admin hours to get this up and running.

Since this is an open-source project aimed at supporting the research community and not a product, FB would not be able to support any hosting. That said, with something like ngrok, as long as you have a public endpoint, you can access something like visdom running locally.

Closing as technically one could share their visdom .json's for others to view simply by loading them up on their own local visdom server, and we aren't going to be setting up hosting for this project.


use generic interface instead of accessing fields

....since not all IOs have a lock field...

Seems like the right thing to do, but I'm not sure how to fix the tests like this that are breaking
https://github.com/JuliaIO/PNGFiles.jl/blob/249d996d9fd5ac841fd2914fb38dbd8741e3ca03/test/test_pngsuite.jl#L66

Fixed!

Awesome, thanks!


Extracting .bytes not directly possible

Because of the .bytes type being an array. It is very hard to properly extract this from a Node. If you use the normal extract method. Instead of extracting bytes, it will try to extract an Node array of numbers. This is understandable, but very inconvenient.
Would it be an idea, to change the [UInt8] from .bytes into Data from Foundation? I now this has a bit of overhead, compared to using an array directly. It does however make more sense, looking at Foundation and it will make extracting possible, as it is a completely different type.

Could you provide an example of the code that is failing here?
I see the issue, but I think there could be an easier way to fix it. Using Bytes instead of Data was deliberate since there are a lot of disadvantages to Data.

https://github.com/sroebert/postgresql-driver/blob/bugfix/schemaUnitTest/Tests/FluentPostgreSQLTests/SchemaTests.swift#L58
So it looks like this:
guard let dataNode = node["data"], case .bytes(let dataBytes) = dataNode else {
    throw NodeError.unableToConvert(node: nil, expected: "Node.bytes")
}
data = dataBytes

This could obviously be some kind of extension, but it is not as easy as simply calling extract.

I see. @LoganWright any ideas here?

@tannernelson @sroebert I think this is a pretty tricky issue under the hood because if user has something like let foo: [UInt8], it's not really possible for us to tell if they're expecting an array of integers, or a byte array.
Let me think if there's some trickery we can do internally to get this working, if not, it might be worth an official method like extractBytes() since we've opted to have bytes be explicit elsewhere.

We're adding an explicit bytes accessor at the lower level which is intended to apply to .bytes([UInt8]) and will likely also provide a byte representation of Strings 👍

The bytes variable field has been added in 2.+ in conformance with Polymorphic


feat: Add utility for logging sensitive information using encryption

Description:
This is copied from edx-platform, and was introduced there in
https://github.com/openedx/edx-platform/pull/29682. Bringing it out into
this library will allow it to be used across IDAs, and in particular in
the cookie monitoring middleware.
Introduces log_sensitive module for public-key encryption of sensitive
debug information in log messages, including CLI commands for generating
keys and decrypting log output.
Also:

Adds PyNaCl to base requirements for encryption tools

JIRA:
ARCHBOM-2082
Merge checklist:

[x] Version bumped
[x] Changelog record added
[x] Documentation updated (not only docstrings)
[x] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPi after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Note for reviewers: Probably best reviewed commit-by-commit:

First commit is a straight copy of the src and test files, plus a dependencies change
Second commit makes some tweaks (see commit message)

Ah right, I remember now that I had a question about that: If I just move this into internal and expose encrypt_for_log, then the CLI commands will have to call edx_django_utils.logging.internal.log_sensitive or something. But the CLI isn't internal... Thoughts on that?

Hmm, maybe I can make it a command/entry-point/whatever it's called, in setup.py.


In all the avalonia versions I've used, GeometryDrawing has a bug in dynamically changing the color of the brush.

Describe the bug
When I bind colors and dynamic color resources to the Brush in my GeometryDrawing, the Brush can't change the color, and I have to force the InvalidateVisual method to do so. But in WPF there is no such problem. I submitted both the avalonia demo and the wpf demo.
avaloniaApp.zip
WpfApp.zip
To Reproduce
Run the software by clicking the ChangeColor button
Expected behavior
Same as WPF
Avalonia version
ALL
OS
Windows
Additional context
No response

This is the same issue as #8767. I worked around this by creating a DrawingImage which subscribes to changes in the drawing(s) it displays.

这与 #8767 的问题相同。我通过创建一个订阅它显示的绘图中的更改来解决这个问题。DrawingImage

Thank you very much for your help, can I ask if there is any latest progress in fixing this bug?

Closing this as duplicate.
In case you have paid support, you can ask for priority on bug fixes. PRs are also welcome. Otherwise it's done when it's done.


Permission denied with webdav network drive on Windows 10

I have a network drive mapped on Z: to a webdav network drive. For some bizarre reason the existence of this drive causes all the calls to os.path.realpath to throw PermissionDenied!! This prevents any use of FileChooser from any location as get_drive_letters etc fails.
I can monkey patch a fix of:
os.path.realpath = lambda x: x
and the problem goes away but I've not added that as a PR for obvious reasons. Hopefully there's a more elegant fix.

Thank you for reporting this issue. I'll see about finding a workaround/fix.


Added options for object-based props definition in API

I created a draft API entry describing all possible options we can have with Object-syntax prop. Also, I fixes a link @phanan mentioned in #2027.
Close #2027

Thanks for the blazing fast review, @LinusBorg! I've added some requested changes

Thanks @phanan! Yes, I agree, I forgot to mention warnings are thrown only on dev environment
Suggestions applied :bowing_woman:

Looks great! I think it's good enough to merge now 👍


api_keu

Hi , i just get registred into demo.yousign.fr/ but when i'm trying to set the configuration settings i didnt find the api_key ,please can somone help me  , where i can find  the api_key !!

Hi, please can you send an email for your request to our support team on<EMAIL_ADDRESS>?
Please do not forget to add your email account.
Thanks in advance.


Omit variant selection when there is only one?

Wouldn't it make more sense and be more aesthetically pleasing to just leave out the variant selection section when a product doesn't have any variants except the default one?

I submitted a pull request for this issue: https://github.com/medusajs/gatsby-starter-medusa/pull/22

I submitted a pull request for this issue: https://github.com/medusajs/gatsby-starter-medusa/pull/22

Thank you very much, Omar!


[Bug]: I have  a problem with compose runtime-savable library

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
I want to run the project but it has an issue in the runtime-savable library
Relevant logcat output
`Execution failed for task ':core-navigation:generateDebugRFile'.

Could not resolve all files for configuration ':core-navigation:debugCompileClasspath'.
Failed to transform runtime-saveable-1.0.1.aar (androidx.compose.runtime:runtime-saveable:1.0.1) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-api}.
> Could not find runtime-saveable-1.0.1.aar (androidx.compose.runtime:runtime-saveable:1.0.1).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/compose/runtime/runtime-saveable/1.0.1/runtime-saveable-1.0.1.aar`

Code of Conduct

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

After this, the error was fixed:
I removed the android studio and reinstalled it. also,  I removed the project source and cloned it again.

glad the issue was resolved! if it's been resolved do you mind closing this issue?


Repository parser doesn't support userinfo without a password

Hi!
I'm using RepositoryParser on the JVM and I've noticed that it doesn't seem to work with certain URLs. For example, I have an AWS CodeArtifactURL that looks like this:
<EMAIL_ADDRESS>
now, there are several ways I could parse that:

compile-time literal (not an option for me): this just checks for java.net.Uri validness, and runs MavenRepository.apply
MavenRepository.apply - I'd rather not, unless I'm guaranteed to have a Maven repo as input
RepositoryParser.repository - that's what I've been using... but it fails for this exact URL.

The error I'm getting from RepositoryParser is a Left(s"No password found in user info of URL $url") which seems to come from this line:
https://github.com/coursier/coursier/blob/9b115ece4ca3c221e2c8de3c0b1922108fdd1de3/modules/coursier/jvm/src/main/scala/coursier/internal/PlatformRepositoryParser.scala#L93
However, using the<EMAIL_ADDRESS>string without a password as a MavenRepository is enough to fetch artifacts... as the spec considers passwords optional.
I think RepositoryParser should support userinfos without a password (happy to make that change).

Now I'm starting to wonder if the mvn interpolator does the right thing - I think it might just swallow the userinfo and not use it for anything... which may be the wrong thing.


hotfix/phoneme_bug

latest sync introduced some bug with phonemes cache in TTS, this works around it until next sync

https://github.com/MycroftAI/mycroft-core/pull/2871 was merged upstream, this change should be reverted in next sync


fix broadcasting of multiplication

Codecov Report

Merging #134 (30695c5) into main (f501ce3) will decrease coverage by 2.22%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #134      +/-   ##
==========================================
- Coverage   89.91%   87.69%   -2.23%
==========================================
  Files          19       19
  Lines         367      382      +15
==========================================
+ Hits          330      335       +5
- Misses         37       47      +10

Impacted Files
Coverage Δ

src/broadcasting.jl
100.00% <100.00%> (ø)

src/utils.jl
65.30% <100.00%> (-15.78%)
:arrow_down:

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


Missing line termination/length on lrstar_lexer::print_line

When testing grammars/ANTLR we get incorrect output from lrstar_lexer::print_line due to missing line termination/length see bello a possible fix for it:
Possible fix:
-------------------------- src/include/lrstar_lexer.h --------------------------
index f02d187..57d3802 100644
@@ -96,8 +96,10 @@ public:
             linenumb_printed = linenumb;

             if (*ls != 26) {    // Not end of file?
-               printf("%6d  %s\n", linenumb, ls);
-               fprintf(stderr, "%6d  %s\n", linenumb, ls);
+               char *eol = ls;
+               while(*eol && *eol != '\n' &&  *eol != 26 ) ++eol;
+               printf("%6d  %.*s\n", linenumb, eol - ls, ls);
+               fprintf(stderr, "%6d  %.*s\n", linenumb, eol - ls, ls);
             }
          }
       }

Using the https://github.com/thutt/lrstar/blob/24.0.018/grammars/ANTLR/test.input.txt :
./antlr --output /dev/null test.input.txt
==26303==

Input File ...

ANTLR parser.

     1  /*
 * [The "BSD license"]
 *  Copyright (c) 2013 Terence Parr
 *  Copyright (c) 2013 Sam Harwell
 *  All rights reserved.
...

With the fix:
./antlr --output /dev/null test.input.txt
==26804==

Input File ...

     1  /*
     2   * [The "BSD license"]
     3   *  Copyright (c) 2013 Terence Parr
     4   *  Copyright (c) 2013 Sam Harwell
     5   *  All rights reserved.
...

But still there is something else going on because after line 118 it start repeating again once more:
   114     :  AT (actionScopeName COLONCOLON)? identifier actionBlock
   115     ;
   116
   117     // Scope names could collide with keywords; allow them as ids for action scopes
   118  actionScopeName
ANTLR parser.

     1  /*
     2   * [The "BSD license"]
     3   *  Copyright (c) 2013 Terence Parr
     4   *  Copyright (c) 2013 Sam Harwell
     5   *  All rights reserved.

The problem of start repeating again is due to output to both stdout and stderr but probably we only want stderr see the complete possible fix bellow:
-------------------------- src/include/lrstar_lexer.h --------------------------
index f02d187..8e42cc5 100644
@@ -88,7 +88,6 @@ public:
          char *ls;
          if (linenumb > linenumb_printed) {
             if (linenumb == 1) {
-               printf  (        "\n");
                fprintf (stderr, "\nInput File ...\n\n");
             }

@@ -96,8 +95,9 @@ public:
             linenumb_printed = linenumb;

             if (*ls != 26) {    // Not end of file?
-               printf("%6d  %s\n", linenumb, ls);
-               fprintf(stderr, "%6d  %s\n", linenumb, ls);
+               char *eol = ls;
+               while(*eol && *eol != '\n' &&  *eol != 26 ) ++eol;
+               fprintf(stderr, "%6d  %.*s\n", linenumb, eol - ls, ls);
             }
          }
       }


kanboard: 1.2.19 -> 1.2.20

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kanboard/kanboard/releases.
meta.description for kanboard is: "Kanban project management software"
meta.homepage for kanboard is: "https://kanboard.net"
meta.changelog for kanboard is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.2.20 with grep in /nix/store/igirr08y4zqw7v1hl26z4swpg2abxl0n-kanboard-1.2.20

found 1.2.20 in filename of file in /nix/store/igirr08y4zqw7v1hl26z4swpg2abxl0n-kanboard-1.2.20

directory tree listing: https://gist.github.com/82790775c6bcae660d125b9ba15d4fc4

du listing: https://gist.github.com/4daf8b94fd9071b423690a9076f2d756

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
kanboard

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/igirr08y4zqw7v1hl26z4swpg2abxl0n-kanboard-1.2.20 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kanboard https://github.com/r-ryantm/nixpkgs/archive/e0d601867144cf029f6014aaa873ca1a3781ae72.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/igirr08y4zqw7v1hl26z4swpg2abxl0n-kanboard-1.2.20
ls -la /nix/store/igirr08y4zqw7v1hl26z4swpg2abxl0n-kanboard-1.2.20/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kanboard

Maintainer pings
cc @fpletz @lheckemann for testing.

Result of nixpkgs-review pr 127320 at e0d60186 run on x86_64-linux 1

1 package built successfully:

kanboard

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/applications/misc/kanboard/default.nix:16:3:
   |
16 |   installPhase = ''
   |   ^


how to hide toolbar？

I want to hide toolbar,but I can not do that by setting : OpenSeadragon({...,toolbar:false,...})  what should I do?

a easy way to hide it:(typescript)
const toolbar : any= document.getElementsByClassName("openseadragon-container")[0].childNodes[1];
toolbar.style.display = "none";

Out of curiosity, in what documentation did you find toolbar: false? Anyway, it's showNavigationControl: false.

thank you!

I believe:
viewer.setControlsEnabled(false)
should let you do it programatically.


Prevent shadowing of "_" Quint lambda parameters

Rename quint lambda _ parameters to __QUINT_UNDERSCORE_{id}.
This prevents shadowing of nested underscore parameters.
Closes #926

Codecov Report

Merging #2608 (bc6a5bc) into main (a216642) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #2608      +/-   ##
==========================================
- Coverage   78.46%   78.44%   -0.02%
==========================================
  Files         445      445
  Lines       15639    15642       +3
  Branches     2523     2552      +29
==========================================
  Hits        12271    12271
- Misses       3368     3371       +3

Impacted Files
Coverage Δ

...ain/scala/at/forsyte/apalache/io/quint/Quint.scala
86.21% <66.66%> (+0.13%)
:arrow_up:

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Very good

[Enter feedback here]
Did not expect to get so much just by reading this. Thank you!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 20264150-9ac7-2b21-3314-64ffa114410f
Version Independent ID: 3477519b-1bc2-73be-33e3-63067383d426
Content: Part 2, add a controller to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-controller.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thanks


Showing Ambiguous use of 'init' when opening the project on Xcode version 12.0 +

Showing Ambiguous use of 'init' when opening the project on Xcode version 12.0 +
Background
Currently, a project for my company is using VIPER architeture.
When the Xcode version is 11.7, everything is fine. However, when Xcode version is 12.0+ and opening the same project
, it shows an error  Ambiguous use of 'init'
Here's some related example
Sample Code
// RandomServiceAssembly.swift
import Swinject
import SwinjectAutoregistration

func assemble(container: Container) {
  // ....
        container.autoregister(RandomServiceViewProtocol.self, initializer: (RandomServiceView.init) // Ambiguous use of 'init'
  // ...
}

// RandomServiceView.swift

protocol RandomServiceViewProtocol {
    // ...
}
final class RandomServiceView: UIView {
  override init(frame: CGRect) {						// 1. Found this candidate
        super.init(frame: frame)
        // ....
 }
   required init?(coder aDecoder: NSCoder) {
          fatalError("init(coder:) has not been implemented")
   }
}

 extension RandomServiceView: RandomServiceViewProtocol {
  // ....
 }

// UIView+Utility.swift
extension UIView {
  // ....
    public convenience init(backgroundColor: UIColor) {      // 2. Found this candidate
            self.init()
            self.backgroundColor = backgroundColor
     }
  // ....
}

Things I have done

Checked documentation

When a service has multiple initializers, swift compiler can't be sure which should be used and you will get a ambigious use of init(x: y: z:). This can also happen if the service is extending another class that have initializer with the same number of arguments.

// After implementing the below code
// Xcode was crashed and shut when building the project.
// After crash, when opening Xcode, it got crashed and closed again and again. Need to change back to Xcode 11.7 to open the 	project
container.autoregister(RandomServiceViewProtocol.self, initializer: (RandomServiceView.init(frame:))  // error gone but crashed on buildtime

container.autoregister(RandomServiceViewProtocol.self, initializer: (RandomServiceView.init as () -> RandomServiceView ) //same

// Crash Thread message
Thread 21 Crashed:: Dispatch queue: XCBuild.XCBBuildOperation.buildOperationHandlerQueue
0   com.apple.dt.IDE.XCBuildSupport	0x000000012fc8a28c specialized IDEXCBuildServiceBuildOperation.buildOperation(_:didEndTask:result:signalled:info:) + 5452
1   com.apple.dt.IDE.XCBuildSupport	0x000000012fc80c29 IDEXCBuildServiceBuildOperation.buildOperationDidEnd(_:metricsData:) + 617
2   com.apple.dt.IDE.XCBuildSupport	0x000000012fc82ef0 protocol witness for XCBBuildOperationDelegate.buildOperationDidEnd(_:metricsData:) in conformance IDEXCBuildServiceBuildOperation + 16
3   com.apple.dt.XCBuild          	0x000000012ddbd32a closure #15 in XCBBuildOperation.handleMessage(_:) + 1210
4   com.apple.dt.XCBuild          	0x000000012ddff2fe thunk for @escaping @callee_guaranteed () -> () + 14
5   libdispatch.dylib             	0x00007fff731a16c4 _dispatch_call_block_and_release + 12
6   libdispatch.dylib             	0x00007fff731a2658 _dispatch_client_callout + 8
7   libdispatch.dylib             	0x00007fff731a7c44 _dispatch_lane_serial_drain + 597
8   libdispatch.dylib             	0x00007fff731a85d6 _dispatch_lane_invoke + 363
9   libdispatch.dylib             	0x00007fff731b1c09 _dispatch_workloop_worker_thread + 596
10  libsystem_pthread.dylib       	0x00007fff733fca3d _pthread_wqthread + 290
11  libsystem_pthread.dylib       	0x00007fff733fbb77 start_wqthread + 15

Update the swinject version

I updated Swinject and SwinjectAutoregistration version from 2.6 to 2.7 but it seems not help
Right now we could only open and build the project using Xcode 11.7 , there's no way to run and build the project on Xcode 12.0 +.
Does anyone have the issue?  If yes, how did you solve it?
Thanks for your help!

I have encounter similar issue and have no clue how to fix it.
Right now we have to stay in Xcode 11

Hello, can you paste the console output when your app crashes? This issue does not help? https://github.com/Swinject/SwinjectAutoregistration/issues/60

I think this crash issue does not related to Swinject.
I could finally compile the project in the Xcode Version 12.2 beta 4 (12B5044c)
Thanks for your support. I will close the issue now


Cannot join and decode Date field

I have models that looks something like this
struct Item: Model {
    var id: UUID?
    var name: String
    var imageId: UUID?
}

struct Image: Model {
    var id: UUID?
    var url: String
    var createdAt: Date?
}

I create a query that does a LEFT JOIN from Item to Image and try to decode result into this struct:
struct ItemFull: Decodable {
    var id: UUID?
    var name: String
    var image: Image?
}

... and I got back an error The data couldn’t be read because it isn’t in the correct format.
So I create a new struct similar to Image but without the Date field:
struct ImageWithoutDate: Decodable {
    var id: UUID?
    var url: String
}

... and replace var image: Image? to var image: ImageWithoutDate?, it works fine. It seems that there's an issue while trying to decode the date field. Or am I missing something like date formatter somewhere?

SwifQL doesn't decode anything, it just builds a raw query for you to execute it via your favourite driver.
What driver are you using for executing a query?
Are you using Vapor? Vapor's PostgreSQL and MySQL drivers can decode dates and probably support some custom dateformatters.
In my projects I use SwiftQL with Vapor's PostgreSQL driver and have no problem with dates.
All the models are created with Vapor's Fluent migrations and dates stored in the database as timestamp without time zone and looks like this 2019-08-06 09:21:38.845306 so when I'm decoding my queries using .all(decoding:) or .first(decoding:) everything is ok cause dates in that very format which driver expects. If e.g. dates in your database are in different format you could cast them to needed format in your queries.

Yep. I'm doing the exact same thing. Just to clarify. If i do the query on Image model and decode it, it's completely fine. The problem is when I do the join query. Something like this.
.select(|SwifQL.select(Fn.to_jsonb(Image.table))| => "image")

and try to decode to ItemFull (not Item). The query works just fine. I can see my result if I just run .all() instead of .all(decoding:). To think about it now, it seems to be more an issue with swift decoding rather than SwifQL. Hmm...

I think you could try to build JSON object using jsonb_build_object to be able to cast date field to the right format

Would you mind giving me some examples how to do that?

@davuthdv have you found solution? 🙂

Well, yes and no. I don't know how to use jsonb_build_object, and even if it works, it seems to be a bit complex. I can solve it if I decode my date field to string instead. It works, but it is a bit tedious because I need to create an almost identical model for every model I need to do the join with. What's strange about this is that decoding to date works just fine if i query that table directly. It seems that the result is different between querying directly vs joining and convert to jsonb.

Could you show the full query?
I've just checked it in my project like this
struct Result: Codable {
    let createdAt: Date
    struct SubResult: Codable {
        let createdAt: Date
    }
    let organization: [SubResult]
}
let _: Future<Void> = app.requestPooledConnection(to: .psql).flatMap { conn in
    SwifQL
        .select(\JobPost.createdAt, |SwifQL.select(Fn.to_jsonb(Organization.table))| => "organization")
        .from(JobPost.table)
        .join(.left, Organization.table, on: \Organization.id == \JobPost.orgId)
        .execute(on: conn)
        .all(decoding: Result.self)
        .map {
            print("found \($0.count)")
    }
}

and it decodes without any problems. createdAt stored as timestamp without time zone in all my tables. In what format do you store your dates?

Ok... I have my model like this
struct FoodCategory: PostgreSQLUUIDModel {
    var id: UUID?
    var sortOrder: Int
    var enabled: Bool = true
    var imageId: FileRef.ID?
}

struct FileRef: PostgreSQLUUIDModel {
    static let createdAtKey: TimestampKey? = \.createdAt
    static let updatedAtKey: TimestampKey? = \.updatedAt

    var id: UUID?
    var name: String
    var type: String
    var group: FileRefGroup?
    var createdAt: Date?
    var updatedAt: Date?
}

struct Full: Codable {
    var id: UUID
    var sortOrder: Int
    var enabled: Bool
    var imageRef: FileRef?
}

Here's my query:
let result = try SwifQLSelectBuilder()
    .select(FoodCategory.table.*)
    .select(|SwifQL.select(Fn.to_jsonb(FileRef.table))| => "imageRef")
    .from(FoodCategory.table)
    .join(.inner, FileRef.table, on: \FileRef.id == \FoodCategory.imageId)
    .build()
    .execute(on: conn)
    .all(decoding: Full.self)
    .wait()

This is the plain query that it produces:
SELECT "FoodCategory".* , (SELECT to_jsonb("FileRef")) as "imageRef" FROM "FoodCategory" INNER JOIN "FileRef" ON "FileRef"."id" = "FoodCategory"."imageId"

if I do  .all() instead of .all(decoding: Full.self), the query works just fine and returns this:
[[16449.sortOrder: 8 (BIGINT), 16449.id: 12CDFC90-066C-4CB0-B1CE-8B0214592222 (UUID), 16449.enabled: 0x01 (BOOLEAN), 16449.imageId: 36B7BB4E-2776-42BB-9C5C-F1F747D5682D (UUID), imageRef: {"id": "36b7bb4e-2776-42bb-9c5c-f1f747d5682d", "name": "73F812AD-3CEE-4164-82BC-47AC7E73EEAF.jpg", "type": "image/jpeg", "group": "food-category", "createdAt": "2019-12-05T11:55:32.855979", "updatedAt": "2019-12-05T11:55:32.86949"} (JSONB)]]

I create FileRef table with Vapor migration. And checking the database directly, the field type of createdAt and updatedAt is really "timestamp without time zone"

That's really weird cause I'm getting exactly the same and it decodes
this is my raw query result
[49915.createdAt: 0x000239dc38ba9b21 (TIMESTAMP), organization: {"id": "34e2a892-c2a9-41b2-8358-b30f4ff73803", "city": "New York", "name": "Molly", "createdAt": "2018-11-05T20:42:25.473594"} (JSONB)]
Are you on the latest version of all Vapor's packages?
I'm on Vapor's PostgreSQL 1.5.0
PostgreSQL database v11

Are you on the latest version of all Vapor's packages?
I'm on Vapor's PostgreSQL 1.5.0 - it decodes that data

Yes! I've just run swift package update again just to make sure.

PostgreSQL database v11

I'm running on Postgres version 11.4... It's a little bit out of date, yes.
I'm just curious though. Shouldn't the organization a SubResult instead of [SubResult]? And does it still work if you set createdAt of SubResult to be optional Date??

I think it shouldn't because subselect returns an array, if you need an object instead of array then Fn.to_jsonb should be called without select like this
.select(\JobPost.createdAt, Fn.to_jsonb(Organization.table) => "organization")

Is it too late for me to admit that I'm so new to SQL? 😅
It's weird. Even the result that you show has the organization as an object, not an array. But I'm really not familiar with all these things. Could you try setting Date of SubResult as optional?

I was wrong about let organization: [SubResult] it execute and decode query without errors but organization  is empty. If I change it to let organization: SubResult then it shows me an error Value of type 'Double' required for key 'createdAt' doesn't matter if createdAt optional or not.

.select(\JobPost.createdAt, Fn.to_jsonb(Organization.table) => "organization")

and
.select(\JobPost.createdAt, |SwifQL.select(Fn.to_jsonb(Organization.table))| => "organization")

is the same in the result, so I was wrong as well by saying that select returns an array

So I'm newbie in SQL as well 😁

Haha... well, now at least we both got similar error. It's similar because I don't get that same error. I get The data couldn’t be read because it isn’t in the correct format.


Add confirmation buttons

Fixes https://github.com/bitfocus/companion-module-youtube-live/issues/21
This PR adds a queuing and confirm/cancel mechanism to this module. This is achieved by keeping a queue of "work" objects which are processed after "confirm" is pressed.
Sample configuration: https://youtu.be/u-0x91ZNFLM

It would perhaps be better to support this natively in the core, but I don't have enough skills to do it that way.

This PR may not be needed after all:

source: https://github.com/bitfocus/companion/issues/564#issuecomment-480423988
demonstration: https://youtu.be/2zgjTqvbKaM

Closing, long-press is likely also a better solution.

Keeping branch https://github.com/JakubVanek/companion-yt-private-dev/tree/feature/arming-buttons as a base for other feedback and variable related stuff.


fix: update and improve flake

Description

Update flake.lock
Change the eww-wayland output, it is now an alias for the default output
Introduce nixfmt as the formatter for .nix files
Minor improvements in the flake

Additional Notes
In its current state, the flake is broken due to the lockfile being out of date.
I've tried to keep the changes to a minimum, but I feel like introducing a formatter is never a bad idea.
Checklist
Please make sure you can check all the boxes that apply to this PR.

[x] I added my changes to CHANGELOG.md, if appropriate.
[x] I used cargo fmt to automatically format all code before committing.
[x] I used nix fmt to automatically format all code before committing.

I can confirm that this fixes the currently broken flake on master.


Size of search input incorrect

I am trying out the tob-bar example/documentation.
When I do this, I get a topbar that looks like this:
http://i.stack.imgur.com/XSiWW.png
On the foundation example site: http://foundation.zurb.com/sites/docs/top-bar.html
there is a notable difference: The size of the search input.
So some css is missing, and I think it is this, taken from the example sites css:
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea {
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 2.4375rem;
    padding: 0.5rem;
    border: 1px solid #cacaca;
    margin: 0 0 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: #0a0a0a;
    background-color: #fefefe;
    -webkit-box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    border-radius: 0;
    -webkit-transition: -webkit-box-shadow 0.5s, border-color 0.25s ease-in-out;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
}

Why is this not included, what do I have to do?

In docs, I'm using plain HTML input:
            <TopBarItem position="right">
              <Menu>
                <MenuItem><input type="search" placeholder="Search" /></MenuItem>
                <MenuItem><Button>Search</Button></MenuItem>
              </Menu>
            </TopBarItem>

But to get the Foundation input styling I needed to be using this library's FormField component:
            <TopBarItem position="right">
              <Menu>
                <MenuItem>
                  <FormField>
                    <FormFieldInput  />
                  </FormField>
                </MenuItem>
                <MenuItem><Button>Search</Button></MenuItem>
              </Menu>
            </TopBarItem>

I implemented FormField after TopBar and forgot to go back and try to see if it worked with TopBar properly.

Ok, cool. Thanks!
now it looks like this:

So the search input is not aligned with the button. I will investigate later when I have more time, but maybe you have another Idea?

Hey,
Could it be that somehow the order of css statements is incorrect?
When inspecting in chrome, I see that for the react-foundation-components the rules are in different order than from the example site.

OK, I know why.
In lib/forms/_styles.scss the import is like this:
.form-field {
  @include foundation-form-text;
  @include foundation-form-checkbox;
  @include foundation-form-label;
  @include foundation-form-helptext;
  @include foundation-form-prepostfix;
  @include foundation-form-select;
  @include foundation-form-error;

  @import './custom';
}

The extra .form-field makes the rules more specific than this rule:
.top-bar input {
    max-width: 200px;
    margin-right: 1rem;
}

So the order is different than on the foundation example site.
Removing the .form-field solves the problem here, but I do not know what other implications that hase.


Interchangeable Toolbox and Palette

Ability to change and redefine what blocks and toolbox are available to the user at changing stages of difficulty/learning.

Question: is there maybe a related design principle here? Something like:
"Advanced/full Toolbox and Palette should be developed first, since simplified version will have certain blocks or options removed from the 'full' version."
I don't mean to indicate that we need to replicate all of Glowscript, but that if we're going to include something, include the 'full' version (whatever that means for us), which we can then simplify later.  Might be less total work than making a simplified version and later adding advanced/full options.
If so, this may not need to be a design principle issue, since it's relatively simple, but would be good to discuss and agree on regardless.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2024-04-19T23:48:08+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio
54b91fea60305b162d7805c2bba39cdfe40dc50e
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-basic-arm64


fork from rbenv rather than copy?

I would have liked to have seen nodenv (+ node-build and plugins) forked from rbenv rather than copied. If they shared a common commit history, it would have made it trivial to merge in any 'upstream' changes.
I wouldn't mind doing the work to graft the history back in, if it would be of interest. Personally, I would feel much more comfortable with the stability of nodenv if I knew that any bugfixes/security fixes/performance improvements that get made to rbenv were easily applied to nodenv as well. Especially since rbenv (at least presently) has a much higher user base and active contributors.
Would this be of interest?

+1

@jasonkarns I did an initial attempt with porting the rbenv to nodenv while keeping the fork history.
https://github.com/peterkc/nodenv
The keep is to use "git mv" first before doing any changes. Take a look at the basic tools/migrate.sh file.
Having the history should make it easy to pull the upstream changes.
Haven't tested it fully yet. Looking to do this for node-build and nodenv-vars as well.

As you can see, I've converted this Issue into a PR from my fork of nodenv.
My fork has all the history of rbenv grafted in, while maintaining nodenv's history, (and maintaining the original initial commit from nodenv to still allow force-pushing to GitHub).
Steps I took:
Ideally, I would have grafted rbenv's history into nodenv by giving nodenv's initial commit (019247c) a parent from rbenv's history. However, this would change the initial commit's sha, which would prevent force-pushing to GitHub. So instead, I grafted in rbenv's history to nodenv's second commit (originally 2cee5e9). I chose ea3203d from rbenv as that was master's HEAD at the time nodenv was created. After grafting that in, I ran filter-branch to make the change permanent.
At this point, I now had nodenv sharing history with rbenv! But there was one more graft that was needed. In April of 2014, nodenv was updated with the latest (at the time) changes from rbenv. So I took that commit (originally 956a73b) and grafted in its spirit parent from rbenv (f71e227). And ran filter-branch again.
Now nodenv shares rbenv's history
To summarize:

jasonkarns/master is content-identical to nodenv/master
jasonkarns/master shares rbenv's history and has the appropriate merge-base (f71e227), which means future merges from upstream rbenv will be as simple as git merge rbenv/master
jasonkarns/master retained the initial nodenv commit so it can still be force-pushed to github

Recommendation: rather than 'merge' this PR, @OiNutter will need to add my fork as a remote, and reset master to jasonkarns/master, followed by a force-push to github. This way all the history modification I did is preserved without showing an even more complicated merge history.

As a discussion point, it's also worth deciding if we want this history to be as 'correct in spirit' as possible. (Which would mean using my fork as described above.) Or if all we care about is having the correct merge-base between nodenv and rbenv. If the latter, then simply doing git merge -s ours rbenv/f71e22768c8bc02a10fc917f05072fdc68d71be4 into nodenv/master would suffice.
Doing just the merge would pull in rbenv's history, maintain nodenv's history (without rewriting it!) and still result in the proper merge-base for future merges. The downside being that the history is not representative of how the code actually came to be.

I agree with this idea in spirit. In fact, so much so that I think this work would be great to see in upstream rbenv. This way, we could decouple the architecture from binary formats.

Just to weigh in, I think that having the correct merge-base is sufficient. Should we need to dig deeper into the history, it's simple enough to stroll on over to rbenv.

@jawshooah I think I'm beginning to prefer that as well. It's less intrusive on the existing history of this (and the other plugins) repo. Closing this since we don't want this PR merged.

Alternative PR submitted that does a merge from rbenv/master while ignoring rbenv's code: #14

Thanks for cleaning up the issues @jasonkarns.
From what I can see in the main rbenv codebase, the majority of it is very generic and can be repurpose. Most of the work for nodeenv would be in the custom builder node-build


Dependency declarations

This PR takes care of #87 by adding runtime dependency declarations in the gemspec.

The CI build appears to be failing for an unrelated issue (see https://github.com/ariya/phantomjs/issues/13953). This fix should work as is.

Hey thanks for this. Honestly, surprised it didn't burn us before.
I'll experiment as well with the phantomjs alternatives, so far just been waiting for travis-ci to resolve it.


bug: The Kubestellar Controller Manager is crashing on OCP for CP of type "host"

Describe the bug
While trying to test Scenario#2 on OCP, I'd noticed that neither the AppWrapper CRD nor the CR were being downsynced to the WECs. This scenario involves a control plane of type host. On closer inspection the controller manager is crashing:
k get pods -n wds2-system
NAME                                              READY   STATUS             RESTARTS       AGE
kubestellar-controller-manager-675ffffd74-9kvch   1/2     CrashLoopBackOff   40 (36s ago)   3h24m
In the log, there are a bunch these:
I0201 20:15:55.356108       1 trace.go:236] Trace[1503902376]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.28.2/tools/cache/reflector.go:229 (01-Feb-2024 20:15:38.046) (total time: 17309ms):
Trace[1503902376]: ---"Objects listed" error: 17309ms (20:15:55.356)
Steps To Reproduce
Install kubeflex and kubestellar on OCP
Onboard WEC(s)
Follow setup for Scenario#2 described here: https://github.com/kubestellar/kubestellar/blob/main/docs/content/v0.20/examples.md
Expected Behavior
Both the AppWrapper CRD and the CR should be down synced to the WEC(s).
Additional Context
Paolo's explanation:
"
in a CP of type k8s there are about 40 resource types. In this OCP I found about 395. Since the controller starts an informer for each,the api server does throttling and the informers never complete loading the caches. I need to give an option for running in OCP host to specify the resource to track rather than all
"

Changed the title to reflect that this problem is specific to a control plane type "host" as WDS, where the hosting cluster is OpenShift.

A simple approach that does not change the current UX for Placement (or BindingPolicy) is to allow to specific a list of GVRs at startup. If the list is present, only informers for the GVRs in the list are started. If the list is not present (which is the default) and is what works for the "denatured" k8s CP, then most informers for server preferred resources are started as it's done today.

the startup option may have the form:
--resources="appwrappers.mcad.ibm.com/v1beta1, inferenceservices.serving.kserve.io/v1beta1"

When this flag is present, and if the selected resources are available as server preferred resources, only informers for those resources are started.

This makes sense in scenarios where the hosting clusters has the WDS role as there are many resources that may not make sense anyway to track as there are active controllers on the hosting cluster already for those resources.

Is the throttling really by the apiserver, or is it client-side self-restraint?
What do you mean by "the informers never complete loading the caches"? Slowing throttling does not explain "never".
Asking the user to do more configuration is a painful UX.

Asking the user to do more configuration is a painful UX
That is true, but still, look at how many api resources are available on a stock OCP:

$ kubectl api-resources | wc -l
     395

versus KubeFlex's stock k8s API server:
$ kubectl api-resources | wc -l
      56

There are definitely too many in the OCP hosting cluster case that we would have a need to track.

Is the throttling really by the apiserver, or is it client-side self-restraint?

How can you tell? I am including the complete log if that helps.
wds2-system-kubestellar-controller-manager-675ffffd74-9kvch.log

What do you mean by "the informers never complete loading the caches"? Slowing down does not explain "never".

The message "All caches synced" never shows up. The controller crashes before that happens (could be OOM Killed)

I four "Waited for 8.597854136s due to client-side throttling..." in that log, with increasingly long delays reported.
I see 49 reports of a LIST operation taking a long time, with the time increasing from about 10 to about 19 seconds.
It would be worth knowing why the controller crashes.
Asking the user to provide a list of GVRs sounds just too painful to me. Surely the user should not have to specify the Version part. I suspect that just taking a list of API Groups would enable enough filtering.
I still have not seen any real quantification of "enough" or "too much".

@pdettori I think this is not related to OCP , it's related to using the HOST as a CP where that host has many build in resources. I assume this can also happen with "external" mode depending on which external space you import into KF.
I think it's not only an issue of wait time but also wasted resources in terms of memory & CPU.
In addition,  when using the host (or other k8s clusters that also have additional controllers) - the user can't use that space to deploy resources that are not denatured in that space into the WECs (i.e., resources that that "space" may be acting upon) , this means that for theses resources there is no point in bringing up informers in the first place.
I'm not sure that any of the solutions suggested in this thread are acceptable from UX perspective :(

To add to that - what will happen if a user creates WDS of type "host" and tries to deploy k8s resources into the WEC (Pods, deployment, etc..)  This obviously will be a bad thing - but do we actively prohibit it today and print some error/warning ?

@MikeSpreitzer

Asking the user to provide a list of GVRs sounds just too painful to me. Surely the user should not have to specify the Version part. I suspect that just taking a list of API Groups would enable enough filtering, if we were to go that way.

Yes, I agree, but see my comments above, the most common scenario for "host" is a wrapper CRD. The value of KS here is "bring your own wrapper". It is clear that the most value would come when using the k8s CP, as that is something that can be controlled and there are no restrictions or need to provide such list of resources.

I don't think this is the correct way to handle the issue. users should not be specifying list of allowed resources.
this list obviously might change over time in a long running environment and we don't want to require controller restart for updating this list.
a better solution might be the following -
at startup we DO NOT create informers for all CRDs. we create informer only for Placement (or with the new name - BindingPolicy), so upon startup of placement controller it is started only with informer on BindingPolicy.
during runtime, we create informers dynamically for resources that appear in at least one BindingPolicy.
so all other informers should be created by demand and not upfront.
by doing this, users of the system do not need to tell the system which resource to watch, but instead users should use KS regular APIs to let the system which objects they want to distribute to WECs. the placement controller should implicitly understand and create only the required informers dynamically.


Bump version to 2.0.0-rc.2

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
Change version to 2.0.0-rc.2
Why
Release preparation.
Known limitations
N/A

Reference Server Preview is available here:https://anchor-ref-pr855.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr855.previews.kube001.services.stellar-ops.com/


[Vulkan] glfwSwapBuffers causes flickering

I've used the triangle example from the Vulkan SDK and replaced the Window Context code with a GLFW Window.
The example works fine, but if you call glfwSwapBuffers, it causes some weird flickering. Without calling it, everything is being rendered just fine, but recording software (e.g. Bandicam) won't pick up on the window, so I'm guessing there's more to it.

You should not call glfwSwapBuffers unless you are rendering with an OpenGL or OpenGL ES context. I don't know why Bandicam isn't working.
You can find an adaption of the triangle example to GLFW in tests/vulkan.c.

@elmindreda hi, is there any plans about implementing swapbuffers for vulkan ? Thanks for a reply.

@Temtaime There is no need for GLFW to do that. See the VK_KHR_swapchain extension.


Refactor ippool checker into struct

This PR moves the IPPool checks to a dedicated pkg.
It furthermore redesigns the pool consistency checks to use a struct, thus allowing
developers to write tests in the following way:
Expect(
    poolconsistency.NewPoolConsistencyCheck(
        ipPool, podList.Items).MissingIPs()).To(BeEmpty())
Expect(
    poolconsistency.NewPoolConsistencyCheck(
        ipPool, podList.Items).StaleIPs()).To(BeEmpty())

instead of what is used currently:
 Expect(
    iPPoolConsistency(
        k8sIPAM,
        clientInfo.Client,
        testNamespace,
        ipPoolName,
        entities.ReplicaSetQuery(rsName))).To(Succeed())

The implementation above does offer more information on failures, and is
more ginkgo native than the current approach.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.88%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
861

Relevant Lines:
1598

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.88%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
861

Relevant Lines:
1598

💛  - Coveralls


Response headers are not set on error pages

Whenever laravel returns an error response, for example
abort(404);

the response headers (Access-Control-Allow-Origin...) won't set, resulting in cors error. How to turn response headers on error pages too?

I am fairly sure this is an error we are running into as well. I just noticed it.

Ah, of course. Checking the bottom of the docs gives us the solution...
public function render($request, Exception $e)
{
    $response = parent::render($request, $e);

    if ($request->is('api/*')) {
        app('Asm89\Stack\CorsService')->addActualRequestHeaders($response, $request);
    }

    return $response;
}

Modify for your use case. Theoretically you could change the is clause to * so it runs for everything if you're building a straight API.

@webkenny thanks a lot didn't read the docs 'til the bottom


[JBEAP-5833] Obfuscate truststore password

This fix removes trustore password from trace log.
JIRA: https://issues.jboss.org/browse/JBEAP-5833

jboss-1.5.0-x  is now superseeded by jboss-1.5.1-x which contains this commit.
For future reference please include the cherry-pick commit when opened a PR.  Use the -x flag when cherry-picking.  Thanks.


Add validate flag to serializer

Related to Azure/autorest.typescript#243

Turns out this goes well beyond what autorest's client-side-validation is supposed to do.
https://github.com/Azure/autorest/blob/41c3ebf69e2903497ac32a430c27a972a03acb16/Samples/1d-common-settings/readme.md

Some of the changes in here could still be used to reduce the size of the serializer a bit. Might be worth having a look at down the line.


4.x io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest.test intermittent failure

Intermittently seen on PR validation (https://github.com/helidon-io/helidon/pull/6572).
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.helidon.microprofile.metrics.TestMetricsOnOwnSocket
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.634 s - in io.helidon.microprofile.metrics.TestMetricsOnOwnSocket
[INFO] Running io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest
Error:  Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.199 s <<< FAILURE! - in io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest
Error:  io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest.test  Time elapsed: 7.519 s  <<< FAILURE!
java.lang.AssertionError:
Change in count for explicit SimpleTimer
Expected: is <1L>
     but: was <2L>
	at io.helidon.common.testing.junit5.MatcherWithRetry.assertThatWithRetry(MatcherWithRetry.java:68)
	at io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest.test(HelloWorldAsyncResponseTest.java:120)
	at io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest$Proxy$_$$_WeldClientProxy.test(Unknown Source)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)

Also occurred in 3.x https://github.com/helidon-io/helidon/actions/runs/5084245287/jobs/9136288058

And 2.x:
Error:  io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest.test  Time elapsed: 2.014 s  <<< FAILURE!
java.lang.AssertionError:
Change in count for explicit SimpleTimer
Expected: is <1L>
     but: was <2L>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest.test(HelloWorldAsyncResponseTest.java:120)
	at io.helidon.microprofile.metrics.HelloWorldAsyncResponseTest$Proxy$_$$_WeldClientProxy.test(Unknown Source)

assigning to @tjquinno as we are seeing this fairly often during PR validation.

Sigh. This test uses explicit synchronization between the test client and the service precisely to avoid such problems, but obviously it's not working all the time.
I'll take a look.

I have disabled the offending test temporarily until I get time to dig into the root cause of the failures.

Still seeing this pretty often in 3.x

Happened in 3.x here: https://github.com/helidon-io/helidon/actions/runs/6004982497/job/16286752029?pr=7457


Button click responsiveness

Some button clicks are very slow in responding.
Manage Backup.
Individual Keeper buttons on Manage Backup.

We need to check if this is still occuring.

@cakesoft-utkarsh @cakesoft-nikhita -
The login button works perfectly fine, that is the model we need for the following as well:

Send flow buttons
Add contact
Account tiles on HS
Share QR
Several buttons when sharing in NBHR

see if you can find any more

@cakesoft-rohit - note the instances and the fix done

I have observed this is not reproducible on all the listed places, such as Send flow buttons, Add contact, Share QR.
Can we revisit, to check if its valid after 2.0?

@ Rohit please check the following Buttons:
1.Account >Account Settings >Name&Description >Confirm&Proceed button
2.Buy>Ramp Bitcoin > Buy bitcoin button.
3.Buy > Wyre Bitcoin >Buy Bitcoins.

Ramp and Wyre will be fixed as pet of another issue @cakesoft-swati

Verified this issue ond ev app v1.8.5(326)

The initial button is clickable several times (when creating the wallet).
Need to check other button click responsiveness.

-There is a lag between - A user clicking on "confirm and send" - the button going light blue - the button becoming dark blue again and then the "Sent Successfully" modal becoming visible. (Live app:.67 Android).

The lag should not be there ideally. Also, the color of the button should definitely not change back to dark blue.

Verified this issue on dev app v2.0.75(470)


Fix all grafana charts for gitlab

Description
Since we switched to MySQL instead of Psql, a lot of queries are broken :(

done


commanaderPi won't start. I have the same problem, installed ok and have the CommanderPi logo on the desktop, but if you run it, it will not show the CommanderPi window. I believe there is a path issue on my setup. On this set up, I need to enter password on any sudo type commands. Will it cost an issue on your code? Thanks.

Are you using Raspberry Pi 4? What is your path to CommanderPi and did you installed it as user not root?

yes, using a Raspberry Pi 4.   Path is Home/Pi/CommanderPi.  I have Octoprint running also.

Type this in terminal and tell me what you see sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}

pi@octopi:~/CommanderPi $ sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}
[sudo] password for pi:
Traceback (most recent call last):
File "/home/pi/CommanderPi/src/main.py", line 9, in
import gui as g
File "/home/pi/CommanderPi/src/gui.py", line 4, in
import resources as rs
File "/home/pi/CommanderPi/src/resources.py", line 5, in
import psutil
ModuleNotFoundError: No module named 'psutil'

Install this module with pip install psutil

Installed, but looks like still missing, CommanderPi still not working, same as before.    Please look at the following :  Need in a different path?   Thanks for the help.
pi@octopi:~/CommanderPi $ pip install psutil
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: psutil in /usr/local/lib/python2.7/dist-packages (5.7.3)
pi@octopi:~/CommanderPi $ sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}
Traceback (most recent call last):
File "/home/pi/CommanderPi/src/main.py", line 9, in
import gui as g
File "/home/pi/CommanderPi/src/gui.py", line 4, in
import resources as rs
File "/home/pi/CommanderPi/src/resources.py", line 5, in
import psutil
ModuleNotFoundError: No module named 'psutil'

Perhaps "pip3 install psutil"?

Still the same, no psutil module. not sure what is going on.

I tried to import psutil directly, this is what I got:
pi@octopi:~/.local/lib/python3.7/site-packages/psutil $ import psutil
import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
Any idea what is going on here? I am not too well verse on Linux.

What OS are you using?

Raspberry Pi OS  with desktop. I also installed octoprint.

I struggled with this for like half an hour until I read the readme.txt file.
Did you run install.sh AFTER you moved the CommanderPi folder from Downloads to your Home folder?
At least this was my mistake, and it worked right away.

Did all of those, same thing. The interesting part is that when I do not have Octoprint in the built, CommanderPi works. I wonder what is causing the problem with Octoprint.

Hi,
It doesn't seem to like Sparky Linux. Maybe it shouldn't but most other Pi apps do....so far ;-)

Ya, it's still needs Sudo to run, extract it in /home/pi/
Then:
./install.sh (non Sudo)
then cd /home/pi/ComamanderPi/src.
Then run sudo ./start.sh from terminal, if you don't run sudo it will ask anyway, works fine, just don't use desktop shortcut.

Here is what I get:
pi@raspberrypi:~ $ sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}
Here is home_path /home/pi
Here is app-1 Version 1.0
Exist and read
Country code is:
country DE: DFS-ETSI
Here is ad: pieeprom-2021-12-02.bin
Apr 29 2021
/home/pi/CommanderPi/src
File is exist!
path is /home/pi/CommanderPi/src
No protocol specified
No protocol specified
Traceback (most recent call last):
File "/home/pi/CommanderPi/src/main.py", line 26, in
main()
File "/home/pi/CommanderPi/src/main.py", line 22, in main
start = g.Window()
File "/home/pi/CommanderPi/src/gui.py", line 673, in init
master = tk.Tk()
File "/usr/lib/python3.7/tkinter/init.py", line 2023, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":10.0"
The two last lines seem to indicate the app can't access the display: but when I double click on the CommanderPi icon
I get the "Execute File" menu. But the buttons don't work.

Here is my output - as suspected the culprit is the ongoing rdp session which holds display 10 already.
When executed directly on the desktop it works fine.
sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}
Here is home_path /home/sassan
Here is app-1 Version 1.0
Exist and read
Country code is:
country 99: DFS-UNSET
Here is ad: pieeprom-2022-04-26.bin
2022/04/26
/home/sassan/CommanderPi/src
File is exist!
path is /home/sassan/CommanderPi/src
No protocol specified
No protocol specified
Traceback (most recent call last):
File "/home/sassan/CommanderPi/src/main.py", line 26, in
main()
File "/home/sassan/CommanderPi/src/main.py", line 22, in main
start = g.Window()
File "/home/sassan/CommanderPi/src/gui.py", line 673, in init
master = tk.Tk()
File "/usr/lib/python3.9/tkinter/init.py", line 2270, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":10.0"


deploy

Is your feature request related to a problem? Please describe.
if we can deploy c++ or qt  bin into AppImage  on linux?
i tested it on project "https://github.com/linuxdeploy/linuxdeploy"
if we can add into xmake?
Describe the solution you'd like
add linuxdeploy for c++ and qt
Describe alternatives you've considered
No response
Additional context
No response

see https://github.com/xmake-io/xmake/blob/b4dd67800fe1efa0107875011ac9d6f9d864fd87/xmake/rules/qt/xmake.lua#L135
you can add deploy.linux


Image blocking

For some reason *.png and *.jpg files are unable to go through proxy, even when they are on public paths. *svg images work fine, i suspect that this may have something to do with content-type headers

Fixed in commit 8871e1260011e3f13f66d6b6fdac94bb5a807827


Fix module name in dependency list.

The tests currently fail because this dependency can't be found/installed, this change fixes that.

Thanks @jkramer
.


[QoI] Don't suggest var to let when binding inside for-statement

Instead of doing that, suggest removing 'var' altogether because
'let' cannot be used directly in an implicitly immutable context.
Resolves: rdar://problem/32390726

@swift-ci please smoke test

LGTM.


Reaction APIs support

Hope it's in the works.

any updates on this one?

Reactions are supported by TDLib 1.8.1.

@levlam I didn't see tag 1.8.1 in https://github.com/tdlib/td/tags?


Comments in source block of transform cause weird errors

Observations

One common thread appears to be when a comment symbol # appears at the beginning of a line when composing a transform. It doesn't seem to be an issue if the # symbol is also indented.
If the# symbol is present at the beginning of a line in the source block, errors only seem to occur if a transform is initialized inline (e.g. transform(lambda x: x), transform(my_func), MyTransformClass(2), etc. If the transform is initialized outside of the block then this problem doesn't seem to occur.

1. Comments with lambda wrapped transforms
This works
t = (
    transform(lambda x: x)
    #
    >> transform(lambda x: x)
)

but this does not
t = (
    transform(lambda x: x)
#
    >> transform(lambda x: x)
)

and gives the error message
Traceback (most recent call last):

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl-extensions/venv/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3444, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "/var/folders/y4/wncq_2vx5_j42jklvxtlyjyw0000gn/T/ipykernel_91662/583772831.py", line 4, in <module>
    >> transform(lambda x: x)

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl/padl/wrap.py", line 288, in transform
    return _wrap_lambda(wrappee, ignore_scope)

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl/padl/wrap.py", line 222, in _wrap_lambda
    inner = var2mod.Finder(ast.Lambda).get_source_segments(call)[0][0]

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl/padl/dumptools/var2mod.py", line 42, in get_source_segments
    nodes = self.find(ast.parse(source))

  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ast.py", line 47, in parse
    return compile(source, filename, mode, flags,

  File "<unknown>", line 1
    >> transform(lambda x:
    ^
SyntaxError: invalid syntax

2. Comments with Function wrapped transforms
Both of these work when initializing the transform
t = (
    padl.Identity()
    #
    >> transform(np.max)
)
t2 = (
    padl.Identity()
#
    >> transform(np.max)
)

However, when saving only the first one works
t.pd_save('tmp', True)  # works
t2.pd_save('tmp', True)  # Gives error

The error for the second save is
Traceback (most recent call last):

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl-extensions/venv/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3444, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "/var/folders/y4/wncq_2vx5_j42jklvxtlyjyw0000gn/T/ipykernel_91662/3956453609.py", line 1, in <module>
    t.pd_save('tmp', True)

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl/padl/transforms.py", line 231, in pd_save
    code, versions = self._pd_dumps(True, path=path)

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl/padl/transforms.py", line 383, in _pd_dumps
    graph, scopemap = self._pd_build_codegraph(name='_pd_main', scope=scope)

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl/padl/transforms.py", line 1127, in _pd_build_codegraph
    start = self._pd_codegraph_startnode(name)

  File "/Users/sebastianlee/Aleph-One-Gmbh/padl/padl/transforms.py", line 242, in _pd_codegraph_startnode
    start_node = ast.parse(start_source).body[0]

  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ast.py", line 47, in parse
    return compile(source, filename, mode, flags,

  File "<unknown>", line 4
    )
    ^
SyntaxError: invalid syntax

These work
t = (
    padl.Identity()
#
    >> padl.Identity()
)
t.pd_save('tmp', True)

@transform
def func(x):
    return x

t = (
    padl.Identity()
#
    >> func
)
t.pd_save('tmp', True)

These do not work
t = (
    padl.Identity()
#
#
    >> padl.Batchify()
)
# Error thrown

t = (
    padl.Identity()
#
    >> padl.Batchify()
)
t.pd_save('tmp', True)
# Error thrown

Fixed in #272.
The problem was the following:
When creating transforms in line (lambda, functions or classes) the code is being inspected to get the actual call that was used to create the transform (e.g. transform(lambda x: x), transform(np.max), Batchify()). To do that we use inspect. However, inspect only gives us the line the call was in, not the columns. To still get the call, we parse the expression containing the call using AST and then compare call nodes in the ast tree with the actual call (more or less). To do that, we first look for the code-block containing the call and then parse it with AST to find the expression containing the call's line (via dumptools.inspector.get_surrounding_block). A code block is a block of code with minimum the same indentation - however we need to make sure to ignore comments (which could have a lesser indentation). This check was missing.

Thanks for the explanation!


Option to upload a video?

It would be fantastic if you could provide an option to upload a video.
The video automatically moves to the start of the time position marked within the GUI. That way, folks could playback segments of interest as they are labeling. It would also be great if there was a little time mark which went forward with the video to show accurate frame positioning.
Great tool Colin. Perhaps our own tool could provide some insight/ideas for you? https://www.nature.com/articles/s41598-020-59251-5

I am definitely interested in adding options like this and #1 in order to help provide additional context when labeling data, so I will definitely keep this in mind. It will probably require an entire rethinking of how to deal with these sorts of things in general.
Thank you for sharing the paper, I hope that ShinyEyes can potentially make it easier to generate training sets for machine learning classification tools (and I would love to one day add them into the tool itself so that instead of providing labels it can generate them for you).


download help

would it be okay if someone teaches me how to install this?, im pretty new to it im sorry

How to download is in the description.
Just download it, make the shoot button to the button "K" and change enemy team color to purple. To turn it on and off press f10.


Fix(frontend): fix a bug of FilterJoin

What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
In this pr, I fix a bug of FilterJoin which will cause predicates loss. Besides, I improve FilterProject and add two rules to refine optimized plan.
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)
close #1951

And if there are multiple changes, could you use a more proper title? Also feel free to create multiple small PRs which may make reviewers happier

Can you describe what is the problem clearly instead of "fix a bug" in title and description?

As what #1951 said, some predicates lost during the optimization. I found this bug is due to wrongly concatenating two Option<Condition>.

And if there are multiple changes, could you use a more proper title? Also feel free to create multiple small PRs which may make reviewers happier!smile
I will take care of it next time, thx. This pr mainly focuses on solving this bug, while I improve something else during the process.


Python 3.7 vs 3.8

Not an issue (I suppose it could be an issue with the documentation), but putting this here in case it helps anyone else:
Running this with Python 3.7 resulted in a segmentation fault during the JIT compilation of the Pytorch C++ extensions.
Using Python 3.8 works without issue (using all packages in requirements.txt).
Hope this helps someone else.

Thank you very much! It is quite kind of you! I try almost all the versions for Pytorch and none of them works. Finally, the problems are solved after replacing python 3.7 with python 3.8.

Thank you very much! It is quite kind of you! I try almost all the versions for Pytorch and none of them works. Finally, the problems are solved after replacing python 3.7 with python 3.8.

Hi, I am struggling with the environment setup would you let me know what is your environment package version like the torch, tensorflow-probability and how you install it as I followed the pip install -r requirment.txt it always came with error.
Thanks.

Hello, I'm sorry to bother you. I am currently in Python 3.8.18  , but I still encounter import errors. May I ask which version of Python you are referring to.
ImportError: cannot import name 'ParamSpec' from 'typing_extensions'

I have the same problem. I have tried different python versions.


Motilink sometimes doesn't work on android

When using MotiLink in a list, it doesn't always navigate.
We have a MotiLink like this:
<MotiLink href={`/product-detail/${product.id}`}
        animate={React.useMemo(
          () =>
            ({ hovered, pressed }) => {
              "worklet";

              return {
                backgroundColor: hovered || pressed ? "#EDEDED" : "#fff",
              };
            },
          []
        )}>{children}</MotiLink>

We use them in a list and whenever we press on an item we should expect to go to another page. Sometimes it works and we navigate to another page but a lot of times i only see the hover effect and it doesn't navigate.

oh android, I see. when you say sometimes — does it work sometimes?

also, are you on the latest version of moti?

Yes it works sometimes. I'm using "canary"


(75,-7) avatar-swap

[ ] The models are swapped but the "running" animation is always playing.
[ ] When the character switches the camera to the first person and back to the third person, models overlap (because the original model is also shown).
[ ] The swapped model is about 1 meter above the ground.

Fixed in the scene (due https://github.com/decentraland/sdk/issues/903)


Is there the Linux version of the code?

The project is very awesome and it would be more convenient for testing if there would be the Linux version of the code. I know the Colorization Subnet is based on Pytorch, which is easily used on Linux, so I hope I can get the Linux version of the Similarity SubNet if possible. Thank you very much.

@TruePhone The Similarity SubNet (and Deep Image Analogy if you use it to build correspondence) is implemented in C++. It should be easy to transplant to Linux.  Deep Image Analogy already has a Linux version (https://github.com/msracver/Deep-Image-Analogy/tree/linux) and our Similarity SubNet is actually built based on it. You may copy the source code from Deep-Exemplar-based-Colorization/similarity_subnet/windows/similarity_combo/ to msracver/Deep-Image-Analogy/tree/linux and slightly modify it on Linux.

@hmmlillian Thanks for your prompts very much. I will have a try.

@TruePhone Hello, I am also planning to tranfer it to Linux version recently. Now I can compile the Deep-Image-Analogy successfully, but can't compile similarity_combo. So, could you provide the executable file of similarity_combo if you compile it successfully? Thanks very much!

@TruePhone The Similarity SubNet (and Deep Image Analogy if you use it to build correspondence) is implemented in C++. It should be easy to transplant to Linux. Deep Image Analogy already has a Linux version (https://github.com/msracver/Deep-Image-Analogy/tree/linux) and our Similarity SubNet is actually built based on it. You may copy the source code from Deep-Exemplar-based-Colorization/similarity_subnet/windows/similarity_combo/ to msracver/Deep-Image-Analogy/tree/linux and slightly modify it on Linux.

Thank you for your job, but i think most of people work on linux. Please give a intergrated version about linux or tell us what we should do  in detail.

https://github.com/msracver/Deep-Exemplar-based-Colorization/pull/13

Did anyone manage to get this transfer successfully to Linux?

#21
I got this transfer successfully to linux!

@ncianeo How ? Can you share it with me?

@Travsmakoy Use this repository: https://github.com/ncianeo/Deep-Exemplar-based-Colorization/tree/linux-docker-cv-caffe-build


FORGE TC 164 with latest Forge (18.2139) - results in crash

the following errors happened.
running latest 1.10.2 forge
with build 164 of terrain control.
It starts fine, created a vanilla world with the standard biome files generated.
stopped singleplayer.
deleted region files.
added new biomes and objects from the bukkit build, thinking the biomes and objects should still work(am i wrong). then set it up and checked every line of the ini file. and restarted.
Boom following error!
[http://pastebin.com/nFFcBzyH]
we would love to get this running under 1.10.2 and under 1.11 are there any packs or has forge just relied totally on bop?

The 1.10 forge build does not work properly (I also get crashes when loading custom biomes).
As far as I know this is a known issue but it has taken months to get close to fixing it. Development seems to have stagnated lately so I wouldn't expect a fix any time soon :(

Well. I hope it does get fixed. I have a few talanted modders who would have loved to use this tool on our server. We loved it in bukkit and have missed it since moving over.
Im gonna keep the hope up and m willing to help test. Dont know enough myself to fix it.

is this fix gonna work for 1.10.2 or do we have to move on to 1.11? got a whole mod pack based around 10.2 atm. and not ready to update.

I'm afraid you'll need to move to 1.11.

ok thankyou for the info and for the update, we will revisit this plugin in 6 months or so when we can update all our other mods.

@melekaiah You can build my 1.10.2 version here
https://github.com/bloodmc/TerrainControl/tree/1.10.2
I just pushed a major refactor that I am planning to PR for 1.11.


Sendable

If the elements in the collection are Sendable, NonEmpty variant of it should be too

Hi @adriansergheev, that's a good suggestion! Would you want to open a PR to add that? If not we can take care of it.

it's a oneliner looks like!
https://github.com/pointfreeco/swift-nonempty/pull/57

oh, should have checked opened pr's first...
looks like
https://github.com/pointfreeco/swift-nonempty/pull/52 fixes it already.

Oh oops, thanks for bringing that to our attention. We somehow lost track of it. We will look into it soon.


Responsive header

Fix for https://github.com/plone/volto/issues/1186 "navigation and user actions (login, register) overlapping on medium windows".

Anontools (login, register) wrapping under long navigation.
Hamburger menu also on tablet.
Mobile: compact display of anontools and search.

tbd: changed DOM in Header.jsx: wrapper for tools and search

I feel uncomfortable changing the DOM for wrapping anontools and search. But I tried seriously to avoid a DOM change while letting both flow under longer navigations. So, leaving or changing?
BTW this all about a header is just a suggestion, not meant to be merged as it is. I just felt urged to let the header look OK for navigations, that not only have three or four short items.