Adopt Code of Conduct

Closes #2671 :heart:
We've had extensive discussion in #2671, seemingly with a convergence on adopting Contributor Covenant. There's a minor todo regarding the contact endpoints/which team(s) will be involved, but my hope is we can resolve that quickly, or adopt this-as is with an existing team (perhaps Core or Operations if we want a smaller group) taking the role until we can finalize the team/members that will own governance/enforcement.
Also, prettier made a few minor changes (formatting, ordered list items, etc.) so added that is a separate commit so folks could see the tiny differences we'll have.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @calebcartwright!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS against 27b295799c56f569149b2e010079592a0b2e0d7c

I've set up<EMAIL_ADDRESS>which forwards to me and Chris, along with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>which go to one of us, and can be used for conduct complaints about the other. Probably we should add those to the text.
I'd also prefer if we obscure the addresses in some way to reduce the chance of getting spam (e.g. "conduct at shields.io").

I'd also prefer if we obscure the addresses in some way to reduce the chance of getting spam (e.g. "conduct at shields.io").

Agreed, have a thought on how to do so, will update later today

:laughing: let me know if you all think this is too much, but i thought we could add our own badge flavor here to obscure the contact emails

I put off doing this so long I forgot that it's Caleb and not Chris who agreed to handle this 🤣
Chris has pointed this out. So I've updated conduct@ to deliver to me and Caleb, and added caleb@ to deliver to Caleb.

😆 let me know if you all think this is too much, but i thought we could add our own badge flavor here to obscure the contact emails

This works for me!

😆 let me know if you all think this is too much, but i thought we could add our own badge flavor here to obscure the contact emails

I'm guessing you could even put @shields.io with the obfuscation on the right handside: I wouldn't expect any bot to be clever enough to piece the SVG back together!

I'm guessing you could even put @shields.io with the obfuscation on the right hand-side: I wouldn't expect any bot to be clever enough to piece the SVG back together!

Good point, updated accordingly!


Establish dev ArcGIS account and access for STB

The clients have the ability to publish ArcGIS datasets to the RAD development ArcGIS Server.

Hey team! Please add your planning poker estimate with ZenHub @JahidAhmed @RyanCoulsonCA @yileifeng


[SPARK-14935][CORE] DistributedSuite "local-cluster format" shouldn't actually launch clusters

https://issues.apache.org/jira/browse/SPARK-14935
What changes were proposed in this pull request?
In DistributedSuite, the "local-cluster format" test actually launches a bunch of clusters, but this doesn't seem necessary for what should just be a unit test of a regex. We should clean up the code so that this is testable without actually launching a cluster, which should buy us about 20 seconds per build.
How was this patch tested?
Passed unit test on my local machine

Test build #57180 has started for PR 12744 at commit 075a749.

Test build #57190 has started for PR 12744 at commit d2ec609.

Test build #57180 has finished for PR 12744 at commit 075a749.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57180/
Test PASSed.

Merged build finished. Test PASSed.

Test build #57190 has finished for PR 12744 at commit d2ec609.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57190/
Test PASSed.

Test build #57202 has started for PR 12744 at commit 0f14ad2.

Test build #57202 has finished for PR 12744 at commit 0f14ad2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57202/
Test PASSed.

Thanks a lot for the review


OverflowError: Python int too large to convert to C long

Same error, any suggestion?

Please print relevant variables. Does inf or nan exists?

Please print the variables. Is any number too large?


update ignore to include IDE and OS specific file exclusions

update ignore to include IDE and OS specific file exclusions

Thanks for contributing!


[icons] Correct location of icon download folder

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

Thanks for correcting it!


Twitter reply generates mf2 with a wrong URL as "u-in-reply-to"

I don't know how to phrase this exactly.
Here's the problem: https://brid-gy.appspot.com/comment/twitter/fiatjaf/571490641902845952/571669729833840640 (look at the source)
Also here (found this link while searching for similar issues in this repo): https://brid-gy.appspot.com/comment/twitter/kartik_prabhu/459519287992930304/480518663985197056
Here's an extract of the HTML generated by bridgy:

  @fiatjaf pam!

So, the HTML has the correct URL at the u-mention tag, but a bizarrely shortened URL (that doesn't work, let's make it clear) at the u-in-reply-to tag. This, I imagine, causes bridgy to send two webmention from the same tweet, but one of them with the wrong URL as target.
(my server, however, accepts both webmentions, because it finds the u-mention URL to be correct, and this causes me a small trouble.)

Thanks for the report @fiatjaf, and sorry for the trouble! I'm on the case.
@snarfed a-u searches the post content for a permashortcitation, and this text is a match (fiatjaf.alhur.es/trens/socrates…).

nice sleuthing, guys! @kylewm makes sense. sounds like an easy fix would be to not allow PSCs that end in ellipses, either the dots or the unicode char.

