How does it work with @fastify/autoload ?

Hi !
I built a boilerplate here https://github.com/ManUtopiK/vite-fastify-boilerplate with vite-plugin-node.
I get an issue with fastify-autoload here https://github.com/ManUtopiK/vite-fastify-boilerplate/issues/7
I took a try fast with your plugin and it seems fastify-autoload doesn't work also.
Do you know a workarround for this ?
Also, I didn't test but do you know if your plugin works with websocket ?

The @fastify/autoload is currently unavailable. You may want to consider using vite-plugin-fastify-routes instead.


[VIM-1503]Adding option to "fix" the usability problem involving international keyboards and dead keys.

Hi! First time contributing here. Please tell me if something could have been done better and I'll try to fix it.
Trying to fix this error: https://youtrack.jetbrains.com/issue/VIM-1503
The best that I could think of was to create an option for those that use this types of keyboard.

Thanks for the PR! I'm not entirely sure what it's doing - could you give some scenarios (inserting text, motions, etc.) and how it fixes the problems, please?

Hey @citizenmatt, sure! I'll try to explain:
Assume that in this examples the cursor is represented as  the '*' char.
Whats happens without the PR:
val test = "Lorem ipsum do*lor sit amet"
// For some reason, if I try to select the entire sentence using the 'vi"' command,
// it erases the character under the cursor and then selects the sentence.
// In the example above, the letter 'o' will be erased.
val test = "*Lorem ipsum dlor sit amet*"

The code in this PR, tries to keep track of what "text" is under the cursor in the moment that an action is being executed. Thats what the preExecute method does in the EditorActionHandlerBase class.
And then I created a parent class for all textObject motions, that overrides the preExecute method to reinsert the text where it was previously deleted.
Example with the PR:
val test = "Lorem ipsum do*lor sit amet"
// Now when I try to select the entire sentence using the 'vi"' command,
// it selects the entire sentence correctly.
val test = "*Lorem ipsum dolor sit amet*"

Hi Bruno. Apologies for the silence - there's not much bandwidth to look at stuff right now. Thanks for the contribution, but I must admit that I have a few reservations with this approach. I tried it locally, and after enabling :set fixdeadkeys, I can't get vi" to work directly. I still need to type something like vi"<Space> - the " is still highlighted as a composing character until I do something to finish it, such as <Space> or <Escape>. However, once I press the extra key, it does work as expected.
My main issue is that this is a workaround for a specific problem, rather than fixing the root cause. So it means that vi" can work (with additional keypress) and it doesn't replace the text, and this is great. However, it doesn't help with something like vf", or other dead keys from other keymaps (<A-N>) which will still overwrite the text. Unfortunately, I think we need to go a bit more low level in Swing to handle this properly, working with input methods to try and prevent the editor from drawing the composing character when in normal or visual mode.
This approach would require further investigation though, possibly using EditorComponent.enableInputMethods when the mode changes, or adding a custom IdeEventQueue event dispatcher that consumes input method events based on target and mode, but I'm not sure on the implications of these appraoches.
There are simpler workarounds, though, such as using a different keymap, if possible. The ABC keymap on the Mac doesn't have dead keys for the quote symbols, and something like Ukulele can create new keymaps that don't have any dead keys.
Thanks again for the contribution. I'll leave it up to @AlexPl292 to decide what to do with this PR as it stands. It might be worth taking on as a workaround until someone can take a look at other Swing based implementations (invitation is open to all! 😁)

Hey @citizenmatt thanks for the reply! I understand that this is a "hacky" solution, and you guys may have reservations against merging this PR(no hard feelings). About the need to press the extra key  or , unfortunately this is how it works for the international keyboard, even in Vim or NeoVim I have to issue the command vi", so I think that this is not a problem.
About the other commands, maybe we could tackle in other PRs?

Hi there. Sorry, but I can't accept this PR. In addition to Matts response, I don't like adding new options for fixes like that. The problem is almost no one knows about such options, and they contribute to combinations under which IdeaVim may work, so it starts to be more complicated to make sure everything is properly tested.
I agree that pressing "space" after " is good behavior, so if it will be implemented at some lower level, this would be the solution we'd like to have.
In IJ, the initial " replaces everything that was selected before, which causes the problem.
I've checked other approaches:

Vim doesn't print ", so it doesn't replace anything.
Obsidian seems to select everything right on " press, so it doesn't wait for the "space".

Not sure how this should be fixed, but I think we need a more common approach.
Thank you for your interest in the question, though!


What is the license for this?

this is a really cool project, but before I get ahead of myself I want to make sure you are fine with me using it as of right now there's no license

Hi, you're more than welcome to use the project if it's of any help to you and thanks for pointing out the missing license. I just added an MIT license file. Third-party assets used in the example have their own licensing terms, mostly Creative Commons 4.0 or similar, as documented in README.md or in text files next to the actual asset files.

Great! thanks, one other question tho do you plan to add ABS soon? if not I may try and tackle that myself

Unfortunately, I don't have time to work on the project right now or in the near future. It served mostly self-educational purposes and I've made it public to serve as potential reference for anyone interested in working on their own vehicle implementation. New features, or the code clean-up that I really wanted to do, may or may not happen at some point in the future, depending on time and motivation to pick it up again.


Bug:Getting 404 Not found in clicking Contribute link

Most appropriate sections of the p5.js website?
Other (specify if possible)
What is your operating system?
Windows
Web browser and version
No response
Actual Behavior

Expected Behavior
It should i open and should not give 404 not found
Steps to reproduce
Go to https://p5js.org/
Click on Contribute link in Nav-sidebar

Would you like to work on the issue?
No

How can i open that link then

@upsaurav12 You'll need to change the DNS provider on your computer to use a third party DNS service instead of the one from your ISP. You can also read the same contributor docs directly on GitHub here. We are currently updating and redesigning the website which includes reworking the contributor docs site.

@limzykenneth thank you sir


[BUG] [VSCode Extension] pf: error: unrecognized arguments: (win32; x64) VSCode/1.85.1"

