Single OIDC provider for multiple EKS clusters

In my company, we create multiple Kubernetes clusters with EKS (for redundancy reasons). Those clusters have the exact same configuration (the same manifests/YAMLs which are hosted in a Git repository) . We are currently in the process of eliminating the need to use AWS Access Keys and replace them with AWS Roles.
The problem is that by following the tutorial provided in this repo, it seems that every cluster needs to have different OIDC providers, so we won't be able to use the exact same roles in our service accounts.
Is there a way to use a single OIDC provider for all of our clusters? I've followed the Self-Hosted configuration documentation, but it relies on changing the API Server flags, which is something that can't be done on EKS.
Another solution that came to mind is using wildcards in the Role's principals, but it's not secure (because with this approach, testing clusters created in the same account as a production cluster can assume roles for production services)
Something like
"Principal": {
  "Federated": "arn:aws:iam::1234:oidc-provider/oidc.us-west-2.eks.amazonaws.com/*"
},

I accept other suggestions though
Thanks!

Maybe using a wildcard in the principal does the trick. I'll test it tomorrow
Something like
"Principal": {
  "Federated": "arn:aws:iam::111122223333:oidc-provider/oidc.us-west-2.eks.amazonaws.com/*"
},

@santiagopoli That syntax actually works.  Unfortunately, if you want to use the condition to scope down a specific service account, it no longer works because the subject claim name is different each for each cluster.

Thanks for opening this issue. A shared OIDC provider is not something we intend to support, because if this were the case, the signing keys for service account tokens would be the same on both clusters, resulting in a token from one cluster being usable with the API server on a separate cluster. This breaks cluster isolation in confusing and unintended ways.
You can reuse IAM roles for multiple EKS clusters though. The Statement field of the IAM role's trust policy is an array, so you'll need to add each cluster as a trusted provider.
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Federated": "arn:aws:iam::${AWS::AccountId}:oidc-provider/oidc.eks.${AWS::Region}.amazonaws.com/id/${Cluster_1}"
      },
      "Action": "sts:AssumeRoleWithWebIdentity",
      "Condition": {
        "StringEquals": {
          "oidc.eks.${AWS::Region}.amazonaws.com/id/${Cluster_1}:sub": "system:serviceaccount:${Namespace}:default"
        }
      }
    },
    {
      "Effect": "Allow",
      "Principal": {
        "Federated": "arn:aws:iam::${AWS::AccountId}:oidc-provider/oidc.eks.${AWS::Region}.amazonaws.com/id/${Cluster_2}"
      },
      "Action": "sts:AssumeRoleWithWebIdentity",
      "Condition": {
        "StringEquals": {
          "oidc.eks.${AWS::Region}.amazonaws.com/id/${Cluster_2}:sub": "system:serviceaccount:${Namespace}:default"
        }
      }
    }
  ]
}

Does that suit your use case?

Closing with no reply

We have a similar situation, and now we’re trying to write tooling that can help with this issue. This is problematic in the following flows:

when creating a service that need IAM permission: the developer need to know what are all the clusters, and add them to the role.
when deploying a new cluster, the operator need to update all the roles with the new cluster oidc provider

Right now I built a small operator that read the requested policy from an annotation on the service. The operator creates a role, set up the oidc policy for the cluster it’s running on and attach the requested policy. Then, it set the annotation with the role name.
Maybe supported feature like that can be merged into this webhook? This will solve our issue

@omerlh This webhook doesn't interact with IAM at all, it is just a connivence layer for mutating pods. I do see the problem but I think its outside the scope of this webhook.

The operator creates a role, set up the oidc policy for the cluster it’s running on and attach the requested policy.

While this technically works, manipulating role policies in-cluster is not something we want to encourage customers to do. iam:CreateRole and iam:UpdateAssumeRolePolicy  are very privileged APIs, as the operator can create a role with any policy and can control who can assume any role (minus a possible permission boundary).  If your operator's policy was:
{
  "Version":"2012-10-17",
  "Id": "DO-NOT-DO-THIS",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "iam:UpdateAssumeRolePolicy"
      ],
      "Resource": "*"
    }
  ]
}

and without a permission boundary, the operator could modify who can assume any role in the account, including an Admin role.

I agree, but there has to be some tool with those permissions. I don’t want devs to do those things manually, so it’s either operator or a CI process (terraform/cdk).
To make it more secure, I plan to enforce tags on the policy - specifying which service account can use this policy.
I hear your concern, but I do think providing costumers some guidance regarding how to use this in multi-cluster/multi accounts scenarios can be relevant.
While it’s out of scope of the webhook, maybe it can be another component? I’ll be happy to contribute the code.

I totally get it, this is not the kind of permission you want to give to arbitrary devs either. Its pretty impractical for EKS to pick just one recommended solution here because our customers use so many different orchestration solutions on top. eksctl can perform the kind of setup you're doing, but you're right that you'd need some engine (GitOps/Terraform/something else?) to actually do the execution.
That being said, I'm all for a separate tool that could do the orchestration. In building a separate tool, it'd be important to be sure it can be run as an out of cluster application. The scary thing about in-cluster is that with the above example setup, you're one public K8s 0-day or one misconfigured RBAC rule away from AWS account takeover, not just cluster takeover.

I found a pretty neat solution - I moved role creation logic into a lambda, and the mutation webhook has only the permission to invoke it. The lambda validates the tags on the policies, so you can assume only very specific policies. If we can add another layer of validation to this webhook (what roles an SA can assume), it will be even better

Hi, I know that this issue is closed but the issue is of interest to us. There is a hard limit of 100 OIDC providers for AWS account. This means we will not be able to provision more than 100 eks clusters in our account, I am not sure how we can overcome this. Any thoughts?

@keerthi0489 IAM will approve a limit increase for more than 100 providers in an account

@micahhausler - Thanks for the response, I have already opened a limit increase case with them, since this is a hard limit , I am not so sure they will. Have you been able to get that increased on your account?

I've previously confirmed with the IAM team that > 100 will be approved.

Hi @micahhausler !

You can reuse IAM roles for multiple EKS clusters though. The Statement field of the IAM role's trust policy is an array, so you'll need to add each cluster as a trusted provider.

The problem we are facing setting up multiple identical clusters in the same AWS account is that the IAM role trust policy is also limited in size, so once we have 11 clusters we cannot trust more oidc providers using this strategy.
Do you have a suggestion for us? Our use case is dynamic test clusters, again with identical manifests/iam roles etc.

Hi. I know it was said that shared OIDC providers won't be supported, but I'm wondering if something changed since then and there's possibility for reconsideration. It would in fact help us very much in the following usecase:
We want to use blue/green strategy for EKS cluster upgrades. Meaning that, instead of upgrading live cluster in-place, we instead bring up a second cluster near it, switch traffic to it, then delete the old cluster if everything is ok. The new cluster runs all exact same apps with the exact same versions like the old cluster, and everything is automatically deployed by a GitOps controller reading from the same source as previous cluster.
In this case, we want to be able to bring up the new cluster and immediately allow GitOps controller to install all apps without making any changes to application-specific infra in AWS, because app infra is shared between both clusters, and it should be decoupled from cluster deployment. So far, this works well for everything except IAM roles for service accounts, because the trust policies in roles require knowledge of OIDC url, which only becomes known after cluster is created.
Shared OIDC provider for both clusters would be a perfect solution. We could create IAM roles for both clusters ahead of time, and treat it just as any other app-related infra. The fact that token for one cluster can be used on another one isn't a concern in this particular case.

I totally agree with @artem-nefedov  statement. We are currently using the same solution but when we want to upgrade a cluster all teams need to add the new OIDC url to their Terraform vars and apply the changes. This is really a sub-optimal solution with large amounts of risks. Having the ability to seamlessly replacing a cluster without changing IAM roles would be very nice.

@phillebaba you can disassociate an EKS cluster from the OIDC provider it "comes with" and reassociate it with a shared OIDC provider. But this requires the masters to be rebooted, which can take some time (10-40 minutes).
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_identity_provider_config

@artem-nefedov, @phillebaba as it seems the "1 cluster per OIDC provider" rule stands, I'm curious if you came upon any more elegant solution to managing identical staging/prod EKS clusters using OIDC. My assumption is that you have to create separate OIDC provider environments to match each EKS environment, then switch using eks_identity_provider_config terraform resource when blue switches to green? (hoping that the blue OIDC env was truly identical to the green OIDC env).
We are using Okta as OIDC provider for EKS in order to elegantly provide RBAC solution to large pool of users (already using Okta for AuthN). I was hoping I wouldn't have to manage separate Okta instances for every EKS instance, since we are using CI/CD for deploying the EKS clusters themselves and commonly create-test-destroy an ephemeral cluster per PR, not to mention dev, qa, staging, and prod.

So I have started looking at the solution you mention with eks_identity_provider_config, but it may take a while for me to get around figuring something out. My hope is to create a new shared oidc provider in AWS and add it to all EKS clusters. I have no idea if this will actually work with IRSA, but it is worth a try to see if it is possible. I have not found any blog post that claim that this works so if you find any please share!

@artem-nefedov, @phillebaba, @ghostsquad, It's not clear to me what precisely "doesn't work" about assigning the same OIDC provider to multiple EKS clusters. Does it fail at the EKS configuration step (i.e. does EKS configuration page issue an error recognizing this has happened?), or is the main problem the security issue mentioned by @micahhausler of having multiple clusters receiving the same signing keys for service account tokens, thereby allowing a token from one cluster being usable with the API server on another.
If the main issue is the latter, would anyone agree that it's reasonable to accept this risk within testing environments only accessible on private networks?
To ensure each of our many test clusters has its own Okta OIDC provider instance, we are faced with having to either:

Pre-create a pool of Okta instances and designing a resource management system to dole them out to ephemeral EKS clusters in a mutually exclusive way. OR
Use the Okta API to automatically create a new Okta instance on the fly to associate with each new EKS cluster. (I'm not even sure this is possible after a quick look at the docs)

Why you didn't use lambda to create OIDC? It is just invoked when a new cluster is created.

There must be a way around this? We are running multi-tenant EKS clusters and are moving toward being multi-region with Istio service. Not only does this mean we need to coordinate OIDC providers and shared trust policies between our regions and tiers (Stable and Beta), but all of our tenants will need to update their cross-account trust policies EVERY time we want to rebuild a cluster or add a cluster. This will cause inter-team dependencies that are not scalable.
Can't there be an option for sharing OIDC between clusters with a disclaimer or something?

Jan 2022 edit: The IAM team is not approving limit increases, this is a hard limit for them.

So how to resolve this problem, I think this issue should be reopened ? @micahhausler

@micahhausler
can you open this issue please OR provider alternatives?
we have a use-case to create a bunch of temporary test clusters for engineers to replicate our existing environment which lasts only a few hours, it is not feasible for us to update all IAM roles and the limitations on the trust relationship policy is very small that we can barely allow only 2-3 clusters.

You can use Lambda to create the OIDC https://dev.to/aws-builders/using-lambda-to-automate-oidc-and-iam-role-for-service-account-in-eks-c0e

You can use Lambda to create the OIDC https://dev.to/aws-builders/using-lambda-to-automate-oidc-and-iam-role-for-service-account-in-eks-c0e

@maradwan
this is also not a reasonable solution for us as our test apps running on these temporary clusters share the same AWS resources and for every new cluster we create we have to update the AWS resources like SQS queue or an SNS topic to allow the new IAM role

For someone still looking for a solution to this the workaround we used is to create kubernetes clusters using third-party tools like kind and setup a custom OIDC provider by following the docs here. You can use the same OIDC provider for multiple clusters and it works fine.

Same use-case as @artem-nefedov here. Blue/green style cluster-level failovers and using FluxCD to make sure new clusters automatically run all our applications. Therefore, we very much like to avoid any kind of coupling of an application to a specific cluster. It should work on any cluster running in an environment/account. Having to update N roles every time we add/delete a cluster is a lot of unnecessary overhead.
A shared, pre-provisioned OIDC provider would work of course solve this. Seems like https://github.com/aws/containers-roadmap/issues/1579 may be a better home for this.
As OP also touched on, a more flexible policy definition, where an application's IRSA role can simply work for all clusters in the account, would also work for us, e.g.:
{
  "Effect": "Allow",
  "Principal": {
    "Federated": "arn:aws:iam::111111111111:oidc-provider/oidc.eks.eu-central-1.amazonaws.com/id/*"
  },
  "Action": "sts:AssumeRoleWithWebIdentity",
  "Condition": {
    "StringEquals": {
      "oidc.eks.eu-central-1.amazonaws.com/id/*:sub": "system:serviceaccount:namespace:app"
    }
  }
}

A lot of the concerns from here seem to be addressed in https://aws.amazon.com/blogs/aws/amazon-eks-pod-identity-simplifies-iam-permissions-for-applications-on-amazon-eks-clusters/

Hi,
Is there a solution for this?
iam pods access won't work as it requires manually attaching the service account for to role every time as im aware of.

@micahhausler van we reopen this?

+1 please repen


Require Oracle as a RHEL equiv

It's in the same platform family so it should really be part of this rule

I need to update the tests for this since a few more cookbooks would trigger this alert now.

:+1: when you fix the tests

:+1:


Print an error and exit if input cannot be parsed

Errors like "mapping values are not allowed in this context at line 2 column 7 (Psych::SyntaxError)" don't make sense to normal people. I added an error message if the input file can't be parsed.

sure this looks fine


Try Redux

Redux is necessary so as to not deeply pass event handlers into nested components, especially for the login button.
Try out Redux and see if it impacts the project negatively.

With regards to login button, I've created a login route (/login) that essentially opens the modal on the home page, as of c3aabb26c0f383409caea9e8b95b43dcde98f39a.
Redux can be left for later (or for the next project).

Redux is now added to the project. Instead of passing props mindlessly to manage parent component's state, use Store.dispatch to run actions to modify state.
See dd4dfab for an example of how to implement your own Redux actions, reducers and containers. See also http://redux.js.org/docs/basics/UsageWithReact.html for a comprehensive tutorial.


Paramiko should respect SSH configuration from ~$SYSTEM_USER/.ssh/config

Feature requested by: @emptywee on slack.
Fabric supports it right now.

For some weird reason I thought this was already done. I guess I remembered support from fabric base remote runner.


Failed to launch in WXT - ERROR Invalid URL

In WXT, an error appears after starting dev: ERROR Invalid URL

Steps to Reproduce:

Run pnpm dlx wxt@latest init to create a new project
Use vue-devtools

Current solution:

Remove .ts files from the entrypoints directory

Try to use with 👉 wxt usage docs

After upgrading WXT to v0.19.20, everything is fine now


Improve Sublime Text logo accuracy

Sorry @Eiim, the sharp gradient really bothered me :P

And it's even smaller! Thanks!


Add managed by property to resource group

We have added a new property named 'ManagedBy' on the resource group. As part of this change, we have updated API version to 2016-09-01.

Hi @laveeshb-MSFT, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (laveeshb). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Looks good to me.

@laveeshb-MSFT Thanks for pushing this through to github!

Talked offline. My comment will be addressed in a separate PR by @vivsriaus.

No modification for NodeJS

No modification for Python

No modification for Ruby


Android 10 devices need ACCESS_FINE_LOCATION permission for Bluetooth APIs

After specifying that my app targets Android SDK 29, I found that devices running Android 10 were no longer able to scan for other Bluetooth devices. It seems that some privacy changes were made in Android 10 making it necessary to have the ACCESS_FINE_LOCATION permission when using certain Bluetooth APIs.

@pauldemarco Would it be possible to merge this issue ? FlutterBlue is unusuable on Android 10 otherwise :(

I add

in AndroidManifest, and flutter_blue works for me. Don't forget always allow your app have your location.

I add uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"
uses-permission android:name="android.permission.BLUETOOTH_ADMIN"
uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"
in AndroidManifest, and flutter_blue works for me.
Don't forget always allow your app have your location.


Mllib pmml model export spark 7272

https://issues.apache.org/jira/browse/SPARK-7272

Can one of the admins verify this patch?

The contribution is my original work and I license the work to the project under the project's open source license.

@selvinsource Could you update the PR title use this format: [SPARK-7272] [MLLIB]...., and make the description more accurate? For example, this should be [SPARK-7272] [MLLIB] User guide for PMML model export. Thanks!

LGTM. Merged into master and branch-1.4. Thanks! Btw, we may need to reorganize the layout. The current TOC of the user guide is really long.

Great!


ScrollView's scrollToEnd scrolls too far on android

Description
ScrollView's scrollToEnd method gives different results on iOs and Android.
Expected behaviour:
ScrollView's scrollToEnd method should function consistently across platforms. Ideally The view should scroll until the bottom of the content reaches the bottom of the view.
Actual behaviour:
On iOs the view tries to scroll until the bottom of the content reaches the bottom of the view.
On Android the view tries to scroll until the bottom of the content reaches the top of the view.
This is especially annoying if you add content while the view is scrolling, as it then scrolls too far, or if you have an animation of content being added to slide in from the bottom.
Steps to reproduce

Open the provided snack on Android
Press the button labeled "Press me!"
The view scrolls until element "Test 50" reaches the top of the screen
Open the provided snack on iOs
Press the button labeled "Press me!"
The view scrolls until element "Test 49" reaches the bottom of the screen

React Native Version
0.76.3
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
  OS: macOS 14.7
  CPU: (10) arm64 Apple M1 Pro
  Memory: 124.23 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.11.1
    path: ~/.nvm/versions/node/v20.11.1/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.2.4
    path: ~/.nvm/versions/node/v20.11.1/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.1
      - iOS 18.1
      - macOS 15.1
      - tvOS 18.1
      - visionOS 2.1
      - watchOS 11.1
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12550806
  Xcode:
    version: 16.1/16B40
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: <IP_ADDRESS>
    path: /Users/chriscoerdes/.jenv/shims/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.3
    wanted: 0.76.3
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs
N/A

Reproducer
https://github.com/coerdes-chris/react-native-scrollview
Screenshots and Videos
https://github.com/user-attachments/assets/ad2a0bcd-4c59-4291-8891-9f2dfbd1d13f

I tried the reproducer code. For now adding a setTimeout for the operation that needs to be done immediately after scrolling seems to solve the issue on Android.

I tried the reproducer code. For now adding a setTimeout for the operation that needs to be done immediately after scrolling seems to solve the issue on Android.

Although this does prevent the ScrollView from scrolling too far, it doesn't really solve my issue. We have a questionnaire in our app, where new questions depend on the answer of the previous question. New questions are supposed to 'slide in' from the bottom. The way I accomplish this currently, is by rendering the new question at the bottom of the ScrollView, but invisible, then calling scrollToEnd(), and then immediately moving the question down, making it visible, and sliding it up using react-native-reanimated. In your proposed workaround, I would have to render the question (invisible), call scrollToEnd(), wait for the scrolling to finish, and then animate the question 'sliding in' from the bottom. This would look quite weird.

Correct, that was just my finding. Ideally, it should be fixed in the source. 🙏


Moves bundle unpack timeout into OperatorGroup

Description of the change:
Moves operatorframework.io/bundle-unpack-timeout annotation from InstallPlan to OperatorGroup
Motivation for the change:
operatorframework.io/bundle-unpack-timeout is an internal annotation used for E2E testing.
We need to move this out of InstallPlan in preparation to changes in the unpacking process (see #2942): OLM will soon be creating unpack jobs before creating InstallPlan so we need to find a new place where we can set this annotation.
Testing remarks:
Updates existing E2E tests
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Bug fixes are accompanied by regression test(s)
[ ] e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
[ ] tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
[ ] Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky and have an issue
[ ] Code is properly formatted

Rebased from this side


Discord link is not working

Discord link is not working

Hey @LinuxDonald, thanks for letting me know about it! It seems that default discord links expires in 1 day, I have generated a new one with no time limit, here you have the link anyway. I will update the README for each system


Android: Image not appearing in correct rotation [2.1.6]

I've created an example to reproduce this. Just load the project, switch to Droid and run and the image will appear rotated as though it's a landscape photo.
Do the same for the iOS project and it correctly displays portrait.
Viewing in an external viewer will show correctly as portrait.
The ExIf data suggests that there is a 90CCW rotation, so I assume this isn't being applied correctly on Android?
TestImageRotation.zip

Hi @CliffCawley,
		public TestImageRotationViewModel()
		{
			var assembly = this.GetType().GetTypeInfo().Assembly;
			ImageResource = ImageSource.FromResource("TestImageRotation.TestImage.jpg", assembly);
		}

ImageSource.FromResource returns a Stream. There's no easy way to read EXIF data from it (ExifInterface, which is used in FFImageLoading, relies on file paths). FFImageLoading only supports EXIF orientation from local / downloaded files. Streams are always used "as is".


Porting the redundant-ja-expression.js validator

Hello, I have ported the redundant-ja-expression.js validator.
It detects redundant expressions.
This PR intends to resolve #589.
Please review and hopefully merge.
Thanks.
-t
Changes:

redpen-core/src/main/resources/cc/redpen/validator/sentence/error-messages.properties: Added message.
redpen-core/src/main/resources/cc/redpen/validator/sentence/error-messages_ja.properties: Added message.

Changes Unknown when pulling b2ade2c76580460676c28a8fb1ae9ec3a6911baa on topic/port-redundant-expression into ** on master**.

Changes Unknown when pulling 617177bcc9a23d45676dfaed5c81309a336ae106 on topic/port-redundant-expression into ** on master**.

Sorry I will implement this validator in RuleValidator (#357).


Added rebus men in black

Associated Issue: #121
Summary of Changes

change 1
change 2

Pull Request Test Coverage Report for Build 786

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

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Jimin/june

Java SDK release for June

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


Firefly unable to downloadApp Version: 1.1.0  platform: win32 platformVersion: 10.0.19042 platformArchitecture: x64 cpuCount: 4 totalMem: 3999.4 MB freeMem: 393.6 MB userPath: C:\Users\user\AppData\Roaming\Firefly  Error Type: Main Unhandled Promise Rejection  Error: Uncaught Error: net::ERR_NETWORK_IO_SUSPENDED

Issue description
Briefly describe the issue.
Wallet version
Which version of wallet are you using?

wallet version (version number, commit, or branch):

System specification
What is your operating system?
Mac/Win/Linux (+Version and or Distro if possible)
Is it a repeatable issue?
Y/N
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.

Expected behaviour
Describe what you expect to happen.
Actual behaviour
Describe what actually happens.
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

Hi, please fill out the template. We can't figure out what's wrong without that information


Add front-end documentation for handling CORS errors:

Cross-domain or eval script error detected, error ignored

Thanks @matsimitsu, I tweaked this slightly and moved the content to a new troubleshooting page. If we can create a short URL for this, then I can add the link to the log message in the client itself. 👍


RESS: Add option to return mixing and unmixing matrices

Pull request adding the changes discussed in #27
The changes are very minimal. I tried to respect the style for the docstring and added also a small example of the potential use of the returned eigenvectors.
Please check whether the end of the function (intending to take care of any combinantion of return_maps and return_comps) is OK or maybe there is a cleaner way of doing it.

@Hororohoruru thanks !
I've taken the liberty to try and clarify the maps/comps distinction by renaming them to from_ress / to_ress, and expanding the dosctring accordingly.
There is a breaking change wrt to the previous approach, in that I decided that the from_ress / to_ress matrices should have a dimension corresponding to n_keep. This makes it super easy to project to/from component space.
What do you think ?

Hello @nbara ! Looks good to me, I think it looks much more clear now. Thanks a lot!


ARROW-9060: [GLib] Add support for building Apache Arrow Datasets GLib with non-installed Apache Arrow Datasets

@github-actions crossbow submit debian-buster-amd64

@github-actions crossbow submit -g linux

@github-actions crossbow submit -g linux


[QUESTION] DIA SDK fails to parse static libraries PDBs

This issue is not strictly related to dia-rs itself but rather to the DIA2 SDK, I've tried compiling a simple project (static library) using Visual Studio 2022 for some reason the resulting PDB seems "empty" to the DIA SDK, not even Dia2Dump utility is able to extract any meaningful information, that said once the PDB is opened with a text editor I can clearly see that many information are there, like the compiled source code, the compiland (object file) and so on.
Any idea why DIA fails to parse this?
test.zip

This may be a fastlink or otherwise stripped PDB. Can you try building a full program database?

This may be a fastlink or otherwise stripped PDB. Can you try building a full program database? (See link.)

Hello I've tried to rebuild a full program database, the PDB remains the same size and Dia2Dump still fail to get any information out of it, to reproduce you could just create and new project (static library) create a single file with few functions and compile it in debug mode (for PDB generation).

Yup, that sounds right. Here's a stream dump from llvm-pdbutil:
  Stream 0 (   80 bytes): [Old MSF Directory]
            Blocks: [5]
  Stream 1 (   75 bytes): [PDB Stream]
            Blocks: [19]
  Stream 2 (12632 bytes): [TPI Stream]
            Blocks: [11, 7, 8, 9]
  Stream 3 (    0 bytes): [DBI Stream]
            Blocks: []
  Stream 4 ( 7268 bytes): [IPI Stream]
            Blocks: [13, 16]
  Stream 5 (   25 bytes): [Named Stream "/names"]
            Blocks: [3]
  Stream 6 ( 1440 bytes): [TPI Hash]
            Blocks: [10]
  Stream 7 (  612 bytes): [IPI Hash]
            Blocks: [12]

It's disappointing to see such obscure errors from DIA.

Will close this for now since this appears to be an upstream quirk. Feel free to keep the discussion going.


Add Monster zoo zone

Adds a hook to change the number of cards in the card rewards to RewardModifyingZone.
But the main attraction is that it adds the Monster Zoo Zone that replaces all nodes within it with normal Monsterrooms (it excludes early rows in act 1, and the other special rows)
Monsters within have 2 more strength and when beat give you double gold, an additional card in the card reward and some other small tweaks. While within a monster room, semi transparent monstrs streak across the background to give you the feel that it's crowded.

The icon has changed a bit, to be simpler but it looks like this.

After some additional thinking, I decided that that I'm not happy with other modifiers being on monster. While a bit of randomness might be a nice change of pace, it feels like it would be frustrating more often than not.
Having a group of monsters get passive block would be a drawn out experience, something I don't really want to happen. Couldn't think of any good damage modifiers here either, Anger scaled too hard, Curiosity was too all or nothing, thorns were too limiting and so on.


BT SPP mutex unlock fix & some cleanup (IDFGH-8711)

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

Hi @tgotic ，thanks for your contribution, are you still following up this PR? Please rebase to the master branch.

Hi, I have tried to rebase it, but it ended in a mess.
Commit 82095af7a77535af06fc80ee71128f69cf9383d0 is still relevant.


not able to login the backend system

Hi Arthur,
I like the Laravel shopper 2 and installed the framework successfully today. I'm not able to login the backend system
after installation setup, I have followed the commands, while creating admin user through artisan i have got an error
Call to undefined method App\Models\User::assignRole()
Please help..

Here the solution in the doc https://docs.laravelshopper.io/docs/installation#update-existing-files
Before run the php artisan shopper:admin you have to update your User model like this
<?php

use Shopper\Framework\Models\User\User as Authenticatable;

class User extends Authenticatable
{
    // ...
}

@mckenziearts thanks, its working fine now, how i can develop front-end theme, can you please provide documentation.


Add ClipboardManager

https://github.com/CoreyHayward/PowerToys-Run-ClipboardManager
Search and paste items from the clipboard history.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Requirements for your pull request

You have read and understood the Contribution Guidelines.
This pull request has a title in the format Add [Name of Plugin].

✅ Add GEmojiSharp
❌ Update readme.md
❌ Adding GEmojiSharp
❌ Added GEmojiSharp

Your entry should include a short description of the plugin. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [GEmojiSharp](…) - Find and copy GitHub Emoji to the clipboard.
❌ - [GEmojiSharp](…) - A GitHub Emoji plugin for PowerToys Run.
❌ - [GEmojiSharp](…)

The link text should be the Name of the plugin found in the plugin.json file. The URL should be the link to the GitHub repo, or a link to an anchor in the readme.

✅ - [GEmojiSharp](https://github.com/hlaueriksson/GEmojiSharp) - …
❌ - [GEmojiSharp.PowerToysRun](…) - …
❌ - [GEmojiSharp](https://github.com/hlaueriksson/GEmojiSharp/releases/download/v1.0.0/GEmojiSharp.PowerToysRun.1.0.0.zip) - …

Your entry should be added at the bottom of the appropriate category.

Hi @CoreyHayward
Nice plugin!
Can you resolve the merge conflict in this PR?

@hlaueriksson Resolved :)

Thanks for your contribution 🚀


chore: pre-commit autoupdate [ci skip]

:tada: This PR is included in version 2.2.1 :tada:
The release is available on:

v2.2.1
GitHub release

Your semantic-release bot :package::rocket:


Add support for location in audit

Building on the issue at https://github.com/opendatakit/xforms-spec/issues/219 and PR at https://github.com/opendatakit/xforms-spec/pull/221/files, we should add support for locations in the audit log.
My rough proposal is

Add support for three parameters for audit questions (location-priority, location-min-interval, location-max-age) (note, we don't include the odk:)
If one of the parameters are entered, then all three are required
priority has four potential values: no-power, low-power, balanced, or high-accuracy
max-age and min-interval are positive integers. max-age >= min-interval

Sample output looks like:
<bind nodeset="/orx:meta/orx:audit" type="binary"
           odk:location-priority="balanced" odk:location-min-interval="10" odk:location-max-age="60" />

This is closed by #253

@yanokwa Sorry about that! missed your mention somehow.


[BUG]: Latitude and Longitude of static IPs sometimes doesn't match ZScaler internal value.

Describe the bug
When I use the zia.traffic.list_static_ips() API to fetch all the static IP addresses some of the records have latitude and longitude values that are slightly off from what the GUI shows.  That's not a big concern, except that I'm using the API to generate Terraform, and it also causes mismatches when it's time for a "terraform apply".
I believe in all cases the "Selection" value ("geo_override" in Terraform) is set to "Automatic" (or "false" in Terraform), which may be where the confusion comes from, but there are many static IP resources with "Automatic" set where the latitude and longitude match.
The latitude and longitude shown there are:
latitude        =  33.1891
longitude       =  -117.3864

The API returns:
latitude        =  33.2077
longitude       =  -117.348

They are close but not exact.  I checked one and it was about 7 miles off.  I am using the API to generate an initial batch of Terraform though, and the mismatch causes changes to be applied.  If there's a way to avoid it that would be nice.
To Reproduce
Steps to reproduce the behavior:

Create a static IP resource with the "Selection" set to "Automatic".
Use the zia.traffic.list_static_ips API to dump traffic_forwarding_static_ips.
Sometimes the latitude and longitude won't match.

Expected behavior
The latitude and longitude should match what is in the ZIA ZScaler resource.
Screenshots

Additional context
pyzscaler 1.3.0.
Python 3.10.4.

Hey Chris thanks for the detailed information, I'll check this out today and see if there's any predictable way this is occurring. If not then it might be something we need to raise with Zscaler. Will let you know how my testing pans out.
(Sorry for the long time for response I've been having a bit of a break)

@chris-bornmann I'm just coming back to this one as I feel like it might be resolved by now given some recent updates to ZIA.
I've added 5 different random static IPs and the geo location data is matching between the UI and API - do you mind just retesting on your end to see if this is still occurring?

Closing as this doesn't appear to be an issue anymore


Fix RouteValueAddressScheme to require metadata to match

Fixes https://github.com/aspnet/Routing/issues/906
Note that this issue also exists in release/2.2 but because all endpoints created by MvcEndpointDataSource have IRouteValuesAddressMetadata. This would be an issue if anyone creates their own data source. Should it be fixed on release/2.2 as well?

Replaced by https://github.com/aspnet/Routing/pull/910


Fixed broken write mode.

Coverage remained the same at 100.0% when pulling 23877bd952c197d3d26d534dc3fa413dacc3add9 on broken-write into fd7b3041cdf84d7e0a1988d5ea217cde34eeec27 on v0.3.


Llama 2 70b chat has lower score in mmlu than paper reported

I have tested llama 2 13b and 70b on mmlu with 4.0 version. My 5-shots result of 70b is 0.632, it's not as good as the result of paper(0.68).
13b 0-shot
hf (pretrained=/nas/lili/models_hf/13B-chat), gen_kwargs: (None), limit: None, num_fewshot: None, batch_size: 1

Tasks
Version
Filter
n-shot
Metric
Value

Stderr

mmlu
N/A
none
0
acc
0.5315
±
0.1228

- humanities
N/A
none
0
acc
0.4978
±
0.1175

- formal_logic
Yaml
none
0
acc
0.2381
±
0.0381

- high_school_european_history
Yaml
none
0
acc
0.6667
±
0.0368

- high_school_us_history
Yaml
none
0
acc
0.7304
±
0.0311

- high_school_world_history
Yaml
none
0
acc
0.7215
±
0.0292

- international_law
Yaml
none
0
acc
0.7190
±
0.0410

- jurisprudence
Yaml
none
0
acc
0.6944
±
0.0445

- logical_fallacies
Yaml
none
0
acc
0.6871
±
0.0364

- moral_disputes
Yaml
none
0
acc
0.6012
±
0.0264

- moral_scenarios
Yaml
none
0
acc
0.2816
±
0.0150

- philosophy
Yaml
none
0
acc
0.6431
±
0.0272

- prehistory
Yaml
none
0
acc
0.6235
±
0.0270

- professional_law
Yaml
none
0
acc
0.4003
±
0.0125

- world_religions
Yaml
none
0
acc
0.7719
±
0.0322

- other
N/A
none
0
acc
0.6064
±
0.1190

- business_ethics
Yaml
none
0
acc
0.5400
±
0.0501

- clinical_knowledge
Yaml
none
0
acc
0.5887
±
0.0303

- college_medicine
Yaml
none
0
acc
0.4162
±
0.0376

- global_facts
Yaml
none
0
acc
0.3100
±
0.0465

- human_aging
Yaml
none
0
acc
0.6278
±
0.0324

- management
Yaml
none
0
acc
0.6893
±
0.0458

- marketing
Yaml
none
0
acc
0.8034
±
0.0260

- medical_genetics
Yaml
none
0
acc
0.5800
±
0.0496

- miscellaneous
Yaml
none
0
acc
0.7676
±
0.0151

- nutrition
Yaml
none
0
acc
0.6078
±
0.0280

- professional_accounting
Yaml
none
0
acc
0.4078
±
0.0293

- professional_medicine
Yaml
none
0
acc
0.4963
±
0.0304

- virology
Yaml
none
0
acc
0.4639
±
0.0388

- social_sciences
N/A
none
0
acc
0.6129
±
0.0850

- econometrics
Yaml
none
0
acc
0.2544
±
0.0410

- high_school_geography
Yaml
none
0
acc
0.6515
±
0.0339

- high_school_government_and_politics
Yaml
none
0
acc
0.7617
±
0.0307

- high_school_macroeconomics
Yaml
none
0
acc
0.5000
±
0.0254

- high_school_microeconomics
Yaml
none
0
acc
0.5042
±
0.0325

- high_school_psychology
Yaml
none
0
acc
0.7138
±
0.0194

- human_sexuality
Yaml
none
0
acc
0.6412
±
0.0421

- professional_psychology
Yaml
none
0
acc
0.5425
±
0.0202

- public_relations
Yaml
none
0
acc
0.6273
±
0.0463

- security_studies
Yaml
none
0
acc
0.6612
±
0.0303

- sociology
Yaml
none
0
acc
0.7413
±
0.0310

- us_foreign_policy
Yaml
none
0
acc
0.8100
±
0.0394

- stem
N/A
none
0
acc
0.4285
±
0.1137

- abstract_algebra
Yaml
none
0
acc
0.3100
±
0.0465

- anatomy
Yaml
none
0
acc
0.5185
±
0.0432

- astronomy
Yaml
none
0
acc
0.5789
±
0.0402

- college_biology
Yaml
none
0
acc
0.5764
±
0.0413

- college_chemistry
Yaml
none
0
acc
0.3400
±
0.0476

- college_computer_science
Yaml
none
0
acc
0.4300
±
0.0498

- college_mathematics
Yaml
none
0
acc
0.3000
±
0.0461

- college_physics
Yaml
none
0
acc
0.2647
±
0.0439

- computer_security
Yaml
none
0
acc
0.6700
±
0.0473

- conceptual_physics
Yaml
none
0
acc
0.4170
±
0.0322

- electrical_engineering
Yaml
none
0
acc
0.5448
±
0.0415

- elementary_mathematics
Yaml
none
0
acc
0.3254
±
0.0241

- high_school_biology
Yaml
none
0
acc
0.6323
±
0.0274

- high_school_chemistry
Yaml
none
0
acc
0.4483
±
0.0350

- high_school_computer_science
Yaml
none
0
acc
0.5500
±
0.0500

- high_school_mathematics
Yaml
none
0
acc
0.2852
±
0.0275

- high_school_physics
Yaml
none
0
acc
0.3245
±
0.0382

- high_school_statistics
Yaml
none
0
acc
0.3333
±
0.0321

- machine_learning
Yaml
none
0
acc
0.3393
±
0.0449

Groups
Version
Filter
n-shot
Metric
Value

Stderr

------------------
-------
------
-----:
------
-----:
---
-----:

mmlu
N/A
none
0
acc
0.5315
±
0.1228

- humanities
N/A
none
0
acc
0.4978
±
0.1175

- other
N/A
none
0
acc
0.6064
±
0.1190

- social_sciences
N/A
none
0
acc
0.6129
±
0.0850

- stem
N/A
none
0
acc
0.4285
±
0.1137

70b-chat 0-shot
hf (pretrained=/nas/lili/models_hf/70B-chat-hf,parallelize=True), gen_kwargs: (None), limit: None, num_fewshot: None, batch_size: 1

Tasks
Version
Filter
n-shot
Metric
Value

Stderr

mmlu
N/A
none
0
acc
0.6111
±
0.1329

- humanities
N/A
none
0
acc
0.5609
±
0.1369

- formal_logic
Yaml
none
0
acc
0.3651
±
0.0431

- high_school_european_history
Yaml
none
0
acc
0.8061
±
0.0309

- high_school_us_history
Yaml
none
0
acc
0.8529
±
0.0249

- high_school_world_history
Yaml
none
0
acc
0.8143
±
0.0253

- international_law
Yaml
none
0
acc
0.7603
±
0.0390

- jurisprudence
Yaml
none
0
acc
0.8148
±
0.0376

- logical_fallacies
Yaml
none
0
acc
0.7730
±
0.0329

- moral_disputes
Yaml
none
0
acc
0.7081
±
0.0245

- moral_scenarios
Yaml
none
0
acc
0.2469
±
0.0144

- philosophy
Yaml
none
0
acc
0.7106
±
0.0258

- prehistory
Yaml
none
0
acc
0.6944
±
0.0256

- professional_law
Yaml
none
0
acc
0.4778
±
0.0128

- world_religions
Yaml
none
0
acc
0.8304
±
0.0288

- other
N/A
none
0
acc
0.6775
±
0.1138

- business_ethics
Yaml
none
0
acc
0.5700
±
0.0498

- clinical_knowledge
Yaml
none
0
acc
0.6491
±
0.0294

- college_medicine
Yaml
none
0
acc
0.6012
±
0.0373

- global_facts
Yaml
none
0
acc
0.3800
±
0.0488

- human_aging
Yaml
none
0
acc
0.6726
±
0.0315

- management
Yaml
none
0
acc
0.8252
±
0.0376

- marketing
Yaml
none
0
acc
0.8590
±
0.0228

- medical_genetics
Yaml
none
0
acc
0.6200
±
0.0488

- miscellaneous
Yaml
none
0
acc
0.8199
±
0.0137

- nutrition
Yaml
none
0
acc
0.6928
±
0.0264

professional_accounting            |Yaml   |none  |     0|acc   |0.4787|±  |0.0298|
|  - professional_medicine              |Yaml   |none  |     0|acc   |0.5993|±  |0.0298|
|  - virology                           |Yaml   |none  |     0|acc   |0.5060|±  |0.0389|
| - social_sciences                     |N/A    |none  |     0|acc   |0.7267|±  |0.0780|
|  - econometrics                       |Yaml   |none  |     0|acc   |0.3772|±  |0.0456|
|  - high_school_geography              |Yaml   |none  |     0|acc   |0.7626|±  |0.0303|
|  - high_school_government_and_politics|Yaml   |none  |     0|acc   |0.8705|±  |0.0242|
|  - high_school_macroeconomics         |Yaml   |none  |     0|acc   |0.6359|±  |0.0244|
|  - high_school_microeconomics         |Yaml   |none  |     0|acc   |0.6513|±  |0.0310|
|  - high_school_psychology             |Yaml   |none  |     0|acc   |0.8349|±  |0.0159|
|  - human_sexuality                    |Yaml   |none  |     0|acc   |0.7557|±  |0.0377|
|  - professional_psychology            |Yaml   |none  |     0|acc   |0.6634|±  |0.0191|
|  - public_relations                   |Yaml   |none  |     0|acc   |0.7091|±  |0.0435|
|  - security_studies                   |Yaml   |none  |     0|acc   |0.6980|±  |0.0294|
|  - sociology                          |Yaml   |none  |     0|acc   |0.8607|±  |0.0245|
|  - us_foreign_policy                  |Yaml   |none  |     0|acc   |0.8900|±  |0.0314|
| - stem                                |N/A    |none  |     0|acc   |0.5078|±  |0.1252|
|  - abstract_algebra                   |Yaml   |none  |     0|acc   |0.3300|±  |0.0473|
|  - anatomy                            |Yaml   |none  |     0|acc   |0.5259|±  |0.0431|
|  - astronomy                          |Yaml   |none  |     0|acc   |0.7368|±  |0.0358|
|  - college_biology                    |Yaml   |none  |     0|acc   |0.7083|±  |0.0380|
|  - college_chemistry                  |Yaml   |none  |     0|acc   |0.4200|±  |0.0496|
|  - college_computer_science           |Yaml   |none  |     0|acc   |0.5500|±  |0.0500|
|  - college_mathematics                |Yaml   |none  |     0|acc   |0.3200|±  |0.0469|
|  - college_physics                    |Yaml   |none  |     0|acc   |0.3627|±  |0.0478|
|  - computer_security                  |Yaml   |none  |     0|acc   |0.6900|±  |0.0465|
|  - conceptual_physics                 |Yaml   |none  |     0|acc   |0.5191|±  |0.0327|
|  - electrical_engineering             |Yaml   |none  |     0|acc   |0.5241|±  |0.0416|
|  - elementary_mathematics             |Yaml   |none  |     0|acc   |0.3810|±  |0.0250|
|  - high_school_biology                |Yaml   |none  |     0|acc   |0.7645|±  |0.0241|
|  - high_school_chemistry              |Yaml   |none  |     0|acc   |0.4680|±  |0.0351|
|  - high_school_computer_science       |Yaml   |none  |     0|acc   |0.6300|±  |0.0485|
|  - high_school_mathematics            |Yaml   |none  |     0|acc   |0.3148|±  |0.0283|
|  - high_school_physics                |Yaml   |none  |     0|acc   |0.4371|±  |0.0405|
|  - high_school_statistics             |Yaml   |none  |     0|acc   |0.5000|±  |0.0341|
|  - machine_learning                   |Yaml   |none  |     0|acc   |0.4643|±  |0.0473|

Groups
Version
Filter
n-shot
Metric
Value

Stderr

mmlu
N/A
none
0
acc
0.6111
±
0.1329

- humanities
N/A
none
0
acc
0.5609
±
0.1369

- other
N/A
none
0
acc
0.6775
±
0.1138

- social_sciences
N/A
none
0
acc
0.7267
±
0.0780

- stem
N/A
none
0
acc
0.5078
±
0.1252

70b-chat 5-shots,use parallel=True
CUDA_VISIBLE_DEVICES="1,2,3,4,5,6,7"  lm-eval --model hf     --model_args pretrained=/nas/lili/models_hf/70B-chat-hf,parallelize=True    --tasks mmlu     --device cuda     --batch_size 1     --num_fewshot 5
hf (pretrained=/nas/lili/models_hf/70B-chat-hf,parallelize=True), gen_kwargs: (None), limit: None, num_fewshot: 5, batch_size: 1

Tasks
Version
Filter
n-shot
Metric
Value

Stderr

mmlu
N/A
none
0
acc
0.6320
±
0.1239

- humanities
N/A
none
5
acc
0.5953
±
0.1120

- formal_logic
Yaml
none
5
acc
0.4048
±
0.0439

- high_school_european_history
Yaml
none
5
acc
0.7939
±
0.0316

- high_school_us_history
Yaml
none
5
acc
0.8480
±
0.0252

- high_school_world_history
Yaml
none
5
acc
0.8439
±
0.0236

- international_law
Yaml
none
5
acc
0.8182
±
0.0352

- jurisprudence
Yaml
none
5
acc
0.8241
±
0.0368

- logical_fallacies
Yaml
none
5
acc
0.7607
±
0.0335

- moral_disputes
Yaml
none
5
acc
0.7139
±
0.0243

- moral_scenarios
Yaml
none
5
acc
0.4011
±
0.0164

- philosophy
Yaml
none
5
acc
0.7106
±
0.0258

- prehistory
Yaml
none
5
acc
0.7130
±
0.0252

- professional_law
Yaml
none
5
acc
0.4798
±
0.0128

- world_religions
Yaml
none
5
acc
0.8187
±
0.0295

- other
N/A
none
5
acc
0.6904
±
0.1118

- business_ethics
Yaml
none
5
acc
0.6600
±
0.0476

- clinical_knowledge
Yaml
none
5
acc
0.6453
±
0.0294

- college_medicine
Yaml
none
5
acc
0.6069
±
0.0372

- global_facts
Yaml
none
5
acc
0.4200
±
0.0496

- human_aging
Yaml
none
5
acc
0.7265
±
0.0299

- management
Yaml
none
5
acc
0.8058
±
0.0392

- marketing
Yaml
none
5
acc
0.8803
±
0.0213

- medical_genetics
Yaml
none
5
acc
0.6500
±
0.0479

- miscellaneous
Yaml
none
5
acc
0.8250
±
0.0136

- nutrition
Yaml
none
5
acc
0.6993
±
0.0263

- professional_accounting
Yaml
none
5
acc
0.5071
±
0.0298

- professional_medicine
Yaml
none
5
acc
0.5772
±
0.0300

- virology
Yaml
none
5
acc
0.5120
±
0.0389

- social_sciences
N/A
none
5
acc
0.7400
±
0.0749

- econometrics
Yaml
none
5
acc
0.4123
±
0.0463

- high_school_geography
Yaml
none
5
acc
0.8131
±
0.0278

- high_school_government_and_politics
Yaml
none
5
acc
0.8912
±
0.0225

- high_school_macroeconomics
Yaml
none
5
acc
0.6385
±
0.0244

- high_school_microeconomics
Yaml
none
5
acc
0.6639
±
0.0307

- high_school_psychology
Yaml
none
5
acc
0.8349
±
0.0159

- human_sexuality
Yaml
none
5
acc
0.7099
±
0.0398

- professional_psychology
Yaml
none
5
acc
0.6732
±
0.0190

- public_relations
Yaml
none
5
acc
0.6909
±
0.0443

- security_studies
Yaml
none
5
acc
0.7878
±
0.0262

- sociology
Yaml
none
5
acc
0.8657
±
0.0241

- us_foreign_policy
Yaml
none
5
acc
0.8700
±
0.0338

- stem
N/A
none
5
acc
0.5236
±
0.1294

- abstract_algebra
Yaml
none
5
acc
0.3600
±
0.0482

- anatomy
Yaml
none
5
acc
0.5185
±
0.0432

- astronomy
Yaml
none
5
acc
0.7368
±
0.0358

- college_biology
Yaml
none
5
acc
0.7569
±
0.0359

- college_chemistry
Yaml
none
5
acc
0.4800
±
0.0502

- college_computer_science
Yaml
none
5
acc
0.5900
±
0.0494

- college_mathematics
Yaml
none
5
acc
0.3400
±
0.0476

- college_physics
Yaml
none
5
acc
0.3333
±
0.0469

- computer_security
Yaml
none
5
acc
0.7100
±
0.0456

- conceptual_physics
Yaml
none
5
acc
0.5830
±
0.0322

- electrical_engineering
Yaml
none
5
acc
0.5862
±
0.0410

- elementary_mathematics
Yaml
none
5
acc
0.4127
±
0.0254

- high_school_biology
Yaml
none
5
acc
0.7613
±
0.0243

- high_school_chemistry
Yaml
none
5
acc
0.4680
±
0.0351

- high_school_computer_science
Yaml
none
5
acc
0.6500
±
0.0479

- high_school_mathematics
Yaml
none
5
acc
0.3037
±
0.0280

- high_school_physics
Yaml
none
5
acc
0.4238
±
0.0403

- high_school_statistics
Yaml
none
5
acc
0.4815
±
0.0341

- machine_learning
Yaml
none
5
acc
0.4821
±
0.0474

Groups
Version
Filter
n-shot
Metric
Value

Stderr

mmlu
N/A
none
0
acc
0.6320
±
0.1239

- humanities
N/A
none
5
acc
0.5953
±
0.1120

- other
N/A
none
5
acc
0.6904
±
0.1118

- social_sciences
N/A
none
5
acc
0.7400
±
0.0749

- stem
N/A
none
5
acc
0.5236
±
0.1294

The scores for LLaMA and LLaMA 2 are generally considered irreproducible because they have custom undisclosed prompts.

thank you.


Run by line test is not stopping at end of cell

This test:
'Stops at end of cell'

is failing because run by line is running without stopping. After the first run by line command this happens:

This breaks the rest of the test.

Test should probably be rewritten to have second line change the value of A to verify it's stepping one  line at a time.

Still one of our flakiest tests, but possibly a different issue. In failure cases, we can see in the logs a disconnect message is sent, but we no longer hear anything on the debug channel as it waits for 60 seconds:
2022-08-08T18:21:12.1770280Z info 18:21:12.125:  willSendRequest: disconnect
2022-08-08T18:21:12.1784097Z verbose 18:21:12.125:  [Debug] to kernel: {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":40}
2022-08-08T18:21:12.1991226Z info 18:21:12.147:  Widget Coordinator received IPyWidgets_iopub_msg_handled
2022-08-08T18:21:12.1997064Z info 18:21:12.149:  Widget Coordinator received IPyWidgets_msg_received
2022-08-08T18:21:12.2001149Z info 18:21:12.160:  Widget Coordinator received IPyWidgets_msg_received
2022-08-08T18:21:12.2010255Z info 18:21:12.165:  Widget Coordinator received IPyWidgets_iopub_msg_handled
2022-08-08T18:21:12.2161233Z info 18:21:12.177:  Getting active debug session, emptyPython3299d122-8ea8-4fcb-9dda-e47f1a722c90..ipynb
2022-08-08T18:21:12.2165045Z info 18:21:12.177:  Getting active debug session, emptyPython3299d122-8ea8-4fcb-9dda-e47f1a722c90..ipynb
2022-08-08T18:21:12.3698778Z [3878:0808/182112.369305:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
2022-08-08T18:21:12.3714601Z [3878:0808/182112.371084:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
2022-08-08T18:22:11.9537515Z Test failing --- DebugSession should end

whereas successful runs will have a response indicating success
2022-08-08T18:20:27.7675780Z info 18:20:27.740:  willSendRequest: disconnect
2022-08-08T18:20:27.7676540Z verbose 18:20:27.740:  [Debug] to kernel: {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":38}
2022-08-08T18:20:27.7718296Z info 18:20:27.744:  RawSession status changed to busy
2022-08-08T18:20:27.7718908Z info 18:20:27.744:  Server Status = busy
2022-08-08T18:20:27.7719684Z verbose 18:20:27.744:  IKernel Status change to busy
2022-08-08T18:20:27.7756869Z info 18:20:27.744:  Debug IO Pub message: {"header":{"msg_id":"eac18432-4d09823b5395a6cbb32cdd37_4790_171","msg_type":"status",...
2022-08-08T18:20:27.7789006Z info 18:20:27.745:  Debug IO Pub message: {"header":{"msg_id":"eac18432-4d09823b5395a6cbb32cdd37_4790_172","msg_type":"debug_event",...
2022-08-08T18:20:27.7793394Z verbose 18:20:27.745:  [Debug] event: {"header":{"msg_id":"eac18432-4d09823b5395a6cbb32cdd37_4790_172","msg_type":"debug_event",...
2022-08-08T18:20:27.7794853Z info 18:20:27.746:  Getting active debug session, emptyPython5df68b73-71c6-445a-9728-77af758824fd..ipynb
2022-08-08T18:20:27.7822046Z info 18:20:27.747:  Widget Coordinator sent IPyWidgets_msg
2022-08-08T18:20:27.7829570Z info 18:20:27.747:  Posting message to Notebook UI
2022-08-08T18:20:27.7830837Z verbose 18:20:27.747:  [Debug] response: {"seq":65,"type":"response","request_seq":38,"success":true,"command":"disconnect"}

This is possibly what I filed on debugpy: https://github.com/microsoft/debugpy/issues/1051

A restart issue got mixed up with flaky tests, that's why the iteration plan points at this item, but I think the root issue is that restart does not work right, so I'm fixing https://github.com/microsoft/vscode-jupyter/issues/7670 to fulfill this iteration plan item.


vagrant: warnings about initialized constants

See for further discussion https://github.com/hashicorp/vagrant/issues/8782

Obsolete


[Feature] Normal and diffuse maps for materials

SCNMaterialProperty's like diffuse and normal support NSString and NSURL as input ( https://developer.apple.com/documentation/scenekit/scnmaterialproperty/1395372-contents).
This means you can specify a map from a url. Here's an example already in the RN-ARKit code base - https://github.com/HippoAR/react-native-arkit/blob/141197b49ba55001780a076bb7966dd448c94162/ios/Plane.m#L25
It would be great to support this a material property.

Resolved in https://github.com/HippoAR/react-native-arkit/pull/121


Fixing tests for Google Compute Engine

Motivation for this change
A new version of the GoogleCloudPlatform repository on GitHub broke the google-compute-engine derivation (the tests were failing because of a missing package).
This PR fixes it by just adding python package mock to the relevant buildInputs.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Looks good to me, and it fixed my nixops gce deployments. :)

It was broken by #32244, not by an update of google-compute-engine.
This PR does not fix tests since after this change the check phase prints "Ran 0 tests in 0.000s", it just ensures that the tests do not run without errors. I have reverted it and explicitly disabled the check phase in 3701531dbde5acec575eafd3cc5297985facb24b.
Please, read CONTRIBUTING.md and follow its rules on naming commit messages.

This PR does not fix tests since after this change the check phase prints "Ran 0 tests in 0.000s", it just ensures that the tests do not run without errors. I have reverted it and explicitly disabled the check phase in 3701531.

were there indeed no tests, or that our detection of the present tests are broken?

@grahamc Upstream setup.py does not define how to test the package. Before #32244 setuptools interpreted this as "there are no tests", and after as "run python -m unittest". Upstream has tests, but they are based on py.test and they were not enable in Nixpkgs. AFAIR I tried to enable them but did not succeed fast enough, so I kept it untested.

👍


WIP: DAP/OSS Test automation for GKE

At current, we have tests for Openshift 3.11 and to complete the test suite, we need to also add automation for GKE.
This PR, adds test automation for DAP and OSS deployments with Secrets Provider for K8s on GKE.
See design: https://github.com/cyberark/secrets-provider-for-k8s/issues/44
DOD:

[x] Add GKE config to repo
[x] Deploy DAP in GKE and update tests (if needed) to work with GKE (test 2 was updated to accommodate GKE)
[x] Deploy OSS in GKE and update tests (if needed) to work with GKE (no tests were changed)
[x] Deploy OSS works in Docker (pushed to Jenkins)
[x] Deploy DAP works in Docker (pushed to Jenkins)
[x] Deploy DAP/OSS on Openshift and all tests run locally and still pass (to ensure no breakage)
[ ] Deploy DAP/OSS on Openshift and all tests run on Docker and still pass (to ensure no breakage)
[ ] Add GKE build to pipeline

Build 12 for GKE with DAP/OSS passes: https://jenkins.conjur.net/blue/organizations/jenkins/cyberark--secrets-provider-for-k8s/detail/39b-gke-support/12/pipeline

@orenbm updated last week. we good to go on this for a merge?


Add option to specify a custom module to run the run configuration in

this fixes #181 and potentially #188 and allows us to use run configuration in yarn workspace projects \o/
It adds a new configuration element <module name="NAME" value="main" /> which persists the configured run configuration module name.
I've used a module element here as it's not the same domain as other regular <option> fields. (This is also how intellij does it if ModuleBasedConfiguration is used. We can't use that right now as it requires a valid SDK).
Now every all run configurations have the ability to set a module
Here's how it looks like in the dev IDE:

@makepanic looks great, I'm just a little confused by the last screenshot. It shows a "Module" radiobutton and right below it is the "Module" dropdown, which has an entirely different meaning though. I'm wondering if we should change one of the labels to make that a little more clear.

Agree it's weird in the test run configuration.
We could move the run configuration module select above all the ember specific configuration.
I'm not sure what a good label text would be though. The test configuration has a test filters label when filtering test with the "filter" option.
Here's a variant that uses a titled border around the panel.

If that's ok we could also do the same for the serve configuration (using "Ember server configuration:" or similar).

Looks a lot better! I think I'd go with "Test filter:" and "Serve configuration:".

I've update the PR to include the createTitledBorder for general intellij <> ember configuration separation.
As for the test filters, we could add an additional border above the test filters. Right now it's trying to be consistent between serve and test configuration.

I've rebased onto current master and somehow it fixed the last failing build :thinking:

thanks :)

I got empty module dropdown.
How configuration detect the ember module? Should I add  <module name="NAME" value="main" /> this to any file in directory.

@Turbo87 I'm confused, how do I define the emberjs modules I want the plugin to recognise?

they should usually be detected automatically 🤔


Clarification on instructions for systemd

Hi,
I am trying to follow the instructions to setup systemd, in the instructions in the box in the README it says
# copy and edit for wsl-vpnkit setup as a standalone script
sudo cp ./wsl-vpnkit.service /etc/systemd/system/
sudo nano /etc/systemd/system/wsl-vpnkit.service

what exactly does this mean? does it mean to uncomment the standalone script parts and comment the setup as a distro part, so that the final file contents look like this?
[Unit]
Description=wsl-vpnkit
After=network.target

[Service]
# for wsl-vpnkit setup as a distro
#ExecStart=/mnt/c/Windows/system32/wsl.exe -d wsl-vpnkit --cd /app wsl-vpnkit

# for wsl-vpnkit setup as a standalone script
ExecStart=/full/path/to/wsl-vpnkit
Environment=VMEXEC_PATH=/full/path/to/wsl-vm GVPROXY_PATH=/full/path/to/wsl-gvproxy.exe

Restart=always
KillMode=mixed

[Install]
WantedBy=multi-user.target

Hi,
Altough I have not attempted this method (went with the systemd service but as a distro) I think the use case would be something like the following:

Follow the standalone orders (without running)
Copy and edit the wsl-vpnkit.service file. Yes edit to disable the distro option and open the two lines that says "for wsl-vpnkit setup as a standalone script".
Please note the **/full/path/to/**wsl-vm and **/full/path/to/**wsl-gvproxy.exe that need to be filled out according to where you run  the standalone install steps.
Continue to enable the service\start and check the status of the service

Hope this helps.

As far as I see, yes.
I have tried both methods by now and both worked for me. That is the

distro, with systemd service
standalone script with systemd service

Again, please note that if you go with the standalone script way after the "installation" installed the dependencies and extracted the files from wsl-vpnkit.tar.gz  the wsl-vpnkit.service file needs to be modified. Say you have placed wsl-vpnkit, wsl-vm, wsl-gvproxy.exe at /opt/app, the file should then be:
[Unit]
Description=wsl-vpnkit
After=network.target

[Service]
# for wsl-vpnkit setup as a distro
#ExecStart=/mnt/c/Windows/system32/wsl.exe -d wsl-vpnkit --cd /app wsl-vpnkit

# for wsl-vpnkit setup as a standalone script
ExecStart=/opt/app/wsl-vpnkit
Environment=VMEXEC_PATH=/opt/app/wsl-vm GVPROXY_PATH=/opt/app/wsl-gvproxy.exe

Restart=always
KillMode=mixed

[Install]
WantedBy=multi-user.target

I agree that this isn't that obvious from the readme. Please note that I am a user like you all I can attest to is what worked for me.

Got it, thanks yea I missed that I had to edit the paths. I appreciate the help!

Where was VMEXEC_PATH=/opt/app/wsl-vm located? I'm only seeing a binary for wsl-gvproxy.exe


[Feature request] nodejs caching

Hi, thank you for your works
I'm a nodejs user and i read that there is no model cache implementation right now, and you are working on it.
Do you have an idea of when you will be able to push a release with a cache implementation ?
Just asking because i was at the point to code it on my side

I'll not submit a PR because it's quick & dirty but here it is
https://github.com/eviltik/transformers.js/commit/bc624b93f070c980ec55583e8575a6238b5ed1f0

Hi! Yes, we do plan to add automatic model caching (like it is done in the python library). In the meantime, however, you can just download and store the model locally, then change some variables, like this:
import { env } from "@xenova/transformers";

// Use local path for models.
env.remoteModels = false;
env.localURL = '/path/to/models/';

// (Optional) Set parent path of .wasm files. Defaults to use a CDN.
env.onnx.wasm.wasmPaths = '/path/to/files/';

Node caching has now been implemented in the latest version (2.0.0-alpha.0). See: https://www.npmjs.com/package/@xenova/transformers
By default, it will save to ./.cache. but you can set your own as follows:
import { env } from '@xenova/transformers';
env.cacheDir = '/path/to/cache/directory/';

For more information, see the documentation: https://huggingface.co/docs/transformers.js/api/env


Cleanup of Mesh interface and ensure the VAO is generated when any of the underlying data defining the mesh is changed.

holding vertices, normals, etc. via get methods except via a const
reference. Update the jni code to use the const variants of these
functions.
2. Set the dirty flag when any of the data structures are set. This will
force creation of the VAO at the next render call. Remove the
vaoInitialised flag I introduced in my last checkin and use vao_dirty_
to identify when VAOs need to be regenerated.

The changes pass the samples I tested like modelviewer, lishader. Will continue testing to validate that VAO is created/regenerated as appropriate.

I will check these calls and remove the dirty flag.

This one needs to be rebased.


Wrong license file included?

Most of Parchment is BSD licenced, except for Gunch which is GPL 3.

The license in the root directory, however, is the GPLv2.

Typo in the readme. It's also called Gnusto, not Gunch!

Hahaha, I was actually wondering what "Gunch" was.

Guncho is actually an Interactive Fiction project, but it's not part of Parchment haha.


Fix specs for functions returning HTTP errors

After my last PR I realized that specs for all functions that return an error from the HTTP module have the same issue as Braintree.ClientToken. This update them so that in one's app you can do something like below without a dialyzer error.
This also fixes the typespec for Transaction.amount since it returns a string, not an int or float.
case Braintree.Customer.find("ima-cool-user") do
  {:ok, _customer} = response ->
    response

  {:error, :not_found} ->
    # This is expected so don't log anything.
    {:error, :not_found}

  {:error, reason} = error ->
    # Whoops!
    Logger.error("Braintree.Customer.find/2 Error: #{inspect(reason)}")
    error
end

TL;DR - It fixes this for all modules that return the HTTP error.
The pattern can never match the type.

Pattern:
{:error, :not_found}

Type:

  {:error,
   %Braintree.ErrorResponse{
     :errors => map(),
     :message => binary(),
     :params => map(),
     :transaction => map()
   }}

Thank you! I'll cut a release of this early next week 💛

Thank you! I'll cut a release of this early next week 💛

Thanks so much!


Wdio cucumber runner doesn't always show test results

From @gsccheng on September 24, 2016 23:10
The problem
I'm not sure where to post this issue but I'll start here at the top level since I use the wdio test runner with Cucumber.
I think I may be getting a race condition where my spec reporter doesn't always show the test result because the runner is ending prematurely. It seems to only occur when there are multiple browser commands, whether they are in the same step definition or not.
Environment

WebdriverIO version: 4.2.8
Node.js version: 4.4.7
Standalone mode or wdio testrunner: wdio testrunner
if wdio testrunner, running synchronous or asynchronous tests: Synchronous
Additional wdio packages used (if applicable):
wdio-spec-reporter: 0.0.3
wdio-cucumber-framework: 0.2.4
chai: 3.3.0

Code To Reproduce Issue
I simplified my code into these code snippets. I'm wondering if anyone can reproduce this.
Here's my gist to the config file
// features/auth.feature
 Feature: Auth
   Some description

  Scenario: Google Auth
   Given this should work

// features/step_definitions/auth.js
import { expect } from 'chai';
[...]
  this.Given(/^this should work$/, function () {
    browser.url('https://google.com');
    browser.getSource();
    expect('foo').to.exist;
  });

// Output:
myApp [testing] :> npm run ui-test

><EMAIL_ADDRESS>ui-test /Users/GabbAHH/Desktop/Dev/myApp
> better-npm-run ui-test

running better-npm-run in /Users/GabbAHH/Desktop/Dev/myApp
Executing script: ui-test

to be executed: ./node_modules/.bin/wdio wdio.conf.js

=======================================================================================
Selenium 2.0 / webdriver protocol bindings implementation with helper commands in nodejs.
For a complete list of commands, visit http://webdriver.io/api.html.
=======================================================================================

[16:02:15]  COMMAND	POST 	 "/wd/hub/session"
[16:02:15]  DATA		{"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":6,"browserName":"chrome","loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.2.8","name":"webdriverio"}}}
[16:02:17]  INFO	SET SESSION ID 42e1e89c-0bbb-4553-b7d7-bce852f847cf
[16:02:17]  RESULT		{"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":false,"chrome":{"chromedriverVersion":"2.23.409710 (0c4084804897ac45b5ff65a690ec6583b97225c0)","userDataDir":"/var/folders/59/6pd62vqn20j5qx2hv1l1w9_r0000gn/T/.org.chromium.Chromium.FUqeyq"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":false,"version":"53.0.2785.116","platform":"MAC","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"42e1e89c-0bbb-4553-b7d7-bce852f847cf","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true}
[16:02:18]  COMMAND	POST 	 "/wd/hub/session/42e1e89c-0bbb-4553-b7d7-bce852f847cf/url"
[16:02:18]  DATA		{"url":"https://google.com"}
[16:02:25]  RESULT		null
[16:02:25]  COMMAND	GET 	 "/wd/hub/session/42e1e89c-0bbb-4553-b7d7-bce852f847cf/source"
[16:02:25]  DATA		{}
[16:02:25]  RESULT		"<!DOCTYPE html><html xmlns=\"http://www.w3.org/1999/xhtml\" itemscope=\"\" itemtype=\"http://schema.org/WebPage\" lang=\"en\"><head><meta content=\"Search the world's information, including webpages, ... (230174 more bytes)
[16:02:25]  COMMAND	DELETE 	 "/wd/hub/session/42e1e89c-0bbb-4553-b7d7-bce852f847cf"
[16:02:25]  DATA		{}
[16:02:25]  RESULT		null

Now if I remove the second command of browser.getSource(), I am able to complete the test properly:
So,
// features/step_definitions/auth.js
  this.Given(/^this should work$/, function () {
    browser.url('https://google.com');
    expect('foo').to.exist;
  });

gives:
myApp [testing] :> npm run ui-test

><EMAIL_ADDRESS>ui-test /Users/GabbAHH/Desktop/Dev/myApp
> better-npm-run ui-test

running better-npm-run in /Users/GabbAHH/Desktop/Dev/myApp
Executing script: ui-test

to be executed: ./node_modules/.bin/wdio wdio.conf.js

=======================================================================================
Selenium 2.0 / webdriver protocol bindings implementation with helper commands in nodejs.
For a complete list of commands, visit http://webdriver.io/api.html.
=======================================================================================

[16:02:41]  COMMAND	POST 	 "/wd/hub/session"
[16:02:41]  DATA		{"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":6,"browserName":"chrome","loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.2.8","name":"webdriverio"}}}
[16:02:44]  INFO	SET SESSION ID 2ef670fe-d842-4052-8d24-260e48fcb376
[16:02:44]  RESULT		{"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":false,"chrome":{"chromedriverVersion":"2.23.409710 (0c4084804897ac45b5ff65a690ec6583b97225c0)","userDataDir":"/var/folders/59/6pd62vqn20j5qx2hv1l1w9_r0000gn/T/.org.chromium.Chromium.GidKiN"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":false,"version":"53.0.2785.116","platform":"MAC","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"2ef670fe-d842-4052-8d24-260e48fcb376","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true}
[16:02:45]  COMMAND	POST 	 "/wd/hub/session/2ef670fe-d842-4052-8d24-260e48fcb376/url"
[16:02:45]  DATA		{"url":"https://google.com"}
[16:02:50]  RESULT		null
[16:02:50]  COMMAND	DELETE 	 "/wd/hub/session/2ef670fe-d842-4052-8d24-260e48fcb376"
[16:02:50]  DATA		{}
[16:02:50]  RESULT		null
------------------------------------------------------------------
[chrome #0a] Session ID: 2ef670fe-d842-4052-8d24-260e48fcb376
[chrome #0a] Spec: /Users/GabbAHH/Desktop/Dev/myApp/features/auth.feature
[chrome #0a] Running: chrome
[chrome #0a]
[chrome #0a]   Auth
[chrome #0a]
[chrome #0a]     Google Auth
[chrome #0a]         ✓ this should work
[chrome #0a]
[chrome #0a]
[chrome #0a] 1 passing (9s)
[chrome #0a]

Copied from original issue: webdriverio/webdriverio#1611

From @msegado on October 6, 2016 22:13
@gsccheng, do you have screenshots enabled? I'm wondering if this is the same underlying issue as #1591.

Thanks for addressing my issue.
Following #1591 I've commented out screenshotPath and also tried setting it to a nonexistent path and either way still produces the same problem the majority of the time. Yes, in a minority of the time I would get the report as expected so the problem doesn't occur all the time.

I was looking into this but I have a hard time reproducing this. @gsccheng is this still an issue? If so could you try this code and share the output?
// features/step_definitions/auth.js
this.Given(/^this should work$/, function () {
    try {
            browser.url('https://google.com');
            var source = browser.getSource();

            expect('foo').to.exist;
        } catch (e) {
            console.log('Error: ', e);
            throw e;
        }
  });

Thanks for looking into this. Since I've had this problem, I ended up switching to a new computer, and updating all the relevant dependencies. I'm not sure what caused it, but I've just finished all my UI-tests without any problems. This can be closed.

@gsccheng glad everything worked out.


There no tkinter_designer.py

PS F:\MyProject\pyPresencePumpkin\Tkinter-Designer> python tkinter_designer.py
C:\Program Files\Python39\python.exe: can't open file 'F:\MyProject\pyPresencePumpkin\Tkinter-Designer\tkinter_designer.py': [Errno 2] No such file or directory

There shouldn't be any Tkinter Designer.py file. The YT video is outdated it even says in the title to read the description.


⚠ Bofrost.at has degraded performance

In 0ebbebb, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1221 ms

Resolved: Bofrost.at performance has improved in 32384e6.


Can't build on Foxy distro

I tried to build this package. However, it is impossible to build because the package compatibility is not appropriate. If you try to build by cloning the latest version of the ros2_control package, you cannot build it because there is no joint_state_handle package.
Is there any way to solve this problem?

Hi @kong2983,
Some new changes are happening right now in ros2_control.
For now you can compile the current gazebo_ros2_control, ros2_control and ros2_controller master branch with the branch of this PR https://github.com/ros-simulation/gazebo_ros2_control/pull/34#issuecomment-716975698 (ahcorde/update/ros2_control).
Let me know if you have some issue compiling this branch.

I have confirmed that the example works normally.
Thank you for the reply!

Hi @kong2983,
how did you build the "ahcorde/update/ros2_control"-branch?
I built the "ahcorde/update/ros2_control" with docker (docker build -t gazebo_ros2_control .), but still got the error that "JointStateHandle" wasn't found.
Thanks.

@heike380
The "ahcorde/update/ros2_control"-branch does not use JointStateHandle.
It seems that the master branch is installed while building with docker.
I didn't build with docker. Try again with the command below.
git clone -b ahcorde/update/ros2_control --single-branch https://github.com/ros-simulation/gazebo_ros2_control
git clone https://github.com/ros-controls/ros2_control
git clone https://github.com/ros-controls/ros2_controllers

@kong2983
Thanks! Perfect, now it builds.
I just adapted "git clone https://github.com/ros-simulation/gazebo_ros2_control" to "git clone -b ahcorde/update/ros2_control --single-branch https://github.com/ros-simulation/gazebo_ros2_control" in the Dockerfile.


Collection config style

Do we really need [alinea.meta] style configuration or can we get away with 3 arguments for constructors that are typically a collection of other things such as Type, Schema etc? By extension also Workspaces, Roots and even Link and Select field. We can still support the symbol for some time for backwards compatibility.
I think I'm settling on moving the label into options and always requiring a property to define the collection:
// Before
type('My type', {
  title: text('Title'),
  list: list('List', {
    schema: {
      Row: type({
        label: 'Row',
        fields: {
          name: text('Name')
        }
      })
    }
  })
})

// After
type({
  label: 'My type',
  fields: {
    title: text({label: 'Title'}),
    list: list({
      label: 'List',
      schema: {
        Row: type({
          label: 'Row',
          fields: {
            name: text({label: 'Name'})
          }
        })
      }
    })
  }
})

Personally I only use the icon and the contains property a lot. I'm not using the [alinea.meta] style configuration for any other reason. When you would remove the alinea.meta property, we still should be able to add an icon or define the allowed sub Schemas somewhere else :) But Some other options should be available to:

Limit the total of sub entries. Ex: only 5 sub entries are allowed
Limit the usage of a specific sub Schema: Ex: An Overview page can be added only once.
Limit the rights of a Schema to a specific user or user role
...
So probably we will still need some kind of configuartion property to define all kind of things that will be added in future.

This issue is not about removing the options entirely but moving things around so we have consistent "syntax" to define configuration. The issue should be clear when we compare for example the way to define a type vs a select field vs a list:
alinea.type('My type', {
  // field collection,
  [alinea.meta]: {
    // options
  }
})

alinea.select('Select field', {
  // option collection
}, {
  // options
})

alinea.list('List field', {
  schema: {
    // type collection
  },
  // options
})

Having three different ways of achieving the same thing is not very intuitive. It could be changed to:
alinea.type('My type', {
  fields: {
    // field collection
  },
  // options
})

alinea.select('Select field', {
  options: {
    // option collection
  },
  // options
})

alinea.list('List field', {
  schema: {
    // type collection
  },
  // options
})

I like consistency. Go ahead ! 😍


Cannot import name 'create_model' from 'langchain_core.runnables.utils'

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

ImportError                               Traceback (most recent call last)
Cell In[68], line 2
1 # Build graph
----> 2 from langgraph.graph import END, StateGraph
4 workflow = StateGraph(GraphState)
5 # Define the nodes
File ~/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langgraph/graph/init.py:1
----> 1 from langgraph.graph.graph import END, START, Graph
2 from langgraph.graph.message import MessageGraph, MessagesState, add_messages
3 from langgraph.graph.state import StateGraph
File ~/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langgraph/graph/graph.py:31
29 from langgraph.constants import END, START, TAG_HIDDEN, Send
30 from langgraph.errors import InvalidUpdateError
---> 31 from langgraph.pregel import Channel, Pregel
32 from langgraph.pregel.read import PregelNode
33 from langgraph.pregel.types import All
File ~/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langgraph/pregel/init.py:46
36 from langchain_core.runnables.base import Input, Output, coerce_to_runnable
37 from langchain_core.runnables.config import (
38     RunnableConfig,
39     ensure_config,
(...)
44     patch_config,
45 )
---> 46 from langchain_core.runnables.utils import (
47     ConfigurableFieldSpec,
48     create_model,
49     get_unique_config_specs,
50 )
51 from langchain_core.tracers._streaming import _StreamingCallbackHandler
52 from typing_extensions import Self
ImportError: cannot import name 'create_model' from 'langchain_core.runnables.utils' (/Users/UserName/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langchain_core/runnables/utils.py)
Error Message and Stack Trace (if applicable)
No response
Description
I was trying to import StateGraph from langchain.graph and it kept returning the error of 'create_model' not available in langchain_core.runnables.utils
System Info
langchain==0.2.5
langchain-community==0.0.13
langchain-core==0.2.7
langchain-text-splitters==0.2.1

what is the langgraph version that you are using?

Can you please update it.

Hey, is there any update on this? Stuck at the same error

Same error here. Any news?

Same issue with me. Anyone found a solution to this?

while importing on python 3.13.x
from langchain.chains import LLMChain
getting  error - ImportError: cannot import name 'create_model' from 'langchain_core.runnables.utils' (/Users/apple/Documents/GenAI_Learning/MCQ_Project2/mcqenv/lib/python3.13/site-packages/langchain_core/runnables/utils.py)


Use props dict on components, rather than kwargs.

Current Situation
There's been a lot of growing pains in the fact that components have a significantly different interface than reactpy.html elements.
Developing certain parts of reactpy core and/or reactpy related utilities has been significantly more difficult due to this interface mismatch.
Proposed Actions
The new component interface should match the VDOM interface, and will look like this:
# `key=...` should be declared within props, identical to the `reactpy.html` interface.
my_component({"prop_1": True, "key": 123}, child_1, child_2)

As a part of this change, we should rename VdomAttributes to Props.
Do we retain args/kwargs?
We can handle @component function definitions a few ways. Some of these ways feel more similar to ReactJS, but break Python type hints.

Force all users to only use kwargs

Retain type hints via PEP692

Allow args/kwargs in function defs. Let Python unpacking operator handle the rest.

This would break type hints, since args can't be defined within a TypedDict

Force all users to define a props: dict as their first parameter

However, forcing users to manually define a TypedDict for every component would be extremely inconvenient.

I'm personally leaning towards option 1.

We can potentially retain type hints using this PEP https://peps.python.org/pep-0692/

I spent more thought on this issue while rewriting the docs.
@rmorshea We need to decide what we will do with the user's component function defs. See my updates above.

Note: we'll have to figure out how this will play work if the component function is a method.


I can't find pose annotations in MHP_v2 dataset

I download the MHP_v2 dataset in baidu drive and I can't find pose annotations in MHP_v2 dataset. Please tell me where I can find it, thanks.

Hi,
Thank you for your question.
Our MHP Dataset v2.0 has the annotations for both Multi-Human Parsing and Pose Estimation. Please refer to detailed information under "Download" of https://github.com/ZhaoJ9014/Multi-Human-Parsing_MHP
Thank you and best regards.


test(cli): sqlite integration tests from mocha to jest

The current mocha test is a bit annoying to work with because you have to hack it to only run one test.
Do you see how we could do that here? Like if I wanted to only run the test named findOne where PK?

Do you see how we could do that here? Like if I wanted to only run the test named findOne where PK?

Yep this works:
yarn jest integrate.sqlite --testNamePattern 'findOne where PK'
yarn jest integrate.sqlite -t 'findOne where PK'

One slightly annoying thing is that jest is not smart enough to ignore snapshots of ignored tests. What this means is that for each skipped tests, jest will think that that snapshots associated to it are are obsolete snapshots. Of course they are not obsolete, just being temporarily skipped.
But overall does the job!
I will add a version of this response as as tip in the contrib guide.


Fix parsing of nested arrows with effects

This pull request should resolve #96.

I made the change you suggested.


[BD-46] fix glitch on loading spinner

Description
Add overflow:hidden to spinner`s container to avoid height glitch during the animation
Issue
Deploy Preview
Include a direct link to your changes in this PR's deploy preview here (e.g., a specific component page).
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[ ] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[ ] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

Thanks for the pull request, @khudym!
When this pull request is ready, tag your edX technical lead.

:tada: This PR is included in version 21.1.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 22.0.0-alpha.6 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rendering different code based on the parent component. Is it possible?

In Figma we rely on a List primitive to output a type of UI across multiple components.  So for example:

Select Dropdown
Side Navigation
Mobile Navigation

These 3 components may all use the List primitive.  But in our SDK implementation we do not use the same component for each.
Is there a way to identify through code connect when a "List" is being consumed in "Component A" vs. "Component B" and based on that offer a different output?

@rkieru I had this same exact question. I gave a longer, more annoying version of this question here 😛