Python: Introduce the function calling stepwise planner

Motivation and Context
To further align with the SK dotnet SDK and its functionality, the Python SDK needs a function calling stepwise planner. Now that we have auto tool calling available, it makes sense to introduce this planner.

Description
This PR:

Introduces the function calling stepwise planner, its planner options, and planner result. Closes #4642
Introduces a kernel example function_calling_stepwise_planner.py to exercise the planner and show how it works.
Adds unit tests and an integration test.

Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Python Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1898257%119–120, 145–151, 166–169, 178–181, 187–219, 225–227, 244–246, 260–263, 276–299, 312, 320, 326–332, 344–350, 359, 381–382semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL4850102079%
Python Unit Test Overview

Tests
Skipped
Failures
Errors
Time

990
11 :zzz:
0 :x:
0 :fire:
18.557s :stopwatch:

Python Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1898257%119–120, 145–151, 166–169, 178–181, 187–219, 225–227, 244–246, 260–263, 276–299, 312, 320, 326–332, 344–350, 359, 381–382semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL4850102079%
Python Unit Test Overview

Tests
Skipped
Failures
Errors
Time

990
11 :zzz:
0 :x:
0 :fire:
16.937s :stopwatch:

Python Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1898257%119–120, 145–151, 166–169, 178–181, 187–219, 225–227, 244–246, 260–263, 276–299, 312, 320, 326–332, 344–350, 359, 381–382semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL4850102079%
Python Unit Test Overview

Tests
Skipped
Failures
Errors
Time

990
11 :zzz:
0 :x:
0 :fire:
15.305s :stopwatch:

Python Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1898257%119–120, 145–151, 166–169, 178–181, 187–219, 225–227, 244–246, 260–263, 276–299, 312, 320, 326–332, 344–350, 359, 381–382semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL4850102079%
Python Unit Test Overview

Tests
Skipped
Failures
Errors
Time

990
11 :zzz:
0 :x:
0 :fire:
20.848s :stopwatch:

Python Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1898257%119–120, 145–151, 166–169, 178–181, 187–219, 225–227, 244–246, 260–263, 276–299, 312, 320, 326–332, 344–350, 359, 381–382semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL4850102079%
Python Unit Test Overview

Tests
Skipped
Failures
Errors
Time

990
11 :zzz:
0 :x:
0 :fire:
18.628s :stopwatch:

Python Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1898257%119–120, 145–151, 166–169, 178–181, 187–219, 225–227, 244–246, 260–263, 276–299, 312, 320, 326–332, 344–350, 359, 381–382semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL4850102079%
Python Unit Test Overview

Tests
Skipped
Failures
Errors
Time

990
11 :zzz:
0 :x:
0 :fire:
16.816s :stopwatch:

Python 3.9 Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1606162%107, 133–139, 154–157, 166–169, 179–202, 208–210, 227–229, 252, 260, 266–272, 284–290, 302–303, 317, 344–347, 349–352semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL494292081%
Python 3.9 Unit Test Overview

Tests
Skipped
Failures
Errors
Time

1026
2 :zzz:
0 :x:
0 :fire:
21.347s :stopwatch:

Python 3.8 Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1606261%107–108, 133–139, 154–157, 166–169, 179–202, 208–210, 227–229, 252, 260, 266–272, 284–290, 302–303, 317, 344–347, 349–352semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL480592781%
Python 3.8 Unit Test Overview

Tests
Skipped
Failures
Errors
Time

1026
11 :zzz:
0 :x:
0 :fire:
15.321s :stopwatch:

Python 3.11 Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1606261%107–108, 133–139, 154–157, 166–169, 179–202, 208–210, 227–229, 252, 260, 266–272, 284–290, 302–303, 317, 344–347, 349–352semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL494891981%
Python 3.11 Unit Test Overview

Tests
Skipped
Failures
Errors
Time

1026
1 :zzz:
0 :x:
0 :fire:
15.947s :stopwatch:

Python 3.10 Test Coverage Report • FileStmtsMissCoverMissingsemantic_kernel/connectors/ai/open_ai/services   open_ai_chat_completion_base.py1606261%107–108, 133–139, 154–157, 166–169, 179–202, 208–210, 227–229, 252, 260, 266–272, 284–290, 302–303, 317, 344–347, 349–352semantic_kernel/functions   kernel_plugin_collection.py791285%51, 56, 65, 67, 97, 115, 118–119, 140, 155, 169, 233TOTAL494891981%
Python 3.10 Unit Test Overview

Tests
Skipped
Failures
Errors
Time

1026
1 :zzz:
0 :x:
0 :fire:
18.823s :stopwatch:


Check some grammar errors

Please delete your own version, fork the latest version, revise, and have a pull request to the main branch.


Sample code issues

It states "...and we won't be showing the using statements or the definition of the class scope again in the snippets until we show the final code" and then there is no final code section, the usings are not shown again.
In the MeasureOverride code there is a returnSize variable declared that isn't used.
The code for LimitUnboundedSize has a comment that starts with "This method is called only if one of the availableSize..." but as far as I can tell it is always called regardless of what availableSize is set to.
In the Refinement section the property is declared as UseSquareCells but then is later referred to by the name UseOppositeRCRatio.

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

ID: 0cda75f7-1ca1-75c6-87dc-842172f6c6d6
Version Independent ID: 739f61da-913f-2a16-50a4-3607de40ed9d
Content: BoxPanel, an example custom panel (Windows apps) - Windows apps
Content Source: hub/apps/design/layout/boxpanel-example-custom-panel.md
Product: uwp
Technology: apps
GitHub Login: @hickeys
Microsoft Alias: hickeys

I have been unable to locate the sample. I've cleaned up the snippets as best I can based on your feedback. If you think more changes are required, please reopen this issue.


Timeline filter button is blurry, at least on non-retina screens

Compare ours (bottom)with Mail’s (top):

I've updated the assets that are used for the filter button.  They should look better at 1x resolution, but I don't have any way to check for sure.


Azure web app accessing SQL as user tutorial invalid for Gov

The Azure tutorial for setting up a web app that impersonates the user with Microsoft Identity is both out-of-date (the materials it references have changed), and more importantly, don't seem to work for gov cloud.
Gov Cloud does not have access to Cloudshell. and the commands provided don't work.
Tutorial: https://learn.microsoft.com/en-us/azure/app-service/tutorial-connect-app-access-sql-database-as-user-dotnet?tabs=ef%2Cdotnet&tryIt=true#code-try-2
In step 4, running the command authSettings=$(az webapp auth show --resource-group <group-name> --name <app-name>) results in this error:
'authSettings={   id: /subscriptions/REDACTED/resourceGroups/REDACTEDGroup/providers/Microsoft.Web/sites/REDACTED/config/authsettingsV2,   location: USGov' is misspelled or not recognized by the system.
The actual location is "USGov Virginia".
Note that the URIs are also different and Gov Cloud has very poor documentation compared to the normal.

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

ID: f7843ea6-6551-9ba8-afd2-45e7be74074d
Version Independent ID: 87efe8c1-a5f1-49d2-0928-745ff26b2080
Content: Tutorial - Web app accesses SQL Database as the user - Azure App Service
Content Source: articles/app-service/tutorial-connect-app-access-sql-database-as-user-dotnet.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@Aashishkebab
Thanks for your feedback! We will investigate and update as appropriate.

Aashishkebab, Azure Cloud Shell in Azure Government is only accessible through the Azure portal.
It's documented in the doc  Troubleshooting & Limitations of Azure Cloud Shell || Azure Government limitations. Thanks for your feedback

Aashishkebab, Azure Cloud Shell in Azure Government is only accessible through the Azure portal.
It's documented in the doc  Troubleshooting & Limitations of Azure Cloud Shell || Azure Government limitations. Thanks for your feedback

We use GCCH and there's no Cloud Shell in the portal that I could find. Regardless I got it to work with PowerShell locally, I just had to change the syntax.
But I'm still having issues.
Step 4 is the relevant one and where I am stuck. It wants me to run the following commands:
authSettings=$(az webapp auth show --resource-group <group-name> --name <app-name>)
authSettings=$(echo "$authSettings" | jq '.properties' | jq '.identityProviders.azureActiveDirectory.login += {"loginParameters":["scope=openid profile email offline_access https://database.windows.net/user_impersonation"]}')
az webapp auth set --resource-group <group-name> --name <app-name> --body "$authSettings"