Describe the bug
[A clear and concise description of the bug.](pf: error: unrecognized arguments: (win32; x64) VSCode/1.85.1")

How To Reproduce the bug

Setup a flow
Setup a test suite yaml file for the flow
Trigger the flow by clicking the green button

Environment Information

Promptflow Package Version using pf -v: 1.3.0
Operating System: Windows 11
Python Version using python --version: 3.9.18
Prompt Flow extension version. 1.9.0

@Wix97 can you help paste the command which triggered this error in the terminal?

I triggered the bug via UI. Here is the output of 'Test Results' tab.

There is no more helpful outputs in other tabs.

@Wix97 Thanks for your supports and patience. We've figured out the root cause and the issue will be fixed in next release. You can click "Run" to execute batch run directly under xxx_batch_run_create.yaml file as a workaround.


Ctrl + PgUp/PgDown not working

Hi,
I'm using Darcula version 1.5 on Netbeans 8.2 (Linux). I noticed that when using this theme, Ctrl + PgUp/PgDown keyboard shortcuts do not work. By default, Netbeans assign them to tabs switching. Is there anyone experiencing this issue too?

Hi. Could you please describe some use case. You're somewhere inside a tab container and want to switch to another tab, right?

Thank you for the reply. Yes: let's say I have two tabs opened, I cannot switch between them using the
default keyboard shortcuts Ctrl+PgUp and Ctrl+PgDown, but I can switch using mouse clicks. This does not happen using default Netbeans theme.


Support objects with

More often than not, I have a list of objects I want to select from, rather than a list of primitive values:
const data = [
  { id: 1, name: "Red" },
  { id: 2, name: "Yellow" },
  { id: 3, name: "Blue" }
];

It would make perfect sense to me to then use this list with <Select> like so:
<Select
  value={this.state.color}
  renderValue={c => c.name}
  onChange={e => this.setState({ color: e.target.value })}
>
  {data.map(d => (
    <MenuItem key={d.id} value={d}>
      {d.name}
    </MenuItem>
  ))}
</Select>

The <Select> component actually seems to handle passing an object into its value prop like this just fine, but the typing in both propTypes and flow-typed don't agree. Here's an example. Everything works as I would expect, but you get a sternly-worded note from 'prop-types' in the console informing you value is invalid because its not a string, number, boolean, or array of those things.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

It's a duplicate of #10845


actually allow nounset for tumor only mutect runs

having the nounset option set does not allow mutect to run in tumor only mode. The normal bam is an optional input and the bash script exits before running when the normal bam is not provided.

Could also choose to only assign $5 inside the case where we have it.


⚠ Everything Hub has degraded performance

In 9367bc5, Everything Hub (https://hub.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 5851 ms

Resolved: Everything Hub performance has improved in 275048d after 4 minutes.


HACS: Only v3.0-pr1.3

Dear @gcobb321
I'm to stupid to update from pr1.3 to pr1.4
In the selectbox in HACS I see only this as highest version

What do I wrong?
TIA
Best regards
Gerd

If you see 3-dots in the upper right corner, Click it, select Update Information. That should display the pr1.4 version. Then install it. Sometimes it takes HACS some time to refresh the new versions

I tried yesterday evening and today and the pr1.4 version does not show up yet. Maybe something is wrong...

It doesn't show for me, yet, either - HACS hasn't updated yet.  That's on HACS, not @gcobb321 .  Show some patience, please.

@JtwoA and @gcobb321: I'm not in a hurry, I just thought there might be something wrong. Or is it normal for HACS to take over 24 hours to update?

@JtwoA and @gcobb321: I'm not in a hurry, I just thought there might be something wrong. Or is it normal for HACS to take over 24 hours to update?

I can't answer this for two reasons:  I've never deployed anything thru HACS and I don't watch that closely.

OK, just in time HACS present the v3.0-pr1.4 and i could update!
Closed!


Twilson63/documentation for storage 460

This is a simple PR to update the documentation README file for hyper-connect


Fix iptables-save command

need to run as sh -c when outputting to a file with sudo

Closed as new docs website has now been deployed


⚠ PrivateHD has degraded performance

In 0ece55f, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1547 ms

Resolved: PrivateHD performance has improved in ffe06b9.


proposal for dandi-cli commands

I'd like to suggest a stable contract for the dandi-cli, moving away from passing URLs to the CLI, and I'd want to start with downloads.
Currently, the dandi-cli takes in URLs from the command line, and then does parsing and dispatching. This is prone to breakage because we don't have a stable set of URLs, and it also requires the user to understand the meaning of the URLs and our various services (currently Girder and the GUI) which are implementation details that would be better hidden from the user.
I'd like to propose something like the following commands for download. I'm starting with the download command because it's simpler in that it is read only, it will likely have a wider user base than other commands (my guess is that many people will want to download datasets without doing any other interaction with the system--generally a shallower interaction, but a more common one; whereas a smaller number of users will have deeper interactions with the system around building draft dandisets and publication), and it is more straightforward to provide UI support for this. Other commands we could probably follow suit with later after we work out download.
The cli could support the following commands:

dandi download dandiset 00001 (we would need some provision for supporting versions, but the first thing to do is to support downloading the latest published version)
dandi download subject <subjectId> (maybe this is a Girder folderId or a subject name)
dandi download nwb <filename> (maybe this is a Girder fileId or a file name)

Then we can have on the UI a component such as what GitHub has, that allows the user to easily see what command to run on the cli for a particular resource (see screenshot). E.g., when you are on the dandiset landing page for dandiset 000001 it has a UI button labeled "download" and when you click it, it tells you "Use the CLI (and here's how to install it and run it), and run dandi download dandiset 000001.

This way, the CLI commands are more stable, we are providing a more limited set of commands to support, and the cli doesn't have to parse URLs. Rather we get to define which behaviors we want to support, and within the functions that provide those behaviors, build up the commands and URLs we need to support that behavior. If the URLs change, then we can update the specific places that rely on the URLs which will be built up, rather than having to change parsing code (which is never fun).
Overall, importantly, this is the start of a contract between the server and the cli about which sets of behaviors we support, instead of just whatever URLs happen to exist on the server at a given time. I think this will also make it much easier for people working on the server side to update the client.

@satra @yarikoptic

@mgrauer - thank you for bringing this up. i feel we need to have this discussion alongside the API discussion and the BICCN dataset/file manifest discussions. in general, yes, i would like the contract to be stable for dandi-cli. in addition, the reason i bring up the API is that other people should be able to write clients (command line/web/etc.,.) that can read/write data to the archive. and we should decide if our endpoints should support RESTful or something else.
the API discussion is also tied to the dandiset/asset schema discussion and our search discussion.  so would it be ok if i focus on creating a draft of our data model and then we come back to this in the next week or two?
regarding this specific suggestion:
dandi download dandiset <dandisetid>
dandi download subject <subjectId>
dandi download nwb <filename>

on one hand i think this is clear and speaks to an entity based representation, but for this to work every id/filename would need to be unique.
on the other hand the following (modeled after github) could serve to be both unique and resolvable by a user or a client and could map on to s3 for people simply using aws s3 cli.
dandi download <prefix>/00001
dandi download <prefix>/00001/<version id>/subjectid
dandi download <prefix>/00001/<version id>/subjectid/path/to/file

where <version id> needs to be discussed as you note and <prefix> could be https://dandiarchive.org/dandiset/ or DANDI as we have that mapped in identifiers.org or a new prefix like https://raw.dandiarchive.org/.
this would allow us to also do bids datasets without changing any semantics of the url(**).
thus before we decide on which route we should take, i would like to present to the dev team a data model, metadata, and some views of this model.
** this is not completely true because of how we are encoding dandiset metadata.

Thank you @mgrauer and @satra! I am on board with both of you and Satra expressed my thoughts at large and addressed the aspect of be able to support different instantiations of dandi archive. We should chat ;-)

would it be ok if i focus on creating a draft of our data model and then we come back to this in the next week or two?

Yes, that's fine, especially given that it sounds like @yarikoptic is on board with waiting for the discussion. My motivation for this issue is that @yarikoptic has been feeling some pain lately dealing with the client-server interaction, so I wanted to start addressing that.
There are a few different issues that are related (and note that these cover quite a bit of the roadmap over the next six months):

search
publish workflow
metadata schema
data model
API surface
cli contract

We are planning to demo a prototype of the publish workflow at the next meeting, so that should generate some good discussion. This prototype won't include any versioning as that adds complexity and still needs to be worked out, but at least will get us a basic end-to-end workflow in place that we can start iterating on.

as for "download", let's continue on https://github.com/dandi/dandi-cli/issues/183 . Note that we already have support for simpe DANDI:<ID> (coming in 0.6.0)
For any other: let's open an issue if there is no issue. Most of those operations interacting with the archive should in generally be lean interfaces to talk to the API.
Please feel free to reopen, or transfer into dandi-cli if you feel that it is worth reincarnating it.


chore(blockifier): remove declare.rs deploy_account.rs invoke.rs from blockifier

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2479
#2478  👈 (View in Graphite)
#2470
#2437
#2431
#2429
#2428 : 1 other dependent PR (#2354 )
#2412
#2377
#2331
main

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

This change is


Themes Improvement

Context
Themes are an integral part of any application's success. Take a look at companies like Aol, Yahoo, and MySpace. All have some form or another of customizable color schemes. How else will a user be able experience crisp AgendaGold™ or BubblinBlack™ themes during a meeting?
Implementation
The store is still used for themes. Rather than just a dark theme toggle on button. The Themes button in the dropdown menu now displays a modal containing several different color pallets. After choosing a theme the user will be given a local storage item for the app to check on every refresh or sign in. The theme is also stored in the database with a ref to the user.
In order to prevent flickering the initial theme check is a script injected directly in the app to check the local storage and change the theme.
I realized while writing this that there is no close button and the only way to close is to click off the modal. This is probably fine as closing popup functionality isnt needed until way down the line.
Preview (optional)

Merge Checklist

[x] Correct Target Branch
[x] Pre-Review Diff Check
[x] PR Description
[x] Add Reviewers and Assignees
[ ] Review Complete
[ ] Rebase
[ ] Rebase Approved

the theme images are placeholders, I want to make little previews but I couldnt figure out how to do it efficiently in photoshop


oddevengithub.m  capitalisation

I think that we should use the correct capitalisation and punctuation for the output

done


Requirements and ideal benchmarks for an MVP implementation [Discuss with RabbitMQ team]

Case 1
Setup
Generate 100 events/second into a Broker A in Namespace A for 10 seconds
Each event should have a unique id
Trigger A1 (no filters) targeting Broker A
-> Service A1(with a 2 second sleep before ACK)
Trigger A2 (filters 50% of events) targeting Broker A
-> Service A2
Broker B in Namespace B
Trigger B (no filters) targeting Broker B
-> Service B
Expectation from Developer perspective

all events are processed within 2 minutes
Service A1 receives 1000 events with the expected unique ids
Service A2 receives 500 events with the expected unique ids
Service B receives 0 events

Expectation from Operator perspective

TODO

@evankanderson @benmoss
Updated the description based on our discussion today. Anything to add ?

Roughly correct, yes.
It would be nice to have a second broker in a different namespace with a trigger matching at least a few events to make sure we don't cross the streams.
Also, each event should have a unique id, and we should check that the IDs line up at the end.
Bonus points for including a pod kill during the test (we might need more than 10s load to execute that).

Roughly correct, yes.
It would be nice to have a second broker in a different namespace with a trigger matching at least a few events to make sure we don't cross the streams.
Also, each event should have a unique id, and we should check that the IDs line up at the end.
Bonus points for including a pod kill during the test (we might need more than 10s load to execute that).

Thanks updated it.
For the bonus points, which pods should be getting killed ?

This is a WIP comment which will likely be moved to a different place, but since this is our starting point, this is easiest for us (+@ikvmw). Discard/change this when that happens.

We chose to set up Knative on GKE Autopilot because that was the easiest thing for us. These are our observations and issues:

The Knative operator installs itself in the default namespace. We were expecting knative-operator or something similar. For example, the RabbitMQ operator uses rabbitmq-system.

This is a WIP comment which will likely be moved to a different place, but since this is our starting point, we (+@ikvmw) are adding our initial context here.
We chose to set up Knative on GKE Autopilot because that was the easiest thing for us. These are our observations:

The install succeeded within a few seconds, which was nice to see - the first step worked as expected
The Knative operator (v0.25.0) installs itself in the default namespace. We were expecting knative-operator or something similar. For example, the RabbitMQ operator uses rabbitmq-system.
We have installed the knative-serving components but the activator, autoscaler, webhook and net-istio could not be created in GKE Autopilot due to the following error:    Error creating: admission webhook "policycontrollerv2.common-webhooks.networking.gke.io" denied the request: GKE Policy Controller rejected the request because it violates one or more policies: {"[denied by autogke-node-affinity-selector-limitation]":["Auto GKE disallows use of cluster-autoscaler.kubernetes.io/safe-to-evict=false annotation on workloads"]}.. We will restart with a plain GKE cluster.

Autopilot has a bunch of limitations which prevents Knative from working on it. Interestingly looks like their limitations have changed slightly in the docs since it was launched a few months ago.
This might be a good topic at the sync but folks generally use vanilla K8s on Public clouds and kind for local dev.

These are all the commands that we run to provision GKE Autopilot, Crossplane & provider-gcp and then setup a dedicated GKE cluster for Knative:
mkdir -p /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/.config/kubectl
mkdir -p /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin
/usr/bin/curl --progress-bar --fail --location --output /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/google-cloud-sdk-355.0.0-Darwin-x86_64.tar.gz "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-355.0.0-Darwin-x86_64.tar.gz"
cd /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin && \
tar -xzf google-cloud-sdk-355.0.0-Darwin-x86_64.tar.gz && \
rm -rf google-cloud-sdk-355.0.0-Darwin-x86_64.tar.gz && \
cd google-cloud-sdk && \
./install.sh --quiet --usage-reporting=false
ln -sf /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/google-cloud-sdk/bin/gcloud /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64
ln -sf /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64 /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud
( /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64 auth list --filter="status:ACTIVE" --format=yaml | grep --silent lre-admin ) \
|| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64 auth activate-service-account --key-file=/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/lre-admin.key.json
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64 container clusters describe messaging-streaming-2021-may 1>/dev/null \
|| time /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64 container clusters create-auto messaging-streaming-2021-may \
	--release-channel rapid \
	--scopes storage-rw
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64 container clusters get-credentials messaging-streaming-2021-may
/usr/bin/curl --progress-bar --fail --location --output /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64.tar.gz "https://get.helm.sh/helm-v3.6.3-darwin-amd64.tar.gz"
mkdir -p /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64 && tar zxf /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64.tar.gz -C /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64
touch /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64/darwin-amd64/helm
chmod +x /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64/darwin-amd64/helm
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64/darwin-amd64/helm version | grep 3.6.3
ln -sf /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64/darwin-amd64/helm /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm
/usr/bin/curl --progress-bar --fail --location --output /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 "https://storage.googleapis.com/kubernetes-release/release/v1.20.10/bin/darwin/amd64/kubectl"
touch /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64
chmod +x /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 version | grep 1.20.10
ln -sf /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl
/usr/bin/curl --progress-bar --fail --location --output /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst-1.2.0-Darwin-x86_64 "https://github.com/a8m/envsubst/releases/download/v1.2.0/envsubst-Darwin-x86_64"
touch /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst-1.2.0-Darwin-x86_64
chmod +x /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst-1.2.0-Darwin-x86_64
ln -sf /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst-1.2.0-Darwin-x86_64 /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64/darwin-amd64/helm repo add crossplane-stable https://charts.crossplane.io/stable
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64/darwin-amd64/helm repo update
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/helm-v3.6.3-darwin-amd64/darwin-amd64/helm upgrade crossplane crossplane-stable/crossplane \
	--install --version v1.4.1 \
	--namespace crossplane-system --create-namespace --wait \

/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 create secret generic gcp-service-account-key \
	--from-file=creds=/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/lre-admin.key.json \
	--namespace crossplane-system \
	--dry-run=client --output=yaml \
| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 apply --filename -
export NAMESPACE=crossplane-system \
; export CROSSPLANE_PROVIDER_GCP_VERSION=v0.17.1 \
; cat /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/yaml/crossplane/gcp.yml \
| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst-1.2.0-Darwin-x86_64 -no-unset -no-empty \
| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 apply --filename -
printf "\033[1m\033[1;36mWait for GCP Provider to be healthy...\n\033[0m"
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 wait --for=condition=Healthy=true providers/gcp --timeout=2m
export NAMESPACE=crossplane-system \
; export CROSSPLANE_PROVIDER_GCP_VERSION=v0.17.1 \
; cat /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/yaml/crossplane/gcp-config.yml \
| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst-1.2.0-Darwin-x86_64 -no-unset -no-empty \
| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 apply --filename -
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 config current-context > /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/tmp/kubectl-config-current-context
printf "\033[1m\033[1;36mEnsure that we are targeting the correct GKE cluster, the one that manages all other GKE clusters\n\033[0m"
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 config use-context gke_tanzu-rabbitmq_europe-west2_messaging-streaming-2021-may
export NAMESPACE=crossplane-system \
; export GKE_NAME=knative \
; export GKE_REGION=europe-west3 \
; export GKE_VERSION=1.20 \
; export GKE_MACHINE_TYPE=n1-standard-2 \
; cat /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/yaml/crossplane/gke.yml \
| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/envsubst-1.2.0-Darwin-x86_64 -no-unset -no-empty \
| /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 apply --filename -
printf "\033[1m\033[1;36mWait for GKE knative cluster and nodepool to be ready...\n\033[0m"
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 wait --for=condition=Ready=true nodepool/knative --timeout=5m
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 wait --for=condition=Ready=true gkecluster/knative --timeout=5m
printf "\033[1m\033[1;36mGet GKE knative cluster credentials...\n\033[0m"
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/gcloud-355.0.0-Darwin-x86_64 container clusters get-credentials knative --region europe-west3
printf "\033[1m\033[1;36m⚠  If you want to target this new GKE cluster, remember to switch the kubectl context ⚠\n\033[0m"
/Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/bin/kubectl-1.20.10-darwin-amd64 config use-context $(cat /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/tmp/kubectl-config-current-context)
rm -f /Users/gerhard/github.com/rabbitmq/infrastructure/k8s/gke/tmp/kubectl-config-current-context

In our case, it is a matter of running make crossplane crossplane-gke from within our private infrastructure repository: https://github.com/rabbitmq/infrastructure
These yaml files capture the config for Crossplane provider-gcp & the resulting GKE:
# gcp.yml
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: gcp
spec:
  package: crossplane/provider-gcp:${CROSSPLANE_PROVIDER_GCP_VERSION}

# gcp-config.yml
---
apiVersion: gcp.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
  name: gcp
spec:
  projectID: tanzu-rabbitmq
  credentials:
    source: Secret
    secretRef:
      namespace: ${NAMESPACE}
      name: gcp-service-account-key
      key: creds

# gke.yml
---
apiVersion: container.gcp.crossplane.io/v1beta1
kind: GKECluster
metadata:
  name: ${GKE_NAME}
spec:
  providerConfigRef:
    name: gcp
  forProvider:
    location: ${GKE_REGION}
    initialClusterVersion: "${GKE_VERSION}"
  writeConnectionSecretToRef:
    name: ${GKE_NAME}-gke
    namespace: ${NAMESPACE}
---
apiVersion: container.gcp.crossplane.io/v1alpha1
kind: NodePool
metadata:
  name: ${GKE_NAME}
spec:
  providerConfigRef:
    name: gcp
  forProvider:
    autoscaling:
      autoprovisioned: false
      enabled: true
      maxNodeCount: 9
      minNodeCount: 1
    clusterRef:
      name: ${GKE_NAME}
    config:
      diskSizeGb: 100
      diskType: pd-ssd
      imageType: cos_containerd
      labels:
        managed-by: crossplane
      machineType: ${GKE_MACHINE_TYPE}
      oauthScopes:
        - "https://www.googleapis.com/auth/devstorage.read_only"
        - "https://www.googleapis.com/auth/logging.write"
        - "https://www.googleapis.com/auth/monitoring"
        - "https://www.googleapis.com/auth/servicecontrol"
        - "https://www.googleapis.com/auth/service.management.readonly"
        - "https://www.googleapis.com/auth/trace.append"
    initialNodeCount: 1
    locations:
      - ${GKE_REGION}-a
    management:
      autoRepair: true
      autoUpgrade: true
  writeConnectionSecretToRef:
    name: ${GKE_NAME}-gke-nodepool
    namespace: ${NAMESPACE}

The simplest thing may be to just share the GKE cluster, and each of us use their own namespace for https://github.com/ikvmw/eventing/tree/main/test/performance and the development pre-requisite: https://github.com/knative/eventing/blob/main/DEVELOPMENT.md
WDYT @gabo1208?

Sounds good to me, so we would have the same env to start working in those tests 👍🏼

The goal is to keep the context in a single place - this GKE cluster - and make shared progress. If we each create our own namespace for experiments, then we will avoid stepping on each other's feet, and not duplicate the same base resources: knative, rabbitmq-cluster-operator, rabbitmq-topology-operator, cert-manager etc.

We have agreed with @ikvmw to wrap this up via the following steps:

[ ] contribute a new doc that outlines the steps necessary to perform this benchmark
[ ] contribute a Makefile & relevant YAML that performs all steps in this doc

Thanks @gvmw
Should we move the Expectation from Operator perspective into a separate issue, so #445 can close this issue ?

I would rename this issue to How can I benchmark eventing-rabbitmq? and update the content to focus on what end-users will be able to achieve after this is delivered.
I would mention GKE as a starting point, because KiND is not a good place to start benchmarking.
I would also mention where we want this to live - I think the repo - and how we expect users to run it. My default go-to is Makefiles that pull dependencies (including kubectl & ko), and know which commands to run & in which order (a.k.a. dependencies between targets), but maybe you imagine users running this differently. What I care about is anyone being able to run everything with a single command, given that they have pre-requisites set up (make & a KUBECONFIG pointing to a fresh GKE 1.20 cluster), and end with the same end-result. Knowing what numbers we want to use for the benchmark is super useful, so I would keep that.
As for the next step, I think that we should shift focus to Get Started with Knative Eventing - RabbitMQ, and then maybe come back to automating benchmarks - manual for now is good enough. That feels like a good direction to start walking towards, but I'm curious how this matches your vision for eventing-rabbitmq @xtreme-sameer-vohra 🙂

I would rename this issue to How can I benchmark eventing-rabbitmq? and update the content to focus on what end-users will be able to achieve after this is delivered.

Just realized that https://github.com/knative-sandbox/eventing-rabbitmq/issues/412 covers this.
This issue was useful to align on requirements, which has happened so it can be closed. Added links to open issues for Expectation from Operator perspective section

I would mention GKE as a starting point, because KiND is not a good place to start benchmarking.

Agreed that we don't want to rely on KiND for getting consistent benchmarking results.

I would also mention where we want this to live - I think the repo - and how we expect users to run it. My default go-to is Makefiles that pull dependencies (including kubectl & ko), and know which commands to run & in which order (a.k.a. dependencies between targets), but maybe you imagine users running this differently. What I care about is anyone being able to run everything with a single command, given that they have pre-requisites set up (make & a KUBECONFIG pointing to a fresh GKE 1.20 cluster), and end with the same end-result. Knowing what numbers we want to use for the benchmark is super useful, so I would keep that.

The setup artifacts (scripts, yaml, etc) can live in the repo's test directory, but I'll defer to @benmoss.  Ditto in regards to using Makefiles or not.
Its safe to assume the person running the benchmark knows about kubectl, ko, etc but feel free to simplify if it is low effort.

As for the next step, I think that we should shift focus to Get Started with Knative Eventing - RabbitMQ, and then maybe come back to automating benchmarks - manual for now is good enough. That feels like a good direction to start walking towards, but I'm curious how this matches your vision for eventing-rabbitmq @xtreme-sameer-vohra 🙂

💯 Yes, that makes sense. Automating the benchmarks can be re-visited once the MVP items such as Getting Started are done.


fix(Ally X): prefer HDMI audio when docked

Create rule for HDMI and new folder structure for wireplumber for Ally X.

I had help with this from a user with an Ally X. Folder structure was based off this info from dmidecode:
System Information
	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: ROG Ally X RC72LA_RC72LA
	Version: 1.0


Create release checklists for PyGranta packages

We should define release checklists for releasing any packages under the PyGranta umbrella, including:

Idiomatic packages (grantami-recordlists, grantami-bomanalytics, etc.)
Generated packages (grantami-openapi, grantami-bomanalytics-openapi)
Foundational packages (openapi-common, openapi-client-template)

We should cover major, minor, and patch releases, and consider testing requirements to ensure we aren't introducing unexpected breaking changes.

Also, given our most recent experience with developing alongside scripting-toolkit, we should determine our best practice for timing of alpha, beta, and rc releases

Some packages include links to the Ansys help site and include a version. The release checklist for such packages should mention updating URLs to the latest supported MI version.


PhotoView version 1.7 not working for Screensaver

Sorry if this is a repeat, but not seeing original post.  I’m using a Roku TV with build 7.7.  Screensaver will not work. It shows the PhotoView splash screen that it is “Loading...” but after 1-2 minutes just show the default Roku City Walk Screensaver.
Probably related: if I’m in the actual app and choose the Shuffle Photos slideshow , I will get the same City Walk screensaver HOWEVER, if I then press a key, I will see an API Error box.   I press the the enter key to release the API Error box, THEN it will start a slideshow that does seem truly random (thx!).  FYI I have over 90,000 pics in my google photos db. Let me know if you need more details...

The issue is most likely due to this: https://github.com/chtaylo2/Roku-GooglePhotos/issues/38
How many albums do you have? Please do the following and I'll try to review:
1.) Login to http://photos.google.com
2.) This in the same browner goto: https://picasaweb.google.com/data/feed/api/user/default?fields=entry(title%2Cgphoto%3Anumphotos%2Cgphoto%3Auser%2Cgphoto%3Aid%2Cmedia%3Agroup(media%3Adescription%2Cmedia%3Athumbnail))&kind=album&thumbsize=220&v=2.0
3.) Past the contents in a text file and email to me<EMAIL_ADDRESS>Thanks
Chris

