Adds additional help when a module is missing.

Hey.  Long time fan, first time forker.
You know when you're working on a project with someone and they bring in a new dependency?
When you first pull their code and you haven't also installed that dependency, the error that is shown is this:
Current Message

This PR simply adds  or running "npm install" to the end of that message.
Just adds a little clarity to newcomers.  Hell knows I was lost for a while when I was starting.
New Message

Thank you for your contribution. Looks good.

@facebook-github-bot shipit


Add Support for phys-services::ExtrudedPolygon

Currently the ic3-labels package supports convex hulls via the scipy interface. It will be great to also support the versions implemented in IceTray in phys-services::ExtrudedPolygon. See also PR #13.

Support has been added in PR #17.

Closing issue, resolved in PR #17.


Add packages needed to build secureboot/ generate certs

What happened:
Tried building the _secureboot image variant and it failed due to missing commands
What you expected to happen:
I should be able to build the _secureboot image using ./build aws_secureboot_dev
The following packages/commands should be in the image:

efi-tools: cert-to-efi-sig-list
uuid-runtime: uuidgen

How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Environment:

Unclear if this package should be part of the dev image? https://github.com/awslabs/python-uefivars, cf:  https://github.com/gardenlinux/gardenlinux/blob/a2644846d713501989c6293ae9f0e78edbeefbdb/docs/02_operators/deployment/aws-secureboot.md?plain=1#L107C3-L107C45
Seems to be needed for creating the certificates for secure boot


Minor API changes after the first draft

Moved ISession to extend ISessionAsync, same for ITransaction and ITransactionAsync
Renamed SuccessAsync and FailureAsync to CommitAsync and RollbackAsync
Added experimenting implementation of Session.RunTransactionAsync

I ran the tests and get 7 of them failing. Could you just have a look at why they're?


Reduce usage of Apache Commons Lang 2

Replace usage of Apache Commons Lang 2 with Apache Commons Lang 3
As noted in #3408 there are two places remaining (MailTemplate) which can be replaced as soon as there is an alternative.
This fixes #3408

@kwin You were right, we should convert the on-prem bundle into a fragment; I did this as part of this PR as we will most likely need this once an alternative for the MailTemplate is available.

@kwin Do you think we can already apply this? The remaining usage will be replaced once an alternative API is available for Cloud Service


Clarity of expectations

should we have slides throughout the material that remind people that we don't expect them to memorize everything?

I don't want to harp on this to the point it gets repetitive.. but might be nice to remind at the start of week 2!


Geometry Dash 2.207 APK Free Download - Latest version For Android/IOS

Geometry Dash 2.207 APK – Download the Ultimate Rhythm-Based Adventure for Android/IOS
Geometry Dash 2.207 APK offers a unique blend of rhythm and platformer challenges, making it an exciting option for gamers who crave a dynamic and engaging experience. With new levels, challenges, and customizations, this updated version keeps players on their toes, ensuring a pulse-pounding journey through intricate landscapes. Designed by RobTop Games, Geometry Dash tests precision and timing, providing hours of gameplay that progressively increases in difficulty, perfect for those who enjoy overcoming challenges and reaching new levels.
Download : Geometry Dash 2.207 APK

Features of Geometry Dash 2.207 APK
Addictive Gameplay
Tap to jump and avoid obstacles in sync with rhythmic beats, navigating increasingly difficult levels.
Customizable Characters
Change the look of your character with a variety of shapes and colors, allowing for a personalized gaming experience.
New Levels and Soundtracks
Geometry Dash 2.207 comes packed with new levels and exclusive soundtracks, enhancing the immersive gameplay.
Practice Mode
Hone your skills with practice mode, ideal for mastering the game’s complex challenges before facing them in real gameplay.
Achievements and Rewards: Unlock unique achievements that showcase your progress and skills.
Gameplay
Players must navigate through geometric landscapes filled with obstacles, spikes, and platforms, all while keeping in time with the background music. Each level demands precise timing, fast reflexes, and keen concentration. The game’s signature feature is its rhythm-based action, where jumps and movements are synced with music, making gameplay both challenging and entertaining.

Closing this issue as a spam.


Add RE automation to Crossbow Crack Shot feat

The proposed rule elements introduces a new toggleable RollOption called Crossbow Crack Shot. It uses the DamageRoll key to upgrade the damage die of simple crossbows in the player's inventory, and adds a +2 circumstance bonus to the damage roll of the attack.


ARROW-5242: [C++] Update vendored HowardHinnant/date to master

This supersedes prior fix directly to the vendored code in #4213. This is not a released version of the project so we should endeavor to update to a released version once there is a release out including the VS2017 issue fix

Rebased. @pitrou any objections?

No objection from me.


Add page for the SLSA Tooling Project

There is a whole list of tools that are being developed in relation with SLSA and that currently don't have any official home in the OpenSSF governance structure. This PR fixes this situation by giving the "SLSA Tooling Project" a home page.

Yeah, I wasn't sure which project you'd want to list here. Happy to add or remove as you see fit.
--
Arnaud  Le Hors - Senior Technical Staff Member - Open Technologies - IBM

From: laurentsimon @.>
Sent: Tuesday, August 29, 2023 6:58:34 PM
To: ossf/wg-supply-chain-integrity @.>
Cc: Arnaud Le Hors @.>; Author @.>
Subject: [EXTERNAL] Re: [ossf/wg-supply-chain-integrity] Add page for the SLSA Tooling Project (PR #72)
@laurentsimon commented on this pull request. In slsa-tooling. md: > +This OpenSSF project aims at developing tools that support the SLSA specification with the goal of enabling the larger community interested in implementing
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
https://us-phishalarm-ewt.proofpoint.com/EWT/v1/PjiDSg!10-qKtYViVFwWY3TcIlOB7TkQfXE-XPaf-bmPL1vzivuhGfVSwXx24qJpQjP5SR3LLqPA7lh5uxMpFcf8v5khYhQPBi5vJXA3JaIi0U14jg_hwYxOqNCaWRRaT0$
Report Suspicious
ZjQcmQRYFpfptBannerEnd
@laurentsimon commented on this pull request.

In slsa-tooling.mdhttps://github.com/ossf/wg-supply-chain-integrity/pull/72#discussion_r1309116489:

+This OpenSSF project aims at developing tools that support the SLSA specification with the goal of enabling the larger community interested in implementing SLSA as a software producer or consumer.

+## Motivation
+
+The SLSA specification provides a framework to safeguard artifact integrity across any software supply chain. However it is just that: a specification. It leaves to the reader the hard work of figuring out how to implement it. This project aims at helping you in this effort by providing you with a set of tools that can be used, or that demonstrate how, to generate and verify SLSA provenance in different environments.
+
+## Tools
+
+The list of tools currently available includes:
+
+| Name | Repository | Description |
+| ---- | ---------- | ----------- |
+| SLSA GitHub Generator | https://github.com/slsa-framework/slsa-github-generatorhttps://github.com/slsa-framework/slsa-github-generator | A set of tools for generation of SLSA3+ provenance for native GitHub projects using GitHub Actions |
+| SLSA Azure DevOps Demo | https://github.com/slsa-framework/azure-devops-demohttps://github.com/slsa-framework/azure-devops-demo | A proof-of-concept SLSA provenance generator for Azure DevOps Pipelines |
+| SLSA Jenkins Generator | https://github.com/slsa-framework/slsa-jenkins-generatorhttps://github.com/slsa-framework/slsa-jenkins-generator | A proof-of-concept SLSA provenance generator for Jenkins |
+| TypeScript action + SLSA generation template | https://github.com/slsa-framework/slsa-actions-templatehttps://github.com/slsa-framework/slsa-actions-template | A template to bootstrap the creation of a TypeScript action and SLSA generation reusable workflow |
not sure we need this repo here. If we need to advertise it, we can do that on the SLSA GitHub Generator repo
@ianlewishttps://github.com/ianlewis wdut?
—
Reply to this email directly, view it on GitHubhttps://github.com/ossf/wg-supply-chain-integrity/pull/72#pullrequestreview-1600895452, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABRKI2XUBCEMDXNHTBDA4BDXXYNTVANCNFSM6AAAAAA4C4VWLU.
You are receiving this because you authored the thread.Message ID: @.***>


[1pt] Create app and install basic dependencies - Setup (group task)

Create React App.
Install React Redux, Redux Logger and React Router.

https://github.com/Dorcas126/space-travelers/pull/26


Hangs in error

Immediately after a clean install of VS Code, I install Cody AI and log in to the site, it works. But as soon as you restart VS Code, for example, open any project, Cody AI becomes unavailable, freezes with an error:
Activation event: onStartupFinished
Activation time: 362ms
Unhandled errors: (2)
Cannot read properties of null (reading 'toString')
Cannot read properties of null (reading 'toString')

https://github.com/sourcegraph/cody/assets/118297374/3f3c135f-629b-4152-a285-fea374dc0de6

Cody does not know what this behavior is connected with. Guys only hope for you))

Everything worked after the update


feat(config): Add additional validation checks and defaults

Add additional checks and defaults for config validation and loading

Current dependencies on/for this PR:

main

PR #69

PR #70

PR #71

PR #74   👈

This comment was auto-generated by Graphite.


Add/Update Badges on README

Closes #517

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@eric-horvat thanks for your contribution! Once you sign the CLA we can get it merged in!

Hello @eric-horvat,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Enslaved Dragon 2 (Nice to have)

Each new color of dragon augments the limit of dragons, to incentivize players to go and get the different colored dragons

So you start with only 6 possible whelps. Once you lvl them to ancient dragons, you cannot build anymore.
If you then unlock a new color, you get 6 more dragons "slots"

Dragonmaw aren't around at the moment so we probably need to revisit this if/when they're re-implemented.


Feedback [my impressions of the piano]

@LFeh
In my motoG4 and motoG3
Worked perfectly!
I think to give a realism would be nice to apply some persistance event by pressing the button. Like a delay.

Hey @daniloagostinho, can you explain this feature again?


add license

This licenses our project under Apache 2.0.

Since everyone holds authorial rights over parts of the code, I believe that this legally requires approval from all 10 of us.


Juju Doc Updates for v1.0.0