Since it's Gov Cloud, the URI is different.
The final step fails with this error:
unrecognized arguments: profile email offline\_access
[https://database.usgovcloudapi.net/user\_impersonation]
(https://database.usgovcloudapi.net/user_impersonation)\]       },
registration: {         clientId: REDACTED,         clientSecretSettingName:
MICROSOFT\_PROVIDER\_AUTHENTICATION\_SECRET,         openIdIssuer:
[https://sts.windows.net/REDACTED/v2.0](https://sts.windows.net/REDACTED/v2.0)},
validation: {         allowedAudiences: \[           api://REDACTED         \],
defaultAuthorizationPolicy: {           allowedPrincipals: {}         },
jwtClaimChecks: {}       }     },     facebook: {       enabled: true,
login: {},       registration: {}     },     gitHub: {       enabled: true,
login: {},       registration: {}     },     google: {       enabled: true,
login: {},       registration: {},       validation: {}     },
legacyMicrosoftAccount: {       enabled: true,       login: {},
registration: {},       validation: {}     },     twitter: {       enabled: true,
registration: {}     }   },   login: {     allowedExternalRedirectUrls: \[\],
cookieExpiration: {       convention: FixedTime,       timeToExpiration: 08:00:00
},     nonce: {       nonceExpirationInterval: 00:05:00,       validateNonce: true
},     preserveUrlFragmentsForLogins: false,     routes: {},     tokenStore: {
azureBlobStorage: {},       enabled: true,       fileSystem: {},
tokenRefreshExtensionHours: 72     }   },   platform: {     enabled: true,
runtimeVersion: \~1   } }

Apologies for the delay from over the weekend.
Typically, the GCC-High environment has different authentication settings compared to the regular Azure environment.
Please take a look at this doc : Cloud feature availability for commercial and US Government customers
The doc steps doesn't apply to Azure Government cloud. I would request you to file a support ticket for a quick and specialized 1:1assistance. Thanks for your understanding and cooperation.

Apologies for the delay from over the weekend.
Typically, the GCC-High environment has different authentication settings compared to the regular Azure environment.
Please take a look at this doc : Cloud feature availability for commercial and US Government customers
The doc steps doesn't apply to Azure Government cloud. I would request you to file a support ticket for a quick and specialized 1:1assistance. Thanks for your understanding and cooperation.

Hello,
Thanks for the response. Unfortunately support is another separate charge that's really expensive for GCCH, and not available for trial customers.


Update BodyPart API

Mark String name() and String filename() as deprecated, indicate that they will be replaced in 3.0.0 with a variant that returns Optional<String>,
Provide a method isNamed(Boolean) to test the control name in a nice manner.

@tomas-langer


Diabetic Retinopathy #5

Second pass for diabetic retinopathy variables after abstractor review. Made changes to the extract and build steps of:

diabretinop_type
dmacedema_cmt
hemorrhage_typ_dr
nva_yesno
nvd_yesno
nve_yesno
nvi_yesno

Hi David,
That is a great point, I can break it out into pattern components like VA.
Thanks,
Will
From: dcronkite @.>
Sent: Saturday, December 3, 2022 12:58 PM
To: kpwhri/act_eye_extractor @.>
Cc: Will I Bowers @.>; Author @.>
Subject: Re: [kpwhri/act_eye_extractor] Diabetic Retinopathy #5 (PR #8)
Caution: This email came from outside Kaiser Permanente. Do not open attachments or click on links if you do not recognize the sender.

@dcronkite commented on this pull request.

In src/eye_extractor/dr/hemorrhage_type.pyhttps://urldefense.com/v3/__https:/github.com/kpwhri/act_eye_extractor/pull/8*discussion_r1038870978__;Iw!!BZ50a36bapWJ!oMafY8Xg4Mn5uGTyykiJd7hW3j-DMXn835FYycfP4TjDnxxxJfosVtn9ucrTXIACU0vWVfSBFD0Qy0UqJ0Tosig6aQ$:

 r'|hem(orrhage|e)\s*vitreous'

 r')\b'

)
SUBRETINAL_PAT = re.compile(
 r'\b('

r'subretinal\s*hem(orrhage|e)'

r'subretinal\s*hem(orrhage|e)s?'

All of these patterns have hem(orrhage|e)s? -- might consider refactoring that out into a variable so you only need to change it once.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/kpwhri/act_eye_extractor/pull/8*pullrequestreview-1203573151__;Iw!!BZ50a36bapWJ!oMafY8Xg4Mn5uGTyykiJd7hW3j-DMXn835FYycfP4TjDnxxxJfosVtn9ucrTXIACU0vWVfSBFD0Qy0UqJ0TpFYF_Hw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZNQFAQR43IYJ3P5UKPQ7BDWLOX3XANCNFSM6AAAAAASSNBWQE__;!!BZ50a36bapWJ!oMafY8Xg4Mn5uGTyykiJd7hW3j-DMXn835FYycfP4TjDnxxxJfosVtn9ucrTXIACU0vWVfSBFD0Qy0UqJ0TFXfGOHg$.
You are receiving this because you authored the thread.Message ID: @.***>
NOTICE TO RECIPIENT:  If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents.  If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. v.173.295  Thank you.


fix(injected): parse injections

On nightly, the injected formatter doesn't work.
parse(true) needs to be used to parse injections.
See also https://github.com/folke/noice.nvim/pull/571
Caused by upstream change: https://github.com/neovim/neovim/commit/2ca076e45fb3f1c08f6a1a374834df0701b8d778

Disabled the diagnostic to pass the typecheck github action.
This new param is available on nightly, but not on stable
Stable doesn't have any parameters, so it's safe to always pass true

Agh, of course nightly. Thanks for the fix!

Thanks for merging! :)


Update project settings for Swift 4

Should we target Swift 4 / betas on master?

We will probably want to keep branches for previous versions of Swift.

@voidref Aren't the tags in the readme compatibility table enough?

It depends on if there will ever be a need for back porting fixes.
Tags should be enough for the package managers though.


Feat: add back button option component once user reaches settings page

closed with https://github.com/RichmondCroft/dyslens/pull/58


Doom: Column value outside range when resizing small windows sizes

Describe the bug
Sometimes working with small Neovim terminal windows and moving the cursor
raises this error:
Error detected while processing CursorMoved Autocommands for "<buffer=1>":
Error executing lua callback: ...ectos/Neovim/dashboard-nvim/lua/dashboard/theme/doom.lua:142: Column value outside range
stack traceback:
	[C]: in function 'nvim_win_set_cursor'
	...ectos/Neovim/dashboard-nvim/lua/dashboard/theme/doom.lua:142: in function <...ectos/Neovim/dashboard-nvim/lua/dashboard/theme/doom.lua:119>

To Reproduce

In a small terminal window, the font and window size is key here. In the
video font is at 15pt and 68 x 33 characters size.
First open neovim and move the cursor.
Move the cursor to an entry with a multirow character icon. Works fine
Resize the window to a smaller size
Resize the window back to the previous working size
Move the cursor to the same entry. Raise the error.

Check the video:
https://github.com/nvimdev/dashboard-nvim/assets/24460484/523ef9cd-d515-4a70-9c91-25e397569745

Fix by #462


Feature Request: DSL

Hi James,
Please take this issue in the spirit it was written - as constructive feedback.
I have been using Elm-GraphQL for a few weeks now and I am sorry to say that I really find the
query builders hard to use, and difficult to read compared the raw queries themselves in GraphQL format.
I think the problem is that the syntax is quite far removed from GraphQL. The success of elm-lang/html largely comes from the fact that people almost don't have to learn any new concepts e.g. anchor tag is still JUST a, and onClick is onClick.
I think it would be a good idea to implement a DSL ala elm-lang/html for Elm-GraphQL.
I haven't spent alot of time thinking about the format, but to give you an idea of what I am talking about it would be something along the lines of:
query [
  taggedField MyTagFoo "viewer" (selection [(myArg 1), (id "123")] [
    field "name"
    field "height"
  ]),
  taggedField MyTagBar "viewer" (selection [(myArg 2)] [
    field "name"
    field "age"
  ])
]

If you find this interesting I would love to help figuring out how to build this, maybe on top of your builders.

@anagrius I just wanted to point out that using a list here wouldn't allow you to build up the decoder.  The compiler loses some type information when you build it up into a list (the compiler doesn't know whether a list contains 0 items or 3, and they must all have the same type). A good place to look for inspiration for a DSL would be the json-decode and json-decode-pipeline packages, since they also build up decoders where the compiler is incrementally building up types. I hope that helps!

@dillonkearns Sure thanks. I just want to get a dialog about what is possible and how we could solve it in an elegant way. 👍

Absolutely, I think it's a great discussion. Just wanted to point that out to help make sure it's as productive as possible 👍

@anagrius Sorry for the delayed response, I haven't been very active with this project this month. I understand where you're coming from about the difficulty of using the query builder DSL. Unfortunately, as hinted at by @dillonkearns in his comment, a lot of the complexity of the interface is inherent to the problem of trying to build up a JSON decoder along with the representation of the query document.
There were of course various choices and trade-offs I made along the way in designing the current DSL, and some of those choices added slightly to the complexity for the sake of having better type-safety. But if you want to keep the requirement of building up decoders automatically, then there's only so much you can do.
Because of this, I don't have any plans for overhauling the DSL. Instead, I think a better place to put development effort for improving the user experience is in generating Elm code from GraphQL query documents:
https://github.com/jamesmacaulay/elm-graphql/issues/25
This isn't a trivial task, so I'm not sure when it'll be done. In the meantime, if you want a simpler DSL like the one you describe and you don't mind writing separate decoders, there's this other GraphQL package:
http://package.elm-lang.org/packages/ghivert/elm-graphql/latest
And if you want to write queries in GraphQL and generate Elm code from that right now, there's this project which kind of died a while ago and didn't work in recent versions of Elm but people have forked it and maybe it works now:
https://github.com/Blissfully/elm-graphql

Also @dillonkearns released this package recently which generates a nice DSL from a GraphQL schema:
http://package.elm-lang.org/packages/dillonkearns/graphqelm/latest