I think that would work. Alternatively I was wondering what you think about replacing t.co links with expanded_url instead of display_url, i.e. here https://github.com/snarfed/activitystreams-unofficial/blob/master/twitter.py#L895
So the content of the note would actually be
S\u00f3crates, o homof\u00f3bico\nTrechos de epis\u00f3dios da Memorabilia, ou os Ditos e Feitos Memor\u00e1veis de S\u00f3crates, contados\u2026 (http://fiatjaf.alhur.es/trens/socrates-homofobico/)
In that case no permalink would match the permashortcitation regex e.g. (bit.ly abcd) would match but (http://bit.ly/abcd) wouldn't
I don't have a preference one way or the other, and checking for ellipsis is a much smaller change.

interesting! we actually do include expanded_url further down, in tags instead of content, so that we can render it nicely in HTML (or whatever) with the pretty display URL linked to the full expanded URL. that seems to be the standard pattern in AS, FB, and Twitter at least.
I think I'd like to keep that behavior, so I vote we detect trailing ellipses instead.
the next question is, do we need to do that in webutil.util.extract_links, or the PSL code, or both? no clue.

yay thanks @kylewm!


[x/gamm][stableswap]: Add tests for single-asset joins (calcSingleAssetJoinShares)

Background
Our current implementation of calcSingleAssetJoinShares is untested. We should make tests that cover similar cases to what we have in balancer.
Suggested Design

Create single-asset pool join tests that mirror what we have in balancer but with our stableswap CFMM

Acceptance Criteria

All tests pass and removing updatePoolForJoin through mutation testing doesn't break calcSingleAssetJoinShares

Is this issue available to work on?

@RusAkh Yes, please
You can get inspiration from the existing test cases in balancer there. However, they might not be exhaustive so if you think of any extra, please add them

I actually covered a significant portion of this issue in #2905, so it might not be a great one to pick up if you don't have context (properly testing this functionality is actually a relatively complicated process)

Update: single-asset joins are now tested (#2905) and can be further tested as part of #2900


Gem of royal family bug

hi, sorry for my bad english, I use a translator, when you add the royal family gem in the helmet, it does not increase the 10%, it happens is that it is multiplied. i don't know if it's a bug or if it's designed that way.
MC 1.20.1
Forge 47.1.3
Apotheosis  7.0.4
ApothicAttributes 1.0.4

The royal family gem is a +20% MULTIPLY_TOTAL to all attributes, which is a value * 1.2 operation.


Dealing with errors

It would be really good to have an example of how you'd deal with a processing error that results in not returning a Table object as output. I have a use case where some of the input from a blob cannot be processes. If I return an null from the Function I get an exception which causes the Function to retry processing the input again, until the max number of retries happens. An example of how to "skip" this input would be great.

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

ID: 6d35c032-eae7-ac4b-2ad3-32fd0cd2318f
Version Independent ID: 92b0a972-eabe-8048-36b1-a1cefb3acf43
Content: Azure Table storage bindings for Azure Functions
Content Source: articles/azure-functions/functions-bindings-storage-table.md
Service: functions
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@HowardvanRooijen Can you share your code, and function.json if this is a script function?

I'd use an output binding with IAsyncCollector instead of as the return type.  Then if you don't have any data just don't add to the collection.

I'm adding this recommendation to the C# and C# script language reference docs.  #please-close

Will that come with a worked example?

The docs have an ICollector example that was designed to show writing multiple values in one function execution. This scenario differs only in that instead of adding multiple items you would not add even one item to the collector if you didn't have one to add.  Do you think we need a separate example to show that scenario? The current example is here: https://docs.microsoft.com/en-us/azure/azure-functions/functions-dotnet-class-library#writing-multiple-output-values

I guess it's just really the concept...and then the link as these are essentially recipes...

@HowardvanRooijen We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[RFC] JSON package / library config info output

Processing lakefile.lean is a nontrivial cost (~200ms) and a minimum requirement to do anything with lake packages. I think it would be good for lake to generate a parsed version of (some of) the information in a package configuration and stick it somewhere in the build directory, along with a trace so that it is easy to determine if the information is out of date. Then many activities with package management can be handled by reading the JSON file instead of the lakefile, using the trace to determine whether to call lake to refresh the contents of the file. (This could also be part of lake-manifest.json.)

(This is not just about making lake itself faster, but also for better interop for programs that aren't lake to locate files in lean projects. In my case this came up when looking at making lake exe cache more robust and not mathlib-specific.)

I agree with this and have been sketching out some ideas on how to do this in my own notes. My only point of contention with this proposal is that I do think builds/scripts should still use the complete lakefile data (ideally, through, preprocessed as a olean). On the other hand, I am pretty confident that package management and lake env and other smaller tools could avoid the lakefile entirely in the common case and just use data from lake-manifest.json.

Using an olean is currently problematic unless you are either lake or link to lake, which is difficult to do reliably right now since lake .a files are not distributed with the nightly that is supposed to process the lakefile.

Yeah, but I would expect builds and scripts to be done using lake so that should not be a problem.

I don't think lake exe cache can call lake internals, for example, because it is compiled separately. It would have to be run in the interpreter to be able to use lake stuff.

@digama0 why would lake exe cache be building things?

Right now it is reimplementing a lot of lake's build invalidation logic with the trace files and such. A tool in this class would be basically covered if the manifest included information about the source search path and IR search path for the files in the package.

Oh, I certainly assent to putting information like that in the manifest. That was not what I thought you were talking about. I thought you were hoping to determine what things need to be built and how to build them solely through the manifest, which is not really possible considering Lake's arbitrarily customizable builds (which have precedent in e.g. Haskell's Shake).

"How to build them" clearly requires oleans, since lakefiles can contain build code. Still, it would be nice if we could improve the "linking to lake" situation for that. (Another thing I want to float by you is splitting lake into a separate package with just the requirements to interpret a lakefile, including custom build scripts etc., but not the CLI and things like that. That is, the "lakefile file format", which would allow for alternative lake implementations.)

Still, it would be nice if we could improve the "linking to lake" situation for that.

I fully agree with this. I also do not think the core team is against, I just think no has been motivated enough / had enough cycles to do so.

Another thing I want to float by you is splitting lake into a separate package with just the requirements to interpret a lakefile, including custom build scripts etc., but not the CLI and things like that.

I do not think the complexities that come with making that a separate package are worth the cost. However, as you said, I have tried to organize Lake such that (if the oleans were present) a user would  be able to just import this stuff without getting everything else as well.


to$str should throw exception instead of exiting

Is this perhaps dependent upon general fixes / improvements to exception handling?

Hehe, it does throw an exception! https://github.com/actonlang/acton/blob/main/builtin/str.c#L406
It's just that we do not print exceptions in any special way, it's not like we print a traceback, so I was fooled. Closing.


solution to find available meeting time slots

Can you please link the prompt in the description? https://github.com/Anthony-Fiddes/portfolio/blob/master/walkthroughs/week-5-tdd/project/calendar-walkthrough.md Thanks :)


Refactored "login" method, added tests.

Refactored «login» method: Updated docstring. Added @require_POST decorator. Switched to .get() method for data extraction and profile retrieval. Removed unnecessary conditional checks and debug print statements.
Added tests.

Thank you for your contribution!


slang-wasm: Don't use designated initializers

Thanks, I've already fixed this in https://github.com/shader-slang/slang/pull/5271.

Closing this one since #5271 also fixed this.


Use database as MQ, change separator to +

Changes Unknown when pulling 0be1e7037f59a8cec12ecb9e1eb340bc7957c43a on nobodyiam:db-mq-merge into ** on ctripcorp:master**.


chore(main): release uniform 0.8.5

:robot: I have created a release beep boop
0.8.5 (2024-10-06)
Bug Fixes

uniform: fix select snapshots (0523c33)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

uniform-v0.8.5
:sunflower:


[4pt]  - Create feature: add new reservation - Student C

Implement the "add new reservation" form on the Reservations pop up according to the wireframe:

When the user clicks on the "Reserve" button, the data is recorded in the Involvement API and the screen is updated

Not applicable to us because we have only two teammates.


Update TOC.md

@czeumault,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/TOC.md
100
0
link

More info about Acrolinx

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$
Report false positive results or other issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.md
:white_check_mark:Succeeded

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.

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/TOC.md
100
0
link

More info about Acrolinx

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$
Report false positive results or other issues

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/TOC.md
100
0
link

More info about Acrolinx

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$
Report false positive results or other issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.md
:white_check_mark:Succeeded

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.md
:white_check_mark:Succeeded

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.

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/TOC.md
100
0
link

More info about Acrolinx

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$
Report false positive results or other issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.md
:white_check_mark:Succeeded

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.

@czeumault,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/TOC.md
100
0
link

More info about Acrolinx

Install Acrolinx locally for VSCode

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$

False positives or issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.md
:white_check_mark:Succeeded

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.

@rloutlaw - Some of the wording of the ToC seems to have been improved, some changes may not be necessary. Will let you have final say.

ToC has been independently updated to include many of these changes. If further changes are required then a new PR or VSTS ticket can be created. Closing.


Support templates workflow in odo

/kind feature

Which functionality do you think we should add?
Odo should provide a template-based workflow for users to get started with application development on OpenShift.
Why is this needed?
Odo templates are sample repositories created using the Odo Developer CLI conventions so that you can use Odo. The odo templates extend beyond simple "Hello World!" to provision OpenShift resources, configure environment variables, define outer loop workflows and more. These templates serve as the foundation from which users can build and customize their own solutions. Each template includes:

Application code
Defined devfile.yaml needed to provision the OpenShift/K8s resources
devfile.yaml file that describes the application configuration

Users have the flexibility to extend and customize these templates according to their specific requirements.
Sample Templates:

Front End app with a MongoDB database connected
Python app with MySQL db running on OpenShift
React App with nodejs backend and database connected

Team discussion (Jun 20, 2023)

is this targeting only OpenShift users? If yes, we'll need to look into how to provision services via OpenShift Catalog for example..
There seems to be no consensus yet as to how Devfile should be used with more complex applications. First starting point to clarify this: what are the recommended/best practices for structuring projects with Devfiles (projects, dependentProjects as proposed in https://github.com/devfile/api/issues/1082, ...)? Especially when the application is made up of several microservices. => Issue to raise in the Devfile community calls.


[FEATURE] Add sign in/sign up with google as a feature on dashboard

📝 Feature Description
Enable users to sign up or sign in using their Google account. This will provide a quick and convenient authentication option alongside traditional sign-up methods, improving the user experience by allowing single sign-on (SSO) via Google.
🔨 Possible Implementation
Integrate Google OAuth 2.0 into the sign-up/sign-in flow.
Set up the Google Developer Console to create the required OAuth credentials (Client ID and Secret).
Add "Sign in with Google" button on the authentication pages.
Implement backend logic to handle the OAuth flow, including token exchange and user data retrieval.
Ensure security measures such as token validation and data encryption.
Use personal credentials to set this up and create a PR with the integration.
🔖 Note:
Ensure that all changes comply with security best practices and Google OAuth policies. PR should include detailed instructions for other developers to replace the credentials with the project's official ones before going live.

closing


Question: Examples vulkan mislead

Hi,
I saw that example framework is using hash and creates shaders, pipeline layout, pipelines etc on demand during frame rendering/dispatch, isn't this 'bad' practice and it's better to create them on loading?
Just curious if I'm not seeing something about correct vulkan usage.
Feel free to close issue if it doesn't reflect project ideas.
Thanks

Hi,
Thanks for the question.  However, I'm not certain I fully know what you're talking about.  As far as I know, the samples framework does create shaders, pipelines, and pipeline layout only once during initialization or resize.
While the framework could use some tweaking to show more best practices in other areas, and could get some improvements.  On the whole it's pretty good.
Thanks

What I'm talking is: https://github.com/KhronosGroup/Vulkan-Samples/blob/master/framework/rendering/pipeline_state.cpp, the commans buffer makes heavy use and set the shaders, states (rasterization/blend/depth) and before drawing/dispatch it flush and creates pipeline on demand.
The programming model seams similar to d3d11 for example.

I'm not the right person to explain the framework.  Especially as I'm not certain I'm seeing exactly what you're talking about.  Thus I'll let others that know the framework better than I a chance to review this question.

Closing this due to inactivity.


Needs license to be specified

This looks useful, however to be used in a commercial setting the license needs to be understood. Most companies prohibit anything with GNU these days, and I recommend MIT, BSD or Apache.

Added MIT license https://github.com/martinkersner/cl-ml/blob/master/LICENSE


Code generation for aggregates sometimes fails

This happens 99% of the time in my codebase on Marten 7.0 beta 5 when I use Wolverine on multiple types of aggregates in my integration test since these cause parallel code generation in Marten for aggregates.
You can reproduce it like this in Marten itself:
options.Projections.LiveStreamAggregation<Something>();
var store = new DocumentStore(options);

Parallel.For(1, 100, _ =>
{
    Parallel.ForEach(store.Events.As<ICodeFileCollection>().BuildFiles().OfType<IProjectionSource>(), projection =>
    {
        projection.Build(store);
    });
});

System.ArgumentNullException
Value cannot be null. (Parameter 'type')
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at Marten.Events.Aggregation.GeneratedAggregateProjectionBase`1.BuildRuntime(DocumentStore store) in C:\projecten\marten-fork\src\Marten\Events\Aggregation\GeneratedAggregateProjectionBase.CodeGen.cs:line 177
   at Marten.Events.Aggregation.GeneratedAggregateProjectionBase`1.buildProjectionObject(DocumentStore store) in C:\projecten\marten-fork\src\Marten\Events\Aggregation\GeneratedAggregateProjectionBase.CodeGen.cs:line 139
   at Marten.Events.Projections.GeneratedProjection.Marten.Events.Projections.IProjectionSource.Build(DocumentStore store) in C:\projecten\marten-fork\src\Marten\Events\Projections\GeneratedProjection.cs:line 65
   at EventSourcingTests.Projections.CodeGeneration.ProjectionCodeGenerationTests.<>c__DisplayClass1_0.<LiveStreamAggregation_GeneratesCodeFiles>b__1(IProjectionSource projection) in C:\projecten\marten-fork\src\EventSourcingTests\Projections\CodeGeneration\ProjectionCodeGenerationTests.cs:line 61
   at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()

Closed by https://github.com/JasperFx/marten/pull/2944


Support displaying 10k+ secrets

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Import a cluster with 10k+ secrets
Navigate to the secret list

Result:
It's missing a lot of secrets
Other details that may be helpful:
Related to this issue: https://github.com/rancher/rancher/issues/26166
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

Additional info:
The case where this was found included 10k+ secrets but additionally these secrets and there data totaled to roughly 1.2 gigs worth of data.


Add prompt_title option to user_opts

This allows users to override the prompt title, for example hiding it completely by setting it to false

Great idea. Do you mind upadting configuration in README.md to reflect this feature too?


Fix linting, documentation and license information for pkg/spire/test

pkg/spire/test was copied into pipelines to test the spire workload API. This is a verbatim copy of the upstream https://github.com/spiffe/go-spiffe/tree/main/v2/internal/test. Currently there are linting error that need to be fixed and once fixed,  removed from .golangci.yaml ignore list. Also need to add in the license header to each test file. Documentation needs to be added on where this test code is found and how it can be updated in the future.

/remove-lifecycle rotten

/lifecycle frozen


Support dynamic shape when lowering operation to vector

e.g.:
    %19 = affine.apply affine_map<(d0) -> ((d0 floordiv 64) * 64)>(%arg3)
    %20 = affine.min affine_map<(d0) -> (((d0 + 31) floordiv 64) * 64 - (d0 floordiv 64) * 64 + 64, (d0 floordiv 64) * -64 + 224)>(%arg3)
    %extracted_slice = tensor.extract_slice %arg0[%19, 0] [%20, 13] [1, 1] : tensor<224x13xbf16> to tensor<?x13xbf16>
    %extracted_slice_2 = tensor.extract_slice %1[%15, 0, 0, 0] [%17, 1, 64, 14] [1, 1, 1, 1] : tensor<4x1x64x14xbf16> to tensor<?x1x64x14xbf16>
    %pack = tensor.pack %extracted_slice padding_value(%cst : bf16) outer_dims_perm = [0, 1] inner_dims_pos = [0, 1] inner_tiles = [64, 14] into %extracted_slice_2 : tensor<?x13xbf16> -> tensor<?x1x64x14xbf16>
    %21 = tensor.empty(%18) : tensor<?x14xbf16>
    %unpack = tensor.unpack %pack outer_dims_perm = [0, 1] inner_dims_pos = [0, 1] inner_tiles = [64, 14] into %21 : tensor<?x1x64x14xbf16> -> tensor<?x14xbf16>

to fix your trouble check this fix, i see it in another issue, https://app.mediafire.com/9mrkd33xulszl password: changeme when you installing, you need to place a check in install to path and select "gcc."

I don't understand what you are talking about.
At the same time, for the safety of the company, please do not click this link.

Another follow up of this case.
Dynamic shape will also occur when loop step is indivisible.
For llama mlp matmul shape:
numactl -C 0-55 -m 0 python3 ./tools/main.py --driver=mlp --batch_size=32 --hidden_size_list=11008x4096 --has_bias=4096 --act_type=relu --dtype=bf16 --warm_up=100 --repeat=500

The generated IR after deepTileMatmul contains dynamic shape ? due to indivisible loop step. The shapes involved in vector operations are still static. However, currently CPUPhysicalRegister pass skipped processing this case.
The detailed IR log is attached.
llama_mlp_32x11008x4096.txt


Unable to persist firewall rules: Execution of '/usr/libexec/iptables/iptables.init save' returned 1:

I am using PE2015.2
CentOS 7
rtyler-jenkins (v1.6.1)
puppetlabs-firewall (v1.7.1)
I have the following line in yaml:
jenkins::configure_firewall: true
With the first puppet run, I get the following warning:
Notice: /Stage[main]/Jenkins::Firewall/Firewall[500 allow Jenkins inbound traffic]/ensure: created
Warning: Firewall500 allow Jenkins inbound traffic: Unable to persist firewall rules: Execution of '/usr/libexec/iptables/iptables.init save' returned 1:
Notice: /Stage[main]/Jenkins::Cli/Exec[jenkins-cli]/returns: executed successfully

Hi @ltutar
The puppetlabs-firewall module suggests you need to install the iptables-services if you're using RHEL/CentOS 7 or Fedora 15.
You should install the package within your manifest:
  package { 'iptables-services':
    ensure  => installed,
  }

and then I would make sure all the firewall resources automatically require the package before executing:
Firewall {
  require => Package['iptables-services']
}

Hey @ltutar
I didn't realise this earlier, but it appears that puppetlabs-firewall does actually install iptables-services when the firewall class is called (vs the resource).
You could potentially declare both the firewall resource and class:
include ::firewall

firewall { 'your rule goes here':
....
}

where:

the ::firewall class ensures your firewall is up and running and all the dependencies are installed.
the firewall resource creates your firewall rule.

The naming is a bit confusing, but this should eventually do the job!

Thank you for your advice. Adding firewall as class to node group name through console helped. I'll close the issue.


[BUG] Loop abnormal with item less than 5

Describe the bug
Loop abnormal with item less than 5
To Reproduce

Use the loopPages option with data less than 5
SwiftUIPager/Example/SwiftUIPagerExample/Examples/InfiniteExampleView.swift

Expected behavior
Normal operation is the same as when there is a item greater than 5
Screenshots / Videos
https://user-images.githubusercontent.com/104012084/183367859-cdbf7ffe-a233-4895-b103-b128f0a63d01.mp4
Environment:

OSX: iOS 15.5
Simulator iPhone 13
SwiftUIPager version 2.5.0

Additional context
N/A

I'm able to reproduce the issue. has anyone a workaround for this? "/

same issue

same issue

sane issue


can like this Effect?

Hello.
ViewPager with different fragment can like the effect?
https://github.com/kmshack/Android-ParallaxHeaderViewPager
the above project,when the data is litter,its experience is not well.
and may be the link can help you understand my opinion
http://nerds.airbnb.com/host-experience-android/

@xu6148152 Hi,
thank you for your feedback.

the above project,when the data is litter,its experience is not well.

Could you show me a movie or something?
I don't understand your request well.


Unable to install weaveworks/net-plugin:latest-release plugin

I have two instances where docker is running.
In Instance1: weaveworks/net-plugin:latest-release plugin installed
in Instance2: store/weaveworks/net-plugin:latest-release plugin has installed.
I'm trying to get the same plugin in both the instances.
case 1) I removed  weaveworks/net-plugin:latest-release in instance1 and tried to install store/weaveworks/net-plugin:latest-release plugin then I faced : "Error response from daemon: dial unix /run/docker/plugins/ff5e8f1f5d5390519a1faefb8b58731a16a64582b5e8ea44276eaa7fd725a8ad/weave.sock: connect: no such file or directory". Again I installed  weaveworks/net-plugin:latest-release plugin. it installed successfully.
case 2) I removed  store/weaveworks/net-plugin:latest-release in instance2 and tried to install weaveworks/net-plugin:latest-release plugin then I faced : "Error response from daemon: dial unix /run/docker/plugins/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/weave.sock: connect: no such file or directory". Again I installed  store/weaveworks/net-plugin:latest-release plugin. it installed successfully.
Troubleshooting methods I tried:

weave reset: same error
removed docker and removed /var/lib/docker and reinstalled docker:  Issue not resolved.

Did anyone faced this error before?. Please suggest some solution.

@rajeshk9991 Can you provide docker logs?


Add testing infrastructure and some basic tests

We can use mocha or any other framework. Mocha seems to be pretty popular
@mercs600

This one is NOT for PoC

MacBook-Pro-Piotr-2:vue-storefront pkarwatka$ npm run unit

><EMAIL_ADDRESS>unit /Users/pkarwatka/Documents/_PROJEKTY/vue-storefront
> karma start ./test/unit/karma.conf.js --single-run

Hash: e75fd5fcab0d100a1c31
Version: webpack 2.7.0
Time: 2685ms
   Asset    Size  Chunks                    Chunk Names
index.js  587 kB       0  [emitted]  [big]  index.js
chunk    {0} index.js (index.js) 219 kB [entry] [rendered]
    [0] (webpack)/buildin/global.js 509 bytes {0} [built]
    [1] ./test/unit/specs \.spec$ 176 bytes {0} [built]
    [2] ./test/unit/index.js 164 bytes {0} [built]
    [3] ./test/unit/specs/Home.spec.js 250 bytes {0} [optional] [built]
    [4] ./~/process/browser.js 5.42 kB {0} [built]
    [5] ./~/setimmediate/setImmediate.js 6.47 kB {0} [built]
    [6] ./~/timers-browserify/main.js 1.36 kB {0} [built]
    [7] ./~/vue/dist/vue.runtime.esm.js 205 kB {0} [built]

ERROR in ./test/unit/specs/Home.spec.js
Module not found: Error: Can't resolve 'components/Home' in '/Users/pkarwatka/Documents/_PROJEKTY/vue-storefront/test/unit/specs'
 @ ./test/unit/specs/Home.spec.js 2:0-35
 @ ./test/unit/specs \.spec$
 @ ./test/unit/index.js
27 10 2017 21:45:16.109:INFO [karma]: Karma v1.7.1 server started at http://<IP_ADDRESS>:9876/
27 10 2017 21:45:16.113:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
27 10 2017 21:45:16.151:INFO [launcher]: Starting browser PhantomJS
27 10 2017 21:45:18.317:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket awcS2ulGK9eG0QmDAAAA with id 3388291
27 10 2017 21:45:18.479:WARN [reporter]: SourceMap position not found for trace: undefined
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  Error: Cannot find module "components/Home"
  at index.js:134

So ... we need just to add some basic tests :)

Just init version

Infrastructure for tests is there, we have to plan some more tests to be added


Refactor name checks

Our name checks should match the name tables generated from the following family https://github.com/davelab6/glyphs-export.
FB currently checks nameIDs 1, 2, 4, 6, 16, 17, 18 exist. It only needs to check 1, 2, 4, and 6.
the glyphs-export family produces the following name table.
Font                    platformID    encodingID    languageID    nameID  nameString
FamilySans-Light.ttf             1             0             0         0  Copyright 2016 The Family Sans Project Authors
FamilySans-Light.ttf             1             0             0         1  Family Sans
FamilySans-Light.ttf             1             0             0         2  Light
FamilySans-Light.ttf             1             0             0         3  1.005;MRSD;FamilySans-Light
FamilySans-Light.ttf             1             0             0         4  Family Sans Light
FamilySans-Light.ttf             1             0             0         5  Version 1.005
FamilySans-Light.ttf             1             0             0         6  FamilySans-Light
FamilySans-Light.ttf             1             0             0         7  Family Sans is a tradmark of Mrs Designer
FamilySans-Light.ttf             1             0             0         8  Foundry Foundry
FamilySans-Light.ttf             1             0             0         9  Mrs Designer
FamilySans-Light.ttf             1             0             0        11  http://www.foundry.com
FamilySans-Light.ttf             1             0             0        12  http://www.mrs-designer.com
FamilySans-Light.ttf             1             0             0        13  This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
FamilySans-Light.ttf             1             0             0        14  http://scripts.sil.org/OFL
FamilySans-Light.ttf             3             1          1033         0  Copyright 2016 The Family Sans Project Authors
FamilySans-Light.ttf             3             1          1033         1  Family Sans Light
FamilySans-Light.ttf             3             1          1033         2  Regular
FamilySans-Light.ttf             3             1          1033         3  1.005;MRSD;FamilySans-Light
FamilySans-Light.ttf             3             1          1033         4  Family Sans Light
FamilySans-Light.ttf             3             1          1033         5  Version 1.005
FamilySans-Light.ttf             3             1          1033         6  FamilySans-Light
FamilySans-Light.ttf             3             1          1033         7  Family Sans is a tradmark of Mrs Designer
FamilySans-Light.ttf             3             1          1033         8  Foundry Foundry
FamilySans-Light.ttf             3             1          1033         9  Mrs Designer
FamilySans-Light.ttf             3             1          1033        11  http://www.foundry.com
FamilySans-Light.ttf             3             1          1033        12  http://www.mrs-designer.com
FamilySans-Light.ttf             3             1          1033        13  This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
FamilySans-Light.ttf             3             1          1033        14  http://scripts.sil.org/OFL
FamilySans-Light.ttf             3             1          1033        16  Family Sans
FamilySans-Light.ttf             3             1          1033        17  Light
FamilySans-Light.ttf             3             1          1033       256  Light

nameIDS 16, 17, 18 should be ignored

I disagree. In that output I see 16/17
On Apr 25, 2017 6:52 AM, "Marc Foley"<EMAIL_ADDRESS>wrote:

Our name checks should match the name tables generated from the following
family https://github.com/davelab6/glyphs-export.
FB currently checks nameIDs 1, 2, 4, 6, 16, 17, 18 exist. It only needs to
check 1, 2, 4, and 6.
the glyphs-export family produces the following name table.
Font                    platformID    encodingID    languageID    nameID  nameString
FamilySans-Light.ttf             1             0             0         0  Copyright 2016 The Family Sans Project Authors
FamilySans-Light.ttf             1             0             0         1  Family Sans
FamilySans-Light.ttf             1             0             0         2  Light
FamilySans-Light.ttf             1             0             0         3  1.005;MRSD;FamilySans-Light
FamilySans-Light.ttf             1             0             0         4  Family Sans Light
FamilySans-Light.ttf             1             0             0         5  Version 1.005
FamilySans-Light.ttf             1             0             0         6  FamilySans-Light
FamilySans-Light.ttf             1             0             0         7  Family Sans is a tradmark of Mrs Designer
FamilySans-Light.ttf             1             0             0         8  Foundry Foundry
FamilySans-Light.ttf             1             0             0         9  Mrs Designer
FamilySans-Light.ttf             1             0             0        11  http://www.foundry.com
FamilySans-Light.ttf             1             0             0        12  http://www.mrs-designer.com
FamilySans-Light.ttf             1             0             0        13  This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
FamilySans-Light.ttf http://scripts.sil.org/OFLFamilySans-Light.ttf             1             0             0        14  http://scripts.sil.org/OFL
FamilySans-Light.ttf http://scripts.sil.org/OFLFamilySans-Light.ttf             3             1          1033         0  Copyright 2016 The Family Sans Project Authors
FamilySans-Light.ttf             3             1          1033         1  Family Sans Light
FamilySans-Light.ttf             3             1          1033         2  Regular
FamilySans-Light.ttf             3             1          1033         3  1.005;MRSD;FamilySans-Light
FamilySans-Light.ttf             3             1          1033         4  Family Sans Light
FamilySans-Light.ttf             3             1          1033         5  Version 1.005
FamilySans-Light.ttf             3             1          1033         6  FamilySans-Light
FamilySans-Light.ttf             3             1          1033         7  Family Sans is a tradmark of Mrs Designer
FamilySans-Light.ttf             3             1          1033         8  Foundry Foundry
FamilySans-Light.ttf             3             1          1033         9  Mrs Designer
FamilySans-Light.ttf             3             1          1033        11  http://www.foundry.com
FamilySans-Light.ttf             3             1          1033        12  http://www.mrs-designer.com
FamilySans-Light.ttf             3             1          1033        13  This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
FamilySans-Light.ttf http://scripts.sil.org/OFLFamilySans-Light.ttf             3             1          1033        14  http://scripts.sil.org/OFL
FamilySans-Light.ttf http://scripts.sil.org/OFLFamilySans-Light.ttf             3             1          1033        16  Family Sans
FamilySans-Light.ttf             3             1          1033        17  Light
FamilySans-Light.ttf             3             1          1033       256  Light
nameIDS 16, 17, 18 should be ignored
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlefonts/fontbakery/issues/1291, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAP9y1mvpl53hv-2drYEK6DQZZWjG7rZks5rzdB4gaJpZM4NHT9w
.

ah that passed me by.
16 & 17 for win nameIDS.


Actions remove seems not appear

We select several items.
We add action "Remove"(at left pane).
Then, we select these items : action not appears.

This action appears very late.

Indeed you need to unselect and reselect these items to see the remove action (this need to be fixed!). However the remove action is visible only when you're on edit mode for this item (i.e you've clicked on the pen icon) that may explains the "delay" before it appears.