We've gone through and ensured the docs for Juju were up to date with the new 1.0.0 launch, and refactored where necessary.
As this doesn't touch the actual code I'm not sure if this is subject to the code freeze limitations or not, just advise on what you would prefer, and we will be happy to accommodate.

Thanks. We are merging doc changes up through Monday morning.
Please sign the CLA.
You also need to rebase and run hack/run-gendocs.sh.

Thanks for the review @bgrant0607. We seem to have an issue w/ the CLA bot, as both myself and @mbruzek have both signed the cla and made prior contributions, on a consistent basis. @erictune should be able to vouch for us on that front.
I'll make requested adjustments now.

I have signed the CLA.  I have previous contributions in the past
I thought I took steps to clear up so this problem does not happen again.  Can someone tell me what I need to do to get the CLA bot off my back?

Sorry. I didn't read the message carefully enough. This PR contains commits from 2 people. The message says: "We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google." I interpret @mbruzek's comment as consent.

Sorry. Please rebase again.

@chuckbutler - please rebase this PR

@wojtek-t @bgrant0607  - sorry for the delay, I've rebased and this should be g2g.


Handling links better / option to not show aliases

I created a hover definition, which is also a link. The only way to get the definition to work was to actually paste the entire link in the alias exactly how it shows on the page:

The problem with this is that links that appear in the definition popup are not formatted. It shows the actual markdown code for the link, so one of two options would be awesome.
If I try to add just an alias that is mysql plugin, it doesn't recognize it.

Definition popup with the ability to render links as a link / clickable
Add an option to the settings which disables aliases appearing in the definition popup.

Something else I noticed with the popup position. If the word is on the upper half of the screen and you hover, it's alright. The popup shows below the cursor.
But if you have the word on the lower half of the screen, instead of the popup finding some space above the cursor, it puts it right over the cursor.

Theme: Blue Topaz
Font Size: 14px
Obsidian: 1.5.12

However, I did set my theme back to default, unloaded my custom CSS files, and disabled all plugins except this definition plugin, which gave me the result:

I also restarted obsidian after turning everything off just to ensure nothing was left behind cached in the program.

Hmm I tried using the theme you mentioned, as well as setting the font size with varying zoom levels, all seem to work as expected. Perhaps you could test with a fresh vault with no plugins installed and see if the problem persists? It may be possible that some other plugins did not cleanup properly even after disabling, but I can't be sure.

Loaded up a fresh sandbox. Dark default theme is all I changed.

Okay I've managed to reproduce this issue. I've been using Obsidian with the "Hidden" window frame style. Using the window frame will cause the popover to mount at a wrong position, likely due to the offset added by the frame. Thanks for bringing this up, I'll open another issue to track this bug.

I've fixed that bug in the 0.16.2 update, the popover should appear in the correct position for you now.

oh, damn. I didn't even think about the fact of me having the window frame showing. I just do that because it makes some of the menu options easier to see.
Appreciate it. I'm a developer and that idea wouldn't even have popped up.

Ooh thanks for bringing up and debugging the misalignment issue. I'll fix the issue.
With regards to the popup position, to maximise the space available for the popup, I've made it popup towards the left if the word is beyond 50% of the viewport width. But yes, it probably needs some improvement if it goes into your sidebar file explorer.

For disabling alias, I'll add an option for it

Released a fix in 0.17.1, which should hopefully fix all the positioning issues you mentioned. The definition popover also shouldn't eat into your file explorer anymore.

Yeah, that works better. Appreciate all the fixes. Hopefully it'll fix other themes as well, since there's a few themes that enable full-width bars. Would be a pain if there has to be a individual fix for each theme.

Great! No worries. Yeah I hope so too.

Added the option to hide alias display in 0.18.0.


Device ID and Date filter interaction

Describe the bug
If we filter currently the date with the heatmap and then switch device ID and no data is available for that week for the new device ID, then the line chart won't change.
To Reproduce
Steps to reproduce the behavior:

Select a99
Click on the heatmap to filter for Jan 1
Select gabe1 as the device ID
See error: still showing a99 on the line chart

Expected behavior
If the callback is triggered by selecting a new device then the click data should be ignored and only the most recent measurements for the device should be shown. Tip: use callback context

Solved by JP - behaviour set to keep the selected date if available for the new selected device, otherwise jump to last available date.


Doesn't update geyser correct anymore

Using this download link in the config https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/spigot
It shows as the same for geyser spigot/paper download. The plugin when using /update says it downloads it with no other errors but geyser version report it outdated.
I'm using the build linked in my previous issue https://github.com/NewAmazingPVP/AutoUpdatePlugins/issues/12#issuecomment-2212506283

Hey @Josh65-2201 try this build out, I have noticed that my implementation to access GitHub workflow/actions is slightly flawed and causes issues like this, so I have disabled that feature until I can fix it. Please try this build out

Actually, nevermind, it seems like it was a small issue and there was no need to disable Github actions support. I re-added it, so I would appreciate it if you could test this build

Sure, I will says when geyser has an update available.

Sure, please try the new version and let me know. If it still persists, reopen this issue.

Geyser still doesn't update

@Josh65-2201 What's your bootTime in config.yml? Try setting it to something higher, like 250.

I have them both set to 99999. I use the update command before a server restart. I know it downloaded too because it's the first one on the list of 4.

@Josh65-2201 It seems to be downloading the latest geyser for me on a plain new server, could you try on a different server with no plugins?

Use the newest released version, and make sure to check that there isn't another geyser jar in plugins.

It's working with v9. I saw that it was downloading as .zip rather then .jar before so it wasn't replace the existing file.

Yes, that was the bug fixed with v9.0.


New block request for products

Page ref: https://www.mammotome.com/products/mammotome-confirm/
Please refer to the section with the text "Would you like to know more about the Mammotome Confirm™ system?"
The height should be flexible and image size reduced. When it's section metadata, the height of the area is maxed and cuts off content. The image is also oversized.
Most of the other product pages have this as a section as well.

@krizel4 I think it would make sense to implement a Callout block. For the moment, we can use this block for the product pages. Post-Go live, we can think about enhancing the block to cover the arc version as well. Thoughts?

Not sure if changes were made, but it actually looks fine now!  I told Jean-Claude that when we were creating this block during our call, the image was large and instead of the image auto-sizing within the block, it maintained its original size and the top and bottom of the image was cut off. Also, because the image was so large the text and button below it was cut off as well.


link to google forum

We need to have a link to the google forum and highlight that as a way to get in touch and ask questions of the SimPEG community: https://groups.google.com/forum/#!forum/simpeg

Complete


capa cluster templating

We now have giant swarm release v.20.0.0 for aws that uses the upstream CAPI and CAPA controllers. This version is a test version that is currently used internally. This PR adds templating for Clusters and Machinepools in this version to kubectl-gs so that our teams can create test clusters more easily.
The templates are directly pulled from upstream but we add our labels, cross account management and (most of) the options currently supported in kubectl-gs. The templates need to still be defauled by kyverno when they are applied.
Towards https://github.com/giantswarm/giantswarm/issues/17831

:) Pinged some more people for feedback. If it's okay with everyone I would like to merge this so we can create clusters and machinepools with v20.0.0 more easily.

@anvddriesch Would you mind adding some explanation to the PR? I don't know on what base to review, so something about goal/purpose/scope would be great. Also the repo is public, so some explanation would help users understand changes (in retrospect mainly).

@marians I have written a small summary in the PR description. I hope that helps. I will also add the CHANGELOG.