I'm going to close this issue for the reasons described above, but if you want to try your hand at making a better DSL then I don't want to discourage you — it was a great learning experience for me and a lot of fun :) You could either fork this project and write a new ...Builder module from scratch, or perhaps build something on top of my DSL that suits your tastes better.


[Question] Unit testing an endpoint that uses SendBytesAsync

Hi,
I have the following question(s):

Should we write unit tests for Endpoints with SendBytesAsync and check the resulted byte array or this should be an Integration/e2e test
If yes, how can we obtain byte array sent in an unit test.

we can use this endpoint as example
public class Endpoint : EndpointWithoutRequest
{
   private static readonly byte[] content = Encoding.UTF8.GetBytes("abcdefghijklmnopqwstuvwxyz");

   public override void Configure()
   {
       Get("/test-cases/range");
       AllowAnonymous();
   }

   public override Task HandleAsync(CancellationToken ct)
   {
       return SendBytesAsync(content, contentType: "text/plain");
   }
}

    [Fact]
    public async Task ShouldReturnCorrectBytes()
    {
        // Arrange
        var endpoint = Factory.Create<Endpoint>();

        //Act
        await endpoint.HandleAsync(CancellationToken.None);

        // Assert
        endpoint...
    }

Best regards
// Ion

it would be integration tests such as these:
https://github.com/FastEndpoints/FastEndpoints/blob/c9834c6cfadf4cfefd17194e71353910ced92d2c/Tests/IntegrationTests/FastEndpoints.IntegrationTests/WebTests/MiscTestCases.cs#L680-L734


Issue: OCR: unable to recognise text from picture

unable to recognise the text from the picture as the function is called on the full image

Issue closed with commit 98f0052


Merge release 1.6.2

Signed-off-by: Michael Crosby<EMAIL_ADDRESS>Conflicts:
VERSION

LGTM

merge it

merge it

LGTM


Machine mac-4 went dead from network monitoring website but I can login remotely fine from my end.

Machine mac-4 went dead from network monitoring website but I can login remotely fine from my end.

Machine mac-4 is up and running.
flutter@flutter-devicelab-mac-4 ~ % uptime
11:05  up 44 mins, 3 users, load averages: 0.99 1.04 1.07

Machine mac4 is back online and ready for use. Problem has been fixed by upgrading software M2crypto from v0.36.0 to v0.38.0.


definition javascript Object prompt error: [ts]  “;”

set "typescript.validate.enable": false is Ok

Please share the text of the code along with all screenshots

This is a duplicate of #54261

It is not

sorry "typescript.validate.enable": false is not ok.
this is ok:
const config = {
  "": ""
}

@ganxunzou Your first example is not a valid JavaScript file. The braces are interpreted as a block, not an object literal


Initializing Parse Object SDK 1.6.14 undefined attributes