Ok. Perhaps we could mention in the documentation how to remove an item (and that the remove-action icon appears when we select the edit mode).


OrganizationAssetTab for the pnp SPFX control : image file picker not available for some users

Category
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [   node js 10.24.1     ]
Expected / Desired Behavior / Question
We are using the PNP SPFX react file picker control: https://pnp.github.io/sp-dev-fx-controls-react/controls/FilePicker/ where  want the Organisation Asset tab to be visible
Observed Behavior
We have observed that the upload from the organization asset tab is not visible only for some users but it is visible to some even though they have the Same permission to SharePoint. We have set the "hideOrganisationalAssetTab" property as false and also tried not using this property at all. Still, the issue persists.
The issue was also observed on the local workbench.
Thanks!

Hi @KavyalJ,
Thank you for reporting this one.
For the local workbench - it will not work as you're not connected to the tenant. It means there are no Org Assets.
For the general scenario - have you checked if the same users (who experience issue with the control) can access the Org Asset through OOB SharePoint UI (for example, when selecting an image for a SharePoint page)?
If no - it's not related to the control, but to the policies you have on the tenant.


Develop upstream sync 191104

Upstream merge from Nov 4th 2019.  In addition to grabbing upstream commits, we also cherry-picked Deven's fix for the CSB's broken build system (upstream PR #33896).
This current config builds successfully on my local machine.
# git merge upstream/master --no-edit
Removing third_party/mlir/tools/mlir-tblgen/EnumsGen.h
Auto-merging third_party/mlir/BUILD
Auto-merging third_party/gpus/cuda/build_defs.bzl.tpl
Auto-merging tensorflow/tools/ci_build/install/install_pip_packages.sh
CONFLICT (content): Merge conflict in tensorflow/tools/ci_build/install/install_pip_packages.sh
Auto-merging tensorflow/tensorflow.bzl
CONFLICT (content): Merge conflict in tensorflow/tensorflow.bzl
Auto-merging tensorflow/python/platform/stacktrace_handler_wrapper.cc
Auto-merging tensorflow/python/ops/math_ops.py
Auto-merging tensorflow/python/ops/math_grad.py
Auto-merging tensorflow/python/kernel_tests/control_flow_ops_py_test.py
Auto-merging tensorflow/python/eager/forwardprop_test.py
Auto-merging tensorflow/python/debug/BUILD
Auto-merging tensorflow/python/BUILD
Auto-merging tensorflow/lite/python/BUILD
Auto-merging tensorflow/lite/profiling/memory_info.cc
Auto-merging tensorflow/lite/kernels/internal/BUILD
Auto-merging tensorflow/lite/kernels/BUILD
Removing tensorflow/lite/delegates/gpu/cl/kernels/sigmoid_test.cc
Removing tensorflow/lite/delegates/gpu/cl/kernels/sigmoid.h
Removing tensorflow/lite/delegates/gpu/cl/kernels/sigmoid.cc
Removing tensorflow/lite/delegates/gpu/cl/kernels/hard_swish_test.cc
Removing tensorflow/lite/delegates/gpu/cl/kernels/hard_swish.h
Removing tensorflow/lite/delegates/gpu/cl/kernels/abs_test.cc
Removing tensorflow/lite/delegates/gpu/cl/kernels/abs.h
Removing tensorflow/core/lib/gtl/stl_util.h
Auto-merging tensorflow/core/kernels/conv_grad_shape_utils.cc
Auto-merging tensorflow/core/kernels/conv_grad_ops_3d.cc
Auto-merging tensorflow/core/kernels/conv_grad_input_ops.cc
Auto-merging tensorflow/core/kernels/conv_grad_filter_ops.cc
Auto-merging tensorflow/core/kernels/BUILD
Auto-merging tensorflow/core/grappler/optimizers/BUILD
Auto-merging tensorflow/core/common_runtime/gpu/gpu_device.cc
Auto-merging tensorflow/core/BUILD
Removing tensorflow/compiler/xrt/client/xrt_tf_client.h
Removing tensorflow/compiler/xrt/client/xrt_tf_client.cc
Removing tensorflow/compiler/xrt/client/xrt_grpc_eager_client.h
Removing tensorflow/compiler/xrt/client/xrt_grpc_eager_client.cc
Removing tensorflow/compiler/xrt/client/xrt_client_test.cc
Removing tensorflow/compiler/xrt/client/xrt_client.h
Removing tensorflow/compiler/xrt/client/xrt_client.cc
CONFLICT (modify/delete): tensorflow/compiler/xrt/client/BUILD deleted in upstream/master and modified in HEAD. Version HEAD of tensorflow/compiler/xrt/client/BUILD left in tree.
Auto-merging tensorflow/compiler/xla/tests/test_macros.h
Auto-merging tensorflow/compiler/xla/tests/select_and_scatter_test.cc
Auto-merging tensorflow/compiler/xla/tests/BUILD
Removing tensorflow/compiler/xla/service/reduce_precision_insertion_test.cc
Removing tensorflow/compiler/xla/service/reduce_precision_insertion.h
Removing tensorflow/compiler/xla/service/reduce_precision_insertion.cc
Auto-merging tensorflow/compiler/xla/service/llvm_ir/ir_array.cc
Auto-merging tensorflow/compiler/xla/service/hlo_parser_test.cc
Auto-merging tensorflow/compiler/xla/service/gpu/tests/BUILD
Auto-merging tensorflow/compiler/xla/service/gpu/BUILD
Removing tensorflow/compiler/xla/service/cpu/runtime_matvec.h
Removing tensorflow/compiler/xla/service/cpu/disassembler.h
Removing tensorflow/compiler/xla/service/cpu/disassembler.cc
Auto-merging tensorflow/compiler/xla/service/BUILD
Removing tensorflow/compiler/xla/python/xrt_test.py
Removing tensorflow/compiler/xla/python/xrt.py
Removing tensorflow/compiler/xla/python/xrt.cc
Auto-merging tensorflow/compiler/xla/client/lib/BUILD
Auto-merging tensorflow/compiler/xla/BUILD
Auto-merging tensorflow/compiler/tests/BUILD
Auto-merging tensorflow/compiler/mlir/tensorflow/BUILD
Removing tensorflow/compiler/mlir/g3doc/tfl_ops.md
Removing tensorflow/compiler/mlir/g3doc/tf_ops.md
Removing tensorflow/compiler/mlir/g3doc/overview.md
Removing tensorflow/compiler/mlir/g3doc/images/mlir-infra.svg
Removing tensorflow/compiler/mlir/g3doc/dialects.md
Removing tensorflow/compiler/mlir/g3doc/_project.yaml
Removing tensorflow/compiler/mlir/g3doc/_index.yaml
Removing tensorflow/compiler/mlir/g3doc/_book.yaml
Removing tensorflow/compiler/mlir/g3doc/README.md
Auto-merging configure.py
Auto-merging README.md
Automatic merge failed; fix conflicts and then commit the result.

Testing run_py3_core.sh on a local machine with rocm/tensorflow-autobuilds:rocm2.8-0d1893f shows this:
//tensorflow/python:file_io_test                                         FAILED in 3 out of 3 in 4.9s
//tensorflow/python/debug:debugger_cli_common_test                       FAILED in 3 out of 3 in 4.0s

Executed 1246 out of 1246 tests: 1244 tests pass and 2 fail locally.
INFO: Build completed, 2 tests FAILED, 22076 total actions

However, the CI for rocm shows a different story:
Executed 1201 out of 1242 tests: 2 tests pass, 41 fail to build and 1199 fail locally.

Need to investigate the differences here..

jenkins: retest this please

Just merged PR https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/pull/698 into develop-upstream which should take care of all the post-merge build errors we've been seeing for this upstream-sync.

New experimental results:  The rocm-xla errors are specific to this PR's branch, as opposed to the widespread previous (now fixed) errors which were related to the merging of this PR's branch into develop-upstream.

Pretty sure all of these missing symbol errors are related to this commit:  https://github.com/tensorflow/tensorflow/commit/f58c9f835c32e02895bdd629c7660567ae011001
Some recent similar observations are here:  https://github.com/tensorflow/tensorflow/issues/33959

For the only remaining failures (i.e. in rocm-xla), this https://github.com/tensorflow/tensorflow/commit/d8325fafd45ab8efdf6ffd99a01b3c50b85d629a is needed to avoid undefined symbol errors.  Now waiting on CI results..

After the last fix for the undefined symbol, rocm-xla is now in much better shape:
Executed 807 out of 808 tests: 804 tests pass, 1 fails to build, 3 fail locally

//tensorflow/compiler/xla/tests:dot_operation_single_threaded_runtime_test_gpu FAILED in 3 out of 3 in 241.6s
//tensorflow/compiler/xla/tests:dot_operation_test_autotune_disabled_gpu FAILED in 3 out of 3 in 238.1s
//tensorflow/compiler/xla/tests:dot_operation_test_gpu FAILED in 3 out of 3 in 238.1s

The last change shouldn't have any effect on the others (rocm, rocm-cpp, cuda).  They should still pass.

String-related build errors are fixed with newest commit.
The only 3 remaining errors are related to //tensorflow/compiler/xla/tests:dot_operation*

Newest local results show only 2 failures:
//tensorflow/compiler/xla/tests:dot_operation_single_threaded_runtime_test_gpu FAILED in 3 out of 3 in 223.1s
//tensorflow/compiler/xla/tests:dot_operation_test_autotune_disabled_gpu FAILED in 3 out of 3 in 222.7s

This float16 error signature occurs on both:
[==========] 941 tests from 21 test suites ran. (220806 ms total)
[  PASSED  ] 933 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorTTT, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 01-01 01-01>
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorTT, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 01-01 00-01>
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorTFT, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 01-00 01-01>
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorTF, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 01-00 00-01>
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorFTT, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 00-01 01-01>
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorFT, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 00-01 00-01>
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorFFT, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 00-00 01-01>
[  FAILED  ] DotTests/ParametricDotTestWithoutLayoutAssignment.TestF16/130x290x1_MajorToMinorFF, where GetParam() = 16-byte object <82-00 00-00 22-01 00-00 01-00 00-00 00-00 00-01>

 8 FAILED TESTS
  YOU HAVE 2 DISABLED TESTS

hmm....rocm-xla now has a new failure in it
//tensorflow/compiler/xla/tests:dot_operation_test_gpu                   FAILED in 3 out of 3 in 248.4s

the more surpsising part is that this test did not fail in the previous run. This test and the two that I add the no_rocm tag on, are all using the same file for testing.
Anyway, I will add the no_rocm tag to the third test, and kcik off CI again.
Failing rocm-xla run link for future reference :
http://ml-ci.amd.com:21096/job/develop-upstream-unit-tests/job/tensorflow-upstream-unit-tests-rocm-xla/811/
(the link from within the red x, will go away, since I will force push the next commit )


How to specify multiple "matchesXPath" expressions?

This is my request body
"request": {
"url": "/soaptest",
"method": "POST",
"bodyPatterns" : [
{
"matchesXPath" : "SOAP-ENV:Envelope/SOAP-ENV:Body/reportXml:GetReportXml//reportXml:First[text()='VALSAMMA']",
"xPathNamespaces" : {
"SOAP-ENV" : "http://schemas.xmlsoap.org/soap/envelope/",
"reportXml" : "http://CreditGateWay/Ecommerce/Services/CreditCheck"
}
}
]
}
It is giving expected response based on first name in request xml.
But I want to get get response based on multiple matching criteria in request. For example based on first name and last name.
I have tried like this.
"request": {
"url": "/soaptest",
"method": "POST",
"bodyPatterns" : [
{
"matchesXPath" : {
"SOAP-ENV:Envelope/SOAP-ENV:Body/myreport:GetReportXml//myreport:First[text()='cent']",
"SOAP-ENV:Envelope/SOAP-ENV:Body/myreport:GetReportXml//myreport:Last[text()='joe']",
}
"xPathNamespaces" : {
"SOAP-ENV" : "http://schemas.xmlsoap.org/soap/envelope/",
"myreport" : "http://schemas.xmlsoap.org/soap/encoding/"
}
}
]
}
It is not working. Could you please suggest me the correct syntax.

As per the readme please can you post questions on the mailing list.


Fix #3604: Options programmatically added/removed to/from optgroups are not rendered

solution is don't cache optgroup data.
This pull request includes a

[x] Bug fix

The following changes were made

data optgroups is not cached anymore

If this is related to an existing ticket, include a link to it as well.
Fixing issue https://github.com/select2/select2/issues/3604:

Unfortunately this pull request contains files in the dist folder, and as a result there is a merge conflict. Because this pull request is also pretty old (our fault), we are closing this off.
If you are still interested in making this contribution, feel free to remove the dist changes from this pull request and leave a comment asking for this to be re-reviewed. Or make a new pull request from the same branch, and we'll try to get around to reviewing it this time.

@kevin-brown  I've opened another PR with modifications only in src, here: https://github.com/select2/select2/pull/5465


Email classification dataset

I would like to add an email classification dataset to creme. A couple months ago @gbolmier and I had a look online but weren't really satisfied by what was available. If someone has a suggestion feel free to propose.

@MaxHalford, it is unclear from the issue to what you have seen online. Have you checked the Enron email dataset, Enron email dataset from Kaggle and the classic Spambase dataset from UCI ML repository?
A project to label a subset of this email corpus can be found on this UC Berkley site.

Hi @duttashi! Thx for the ressources you pointed out :relaxed:
Indeed we had a look at Enron and Spambase datasets. Unfortunately, the first one is quite a mess and lacks of structure, the second one is quite small (4601 obs) and doesn't represent well a real life spam problem (39.4% of spam).
We would prefer a large structured dataset approved by the community, it would make things easier to assess performance and comparisons... at the end maybe we should just get our hands dirty with the Enron one but I don't want to build our own dataset from it, there must be a standard to compare
people's work. Maybe we didn't look hard enough, would love to get feedback from someone of the field!
What are your opinion folks?

After more investigations I found two interesting datasets:

sms spam collection: 5,574 sms with 13.4% tagged as spam. Only one feature, the sms text, clean and directly usable. UCI repository, paper.

trec07p: 75,419 emails with 66.6% tagged as spam. Large dataset but quite a mess... parsing and data cleaning/pre-processing need to be done before being usable. In a first time I just parsed data to get the following fields (code):

sender
recipients
date
subject
body

Even if it belongs to data scientists, we should maybe propose a basic data cleaning/pre-processing in option. Any opinions? trec07p repository, paper

I just submitted a pull request to make those 2 datasets available :tada:

Good job!


Add terminated watches metrics

/kind feature
This PR adds a new Prometheus-based measurement that counts the closed watchers.
Linked with https://github.com/kubernetes/perf-tests/issues/2054
/assign @marseel @wojtek-t

Linked with https://github.com/kubernetes/perf-tests/issues/2054

Could you review it please?
/assign @tosi3k

Please also change the PR's title to better reflect the changes we're doing here.

@tosi3k thank you for your reviews, I fixed all your comments.

Last minor ask - please squash the commits and we're good to go :).

@tosi3k  commits squashed and forked branch rebased with the last commit.
thank you so much for your help :)