Thanks for adding the PR info!
User guidance
So how do I create a CAPA cluster manifest? I had to think hard to come to the conclusion that when adding --release 20.0.0 to the template cluster, I'll probably get a CAPA cluster manifest. I wonder whether we have to make that more discoverable, either in the command's usage info, or in documentation. (I'd say we SHOULD mention it in docs and MAY mention it in the usage info).
Regarding template cluster output
In the KubeadmControlPlane I see two strings that look like templates instead of values. Is that as it should be? Snippet:
spec:
  kubeadmConfigSpec:
    initConfiguration:
      nodeRegistration:
        name: '{{ ds.meta_data.local_hostname }}'
    joinConfiguration:
      nodeRegistration:
        name: '{{ ds.meta_data.local_hostname }}'

Regarding template nodepool output
Same question as above, is this fine in the KubeadmConfig?
spec:
  joinConfiguration:
    nodeRegistration:
      name: '{{ ds.meta_data.local_hostname }}'

I just noticed that template nodepool for v20 creates .status sections in the output (in the MachinePool resource). That's a bit strange to me. Can that be avoided?

I just learned from @calvix that our goal is not to make this discoverable by non Giant Swarm users, as it's only functional in test installations currently.

The spec values of KubeadmControlPlane and KubeadmConfig are filled in this way based on the upstream templating. I would leave it like this for now until we are more familiar with the creation of CAPI clusters and can add our own templates.
The same is true for the Machinepool status, but I agree that it is odd. I'll try what happens if we remove the status at least.
And yeah, the goal for now is just for us in giantswarm to be able to create clusters and experiment with v20.0.0.


fix the link to the docs.rs team on rust-lang.org

the link to the docs.rs team on https://www.rust-lang.org should be https://www.rust-lang.org/governance/teams/dev-tools#team-docs-rs
The anchor seems to have changed from #docs-rs to #team-docs-rs

Good catch, thanks!


Support firecracker 0.17.0 API

The SDK currently is based on the Firecracker 0.15.x API. The current release is 0.17.0, and there have been some breaking changes to the API specification.

Merged #101


Issue/864

Hey! I'd like to contribute to kargo and this is my first PR, meant for https://github.com/akuity/kargo/issues/864

@gdsoumya, fyi, this seems to be a problem in general... I opened #1098 over this.

This has the potential to clash with #1102/#1148, which I noted here was a possibility.
That clash is resolvable through the right permissions (permission to list Kargo resources across all namespaces), but I am trying to wrap my head around how likely/frequently that will be given out.
Ultimately, I am curious if we're doing this because there's a demonstrable need for it or just because kubectl has -A, so we feel the need for something equivalent. Put another way, how often do we suppose someone will want to see Stages, Freight, or Promotions across projects? What sort of workflow does that support when most everything one does in Kargo is scoped to the project-level?
@christianh814 let's chat offline about this?
@maksimstankevic I'm also interested in hearing your perspective. Is this PR purely altruistic (thank you!) or do you have a personal need for this feature? I think hearing the perspective of an actual user will help to make a more informed decision about this.

I'm closing this PR as it looks like now  https://github.com/akuity/kargo/issues/1098 is standing in the way and it's not clear "--all-projects" option for get commands will live.

The clash is actually with #1148
Just to put some closure on this for anyone following...
#864 was opened more from a parity-with-kubectl perspective and not out of a demonstrated need for the feature. If it weren't for the clash with #1148, that would have been fine, but reconciling these two things isn't worth the effort until there's a demonstrated need for #864.
If that need ever arises, this will be re-opened.
Thanks for the effort that went into this @maksimstankevic.


Add ability to install Gatekeeper into separate namespace from operator's namespace

Currently in Kubernetes we support installing Gatekeeper into any namespace as long as that namespace is also where the operator is running.
This issue tracks the work necessary to have the operator install Gatekeeper into any namespace separate from where the operator is running.
On vanilla Kubernetes, the operator may be running in one namespace, but the user may want Gatekeeper to be installed to the gatekeeper-system canonical namespace, or another namespace separate from the operator's namespace.
On OpenShift, the operator may be installed into the openshift-operators namespace, but the operator should install Gatekeeper into a canonical namespace e.g. openshift-gatekeeper-system.
We should consider adding a namespace field to the Gatekeeper operator custom resource so the user could select which namespace is desired, and the operator should use a sane default if the user leaves it empty. This would require the operator to have permissions to create namespaces. Is this desirable?

We should consider adding a namespace field to the Gatekeeper operator custom resource so the user could select which namespace is desired, and the operator should use a sane default if the user leaves it empty. This would require the operator to have permissions to create namespaces. Is this desirable?

Such a namespace field would need to be immutable. Currently K8s CRDs does not have built-in support for immutability using the readOnly OpenAPI feature, but it is being worked on. See the KEP for more details.
Instead, we'd need to use a validating admission webhook to enforce immutability. However, considering the CRD support is being worked on, it would be preferable to use that approach if it will be resolved in the foreseeable future.

@font, what's the current status of this? I was recently exploring installing the gatekeeper operator into different namespaces because in ROSA clusters, there is an admission webhook which prevents making new namespaces that start with openshift-. It seemed like the operator could be installed in an arbitrary namespace, but it was always installing gatekeeper into openshift-gatekeeper-system?

@font, what's the current status of this? I was recently exploring installing the gatekeeper operator into different namespaces because in ROSA clusters, there is an admission webhook which prevents making new namespaces that start with openshift-. It seemed like the operator could be installed in an arbitrary namespace, but it was always installing gatekeeper into openshift-gatekeeper-system?

There has been no progress on this as we are waiting for immutability support in CRDs before adding a namespace field to the CR to allow the user to pick the namespace to install Gatekeeper. The reason the operator installs GK to openshift-gatekeeper-system is because without giving the user the option (e.g. with a field in the CR) due to the problems described in this issue, we had to pick a canonical namespace to install Gatekeeper outside the openshift-operators namespace used to install the operator. We had to choose something with the openshift- prefix because we cannot guarantee the user doesn't already have the <pick-non-openshift-prefixed-namespace-name> name used up.
What admission webhook is preventing making new namespaces prefixed with openshift-? How can we make the webhook allow this? There is precedence here as there are other operators that do this as well. For example, the OpenShift Pipelines operator installs to openshift-operators and then installs OpenShift Pipelines to the newly created openshift-pipelines namespace.

What admission webhook is preventing making new namespaces prefixed with openshift-? How can we make the webhook allow this?

Great questions, digging into this helped me understand why the "upstream" gatekeeper operator (installed via this ocm policy) wasn't working on ROSA  but the "downstream" one (installed via this ocm policy) was working on ROSA. I believe the webhook is this one: https://github.com/openshift/managed-cluster-validating-webhooks/blob/master/pkg/webhooks/namespace/namespace.go
Service accounts in an openshift namespace are able to create new openshift namespaces. Via the ocm-policy, the "downstream" operator is installed into openshift-operators, so the operator can create the openshift-gatekeeper-system namespace.
I had recently changed the "upstream" operator policy to create and install into the gatekeeper-system namespace, since the configuration policy controller could not create the openshift-gatekeeper-operator namespace (since the policy controller is not in an openshift namespace). That policy still doesn't work on ROSA - it now installs the gatekeeper operator, but the operator can't create the Gatekeeper operand because it can't create the openshift-gatekeeper-system namespace. So that policy might need to be updated again.
TL;DR - installing the operator into openshift-operators will get around the admission webhook.

I think this line in the original issue is confusing:

Currently we support installing Gatekeeper into any namespace as long as that namespace is also where the operator is running.

At this point, Gatekeeper is installed into either openshift-gatekeeper-system or gatekeeper-system, depending on whether the operator detects that it's in an OpenShift cluster. It does not install Gatekeeper into the same namespace where the operator is running.

I think this line in the original issue is confusing:

Currently we support installing Gatekeeper into any namespace as long as that namespace is also where the operator is running.

Ah yes, I've now updated the sentence to specify Kubernetes as this issue (and the operator in general) is primarily targeting Kubernetes.

At this point, Gatekeeper is installed into either openshift-gatekeeper-system or gatekeeper-system, depending on whether the operator detects that it's in an OpenShift cluster. It does not install Gatekeeper into the same namespace where the operator is running.

Where are you seeing that behavior? On Kubernetes, the operator installs Gatekeeper into the same namespace as the operator and this issue is primarily referring to that limitation. It's only on OpenShift that the operator uses a different canonical namespace openshift-gatekeeper-system.


Add flash notice when balance is not enough

I found a few things testing it out:

It doesn't seem to work if my balance is 0
The x on the notification doesn't have a cursor pointer
The notification rectangle is on top of the zoom controls
If I click in two parcels without waiting for the notification to go away, the time it's displayed isn't consistent (it disappear quickly). I don't think this is a dealbreaker

If I use the app with Metamask locked I am redirected to http://localhost:3000/walletError (expected) but unlocking and pressing the Decentraland logo leads me to a perpetual loading indicator. This is not happening on master, it's due to the removal of connectWeb3 on HomePageContainer

Not a dealbreaker: I'm a bit lost with the implementation. Why not a FalshContainer that handles the timeout that's now found on utils (with React in it) and adding that to the HomePage component ?
The modal was added in this way and sits on top of the other components when rendered. Further, it's almost the same as adding another HTML element on index.html but without escaping React

Not a huge deal: the notification it's on top of the modals and looks a bit weird:

Thanks for the comments, going through them now


Editor crashes when selecting more than 5 lines and duplicating keyframes in the animation editor

3.2.2 stable

Windows 10 64bit, Nvidia 1070

Selecting multiple lines in animation player in order to duplicate keyframes crashed Godot .. however selecting only up to 5 lines with keyframes and then duplicating worked fine.

Images attached describing selection which produced crash, and another one with success on copying when less then 5 lines duplicated at the time.

Minimal reproduction project:

@zkukulj If you can still reproduce this on Godot 3.4.3 or later, please upload a minimal reproduction project to make this easier to troubleshoot.

Closing due to lack of response. Please comment if you can still reproduce this bug.
PS: If no minimal reproduction project was included in the original bug report, please upload one as well to ease troubleshooting.


Add optional what is my zipcode link

There are countries without "zip code" culture, which is the case of Colombia; people really don't know what their zip code is. The map relies on this, so it's useful for people to have a link to figure out what their zip code is as opposed to them just filling in a random number

@adriaanvanrossum / @michaelmcmillan new config value :)


unique style per child when dynamicly generating them fails

class Test extends Component {
  renderItem(i) {
    const colors = ['red, 'green', 'orange'];
    return (

        we are the same color

  }
  render() {
    let items = [0,1,2];
    return (

        {items.map(this.renderItem)}

    )
  }
}

Expected:
3 lines in 3 different colors
Actual:
3 lines with the same color (last one used, orange in this case)
Removing the look={..} part will render the items in 3 diferent colors, as expected
I am guessing since it is the same dom element that gets assigned the style only the last one is applied. This is probably a closure capturing the values and nog checking the current value.
Do you have an idea how to fix this?

I will check that tomorrow. Had no time till now :/

One option would be to use stateful styles for now. e.g.
    color: (props) => colors[props.colorIndex]
}

// combined with
return we all have different colors

I recommend not using a style-tag at all, but I will check that issue right after dinner.


Investigate  when the span's starting range is more than the end range

Problem
Here we check if range.start > range.end . This is quite unusual and @jfecher mentioned that it's possibly a bug in the parser combinator we use.
Suggested Fix
Investigate and confirm the reason for this and write a comment above the function explaining it

Link to comment in PR: https://github.com/noir-lang/noir/pull/153#discussion_r798768557

@jfecher what's the status on this?

I'll look into it again. I believe it was an issue with a specific commit in chumsky that may have been fixed since.

This is fixed as far as I remember.


What is the advantage of this repo versus compiling Godot with disable_3d=yes?

Just curious :-)
See: https://docs.godotengine.org/en/stable/contributing/development/compiling/optimizing_for_size.html#disabling-3d

In Pixel Engine project, the aim is to create a lightweight editor and engine by removing most of the 3D code. While the process of disabling 3D functionality in the Godot engine is still a work in progress, the objective remains the same: to eliminate all 3D code from the export templates. However, optimizing this process may take longer as the focus is on performance for both 3D and 2D aspects. The ultimate goal of the project is to create an engine that is completely free of 3D code. This will enable the development of a more efficient and customizable 3D disable feature for the Godot Engine, where the 3D files can be separated into their own folders and disabled during the building process for both the Editor and Export templates.

Also we are working towards optimizing Godot Engine 2D performance. please have a look on this article.
Introduction
After three years of working with Godot, I wanted to share my feedback and insights on this powerful game development engine. As a dedicated user of Godot, I have experienced both its strengths and areas where improvements could be made. Through this feedback, I hope to contribute to the ongoing development and growth of the Godot community. Let's dive into the details and explore the strengths and areas for improvement in Godot!
By default, Godot's core features and functionalities are bundled together in a single monolithic binary. This can make it challenging for developers to selectively include or exclude specific features based on their project requirements. This lack of modularity can result in larger binary sizes and potential overhead.