Chad, trying to go to the picasaweb.google.com link above and I get back "Internal Error.  Try again later".  Using chrome in a Win10 environment.

...and I have about 90 albums.

Day 3 update:  Probably just a quirk in my Internet or Roku, but the screensaver started scrolling w/ just the splash screens as images (the PhotoView splash screen) tried it twice w/ same results.  Then opened app and it seemed to work normally, went back to home screen and the screensaver seemed to be working normally as well...only time I've noticed it and it's come on dozens of times in the past 3 days.
One other minor issue, every few seconds (3-4 sec), it does a slight pause or stutter.  So instead of the smooth scroll, all pics stop for about a split second (1/10th of sec?).

@timrit - 1. This will not make v2.0, but will investigate for a future release.
2. Can look into this. This is modeled after the Apple TV scrolling photos.
3. No, screensaver from Roku does not support any buttons. But, everything you can do/see in the screensaver can be done in the channel with full control.
4. I remember you saying how many photos you had. This is likely due to the amount of time the API is taking from Google to return your album listing. Having 110,000, thats alot!
If the PhotoView splash screen images were scrolling this is because the API request timed out or your API token didn't refresh.  I can't duplicate, so not sure.

Thanks again for testing @timrit
Roku has approved the release and it went live today. Closing issue


Update golden-metrics-units-6 updating batch 6 of units to infra-* entities