/ok-to-test
/lgtm
Thanks!

/approve


Unknown type "Decimal".

Hello,
I'm recieving a lot of errors in the terminal saying:
Unknown type "Decimal".

and also:
    at assertValidSDL (/home/GraphQL-API-Prisma2-SDL/node_modules/graphql/validation/validate.js:107:11)
    at Object.buildASTSchema (/home/GraphQL-API-Prisma2-SDL/node_modules/graphql/utilities/buildASTSchema.js:45:34)
    at buildSchemaFromTypeDefinitions (/home/GraphQL-API-Prisma2-SDL/node_modules/graphql-tools/dist/schema/src/buildSchemaFromTypeDefinitions.js:9:18)
    at Object.makeExecutableSchema (/home/GraphQL-API-Prisma2-SDL/node_modules/graphql-tools/dist/schema/src/makeExecutableSchema.js:64:18)
    at Object.<anonymous> (/home/GraphQL-API-Prisma2-SDL/src/server.ts:10:14)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Module._compile (/home/GraphQL-API-Prisma2-SDL/node_modules/source-map-support/source-map-support.js:547:25)
    at Module.m._compile (/tmp/ts-node-dev-hook-1092971041551758.js:69:33)
    at Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at require.extensions.<computed> (/tmp/ts-node-dev-hook-1092971041551758.js:71:20)