3D within 2D and 2D within 3D!
One of the touted strengths of Godot is its capability to seamlessly integrate 3D elements within a 2D environment and vice versa. While this feature is often highlighted as a major selling point, it is important to acknowledge its limitations and clarify any misconceptions that may arise.

The Role of the Dedicated 2D Engine in Godot and Modularity!
Most 2D games don't require the use of meshes or advanced 3D features. While Godot has a dedicated 2D engine, it doesn't provide a straightforward option to fully disable 3D functionality. This can be seen as a limitation, especially for developers who want to create purely 2D games without any overhead or unnecessary features.
It may seem counterintuitive to have a dedicated 2D engine within Godot without the ability to exclusively use the 2D engine. Godot is designed to be a flexible and versatile game engine that can support a wide range of game development needs. By including both 2D and 3D capabilities, Godot allows developers to seamlessly blend the two and create hybrid games that incorporate elements from both dimensions. This flexibility caters to developers who may want to experiment with mixed 2D and 3D gameplay or transition from 2D to 3D gradually.
When considering the default inclusion of certain nodes in Godot's dedicated 2D engine, it's important to acknowledge that while many games are made with Godot, only a few utilize nodes such as Tree Node, Graph Node, and TextEdit Node. Additionally, it is rare for 2D games to make use of 3D nodes. This raises the question of whether including these nodes by default is the best choice.
One suggestion is to have a stronger, more separated editor that is decoupled from the engine. This editor could ship with the ability to build export templates internally, allowing users to include or exclude specific features and nodes as desired. Furthermore, this editor should be easily installable and updatable without being sandboxed.
While the current inclusion of certain nodes by default in the Godot editor aims to provide consistency and ease of use, as well as a close integration between the editor and engine, the concerns raised highlight the need for a more streamlined and customizable editor experience. Such an editor would cater to the specific needs of developers, offering greater flexibility and efficiency in game development.
Conclusion

Lack of an optimized, dedicated 2D engine: Godot's dedicated 2D engine lacks the ability to have a standalone 2D engine that is small in size and optimized specifically for 2D games by default. This can result in unnecessary overhead and features that are not needed for purely 2D game development.

Unique shader language not optimized for 2D games: The shader language in Godot is not specifically optimized for 2D games as it combines both 2D and 3D shading languages. This can make it challenging to achieve optimal performance and efficiency for 2D graphics rendering.

Full-featured engine by default: Godot's default configuration comes with a comprehensive set of features, which may not be necessary for all game projects. This can lead to larger file sizes and potential performance overhead for games that don't require all the included features. However, manually building the engine to disable specific functionalities can be a challenging and time-consuming process, especially when it comes to generating export templates for different platforms.

Solution
After discussing this with Aaron, he highlighted the engine profile system in Godot. This system allows us to automatically generate a list of classes used by the current project and exclude any unused ones during registration. By leveraging the linker, any dead code, including exposed but unused elements, is automatically removed. While this approach may not be as comprehensive as disabling code with compile flags, it still significantly reduces unnecessary engine code. Aaron has also submitted pull requests that focus on optimizing 2D performance.
For specific 3D disabling, you can check out the following pull requests:
Move 2D and 3D resources to their own folders
Disable registering 3D physics types when 3D is disabled
Move 3D scene import classes to their own folder
These pull requests aim to provide a better disable functionality for 3D features in both the Godot editor and engine.
By utilizing the engine profile system and exploring these pull requests, developers have more control over optimizing their projects and reducing unnecessary code.
To properly explore the possibilities of a 2D-optimized Godot experience, I am maintaining a fork of Godot called Pixel Engine. Longer term I would love to contribute these changes upstream.
Pixel Engine removes most 3D functionality. Building the editor with the optimize=speed option from this repository showcases the significant speed improvements—twice as fast—particularly for pure 2D game development. This repository demonstrates the benefits of removing 3D features from the engine and editor. Feel free to check it out and see how it can enhance your 2D game development experience.
also we have some plans that we can work on:

Provide an action template that can be copied alongside the custom build script generated within the Godot editor. This template should simplify the process of building all export templates at once, without requiring complex C++ setup or the need to download additional tools like Visual Studio or Android Studio. Additionally, a tutorial should be created to guide users on how to utilize these templates effectively.

Focus on enhancing the disable functionality for 3D features in both the Godot editor and engine. The goal is to achieve a comprehensive disable, rather than a partial one, to avoid the need to make modifications to components such as Navigation, Astar, particles, and the OpenGL and Vulkan renderers. Ensuring a full disable of these elements is important, as they may rely on 3D code or scripts in their implementation.

By addressing these points, we can provide developers with a better experience when it comes to building export templates and disabling 3D features in Godot.
collaboration
We invite developers to join us in our efforts to enhance the 2D performance of Godot. Together, we can work towards optimizing the engine and making it even better for 2D game development. If you're passionate about improving the performance of Godot and want to contribute your skills and ideas, we welcome you to join our community. Let's collaborate and create a more efficient and powerful 2D game development experience with Godot. Here are our Discord usernames:
@aaronfranke
@whalesstate
Feel free to join us on Discord to discuss and collaborate on improving the 2D performance of Godot. We look forward to connecting with you!


Travis-ci builds fail periodically

There seems to be some sort of non deterministic behavior where some of the travis builds fail. Restarting the failed build(s) seems to always result in success.

The evidence would suggest #56 fixed this issue.

No evidence of this issue since #56, considering this resolved.


Error with registry password

After building and pushing the container image my github action (which uses  azure/container-apps-deploy-action@v2) fails with the following error:
WARNING: Adding registry password as a secret with name "ghcrio-***"
ERROR: (ContainerAppInvalidPropertyValue) Property 'secrets.name' has an invalid value 'ghcrio-***'. A value must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.

The azure login, as well as the ghcr push itself succeeds, so I assume my credentials are correct. Is there something I've mis-configured?

I'm assuming it's your GH username used for creating the secret. So ghcrio-*** is actually ghcrio-JohannesByle which according to Azure is not a valid format for the name of a secret. The error message points out that "A value must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character".
I'm encountering a similar issue where the format of my username doesn't satisfy the requirements set in Azure...

Yeah, extremely frustrating and I'm guessing it's something that has to be fixed in the Azure CLI rather than in this action


Multithreading tests and diagnostics

Addresses this FIXME. Also adds tests for the // Multithreading extension.

@swift-ci please test

/home/buildnode/jenkins/workspace/pr-swift-driver-linux/branch-master/swift-driver/Tests/SwiftDriverTests/SwiftDriverTests.swift:169: error: SwiftDriverTests.testMultithreading : XCTAssertEqual threw error "unableToFind(tool: "clang")" -
Not sure what's going on here - the tests don't do anything special 🤔

Hmm. Perhaps you need to add an explicit -target to your Driver invocations, e.g., as in nhttps://github.com/apple/swift-driver/blob/master/Tests/SwiftDriverTests/SwiftDriverTests.swift#L232

Every time I've run it on Linux, clang has been in my PATH. Is it not in the PATH on the bots?
Also, we really need to figure out toolchain-relative lookups :/

Every time I've run it on Linux, clang has been in my PATH. Is it not in the PATH on the bots?

Also, we really need to figure out toolchain-relative lookups :/

Yes, definitely.

https://github.com/apple/swift-driver/blob/master/Tests/SwiftDriverTests/SwiftDriverTests.swift#L232

@DougGregor so this should work? I only have access to a Mac at the moment so I can't really test this. Also, the test failed only on the last assert - should I add the target only there or to all the invocations?

Added the target argument to the one failing assert for now.

@swift-ci please test

@swift-ci test

@DougGregor now it failed on the other test - added target there as well, hopefully this will finally pass. I'm sorry about all the hassle for such small changes 😞

@swift-ci please test

@swift-ci please test

No worries; we need to figure out how best to find tools within our toolchain so these tests will become target-agnostic, but that's a separate issue.

@DougGregor thanks! Should I open a PR to make some other diagnostics internal? If so, which ones?
Better yet, is there a place to discuss this project on the Swift forums? https://forums.swift.org/c/development/tooling?

Yes, I think I'd like to make all of the diagnostics internal. For discussions, I recommend https://forums.swift.org/c/development/compiler


Fix HIX value diff when adding empty lines

Short description
Currently HIX value can be manipulated by adding empty lines in a page, because if we send text with empty paragraphs to the TextLab API, it returns a better HIX value.
Proposed changes

Enhance normalize_text function:

remove empty paragraphs
add a div tag as root, if it's not there (it covers the case when the text has one non-empty paragraph + one or more empty paragraphs)

Add unit tests for normalize_text function

Side effects
No?
Resolved issues
Fixes: #2577

Pull Request Review Guidelines

This definitely needs to happen for a stable HIX evaluation, but I'm not sure whether we should apply this to translations the moment they get submitted. It might make sense to use empty paragraphs to visually separate things. Except if we regard situations like this as already too complex, where they should rather be restructured e.g. using more headlines / with a deeper hierarchical structure to be easier to understand. But if not, I think removing empty paragraphs only when preparing data to send to the textlab API might be better.
Another random thought: What happens with if not p.text.strip(): when the paragraph contains an arbitrary assortment of  ? And what would we want it to happen?

Out of curiosity @seluianova, what's the intended purpose of this part?

@charludo sure, the thing is:
This text One paragraph and this text One paragraph will get different HIX values.
Normally, if the text has only a single paragraph, there is no div tag.
But, if we get one paragraph + empty lines, there will be a div tag.
After removing the empty lines, there will be a div tag with one paragraph inside.
So one option was to always add a div tag.
Or
Remove the div tag, if there is the only one paragraph.
I did the first one, because I had no arguments why the second one would be better.

I think removing empty paragraphs only when preparing data to send to the textlab API might be better.

Isn't this exactly what this PR does though

You're right, sorry for the confusion. I assumed it was also called as part of the clean() method in the forms.


nfc.addMimeTypeListener re-opens the app again (phonegap)