Relevant information
Describe what you have done and any details that you think are relevant or that you might want to discuss with us.
Checklist

[x] I've read the guidelines and understand the acceptance criteria.
[x] The value of the attribute marked as identifier will be unique and valid.
[x] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

Closed since they have been 1 month open without addressing the comments


Ubuntu cannot install patron

https://github.com/metanorma/metanorma-jis/actions/runs/5033002576/jobs/9026992139?pr=86

Fixed


Toogle test results does not close results panel

After updating to the new 1.0.0 version the new command atom-python-test:toggle-test-results open the results panel, but once opened is not possible to close the panel by using the same command. Is this intended?

Hey,
Thanks for the report. It's not intented. I am working on this.

Check on version 1.0.1


Fix: Security warnings

Description
Bump lerna version to resolve security vulnerability in handlebars
tbh I may have caused these vulnerabilities yesterday during release (I ran yarn a few times from my release clone), but in any case updating lerna seems like it took care of all 3 warnings. Will have to check after it's merged.

When running yarn clean && yarn up, I'm getting changes to the yarn.lock file, which are to be expected, since lerna is being removed from the manager package.json. I would run those commands and commit the update yarn.lock.
Also, that yarn.lock doesn't contain changes for any of the compromised packages, so I'm not certain that this PR will actually resolve the warnings. You might actually need to install the latest versions of all of those packages.


Build error on OSX / Linux w/ UE4.18

In the UEPyLandscape.cpp file, we have this code:
	if (heightmap_buffer.len < (Py_ssize_t)(size_x * size_y * sizeof(uint16)))
		return PyErr_Format(PyExc_Exception, "not enough heightmap data, expecting %d bytes", size_x * size_y * sizeof(uint16));

However, size_x * size_y * sizeof(blah) returns potentially something larger than the max size of an int - and this throws a warning as an error.  We can get around this easily, but just figured I would post here for completeness.

Thanks for reporting, would you like to make a pull request or you prefer we directly fix it ?

I can send you something soon :)


[Task] fix mobile styles

Fix the mobile styling in this priority:

unauthenticated landing page (potentially for MVP)
the rest of the pages

Just triage at first for this ticket, then consult with @natalia-fitzgerald for designs as time allows post-mvp.

Closed by #754


Fix incorrect logic in compute_contingency_table

Internal development revealed a logical error in evaluation_tools.metrics.compute_contigency_table. This fixes that and updates the unit test.
Additions

None

Removals

None

Changes

Switch how false positives and false negatives are computed using crosstab.

Testing

The unit test that tests compute_contingency_table has been updated with corrected categorical test series.

Notes

Closes #38

Todos

None

Checklist

[x] PR has an informative and human-readable title
[x] PR is well outlined and documented. See #12 for an example
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (see CONTRIBUTING.md)
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output) using numpy docstring formatting
[ ] Placeholder code is flagged / future todos are captured in comments
[x] Reviewers requested with the Reviewers tool :arrow_right:

Looks good, I should have caught those during review.

Logical errors like this are hard to catch.


Problem with Trait and Segment

Hi,
I have an user with trait_id = distributor_id = 2557.

I created a segment call franquias and included a trait with distributor_id contains 2557 but my user is not included in the group.

Can you help me understand what is the problem?

hey @leon-developer-br  - this is probably because the trait is being cast as a number and you're applying a string rule.

Hi @dabeeeenster I tried puting some quotes but my test continue failiing.

Have you tried using =?

Yes

If I have a trait for a user like this:

You can check it's a number type by clicking on the trait and looking at the json:

Then I create a segment with the following:

The user is a member of that segment. Can you reproduce this?


How to create a sticky header

I want to be able to define the top most part of the screen as a sticky header. This can help to get the users' attention on specific conditions.
How can I achieve this with app layout?

Something like this is currently not supported.


Run app

after exporting DATABASE_URL ($env:DATABASE_URL = "sqlite://./todos.sqlite") on windows, it's also necesarry to run "cargo sqlx migrate run" before "cargo run". Then the application works fine :)

Hello @JV91 , thanks for sharing this issue, I made this commit https://github.com/Bechma/todo-axum-askama-htmx/commit/697464103f722bf3572d0b6db404308e58f90311 which will fix this issue, so now when you clone the repo, you won't need to run migrations.
Also, I added some extra information regarding recreating the database :)