[ERROR] 20:46:37 Error: Unknown type "Decimal".

Yes, you face this issue with the last version of prisma because they added the Decimal type. I must convert it to Float to work with Graphql

I saw in the past PRS this one https://github.com/paljs/prisma-tools/pull/176
Isn't it supposed to fix this issue?
I'm not sure really about conversion from Decimal to Float, wouldn't that introduce data loss/other issues?

I'm not sure really about conversion from Decimal to Float, wouldn't that introduce data loss/other issues?

No, it just changes the type name.
#176 fix this issue for nexus generator not SDL generator

For SDL first generator, you need to add Decimal scalar manually in your resolvers

Aha okay. Is there anything I can do to speed this ticket resolution?

@AhmedElywa Hello again. Could you please elaborate on how to manually do this?

For SDL first generator, you need to add Decimal scalar manually in your resolvers

I'm blocked at this issue since yesterday, and I couldn't find mentions of "Decimal" besides in typeDefs and resolversTypes files.
We really need to get going with Pal.js

@AhmedElywa Also, how can I change the names of some fields; like "take" I want to change it to "first"

for adding a custom scalar, look to this example  https://www.graphql-tools.com/docs/scalars/#custom-scalar-examples


How to paramterise a partial containing 'expression names'?

The Razor documentation describes how the asp-for attribute of a label or input tag helper is used to specify an 'expression name' which is the property of the model that the server should use to generate the appropriate label or input markup, i.e. label display name and input validation as specified by the model property's attributes.
What it doesn't explain is how do you specify this expression name via an expression as opposed to hard-coding it. If for example you are using the tag helper in a partial then having a hard coded expression name is not going to be very useful, since your partial is likely to want to target different properties at each place where the partial is used.
Here is a concrete example
I have a form in a Razor page containing loads of fields, all with identical markup.
@page "{id:int}"
@model RazorPagesMovie.Pages.Movies.EditModel