So I'm trying to send information from one phone to another through NFC using phonegap. I want whatever information I send from one app to be saved as a variable at some point so I can either display it, manipulate it, etc. The issue I'm having is that whenever I try to send a text from one phone, it just opens up the app but does not display the text like it should. I have a custom Mimetype and an intent filter set up to open up the app on the other phone, so I don't believe that to be the problem.I think I may be using the addMimeTypeListener function wrong but am not too sure. Any help in clarifying my issue would be appreciated.
Here is where I call the addMimeTypeListener function in the deviceready function:
deviceready: function () {
document.getElementById('checkbox').addEventListener('change', app.toggleCheckbox, false);
sample.addEventListener('click', app.showSampleData, false);

nfc.addNdefListener(
    function() {
        app.notifyUser("Found an NDEF formatted tag");
    },
    function() {
        app.notifyUser("Success.");
    },
    function() {
       app.notifyUser("Fail.");
    }
);
nfc.addMimeTypeListener(
    "text/shunt",
    parseTag,

    function() {
       app.notifyUser("Success");
    },
    function() {
        app.notifyUser("Fail");
    }
);

},
Here is where call the parsed tag function
function parseTag(nfcEvent) {

var records = nfcEvent.tagData;
for (var i = 0; i < records.length; i++) {
var record = records[i],
p = document.createElement('p');
p.innerHTML = nfc.bytesToString(record.payload);
display.appendChild(p);
app.notifyUser(p);
}
And here is my intent filter just for reference
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
    <intent-filter android:label="@string/launcher_name">
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    <intent-filter>
        <action android:name="android.nfc.action.NDEF_DISCOVERED" />
        <data android:mimeType="text/shunt" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>

I've been trying to follow chariotsolutions examples in order to understand how it works but still not having much luck.
Thank you.

@Farynx in the past adding android:noHistory="true" to the activity xml would stop Android from launching a new app. I'm not sure it it still works.

@Farynx did adding those flags help?

@don we ended up combining your reading nfc code and your peer to peer nfc code and it worked. We did not try changing the xml file. Thanks anyway for the suggestion.

@Farynx sounds good. Let me know if there's any documentation or code that needs to be updated.


pokemon with extremely high spawn timer

anyone else having the issue where pokemon have timers that are like 300+hrs. most of my map is full of them and to really use it i have to remove them all. and they reappear after i refresh or close and open the app.
any help to fix this permanently would be much appreciated.
thank you and have a good day.
@RTL

i have the same problem

#967

#934


I am going to send you some more typos

I would really appreciate additional directions or a link to the directions to run SPMLJ on my computer.
Do you want me to add adjustments to the code to my pull requests?
The current code dates back to Julia version 1.7 and I am using version 1.10.3.
From:
https://github.com/sylvaticus/SPMLJ/blob/main/lessonsSources/01_-_JULIA1_-_Basic_Julia_programming/0103_-_Predefined_types.jl
Examples
174 findall(x -> myComparitionWith1(x), [2,1,3,1])
408 mydict = Dict([k=>v for (k,v) in zip(k,v)])

Should if I am right be:
174 findall(myComparitionWith1, [2,1,3,1])
408 mydict = Dict( zip(k,v))

I know I messed up. I should have tested it before I sent it. If you can send back both of them I will fix and test them.
The fix I know needs to be made is on line 459 newYearEvenDinner. The 'n' between "Eve" and "Dinner" needs to be removed to match my other changes.

Sorry, I have participated at the "weekends without screens" so I read only now.
I'll look on all these later today....

No worries. I have plenty of things to keep me busy.
I hope you had a great weekend
George
On Mon, May 6, 2024 at 1:03 AM Antonello Lobianco @.***>
wrote:

Sorry, I have participated at the "weekends without screens" so I read
only now.
I'll look on all these later today....
—
Reply to this email directly, view it on GitHub
https://github.com/sylvaticus/SPMLJ/issues/8#issuecomment-2095250909,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEU3WG4EPOXVKWKITL445DDZA4MKJAVCNFSM6AAAAABHHDIOCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI2TAOJQHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello, a few comments:

It doesn't matter if you are on Julia 1.10. Julia (and its packages)  follow "Semantic Version" style versioning, you can read the details here, but in short, everything that runs on JuliaOrPackage 1.x.y is guaranteed to run until 2.0.0 (excluded) (the opposite is not true). So If you are in Julia 1.10, no issues, the code, at least for the Julia Base itself, should work with no issues.
To run the code locally on your computer, just clone the repository, or even better, first fork it on your GitHub and then clone your own fork.
If you want to run also che quizzes locally, you need to build the documentation locally. Normally people don't need to do that, as they can answer the quizzes directly online, but if you need it locally, you just need to execute the code in makedoc.jl. The deploy section will not be executed, but you will find the compiled documentation, quizzes included, as HTML  pages on the buildedDoc folder

The findall and mydict examples that you highlight, work in both ways (the way in the course and the way you wrote them above). The versions as they are written now are just a bit more verbose, but feel free to use the shortened versions if you prefer

I don't understand the newYearEvenDinner issue. The only pull request I had from you (that I have accepted and pushed) doesn't involve that variable. Currently, as it stands in the course, that variable is used 5 times in a consistent manner (it is always newYearEvenDinner), so it is fine for me...


TOFIX pauseOnHover implementation

pauseOnHover misbehaves when mouse moves too quickly many times over the item.

https://github.com/mubaidr/vue-swimlane/commit/95a9e5acb6d0dde9fc902d458fde0d631b0b8bee


we should only have exactly one subview error returned

Originally posted by @brentvatne in https://github.com/wix/detox/issues/86#issuecomment-294999613

Error happens when you call .toBeVisible() on a ScrollView element.

You posted too few details, it can not be understood where and when this happens.
Please follow the issue template.

Sorry, I don't have the bandwidth to look at this. If someone else wants to take go ahead. Otherwise, don't call toBeVisible on a scrollview


Graph Widgets are VERY slow with crossjoin queries

Example is in ZPM analytics

The problem is fixed in 3.1.17


Declaring dependency without a group should be made more convenient

In the past we implemented a library - according to their documentation - like this:
repositories {
  flatDir { dirs "libs" }
}

depedencies {
  implementation(name: 'NameOfThatAarFile', ext: 'aar')
}

We have put the file (NameOfThatAarFile.aar) into the libs/ dir and everything was good.
Converting this to Kotlin is a little bit strange currently. I tried something like this first:
implementation(name = "NameOfThatAarFile", ext = "aar")

But that is not working. Because the extension function of Configuration (in DependencyHandlerScope) has this signature:
    operator fun Configuration.invoke(
        group: String,
        name: String,
        version: String? = null,
        configuration: String? = null,
        classifier: String? = null,
        ext: String? = null
    ): ExternalModuleDependency

Means, I have to add a group:
implementation(group = "", name = "NameOfThatAarFile", ext = "aar")

👆 This works, but looks really odd.
Expected Behavior
I want to use
implementation(name = "NameOfThatAarFile", ext = "aar")

without adding a empty group.
Current Behavior
I have to add a empty group...
implementation(group = "", name = "NameOfThatAarFile", ext = "aar")

Context
See everything above 👆
I have checked out other extension functions from the DependencyHandlerScope but haven't found something useful.
So I think it is currently a "limitation"(?) of Kotlin-DSL?
Maybe a solution would be to make the group optional?!
    operator fun Configuration.invoke(
        group: String = "",
        name: String,
        version: String? = null,
        configuration: String? = null,
        classifier: String? = null,
        ext: String? = null
    ): ExternalModuleDependency

Steps to Reproduce (for bugs)
This is a Android project. Don't know if it works on pure java libs as well. But the following:

Create a new Andorid project
Put a *aar file into the app/libs dir.
Use the code from above to use the aar as library

Your Environment
Gradle: 4.7
I think a Build-Scan isn't needed here?!

Sorry for the late reply.
This feature request is in the backlog of the relevant team and is prioritized by them.

What Gradle needs to do here is support declaring file identifiers for things that are only found in flat dir repositories.


Is it possible to preview the unit?

Is it possible to preview the unit to be operated on? Like adding some highlight?

Hi @kuator ,
Absolutely, you can first highlight it and then delete it.
Make sure to have this mapping:
vnoremap x :lua require"treesitter-unit".select()<CR>

Then press vx.
Best regards,
David

Thank you, but I was thinking about something similar to set cursorline but for unit, like, the unit is always highlighted and the highlight gets automatically updated when I move cursor, so I can see what's about to be deleted or yanked or another operation.

Ah, I see, that's an interesting suggestion, let me investigate.

Hi @kuator,
I've just added a new feature to highlight the region:
:lua require"treesitter-unit".enable_highlighting()

See here for more information.
Thanks for this suggestion and best regards,
David

Amazing! Thank you!


[FEATURE] Add devfile for PDK

Describe the feature
Several customers have requested devfile support for the PDK such that they can open up a supported IDE (Cloud9, VSCode) with all of the required dependencies already configured.
Use Case
Several customers have requested devfile support for the PDK such that they can open up a supported IDE (Cloud9, VSCode) with all of the required dependencies already configured.
Proposed Solution
Create a devfile and update the pre-requisite docs accordingly.
Other Information
No response
Acknowledgements

[X] I may be able to implement this feature request
[ ] This feature might incur a breaking change

PDK version used
latest
What languages will this feature affect?
Typescript, Java, Python
Environment details (OS name and version, etc.)
all

keepalive


GCN and multi-label classification

I would try to use the gcn for node classification but i noticed that it is not implemented yet in the edcoder.py . I think that you have only to add a few lines of code after the call of gat (also you have to add "from .gcn import GCN")  :
elif m_type == "gcn":
mod = GCN(
in_dim=in_dim,
num_hidden=num_hidden,
out_dim=out_dim,
num_layers=num_layers,
dropout=dropout,
activation=activation,
residual=residual,
norm=norm,
encoding=(enc_dec == "encoding"),
**kwargs,
)
Is possibile to use this framework to do a multi-label classification? Do you have some advice to do it?

@MatteoSorge Thanks for your attention to our work!

Yes, you are right. It is very convenient to add other GNN backbones, such as GCN, as the encoder by just replacing the model. We could consider adding other  GNNs later, or you can add one if you need it.
Our framework is independent of downstream tasks. To adapt to multi-label classification,  the only thing you have to do is to modify the training of linear probing and change the loss to multi-label criterion. And it would work.

Hope it helps.


Sub-optimal default attribution

https://github.com/darribas/contextily/pull/43 added a default attribution text (original discussion about it in https://github.com/darribas/contextily/issues/25).
However, I am opening an issue to argue that this default is not really optimal IMO:

For many plots, the text is too big and "falls off" the image.
Eg, just using all defaults and plotting the NYC boroughs gives me:
import contextily
import geopandas

df = geopandas.read_file(geopandas.datasets.get_path('nybb'))
df = df.to_crs(epsg=3857)

ax = df.plot(ax=ax)
contextily.add_basemap(ax)

gives

(which doesn't give a good first impression I think)

It hardcodes the text, making this only applicable for the default tile provider.
Which means that once you specify another provider / map style, you also need to specify the attribution text to make your figure not incorrect.

Both are probably fixable (for the first, we might need to somehow detect what the text size can be given the image size, not sure if that is possible with matplotlib. For the second we might need more complex provider definition with additional attributes).
But personally, until those are fixed, I would remove the default addition of the attribution text (in the idea of better no attribution than a sub-optimal one). To be clear, in that proposal, we of course would keep the generic functionality added in the other PR, so you can still manually add an attribution with add_attribution or specifying the text.
Thought on disabling the attribution text by default for now?

Closed by #91, #94, #96


[WIP] [Do-not-merge]Add support for setting attributes on messages in SQS

This PR makes it possible to set the SQS attributes on messages. The attributes can be used to filter out messages on a more granular level than messageType.
This only adds support for filtering using SQS. Adding filtering on a programatic level would require some more work as we would like to do the filtering before we read the actual message.
An example where this would be useful is if you only want to listen to purchase messages that was created for the invoice checkout method. If we from the purchase service set an attribute called checkout-method=invoice the invoice-service could terraform to only listen to purchase messages that has that attribute/value combination on them - thus limiting the noise in the message handler.
From the AWS doc:
Amazon SQS provides support for message attributes. Message attributes allow you to provide structured metadata items (such as timestamps, geospatial data, signatures, and identifiers) about the message. Message attributes are optional and separate from, but sent along with, the message body. This information can be used by the consumer of the message to help decide how to handle the message without having to first process the message body. Each message can have up to 10 attributes. To specify message attributes, you can use the AWS Management Console, AWS software development kits (SDKs), or Query API.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
Filtering:
https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html

Nice work and a really useful feature! 👍

Sorry, could you please wait a bit?

Added second commit, could you please have a look, @rillard? Thanks. 😄

Nice indeed! Am I the only one that feel at least a tiny bit of reluctance, as this ties us deeper into SQS-specific functionality that's not easily found in other message buses? anyway: I'm fine with this anyway :)


batch_or_epoch and epoch will not chage as specify value in .yaml

I have encountered a small issue that the "train" settings are always :
batch_or_epoch : "epoch",
local_update_steps: 1
no matter how I change those values in my .yaml file.
Thank you

Hello, could you please provide your running command and the contents of your YAML file?


New release

Now that #91 has been merged, can you create a new tagged release and version bump so that the latest set of changes are published to npm? Whenever you are done with any other changes, it would be much appreciated. Thanks Liam :)

Sorry for the delay, just pushed a new release, try it out!


After a deletion of a node, the nodes do not react to a change event

Having deleted a node, you can switch the nodes in the lower bar, but the conent of the page does not change respectively.

fixed


Notebook as scripts

From @seeM

Since this is such a thin wrapper, it might be move convenient if this could be achieved by piping nbprocess_export to python, e.g:
nbprocess_export —stdout script.ipynb | python -

(The --stdout option doesn't exist yet.)

That seems very doable!

I was also thinking about this for a bit and came up with this which involves parametrizing and scripts:
Have a cell in your notebook that essentially is a docment:
#|params
a:int=1 # This is parameter a
b:str="foo" # This is another parameter...
c:int=my_func() # Call a function to get the default value?

You can have a markdown cell before the params which acts as the helpstring for the script e.g.

"This is the rest of the documentation for the script?"

As usual a cell after the #|params cell is injected with the values given by the user.
This notebook could be run via a new function like:
def exec_nb_params(
    ...
    *args
    **kwargs
)

where args and kwargs are the positional and optional arguments. The injection
with inject_idx etc is taken care of by this function .
Because we are using docments and essentially the call_parse mechanism used elsewhere in fastai then we can get a CLI script
exec_nb_params my_nb.ipynb --help

which would print

This is the rest of the documentation for the script

The cell could just have the docstring in it directly:
#|params
a:int=1 # This is parameter a
b:str="foo" # This is another parameter...
c:int=my_func() # Call a function to get the default value?
"This is the rest of the documentation for the script?"

Just to confirm my understanding - the purpose of this is to get a help message (and param error checking) for the "script"? And also to have any values passed at the command line injected into the appropriate cell?
Perhaps you could also specific the cell index of the place where the params will be injected? e.g. to inject into cell 2:
#|params 2

Just to confirm my understanding - the purpose of this is to get a help message (and param error checking) for the "script"? And also to have any values passed at the command line injected into the appropriate cell?

Correct

Perhaps you could also specific the cell index of the place where the params will be injected? e.g. to inject into cell 2:

Makes sense
Mostly just exchanging ideas here, haven't implemented anything yet

I was just looking for a tool to run a notebook with parameters and save the resulting notebook. Papermill does this, but it's parameters rely on tagging Jupyter cells, which I can't do easily in VSCode.

I don't think it would be too hard to get a working prototype of this with execnb. If anyone would like to take a shot, I'm happy to share pointers. I unfortunately won't be able to get around to it myself just yet


How to fillout the .env file?

Could u please give us detailed information on running ur code? i.e., how to configure .env file?
I'm writing this because I followed ur README, and failed to run ur code.

You need API access to the GPTs or Llamas. If you do not have access to these, you would need to access the LLMs differently, for example through HuggingFace. (You would need to change the caller functions accordingly, too).

您好！您发来的邮件我已收到，将会尽快处理。祝您生活愉快，工作顺利！谭雨泽Tel：18981770691

You need API access to the GPTs or Llamas. If you do not have access to these, you would need to access the LLMs differently, for example through HuggingFace. (You would need to change the caller functions accordingly, too).

Appreciate it! But now I come across "NotImplementedError", which looks like this:
`(ictc) tyz@scdx:~/ICTC$ python step1/blip2/model.py --dataset cifar10
Python-dotenv could not parse statement starting at line 1
[2023-11-21 13:36:11,601] [INFO] [real_accelerator.py:110:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Python-dotenv could not parse statement starting at line 1
Loading checkpoint shards: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████| 6/6 [00:35<00:00,  5.98s/it]
Traceback (most recent call last):
File "/home/tyz/ICTC/step1/blip2/model.py", line 81, in
eval_model(args)
File "/home/tyz/ICTC/step1/blip2/model.py", line 55, in eval_model
model, processor = load_model()
File "/home/tyz/ICTC/step1/blip2/model.py", line 30, in load_model
model = Blip2ForConditionalGeneration.from_pretrained("Salesforce/blip2-flan-t5-xxl", device_map="auto", torch_dtype=torch.float16).cuda()
File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 905, in cuda
return self._apply(lambda t: t.cuda(device))
File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply
module._apply(fn)
File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply
module._apply(fn)
File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply
module._apply(fn)
[Previous line repeated 5 more times]
File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 820, in _apply
param_applied = fn(param)
File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 905, in
return self._apply(lambda t: t.cuda(device))
NotImplementedError: Cannot copy out of meta tensor; no data!
`
I followed every step of README and changed the HOME_PATH accordingly. I suppose there's nothing wrong with environment settings. I'm wondering if u had been the same sittuation before and how did you solve it? Thanks a lot!

You need API access to the GPTs or Llamas. If you do not have access to these, you would need to access the LLMs differently, for example through HuggingFace. (You would need to change the caller functions accordingly, too).

Appreciate it! But now I come across "NotImplementedError", which looks like this: `(ictc) tyz@scdx:~/ICTC$ python step1/blip2/model.py --dataset cifar10 Python-dotenv could not parse statement starting at line 1 [2023-11-21 13:36:11,601] [INFO] [real_accelerator.py:110:get_accelerator] Setting ds_accelerator to cuda (auto detect) Python-dotenv could not parse statement starting at line 1 Loading checkpoint shards: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████| 6/6 [00:35<00:00, 5.98s/it] Traceback (most recent call last): File "/home/tyz/ICTC/step1/blip2/model.py", line 81, in eval_model(args) File "/home/tyz/ICTC/step1/blip2/model.py", line 55, in eval_model model, processor = load_model() File "/home/tyz/ICTC/step1/blip2/model.py", line 30, in load_model model = Blip2ForConditionalGeneration.from_pretrained("Salesforce/blip2-flan-t5-xxl", device_map="auto", torch_dtype=torch.float16).cuda() File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 905, in cuda return self._apply(lambda t: t.cuda(device)) File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply module._apply(fn) File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply module._apply(fn) File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply module._apply(fn) [Previous line repeated 5 more times] File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 820, in _apply param_applied = fn(param) File "/home/tyz/anaconda3/envs/ictc/lib/python3.10/site-packages/torch/nn/modules/module.py", line 905, in return self._apply(lambda t: t.cuda(device))
NotImplementedError: Cannot copy out of meta tensor; no data! ` I followed every step of README and changed the HOME_PATH accordingly. I suppose there's nothing wrong with environment settings. I'm wondering if u had been in the same situation before and how did you solve it? Thanks a lot!

Btw, I've downloaded cifar10 properly.

Sorry for being late. Is the issue still unresolved?

您好！您发来的邮件我已收到，将会尽快处理。祝您生活愉快，工作顺利！谭雨泽Tel：18981770691


Pypi packaging

Resolves #72
Added build for multiple platforms. Also some fixes for platform specific issues.
Mac complained about "aligned-allocation" so compiling without it.
Windows broke because the MSVC flag was missing in the pybind cmakelists.
Currently no integration with the test suite, should add.
Also wheels seem to be sometimes broken, so we need to test these on some different systems before pushing pypi.

@pablospe Currently it will build on push to master, which I think is reasonable. I guess for other CI stuff we want to run on PRs, especially the test suite. Not sure how extensive we want to test, the current builds are for a wide range of setups, but that takes a very long time to run. Perhaps limiting the testing to just some ubuntu/python combo should be enough.

In order to have a Github Action, you will need to set-up one first by clicking here:
https://github.com/PoseLib/PoseLib/actions/new
Then copy the files content of this PR to the new one, and close this PR to avoid confusion.

@vlarsson Is there any news about this PR?

I will have a look at this next week after the 3DV camera ready deadline.
So this should upload to pypi when we make new releases? or I am not sure I am understanding the build-pypi.yaml.

you will probably need to create a new github action, see my previous message:
https://github.com/PoseLib/PoseLib/pull/73#issuecomment-1741845945

@Parskatt You might need to create a Github Action first, by clicking here:
https://github.com/PoseLib/PoseLib/actions/new
Then copy the files content of this PR to the new one. The github actions from build-pypi.yaml doesn't trigger otherwise, you can see it doesn't run in the "Checks" tab.

Sorry, I did not mean to cause this review. Was just gonna fix stuff over at my fork. Perhaps we can disable the autoreview? @vlarsson @pablospe

@pablospe Ok, but the action won't run without the changes to rest in the PR, if I push the action first it will start running on pushes to master. Wouldn't that be kind of annoying? Maybe I'm misinterpreting you.
Also some general discussion:

I had to set BUILD_SHARED_LIBS manually off, since it seemed to mess with compatability.
Same for -march=native, had to remove it due to issues on mac @vlarsson . This is a bigger change. I ran the solver benchmarks, and in general I saw no in performance on the machine I tried. It could of course be worse in certain cases.
Also had to set -fno-aligned-allocation on mac to get stuff to compile.

@pablospe Ok, but the action won't run without the changes to rest in the PR,

I was suggesting to create another PR where the actions are active, that's all, as now the build-pypi.yaml
is not running automatically, but the PR content should be the same, of course (only different PR). One question, how are you testing this? Your own fork/branch with manual triggering of the action?
If you see here:

only one github Actions is running and your .yaml is ignored. This is the reason I was suggesting to start a new PR where the action is working and you move the content (probably merging with the branch on this PR).
And one also wants to run it on master because it takes long time to run, and because you don't want to push artifacts to pypi from untested and non-approved branch.

if I push the action first it will start running on pushes to master.  Wouldn't that be kind of annoying? Maybe I'm misinterpreting you.

Not sure what you mean. The action will run in the current branch on the PR, later you will need to filter and say the publishing of the artifact should run only in master, so when you publish a package you know it is from master, but this has to be done explicitly (it is not the default). Probably we are talking about something different?

Also some general discussion:

I had to set BUILD_SHARED_LIBS manually off, since it seemed to mess with compatability.

This is fine, just wondering how it works with the python bindings? Doesn't it needs a .so? (at least in linux)

Same for -march=native, had to remove it due to issues on mac @vlarsson . This is a bigger change. I ran the solver benchmarks, and I saw no diff in performance on the machine I tried.

You can also check the benchmark result when the action is running:
https://github.com/PoseLib/PoseLib/actions/runs/8214094373/job/22466214680?pr=73#step:7:72

Click here:
https://github.com/PoseLib/PoseLib/actions/new

and then:

then you put the content/files from this PR.

@pablospe The issue is that we're building wheels, and the binaries don't end up in any convienent place as far as I can tell. In the basic CI that you already made, its easy to set the install_dir and simply run, but when building wheels I don't know where these targets end up.
Regarding testing the wheels, yes, they are already set up and running on my fork.

@pablospe I followed your strategy above (see https://github.com/PoseLib/PoseLib/pull/95) , but this still only runs the already existing action (main.yml). I don't think its possible to run new CI in a PR.

Now it is running, see the changes (you need to revert these before merging to PR, now it is for testing until you get it running):
https://github.com/PoseLib/PoseLib/pull/95/commits/7ac7e9ff368577e423423444579d65ad783d1ca8
So, it wasn't triggering because in your PR/branch because you added:
on:
  push:
    branches:
      - master

For testing you can comment it out, then when things are ready you can put it again so it only runs on master for the following PRs.

should we close this PR? And move to the new one you created?


How to draw by canvas

hi,I want to show through the canvas，but now it can only be svg，How can I use the canvas

Unfortunately canvas rendering isn't supported yet. There's a POC PR, so it's theoretically possible, but I just haven't done the refactoring yet to add a canvas renderer into Hanzi Writer.

I saw the PR, but the test did not pass, and I could not use the canvas for the time being.

Version 1.4.0 now supports canvas. You can enable it by passing renderer: 'canvas' when setting up the library. I think SVG will still have better performance in most cases, but canvas might work better on some devices.

Thank you very much.I will try.


Fix jupyter notebook local port

#1483  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


why do i have to type n everytime

for every message i have to type n just so that i can start typing.
please fix this.  i should be able to have conversation back and forth without having to type n for every message.

yes that's true i'm also looking forward to that


[Change Case] Plugin not visible when using Stage Manager

Extension
https://www.raycast.com/erics118/change-case
Description
If Stage Manager is enabled, plugin is not visible.
Steps To Reproduce

Install the plugin.
Disable Stage Manager.
Try to invoke the plugin.
Note that the plugin is visible and functions as expected.
Enable Stage Manager.
Try to invoke the plugin.
Note that the plugin is not visible.

Current Behaviour
Plugin is not visible.
Expected Behaviour
Plugin is visible.

Not sure what you mean by "plugin"


2.10 error when Extreme is not installed

There appears and error currently during installation when Extreme is not installed.
The patch is still applied to normal Crusader though.

I can confirm that.

Should be fixed in the upcoming version 2.11.


[Bug] Map showing only the first line that was chosen

When choosing one line after the other, the map still shows the first line
Scenario Recreation:

Open the single line page "מפה לפי קו"
Choose a line and watch it on the map
Clear the old line and choose a different line
Watch it on the map

https://github.com/hasadna/open-bus-map-search/assets/58609921/ddfc268c-fa75-4ef2-8c69-c0b2911b7289

that's a hard one - not recommended for first time contributors.
the useVehicleLocations has a terrible implementation (my fault).
Right now, it has a cache of vehicle locations by time. querying the same time = getting the same locations.
This bug can be solved by adding the line ref (if exists) to the key of the cache.
Anyway, we should consider replacing it / refactoring it / fixing it

after playing with it
I added @NoamGaash bug solution.
this part is tough to debug and renders a lot of time.
And it's a good idea to do their general refactor!

@giladfuchs  :clap:   :clap:   :clap:


fix(linter): keep rules disabled if the rule is not enabled

relates #1969

Current dependencies on/for this PR:

main

PR #2031   👈

This stack of pull requests is managed by Graphite.


docs: remove abspath hack in import map

What I did

investigated the problem in the import map related to abspaths and found it had something to do with @lrnwebcomponents/code-sample
alias that package specifically, and remove the previous hack

Testing Instructions

check demo pages, including nested demos

cta demo https://deploy-preview-756--red-hat-design-system.netlify.app/components/call-to-action/demo/
cta nested demo https://deploy-preview-756--red-hat-design-system.netlify.app/components/call-to-action/demo/analytics/

Notes to Reviewers

Do we need this if we're removing rh-demo in https://github.com/RedHat-UX/red-hat-design-system/pull/766 or should we only remove the @lrnwebcomponents/code-sample specific code?

would be good to update this PR after #766 lands, I'd still like to remove the hack if possible


Node Termination Handler with eks_managed_node_groups

Description
I was wondering if you actually need the node termination handler - if only using managed nodes. And if you need it how would you change the example code to work with the managed nodes?
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/irsa_autoscale_refresh/charts.tf#L210
refers the resources to the autoscaling group which does not exist on the managed_node module.
Versions

Terraform: v0.14.11

Provider(s):

provider registry.terraform.io/hashicorp/aws v3.72.0
provider registry.terraform.io/hashicorp/cloudinit v2.2.0
provider registry.terraform.io/hashicorp/external v2.2.0
provider registry.terraform.io/hashicorp/helm v2.4.1
provider registry.terraform.io/hashicorp/kubernetes v2.7.1
provider registry.terraform.io/hashicorp/local v2.1.0
provider registry.terraform.io/hashicorp/null v3.1.0
provider registry.terraform.io/hashicorp/random v3.1.0
provider registry.terraform.io/hashicorp/template v2.2.0
provider registry.terraform.io/hashicorp/tls v3.1.0
provider registry.terraform.io/mumoshu/helmfile v0.14.1
provider registry.terraform.io/terraform-aws-modules/http v2.4.1

@bryantbiggs thanks for the links - seems plausible. I guess that answers the question. Appreciate it :)


question: how to write unit tests

Is there any guide that state how to write unit tests using jest or any other lib?
if not, it would be worth while to have some docs / guide on writing unit tests using jest or any other common lib.

@hassanazharkhan why do you think there should be a guide on how to write unit tests? Are currently blocked on  a potential PR because you can't write the test or what's the purpose of this issue?
I don't think there is any special implementation in the tests, plain jest basically.


fix wrong constructor name

Related PR possibly not needed if we update our docs pages after this is merged: https://github.com/thymeleaf/thymeleaf.github.com/pull/20  (Still not an automatic process, so just a reminder that we need to do that).


RBAC per Team - servingruntimes.serving.kserve.io is forbidden: User "team-3" cannot list resource "servingruntimes" in API group "serving.kserve.io" in the namespace "team-3-ai"

At the Workbench overview page...
API Request: https://rhods-dashboard-redhat-ods-applications.apps.cluster-v2n9p.v2n9p.sandbox1923.opentlc.com/api/k8s/apis/serving.kserve.io/v1alpha1/namespaces/team-3-ai/servingruntimes?labelSelector=opendatahub.io%2Fdashboard%3Dtrue
Response;
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"servingruntimes.serving.kserve.io is forbidden: User \"team-3\" cannot list resource \"servingruntimes\" in API group \"serving.kserve.io\" in the namespace \"team-3-ai\"","reason":"Forbidden","details":{"group":"serving.kserve.io","kind":"servingruntimes"},"code":403}

@nexus-Six will be fixed soon :-)