Thank you for a quick feedback @Bechma. I went through the application and like it/learned a lot. Keep up the great work!


Add student name to restricted notes page container

Who is this PR for?

Educators who take notes (and especially restricted notes) on students

What problem does this PR fix?

#1186

What does this PR do?

Adds student name to restricted notes container.

Screenshot (if adding a client-side feature)

Checklist

[x] Tested latest version in an Internet Explorer virtual machine? (If the PR adds Javascript.)

selfie, this is a quick one!


Rectilinear mesh partition type

Create a rectilinear mesh partition type that takes a rectilinear grid and an array of meshes. Write a function that tests a point (midpoint of segment) for membership in the grid by finding the first value less than x,y,z. Can use searchsorted or just walk through the vector. Since this will be a very common op it should likely have a "if X>threshold , searchsorted,, else traverse vector".
Ray tracing would interest the grid first, then in order test segment midpoint to find the submesh to be tested. This will insert points in order.
Need a function to make this from a mesh and mesh partition tree

Might want to consider a companion vector of bvh hierarchy to get a finer spatial subdivision of the mesh.


REV: Seemingly orphaned branch on upstream codebase

@Kai-Striega Is it possible that you have created a branch on the upstream Scipy codebase instead of your fork with named revert-9263-linprog_rs? I see that you have a single commit with "ENH: optimize: added "revised simplex" for scipy.optimize.linprog" message from January.
I did this mistake a couple of times before too but I'd like to ask you before we take action if it was indeed a mistake or I missed the context for it.

This looks like a mistake. Linprog-rs should stay as it is.
On Sun., 10 Mar. 2019, 04:16 Ilhan Polat<EMAIL_ADDRESS>wrote:

@Kai-Striega https://github.com/Kai-Striega Is it possible that you
have created a branch on the upstream Scipy codebase instead of your fork
with named revert-9263-linprog_rs? I see that you have a single commit
with "ENH: optimize: added "revised simplex" for scipy.optimize.linprog"
message from January.
I did this mistake a couple of times before too but I'd like to ask you
before we take action if it was indeed a mistake or I missed the context
for it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/9926, or mute the thread
https://github.com/notifications/unsubscribe-auth/AcrktbdWypCJoEnmOGacChXoDGCPlpBbks5vVBaAgaJpZM4bm4a0
.

Must have been me? Revised simplex is me. We don't want to revert 9263.


Do not produce bad synthetic rows

During DWARF unwinding, we should first find the function where a given PC is included, and then find the actual instruction boundary. In our case, we don't represent functions and instruction boundaries separately, but we need a way to figure out if a PC is between two functions, but not included in their PC ranges. The reason for this is that we should stop unwinding at that point, as not finding unwind info for a PC indicates this.
In order to solve this in our compact unwind table representation, we were appending a synthetic row after adding every unwind row mapping every instruction from a function. This works when the next unwind row from the following function's first instruction differs from the current function's last instruction, but we were not handling this case.
In practice, if we are binary searching over an unwind table with duplicate PCs, if we land on the synthetic row first, we will stop unwinding, as we consider that there is no unwind information, even if that's wrong (the right row will be the next one).
In the unwinder we would find this special marker
https://github.com/parca-dev/parca-agent/blob/bdef22c2b7aa544cb6c7dcd59eb9368e986d96e1/bpf/cpu/cpu.bpf.c#L866 continue here
https://github.com/parca-dev/parca-agent/blob/bdef22c2b7aa544cb6c7dcd59eb9368e986d96e1/bpf/cpu/cpu.bpf.c#L1026 take this branch
https://github.com/parca-dev/parca-agent/blob/bdef22c2b7aa544cb6c7dcd59eb9368e986d96e1/bpf/cpu/cpu.bpf.c#L1044 and fail here
https://github.com/parca-dev/parca-agent/blob/bdef22c2b7aa544cb6c7dcd59eb9368e986d96e1/bpf/cpu/cpu.bpf.c#L1062 if we aren't dealing with a JIT compiler.
We can verify that's actually happening in production in one of our customer's deployment (see pc_not_covered):
parca_agent_native_unwinder_samples_total{unwinder="dwarf"} 1.03295398e+08
parca_agent_native_unwinder_error_total{reason="pc_not_covered"} 384695
parca_agent_native_unwinder_error_total{reason="catchall"} 189958
parca_agent_native_unwinder_error_total{reason="truncated"} 2716
parca_agent_native_unwinder_error_total{reason="unsupported_cfa_register"} 18312
parca_agent_native_unwinder_error_total{reason="unsupported_expression"} 4775

parca_agent_native_unwinder_error_total{reason="pc_not_covered_jit"} 0
parca_agent_native_unwinder_error_total{reason="should_never_happen"} 0
parca_agent_native_unwinder_error_total{reason="frame_pointer_action"} 0
parca_agent_native_unwinder_error_total{reason="jit_mixed_mode_disabled"} 0
parca_agent_native_unwinder_error_total{reason="jit_unupdated_mapping"} 0
parca_agent_native_unwinder_error_total{reason="jit_unwnding_machinery"} 0

Test Plan

Added snapshot tests yesterday, this will help us review the changes;
Wrote some unit tests to ensure that PCs can't be repeated;
Ran this for a while with no issues;
Once we release this we should follow up with this customer to ensure that this error rate dropped;

This PR depends on the testdata changes @ https://github.com/parca-dev/testdata/pull/23

Forgot to mention that as a side effect, we will save a bit of storage, which is always welcomed. For the whole of testdata/:
$ git show | grep -- "-pc" | wc -l
5620


Fix for #556 broke the api for users who were using the ActionFunc

Oh jeeze, thank you for fixing that and providing a test case. That was a pretty glaring miss on my part (assuming that the assertion would match the signature).


Add HTTP method option on custom webhook

 Issue by raymanound
Sunday Dec 29, 2019 at 16:45 GMT
Originally opened as https://github.com/opendistro-for-elasticsearch/alerting/issues/136

The custom webhook can only send the HTTP POST request by default. I think adding HTTP method as a option is helpful since many services API are using other HTTP methods as well like using PUT for update action.

Closing this as POST, PUT and PATCH are already supported (added in this change)


Error: Value is not expected type Image

Versions

gatsby-source-prismic: ^5.2.10
gatsby-plugin-prismic-previews: ^5.2.10
gatsby: ^4.20.0
node: 16.18.1

Steps to reproduce
Update Gatsby to v4 and Prismic to v5 an image with empty data returns null and throws an error.
What is expected?
Preview loads without image error.
What is actually happening?
I have the page templates builded with Prismic. One of content is image that is not required. I made upgrade from gatsby from v3 to v4 and Prismic from v3 to v5 build and site works correct. But when I try visit site with preview mode i have an error Value is not expected type Image.
In Prismic Image field is default

In preview data structure come like this. Thumbnail is object but image is null.

In schema I have this code

I have the same error.

This issue may be fixed in a recent version. Please update to the latest version and try again. If the issue continues to be a problem, please open a new issue. Thank you!
See the documentation for guides on updating to the latest versions: Gatsby + Prismic Migration Guides


Error Saying We Need to Compile Wheel On Older Toolchain

@fpq473 and @roipoussiere
I'm trying to update the wheel builds in CI to support OCP 7.6.*, and I'm getting this error. Did either of you experience this when you were originally figuring out this build method?

From the 3.9 ubuntu logs:

DEBUG:auditwheel.policy.versioned_symbols:Package requires GLIBCXX_3.4.30, incompatible with policy manylinux_2_31_x86_64 which requires {'GLIBCXX_3.4.16', 'GLIBCXX_3.4.20', 'GLIBCXX_3.4.4', 'GLIBCXX_3.4.15', 'GLIBCXX_3.4.23', 'GLIBCXX_3.4.24', 'GLIBCXX_3.4.27', 'GLIBCXX_3.4.25', 'GLIBCXX_3.4.2', 'GLIBCXX_3.4.6', 'GLIBCXX_3.4.1', 'GLIBCXX_3.4.8', 'GLIBCXX_3.4.21', 'GLIBCXX_3.4.26', 'GLIBCXX_3.4.9', 'GLIBCXX_3.4.10', 'GLIBCXX_3.4.13', 'GLIBCXX_3.4.18', 'GLIBCXX_3.4.17', 'GLIBCXX_3.4.12', 'GLIBCXX_3.4.3', 'GLIBCXX_3.4.22', 'GLIBCXX_3.4.7', 'GLIBCXX_3.4.11', 'GLIBCXX_3.4.5', 'GLIBCXX_3.4.14', 'GLIBCXX_3.4', 'GLIBCXX_3.4.19', 'GLIBCXX_3.4.28'}

This seems consistent with the fact that GLIBCXX_3.4.30 comes with GCC 12.1.0 (according to this) and I see this in the conda env:
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ...
    libstdcxx-ng-12.1.0        |      ha89aaad_16         4.3 MB  conda-forge

I don't know how OCCT and OCP (and possibly other things) were built, but is it possible to build them using an older version of GCC?  GCC 10.1.0 uses GLIBCXX_3.4.28 and that is provided as part of the manylinux_2_31 standard.  I found a commit which suggests this might be possible.
Put another way, though I'm really out of my depth here, is it possible to build a OCP conda pkg that works with libstdcxx-ng-10.1.0?  I tried imposing this condition on conda-install and it refused.
The alternative is to wait for a manylinux_2_35 standard to be established.  But this may take time, and I believe this also then restricts the wheel to environments where glibc 2.35 is available (ubuntu 22.04 and later, fedora 36 and later).