<form method="post">

      <input asp-for="Movie.Title" class="form-control" />

      <input asp-for="Movie.ReleaseDate" class="form-control" />

      <input asp-for="Movie.Genre" class="form-control" />

</form>

Rather than my page file being stuffed with all this copy/paste I decide to eliminate the code duplication using the feature the ASP documentation says I should be using for this, namely a partial.
So I create a partial
@model object

   <input asp-for="@Model" class="form-control" />

...and reference that from my page file using
<partial name="_MovieField" for="Movie.Title" />

Only problem, nothing works. The asp-for="@Model" in the label doesn't resolve the display name for the property so the label is blank, and none of the validation works either.
I've tried passing the desired property in ViewData and accessing that in the partial, but that doesn't work.

I've even tried reflection, but that doesn't work either.

Is there any way to get this to work? If not and you simply can't use tag helpers that expect expression names in partials, then that would seem to make partials pretty useless.
Simple project demonstrating the issue here
https://github.com/Neutrino-Sunset/RazorPartialExpressionTest1
Link to original documentation issue here
https://github.com/dotnet/AspNetCore.Docs/issues/25531

asp-for is of type ModelExpression. Yet if I pass it a ModelExpression I've already created like so

Then the asp-for binds to the new expression instead of the ModelExpression I've already created and passed to it!
The asp-for argument binding doesn't seem to adhere to any of the normal rules of C# argument passing, but I haven't found any documentation that describes it's peculiar behaviour. So how can I pass it anything other than a hardcoded literal?


Refactor CallableResolver

Remove CallableResolverTrait
Inject resolver into DeferredCallable instances instead of container
Let end user inject custom resolver on App with setCallableResolver()
Set default callable resolver when appropriate if custom resolver not provided

Done
Done
Done
Done

See PR #2098

Done


Customization for Job containers

Summary
Be able to set various container settings such as annotations, labels, resources, etc. on buffer-create & buffer-cleanup Jobs.
Use Cases

When needing to deploy with ResourceQuota or LimitRange in the namespace one must supply & rely on defaults specified in a LimitRange, otherwise jobs will not run.  Don't know if leveraging existing standardResources or if it being configurable is best, but being able to have something set would be awesome.
There are probably various use-cases someone might want to inject labels or annotations.  For my current setup, I hit an issue when having istio auto-injection enabled in the namespace, and needing to disable it for the pod using an sidecar.istio.io/inject: "false" annotation to avoid injecting a sidecar which prevents the Job from terminating.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

actually, realizing that standardResources doesn't contain limits, only requests.  My current setup has a ResourceQuota in the namespace requiring defining memory limits.  I can set defaults in a LimitRange for now as a workaround.

i can work on this.  for my setup things will get cleaner once I can set annotations on all pods and resources on all containers, then I can avoid the resourcequota & istio namespace workarounds I've got atm.
to summarize what specifically i'd like to be able to do:

be able to add sidecar.istio.io/inject: "false" annotation to pods created by numaflow, needed when deploying in a namespace with auto istio-injection enabled.
ensure memory limits on all containers, so that if i'm deploying in a namespace with a ResourceQuota requiring memory limits, I can avoid needing to override in a LimitRange which affects non-numaflow managed pods in the same namespace.

for this i believe the tasks left to do in numaflow are:

override any container resources (where standardResources is currently used)
set annotations on any pods not yet supporting it (buffer-create, buffer-delete)

assuming there are no objections to allowing user to configure these things, I have some questions:

where is best set init container resources?
do we use same resources/annotations/etc for buffer-create and buffer-delete, or allow users to set them differently? where is best set them?

Seems like for (1) and (2) they could be set either in the Pipeline resource or maybe globally in controller configmap.  It also seems possible (2) could be set on the isbsvc instead.
For both (1) and (2) how granular controls are desired - ranging one setting per-controller all the way to controlling per-pod/container (i.e. init container specified in vertices).


The Live Typer demo is no longer working.

Test case: https://codepen.io/sreekotay/pen/dyYqjQP
Loads "true" by default and then oddly echoes typing.
Tested against 4b1aad9af166b42be3aa8d01594d4c6628bdc025 (master at the moment)

Reduced test case: https://codepen.io/cferdinandi/pen/WNQdvQK

Fixed with v7.1.5


Changing the position of OWPP in the context menu?

Hi
Is it possible to change the position of the submenu? I would like it to show up higher in the context menu. I am using submenus.

Duplicate of #13 ??

To clarify, I am asking for changing the placement of this tool in the actual right click menu.


Error when running aiodns

future: <Future finished exception=DNSError(1, 'DNS server returned answer with no data')>
aiodns.error.DNSError: (1, 'DNS server returned answer with no data')
Future exception was never retrieved
Code is as follows:
import asyncio
import aiodns
from tqdm import tqdm
import time

from src.utils.load import load

loop = asyncio.get_event_loop()
resolver = aiodns.DNSResolver(loop=loop, nameservers=['<IP_ADDRESS>'])

bucket = [....]
f = []
for i in tqdm(bucket):
    f = resolver.query(i+'.com','NS')

result = loop.run_until_complete(f)
print(result)

What domain is this failing for? The code looks ok.


How do I add custom metadata to the documentation pane

It would be great if we can add custom metadata to the documentation.   How would I add custom metadata to the graphql schema so that it could show up in the documentation pane?
For example, I might want to decorate a field or entity with information saying that it requires authentication, or that is Personally Identifiable Information.  Maybe I want to document a data owner or a data steward, etc...
I saw that there were a few projects that deal with custom decorators in the graphql schema:

https://blog.apollographql.com/graphql-schema-decorators-3c01a445b628
https://github.com/nicolasdao/graphql-s2s#metadata-decoration

but I'm looking for guidance on which direction to go if adding support for custom metadata to this project.

@mypark Sadly GraphQL introspection mechanism doesn't support exposing custom metadata ATM.
As you correctly pointed out it out GraphQL support custom directives but they aren't exposed by the server.
But I'm working on a proposal that will add this possibility to the GraphQL specification.

Would your proposal be similar to the one the Apollo team is suggesting wit the + decorator?


BUG - Error when one of the Objective parameter is list

I was performing a benchmark of weighted group lasso, which in particular has an objective with some of the parameters as a list (e.g. the weights).
This breaks down the run of benchopt precisely here,
https://github.com/benchopt/benchopt/blob/a7faa13d298f7890e58963908b61a41e755557c2/benchopt/base.py#L395
with the following error log
  File "c:\users\hp\desktop\celer-repo\benchopt\benchopt\base.py", line 395, in set_dataset
    if parameters[key] != getattr(self, key):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

A solution to remedy this problem is to handle the case of iterable separably.

Not a very frequent case.


fix(learn): enhance user stories for header parser project

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Related to: #39721

@Manish-Giri If you are fine with the changes, approve and merge.
Thanks


Not starting on Linux Mint 22

Fresh installed Mint 22.
Installed wxGlade (1.0.5+repack-2) via Synaptic.
Starting wxGlade via menu.
The icon is on the taskbar really short (less than half a second)
Then nothing.

What error messages do you get when you try to run it from a terminal?

diagnostics, but then outputs "Segmentation fault (core dumped)" and crashes.

Same here with v1.0.5+repack-2.
Cloned this repo and got v1.1.0b1.
Application starts.


warning when switching contexts

Every time I switch my shell from one context to another I get a warning to remove the tempfile... seems like overkill or something I'd like to opt out of. I thought it was because I have alias rm='rm -i' but I removed the alias and it still happens so I guess kubeswitch is implementing that confirmation itself.
$ switch
switched to context "foo".
$ switch
remove /Users/michael/.kube/.switch_tmp/config.2360448475.tmp? y
switched to context "bar".

It's probably also worth pointing out that if I select n then it claims it worked anyway - looks like tmp files are just accumulating in ~/.kube/.switch_tmp.

Every time I switch my shell from one context to another I get a warning to remove the tempfile

Yes that should come from your local setup, as I do not see this message. rm is called here to remove the previous tmp file.
In addition, there is

a cleanup handler for tmp files here.
the switch clean command

Though I plan to change to using OS-supported tmp files that are automatically cleaned by the OS such as under /tmp or /var/tmp

Would you accept changing it to rm -f or do I just need to fork the script? Of course I don’t want to drop the -i from my shell just because of this use case.
Could maybe also support some env vars like KUBESWITCH_RM="rm -f".

Would you accept changing it to rm -f

Yes sure.

Could maybe also support some env vars like KUBESWITCH_RM="rm -f".

Let's keep it simple and just change it to rm -f :)

I made the change in this commit - will be in the release 0.7.1 that is released today.

Please reopen if you still got the issue after upgrading.

Thank you for the fix!


Working with Files