kserve is disabled: https://github.com/rhpds/agnosticv/blob/master/sandboxes-gpte/CLOUD_NATIVE_ROBOT/common.yaml#L109

1 error occurred:
* customresourcedefinitions.apiextensions.k8s.io "servicemeshcontrolplanes.maistra.io" not found

https://kserve.github.io/website/latest/

$ oc explain DataScienceCluster.spec.components
...
  kserve	<Object>
    Kserve component configuration. Require OpenShift Serverless and OpenShift
    Service Mesh Operators to be installed before enable component Does not
    support enabled ModelMeshServing at the same time

  modelmeshserving	<Object>
    ModelMeshServing component configuration. Does not support enabled Kserve at
    the same time

Both is removed...
We have to enable
    modelmeshserving:
      managementState: Managed


Set access for each item

Seems like there is no option for setting access for each item individually.
For example, I wanted to limit updating/editing/deleting access to the user who has created the post (or to users that have certain permissions).
I implemented backend verification like this:
public function update(UpdateRequest $request)
    {
        $this->denyIfNotParent($request->get('id'));
        //...
    }

public function edit($id)
    {
        $this->denyIfNotParent($id);

        return parent::edit($id);
    }

public function destroy($id)
    {
        $this->denyIfNotParent($id);

        return parent::destroy($id);
    }