Do you happen to know which dependency pulls in gcc (libstdcxx) 12?
I have zero experience with conda, but I would suspect that this dependency might be pulled in just because it simply installs the latest available/compatible version of everything?

@mojca I'm not too familiar with conda either and wasn't able to figure out the dependencies.
But I was able to create a pseudo-"manylinux_2_35" wheel simply by allowing GLIBCXX_3.4.30.  Then I examined the libraries in the wheel, and found:
# objdump -D -C ./cadquery_ocp.libs/* | grep -E '^[.]/|GLIBCXX_3.4.30'

./cadquery_ocp.libs/libvtkCommonCore-9-c55e73f7.1.so.9.1.0:     file format elf64-x86-64
  3551ce:	ff 15 14 e5 41 00    	callq  *0x41e514(%rip)        # 7736e8<EMAIL_ADDRESS>
./cadquery_ocp.libs/libvtkIOAsynchronous-9-510bd448.1.so.9.1.0:     file format elf64-x86-64
    5bde:	ff 15 b4 60 00 00    	callq  *0x60b4(%rip)        # bc98<EMAIL_ADDRESS>    75e6:	ff 15 ac 46 00 00    	callq  *0x46ac(%rip)        # bc98<EMAIL_ADDRESS>
./cadquery_ocp.libs/libvtkIOFFMPEG-9-be851eba.1.so.9.1.0:     file format elf64-x86-64
    c2ab:	ff 15 5f 79 00 00    	callq  *0x795f(%rip)        # 13c10<EMAIL_ADDRESS>    c8f2:	ff 15 18 73 00 00    	callq  *0x7318(%rip)        # 13c10<EMAIL_ADDRESS>    cffd:	ff 15 0d 6c 00 00    	callq  *0x6c0d(%rip)        # 13c10<EMAIL_ADDRESS>    d13d:	ff 15 cd 6a 00 00    	callq  *0x6acd(%rip)        # 13c10<EMAIL_ADDRESS>
So it seems like those three VTK libs (as compiled for conda) need GLIBCXX_3.4.30.
If there's a better way to analyze what dependencies the "manylinux_2_35" wheel has, please let me know and I can run it.

vtk says that it needs gcc >= 4.8 (the code needs at least C++11) and wheels are provided for manylinux2014.
This is how they seem to build the wheels:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/.gitlab/os-linux.yml
It makes sense to start investigating what happens if one tries to install just vtk (via either conda or pip). I see no reason why gcc 12 would be pulled in (other than opportunistically taking the latest version). There should be a way to specify the version of gcc explicitly.

@fpq473 @mojca So can we just not copy the VTK libs before running auditwheel and add the vtk wheel as a dependency in setup.py, or will that cause other problems?

@mojca I'm clearly not understanding something (or maybe everything), because I followed your suggestion:
# mamba install python=3.9 vtk=9.1 'libstdcxx-ng<11'

This succeeds, but I still see:
# objdump -CD ./opt/conda/lib/libvtkIOFFMPEG-9.1.so | grep CXX_3.4.30
    c2ab:       ff 15 5f 79 00 00       callq  *0x795f(%rip)        # 13c10<EMAIL_ADDRESS>    ...

@jmwright I've considered that idea before.
I also just tried the following variant:

Install ocp 7.6 and vtk 9.1 into conda.
Forcibly delete all vtk files.
pip install vtk (manylinux wheel)
For every conda-provided file that points to the conda-provided vtk (now deleted), use patchelf to make it point to the pip-provided vtk.
As is done currently, put vtk and OCP into a wheel and run auditwheel.

This produces a manylinux_2_31 that appears to work with https://github.com/CadQuery/cadquery/pull/1156.

Managed to get 7.6.3a0 manylinux_2_31 wheels built here: https://github.com/CadQuery/ocp-build-system/actions/runs/3169218456
@jmwright Is it safe to simply trigger the release workflow?

@fpq473 Thanks!
I believe that a tag for the release has to be created in this repo before running the release workflow. It also looks like version 7.5.3 is hard coded into the release workflow. I was probably just trying to get everything working and forgot to make it more generic later. https://github.com/CadQuery/ocp-build-system/blob/main/.github/workflows/release.yml

The wheels seem to be properly named now, e.g.

Uploaded /home/runner/work/ocp-build-system/ocp-build-system/dist/cadquery_ocp-7.6.3a0-cp310-cp310-manylinux_2_31_x86_64.whl (100.0%) bytes 134217728:140563693

link
So should I create a 7.6.3a0 release using these instructions (which include making the tag)?  https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release
And then trigger the release workflow?

Sure.
a0 (as you have above) is the proper designation rather than alpha0, correct?

Yes, a0 is correct per https://peps.python.org/pep-0440/#pre-releases.
I'll give it a shot now.

I would say this issue has been addressed. Thanks again @fpq473 !


feat: enable audit for wayback urls on all formulae

Still for core only
Follow up of #16476
With https://github.com/Homebrew/homebrew-core/pull/160050 all formuale in core have been treated

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Thanks @iMichka and @SMillerDev!


Ammend fund proposal

PR for amend fund proposal extrinsic and tests

Nice, ive written the benchmark and there is a test for ownership written in the brief pallet.


Create a lint rule for disabled controls

Summary
We often have to deal with disabled controls in Primer which are typically inaccessible to most users. If we could create a rule that would help stem that usage, then it might reduce the amount of inaccessible patterns that are commonly used with the disabled attribute.
Idea
We cannot restrict usage of the disabled attribute outright, as it may be a good option in some cases. Since there are many different nuances for how and when this attribute is used, we should restrict this rule to only be applied in specific cases.
In forms
We provide guidance against disabling save/submit buttons in forms and instead provide a reason as to why the submission isn't successful. We could potentially create a rule that throws a violation against disabled submit buttons used within a <form>, or similar form-based components.
Example of bad usage:
<form>
  <label>Name
    <input type="text" name="name" required />
  </label>

  <label>
    Bio
    <textarea name="bio" rows="5" />
  </label>

  <!-- The control is disabled, but provides no explanation as to why -->
  <button type="submit" disabled>Save</button>
</form>

We could warn in instances where disabled is used for the submit control, much like in the example above.
As suggestions
ESLint allows you to provide suggestions to patterns without throwing an error. We could utilize this to steer developers away from disabled, by encouraging them to look into using a more accessible pattern that will fits their needs.

@TylerJDev 👋🏻 I added this to the a11y eng Inbox for us to triage and prioritize, but if you were thinking this would be better addressed through avenue let me know!

Yup, that's perfect @lesliecdubs! Thank you!


Textures not loading in Android build!

Hello,
Hope you are doing well,
I took a build for android.
But the problem is textures/chess pieces are not loading in game,
Buttons are clickable.

hi
I have the same problem
have you found any solution ?

I got solution , its just because the streamWriter is set to unAlocated location .
to fix this issuse just go to Zobrist.cs and change line number 106  and replace with this line
			return Path.Combine (Application.persistentDataPath, randomNumbersFileName);

it worked
thanks a lot

I got solution , its just because the streamWriter is set to unAlocated location .
to fix this issuse just go to Zobrist.cs and change line number 106 and replace with this line
			return Path.Combine (Application.persistentDataPath, randomNumbersFileName);

after trying this, I facing a lagging issue when the pawn changes position. do you have any solutions for that?

hi too late but did you tried debugging it?


Added known limitations documentation

Known limitations documentation added.

