CognitoIdentity: System.IO.InvalidDataException: Cannot determine protocol. When running in docker on Elastic beanstalk

When running my app in a docker container in Elastic beanstalk I am noticing this error. Fetching users and sign-in operations work fine, but attempting to create a new user throws this error.
Developing locally against the same Cognito instance the issue does not occur. I assume this has something to do with retrieving the permissions from the IAM role attached to the elastic beanstalk instance.
The IAM instance profile for the elastic beanstalk instance has the AmazonCognitoPowerUser policy attached
Stack trace:
System.IO.InvalidDataException: Cannot determine protocol
at Amazon.Runtime.Internal.Signer.SignRequest(IRequestContext requestContext)
at Amazon.Runtime.Internal.Signer.PreInvoke(IExecutionContext executionContext)
at Amazon.Runtime.Internal.Signer.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.CredentialsRetriever.<InvokeAsync>d__7`1.MoveNext()

Expected Behavior

It shouldn't throw an error
Current Behavior

Throws the above exception
Possible Solution

Steps to Reproduce (for bugs)

Relevant code to reproduce below, Elastic beanstalk setup defined above
(both snippets in the same class)
private static AmazonCognitoIdentityProviderClient Client => new AmazonCognitoIdentityProviderClient(Amazon.RegionEndpoint.APSoutheast2);
var signUpRequest = new SignUpRequest
            {
                ClientId = AWSCognitoClientId,
                Username = email,
                Password = password
            };

            await Client.SignUpAsync(signUpRequest);

Context

Your Environment

AWSSDK.Core version used:

Service assembly and version used:
Operating System and version: Docker image: microsoft/aspnetcore:2.0
Visual Studio version:
Targeted .NET platform: .Net Core

.NET Core Info

.NET Core version used for development: 2.0
.NET Core version installed in the environment where application runs:
Output of dotnet --info:

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.7
  Build    : 2d61d0b043915bc948ebf98836fefe9ba942be11

Contents of project.json/project.csproj:

Any answers on this? Do I need to provide any more information?
I have also submitted a question to stack overflow with no luck either https://stackoverflow.com/questions/50053553/cognito-identity-system-io-invaliddataexception-cannot-determine-protocol-when

The error message you are getting is very weird and I don't understand why you would be getting it. The error implies there was a problem with the code generation of the service client. But if that was the case then you should have the same problem locally as when you deployed to beanstalk.
Is the instance of the service client the same as the one doing fetching users and other operations that are working? If not are they created the exact same way?

I'm having the same problem here. If I call then InitiateAuthAsync it works but fails when calling SignUpAsync method.
I'm using Net Core 2.1, any Idea?

Just change it by:
private AmazonCognitoIdentityProviderClient CreateCognitoClient() {
return new AmazonCognitoIdentityProviderClient(awsSAccessKey, awsSecretKey, Amazon.RegionEndpoint.USEast1);
}
And
using (var cognitoClient = CreateCognitoClient())
{
var response = cognitoClient.SignUp(request);
}

Hi All,
I am getting same issue. I am trying to update a user attribute but getting following error in .NET SDK:
Cannot determine protocol
StackTrace:
/sdk/src/Core/Amazon.Runtime/Pipeline/Handlers/Signer.cs Line 124
My Code:
Error is thrown for UpdateUserAttributesRequest call:
`var credentials = new CognitoAWSCredentials(
Settings.IdentityPoolId,
Settings.Region
);
credentials.AddLogin(Settings.IdentityProvider, idToken);
using (var provider = new AmazonCognitoIdentityProviderClient(credentials, Settings.Region))
{
var response1 = await provider.ListUsersAsync(new ListUsersRequest
{
UserPoolId = Settings.UserPoolId,
Filter = $"username = "{userName}""
});
var user = response1.Users.FirstOrDefault();
if (user != null)
{
AttributeType profileAttributeType = user.Attributes.Find(a => a.Name == "profile");
if (profileAttributeType == null)
{
user.Attributes.Add(new AttributeType(){Name = "profile", Value = "test2"});
}
else
{
profileAttributeType.Value = profileAttributeType.Value + "," + "test2";
}
**var response = await provider.UpdateUserAttributesAsync(
	new UpdateUserAttributesRequest()
	{

		UserAttributes = new List<AttributeType>() {profileAttributeType},
		AccessToken = accessToken
	});**

return response;

}
}`
Can anyone please help?

Some Cognito User Pool requests use the NullSigner, which does not use Rest or QueryString protocols. When trying to sign these requests with AWS credentials that are not AnonymousAWSCredentials, the sdk throws the protocol error because of the NullSigner. If you create a client with AnonymousAWSCredentials for those requests, the problem is solved. These requests include SignUp and ConfirmSignUp, among others. I am not sure why BasicAWSCredentials work, though.

Closing due to inactivity.  Please reopen if the last suggestions don't work for you.


Logos in README for OGSL / DFO

Crediting OGSL and DFO with the initial effort should come with some visual aid, perhaps we should add their logos to the README especially if it's not too big a file for either logo

not needed


[ADD] String functions : Z algorithm for pattern search

I want to work over this issue
Its an algorithm which locates all repetitions of a specific pattern inside a text in linear time and space complexity.

@Mayank9207  Go ahead


Duplicate link target sphinx warning

sphinx doesnt like it when we have links with the same link target.
Example of a service that ran into this issue:
Tsp link target 1: https://github.com/Azure/azure-rest-api-specs/blob/d37c97f182cd797cee5ddd853e66cb6d78b52f0b/specification/ai/HealthInsights/HealthInsights.Common/model.common.fhir.elements.tsp#L58
Tsp link target 2: https://github.com/Azure/azure-rest-api-specs/blob/d37c97f182cd797cee5ddd853e66cb6d78b52f0b/specification/ai/HealthInsights/HealthInsights.Common/model.common.fhir.elements.tsp#L75
Python generated code: link target 1 and link target 2
There can be many instances like in the example above where a service will want to use the same link target and the documentation is clear in this case. However, duplicate link targets cause sphinx checks to fail with the following warning:

Possible solution: if we can generate links with 2 underscores instead of just 1 that will make the link targets anonymous and allows sphinx checks to pass.

Since python uses m2r2 to convert .md doc to .rst doc which is for sphinx so it is hard to update the codegen for specific docstrings. Is it possible to update typespec? For example, makes another display name [FHIR Element doc](https://www.hl7.org/fhir/R4/element.html)


Column menu: clicking on an editable cell doesn't close menu

Click to open a column menu, then click on an editable cell.  The column menu doesn't close, presumably because the editable cell template has absorbed the click.

Low priority - moving to future release.


Update docfx.json

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/OfficeDocs-SkypeforBusiness-Test-pr.fr-fr, working directory: W:\5rzn-s, target branch: master, target branch commit: d8cac6b4f5025040f1692d8f1ee626c0184739c1, source branch: 9fdc60008200490414a4222408281b15/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/OfficeDocs-SkypeforBusiness-Test-pr.fr-fr, working directory: W:\cx3u-s, target branch: master, target branch commit: d8cac6b4f5025040f1692d8f1ee626c0184739c1, source branch: 9fdc60008200490414a4222408281b15/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/OfficeDocs-SkypeforBusiness-Test-pr.fr-fr, working directory: W:\wzaw-s, target branch: master, target branch commit: d8cac6b4f5025040f1692d8f1ee626c0184739c1, source branch: 9fdc60008200490414a4222408281b15/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Metadata changes are obsolete and hence closing PR without merging. Please open new PR for other new fixes. Thanks.


Where should I keep sensitive data?

If I want to use hipchat integration which required ENV["HIPCHAT_API_TOKEN"] set in before_all what is the proper way to do this? Hardcode in Fastfile would be security issue right if I commit this into git.

Since this is an environment variable, you can set it however you want.
You can use dotenv or any other project to securely store your environment variables.
Does that make sense?

Thanks, that make sense.


[Accordion] New Accordion components and hooks

Closes https://github.com/mui/base-ui/issues/25
Builds on top of https://github.com/mui/base-ui/pull/481

[x] I have followed (at least) the PR section of the contributing guide.

Moved to: https://github.com/mui/base-ui/pull/577


Please Provide a Forum

Hi, i'm new and noob to vuejs and javascript please provide a forum just for asking simple questions. like how can i add data using json with remote url. thanks a lot and sorry for my bad english

You can use vuejs/discussion or Gitter chat to ask questions. Also check out contribution guide.


Flask Extension passing User object instead of attributes

We've started to notice these errors at the top of our issues:

It appears that the AnonymousUser object is being passed directly to the 'user' parameter.   Is this intentional?   Should it not be the attributes listed in SENTRY_USER_ATTRS?
Edit:
I am using Flask-Security-3.0.0 and Flask-Login-0.4.0.
This is also happening with registered users.

We discovered the issue was on our side.   We had added a logging.Filter and it was clobbering raven values.   Specifically:
class ContextualFilter(logging.Filter):
    def filter(self, record):
        if has_request_context():
            record.user = current_user

Perhaps there needs to be a raven prefix/suffix to avoid this in the future?


Smokeless Hearth Log Error Spam

Hey Rocker,
Located on object that is error spamming the following:
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Fireplace.GetHoverText () (at <49d9aaa0119f4006a902669e02c0ad15>:0)
(wrapper dynamic-method) Hud.DMD<Hud::UpdateCrosshair>(Hud,Player,single)
(wrapper dynamic-method) Hud.DMD<Hud::Update>(Hud)

prefab id:
rk_hearth

Let me know if you need additional details like logs!

is this on the 3.2.9 beta I had you test? @ValhallaCommunity

I'll test again when we update to 3.2.9! I'll confirm!


Cannot find prompt values

Hey guys, first of all, congrats on this fantastic work!
I'm using this project as the dataset for my final paper at the uni. I was able to run the project and have just started exploring it. However, I cannot find the corresponding values for the prompt_ids. For instance, in the article there is a reference for a prompt value named covid-19 but looking at the dataset I can only find the prompt_id.
Where can I find the actual corresponding values for the ids?
--
Thank you

Hi Rapahel.
Thank you for appreciating the work.
The prompts in the paper are a summary of the description that is in the prompt.csv file.
The essays related to covid-19 have the id = 50. In the prompt.csv file, you can find the description of this topic.


Check for (and send) empty body on log out post.

[EDIT by guardrex to add another 'fixes']
Fixes issue dotnet/AspNetCore.Docs #31205
Fixes #132

Can you add write access for me too?

Yes, @halter73 ... and I messaged Artak about adding you guys to the Blazor engineering team, which will take care of it, too. For now, I'll place a manual entry in the repo for you.


Bug: Breadcrumb navigation bug when using the "Loop framework" preset in a certain graph.

Open this graph:
http://create.vizor.io/fthr/fish-follows-star-2/edit

Navigate to inside the "Object 2 (source? the fish)" subgraph.

Pay attention to the breadcrumb. It now correctly shows you are inside the fish subgraph.-

From the preset menu, add "Loop framework"

Click "Edit" to go inside "Loop framework"

Pay attention to the breadcrumb. It now incorrectly shows that the loop framework is placed under "TARGET (the star)" subgraph!

fixed in staging by something else


Update ktfmt to 0.42

This has significant improvements to KDoc formatting, including indenting for @ tags.

Closed by #30


I'm using lsd 0.16.0 and whatever is passed to --blocks is completely ignored, unless -l is also passed, which brings other changes like one-file-per-row view.

I'm using lsd 0.16.0 and whatever is passed to --blocks is completely ignored, unless -l is also passed, which brings other changes like one-file-per-row view.
Originally posted by @AndydeCleyre in https://github.com/Peltoche/lsd/issues/276#issuecomment-530958211

Hi #289 should fix this when it's merged


Since you are using the word Identity all over, please define it

Since you are using the word Identity all over, please define it.
Please make this page easier for someone to forward to a C level person or a decision maker. Maybe an executive summary at the beginning. Currently you have to be a quite technical focus to understand this page.

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

ID: 6fe2fc28-2c44-e088-f079-067bafd1ae58
Version Independent ID: 6b987664-a403-4b79-4faa-eb4465c33a40
Content: Azure Active Directory Identity Protection
Content Source: articles/active-directory/identity-protection/overview.md
Service: active-directory
Sub-service: identity-protection
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@blouwagie Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

Created backlog item to update this doc

#please-close

Hey @blouwagie
I have defined "Identity" on the terminology page: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-whatis#terminology.
I've also linked the word "Identity" to the terminology page in this article above upon its first mention.
Thanks!

Thank you !
Bart Louwagie
Holmes, NY
<EMAIL_ADDRESS>845 202 0239 (google voice)
http://louwagie.com
https://www.linkedin.com/in/bart-louwagie/
(when conference call https://www.uberconference.com/bart40 is needed)
On Wed, Jun 26, 2019 at 1:41 PM Ajane Burnley<EMAIL_ADDRESS>wrote:

Hey @blouwagie https://github.com/blouwagie
I have defined "Identity" on the terminology page:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-whatis#terminology
.
I've also linked the word "Identity" to the terminology page in this
article above upon its first mention.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/30610?email_source=notifications&email_token=AESZT5IHMX3B5TMPGWHLPO3P4OS55A5CNFSM4HKZ443KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYUJE2Y#issuecomment-505975403,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AESZT5KZYZLOEWM5IC7DADTP4OS55ANCNFSM4HKZ443A
.


fix: typo

fix some typo

 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.


Document process for patch-releases

This documents the procedures we use around creating patch-releases.
/cc @icecrime @tiborvass

LGTM :+1:

Nits addressed. PTAL

ping @tiborvass @calavera @mavenugo PTAL

LGTM

Thanks @thaJeztah . LGTM

Author LGTM


Enables Polygon Amoy

Enables Polygon Amoy

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

Project coverage is 16.88%. Comparing base (080a342) to head (6df8bf1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #877   +/-   ##
=======================================
  Coverage   16.88%   16.88%
=======================================
  Files          36       36
  Lines        4430     4430
=======================================
  Hits          748      748
  Misses       3603     3603
  Partials       79       79

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


Implementing Redis as querying layer

Anything discussed in https://github.com/HTTP-APIs/hydrus/issues/110 applies.

Moved to #20


convert Giving to Subscriptions

Nevermind. I broke most of those caching tests in an earlier commit on #3467, not this commit.


[Snyk] Upgrade io.grpc:grpc-protobuf from 1.59.1 to 1.60.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade io.grpc:grpc-protobuf from 1.59.1 to 1.60.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 23 days ago, on 2023-12-05.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Closing this PR bc it's already outdated. Will prepare a separate with all of the dependencies update.


Awesome Library!

Hey guys this a great work from your part to make reCaptcha integration easier for Angular Projects.
Didn't knew where to reach out to you guys so posting it here.
I've also written a tutorial which uses this library, along with a server side example.
http://code.ciphertrick.com/2015/05/19/google-recaptcha-with-angularjs/
Thanks for this awesome library. :)

Hey! thank you for writing that blog post.
Kudos to all the contributors who made it a great tool!
Thanks! :beer:


Add http parser to ESP32 cmake

Description

ESP build combinations would fail due to not being able to find http_parser source files. This adds it to ESP32's CMakeLists.txt
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks


Publish test results to AppVeyor

https://github.com/RamblingCookieMonster/PSDiskPart/blob/master/Tests/appveyor.pester.ps1

https://www.powershellgallery.com/packages/PSVersion/1.6.1/Content/Tests\appveyor.pester.ps1

http://wahlnetwork.com/2017/04/18/version-and-publish-powershell-appveyor/

https://www.red-gate.com/simple-talk/sysadmin/powershell/testing-powershell-modules-with-pester/


GitHub Actions workflow for the GPU code

We will need a simple CI workflow to test the GPU code on the test server.

Implemented here:
https://github.com/ci-for-science/example-gpu-houston/pull/2


Change to ESM

Which issue, if any, is this issue related to?

None.

Is there anything in the PR that needs further explanation?

Support for stylelint@16 onwards.

@jeddy3 I found a workaround for the segfault error. Please try using jest-light-runner as suggested on https://github.com/nodejs/node/issues/35889#issuecomment-1129293091, although this runner lacks some features like coverage.
However, I don't identify why segfault errors don't occur in the stylelint test suite, but in this test suite. 😓
Related: https://github.com/stylelint/stylelint/pull/7329

@ybiquitous Thanks for digging into some more! I've pushed a commit to use the light runner. Unfortunately, Windows is now tripping up with this error:
 Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'

Prettier is using the runner on their codebase, so we can be confident it should work on Windows. It could be something with our preset or with how I'm configuring Jest (although, I've tried to match Prettier's config settings). I try to look into it myself over the weekend, but please share if you have any ideas.

Um, I'm not 100% sure, but how about trying the loadLint option of jest-preset-stylelint?
const loadLint = () => import("stylelint").then((m) => m.default.lint);

global.testRule = getTestRule({ plugins: ["./lib/index.js"], loadLint });

See also:

https://github.com/stylelint/jest-preset-stylelint/blob/9693b30a6809db4e141877a9330a53a1e0fbccda/getTestRule.js#L13-L14
https://github.com/stylelint/stylelint/blob/81f0b7fd3070f715627d9cbd4efb428b0bb206ee/jest.setup.mjs#L5

@ybiquitous Thank you for the suggestion. I tried, but the error remained.
Debugging on Windows is a pain without a Windows machine to hand... pushing commits and waiting on the CI. However, I continued digging.
I remembered we could pass plugin objects directly to the plugins: [] configuration property. I've worked around the issue by dynamically importing the plugin in the jest setup:
import { getTestRule } from "jest-preset-stylelint";
const plugin = await import("./lib/index.js");
global.testRule = getTestRule({ plugins: [plugin] });

Is this an acceptable workaround to document in the migration guide, or should we dig deeper to discover why plugin locators aren't working in Jest on Windows?

Congrats for the CI green! 🎉

Is this an acceptable workaround to document in the migration guide, or should we dig deeper to discover why plugin locators aren't resolving correctly in Jest on Windows? I did try using fileURLToPath but then neither Windows nor Unix could find the file.

If we will create a new helper using node:test and recommend it instead of jest-preset-stylelint, it may be better to add the way to use global.testRule to the documents. 🤔
I guess it's more straightforward to import a plugin in its test (like fb5cd8657f) than a global setup file (this feature is specific for Jest at this time). For example:
import rule from "../index.js";

const {
  rule: { messages, ruleName },
} = rule;

testRule({
  // 🙆🏼♂ Good
  plugins: [rule],

  // 🙅🏼♂ Bad
  plugins: ["./index.js"],

  ruleName,
  // other settings...
});

// 🙅🏼♂ Bad
// jest.setup.js
global.testRule = getTestRule({
  plugins: [plugin],
});

If this would makes sense, it seems we should update the plugin testing guide and the jest-preset-stylelint README, in addition to the migration guide for v16.
Just to confirm, the way to pass a plugin object directly would never raise a problem even in Windows, right?

I guess it's more straightforward to import a plugin in its test (like https://github.com/jeddy3/stylelint-scales/commit/fb5cd8657f1652f53b695483a63a18723ed03550) than a global setup file (this feature is specific for Jest at this time)

Yes, I agree. It feels like passing the plugin object directly is:

cleaner, rather than a pass locator that Stylelint resolves
a pattern that'll work across all runners, like a new node:test one

It seems we should update the plugin testing guide and the jest-preset-stylelint README, in addition to the migration guide for v16.

I agree.
We don't need to dig deeper into the issue as we'll push this pattern in our docs because it's future-facing.

Just to confirm, the way to pass a plugin object directly would never raise a problem even in Windows, right?

I don't believe so. Stylelint has always accepted a plugin object directly in the plugins: [] configuration property.


Redshift: add primary key constraint to event_id for query optimization purposes

http://docs.aws.amazon.com/redshift/latest/dg/t_Defining_constraints.html

Isn't this already done here https://github.com/snowplow/snowplow/blob/master/4-storage/redshift-storage/sql/atomic-def.sql#L156?

Yes, should have scrolled down! Thanks, closing


Add missing TextPainter.strutStyle to paragraph style

Fixes an issue where if the TextSpan doesn't have a text style, the specified strutStyle is not applied.
Additionally, adds a migration flag for https://github.com/flutter/engine/pull/50385, for internal golden changes. It's only going to exist for a week.
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Some text fields may become taller after this change. See cl/609427953 and #143903


Support for permission segregation when using Azure AD Pod & Workload Identity.

Provide a description of what has been changed
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Tests have been added
[x] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[x] A PR is opened to update the documentation on (repo) (if applicable)
[x] Changelog has been updated and is aligned with our changelog requirements

Relates to #2656
Relates to https://github.com/kedacore/keda-docs/pull/790

/run-e2e azure*

I'm thinking on e2e tests (not blocker). Should we create more folders than scalers to split the tests by funcionality? I mean, this PR's e2e test doesn't test scalers, or at least their goal is not that. Maybe something like scalers , config-providers, hpa, etc split better the e2e test.
I said because for instance, hashicorp vault e2e test is using postgres, but the important thing of that test is not postgres scaler at all

/run-e2e azure* Update: You can check the progress here

Some environment variables and resources are required. #3262

/run-e2e azure*

/run-e2e workload*

/run-e2e service_bus*

/run-e2e workload*

/run-e2e user_assigned*

/run-e2e user_assigned*

/run-e2e azure* Update: You can check the progress here

The app insights test is failing, but I think it's unrelated to the changes because this sometimes fails randomly in main-build as well. See here.
@tomkerkhove @JorTurFer

/run-e2e azure*

/run-e2e azure*

Anything else to add here @JorTurFer ? Only thing changed since last e2e test run was fixing a merge conflict in the changelog.

/run-e2e azure*


Error: Error: Tag name should have a property "length" that is greater than 0

Hi @jan-molak greetings.
Thank you for always helping with the troubles.
I have a huge stack of feature files(around 120) and am currently undergoing with the 2.0 migration with template protractor-cucumber.
When i specify the feature in conf.js file like ['features/players/remote.feature'] and run, everything gets picked up fast
and works perfectly.
When i use it as ['features/**/*.feature]
and run protractor protractor.conf, it take a very long time and after opening the browser.. later throws Error: Error: Tag name should have a property "length" that is greater than 0
at Object.ensure (node_modules\tiny-types\src\ensure.ts)
Please help me here, this issue was not observed in 1.0 Thanks.
Best Regards,
Abhineet Sharma

Hi @AbhineetSharmax! Could you please paste the entire stack trace, please? That exception is thrown by one of the implementations of the Tag class, so it would be good to understand which one.

Hi @jan-molak ,
Please find the trace.
14:33:09] E/launcher - Error: Error: Tag name should have a property "length" that is greater than 0
at Object.ensure (D:\Demo\node_modules\tiny-types\src\ensure.ts:31:15)

at new Tag (D:\Demo\node_modules\@serenity-js\core\src\model\tags\Tag.ts:23:9)

at new IssueTag (D:\Demo\node_modules\@serenity-js\core\src\model\tags\IssueTag.ts:10:9)

at D:\Demo\node_modules\@serenity-js\core\src\model\tags\Tags.ts:16:66

at Array.map (<anonymous>)

at MatchesRegExp.transformation (D:\Demo\node_modules\@serenity-js\core\src\model\tags\Tags.ts:16:53)

at MatchesRegExp.MatcherRule.execute (D:\Demo\node_modules\tiny-types\src\pattern-matching\rules\MatcherRule.ts:13:21)

at StringMatcher.PatternMatcher.else (D:\Demo\node_modules\tiny-types\src\pattern-matching\PatternMatcher.ts:17:71)
at Function.from (D:\Demo\node_modules\@serenity-js\core\src\model\tags\Tags.ts:17:18)

at D:\Demo\node_modules\@serenity-js\cucumber\src\gherkin\feature-files\FeatureFileMapper.ts:183:52

at Array.map (<anonymous>)

at FeatureFileMapper.tagsFrom (D:\Demo\node_modules\@serenity-js\cucumber\src\gherkin\feature-files\FeatureFileMapper.ts:183:36)

at D:\Demo\node_modules\@serenity-js\cucumber\src\gherkin\feature-files\FeatureFileMapper.ts:53:30

at Array.forEach (<anonymous>)

at FeatureFileMapper.map (D:\Demo\node_modules\@serenity-js\cucumber\src\gherkin\feature-files\FeatureFileMapper.ts:22:35)

at EventEmitter.<anonymous> (D:\Demo\node_modules\@serenity-js\cucumber\src\listeners\CucumberEventProtocolAdapter.ts:48:40)

[14:33:10] E/launcher - Process exited with error code 100

Ah OK, that's very helpful, thanks.
In Serenity/JS, @issue:<issue_id> and @issues:<id1>,<id2> have special meaning and are used to identify tickets in your issue tracker (such as JIRA). The error is thrown because the parser expects that the tag always follows a pattern of @issue or @issues followed by issue id (see the specs).
I'm guessing that one or more of your .feature files use @issue instead of @issue:<issue_id>, could you please confirm if that's the case and if changing the tag to say @defect or @bug solves the problem?
Having said that, the parser should either convert @issue to a regular tag, or blow up with a more meaningful message.

and that was super thank you so much @jan-molak you are a saviour , i was unaware about about the @issue tag conventions. Now its not throwing me this error and running the scenarios perfectly. Hope it helps to others too. 😊


Send direct messages to contributors

As editor I need the function "send direct message" to contributor
independently from answers to requests
So I can always get in touch directly with one contributor (e.g. to clearify his / her full name)

In Profile View (users/11)


implement copy to clipboard functionality

Getting a lot of requests lately to implement a copy to clipboard button which would come in handy.

Please assign this to me. Thank you.


How to get 3D points in camera coordinate system

Thanks for sharing your awesome code.
To compute the pose of the hand, I need to get the 3D coordinates of each keypoint.
I ran demo.py with an image of a hand positioned approximately 60 to 70cm away.
However, even though I added pred_cam_t_full as commented in #30 , I got the following result.
How can I get the 3D coordinates of the keypoints of the hand using the results predicted by the model?
And where in the code should I use the camera's focal length for "better hand position estimation" as you mentioned [#30 ]?
pred_cam_t_full[0]
-> array([ 0.13043386,  0.04035436, 18.107185  ], dtype=float32)

np.add(out['pred_vertices'][0][0].cpu().detach().numpy(), pred_cam_t_full[0])
-> array([2.5597063e-01, 6.0645305e-03, 1.8093334e+01], dtype=float32)

np.add(out['pred_keypoints_3d'][0][0].cpu().detach().numpy(), pred_cam_t_full[0])
-> array([ 0.22584924,  0.04672063, 18.113363  ], dtype=float32)

out['pred_keypoints_3d']
tensor([[ 0.0954,  0.0064,  0.0062],
        [ 0.1290, -0.0092, -0.0042],
        [ 0.1529, -0.0283, -0.0071],
        [ 0.1693, -0.0494, -0.0112],
        [ 0.1883, -0.0758, -0.0247],
        [ 0.1343, -0.0735, -0.0098],
        [ 0.1391, -0.1052, -0.0175],
        [ 0.1431, -0.1253, -0.0259],
        [ 0.1458, -0.1499, -0.0322],
        [ 0.1123, -0.0838, -0.0160],
        [ 0.1099, -0.1141, -0.0248],
        [ 0.1075, -0.1367, -0.0298],
        [ 0.1037, -0.1626, -0.0306],
        [ 0.0889, -0.0738, -0.0236],
        [ 0.0911, -0.1021, -0.0283],
        [ 0.0904, -0.1264, -0.0334],
        [ 0.0895, -0.1519, -0.0369],
        [ 0.0727, -0.0621, -0.0319],
        [ 0.0681, -0.0826, -0.0334],
        [ 0.0625, -0.1006, -0.0357],
        [ 0.0580, -0.1211, -0.0405]], device='cuda:0')

out['pred_vertices']
tensor([[ 0.1255, -0.0343, -0.0139],
        [ 0.1234, -0.0240, -0.0139],
        [ 0.1328, -0.0301, -0.0156],
        ...,
        [ 0.0857, -0.0462, -0.0344],
        [ 0.0860, -0.0568, -0.0347],
        [ 0.0920, -0.0293, -0.0262]], device='cuda:0')

The translation of the hand in the camera frame is computed here. The variable scaled_focal_length corresponds to the focal length that is used to compute this translation. You might want to change that value with the focal length of your camera.
Please check this issue for an explanation.

@geopavlakos Thanks.
I did a calculation to compare the predicted value with the actual value. It showed this much error. What is the reason? According to your paper, the 3D pose accuracy is less than 1cm.
Results,
real:  [[ 0.05832911 -0.11363396  0.806     ]]
pred:  [[ 0.05534421 -0.10781892  0.76475427]]

from live import load_for_test

data, img_cv2, depth = load_for_test('test') # Data from model's out, pred_cam_t_full from demo.py

image = img_cv2.astype(np.float32)[:, :, ::-1] / 255.0
vertices = data['vertices']
pred_cam_t_full = data['pred_cam_t_full']
cam_t = data['cam_t']
camera_matrix = data['cam_matrix']
crop_img = ((data['crop_img_np'] * np.array([0.229, 0.224, 0.225]).reshape(3,1,1)) + np.array([0.485, 0.456, 0.406]).reshape(3,1,1)).transpose((1,2,0))
is_right = np.array([1], dtype=np.float32)

verts = vertices
verts[:, 0] = (2 * is_right -1) *verts[:, 0]

image_size = img_cv2.shape[:2][::-1]

print(verts.shape)
verts = verts[:,0,:] # select 0 index
# index_finger_tip = vertices[320]
# thumb_tip = vertices[744]

print('camera_matrix', camera_matrix)
print('camera_translation', cam_t)
print('pred_cam_t_full', pred_cam_t_full)
print('cam_t', cam_t)
print('img_size', image_size)

def get_xyzs_from_depth(
    depth: np.ndarray,
    xys: np.ndarray,
    intrinsic,
    radius: int = 1,
    depth_scale: float = 0.001,
):
    fx = intrinsic[0, 0]
    fy = intrinsic[1, 1]
    cx = intrinsic[0, 2]
    cy = intrinsic[1, 2]

    if len(xys.shape) != 2:
        xys = np.array([xys])

    xs, ys = xys[:, 0], xys[:, 1]
    if radius <= 1:
        zs = depth[ys.astype(int), xs.astype(int)] * depth_scale
    # else:
    #     zs = circle_average(depth, xys, radius, np.median) * depth_scale

    xs = (xs - cx) / fx * zs
    ys = (ys - cy) / fy * zs

    indices = np.where(zs != 0.0)

    return np.array([xs[indices], ys[indices], zs[indices]]).T

def project_to_2d(vertices, K):
    vertices_2d = []
    for vertex in vertices:
        projected = K @ (vertex + pred_cam_t_full).T
        projected = projected / projected[-1]
        vertices_2d.append(projected[:2])
    return np.array(vertices_2d)

vertices_2d_1 = project_to_2d(verts, camera_matrix).reshape(-1, 2)
print(vertices_2d_1)
print('real: ', get_xyzs_from_depth(depth, vertices_2d_1, camera_matrix))
print('pred: ', np.add(verts, pred_cam_t_full))

output
(1, 778, 3)
camera_matrix [[907.41577148   0.<PHONE_NUMBER>5]
 [  0.<PHONE_NUMBER>6<PHONE_NUMBER>6]
 [  0.           0.           1.        ]]
camera_translation [[-0.13099778 -0.07278255  5.08229494]]
pred_cam_t_full [[-0.07502446 -0.14791694  0.78469563]]
cam_t [[-0.13099778 -0.07278255  5.08229494]]
img_size (1280, 720)
[[708.68447666<PHONE_NUMBER>1]]
real:  [[ 0.05832911 -0.11363396  0.806     ]]
pred:  [[ 0.05534421 -0.10781892  0.76475427]]

The errors reported in the paper are typically measuring the hand pose accuracy and are related to the 3D pose of the fingers with respect to the wrist. The error you are measuring is related to the absolute 3D location of the hand, which can be less accurate due to the scale ambiguity in monocular data.
I believe that the ~4cm error in the absolute 3D location accuracy sounds reasonable, although you might want to make sure that the vertex you select is indeed visible in the frame you consider. Otherwise the measurement from the depth sensor would be less accurate.


Fixed #155 Fixed bad implement, bad data structure CircularBuffer

Description
fixed issue #155
improve data struct:

Pop now work like a stack (throw InvalidOperationException when pop an empty  CircularBuffer)
No extra item in the inner array
Clear array instead of create anew
Fixed bad implement of IEnumerable (incorrect GetEnumerator, Contains, Remove)

Checklist

[x] An issue was first created before opening this pull request
[x] The new code follows the contribution guidelines
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests to ensure that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

您好，您的邮件我已经收到，会尽快处理，谢谢！中建八局设计管理总院 胡伟


app stuck when adding 'const Razorpay = require('razorpay')'

Application stuck when i am adding  'const Razorpay = require('razorpay')' this line into file.No any error coming just app stuck.

@MarckITAnalysts could you please create your issue in issue template and provide details about your node version , sdk version & issue it self .
In this way, we will be able to get a better understanding


Added font support for kitty terminal

Description
Added support for pulling font details when using kitty terminal on macOS, and perhaps *nix.  (Have not testet the latter.)
Please review.  Were a bit unsure how to format the line breaks.

Features

Show font details when using the kitty terminal.

LGTM :+1:


Evaluations in ell

This is a major feature release.
Spec: https://github.com/MadcowD/ell/blob/cd64ab9bb0d3a09195fef7a32ef77ac5d7e6c912/docs/ramblings/evalspec.md
Ramblings: https://github.com/MadcowD/ell/blob/cd64ab9bb0d3a09195fef7a32ef77ac5d7e6c912/docs/ramblings/thoughtsonevals.md
Example: https://github.com/MadcowD/ell/blob/6afad20bc58a99e9f3fe0a76ff6b7642471d63a7/examples/eval.py
UX/IMPL TODOs

[ ] Database Schemas based on the evalsandmetrics.md
[ ] View an eval
[ ] View different runs of an eval
[ ] Somehow show the source for various different evaluations and have the ability to grab evals by name
[ ] Clarify whether or not we should show the evals in the computation graph on ell studio
[ ] Show the actual scores for a given input on ell studio as opposed to just the mean
[ ] Easy comparison across many models
[ ] Easy to change parameters of individual models in a chain
[ ] UX for showing the model is different
[ ] UX for api params
[ ] Working verbose mode for @function
[ ] Fix ell.function in general
[ ] Support failure modes in metric computation
[ ] Implement parsers/structured outputs to make this cleaner
[ ] Group runs more cleanly so that they are a part of an eval in the invocation view
[ ] Full UX for comparing different evals across any arbitrary axis
[ ] Arbitrary support for failure mode in lmp invocations
[ ] Clarity into why a currently running invocation is working or not
[ ] need to sovle a really good UX for prpompt engineering with no criterion comparion outputs etc
[ ] Open ell studio automatically when the eval gets run...

Next Step TODOS

[ ] Implement a bunch of standard criteria
[ ] Dataset construction needs to be easy and there should be libraries around this, also matching parity with OpenAI evals

(Misc todos)

[ ]  #XXX: Seperate this into VersionedEvaluation and Evaluation because versioning is somewhat expensive if someone has a big eval Then perhaps we could default to VersionedEval in the docs or version=False. Not sure.
[ ]  TODO: Link Invocations to EvalRuns
[ ]  TODO: Link Invocations to INvocationScores.
[ ] TODO: Write to DB
[ ]  TODO: Build UX for analyzing evals.
[ ]  TODO: Solve (input, labels, score_fn) etc
[ ] TODO: What about automatic cross validation & splitting.
[ ]  TODO: Consider wandb style metrics later.
[ ] Need a way to compare evals across metrics

#269

Potentially we can add the following as a niceties for dataset construction

# Use this as a handicap for users specifying their own datasets, they need to be explicit about the input.
InputType = Union[Dict[str, Any], NoneType, List[Any]]
class Datapoint(UserDict):
    def __init__(self, input: InputType, **rest):
        super().__init__(input, **rest)
        assert isinstance(input, (dict, list)) or input is None, f"Input must be a dict, list, or None, got {type(input)}"

    @property
    def input(self) -> InputType:
        return self.data["input"]

dataset : List[Datapoint] = [
    Datapoint(input={"text": "Hello world"}, random_heuristic="Hello world", hf_score=0.5),
    Datapoint(input=[1, 2, 3, 4, 5], random_heuristic="List of numbers", hf_score=0.5),
    Datapoint(input=None, random_heuristic="No input", hf_score=0.5),
]

# But datasets on the otherside will accept arbitrary data typess for consturction.
#XXX: Need to figure out if we should actually build a basic dataset class with validation or just leave it as a list of dicts.
class Dataset:
    def __init__(self, data: Iterable[Dict[str, Any]]):
        self.data = data
        #XXX: Validation
        # If we do this now we can potentially force user to serialize their data in the data store etc.
        self.validate()

    def __iter__(self):
        return iter(self.data)

    def __getitem__(self, idx):
        return self.data[idx]

    def __len__(self):
        return len(self.data)

    def validate(self):
        for datapoint in self.data:
            if not isinstance(datapoint, dict):
                raise ValueError(f"Each datapoint must be a dictionary, got {type(datapoint)}")
            if "input" not in datapoint:
                raise ValueError("Each datapoint must have an 'input' key", datapoint)
            if not isinstance(datapoint["input"], (list, dict)):
                raise ValueError(f"The 'input' value must be a list or dictionary, got {type(datapoint['input'])}", datapoint)

    @classmethod
    def from_pd(cls, dataframe: pd.DataFrame, input_column: str):
        return cls(dataframe[input_column].to_list())

    @classmethod
    def from_jsonl(cls, file_path: str):
        with open(file_path, "r") as file:
            return cls(json.load(file))

    @classmethod
    def from_pickle(cls, file_path: str):
        with open(file_path, "rb") as file:
            return cls(pickle.load(file))

We need to solve this antipattenr (what if we just want to eval something with a criterion on no dataset

dataset = [
    {
        "input": [],
    }
]*10

@ell.simple(model="gpt-4o")
def write_a_bad_poem():
    return "Write a really poorly written poem."

@ell.simple(model="gpt-4o")
def write_a_good_poem():
    return "Write a really well written poem."

@ell.simple(model="gpt-4o", temperature=0.1)
def is_good_poem(poem : str):
    """Include either yes or no in your response at most onnce but not both."""
    return "Is this a good poem yes/no? {poem}"

def score(datapoint, output):
    return float("yes" in output.lower())

eval=ell.evaluation.Evaluation(name="poem_eval", dataset=dataset, criteria={"is_good": score})

print("EVALUATING BAD POEM")
result = eval.run(write_a_bad_poem, n_workers=4)

print("EVALUATING GOOD POEM")
result = eval.run(write_a_good_poem, n_workers=4)

Add a migration using alembic
https://testdriven.io/blog/fastapi-sqlmodel/

Okay. So we have a really good spec now for at least invocation labels and invocation labelers allowing us to define arbitrary rubrics using JSON schemas. The big problem currently is that now I'm thinking about dataset serialization and furthermore, by storing invocations with param objects. We have a larger problem where now if I run multiple indications on the same parameters. So for example in the same datapoints I will duplicate the dataset my store for as many different metrics as there are. This seems like it'll end up being really, really slow so someone needs to come through here, and it's probably me and redesign the data model so that this is a lot more efficient.
The other question is in general, should we have a dataset and this matters if we want to reserialize the evaluation at some later point in time rather than just store the version of it. For example, if I specify an evaluation, I probably actually do want to look at the data of the evaluation. So the picture in L Studio would be a list of rows that are a part of the evaluation.
As part of the migration, we could build a new parameter, essentially an input contents for an invocation, and have that hashed. These objects would be stored separately and efficiently. The dataset would then be just a list of these blobs, which are input blobs corresponding with invocations. This is actually the true way to serialize it because we have a bunch of inputs we're going to redundantly use every single time with variable outputs. Alternatively, we could keep the invocation contents as the true parameters.
For the evaluation view, we definitely want to have the dataset and then different evaluation runs. So you can view, I guess it would be three tabs: dataset, invocations, and runs/metrics. Clearly, we need to have first-class support for the dataset, and the dataset schema itself will have an input and then a bunch of other objects on it. These input objects themselves would be for each data point, so each row in the dataset. Another issue is that there's a dataset and a datapoint class, basically. The dataset class contains a list of datapoints. If we wanted to be thorough about this, we would reengineer the blob to separate out these unique objects.
And then we could really go down the Weights and Biases style. We would basically define a dataset object, just like Weave does. And then that dataset is automatically added to the store, which is not something you really want to do necessarily. But inherently it'll be added to the store because we are using the dataset in the eval. So this is tough, right? I mean, I could just say, "Hey, you know, here's the eval. There's a dataset object. It's this size." If you wanted to actually look into the dataset, then you need to open it with Python and so on, except for when we actually run the eval for the first time. Because if we actually run the eval, then it'll get committed to the database. And that's the philosophy: if we don't run the eval, it doesn't change. So what, for example, if I want to change the metric, I don't want to rerun all the completions again. So that's kind of a flaw with this design as well.

Overall thinking here is we need to redesign our store spec to have better support for redundant entities.


Issue 2 - Prompt for Text Color

WHEN I am prompted for the text color
THEN I can enter a color keyword (OR a hexadecimal number)

Complete


Execute changes starting from terraform 0.15.X

https://github.com/isaaguilar/terraform-operator/blob/master/docker/terraform/run.sh#L19
terraform init .

should be replaced with
terraform init
to let script work with terraform 0.15.X+
so the new image should be rebuilded.

Thanks for adding this issue. New builds for the terraform runners that are >= 0.15.x are coming soon.

Images are up. Thanks for opening up this issue.


XSD Validation Error with files including themselves.

We have a group of xsd's with a base overarching file that includes all the other files into 1 single namespace. Names have been changed due to proprietary files. Whenever we try to run Nokogiri::XML::Schema#validate on a valid XML file against the overarching.xsd, we get an error:
ERROR: Element '{http://www.w3.org/2001/XMLSchema}include': The schema document '/path/to/file/structures.xsd' cannot include itself..

overarching.xsd :
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="version">
	<xsd:include schemaLocation="datatypes.xsd"/>
	<xsd:include schemaLocation="ecl.xsd"/>
	<xsd:include schemaLocation="structures.xsd"/>
	<xsd:include schemaLocation="foo.xsd"/>
	<xsd:include schemaLocation="bar.xsd"/>

structures.xsd :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="version">
	<xsd:include schemaLocation="datatypes.xsd"/>
	<xsd:include schemaLocation="ecl.xsd"/>
	<xsd:include schemaLocation="structures.xsd"/>
...

I don't seem to be getting this error when validating using the XMLEdita tool gui tool, nor Oxygen XML Editor to validate the file against the XSD. Is this an issue with Nokogiri, or can you point me to where that error rule is specified in the W3 rules as I can't seem to locate where it says it can't reference itself?
Thank you!

@BobbyMcWho I'm terribly sorry I haven't responded to this earlier. Thanks for asking this question.
What you're describing here is behavior that Nokogiri inherits from libxml2 (code is here) and so there's nothing Nokogiri can easily to do avoid this.
If you'd like to understand why libxml2 is doing this, my advice would be to ask this on the upstream libxml2 mailing list; or a more general XML forum where perhaps someone who knows the spec better than I can answer you.
Sorry I can't be more helpful. :neutral_face:


Excelsior Version select

Enable version select for different excelsior variants
For the A-Version for Motor A the directions need to be switched

Moved to Excelsior Robotics


channel: Improve docs for selection

Closes #257
@mchesser Thank you for the suggestions on how to improve docs! How does this look?

bors r+


Rename lib/cfme_client to lib/api_client

The lib/cfme_client should be renamed to lib/api_client.
The gem within should be named "manageiq-api-client".

We should not just rename.   We should extract it completely into a gem.

Additionally,  I think the name should not have dashes.   It should just be manageiq_api_client or manageiq_client.

real API client will need to be revisited/implemented as a separate gem. Closing this issue.


Benchmark is not Comparing Apples to Apples

All other bundlers have sourcemap enabled in the benchmark, while farm does not support sourcemap, which turns out to be very misleading.

My mistake, benchmark updated. I removed vite and turbopack from the comparison as they do not support disable sourcemap.
I will add them back as soon as Farm support sourcemap.


IAO Scanning Team - Records Upload - CFD Personals

As an IAO scanning team user
I want to be able to tag and upload records for CFD Personal Requests
so that the records will be ready to review for the analyst

Assumptions & Scope
This is the first user story to capture the requirements/needs of the IAO scanning team to upload records to the application for redaction.
Unlike other Ministries, the MCFD team sends physical records to IAO, who scans the records and uploads them for review. This means that we will need the ability to upload records from the IAO side.
In addition - CFD records are unique in that they are not typically tracked or severed by division, but rather the specific file type.
The scanning team will therefore scan a file type of records, and "tag" the file type appropriately before they upload it to the system.
This is only required on CFD personals (and later, MSD Personals)
What is IN scope?
Upload of records by IAO scanning team on CFD personals
What is NOT in scope?
Acceptance Criteria
Scenario 1: IAO Scanning Team - Upload Records

GIVEN a user is on a MCFD Personals Request
AND they are a member of the IAO scanning team
WHEN they click on the "Records" tab
THEN they will see a button to "Upload Records"

Scenario 2: Upload Records

GIVEN a scanning user is on the Records Tab
AND the request is a MCFD Personals
WHEN they click on the 'Upload Records' Button
THEN a modal will pop up (https://jacklyn808742.invisionapp.com/console/FOI---Intake-ckpq19frj032r013q6gpm8t1m/clkd1ctsg83vs01ai2q4p8me7/play)
AND the continue button will be disabled

Scenario 3: Activate Files

GIVEN a scanning user is on the "Add scanned records" modal
WHEN they select a file type (link to finalized list)
THEN a space to upload records will appear (https://jacklyn808742.invisionapp.com/console/FOI---Intake-ckpq19frj032r013q6gpm8t1m/clkd1ctsg83vu01aiaa9950q7/play)

Scenario 4: Activate Continue

GIVEN a scanning user is on the "Add scanned records" modal
WHEN they drag or drop files into the file upload
OR they add files by selecting through their computer via the Add File button
THEN the continue button will become acive

Scenario 5: Click Continue

GIVEN a scanning user is on the "Add scanned records" modal
AND the continue button is active
WHEN the continue button is clicked
THEN the modal will close, and the files will be uploaded to the records log with the associated tag

Scenario 6: Search Additional

GIVEN a scanning user is on the "Add scanned records" modal
AND a tag has not been selected
WHEN the user types in the "search" field
THEN any tags that start matching the entered text will begin appearing (link to full list here)

Scenario 7: Click Cancel

GIVEN a scanning user is on the "Add scanned records" modal
WHEN they click cancel
THEN the modal will close and the user will be returned to the records section

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
https://jacklyn808742.invisionapp.com/console/FOI---Intake-ckpq19frj032r013q6gpm8t1m/clkd1ctsg83vu01aiaa9950q7/play
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

scanning story 1 - cc @lmullane @JHarrietha-AOT

Hey @m-prodan , looks good.
A few questions:

Can the analyst select only one tag at time? If yes, we should add the AC.
When the records are uploaded, will the system be required to remove duplicates and convert records to PDF?
Can the records be replaced or deleted in the Records Log once they are uploaded?
When the Harms Package is downloaded, there will be one PDF for each tag, correct?

Will add AC for the one tag at a time restriction.

Since this is scanning - records should already be PDF'd from the scan job. Rank 1 dedupe doesn't make sense since the hash values will all be different, so I don't think it needs to but it might anyways as part of our existing component.

Yes - records log functionality should remain consistent across, with users being able to delete/change tags. I will include that in assumptions

Maybe a question of if we need a separate story? I will add to the assumptions for now and see from refinement discussion

Ministry users will have access to the Records log and be able to see all uploaded Records.

@m-prodan According to our discussion, ministry users are able to upload records for CFD Personals as well. Could you please add Ministry user to this ticket or create a separate ticket for Ministry user? Thanks.

@richard-aot @m-prodan
Adding the list of section names provided by CFD. The comment stack is what is in the design and the section names that we see all the time. The big list stack are the options that will be searchable
SECTION NAMING .txt

@richard-aot for uploading scanned records for a CFD request the module needs an update - the options that show up all the time should end at "inside back cover" all options after that should only show up in the search bar
For reference I have included the TXT doc only the ones are the common stack should be viewable all the time. everything else should only be viewable under search
MSD Module looks great!
SECTION NAMING .txt

@richard-aot was just on dev and see that this has been updated - thanks for the quick change moving into Ready for QA

All AC pass, closing this story.


UHF-9534

UHF-9534
Saving paragraphs supporting a design with or without an image causes an error in some cases.
What was done
Remove media from paragraph on save if paragraph's selected design doesn't support media
Reproduce the error
with hero and list of links paragraph

Create new content and add a hero or list of links paragraph.

Select a design with image and add the image. Save the content.

Edit the content you just created. Change the design to without image and save the content.
Go to media library and remove the media which you previously added to the paragraph
Go back to edit the content and save it. You should see an error on the page.

How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-9534

Run make drush-updb drush-cr

Test with hero and list of links paragraphs.

Follow the reproduction steps ^.
After deleting the media from media library, you should be able save the content with design without image successfully.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (22a2b23) 13.07% compared to head (56ddd81) 13.07%.
Report is 30 commits behind head on main.

:exclamation: Current head 56ddd81 differs from pull request most recent head d743edd. Consider uploading reports for the commit d743edd to get more accurate results

Files
Patch %
Lines

src/Menu/FilterDisabledTranslations.php
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #675   +/-   ##
=========================================
  Coverage     13.07%   13.07%
- Complexity      241      242    +1
=========================================
  Files            28       28
  Lines           941      941
=========================================
  Hits            123      123
  Misses          818      818

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


In generic_link_list.c example, DefLinkedList allocates list with wrong size

In the generic_link_list.c example shown in README.md, the DefLinkedList macro allocates list as follows:
        LinkedList(type) *list = malloc(sizeof(type));                         \

It seems to me that it should be allocated thus:
        LinkedList(type) *list = malloc(sizeof(LinkedList(type)));                         \

You're right, fixed.

Thanks. Don't forget the copy pasted in the README.md.


Leaflet.EpiMarker: custom Marker and MarkerClusterGroup

This will be the bulls eye marker, which has 2 stacked circle markers. It can be used for cases vs. deaths or deaths-in-last-21-days vs. deaths-cummulative, etc.
How is this generalized to all 5 AMD level (ADM0 through ADM4, is all there is right?) and Points? Can MarkerClusterGroup be used as multiple levels?
Thing is that  L.MarkerClusterGroup has a config property of disableClusteringAtZoom: which will need to be set to sensible value such that map transitions from ADM0, ADM1, and ADM2 clustering.
So, do ADM2 features have properties defining their ADM0 and ADM1 "parents" or does this get into GAUL codes only and then an external table to map ADM0::ADM1::ADM2?

Perhaps: the config options should have an array of Stackies each element a duble which is a map from a GeoJSON property name to a style. There can be more than two items to stack.


Add paging links to the API

This adds paging links / page count in the following format if both limit and offset are specified in the GET request:
GET http://www.example.com/api/vms?offset=2&limit=2&sort_by=name&expand=resources
{
  "name"=>"vms",
 "count"=>7,
 "subcount"=>2,
 "pages"=>4,
 "resources"=>
  [
   {"href"=>"http://www.example.com/api/vms/10000000007254",
    "id"=>10000000007254,
    "vendor"=>"vmware",
    "name"=>"cc",
...
    "tenant_id"=>10000000007758
   },
   {"href"=>"http://www.example.com/api/vms/10000000007257",
    "id"=>10000000007257,
    "vendor"=>"vmware",
    "name"=>"dd",
...
    "tenant_id"=>10000000007758
   }
],
 "actions"=>[{"name"=>"query", "method"=>"post", "href"=>"http://www.example.com/api/vms"}],
 "links"=>
  {
   "self"=>"http://www.example.com/api/vms?offset=2&limit=2&sort_by=name&expand=resources",
   "next"=>"http://www.example.com/api/vms?offset=4&limit=2&sort_by=name&expand=resources",
   "previous"=>"http://www.example.com/api/vms?offset=0&limit=2&sort_by=name&expand=resources",
   "first"=>"http://www.example.com/api/vms?offset=0&limit=2&sort_by=name&expand=resources",
   "last"=>"http://www.example.com/api/vms?offset=6&limit=2&sort_by=name&expand=resources"
   }
}

If there is no previous (ie you are on first), there will be no previous link. This holds true for the other cases such as being on the last, etc.
Things still working on:

Additional tests
Ensuring that filtering works / makes sense: for filtering, it is necessary to have a subcount. currently, the counts we have are total count (which is the count on the collection) and subcount (number that are being returned), which is not sufficient. This PR does include a hotfix to get a subquery count, but am looking at a better way

@miq-bot add_label api, enhancement, wip
@miq-bot assign @abellotti
cc: @imtayadeway

@miq-bot remove_label wip

@jntullo bump

This is really nice @jntullo
Minor fix needed,

for limit=12 offset=10, previous was limit=12 offset=-2, I expected that to be limit=12 offset=0 (i.e. same as first)

Thanks @jntullo for updating this PR.  LGTM!! 😍
/cc @imtayadeway does this look good to you ?  you have the X in the reviewers section.

Looks like the rubocop.yml was updated - there are a lot of those errors throughout renderer, will fix all of them separately.


Add license information

Please add a LICENSE file or something similar that specifies which license applies to the gem.

@rkr090 Thanks MIT added


jenkins_jnlp_slave does not create a service on windows

When I try to install a jenkins JNLP slave on a Windows Server 2012 R2 it doesn't automatically create a service for the slave.
The slave gets created on Jenkins and I can start it manually with:
java -jar slave.jar -jnlpUrl http:///computer/buildnode2/slave-agent.jnlp -secret
Is it possible to create the service automatically?
I'm using the following configuration in the recipe:
jenkins_jnlp_slave 'buildnode2' do
  remote_fs 'C:/jenkins'
  user      'Administrator'
  group		'Users'
  labels    ['clientvs2013']
end

And here's what happens on the chef-client:
Recipe: jenkins-build::default
  * jenkins_jnlp_slave[buildnode2] action create
  Recipe: <Dynamically Defined Resource>
    * remote_file[C:\chef\cache/jenkins-cli.jar] action create
      - create new file C:\chef\cache/jenkins-cli.jar
      - update content in file C:\chef\cache/jenkins-cli.jar from none to ac3031

      (new content is binary, diff output suppressed)
      - change dacl
    * remote_file[C:\chef\cache/update-center.json] action create_if_missing
      - create new file C:\chef\cache/update-center.json
      - update content in file C:\chef\cache/update-center.json from none to 758
5fc
      - suppressed sensitive resource
      - change dacl
    * file[C:\chef\cache/extracted-update-center.json] action create
      - create new file C:\chef\cache/extracted-update-center.json
      - update content in file C:\chef\cache/extracted-update-center.json from n
one to 11690a
      - suppressed sensitive resource
      - change dacl
    * file[C:\chef\cache/jenkins-key] action create
      - create new file C:\chef\cache/jenkins-key
      - update content in file C:\chef\cache/jenkins-key from none to 72c58a
      - suppressed sensitive resource
    - Create jenkins_jnlp_slave[buildnode2]
    * directory[C:/jenkins] action create (up to date)
    * directory[C:/jenkins] action create
      - change owner
      - change group
  Recipe: runit::default
    * service[runit] action nothing (skipped due to action :nothing)
    * execute[start-runsvdir] action nothing (skipped due to action :nothing)
    * execute[runit-hup-init] action nothing (skipped due to action :nothing)
    - evaluate block and run any associated actions
  Recipe: <Dynamically Defined Resource>
    * remote_file[C:/jenkins/slave.jar] action create
      - create new file C:/jenkins/slave.jar
      - update content in file C:/jenkins/slave.jar from none to 28a1e8
      (new content is binary, diff output suppressed)
      - change dacl

  * service[jenkins-slave] action nothing (skipped due to action :nothing)

You are right - The docs are a bit out of date, in my opinion.  I have a PR to get some of the windows functionality fixed: https://github.com/opscode-cookbooks/jenkins/pull/323
With this change and using the corrected documentation.  I was able to get a windows slave provisioned.
Note - because you are running a windows service, whichever user you select in your recipe needs a logon as a service right.  If you push that through the domain ignore the rest of this comment.
Winsw - which chef uses on Windows -doesnt have this natively.  Added a PR for that here: https://github.com/kohsuke/winsw/pull/64

@TeroPihlaja you want to use the jenkins_windows_slave resource.

The reason I decided to use jenkins_jnlp_slave instead was that I didn't have to put the user password in the cookbook. Also the documentation seems to be bit out of date. The only mention of jenkins_windows_slave is in an example but it's not explained anywhere.


Add Carthage support, unit tests and a basic benchmark

Hey Frank,
it was a pleasure getting to talk to you in person at UIKonf, not to mention watching your splendid talk!
I took the liberty to restructure the project a bit to allow for the addition of:

[x] Carthage support (aka. a shared framework target)
[x] Basic unit tests
[x] Basic benchmarks

I hope the changes aren't too invasive for your taste.
- Vincent

Awesome work Vincent,
now I can start to tackle the cyclomatic complexety issue of private mutating func fixableToken(_ first: UnicodeScalar) throws -> Token.
@frankrausch as a next step it would be awesome to setup travis to run this unit tests everytime a new pull request is coming in.

Thanks Marius,

now I can start to tackle the cyclomatic complexety issue of private mutating func fixableToken(_ first: UnicodeScalar) throws -> Token.

Awesome!
I have some optimizations for TypographizerTokenResult that I'll address next, as well as some possible cleanups for how language configs are stored internally, paving the way for possible future expansions.

@regexident Thanks for adding Carthage support! Please update the Readme as well (especially the install instructions).

Thanks, Vincent.
I’ll look into Travis support ASAP.

@MattesGroeger: see https://github.com/frankrausch/Typographizer/pull/2#issuecomment-302646483
I'd offer to write up a PR for the updated README later today, unless @frankrausch wants to tackle it himself.

I’ll look into Travis support ASAP.

@frankrausch: Integrating Travis CI with Swift project 🙂

@MattesGroeger @regexident Feel free to update the README, I’ll try to review everything over the weekend. Thanks!

@regexident Looks like these changes broke the TypographizerDemo project. Xcode complains about a missing project.pbxproj file. If I restore the missing file, the project is still broken. Do you know what went wrong?

@regexident Oh, I see what’s going on: You moved the demo project contents into the new framework project.
I think I’d rather have the whole demo as a separate project that imports the framework.
Don’t worry, I’ll take care of this as soon as I can.

I think I’d rather have the whole demo as a separate project that imports the framework.
Don’t worry, I’ll take care of this as soon as I can.

Sure, please feel free to change things to whatever makes it work for you.
I renamed the xcodeproj and moved a couple of things, as it would have been a bit awkward to have the Carthage target be found in TypographizerDemo.xcodeproj, not Typographizer.xcodeproj.
Just keep in mind that SPM expects source files to be found within /Sources. There might be a way to customize this though. I'm not to experienced with SPM.


Replacing client-side search with algolia

Because we kept breaking people's browsers with our enormous search index.

This branch is visible as https://docs.llamaindex.ai/en/ljv-algolia-returns/ and appears to be working; ready to merge.

algolia is so fast, but not so good 😢

The Algolia index is 5 months out of data which is why it doesn't know about workflows; we need to deploy for it to catch up.


[gdal] Cross-compiling for arm64-osx-dynamic on macos results in library with wrong architecture

Host Environment

OS: macOS 11.6.5 (macos-11 on github actions)
Using the vcpkg provided by github actions

To Reproduce
vcpkg install gdal[core]:arm64-osx-dynamic

The post-build validation of the gdal install shows the message:
The following files were built for an incorrect architecture:
    /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/debug/lib/libgdal.30.dylib
Expected arm64, but was: x86_64

So the library was not actually built for arm64 architecture.
Is this actually expected to work? (from searching for others issues, it seems that in general cross-compiling like this is supported?) Or is there some configuration / setup that I might be missing? Or could it be a bug in the port for this specific (untested) case?
Failure logs
The last part of the build log shows:
Starting package 26/26: gdal:arm64-osx-dynamic
Building package gdal[core]:arm64-osx-dynamic...
-- Using community triplet arm64-osx-dynamic. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /usr/local/share/vcpkg/triplets/community/arm64-osx-dynamic.cmake
-- Downloading https://github.com/OSGeo/gdal/archive/v3.4.2.tar.gz -> OSGeo-gdal-v3.4.2.tar.gz...
-- Extracting source /usr/local/share/vcpkg/downloads/OSGeo-gdal-v3.4.2.tar.gz
-- Applying patch 0001-Fix-debug-crt-flags.patch
...
-- Using source at /usr/local/share/vcpkg/buildtrees/gdal/src/v3.4.2-58b4d4653a.clean
-- Getting CMake variables for arm64-osx-dynamic-dbg
-- Getting CMake variables for arm64-osx-dynamic-rel
-- Generating configure for arm64-osx-dynamic
-- Finished generating configure for arm64-osx-dynamic
-- Configuring arm64-osx-dynamic-dbg
-- Configuring arm64-osx-dynamic-rel
-- Building arm64-osx-dynamic-dbg
-- Installing arm64-osx-dynamic-dbg
-- Building arm64-osx-dynamic-rel
-- Installing arm64-osx-dynamic-rel
-- Fixing pkgconfig file: /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/lib/pkgconfig/gdal.pc
-- Fixing pkgconfig file: /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/debug/lib/pkgconfig/gdal.pc
-- Installing: /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/share/gdal/usage
-- Installing: /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/share/gdal/copyright
-- Performing post-build validation
The following files were built for an incorrect architecture:

    /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/debug/lib/libgdal.30.dylib
Expected arm64, but was: x86_64

    /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/debug/lib/libgdal.dylib
Expected arm64, but was: x86_64

    /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/lib/libgdal.30.dylib
Expected arm64, but was: x86_64

    /usr/local/share/vcpkg/packages/gdal_arm64-osx-dynamic/lib/libgdal.dylib
Expected arm64, but was: x86_64

Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile:
    /usr/local/share/vcpkg/ports/gdal/portfile.cmake
-- Performing post-build validation done
Stored binary cache: /Users/runner/.cache/vcpkg/archives/35/35259b3067328ae8b8f98c8177b6444777d406ae0b17b0bee18d362432946b4b.zip
Installing package gdal[core]:arm64-osx-dynamic...

Full log of the vcpkg install step: 5_Install GDAL.txt (github actions workflow log: https://github.com/geopandas/pyogrio/runs/5782969501?check_suite_focus=true, from https://github.com/geopandas/pyogrio/pull/64/)

Is this actually expected to work?

arm64-osx-dynamic is at least untested. And from the point where port gdal was one year ago, I would say it is expected. Cross-building should work from linux to mingw. But between the two mac CPUs...
The current port (3.4.x) uses autotools for mac.
There is WIP to immediately switch to CMake with GDAL 3.5: #22392
Try and report ... YMMV

Thanks for the quick reply! Will try to give the WIP CMake PR a go.

But between the two mac CPUs...

Cross-compiling GDAL itself should work I think, since AFAIK that's what conda-forge does to produce osx arm64 binaries (but how to achieve this with vcpkg is something else .. and probably requires more configuration than a basic vcpkg install)

@jorisvandenbossche  This PR has been merged, could you please pull the latest vcpkg and try again.

Locally on my Intel mac the following now succeeds:
$ mkdir temp
$ git clone https://github.com/Microsoft/vcpkg.git --depth=1
$ ./vcpkg/bootstrap-vcpkg.sh
$ ./vcpkg/vcpkg install hdf5:arm64-osx-dynamic
...
Elapsed time to handle gdal:arm64-osx-dynamic: 5.239 min

Total elapsed time: 12.02 min

The package GDAL provides CMake targets:

    find_package(GDAL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE GDAL::GDAL)

Can this issue be closed now?

A bit late, but I can confirm that after updating GDAL to the latest port version so it is now using the new CMake build from GDAL, everything seems to work fine to cross-compile for arm64


Add version number in minified version

At this moment it's not possible to see what version of conditioner I am using because there is no comments within the script which notices this.

Excellent point, should be in there, probably some issue with the build script. WIll fix asap.

Quick fix on master branch and bower. Next release will contain fixed gulp script.

Great!


About SFA implementation

Hello, Is it convenient to share the SFA code in this article? Suddenly found that the original author deleted this code

Hello, thanks for asking. Actually I didn't use any source code from SFA in the first place. I added the config file for it just for the evaluation code. You can find result images of SFA, UNet and UNet++ from https://github.com/DengPingFan/PraNet and move them into the results directory and just use my evaluation code to reproduce.

Hello, there is no result images of SFA, UNET and unet++ in this link. Do you have any? Can you share one with me through email? Thank you very much.
------------------ 原始邮件 ------------------
发件人:                                                                                "plemeri/UACANet"                                                                                @.>;
发送时间: 2021年7月19日(星期一) 上午8:22
@.>;
<EMAIL_ADDRESS>主题: Re: [plemeri/UACANet] About SFA implementation (#1)
Hello, thanks for asking. Actually I didn't use any source code from SFA in the first place. I added the config file for it just for the evaluation code. You can find result images of SFA, UNet and UNet++ from https://github.com/DengPingFan/PraNet and move them into the results directory and just use my evaluation code to reproduce.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hello, I found result images. Sorry to disturb you.
------------------ 原始邮件 ------------------
发件人:                                                                                "plemeri/UACANet"                                                                                @.>;
发送时间: 2021年7月19日(星期一) 上午8:22
@.>;
<EMAIL_ADDRESS>主题: Re: [plemeri/UACANet] About SFA implementation (#1)
Hello, thanks for asking. Actually I didn't use any source code from SFA in the first place. I added the config file for it just for the evaluation code. You can find result images of SFA, UNet and UNet++ from https://github.com/DengPingFan/PraNet and move them into the results directory and just use my evaluation code to reproduce.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

No need to apologize. Good luck!


Include all snapshot tests

Fixes #2067
Additional description
Updated the config file, so that it uses the project root as the root folder. This was the regex for test files will match all the snapshot tests, and not just the ones under tests folder.
Here's the result of test list before and then after the fix:
Before:
$ npx jest --config=tests/snapshots-config.json --listTests
.../design-system-react/tests/story-based-tests.snapshot-test.js

After:
$ npx jest --config=tests/snapshots-config.json --listTests
.../design-system-react/tests/story-based-tests.snapshot-test.js
.../design-system-react/components/date-picker/__tests__/datepicker.snapshot-test.jsx
.../design-system-react/components/icon/__tests__/icon.snapshot-test.jsx
.../design-system-react/components/radio-button-group/__tests__/radio-button-group.snapshot-test.jsx
.../design-system-react/components/radio-group/__tests__/radio-group.snapshot-test.jsx
.../design-system-react/components/toast/__tests__/toast.snapshot-test.jsx
.../design-system-react/components/vertical-navigation/__tests__/navigation.snapshot-test.jsx
.../design-system-react/components/slider/__tests__/slider.snapshot-test.jsx
.../design-system-react/components/split-view/__tests__/split-view.snapshot-test.jsx
.../design-system-react/components/progress-ring/__tests__/progress-ring.snapshot-test.jsx
.../design-system-react/components/pill/__tests__/pill.snapshot-test.jsx
.../design-system-react/components/breadcrumb/__tests__/bread-crumb.snapshot-test.jsx
.../design-system-react/components/panel/__tests__/filtering.snapshot-test.jsx

CONTRIBUTOR checklist (do not remove)
Please complete for every pull request

[X] First-time contributors should sign the Contributor License Agreement.  If you haven't before, wait a few minutes and a bot will comment on this pull request with instructions.
[X] npm run lint:fix has been run and linting passes.
[X] Mocha, Jest (Storyshots), and components/component-docs.json CI tests pass (npm test).
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[X] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

REVIEWER checklist (do not remove)

[ ] TravisCI tests pass. This includes linting, Mocha, Jest, Storyshots, and components/component-docs.json tests.
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[ ] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

Required only if there are markup / UX changes

[ ] Add year-first date and commit SHA to last-slds-markup-review in package.json and push.
[ ] Request a review of the deployed Heroku app by the Salesforce UX Accessibility Team.
[ ] Add year-first review date, and commit SHA, last-accessibility-review, to package.json and push.
[ ] While the contributor's branch is checked out, run npm run local-update within locally cloned site repo to confirm the site will function correctly at the next release.

Some of the items, like test for new props, etc, are not applicable to this PR. Should I just check them off? Thanks

@minevskiy @interactivellama please take a look. I will resolve the merge conflict shortly

Thank you for finding this bug! Contributors have been slowly adding snapshots via StoryShots Storybook add-on over the past year. This removes the need for most of the one off tests you have re-added to the test suite.
Please delete the test files for the following components and squash commits (so that the extra PNGs aren't in git history), since these are now in Storybook-based DOM snapshots or in the open PR https://github.com/salesforce/design-system-react/pull/1987

Icon
breadcrumb
Dropdown
Pill
ProgressRing
Search
Slider
SplitView

That leaves the following in this pull requests.
.../design-system-react/components/date-picker/__tests__/datepicker.snapshot-test.jsx
.../design-system-react/components/panel/__tests__/filtering.snapshot-test.jsx

@hajiz Unless you've already started working on modifying this branch as mentioned above. I'm going to make this a part of #2096.

Closing in favor of #2097

@hajiz

Some of the items, like test for new props, etc, are not applicable to this PR. Should I just check them off? Thanks

No, it's primarily a checklist so new contributors don't miss checking things or have to look through the CI tests.

Thanks Stephan for taking care of this, and sorry for my late responds. I'm glad you took over because I didn't have the knowledge to do exactly as you mentioned. I'm still learning...


take app instances into account when detecting volume conflicts

xref https://github.com/mesosphere/marathon/pull/3737/files#r59401585
xref #3723

xref #3563

If you scale up the suspended app again, tasks will fail. Or do we get a proper error message then from the scaling API endpoint?

What is the use case of this? You have multiple app definitions that access the same volume and sometimes you suspend A and start B, sometimes you suspend B and start A?
I would not allow this for simplicity. You can still destroy A and create B or the other way around.
There are also race-conditions involving this that are more likely to occur if you encourage this kind of pattern. Removing an app does not remove all tasks instantaneously, therefore temporarily there could exist tasks accessing the same volume.

@kolloch I don't think I had a specific use case in mind, it just seemed intuitive that I'd be able to define multiple apps that reference the same vol as long as the number of task instances that reference the same volume is limited to 1.
Yes, I can see how this could be a bit racy. In a race we'd depend on the underlying provider to generate an error on task-launch if multiple running tasks referenced the same volume instance. Since tasks are respawned indefinitely in Marathon the system should eventually settle into a stable state since the "desired end state" only allows 1 task instance per volume.
@sttts no, the error messages sent back from the isolator are not very informative; as we say in the docs users are basically expected to grep the agent/system logs to troubleshoot.

@jdef I meant the error message from the Marathon REST API when scaling a 0-instance app to 1 instance.

I would also recommend to make sure to check the App<-> Volume relationship, even if there are currently no running tasks.
Close this for now, if we don't see any specific use case for this.


Apply latest token ds-auro-icon-size and update size to fix clipping issue on x icon #345

Alaska Airlines Pull Request
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Fix clipping issue on the 'x' icon by updating the icon size and apply the latest token 'ds-auro-icon-size' for consistent icon sizing.
Bug Fixes:

Fix clipping issue on the 'x' icon by updating the icon size.

Enhancements:

Apply the latest token 'ds-auro-icon-size' to ensure consistent icon sizing.

@sourcery-ai review

Closed and reopened as new PR #358 Has issues closing the last one.


Add Algolia search, OpenAPI plugin and minor improvements

Add Algolia search option https://docusaurus.io/docs/search
Add swagger API for the API section using https://github.com/PaloAltoNetworks/docusaurus-openapi-docs
In the quick explore > setup node cli section

We should mention what all contracts they should verify for doing transactions, only adding paymaster url will not work.
Or maybe we can have a section to do trx and then tell why they get that error.

Add common error page what Talha had created previously https://www.notion.so/biconomy/Troubleshooting-Guide-778da8ec6c104ab08c5ff9313cdc0091

Hey @AmanRaj1608 If no-one is assigned to this issue then I would love to work on it.

Issues addressed swagger will be addressed with api updates


feat: Add email field to GroupMember

This is required for https://github.com/cloudquery/cloudquery/issues/10117.
Although the email attribute is only visible to group Owners for any enterprise user (see limitations), it'd be nice to have this included.
Might be safely ditched in favor of #1703 (I presume #1703 is a better one)

@svanharmelen could you please take a look?

@svanharmelen I've reverted vendor change + added the typo fix in here

I'd still prefer to go through with #1703, though...

@svanharmelen any ETA on the release that will include this fix?

Maybe first add a PR for the vendor stuff? Or are you good without that?

Yep, in a minute!

@svanharmelen #1704 is there.

Cool, noticed on minor issue with the additional. Will merge and release when that is fixed/updated 👍🏻

updated

Released v0.83.0


Handle Database Migration When Schema Changes

[ ] db queries need to take the schema version into account
[ ] figure out how to do clean migrations... with rollback? :|

#228 must be done before thinking about how to handle db migrations.

Relates #1828

@joecheuk can this be closed?

@mirons-google Yes, this can be closed as we have ways to handle schema updates now.


Document customizing MSI install location

With 3.1 (possibly 3.0) you can use a command line dotnet-sdk-3.1.301-win-x64.exe DOTNETHOME_X64="F:\dotnet\x64" DOTNETHOME_X86="F:\dotnet\x86" to install to a different location.
Related to dotnet/core#4819

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

ID: 1eeab451-820f-de42-983e-4d0d5764f6ab
Version Independent ID: d11d0d14-8a03-50e4-5c00-9a4417ad4d0a
Content: Install .NET Core on Windows
Content Source: docs/core/install/windows.md
Product: dotnet-core
GitHub Login: @adegeo
Microsoft Alias: adegeo

I don't think this is working any longer, is that correct? I just tried and it installed to C:\Program Files\dotnet


metadata XsdValidator doesn't work unless litesaml/schemas is installed under litesaml/lightsaml project

Currently the XsdValidator has a hard coded path to lightsaml/schemas
https://github.com/litesaml/lightsaml/blob/b6aa6f41c3a051a52e39ddc3a7b753a8601bee69/src/Validator/Model/Xsd/XsdValidator.php#L46
        $schemaFile = __DIR__ . '/../../../../vendor/litesaml/schemas/resources/' . $schema;

The schemas project is only installed as a dev-dependency and, unless the project gets vendored in lightsaml, it's location/existence isn't guarantee.
This was introduced in #2

to this issue.


Implement listing raw data - for debugging

Since the data is stored in binary *.gob format, there is a need for an app to look into the data, primarily for debugging. For instance:
parfaitlist -prices AAPL.gob | less # human-readable text table format
parfaitlist -tickers tickers.gob -csv > tickers.csv # e.g. for import into Google Sheets

Mini-design doc:

Add db.TickerRowHeader() and similar functions;
Make db.TickerRow and others a table.Row
Read data through db.Reader.


Zellij plugin out of scope

Hi, I'm getting this weird rendering if I create more tabs. By the way, I love this Gruvbox plugin! Thank you for this config file.

Nevermind, I do think this is default behaviour in zellij

Hi @allaboutevemirolive Sorry, but I totally missed your message.
To be honest I didn't understand what your problem was but I guess it's ok now?
Glad you liked my themes. I have updated them to make use of color alias and made som small changes to. You can find them here https://github.com/merikan/.dotfiles/tree/main/config/zellij/themes/zjstatus


Missed a few str/bytes conversions

Exactly.
stashcp'ed file mismatch (actual b'0.12999031502581582\n' != expected '0.12999031502581582\n')


.css.ts files are not recognised anymore

Since version 2.38.5 (and present in the current latest stable), Knip doesn't seem to follow .css.ts files, and reports such files as being unused.

:rocket: This issue has been resolved in v2.41.4. See Release 2.41.4 for release notes.

Thanks for the report, @Dremora! Not sure how this got through, but added coverage and fixtures to prevent regressions.

:rocket: This issue has been resolved in v3.0.0-canary.4. See Release 3.0.0-canary.4 for release notes.


Freerdp_context_new is not working properly

Hello,
I am currently working with the android libary of your project. But i have a problem with the freerdp_context_new function. Everytime i am calling this fuction it returns false and the previously allocated memory stays blank. Right now i am working inside unity.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RDP_ALT;
using System.Runtime.InteropServices;
using System;

public unsafe class Alternative : MonoBehaviour
{
    [DllImport("libfreerdp2.so", CallingConvention = CallingConvention.Cdecl)]
    public static extern bool freerdp_context_new(IntPtr instance);

    [DllImport("libfreerdp2.so", CallingConvention = CallingConvention.Cdecl)]
    public static extern IntPtr freerdp_new();

    void Start()
    {
        IntPtr Context = freerdp_new();
        Debug.Log(freerdp_context_new(Context));
    }

}

I hope someone can Help my with this Error
Have a nice Day
Leo

@aequivalent2 you´re holding it wrong :grin:
joking aside, check the client/Sample folder in source code and use that as a starting point. (you most likely only need to rename the main method and fill in the stubs not implemented)
you´re using the wrong API functions, these are 2 levels below the ones you are interested in.
To give you an idea:

libfreerdp-client2.so is the one that holds the abstractions for a client implementation
libfreerdp2.so holds the abstractions for basic protocol related stuff and common code for client and server implementations
libwinpr2.so is a wrapper library for platform independent functions we use all over the place

also keep in mind that android library loader has a bug (or feature?) that it only calls the JNI_OnLoad function of the library you explicitly load in your code, so load all FreeRDP related libraries manually in reverse dependency order
also, I´d recommend directly using our newer releases as FreeRDP 2 will get less attention now that we´ve released version 3

@akallabeth Sorry for this interruption again I am not sure if i am wrong but we created a C# script based on the sample and it is not working either we are faceing the same problem. We load the libraries as well in another script with DLL import. Thanks for the  Feedback

@aequivalent2 well, the sample client works and also the SDL client uses the same pattern. (C++ client) therefore not sure what your issue is.
you will most likely have to create a custom client context struct extending the client common struct that holds at least a reference to the C# class instance and create the rest of the functions just like in the sample.
also the android client uses a similar pattern (with java JNI) so maybe get some ideas there?

@akallabeth after a bit more Debugging i found out that freerdp_client_context_new() is failing because the  creation of a new context fails. Specifically the fuction GetKnownPath which is called in freerdp_settings_new() returns null which then triggers a failure. I am building into a quest 3 within unity. Thanks for your further replies

@aequivalent2 ok, so you are using an empty environment not handled?
GetKnownPath is a wrapper around:

XDG_* variables for various file locations (unix)
SHGetFolderPath (windows)
ios_get_temp, ... (IOS)

so, you can either set up ENV variables conforming to the XDG_* variables to specify where to store various files or extend the file ./winpr/libwinpr/path/shell.c with your platform specific code.
as you´re the first one porting to this environment you may find one or two more glitches on the way.

@akallabeth Hello again, we brought it to live, but we are failing, when we are trying to set the settings for the connection. We could not find the explicit way inside the sample. Could you help us?

@aequivalent2 check the commandline parser?

@akallabeth Hello, and sorry for my late response. We could not find some perfect implementation for our settings. We are students from a german school and are participating in the Jugend-Forscht contest. Is it maybe possible for you to help us via Teams or something else?
Kind regards
Leo

@aequivalent2 join our matrix chat, you can pm me there.


SYK simplified example

Codecov Report

Merging #85 (868eeb7) into master (d4b9591) will increase coverage by 0.19%.
The diff coverage is 63.44%.

@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
+ Coverage   43.06%   43.26%   +0.19%
==========================================
  Files          15       15
  Lines         678      735      +57
==========================================
+ Hits          292      318      +26
- Misses        386      417      +31

Impacted Files
Coverage Δ

src/meshgrids/MeshGrids.jl
50.00% <0.00%> (-50.00%)
:arrow_down:

src/meshgrids/imfreq.jl
84.21% <0.00%> (-15.79%)
:arrow_down:

src/green/transform.jl
65.04% <63.01%> (-6.05%)
:arrow_down:

src/mesharrays/dense.jl
72.00% <78.57%> (-0.98%)
:arrow_down:

src/meshgrids/dlrfreq.jl
100.00% <100.00%> (ø)

src/triqs/Triqs.jl
95.45% <100.00%> (ø)

src/meshgrids/imtime.jl
75.00% <0.00%> (-16.67%)
:arrow_down:

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


Duplicate Key Override Behavior

Business logic requires that a singular audit be granular in a way that only 1 condition is checked, however multiple audits may target the same object. In this situation, is it possible to override the key for each audit such that the "duplicate key detected" error is avoided?
Very basic example to demonstrate the problem:
check_1.yml
service:
  sshd:
    enabled: true

check_2.yml
service:
  sshd:
    running: true

Running goss ... validate ...:
[WARN] Duplicate key detected: 'service: sshd'. The value from a later-loaded goss file has overwritten the previous value.

Goss uses the yaml file format.
The issue you are hitting with duplicate keys warning is explained in the manual, here: https://github.com/goss-org/goss/blob/master/docs/manual.md#important-note-about-goss-file-format
I'm not sure I understand your opening comment:

Business logic requires that a singular audit be granular in a way that only 1 condition is checked, however multiple audits may target the same object.

If you re-wrote your examples above as following goss.yaml:
service:
  sshd:
    enabled: true
     running: true

You would be checking that the SSHd service:

Is enabled
Is running

To me this means the audits are both granular and only a single condition is checked per audit.
If you run goss validate --format documenation you will see there are two checks, not one that's testing multiple things.
Similar to the example in the manual.
Service: sshd: enabled: matches expectation: [true]
Service: sshd: running: matches expectation: [true]

Each line is a separate check, that can pass or fail.
The definition of the checks is defined in a tree structure.
Duplicate keys in the tree will clobber each other, which is how yaml works, and goss is actually detecting this and issuing a warning.

@david-rse Is this what you're looking to do?
service:
    audit_test_1:
        name: sshd
        enabled: true
    audit_test_2:
        name: sshd
        running: true

That will work just fine, so long as the "required" assertions are present in every test.. so in some cases, there may be some duplicates assertions.

@aelsabbahy It is. Thank you so much!