public function denyIfNotParent($id)
    {
        if(accessLogicHere()){
            abort(403);
        }
    }

But I couldn't hide buttons (Edit, Delete).
Any suggestions?
Thanks.

In the CRUD controller:
// ------ ACCESS
$this->crud->allowAccess('list');
$this->crud->allowAccess(['list', 'create', 'delete']);
$this->crud->denyAccess('list');
$this->crud->denyAccess(['list', 'create', 'delete']);

$this->crud->hasAccess('add'); // returns true/false
$this->crud->hasAccessOrFail('add'); // throws 403 error
$this->crud->hasAccessToAll(['create', 'update']); // returns true/false
$this->crud->hasAccessToAny(['create', 'update']); // returns true/false

@MarcosBL I know about this API, but it's not what I want. This API is intended for all items.

no option for setting access for each item individually

Another example:
All users have access to PostsCrud. User A creates a post. User B can see it (e.g in listing), but cannot edit it or delete it.

Sounds like you'll have to roll that functionality yourself.
Backpack is a great starting point for admin panels. If your making something that's not really an admin panel but allows editing of user created content, then that will be custom, you'll need to maybe have 2 methods which setup the crud differently depending on the users permissions.
As this isn't a bug, I will just close it to keep the area bugs only. But feel free to keep replying