Hello
Up until 1.6.14 my code has worked to instantiate my Parse Object attributes.
I'm calling the initialize method backbone-esq (not using the object-arguments style)
A sample:
var StudentFriend = Parse.Object.extend("StudentFriend", {             fields: [                 "street",                 "number",                 "postal_code",                 "city",                 "email",                 "phone",                 "mobile",                 "description",                 "skills"             ],             initialize: function (street, number, postal_code, city, email, phone, mobile, description, skills) {                 Parse.Object.prototype.initialize.apply(this, arguments);                 console.log(email);                 this.street = street;                 this.number = number;                 this.postal_code = parseInt(postal_code);                 this.city = city;                 this.email = email;                 this.phone = phone;                 this.mobile = mobile;                 this.description = description;                 this.skills = skills;                 var acl = new Parse.ACL(ngParse.User.current());                 acl.setRoleReadAccess("business", true);                 acl.setRoleWriteAccess("admin", true);                 this.setACL(acl);                 console.log(this);                 //Met cloudcode moet bij het toevoegen van een vriend een rol worden toegevoegd aan het indiviueel                 //studentFriend object zodat deze vriend READ access krijgt tot dit object.             }         });         return StudentFriend;
When logging 'this', up until version 1.6.14 of the javascript SDK, the this object (the parse-object) returned my attributes as the arguments i set them to.
In version 1.6.14, all of the get methodes return undefined (also undefined is being saved to the server)(logging this.attribute returns the set value though)
I do not know why this behaviour has changed since 1.6.14 nor do I know how to adapt my code the work in a similar fashion (calling this.set("param",param) also fails.

did you ever figure out how to solve this ?

rasied again as #322, fixed in 03d14a0


Add keras.ops.searchsorted

This is commonly used for spline transformations.

Codecov Report
Attention: Patch coverage is 45.83333% with 13 lines in your changes missing coverage. Please review.

Project coverage is 57.21%.

Files
Patch %
Lines

keras/src/ops/numpy.py
50.00%
5 Missing :warning:

keras/src/backend/numpy/numpy.py
33.33%
2 Missing :warning:

keras/src/backend/tensorflow/numpy.py
33.33%
2 Missing :warning:

keras/src/backend/torch/numpy.py
50.00%
2 Missing :warning:

keras/api/_tf_keras/keras/ops/__init__.py
0.00%
1 Missing :warning:

keras/src/backend/jax/numpy.py
50.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (558d38c) and HEAD (ed4bfaa). Click for more details.
HEAD has 3 uploads less than BASE
| Flag | BASE (558d38c) | HEAD (ed4bfaa) |
|------|------|------|
|keras|4|1|

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19922       +/-   ##
===========================================
- Coverage   79.02%   57.21%   -21.81%
===========================================
  Files         499      499
  Lines       46436    46460       +24
  Branches     8548     8549        +1
===========================================
- Hits        36695    26583    -10112
- Misses       8015    18230    +10215
+ Partials     1726     1647       -79

Flag
Coverage Δ

keras
57.21% <45.83%> (-21.67%)
:arrow_down:

keras-jax
?

keras-numpy
57.21% <45.83%> (-0.01%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Converted to draft because I will add a test

I opted to try to maximize support for N-D searchsorted (because this is my use-case). However, numpy does not support it. JAX supports it by vmapping, which I implemented.
If you have better suggestions on how we can support N-D searchsorted, I would be happy to implement them.

Thanks for the PR!

I opted to try to maximize support for N-D searchsorted (because this is my use-case). However, numpy does not support it. JAX supports it by vmapping, which I implemented.

Since we support vmapping APIs, we could simply not implement N-D support for this op. We should try to stay as close to NumPy as possible in order to minimize user surprise.
A TF test seems to be failing:
>           assert knp.all(knp.searchsorted(a, v) == expected)

keras/src/ops/numpy_test.py:3990:
...
E     tensorflow.python.framework.errors_impl.InvalidArgumentError:
cannot compute Equal as input #1(zero-based) was expected to be a int32 tensor but is a int64 tensor

we could simply not implement N-D support for this op.
You make a good point. In that case, should we raise an error if the user passes an N-D sorted_sequence then, or let the backend handle it if it is incompatible? Raising would make the function truly agnostic, but prevent using built-in N-D support for backends that do support it.

A TF test seems to be failing
We can drop the part that is failing if we only support 1-D.

In that case, should we raise an error if the user passes an N-D sorted_sequence, or let the backend handle it if it is incompatible?

Better to do it in each backend function I think!

@fchollet I implemented your requested changes, raising the error in each backend function, respectively. However, I currently do not know of a way to raise the error appropriately in the SearchSorted.symbolic_call method. This is for two reasons:

ndim returns different output for symbolic vs. non-symbolic tensors
symbolic_call is called with both symbolic and non-symbolic input (see e.g. the NumpyDtypeTest tests)

Rather than using the function ndim() you could use len(shape(x)), which works the same everywhere?


Fix characters deprecation

Fixes #163

Codecov Report

Merging #164 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #164   +/-   ##
=======================================
  Coverage   26.64%   26.64%
=======================================
  Files          13       13
  Lines        1963     1963
=======================================
  Hits          523      523
  Misses       1440     1440

Impacted Files
Coverage Δ

Source/SWXMLHash+TypeConversion.swift
58.74% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d54bf34...c320f1d. Read the comment docs.


cordova-plugin-googlemaps and Android 4.*

Hello! Thanks for great plugin!
Is it possible to use cordova-plugin-googlemaps with Android 4.*?
Thanks.

This plugin works on Android 4.2 and over.


[QUESTION] Render AR object only after scaning a specific picture / shape

The task i am trying to complete is to render a simple object in AR view but only after scanning a specific picture or a shape. For example scanning a red triangle on a pice of paper would render a shape above it.
Can somebody with more experience in AR point me on how hard / easy (or possible) that is? Not looking for a implementation , just a general guideline.

Hi @stajics,
You can use an image tracking cloud or client service that can give you a 2d bounding box of the object you are trying to recognize. Then if you know the actual size of the object and the FOV(field of view) of the camera on the device you can use those variables with some math to project a point in 3d space which you can use to anchor your objects near or around the actual object.
We are looking into ways to make this easier within the Viro platform. But for now, the above should give you a starting point for implementing your use case.

Thanks for the answer.
Can I get those variables using Viro platform components now? Or i will need to tinker with the native code too?

Hi @stajics,
You'll have to use a client service or cloud service to provide you a 2d bounding box of the image you want recognized.  Regarding the FOV, you would need to write a native module to get this.


Wrong or missing Type inference on indexed types

Bug Report
The type inference on index base interfaces/types is not working as expected. And have not found any resource that this might be the correct behavior.
To my understanding this is a Bug, but maybe i am missing here some context.
🔎 Search Terms

type inference on indexer

🕗 Version & Regression Information
Tested it in the playground with 4.x up to 4.4-beta
⏯ Playground Link
Playground link with relevant code
💻 Code
// indexed signature with generic for the key
type SupportedEventsType<TEventTypes extends string> = {
    readonly [ eventName in TEventTypes]?: EventListener;
}

// same but as an interface definition is not working,
// I do not understand why? Thats not the main Issue, but is maybe related
interface SupportedEventsInterface<TEventTypes extends string> {
    readonly [ eventName in TEventTypes]?: EventListener;
    // readonly [ eventName: TEventTypes]?: EventListener;
    // readonly [ eventName: TEventTypes]: EventListener;
}

// define a union type with supported events
type ComponentSupportedEventTypes = "onClick" | "onMouseOver"| "onMouseOut";

// define a non generic short cut type
type ComponentEvents = SupportedEventsType<ComponentSupportedEventTypes>;

// Alternative declarations also not helped me to solve this
// type ComponentSupportedEventTypes = "Click" | "MouseOver"| "MouseOut";
// type ComponentEvents = {
//     readonly [name in `on${ ComponentSupportedEventTypes }`]?: EventListener;
// }
// export type ComponentEvents = {
//     readonly [ name in "onClick" | "onMouseOver"| "onMouseOut" ]?: EventListener;
// }

// above resolves to the following which looks good
// type ComponentEvents = {
//     readonly onClick?: EventListener | undefined;
//     readonly onMouseOver?: EventListener | undefined;
//     readonly onMouseOut?: EventListener | undefined;
// }

// simplified mimic impl. of the useMemo from react
function useMemo<TResult>( factory: () => TResult ): TResult {
    return factory();
}

// define handlers with direct assignment and strict typing
const handlers_1: ComponentEvents = {
    onClick(){},
    showError: true, // showing the error as property showError not exists on ComponentEvents
};

// Case 1:
// define handlers with useMemo assignment and strict typing
const handlers_2: ComponentEvents = useMemo( () => ({
    onClick(){}, // this is satifying the type and ignores all the rest of the properties
    showError: false, // NOT showing an error?
}));

// Case 2
// define handlers with useMemo assignment and strict typing
const handlers_3: ComponentEvents = useMemo<ComponentEvents>( () => {
    return {
        onClick(){},
        showError: false, // NOT showing the error?
    };
});

// Define dedicate Props interface and extending ComponentEvents
interface ComponentProps extends ComponentEvents {
    readonly id: string;
    readonly title?: string;
}
// define handlers with direct assignment and strict typing
// error about missing id as it is required
const props_1: ComponentProps = {
    onClick(){}
};

// Case 3
// define handlers with useMemo assignment and strict typing
// error about missing id as it is required
const props_2: ComponentProps = useMemo( () => ({
    onClick(){},
    showError: false, // NOT showing the error?
}));

// Case 4
// define handlers with useMemo assignment and strict typing
const props_3: ComponentProps = useMemo<ComponentProps>( () => {
    return {
        id: "123",
        onClick(){},
        showError: false, // NOT showing the error?
    };
});

// Case 5
// spreading with memoized handlers
const handlers: ComponentEvents = useMemo(() => {
    return {
        onClick(){}, // this is satisfying the type and ignores all the rest of the properties
        one: "proper", // should show error
        handler: "defined" // should show error
    };
});

const typeProps: ComponentProps = { id: "123", ...handlers }; // spreading is not properly inferring the types, should show error

const inferredProps = { id: "123", ...handlers };
type InferredType = typeof inferredProps;

🙁 Actual behavior
Language server is not highlighting errors where i have expected them.
🙂 Expected behavior
I expect that the TS language server highlights errors that the types are mismatching as i assign properties that are not defined in the types.
// expect error that types are mismatching, one and handler are not known properties in type ComponentEvents
const handlers: ComponentEvents = useMemo(() => {
    return {
        onClick(){},
        one: "proper",
        handler: "defined"
    };
});

// expect error spreading is not properly inferring the types, should show error
const typeProps: ComponentProps = { id: "123", ...handlers };

highlights errors that the types are mismatching as i assign properties that are not defined in the types.

Extra properties are not a type mismatch. It's perfectly valid. Only for some object literals a feature named "excess property checks" kicks in, but this is more of a linter feature and not a type error.
In your example you did not provide a return type for the function you pass to useMemo, so the type is inferred. As a result the return type of useMemo is inferred as well. When assigning the result to your ComponentEvents typed variable the compiler will perform a type check whether the types are compatible, which is the case here (as additional properties are acceptable).
When you add a type annotation to your function you will get the behaviour you expected:
useMemo( (): ComponentEvents => ({ ... }))

Thanks for the reply and explanation @MartinJohns,
I understand it but still seams a bit contradicting, why are additional properties in inferred types are valid?
Even when i provide a type to the generic, but it seams like this is only casting it to the provided Generic in contrast to the explicit  return type of the Arrow Function expression.
const handlers: ComponentEvents = useMemo<ComponentEvents>(() => {
    return {
        onClick(){},
        one: "proper",
        handler: "defined"
    };
});

useMemo( (): ComponentEvents => ({ ... }))

I wanted to avoid the explicit typing of the return type as i "hoped" that type inference would handle this for a leaner DX.
Thanks for explaining that this is an intended and valid behavior.
Have a nice Sunday, Alex

Even when i provide a type to the generic, but it seams like this is only casting it to the provided Generic in contrast to the explicit return type of the Arrow Function expression.

Let's take apart this code. I'm using my simplified example for this.
const result: Foo = useMemo<Foo>(() => { return { a: '', b: '' }; })`

You pass a function as first argument to useMemo. The return type of this function is not specified, so it's inferred based on the returned value: { a: string, b: string }
So the argument you pass is actually typed () => { a: string, b: string }.
Next TypeScript will check if this type is compatible with the type expected for the argument of useMemo, which is typed () =>Foo.
For this TypeScript will check compatibility with the return type of both functions: Foo and { a: string, b: string }.
{ a: string, b: string }  is compatible with Foo, because there are no missing or incompatible properties.
useMemo returns the type Foo, which is then assignable to the Foo typed variable.

Thanks again @MartinJohns ,
very well explained.

{ a: string, b: string } is compatible with Foo, because there are no missing or incompatible properties.

makes it clear to me.


Sticky scroll no longer shows first line of function definition (i.e. function name)

Type: Bug
Current update has changed sticky scroll behaviour: it now only shows the last line of the current scope and not the first (e.g. function name) which is not informative for the cases in the examples below.
def example_function_1(
    arg1, arg2, arg3,
):   # <- Sticky scroll only shows this line
    # Rest of code
    pass

def example_function_2(
    arg1,
    arg2,
    arg3,
):  # <- Sticky scroll only shows this line
    # Rest of code
    pass

The sticky scroll only shows ): which is not helpful (assume scrolling through a longer function than the examples using pass).
 It was possibly a Pylance issue, this extension kept crashing. Consequently, I removed folders in the project that were not essential and for rarely used code I added to the settings.json in the project's .vscode folder:
{
    "python.analysis.exclude": [
        "Folder_to_exclude_1",
        "Folder_to_remove_2,
    ]
}

Also for completeness, I closed the project folder (File > Close Folder), disabled the Pylance extension, enabled the Pylance extension, closed vscode, started vscode again, and re-opened the project folder. This resulted in Pylance no longer crashing; another bug experienced during this time was the inability to detect symbols, which was also resolved.
The usual sticky scroll behaviour was restored.

/causedByExtension


Implements from from #1044

https://github.com/miekg/dns/pull/1044 see remaining comments.

these changes we're already made in #1044


Tasks throw runtime error - status is undefined

The first example in the tasks tutorial worked fine, but as soon as I hit the second tutorial and andThen got thrown into the mix everything blew up with a runtime error:
Cannot read property 'status' of undefined
Open the developer console for more details.

The error in the developer console points to Native.Task line 112.
I'm not sure what's going on but I seem to be able to trigger it via the following code:
import TaskTutorial exposing (getCurrentTime, print)
import Task exposing (Task, andThen)

port runner : Task x ()
port runner =
  getCurrentTime `andThen` print

False alarm (sorry!). After doing some digging I found out that the issue was actually in evancz/task-tutorial, not Elm core. I've opened an issue about it there instead (evancz/task-tutorial#4).


Make 3D viewport locked nodes unselectable as in 2D viewport

Godot version:
3.2 master (43a9b8c76)
OS/device including version:
Any
Issue description:
Follow-up to discussion in #26944.

So there has been some confusion here as the feature partly exists already for children of a locked nodes, which are not selectable.
What should be changed is to make things behave like in 2D, where locking also makes the locked node unselectable. The code should be kept as similar as possible as the features and behaviour should be the same for the 2D and 3D viewports. The tooltips in 2D and 3D should be adjusted to mention that they lock the position and prevent selection in the viewport.
In a later PR, it could be interesting to implement a picking mode for 2D and 3D which bypasses the selection restriction, so e.g. Ctrl+Click would let you select locked nodes (to ease finding them in the scene tree/viewing their properties/unlocking them).

Steps to reproduce:

Create 2D scene with a node and a child
Lock the parent node, see that neither parent nor child can be selected by picking in the viewport
Create 3D scene with a node and a child
Lock the parent node, see that the child cannot be selected by picking in the viewport, but the parent can still be

For anyone who wants to try solving this, the starting points would be:

editor/plugins/canvas_item_editor_plugin.cpp - that's the 2D viewport, look at the logic surrounding the _edit_lock_ metadata.
editor/plugins/spatial_editor_plugin.cpp - the 3D viewport, look also for _edit_lock_. The logic used in the 2D viewport to make locked nodes unselectable should be ported over to the 3D viewport.


feature/flashy animation

resolves #56
negative transform translations aren't working in tailwind so I had to hack it a bit with manual transitions.
I added state transitions as well for transactions list height. I had height transitions for the impact inset and balance but I think it looks too "squishy". I have it locally so I can push if you want to see
there is a flash of state where the transfer doesn't populate immediately and we show the empty list prompt, but I don't want to bloat this PR.
I'm not a fan of the spinny glo logo in the impact inset, feels needlessly distracting/draws the eye unnecessarily. open to thoughts on spinning the logo in the top

@Riglanto so it's definitely cleaner but there's weird flashes when no animation happens on the wagmi connection hook trigger, think we might be overrelying on react hooks here (using the recommended useAnimate. maybe i can switch to core animate lib, but the native impl does work!

everything works except one edge case: when we log in and the impact list mounts the render and transitions happen immediately with animate, think it's enough to push thru?

everything works, good to go 😤


[numpy] Fix mean, prod with input of empty array

Description
#16357   mean, prod
mean
>>> from mxnet import np, npx
>>> npx.set_np()
>>> a = np.array([]).reshape(2,0,0)
>>> np.mean(a)
[02:41:38] ../src/operator/numpy/np_broadcast_reduce_op.h:300: WARNING: Mean of empty slice.
array(nan)
>>> np.mean(a,dtype=int)
[02:41:55] ../src/operator/numpy/np_broadcast_reduce_op.h:300: WARNING: Mean of empty slice.
[02:41:55] ../src/operator/numpy/np_broadcast_reduce_op.h:307: WARNING: nan is outside the range ofrepresentable values of type 'int'
array(0, dtype=int64)

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-bot run ci [windows-cpu]

Thanks @Yiyan66


TImers Alarms not sounding

Briefly summarize your issue:

A timer or alarm does not sound when it should,  sometimes it will sound half an hour or so later.
What is the expected behavior?

Timer or alarm should sound when ended.
What behavior are you observing?

The alarm or timer does not sound or sometimes sounds up to an hour later.
Provide the steps to reproduce the issue, if applicable:

Set a timer and wait.
Tell us about your environment:

What version of the AVS Device SDK are you using?
  v1.11.0 released 12/19/2018

I using a raspberry pi,  I have installed AVS via the install scripts setup.sh, genConfig.sh and pi.sh as per the guide.
When running the test.sh script it fails on the following errors.
298:TimeTest.testStringConversion
301:TimeTest.testTimeConversion
298/1168 Test: TimeTest.testStringConversion
Command: "/home/rich/build/AVSCommon/Utils/test/TimeUtilsTest" "--gtest_filter=TimeTest.testStringConversion"
Directory: /home/rich/build/AVSCommon/Utils/test
"TimeTest.testStringConversion" start time: Jan 22 01:59 GMT
Output:
2019-01-22 01:59:09.313 [  1] I sdkVersion: 1.11.0
Running main() from gmock_main.cc
Note: Google Test filter = TimeTest.testStringConversion
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TimeTest
[ RUN      ] TimeTest.testStringConversion
/home/rich/avs-device-sdk/AVSCommon/Utils/test/TimeUtilsTest.cpp:44: Failure
Expected: dateTm.tm_hour
Which is: 22
To be equal to: 21
[  FAILED  ] TimeTest.testStringConversion (1 ms)
[----------] 1 test from TimeTest (1 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] TimeTest.testStringConversion
1 FAILED TEST

Test time =   0.12 sec
----------------------------------------------------------
Test Failed.
"TimeTest.testStringConversion" end time: Jan 22 01:59 GMT
"TimeTest.testStringConversion" time elapsed: 00:00:00
----------------------------------------------------------
301/1168 Test: TimeTest.testTimeConversion
Command: "/home/rich/build/AVSCommon/Utils/test/TimeUtilsTest" "--gtest_filter=TimeTest.testTimeConversion"
Directory: /home/rich/build/AVSCommon/Utils/test
"TimeTest.testTimeConversion" start time: Jan 22 01:59 GMT
Output:
----------------------------------------------------------
2019-01-22 01:59:09.560 [  1] I sdkVersion: 1.11.0
Running main() from gmock_main.cc
Note: Google Test filter = TimeTest.testTimeConversion
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TimeTest
[ RUN      ] TimeTest.testTimeConversion
/home/rich/avs-device-sdk/AVSCommon/Utils/test/TimeUtilsTest.cpp:73: Failure
      Expected: randomDate
      Which is: 524089800
To be equal to: convertBack
      Which is: 524093400
[  FAILED  ] TimeTest.testTimeConversion (0 ms)
[----------] 1 test from TimeTest (1 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] TimeTest.testTimeConversion
1 FAILED TEST

Test time =   0.07 sec
Test Failed.
"TimeTest.testTimeConversion" end time: Jan 22 01:59 GMT
"TimeTest.testTimeConversion" time elapsed: 00:00:00
Tell us what hardware you're using:

[ ] Desktop / Laptop
[x] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[x] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi @mw1fly!
Thank you for reporting this! We have found the root cause. The fix is going to be published in one of the future versions.

Thanks for opening this issue.  It has been fixed in our v1.12 release.  Thanks!

Same problem here guys. I am on Raspbian Buster Lite (Linux raspberrypi 4.19.108-v7+ #1298 SMP Fri Mar 6 18:04:35 GMT 2020 armv7l GNU/Linux). AVS SDK - 1.18.0
The date and timezone on Raspberry is ok. I checked it with date command. When you ask Alexa about he time and date it says that correctly.
So, no alarms, timers nor reminders working in my case.
There is another glitch - I set up a reminder in Alexa app on Android, the reminder did not work. I then rebooted Pi with Alexa and it announced this reminded right after booting. Then I deleted this reminder in Alexa app and rebooted my Pi with Alexa and it announced this reminder again!


Display validation messages immediately upon form load

This is a question or a feature request.   Is it possible to display the validation messages immediately upon the form loading?

Well not really immediately, but you can edit the template to do so, but I assume, you want to do it conditionally?

You might be also able to set yourFormCtrl.$triedSubmit = true with the standard template. Haven't tested it yet.

This is perfect and actually gets me closer to where I wanted to be.
I just set $triedSubmit to true and everything showed up.
Thanks for all your help (pull request included) and making the library.


Progress report behaviour is a bit weird

Hi @meadsteve
I'm running a couple hound test with white-bread,
it looks like progress reporting doesn't happen as each scenario is run but happens each feature is run

@leiyangyou thanks I'll take a look. I've not really given much attention to the progress reporting.

This is fixed by ace0feb0595196d8adcd2cccabe912b925954b8a
I'll be releasing this and #27 as a patch release in the next few days.


Add a way to look up which sources specify a certain target

This PR adds a way to look up which sources specify a certain target. This is intended to be used to provide details when an AT causes a coremod to fail, such as when a failed operated on by the field-to-method transformer is made public.

Well now the a test is failing, I'm not sure why though, your latest commit was just doc changes.
Which unfortunately means we have a flaky test, screm.  Not even sure if it's related to these changes


Publish fail after loss of connection/wifi

Hi
We have an MQTT agent running on debian linux that publishes data to Greengrass core topic.
We have observed that the publish method does not works if the device looses ethernet connection /wifi and then regains the connection.
After the wifi/ethernet connectivity is back, why does the publish not work ?
Our mqtt connection is a single connection that we construct throughout the lifetime of the agent , and we expect that after each cycle of onInterrupt/OnResume the publish should work.
Thanks
Amit Gupta

Well greengrass core is qos 0, so there’s no guarantee the message will be sent. We could look at adding offline queueing here, but it wouldn’t be spec compliant.
Sent from my iPhone

On May 17, 2019, at 2:35 PM, Amit Gupta<EMAIL_ADDRESS>wrote:
Hi
We have an MQTT agent running on debian linux that publishes data to Greengrass core topic.
We have observed that the publish method does not works if the device looses ethernet connection /wifi and then regains the connection.
After the wifi/ethernet connectivity is back, why does the publish not work ?
Our mqtt connection is a single connection that we construct throughout the lifetime of the agent , and we expect that after each cycle of onInterrupt/OnResume the publish should work.
Thanks
Amit Gupta
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

We do not want to queue the data
But the publish should work once the Ethernet/Wi-Fi resumes .
Get Outlook for Androidhttps://aka.ms/ghei36

From: Jonathan M. Henson<EMAIL_ADDRESS>Sent: Friday, May 17, 2019 8:13:12 PM
To: awslabs/aws-iot-device-sdk-cpp-v2
Cc: Amit Gupta; Author
Subject: Re: [awslabs/aws-iot-device-sdk-cpp-v2] Publish fail after loss of connection/wifi (#22)
***** EXTERNAL EMAIL *****
Well greengrass core is qos 0, so there’s no guarantee the message will be sent. We could look at adding offline queueing here, but it wouldn’t be spec compliant.
Sent from my iPhone

On May 17, 2019, at 2:35 PM, Amit Gupta<EMAIL_ADDRESS>wrote:
Hi
We have an MQTT agent running on debian linux that publishes data to Greengrass core topic.
We have observed that the publish method does not works if the device looses ethernet connection /wifi and then regains the connection.
After the wifi/ethernet connectivity is back, why does the publish not work ?
Our mqtt connection is a single connection that we construct throughout the lifetime of the agent , and we expect that after each cycle of onInterrupt/OnResume the publish should work.
Thanks
Amit Gupta
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fawslabs%2Faws-iot-device-sdk-cpp-v2%2Fissues%2F22%3Femail_source%3Dnotifications%26email_token%3DAI5PWTLQEHKAXLFKLHJESRDPV5CZRA5CNFSM4HNYR5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWDS6Q%23issuecomment-493631866&data=01|01|amit.gupta2%40hitachivantara.com|2f54f15ac8a347b95bfe08d6db259e4e|18791e1761594f52a8d4de814ca8284a|0&sdata=D9hx7BtljgmYGA2wWXOtW3uEvchChE9Cao7a5L9WPSs%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI5PWTNFRQ3CE6RSTIVZWQDPV5CZRANCNFSM4HNYR5NQ&data=01|01|amit.gupta2%40hitachivantara.com|2f54f15ac8a347b95bfe08d6db259e4e|18791e1761594f52a8d4de814ca8284a|0&sdata=7tkDZAq33rNL2r4SjN6BtyhdF5%2FqVxo6MMRj%2BW0bbqg%3D&reserved=0.

Ah, got it. I’ll track this down and get a fix out.
Sent from my iPhone

On May 17, 2019, at 6:14 PM, Amit Gupta<EMAIL_ADDRESS>wrote:
We do not want to queue the data
But the publish should work once the Ethernet/Wi-Fi resumes .
Get Outlook for Androidhttps://aka.ms/ghei36

From: Jonathan M. Henson<EMAIL_ADDRESS>Sent: Friday, May 17, 2019 8:13:12 PM
To: awslabs/aws-iot-device-sdk-cpp-v2
Cc: Amit Gupta; Author
Subject: Re: [awslabs/aws-iot-device-sdk-cpp-v2] Publish fail after loss of connection/wifi (#22)
***** EXTERNAL EMAIL *****
Well greengrass core is qos 0, so there’s no guarantee the message will be sent. We could look at adding offline queueing here, but it wouldn’t be spec compliant.
Sent from my iPhone

On May 17, 2019, at 2:35 PM, Amit Gupta<EMAIL_ADDRESS>wrote:
Hi
We have an MQTT agent running on debian linux that publishes data to Greengrass core topic.
We have observed that the publish method does not works if the device looses ethernet connection /wifi and then regains the connection.
After the wifi/ethernet connectivity is back, why does the publish not work ?
Our mqtt connection is a single connection that we construct throughout the lifetime of the agent , and we expect that after each cycle of onInterrupt/OnResume the publish should work.
Thanks
Amit Gupta
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fawslabs%2Faws-iot-device-sdk-cpp-v2%2Fissues%2F22%3Femail_source%3Dnotifications%26email_token%3DAI5PWTLQEHKAXLFKLHJESRDPV5CZRA5CNFSM4HNYR5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWDS6Q%23issuecomment-493631866&data=01|01|amit.gupta2%40hitachivantara.com|2f54f15ac8a347b95bfe08d6db259e4e|18791e1761594f52a8d4de814ca8284a|0&sdata=D9hx7BtljgmYGA2wWXOtW3uEvchChE9Cao7a5L9WPSs%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI5PWTNFRQ3CE6RSTIVZWQDPV5CZRANCNFSM4HNYR5NQ&data=01|01|amit.gupta2%40hitachivantara.com|2f54f15ac8a347b95bfe08d6db259e4e|18791e1761594f52a8d4de814ca8284a|0&sdata=7tkDZAq33rNL2r4SjN6BtyhdF5%2FqVxo6MMRj%2BW0bbqg%3D&reserved=0.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @JonathanHenson ,
Any update on this.
Thank you.

Publish is definitely not working after a connection is Resumed.

Once the callbacks were made lightweight (return immediately, and not call another AWS SDK method within the callback) this issues gets resolved


How to minify angularjs scripts?

Issues: How to minify angularjs scripts? http://goo.gl/d2t8Ox

Sorry for the late reply; I was on holiday until this morning.
Have you been able to solve your problem by now?

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @Kexkey, @mangobatao, @andrekorol, @danielmorgan, @lujin123, @odinggg, @awesomejerry


[WIP] Use correct ceph role names

Closes #1071

This should do it -- but we should do more testing before this merges.  Leaving WIP for now.

@mattt416 .gitignore needs modifying. Also, don't forget to update the commit message to remove WIP and to explain why this change is required.

Closing in favour of https://github.com/rcbops/rpc-openstack/pull/1077


only execute build stack if we have access to /var/run/docker.sock. closes #929

This solves  #929


Config & hydra

Hi, I am having some problems running test.py.
I have had a problem like:
  File "Code\CSEC\src\test.py", line 19, in main
    opt = parse_config(opt, TEST)
  File "Code\CSEC\src\utils\util.py", line 130, in parse_config
    modelname = opt[RUNTIME][MODELNAME]
omegaconf.errors.ConfigKeyError: Key 'modelname' is not in struct

which I fixed by going to cses.release.yaml and adding this line of text:
modelname:
  - csecnet

And then down the line I have had the same problem with conv_type and luma_bins. And I stopped on fixing the luma_bins as it seems I might have the wrong hydra version that messes up on reading your configs.
I have tried using hydra 1.3.2, 1.0.7 and 0.11.3, but still no use.
If you could provide the exact versions of the libraries that you have used then it would really helpful! Thank you!

I was using exactly hydra-core==1.3.2 and tested hydra-core==1.1.1. Both of them have no problems.
Initially, I included the exact versions in requirements.txt. However, some users reported version incompatibility issues. Later, I removed the specific versions and allowed pip to install whatever compatible versions based on the environment.

I have uploaded the conda environment YAML file. See if it helps.

Closing due to inactivity. Feel free to reopen if you still have questions.


Fast Test Mode for passing tests

Is your feature request related to a problem? Please describe.
Right now there are some things that make tests really slow to run

Having WinPIXEventRuntime loaded
Shaders that have many strings
Taking a PIX capture

None of these things are needed if the test succeeds, so why pay for them?
Describe the solution you'd like
I think there should be an option, which is the default that does the following:

doesn't load win pix
compiles out strings
doesn't take a pix capture

If a test does fail, then we should run it again with all of the above options reenabled. It will mean that failing tests will take slightly longer but it will mean that passing tests will be significantly faster.
Additional context
The SectionHierarchy - ByteWriter tests go from taking 50 seconds to 4 seconds when strings are compiled out. That is a huge saving. It also means that if this test were to fail with these proposed changes, it will take 54 seconds to run if it fails rather than 50 which ain't much. But will save 46 seconds on every passing run

#60 is related

#76 is related


Piping causes error: Not enough non-option arguments: got 0, need at least 1

When I try to run the code in the readme:
cat build/index.html | inline-source --root build > build/bundle.html

I get the error:
Not enough non-option arguments: got 0, need at least 1

The build/index.html looks like:
<html lang="en">
<head>
    <meta charset="utf-8">
    <script src="test.js" inline></script>
</head>
<body ontouchstart="">
</body>
</html>

The test.js looks like:
test

The output file build/bundle.html gets creted but empty.

You need to provide an unnamed argument for the entrypoint.
Something like inline-source --root build index.html.


python310Packages.oci: 2.90.0 -> 2.90.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.oci is: "Oracle Cloud Infrastructure Python SDK"
meta.homepage for python310Packages.oci is: "https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/"
meta.changelog for python310Packages.oci is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.86.0 with grep in /nix/store/ixljmc4ilkc0zzfw6g51fxp87ajf42hb-python3.10-oci-2.86.0
found 2.86.0 in filename of file in /nix/store/ixljmc4ilkc0zzfw6g51fxp87ajf42hb-python3.10-oci-2.86.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
lexicon
oci-cli
python310Packages.oci
python310Packages.ocifs
python39Packages.oci
python39Packages.ocifs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ixljmc4ilkc0zzfw6g51fxp87ajf42hb-python3.10-oci-2.86.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.oci https://github.com/r-ryantm/nixpkgs/archive/413885c3704093ffcda712e11f0d1bd330aafb1f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ixljmc4ilkc0zzfw6g51fxp87ajf42hb-python3.10-oci-2.86.0
ls -la /nix/store/ixljmc4ilkc0zzfw6g51fxp87ajf42hb-python3.10-oci-2.86.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

lexicon

5 packages built:

oci-cli
python310Packages.oci
python310Packages.ocifs
python39Packages.oci
python39Packages.ocifs

Maintainer pings
cc @ilian for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.oci is: "Oracle Cloud Infrastructure Python SDK"
meta.homepage for python310Packages.oci is: "https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/"
meta.changelog for python310Packages.oci is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.88.0 with grep in /nix/store/vkzvl7zn3kjyy3lj896dy1xvjfb5lvbv-python3.10-oci-2.88.0
found 2.88.0 in filename of file in /nix/store/vkzvl7zn3kjyy3lj896dy1xvjfb5lvbv-python3.10-oci-2.88.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
lexicon
oci-cli
python310Packages.oci
python310Packages.ocifs
python39Packages.oci
python39Packages.ocifs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vkzvl7zn3kjyy3lj896dy1xvjfb5lvbv-python3.10-oci-2.88.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.oci https://github.com/r-ryantm/nixpkgs/archive/cf3815931459da93b13c63be614c205cbac9ec0b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vkzvl7zn3kjyy3lj896dy1xvjfb5lvbv-python3.10-oci-2.88.0
ls -la /nix/store/vkzvl7zn3kjyy3lj896dy1xvjfb5lvbv-python3.10-oci-2.88.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

lexicon

5 packages built:

oci-cli
python310Packages.oci
python310Packages.ocifs
python39Packages.oci
python39Packages.ocifs

Maintainer pings
cc @ilian for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.oci is: "Oracle Cloud Infrastructure Python SDK"
meta.homepage for python310Packages.oci is: "https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/"
meta.changelog for python310Packages.oci is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.89.0 with grep in /nix/store/m3xs8yr0jhn2afh1ah16r26spkjrmd9d-python3.10-oci-2.89.0
found 2.89.0 in filename of file in /nix/store/m3xs8yr0jhn2afh1ah16r26spkjrmd9d-python3.10-oci-2.89.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
lexicon
oci-cli
python310Packages.oci
python310Packages.ocifs
python39Packages.oci
python39Packages.ocifs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m3xs8yr0jhn2afh1ah16r26spkjrmd9d-python3.10-oci-2.89.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.oci https://github.com/r-ryantm/nixpkgs/archive/301bdac8e722960ca924e9d7e7b8c33a09198b93.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m3xs8yr0jhn2afh1ah16r26spkjrmd9d-python3.10-oci-2.89.0
ls -la /nix/store/m3xs8yr0jhn2afh1ah16r26spkjrmd9d-python3.10-oci-2.89.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

lexicon

5 packages built:

oci-cli
python310Packages.oci
python310Packages.ocifs
python39Packages.oci
python39Packages.ocifs

Maintainer pings
cc @ilian for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.oci is: Oracle Cloud Infrastructure Python SDK
meta.homepage for python310Packages.oci is: https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.90.1 with grep in /nix/store/zgnpiipf7if8s6igh840q0yvgjxw0l9s-python3.10-oci-2.90.1
found 2.90.1 in filename of file in /nix/store/zgnpiipf7if8s6igh840q0yvgjxw0l9s-python3.10-oci-2.90.1

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
lexicon
oci-cli
python310Packages.oci
python310Packages.ocifs
python311Packages.oci
python311Packages.ocifs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zgnpiipf7if8s6igh840q0yvgjxw0l9s-python3.10-oci-2.90.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.oci https://github.com/r-ryantm/nixpkgs/archive/b6c5d17f5e15f7fd085033ac93150499d319f321.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zgnpiipf7if8s6igh840q0yvgjxw0l9s-python3.10-oci-2.90.1
ls -la /nix/store/zgnpiipf7if8s6igh840q0yvgjxw0l9s-python3.10-oci-2.90.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

lexicon

5 packages built:

oci-cli
python310Packages.oci
python310Packages.ocifs
python311Packages.oci
python311Packages.ocifs

Maintainer pings
cc @ilian for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.oci is: Oracle Cloud Infrastructure Python SDK
meta.homepage for python310Packages.oci is: https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.90.2 with grep in /nix/store/23xybpsywp32kqgqgi0rpv600ni8myfk-python3.10-oci-2.90.2
found 2.90.2 in filename of file in /nix/store/23xybpsywp32kqgqgi0rpv600ni8myfk-python3.10-oci-2.90.2

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
lexicon
oci-cli
python310Packages.oci
python310Packages.ocifs
python311Packages.oci
python311Packages.ocifs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/23xybpsywp32kqgqgi0rpv600ni8myfk-python3.10-oci-2.90.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.oci https://github.com/r-ryantm/nixpkgs/archive/6fde676f8f5f4711498443284eded91f4f7e4cfc.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/23xybpsywp32kqgqgi0rpv600ni8myfk-python3.10-oci-2.90.2
ls -la /nix/store/23xybpsywp32kqgqgi0rpv600ni8myfk-python3.10-oci-2.90.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

lexicon

5 packages built:

oci-cli
python310Packages.oci
python310Packages.ocifs
python311Packages.oci
python311Packages.ocifs

Maintainer pings
cc @ilian for testing.


openapi(dm): add more task config field

What problem does this PR solve?

Issue Number: close #3397
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change
Has persistent data change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update key monitor metrics in both TiCDC document and official document

Release note
Please add a release note.
If you don't think this PR needs a release note then fill it with `None`.

ping @Ehco1996

/hold
will continue add more fields after finalised UI design

Not planning to do so in the short term


Allocator doesn't guard against quadratic blowup in constant folding

Since we do constant expression evaluation at compile-time, we need to be able to guard against quadratic blowup in evaluation of scripts like
list foo = ["foo", "foo", "foo", "foo", "foo", "foo"];
list foo2 = foo + foo + foo + foo + foo + foo + foo;
list foo3 = foo2 + foo2 + foo2 + foo2 + foo2 + foo2 + foo2;
// ...
integer only_use = foo9 != [];

Since most dynamic allocs pass through the ScriptAllocator we should have it add the size of each alloc to a counter, then throw (std::bad_alloc?) when it passes some reasonable upper limit. It might also make sense to have a slightly lower "soft" limit after which we refuse to do value propagation / folding, so we can keep certain cases as runtime crashes vs hard compile-time crashes.

Mostly handled by 9fe1cb72fb08f75723371be66a7d252b3c6cca77, now there's a constant value propagation mode that refuses to perform operations that create new heap values. Don't really need the allocator guards for the common non-quadratic case.


PCL compatibility

Bug Information
Attempting to add the latest Plugin.FirebasePushNotification NuGet package into a PCL wants to add a plethora of .NET Standard libs.
Version Number of Plugin: 2.3.0
Device Tested On: N/A
Simulator Tested On: N/A
Version of VS: Enterprise 2017 v15.7.1
Version of Xamarin: <IP_ADDRESS>6417
Versions of other things you are using: N/A
Steps to reproduce the Behavior

Create a new Xamarin Forms app.
Add a Portable Class Library.
Attempt to add the latest Plugin.FirebasePushNotification NuGet package into the PCL.

Expected Behavior
To only add references to the Plugin.FirebasePushNotification.dll and Plugin.FirebasePushNotification.Abstractions.dll.
Actual Behavior
Wants to add references to a plethora of .NET Standard libs. (Refer to screenshot.)
Code snippet
N/A
Screenshots

Unfortunately, Is not on our plan to support PCL since we started this for .NETStandard projects and all new projects are using .NETStandard now.


Testing

/remove-kind bug
/remove-triage accepted
/remove-priority backlog

/kind bug
/triage accepted
/priority backlog

/kind bug
/triage accepted
/priority backlog


[Test Proxy] Fix parameter reference in stop_record_or_playback

Description
The test_output parameter in the test proxy infra's stop_record_or_playback method was recently changed to (more accurately) be test_variables. As part of the test tooling refactor, this name change got mismatched such that this code raises an error over an undefined test_output variable.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/check-enforcer override


fix: Fix issue If there are enumerations in the query request paramet…

Fix issue If there are enumerations in the query request parameters, the generated request parameter comments will not include 'See'.

Sure, I'll make the changes.

I have made the changes.


[DC-2398] Update unmapped foreign keys

@hiro-mishima I just made a pretty hacky change to exclude checking visit_detail and visit_occurrence in the failing test. This may not be the best way to fix the test, but the code changes I made are very difficult to incorporate in the existing tests otherwise. Let me know if you want to discuss further.

Hi @jp3477! I was exploring the integration test to figure out how not to exclude visit_detail and visit_occurrence. And I think I figured it out. The test assumes the order of JOINs follow the order of the columns in the SELECT clause.
I created this PR https://github.com/all-of-us/curation/pull/1297 that shows the proposed update to your PR. Could you please have a look at it?
In that PR, I added an extra test case to make sure those self-reference IDs are actually mapped to the new IDs. That made the test scripts a bit longer.


[BULK UPDATE] DocuTune - Rebranding links

Global effort for the Microsoft Learn platform rebrand
The Microsoft team is applying changes to content for the Microsoft Learn platform rebrand. Changes include modifications to current Microsoft Learn and Microsoft Docs terminology as well as associated domain name and content URL path changes.
DO NOT MERGE THIS PULL REQUEST WHILE IN DRAFT STATUS! Some of the changes to links and other content are not valid until after go-live.
Please review this draft PR and provide any necessary comments as soon as possible. Because these fixes are tightly scoped, we have approval to automatically merge these changes to the default branch for publication.
This PR was generated via DocuTune. It includes only targeted fixes and minor formatting adjustments.
CorrelationId: d8c4c3ac-d49a-4c95-9ddc-9822ca297907
InitiativeId: docutune-rebranding-2022-09
PointOfContact: Alex Buck

#docutune-draft

Docs Build status updates of commit e4ccfe5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

microsoft-edge/developer/index.yml
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/about-tools.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-dom-interaction.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/index.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/css/css-in-js.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/css/reference.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/inspect-styles/animations.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/memory-inspector/memory-inspector-tool.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/whats-new/2020/08/devtools.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/whats-new/2020/11/devtools.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/whats-new/2021/02/devtools.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-protocol-chromium/index.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

microsoft-edge/webview2/concepts/user-data-folder.md
:white_check_mark:Succeeded
View

microsoft-edge/webview2/get-started/winui.md
:white_check_mark:Succeeded
View

microsoft-edge/webview2/get-started/winui2.md
:white_check_mark:Succeeded
View

microsoft-edge/webview2/how-to/publish-uwp-app-store.md
:white_check_mark:Succeeded
View

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#docutune-ready

This PR is now live.


@conda-forge-admin,please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/pyctcdecode-feedstock#3.


Added methods and constants to SharpGL.Core to allow the use of VAO and PBO.

I'd love to be able to bring this in, but it's just absolutely huge - if the PR can be split up into smaller chunks that'd make it easier, much of this functionality is available now


Unable to decrypt some messages

Expected behaviour
Message should be decrypted
Actual behaviour
K9 Mail can not find OpenPGP Content.
See also the screenshot.
Squiky Mail an Thunderbird (enigmail) do it.
I will send a Mail to philipATwhiuk.com with a CatLog and the Source of one of this Mails.
Please let me know if it helps or if I can do something else.

Steps to reproduce
I have tried to reproduce it but can not find a way to do it
Environment
K-9 Mail version:
5.108
Android version:
5.0
Account type (IMAP, POP3, WebDAV/Exchange):
IMAP

Kindly send the mail source to me, too<EMAIL_ADDRESS>

Done.

There is no problem with the email itself, it wasn't correctly downloaded.
If you do "Clear local messages" on the folder this message is in, then refresh the messages, does this error still occur?

Yes, that's what I aready tried.
I also deinstalled/reinstalled K9.
It still dosn't work.
This mail is one part of a "mail thread" (three replies)
one of this mails works, two not.

Sorry,
I forgot to mention.
I got the Mail Source via Thunderbird.
And there was no problem with decryption.

I play just around a little bit.
Reboot the phone, delete all data
Now it seems to work ???!!!!
Strange
It's only the probably fixed issue #1252
If you upload the V 5.109 to Playstore Alpha chanel I would like to test it.
I think we can close this issue for now.
Feel free to reopen it if you think we should do some more tests.
Thank you


Documentation about monitoring Fluentd daemonset with Prometheus

Hi, I been researching about monitoring Fluentd daemonset using Prometheus, but documentation is not that straight forward.
 If you want to use your configuration, use ConfigMap feature.
Each image has following configurations:
fluent.conf: Destination setting, Elaticsearch, kafka and etc.
kubernetes.conf: k8s specific setting. tail input for log files and kubernetes_metadata filter
tail_container_parse.conf: parser setting for /var/log/containers/*.log. See also "Use CRI parser for containerd/cri-o" logs section
prometheus.conf: prometheus plugin for fluentd monitoring
systemd.conf: systemd plugin for collecting systemd-journal log. See also "Disable systemd input" section.

Could you please help me to understand prometheus.conf or point me to the documentation on how to configure prometheus and fluentd?
Should I add to prometheus.conf configmap this? https://docs.fluentd.org/monitoring-fluentd/monitoring-prometheus#step-1-counting-incoming-records-by-prometheus-filter-plugin

https://github.com/fluent/fluentd-kubernetes-daemonset#use-your-configuration
section contains informative link to https://github.com/fluent/fluentd-kubernetes-daemonset/pull/349#issuecomment-579097659


windows_package requires 'source' attribute on :remove action

windows_package requires source attribute on :remove action.

Yes that's not ideal. If you are on chef client v12.6 or above, it's package resource does not require it on remove.

The problem still persists in chef client v12.6.0 and v12.7.x  using windows cookbook.

You can get around it by using package instead of windows_package

@mwrock sound like a workaround. Will try it out. Thanks!

I'm closing this out since we've removed the windows_package from the windows cookbook altogether now


Goodreads OAuth Problems

I'm trying to connect my app to Goodreads, but I keep getting an error.

The state token is invalid or has expired. Please try again.

The callback URL I see in the window with the error has two question marks in it, instead of another ampersand...
https://script.google.com/macros/d/{Script ID}/usercallback?state={Really Long State String}?oauth_token={Oauth Token}&authorize=1
Is this something I can fix in a setting on my side with an extra parameter, or is this on Goodreads?

Hi! I'm following you over here from goodreads. When you give goodreads the callback URI, it appends ?oauth_token=token&authorize=1 to the end of the URI.
Can you get the other params out of your callback?
If not, then maybe there is a way in Oauth to specify that you need an ampersand instead of a question mark.
Here's how I did it in my app, FWIW: https://github.com/stephaniewilkinson/bookmooch/blob/master/app.rb#L36

Unfortunately it seems like the Goodreads API isn't following the OAuth 1.0 specification. As per their documentation:

The oauth_callback param value must not contain any query string params.

However, the official OAuth 1.0 specification says:

The callback URL MAY include Consumer provided query parameters. The Service Provider MUST retain them unmodified and append the oauth_token parameter to the existing query.

Apps Script requires a state parameter in the /usercallback URL in order to run. The library is passing this parameter, but Goodreads is blindly appending it's parameters instead of adding them on with ampersands as required by spec.

I've been able to work around this bug in their implementation by using the web app URL instead of the normal callback URL, since the web app URL doesn't require any state parameters. I've published a sample that shows how to do this.


Watch files via parent directory

Fixes #173

Ahh interesting idea - I have not looked at the code but watching the parent directory rather than the source files directly should also make it possible to watch these directories for newly added files right @achew22? That could be a simple workaround to fix #135

@Globegitter, this will help with that problem. We will still have the problem that we don't know what files were included by glob and which were included directly by filenames. This will definitely help with the lack of triggering on Macs which is the primary focus of the change and should be celebrated for that.
Great work Doug! You rock, as always. :tada:
PS: I think my favorite thing about this PR is that the e2e tests didn't have to change. Nicely done.


allow bypassing generate-st2client-config init container for st2client and jobs pods

This allows users who pass credentials via extra_volumes or envFromSecrets to bypass the generate-st2client-config initContainer.
This adds two boolean values: st2client.generateST2ClientConfig and jobs.generateST2ClientConfig. By setting generateST2ClientConfig to false, users can exclude the generate-st2client-config initContainer from st2client and/or jobs. Normally, that initContainer creates the /root/.st2/config file. Users may want to skip that initContainer when they:

provide their own /root/.st2/config file via extra_volumes; or
provide an ST2_API_KEY or ST2_AUTH_TOKEN via envFromSecrets.

Closes #233
Closes #256
Note: This PR is an alternate implementation of #256. (and I prefer this implementation over #256)
I want to provide the ST2_API_KEY via envFromSecrets, but the /root/.st2/client config with a username takes precedence over the ST2_API_KEY env var. When I looked into using kustomize I couldn't find a reliable way to remove the relevant initContainers. jsonPatch relies on array indexes which would be very brittle, and merge stragety patches can't remove items from an array. So, this PR provides a simple flag to exclude the initContainers in question.

Closing in favor of #262


AutoType test for nested object

Test case for deserializing nested object with autotype
{   "@type": "com.alibaba.json.bvt.parser.autoType.AutoTypeTest0$ModelNested",   "id": 123,   "nested": {     "@type": "com.alibaba.json.bvt.parser.autoType.AutoTypeTest0$ModelNested",     "id": 456,     "nested": null   } }

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.a.pomosov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #2989 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2989      +/-   ##
============================================
- Coverage      80.5%   80.48%   -0.02%
+ Complexity     7227     7222       -5
============================================
  Files           145      145
  Lines         27124    27124
  Branches       6493     6493
============================================
- Hits          21835    21830       -5
- Misses         3406     3408       +2
- Partials       1883     1886       +3

Impacted Files
Coverage Δ
Complexity Δ

...com/alibaba/fastjson/serializer/SerialContext.java
72.91% <0%> (-4.17%)
19% <0%> (ø)

...main/java/com/alibaba/fastjson/util/FieldInfo.java
86.2% <0%> (-0.35%)
90% <0%> (-1%)

...n/java/com/alibaba/fastjson/util/JavaBeanInfo.java
87.6% <0%> (-0.17%)
206% <0%> (-2%)

...java/com/alibaba/fastjson/parser/ParserConfig.java
83.41% <0%> (-0.17%)
206% <0%> (-1%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f72c76...33e894b. Read the comment docs.