I see two files now (https://github.com/CitrineInformatics/taurus-documentation/tree/limitations/docs)


no perforamnce improvement with GPU

I have benchmarked with resnet50, resnet101, the bn_fusion performance improves with CPU (about 7%), but no improvement with cuda.
There is no noticeably difference between torch.cuda.cudnn.benchmark true and false.
My guess is that cudnn can optimize such case really good already.
my test code: https://github.com/xuyuan/pytorch_bn_fusion/blob/master/test_convert_inference.py

Hi,
thanks!
I need to check this issue in more detail, but I will be back to it when I have more time. I was testing on CPU and I was getting performance gain and reduced memory usage.


New Crowdin updates

Your GitHub action needs to be fixed
or you can simply remove it in dev/rewrite


Use path instead classname to prevent errors for exported visual shaders

https://github.com/godotengine/godot/pull/39571 for 4.0 branch
Fix #39569

Thanks!


Sending float64s via JSON to GDAX results in "Price too precise" errors

Currently, use of this library to CreateOrder()s often fails, because the price must be sent as a float64 to the library (as opposed to a string), and is then converted to a string with too much precision. The GDAX API then rejects these orders with an error message, explaining that the "price [is] too precise."
More generally, the use of float64s is probably not ideal.

It may be good for a fork of this to switch from float64 to Shopspring's Decimal library: https://github.com/shopspring/decimal

refs https://github.com/preichenberger/go-gdax/issues/18

@ivy suggested we use strings and have the user bring their own decimal lib. I did an initial pass in this pr: https://github.com/preichenberger/go-gdax/pull/48
I chose not to add shopspring's decimal. It will still require the user to call decimal directly when they "use" a price, so it will only save one convert at the expense of adding a 3rd party dependency.
Feedback is welcome!

any updates here? This is a pretty serious issue.

Closed with https://github.com/preichenberger/go-gdax/pull/48


use_single_threshold should default to False

When first starting out, I grabbed an example .prm file from here, which didn't include the use_single_threshold field. That means that it always defaulted to True, as shown in default_settings.py. I think it would be better to have it default to False.
Some channels are noisier than others. Some are completely faulty. If a noisy channel is included in spike detection, by default it currently does two undesirable things: it unnecessarily increases the detection threshold for all other channels, and it causes lots of false positive detections on the noisy channel. In one particular example, I have a channel whose noise level is maybe 2X that of all the others. With use_single_threshold=True, this particular channel was constantly being triggered off of, greatly slowing down detection and clustering. It was quite extreme. For this 20 min recording I ended up with about 1 million detected spikes on the faulty channel, and only a few 10s of thousands on the others. Setting use_single_threshold=False eliminated the problem, without requiring me to exclude the channel from spike detection.
I've heard that there was a similar setting in the Klusters spike sorting pipeline, and that it defaulted to using a different threshold for each channel.
Thoughts?

The supposed logic with this is the following: assuming a probe with identical gain per site, the only reason for a different standard deviation would be because of natural local variation in firing rate. So, by setting per-channel thresholds, you'd be excluding a larger number of (valid) spikes from a site in a densely-firing area, and including a large number of noise spikes from a site in a very sparsely-firing area.
Essentially it boils down to this: in your experimental setup, do you see a lot of per-channel variation in SNR or gain? In the recordings I've seen from our lab this mostly isn't the case (with the exception of obviously dead/high-noise channels) but I've seen other recordings on different types of probes where this is the case (normally the exception not the rule) and setting use_single_threshold fixes the problem. So, I guess you might want to set it as a default in your pipeline's PRM template, but I'm not sure whether it should be a global default?

Hi Max. Hm, interesting point, except it's not actually standard deviation that's used to measure noise, is it? My understanding is that klusta uses the median (based on Quiroga2004), which should be quite insensitive to spikes, and spike rate, unless the rate is really high.
I wonder if someone's looked at how high the firing rate has to be on a channel before it starts to seriously bias the median-based noise level. Actually, Figure 3 in Quiroga2004 does exactly that. You have to get to a rate of about 40 Hz for the median-based noise level to go up by 10%. Seems like standard deviation based noise is about 8 times more sensitive to spike rate.


Add support for var_value in operands_and_partials

Summary
operands_and_partials (and precomputed_gradients_vari) now supports var_value operands.
scalar_type now also works with var_value. scalar_type_t<var_value<T>> is now var_value<scalar_type_t<T>>.
Tests
Changes in operands_and_partials and precomputed_gradients_vari are tested.
Side Effects
None.
Release notes
operands_and_partials now supports var_value operands.
Checklist

[x] Math issue #1875

[x] Copyright holder: Tadej Ciglarič
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

@SteveBronder this is ready for review.

Should we have an op_partials_edge for std::vector<var_value>?

Yeah, definitely!

I think we should rewrite these a bit. It's weird we have a mix of partial specialization and SFINAE. Though we don't need to do that in this PR

What is wrong with mixing requires in specializations? We do it in many places and it tends to be the easiest way to implement some things.

What is wrong with mixing requires in specializations? We do it in many places and it tends to be the easiest way to implement some things.

There's nothing wrong with it in terms of code correctness. It just means having to remember more rules when reading different specializations. If we can do something using one rule then that feels simpler to me and should be preferred

When working with classes or structs we can't use overloads, so we have to use specializations. In this case I see no way to avoid requires, as some specializations are dealing with Eigen types.

When working with classes or structs we can't use overloads, so we have to use specializations. In this case I see no way to avoid requires, as some specializations are dealing with Eigen types.

Yes I think we should use all requires and not partial specializations. But I also don't think that needs to happen in this PR

@wds15 I have a threading test failure here. I think this PR changes nothing that would affect reduce_sum. Actually the last commit changed only doxygen (and everything passed before). I don't know the code, but given it is threading that just randomly failed it could be there are some data races. Since you were working on threading a lot, I think you may want to check this out.

The failing test complains that it did only run in a single thread, but the expectation was that multiple threads are supposed to get used. Smells for a Jenkins / machine issue to me.

Ok, I will just restart and hope it does not repeat.

That Jenkins error might be some weird thing where -std=c++1y for mpicxx.openmpi doesn't fully implement C++14? We could just put in the for_each thing I have above which should fix that error (at least when I used it in the base branch it passed fine)

@t4c1 fyi I was worried the merge would be weird since I squashed the vari_base branch so I did the merge here after merging the eigen branch this is based off of. Turned out to be fine but didn't want you to have to muck through it if it was bad

This is off topic to some extent... still the SIR example runs now a lot slower due to the new templated var_value thing. This is fixed by switching on lto with the compilers as I understood, but apparently this is not turned on by default if I see this right. Can lto be turned on in the makefiles permanently to ensure good performance or is there a reason against that?
If this bears more discussion, I am happy to file this as an issue or kick off a discourse discussion, whatever is more appropriate.

This is a question for @SteveBronder. Also this PR does not touch templating itself. Templating was already merged in https://github.com/stan-dev/math/pull/1952.

This is off topic to some extent... still the SIR example runs now a lot slower due to the new templated var_value thing. This is fixed by switching on lto with the compilers as I understood, but apparently this is not turned on by default if I see this right. Can lto be turned on in the makefiles permanently to ensure good performance or is there a reason against that?

If this bears more discussion, I am happy to file this as an issue or kick off a discourse discussion, whatever is more appropriate.

The issue on our Jenkins computer is that it uses clang-6, which we can use with flto but have to specify the llvm-ar in the build. Specifying gcc-ar and llvm-ar is necessary for gcc-4.9.3 and clang-6 but not for gcc >= 5 and clang >= 7. I've tried this and got flto working when I log into the mac and linux computers, but I tried setting this up for Jenkins and it couldn't recognize when I setup the AR makefile var.
It may be good to make a separate issue. I think we can support clang-6, but test on clang-7 so that we can just turn on the -flto flag on Jenkins and for the perf tests. If we suggest a bunch of non-standard compiler flags it would be good to test with all of them turned on.
clang-6 was released on March 8th 2018 and clang-7 was released 6 months later on September 19th 2018 so I think it's fine/safe to test on 7

@wds15 not really off topic, but a separate issue is probably good so that @SteveBronder doesn't have to repeat himself more than necessary. Keep harassing us until there is a solution there.

Ok...the makefile should ideally switch lto on when running with recent enough compilers and leave it off otherwise ... in full automation. I file an issue for that. Sure.

Ok...the makefile should ideally switch lto on when running with recent enough compilers and leave it off otherwise ... in full automation. I file an issue for that. Sure.

I had a bit of trouble with this for clang specifically. clang-6 -dumpversion gives 4.2.1, but so does clang-7! With clang-8 it returns 8, same with clang-9. But I'm not sure how to tell the diff between 6 and 7 across systems.

@SteveBronder @bbbales2 Can we merge this or do you need to go over the code one more time?


Dead download link in Market Place

We have an “Error 404 not found” in we try to download theme
https://marketplace.getpublii.com/products/starte

Fixed. Thanks for reporting this issue.


Project not running

Issue Type: Bug
I write a code and try running and it gives me an error on a previous file i made...It's irritating,please try and fix it asap
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
3.85GB (0.70GB free)

Process Argv
--crash-reporter-id 82d99b54-5e4f-4104-876e-935ae9813e4f

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

path-intellisense
chr
2.3.0

bracket-pair-colorizer
Coe
1.0.61

gitlens
eam
11.1.3

vscode-firefox-debug
fir
2.9.1

macro-executor
iSo
0.2.4

vscode-docker
ms-
1.9.0

python
ms-
2020.12.424452561

vscode-pylance
ms-
2021.1.0

jupyter
ms-
2020.12.414227025

atom-keybindings
ms-
3.0.9

debugger-for-chrome
msj
4.12.11

java
red
0.73.0

html-mason
via
1.0.0

vscodeintellicode
Vis
1.2.10

vscode-java-debug
vsc
0.30.0

vscode-java-dependency
vsc
0.16.0

vscode-java-pack
vsc
0.12.1

vscode-java-test
vsc
0.27.0

vscode-maven
vsc
0.27.1

/needsMoreInfo

/needsMoreInfo

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

Updated my comment...check again please

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

Updated my comment...check again please


still on the problem and no question response？

Initializing ChatGPT...
Done.
Initializing AirSim...
what should I DO?
thank  you ！

I also encountered this problem, have you solved it?

I also encountered it,  why?

可能是后台运行了AirSim.
打开任务管理器，在后台进程中把AirSim进程结束掉就行了。

@ajkfgkasdg
Hi~
I have been attempting to try the drone simulation but when I run the chatgpt_airsim.py it gives error. I tried reinitializing everything and performed all basic debugging still no success.
Does anyone have suggestions? thanks~~


Karpenter frequently pulls up nodes and pods cannot be scheduled

Description
Observed Behavior:
The resources required by the pod are 7 cores and 5 GB. The node specification is set to c5.2xlarge in the nodepool configuration. This node is configured to be 8 cores and 16 GB.
Therefore, this node can allow the pod to run normally, but it appears to be pulling new node all the time, and the pod still is pending.
My understanding is: kubelet on the node reserves 500m cpu in its own resource settings, so the allocable cpu is 7500m. Daemonset pod requires 700m cpu, so when the node is started and daemonset is scheduled, centos pod has no resources to run on the node, so karpenter continues to pull up a new machine.
Expected Behavior:
This situation should have been encountered by other companies. What is the best practice and how to avoid this situation?
Is it possible to add fixed resources in the karpenter configuration file to indicate the resource reservation size of kubelet?
How does Karpenter calculate the required node specifications: Is it determined by the resources required by the business pod + daemonset pod?
Reproduction Steps (Please include YAML):
karpenter version
$ helm list -n karpenter
NAME        NAMESPACE   REVISION    UPDATED                                 STATUS      CHART               APP VERSION
karpenter   karpenter   6           2024-05-22 11:24:01.974303415 +0800 CST deployed    karpenter-v0.32.9   0.32.9

karpenter nodepool config
$ k get nodepool dev-git -o yaml
apiVersion: karpenter.sh/v1beta1
kind: NodePool
metadata:
  name: dev-git
spec:
  disruption:
    consolidateAfter: 5m0s
    consolidationPolicy: WhenEmpty
    expireAfter: Never
  template:
    metadata: {}
    spec:
      nodeClassRef:
        name: dev-git
      requirements:
      - key: app.abc.test-eks/business
        operator: In
        values:
        - git
      - key: app.abc.test-eks/env
        operator: In
        values:
        - dev
      - key: kubernetes.io/os
        operator: In
        values:
        - linux
      - key: kubernetes.io/arch
        operator: In
        values:
        - amd64
      - key: karpenter.sh/capacity-type
        operator: In
        values:
        - on-demand
      - key: node.kubernetes.io/instance-type
        operator: In
        values:
        - c5.2xlarge

my deployment yaml
$ cat centos.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: centos
  namespace: git-test
spec:
  replicas: 1
  selector:
    matchLabels:
      name: centos
  template:
    metadata:
      labels:
        name: centos
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: app.abc.test-eks/business
                    operator: In
                    values:
                      - git
                  - key: app.abc.test-eks/env
                    operator: In
                    values:
                      - dev
      containers:
      - name: centos1
        image: centos:7
        imagePullPolicy: Always
        resources:
          requests:
            cpu: "7"
            memory: 5Gi
          limits:
            cpu: "7"
            memory: 5Gi

        command: ["sleep", "infinity"]

log
$ k get NodeClaim | grep git
dev-git-7ldrb        c5.2xlarge      ap-northeast-1c   ip-10-10-1-174.ap-northeast-1.compute.internal   False   28s
dev-git-8smvf        c5.2xlarge      ap-northeast-1c   ip-10-10-1-154.ap-northeast-1.compute.internal   True    2m47s
dev-git-bwhxs        c5.2xlarge      ap-northeast-1c   ip-10-10-1-81.ap-northeast-1.compute.internal    True    4m4s
dev-git-cs5tg        c5.2xlarge      ap-northeast-1c   ip-10-10-1-254.ap-northeast-1.compute.internal   True    5m48s
dev-git-gkms8        c5.2xlarge      ap-northeast-1c   ip-10-10-1-24.ap-northeast-1.compute.internal    True    2m18s
dev-git-hshrz        c5.2xlarge      ap-northeast-1c   ip-10-10-1-198.ap-northeast-1.compute.internal   True    114s
dev-git-lqsgw        c5.2xlarge      ap-northeast-1c   ip-10-10-1-248.ap-northeast-1.compute.internal   True    4m58s
dev-git-mq2nf        c5.2xlarge      ap-northeast-1c   ip-10-10-1-74.ap-northeast-1.compute.internal    True    54s
dev-git-qdbgd        c5.2xlarge      ap-northeast-1c   ip-10-10-1-57.ap-northeast-1.compute.internal    True    4m28s
dev-git-qtshk        c5.2xlarge      ap-northeast-1c   ip-10-10-1-236.ap-northeast-1.compute.internal   True    3m8s
dev-git-sqqqn        c5.2xlarge      ap-northeast-1c   ip-10-10-1-91.ap-northeast-1.compute.internal    True    87s
dev-git-wzfhd        c5.2xlarge      ap-northeast-1c   ip-10-10-1-218.ap-northeast-1.compute.internal   True    3m38s

pod still is pending
$ k get pod
NAME                      READY   STATUS    RESTARTS   AGE
centos-654b59b549-5hnn9   0/1     Pending   0          7m4s

Versions:

Chart Version: karpenter-v0.32.9
Kubernetes Version (kubectl version): v1.28.11-eks-db838b0

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

it happens also on version 0.37.0
k describe <node>
.
.
  Resource                   Requests    Limits
  --------                   --------    ------
  cpu                        507m (12%)  302m (7%)
.
.

requirements for my pods are CPU: "3.5", RAM: "15Gi" and in my case karpenter creates r5dn.xlarge which is too small for my pod and only daemon set pods are running there.

I'm also noticing similar issue, where Pods are scheduled by Karpenter on a nodeclaim, while default-scheduler decides that given node from Karpenter has insufficient resources and won't run the pod on this node, hence I have Pod stuck in Pending for many hours sometimes days

If you encounter this problem, you can refer to this link of karpenter, which describes how to add resource reservation in the configuration to solve this problem. Please ask the R&D staff to help confirm whether there is another way to solve it.
https://karpenter.sh/docs/concepts/nodepools/#reserved-resources

we tried bumping up kube reserved memory still seeing issues where nodes are created while kube scheduler is unhappy with node created and won't place the node, but we noticed at in past when we were at v0.27.X Karpenter was able to relax the topologConstraints and place the nodes properly, our daemonsets haven't changed before or after upgrade of Karpenter.


Update OHW images for cert change blocking Github login

We just found out that gh-scoped-creds and gh CLI tools weren't working in our images due to change in Github's TLS certs, so this bumps ca-certificates to try to fix that.

Thanks James!


Identity: apply Jeff's concurrent token refresh logic

We currently have one, but Jeff's invention is better.
Also, we wanted to extract identity into a module, this might be a good task to combine with.

@antkmsft Can you elaborate on this item.  Is this work necessary now that we have token caching?

@RickWinter, this have been so long ago. We've made multiple improvements since then. We are good in terms of concurrency, and identity has been extracted into a separate module long ago. We should close this item, it is completed.


Support case sensitive file systems

Looks like beatlist converts all paths to lower case. This doesn't work on, for example, Linux, which has case sensitive file systems

Even tho I'm a Arch Linux user myself, I do game on windows and I made it to support windows. The reason I did not even try to support linux is because I dont have the time, personally, to test on both platform nor I game on linux (got an nvidia gpu). The readme.md specify that only windows is supported.
I had problem in the past for case insensitive path when comparing two path which pointed on the same location for the OS but did not pass the === string equals. So my quick and dirty solution at this time was to lowercase them all.
But if you got the time to test and make it working, I'd be glad to accept PR about this 👍

I'll close at wont-fix for now, but know that I'm open to PR


some questions about distributedGroupSamper in sampler.py

I have defined my own sampler method,and it works fine in GroupSampler to use single GPU,but I could not understand how it works in distributedGroupSamper.
Detailly,I fix the iter function in the GroupSampler class .as we know,the indices is a list which contains the dataset index,thus ,I define my own sampler method to return a dataset index list.so how could I change the code to fit in distributedGroupSamper?

DistributedGroupSamper also returns an index list, but takes the world size and rank into account. If there are 8 processes, the DistributedGroupSamper just need to return 1/8 of the total indices.


Fix some broken links, add Go applications to index.md

As an aside, we might want to set up some quick scraper as part of CI to check that there's no links that 404s, since checking manually might become cumbersome..

Thanks for the review @Stadicus, PTAL.

utACK https://github.com/digitalbitbox/bitbox-base/commit/03f090a6bf1ea1cc0c64f0c59c7d6c1bcfdd80cf


Spyder get_namespace triggering depecration warning (Shapely 1.8)

Cross posting my issue here just in case anyone here can weigh in: https://github.com/spyder-ide/spyder/issues/16854
Thanks for all you do!

The warning is intended and is to tell the Spyder developers what they need to change to get ready for 2.0.


Simple string encryption

Following the examples and deep diving into PGPUtil.writeFileToLiteralData(comData.open(bOut), PGPLiteralData.BINARY,
is there a way to simple encrypt a string with a public key? i managed to get everything set until input file is the only option getting inputs, please help or implement some features.

im referring to making a simple handler for string encryptions without the need to compress it to a zip and encode it.


html reviewed

add this branch

hi, html should not be modified manually, not should they be included in the repo I think. can you give some info about what you want to achieve with this?

Hello and welcome, nice to see people looking into this. I can't remember how colours are set, probably some default CSS somewhere, how did you build the page?

maybe there was a misunderstanding that I didn't build the page I just changed some CSS that was unused.


tests.py.test._intermediary_low_test.EchoTest

https://grpc-testing.appspot.com/job/gRPC_master/15847/config=dbg,language=python,platform=linux/testReport/junit/(root)/tests/py_test__intermediary_low_test_EchoTest/
running test_lite
I0316 15:57:43.944893872    6922 init.c:140]                 grpc_init(void)
WARNING:root:Random seed for this execution:<PHONE_NUMBER>
WARNING:root:Random seed for this execution:<PHONE_NUMBER>
/var/local/git/grpc/src/python/grpcio/tests/unit/framework/face/testing/base_util.py:35: DeprecationWarning: the alpha API (includes this package) is deprecated, unmaintained, and no longer tested. Please migrate to the beta API.
  from grpc.framework.base import util as _base_util
/var/local/git/grpc/src/python/grpcio/tests/unit/framework/face/testing/blocking_invocation_inline_service_test_case.py:36: DeprecationWarning: the alpha API (includes this package) is deprecated, unmaintained, and no longer tested. Please migrate to the beta API.
  from grpc.framework.face import exceptions
Running       _intermediary_low_test.EchoTest.testManyManyByteEchoes
[95mTesting gRPC Python...
[0m[92mSUCCESS       _intermediary_low_test.EchoTest.testManyManyByteEchoes
[0mRunning       _intermediary_low_test.EchoTest.testManyOneByteEchoes

Haven't seen in a while.