Maybe you misunderstood my issue, but I only wanted to get some help/suggestions from creators or maybe from others that faced this issue.
Thanks!

I suggested you'd have 2 different crud methods, one for people who can edit, one for people who cannot edit.
In the setup method you can detect the user, then based off what ever you want you can send them to a different methods, which configures the form differently

To achieve what I need from setup, I would need "item" instance.
But even if I could access instance of the item, that would not solve my issue of hiding buttons.

You can remove the whole items not available to an user in the Model:
	public static function boot()
	{
	    parent::boot();
	    static::addGlobalScope('userfilter', function (Builder $builder) {
	        $builder->where('user', $GetYourUserIdHere);
	    });
	}

Then, all calls to that model will be automagically filtered by user.  If you need to get the Model without that scope in other parts of the app, you can:
MyModel::withoutGlobalScope('userfilter')->get()

I had 2 instances where I needed this.
I did a poor implementation both times that hid the entries, but the entries could always be edited by manually entering the URL. entity/{id}/edit.

Lock the cases from certain users.

$this->crud->addClause( The rule you want )

2.Lock the edit permission from some.

$this->crud->removeButton('edit');
$this->crud->addButtonFromModelFunction ( function in the model that does the validation )

Both are stupid hacks that I used because I wanted a quick fix without touching the vendor code and because I knew the user would never try and go around the system.
Btw, It is also possible to implement this using Eloquent events. Haven't tried it though.

I am looking for that functionality too. I understand it is not something expected of Backpack, but perhaps it has been implemented somehow?

@Librasulus - not implemented in Backpack per-se. I think your best bet is using a global scope on the model, like @MarcosBL has suggested here - https://github.com/Laravel-Backpack/CRUD/issues/557#issuecomment-287796737 . Seems like the cleanest solution to me.

@tabacitu what @MarcosBL suggested was about filtering the whole model. I just want to remove the edit button and route for the users that do not have ownership of the record in the list, as @alashow had asked at first. I suspect it requires some heavy overriding in the setup method of the controller.

Hidding the edit button is easy (even if ugly), just extend the list with a custom edit button and hardcode your needs in a custom edit button view; not registering the route seems a bit harder... maybe is it posible to extend the edit controller (even having the route) and inject your logic also there ?
Maybe you can setup a custom CanEdit accesor in the model that checks for permissions, and call it from both from the edit button + from the edit controller, I know it's not perfect, but maybe can give you some direction.

@MarcosBL Indeed, I was thinking something like that. About the edit route, for now I can just restrict access by just having an authorization check in the edit method. About the view, I have no idea how to extend the list and override the edit button, I will figure it out somehow.
Thank you for your time and for confirming my suspicions!

Just place a update.blade.php in resources/views/vendor/backpack/crud/buttons/update.blade.php copying the content of the vendor folder, and that's all.
It starts with something like (mine is heavily modified):
@if ($crud->hasAccess('update'))
	@if (!$crud->model->translationEnabled())

...

As you can see, you can easily add there your own checks, maybe you don't even need to extend the list :+1:

I managed permission for each record by doing the following steps:

Restricting access to edit records for all users except administrator by adding to the setup method of the task controller:
 $this->crud->denyAccess('update');
 if(auth()->user()->hasRole('admin')){
   $this->crud->allowAccess('update');
 }

Opening access to the owner of the record by overriding the edit and update methods:

public function edit($id)
    {
      $task = $this->crud->getEntry($id);
      if (auth()->id() == $task->owner->id) {
      $this->crud->allowAccess('update');
    }
      return parent::edit($id);
    }

public function update(UpdateRequest $request)
    {
      $task = $this->crud->getEntry($request->id);
      if ( auth()->id() == $task->owner->id ){
      $this->crud->allowAccess('update');
    }
      $redirect_location = parent::updateCrud($request);

      return $redirect_location;
    }

Adding a permission check on the edit button (update.blade.php) for the owner:

@if (auth()->user()->id==$entry->owner->id || $crud->hasAccess('update'))
	@if (!$crud->model->translationEnabled())

	route.'/'.$entry->getKey().'/edit') }}" class="btn btn-xs btn-default"> {{ trans('backpack::crud.edit') }}
...

In this way only the records of the logged user have an edit button, unless the user has the appropriate permissions. Also the routes are protected.

Clever solution @Librasulus !
Just one doubt, as you don't set the access to the edit route to those not having permission, and the default edit button already checks for that, do you really need to override the default edit.blade.php file ?
Otherwise, that would give us a pure Backpack way of doing it

Thank you @MarcosBL , you were really helpful.
The access to the edit route was restricted in the setup method, which doesn't take into account the information of each record. That means that the default result for the normal user was the edit button not appearing, as the $crud->hasAccess('update') condition in the blade file returned false. I had to provide an alternative record-based condition, so after the setup methods only the blade file was left as an option.
Perhaps I misunderstand something, I am grateful for any more elegant solutions.

You are absolutely right, even if the update.blade.php have access to the $entry var, of course it doesn't check for an entry->hasAccess('update') so you must override with your own; anyway, at least the most elegant solution I think we have for this kind of situation, so great work :+1: this will surely help others

Hi! I was looking for the same behaviour. In version 4.1, I had to do:

I'm NOT denying access to all.
Overwrite button view and add condition to show/hide.
Overwrite edit() and update() functions to check/allow/deny access:

use \Backpack\CRUD\app\Http\Controllers\Operations\UpdateOperation { edit as protected editTrait; update as protected updateTrait; }

....
protected function edit($id)
{
    $element = $this->crud->getEntry($id);
    if (condition) {
        $this->crud->allowAccess('update');
    } else {
        $this->crud->denyAccess('update');
    }
    return $this->editTrait($id);
}

protected function update()
{
    $element = $this->crud->entry;
    if (condition) {
        $this->crud->allowAccess('update');
    } else {
        $this->crud->denyAccess('update');
    }
    return $this->updateTrait();
}

Denying to all and allowing just when condition is true was not working. Sorry, my knowledge of the package is not so deep yet to explain why :)
Regards!

Thanks for sharing your solution @aula2030 !


1.13 runtimeClass definitions are broken

Description of problem
It looks like 1.13 and 1.14 example are identical, save the apiVersion.  In reality, the field itself changed - 1.13 had a spec, which was removed in 1.14.
1.13 should be something like below:
kind: RuntimeClass
apiVersion: node.k8s.io/v1alpha1
metadata:
name: kata
spec:
runtimeHandler: kata

/cc @amshinde

Just noting, the spec field name changed as well from runtimeHandler to handler - I'm sure we'll pick that up fine, and it is implied in the above example/snippet - just wanted to make sure.


Add tag autocomplete functionality

Expected Behavior
While typing tags, we show a drop-down list of tag that already exist in a user account. You should be able to navigate the drop-down list with the mouse or arrow keys. Pressing Enter will add a highlighted tag from the drop-down and keep the window open for additional tagging.
Actual Behavior
When typing tags, an autocomplete drop-down menu does not appear.
Steps to Reproduce the Problem

Save a page
Start typing a tag in the tags field

Specifications

Version: 1.0
Browser: Safari 13
Operating System: macOS 10.14.6

Hi! Is there any progress with this issue?)

@Sherafgan Absolutely! This change has been submitted and is awaiting approval.  Hopefully, you will see it show up next week.

Great news, thanks!

This has been implemented as of extension version 4.0.0