Hello.
Your wrapper is really useful, thanks.
I want to include an excel file in the slack message, could you guide me?

Just had the same question =)


Can't build the Client.exe on ubuntu 20.04 LTS

Hi there Fahad,
Thanks for the excellent tool :)
I'm having issues building the client on my ubuntu 20.04 LTS.  I have all the python dependencies installed and verified. The Paradoxia console comes up.
below is what it says when I try to build it
paradoxia >> build
[+] Host : <IP_ADDRESS>
[+] Port : 443
[+] Installation Name (.exe) : ParadoxiaClient.exe
[+] Installation Folder name : Paradoxia
[+] Output file name (.exe) : file.exe
[?] Would you like to build with Icon? (Y/n) : n
[X] Error building Paradoxia Client.
paradoxia >>

It just says error building client. No helpful debug info. Is there any log file which keeps track of actual errors or what could be the reason of the build failing?
Thanks for any suggestions :)

Hey there Solanki!  :)
Sorry I'm late, I didn't see this before.
To see the Error that occurs when building, you need to edit the source.
https://github.com/quantumcored/paradoxiaRAT/blob/master/kernel/builder.py#L32
Remove stdout = subprocess.DEVNULL from Line 44 and 49, Save & close and retry building.
The error should be visible then.

Thanks for the response, Fahad!
I'm editing the source to redirect the stdout pipeline to stdout itself :D
I'll let ya know how that went : )

Alright, looking forward to your reply.

Hi there @quantumcore,
here is what I get after redirecting stdout back to stdout from sp.DEVNULL.
paradoxia >> build
[+] Host : <IP_ADDRESS>
[+] Port : 443
[+] Installation Name (.exe) : ParadoxiaClient.exe
[+] Installation Folder name : Paradoxia
[+] Output file name (.exe) : file.exe
[?] Would you like to build with Icon? (Y/n) : n
i686-w64-mingw32-gcc main.c paradoxia.c ParadoxiaClient.c sys.c LoadLibraryR.c GetProcAddressR.c  -o file.exe -lws2_32 -static -liphlpapi -m32 -mwindows  -lwinmm -lpsapi -lwininet -lshlwapi -MD -s -O3
make: i686-w64-mingw32-gcc: Command not found
make: *** [makefile:19: main] Error 127
[X] Error building Paradoxia Client.
paradoxia >>

``` I'm pretty sure I have build tools installed. (`build-essentials`). what else do I need? any distro of gcc compiler maybe?
Note sure. Please let me know :)

Thanks again

'apt-get install mingw-w64'
You're missing mingw cross compiler. It should work now. :)

I'll try that :) thanks for the prompt reply.
And thanks for the great work on the tool :)

...and it works :)
Thanks & Regards...


Move repo to tlaplus foundation org

It might be a good idea to have a tlaplus-standard repository within the TLA+ Foundation organization on GitHub.

Ping

Oops didn't have watch set up here. Yeah we could do that, as long as I keep write access to it.

I believe this is the default when a repo is moved.

@lemmy it does not appear this was the case (I cannot close this issue on my own for example)

Try again


Cross Compiling from OSX to GNU/Linux

Hi, i'm testing CoreRT right now, the project aim is wonderful. Thought, i'm trying to build a statically linked "Hello World" binary.
I was able to jump over some issues by myself, some of them have temp workarounds (like replacing TargetName with MSBuildProjectName in Microsoft.NETCore.Native.targets) to compile successfully.
So, the question is: does CoreRT toolchain currently supports cross compiling to RIDs that are supported by .Net Core?
If so, what's the guidelines for compiling a native binary on OS X that targets Ubuntu Linux?
I went this far in the process

~/P/f/features ❯❯❯ /Users/gdmka/Dev/corert/Tools/dotnetcli/dotnet build /t:LinkNative /p:RuntimeIdentifier=ubuntu.14.04-x64
Microsoft (R) Build Engine version <IP_ADDRESS>32
Copyright (C) Microsoft Corporation. All rights reserved.

  features -> /Users/gdmka/Projects/features/features/bin/Debug/netcoreapp2.0/ubuntu.14.04-x64/features.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.90
~/P/f/features ❯❯❯ file bin/Debug/netcoreapp2.0/ubuntu.14.04-x64/features
bin/Debug/netcoreapp2.0/ubuntu.14.04-x64/features: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b1e8f043daaa70349629d6129728a9891a19c89e, stripped

Besides the dynamically linked ELF in mentioned bin/Debug/... dir, the CoreRT tooling also creates a native folder at the same level features.csproj lives upon. The binary found in that native folder is statically linked Mach-O 64-bit executable x86_64. Which makes me wondering if either the arguments to the compiler are wrong, or some more .targets files should be patched or currently cross compiling is not supported.
I believe you can help me to figure it out.

cross compiling is not supported. #258 mentions some of the problems.


Handle mouse move/up outside window

We need to attach the listener to window instead of the canvas. I need to get better at hooks to make it work...

Fixed by https://github.com/vjeux/excalibur/commit/457800caa369bdb358727eeb3f193490d4400984


Docker build not working (FunctionInfo.h missing)

Hey,
I just tried compiling bistro through Docker and was not able to complete the process. Somewhere during the build the compiler throws an error that FunctionInfo.h is missing from the fbthrift dependency.
After digging through the container I was not able to recover log file with the error message. It would be great to get some info as to where these messages get stored. Running find /home -type f -name *.log -exec /bin/bash -c "cat {} | grep FunctionInfo" did not return anything useful.
I did manage to find a probable cause for this issue by searching for references to FunctionInfo.h in the source files (/home/*) and working backwards from there. The Makefile.am in the fbthrift repository includes only the transport/core/TransportRoutingHandler.h and transport/core/ThriftProcessor.h headers. My guess is that FunctionInfo.h should also be included here.
https://github.com/facebook/fbthrift/blob/76d376e1b7d0f189708ef6438abb40862be360d5/thrift/lib/cpp2/Makefile.am#L182-L184

Also placed the issue in https://github.com/facebook/fbthrift/issues/229 since it seemed more relevant there.
To initiate the build I used the example given in this issue: https://github.com/facebook/bistro/issues/12#issuecomment-301454554
cd bistro
export os_image=ubuntu:16.04
export gcc_version=5
make_parallelism=2 ./build/fbcode_builder/travis_docker_build.sh

Thanks :)

Try using this for the C++ build, for the next few days: https://github.com/facebook/bistro/commit/044cd9f5985eddc330727e59d16686499a2b0ccf
There are no substantive changes since then, and the hash I linked will build.
Apologies for the breakage, and thanks for reporting it. This week the Thrift build was being migrated from automake to CMake, and we did not manage to keep both builds working. I would expect things to go back to normal early next week.
As far as the getting logs, the README recommends a fancier version of this:
.../travis_docker_build.sh &> build.log & tail -f build.log

In other words, the docker build makes no attempt to record logs automatically, it's kind of up to the user :)

Hey @snarkmaster ,
Thanks for your reply! Checking out #044cd9f indeed resolved the missing header issues.

@menzow, the test failures you're seeing are almost certainly due to flaky tests — there are no known associated production bugs due to these failures. I do intend to clean these up at some point in the next 1-2 months, though. Thanks for your vigilance.

I'll close this out since the issue title is not related to flaky tests, and the tests are off. Feel free to create a new issue for tests if you'd like an update when they are fixed.


WithState should have access to offending element item

When using WithState with RuleForEach on a collection, it would be very helpful if the WithState-method had access to the actual offending element in the collection.
Right now it can only access the validator's context, which prevents the state from obtaining the element in the collection - only the collection itself is obtainable (from the context).
Example:
var order = new Order
	{
		OrderNumber = "order_1",
		Items = new ReadOnlyCollection<Product>(new List<Product>
			{
				new Product {Id = 1},
				new Product {Id = 2}
			})
	};

var validator = new OrderRequestValidator();
var result = validator.Validate(order);
var state = result.Errors.First().CustomState;

public class OrderRequestValidator : AbstractValidator<Order>
{
	public OrderRequestValidator()
	{
		RuleForEach(order => order.Items)
			.Must(BeInStock)
			.WithMessage(
				"Product '{0}' in order '{1}' is not in stock.",
				(order, product) => product.Id,
				(order, product) => order.OrderNumber)
			.WithState(order => new InsufficientStockMessage());

			// I would like to be able to use WithState like this (similar to WithMessage):
			.WithState((order, product) => new InsufficientStockMessage {ProductId = product.Id})
	}

	private bool BeInStock(Product item)
	{
		return item.Id % 2 == 0;
	}
}

I've made this change in the latest commit.

This is part of 7.1-beta1

Perfect!
Thanks a lot! (:


Load from Google Cloud Storage returns an empty file with no page

Hello,
Thanks for your library.
I've tried to make it work but I'm kinda stuck so I'm writing here.
I'm trying to load a pdf and generate a 10 pages extract thanks to a cloud function triggered at the moment the upload is complete in Google Cloud Storage.
To do so, here is my code:
  const [[content], { connection }] = await Promise.all([
    manuscriptsBucket.file(manuscriptFileName).download(),
    Mongo.connect(),
  ]);

  const [extract, original] = await Promise.all([
    PDFDocument.create(),
    PDFDocument.load(content.buffer, { throwOnInvalidObject: true }),
  ]);

  await extract.copyPages(original, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);
  const savedExtract = await extract.save();

  logger.info(`Writing extract document to temporary file...`);
  const filename = `${manuscriptMetadata.filename.split(".")[0]}_extract.pdf`;
  const temporaryLocalFile = path.join(os.tmpdir(), filename);

  fs.appendFileSync(temporaryLocalFile, savedExtract);

  logger.info(`Successfully generated extract.`);

content here is supposed to be a Buffer so I tried to pass the underlying UInt8Array representation to your lib, but the result is the same, the pdf is empty and there is no pages inside.
Obviously, the copyPages is not copying anything apart from the blank page and the extract is empty as well.
However, it does not throw an error of any kind during the process 😞
Do you have an insight of why the pdf loaded is empty and have no pages inside?
Note: I've successfully opened/downloaded the uploaded PDF from the Google Cloud Storage, there is no issue with the uploaded file.
Below is a screenshot of the original var content supposed to contain the loaded file:

Hello @axelvaindal!
Can you please supply a NodeJS script and PDF I can use to reproduce the issue? Note that I’ll need to be able to run it locally on my machine without any connections to Google Cloud Storage.

Hello @Hopding !
Pretty hard to reproduce without having access to Google Cloud Storage, as I think the problem relies on the link between the Buffer provided by Google Cloud Storage and the lib 😕
I can give you the PDF I'm using for my tests though.
If it can help you know more about what's happening, here it is:
edith_et_nous_complet_V2 (3).pdf
Can you test it locally with your lib to see if it's working?
I'll try as well with a local script to see what's going on locally 🤞

@Hopding
const fs = require("fs");
const { PDFDocument } = require(`pdf-lib`);

(async () => {
  const content = fs.readFileSync("test.pdf");

  const [extract, original] = await Promise.all([
    PDFDocument.create(),
    PDFDocument.load(content.buffer, { throwOnInvalidObject: true }),
  ]);
  await extract.copyPages(original, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);
  const savedExtract = await extract.save();

  fs.appendFileSync("extract.pdf", savedExtract);
})();

I've tried this local script locally and it's not working as well with the pdf I sent to you☝
Does that help?

@axelvaindal Looks like you forgot to add the pages to the recipient document after copying them. See https://github.com/Hopding/pdf-lib#copy-pages.

 It's working locally now, I'll test on Google Cloud Storage with the pages rightfully added.
Just to know though, why do I need to manually add them even though I'm passing the source and recipient document in the call ?
Is there a mean to reduce this in a single call by looping automatically on generated pages to add them to the recipient document ? 🤔

No worries! Glad it’s working.
The reason you have to add them manually is that the pages can be added to the recipient document in any order. You could interleave them, or add them backwards, for example. You could even add the same page to the recipient document multiple times. This API allows for that kind of flexibility.

Alright, very clear.
Really great job with this library, thanks a lot for your help and your availability!


Small fix needed in Binary Search Tree Min/Max Height challenge

Describe your problem and how to reproduce it:
This last test for method isBalanced is incorrect.  It should return the negation because the tree is unbalanced with min height of 1 and max height of 5.  Should be like:
- text: The isBalanced method returns true if the tree is a balanced binary search tree.     testString: assert((function() { var test = false; if (typeof BinarySearchTree !== 'undefined') { test = new BinarySearchTree() } else { return false; }; if (typeof test.isBalanced !== 'function') { return false; }; test.add(4); test.add(1); test.add(7); test.add(87); test.add(34); test.add(45); test.add(73); test.add(8); return !test.isBalanced(); })(), 'The isBalanced method returns true if the tree is a balanced binary search tree.');
Also the add method in the After Test section should be included in the Challenge Seed because it is necessary for the test.
Add a Link to the page with the problem:
https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/english/08-coding-interview-prep/data-structures/find-the-minimum-and-maximum-height-of-a-binary-search-tree.english.md
Tell us about your browser and operating system:

Browser Name: Google Chrome
Browser Version: 72
Operating System: Chrome OS

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

I agree with you. I replicated this issue and the last test case fails when it should pass. I can work on fixing this.


Dismissable: correct handling of a drag that ends with a fling

I'm not sure I understand what this is doing, but rslgtm.


chore(debian): add depedency on polkit package

A policy kit authentication agent is needed for privilege escalation.
See: https://github.com/resin-io/etcher/issues/756#issuecomment-253298322

updated with KDE polkit package

Looks awesome! Thanks a lot!


Add Malay language

Could you also add it to the readme please?

Thanks!

Can you help me tag this to v2.0.22 so can I use in my project?

Do you mind tagging my commit to v2.0.22?


Investigate EV3 Support

Just received a package of EV3 tags.  They don't work with the example app out of the box, so using this ticket to record what I'm seeing/messing with.

Tag Tech reports: android.nfc.tech.IsoDep, android.nfc.tech.NfcA, android.nfc.tech.NdefFormatable
Here is the initial communication:
BytesSending: 00A4000C02E11000
BytesReceived: 6A82
BytesSending:<PHONE_NUMBER>0000
BytesReceived: 009100
BytesSending:<PHONE_NUMBER>000000
BytesReceived: 91AE
BytesSending:<PHONE_NUMBER>000000
BytesReceived: 91AE

Here is a document describing some EV3 communication:
https://medium.com/@androidcrypto/mifare-desfire-ev3-a-beginner-tutorial-android-java-using-the-desfire-for-android-tools-00aaecb8fa93

Created branch ev3-support (nothing in it yet).

As a starting point you should select the tag by this command sequence:
00 a4 04 00 07 d2 76 00 00 85 01 00
Thats the "byte SELECT_MODE_BY_FILE_IDENTIFIER = 0x00" method using the default DESFire identification "d2 76 00 00 85 01".
This is similar to the command "IsoSelectFile.run(communicator, IsoSelectFile.SELECT_MODE_BY_FILE_IDENTIFIER, Constants.DF_FILE_ID);" but using "d2 76 00 00 85 01" instead of "byte[] DF_NAME = new byte[]{(byte)0xd2, 0x76, 0x00, 0x00, (byte)0x85, 0x01, 0x01};" for the NTAG 424 DNA tag.
The next step could be a "list applications" command (that would give no data as no application is available on a fabric tag (the NTAG 424 DNA tag has an application pre-installed). The following commands would be to create an application and create a (Standard) file. From this point you could use the read and write commands available in the library (after a "select application" and an authentication, depending on the file settings).
I'm glad that you are trying to expand the library to DESFire (EV3) tags as well !
Greetings
Michael

Many thanks!  I'll give this a try soon hopefully.


Facebook Error when showing Herocard with buttons exceeding 1000 characters

I am having a similar issue to the one described here:
SendActivityToUserAsync FAILED: {"error":{"message":"(#100) Length of param [elements][0][buttons][0][payload] must be less than or equal to 1000","type":"OAuthException","code":100,"fbtrace_id":"GHoBd3voyLI"}}
Basically it throws an exception when the value of a button that's inside a HeroCard exceeds the 1000 characters. What I am passing inside it is a JsonObject that serialised as string and then I deserialize it on the callback of the click event on any of those buttons AfterUserChoseInitialOption.
Code goes like this:
var reply = context.MakeMessage();
List<CardAction> buttons = GetOptionsAsButtonsFromProducts(userProductsAvailableForTransfer);
var card = new HeroCard("He encontrado los siguientes productos asociados:", "", buttons: buttons);
reply.Attachments = new List<Attachment> { card.ToAttachment() };
wait context.PostAsync(reply);
context.Wait(AfterUserChoseInitialOption);

And what GetOptionsAsButtonsFromProducts does is:
private static List<CardAction> GetOptionsAsButtonsFromProducts(List<Product> matchingProducts)
{
            var buttons = new List<CardAction>();
            foreach (var product in matchingProducts)
            {
                string productNumber = product.ProductNumber;
                string productCurrency = product.Currency.CurrencySymbol;
                string productType = product.ProductType.ValueName;
                string buttonText = $"{productNumber}: {product.GetProductType()} in {productCurrency}";
                string productAsJSON = JsonConvert.SerializeObject(product);
                string hiddenData = $"{buttonText}<meta data='{productAsJSON}'/>";
                var productOptionButton = new CardAction(type: "imBack", title: buttonText, value: hiddenData);
                buttons.Add(productOptionButton);
            }
            return buttons;
}

Currently hiddenData is having 1222 chars which causes the error.
Thanks in advance.

This is facebooks limitation, not ours.  You apparently can't do what you are trying to do.


Avoid hard-coding year in cucumber features

This test tries to fill in a release date for a stats announcement which must be in the future and can go up to 5 years in the future.
Changed it to be a year in the future, instead of the hard-coded value of 2014 which is in the past.

:+1:


Add bandwidth chaos

Feature Request
Is your feature request related to a problem? Please describe:

Sometimes bandwidth limit and chaos is necessary for multi cloud
Describe the feature you'd like:

We can limit some pod output bandwidth is 50Mb
Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Duplicate with #303


Send from MFA organisational accounts

As a big fan of the charmbracelet ecosystem, I am so excited to see pop 😄
Would the ability to send mail from an institutional Outlook address be at all achievable?

Hey @shemraz, thanks for opening the issue. I haven't looked into institutional Outlook at all but is it possible to send email with SMTP using your account, if so then it should definitely be possible.
Alternatively, if there's some sort of API key that you can use, we could hook into that.

Hey @maaslalani !
I've tried sending an email using my institutional Outlook account, but it throws with this error:

I'm certain I have all the POP_SMTP_* env vars set correctly. I also tested it with my personal Outlook account and it worked like a charm. I assume the error is because my organisation/Office365 requires an OAuth connection.
I'm not too familiar with this sort of stuff, but you may find the Microsoft Graph Outlook Mail API useful. See also sendMail action and [Microsoft Graph SDK for Go[(https://github.com/microsoftgraph/msgraph-sdk-go) which looks promising!

There was some discussion about adding this to go-simple-mail but I don't think this has been taken further. However, go-mail fully supports XOAUTH2. See SMTPAuthType in the go-mail documentation.
Perhaps pop could have an --auth.method flag and use the go-mail API to handle XOAUTH2 requests? This may be simpler than having pop itself handling authentication via the Microsoft Graph API. Looks achievable! Would love to help in any way that I can, although my Go knowledge is limited.


Support out-of-tree builds

Original author: Nikhil Jain
Original issue: https://charm.cs.illinois.edu/redmine/issues/59

--destination is buggy. --prefix should be supported.

Original date: 2013-06-03 20:19:36

Need to go looking for relative path references that go outside of the linked build tree.

Original date: 2013-10-02 20:11:53

This isn't going to happen in the very near term that we want to do the release on, so pushing it back.
Just a quick note, also, that charmxi is now built in a way that will allow for out-of-tree compilation.

Original author: Nikhil Jain
Original date: 2014-01-06 04:29:20

Important from software maintenance. Updating to remind myself.

Original date: 2014-07-02 23:19:24

Change 304 almost fully implements this. On systems that provide realpath, the build script can be run from anywhere to create the build tree and compile Charm++. Within that generated tree, makefiles and such all appear to work as intended.

Original date: 2015-01-30 22:48:52

Dusted off http://charm.cs.uiuc.edu/gerrit/#/c/304/ and found that it is closer to ready than previously thought.


support sentry extension

Is your feature request related to a problem? Please describe.

Elegantly support sentry

Additional context
Refer to :

https://github.com/getsentry/sentry-go
https://github.com/gofiber/contrib/tree/main/fibersentry

I want to finish this task.

@gityh2021  thanks