ffmpeg: 4.2.3 -> 4.3

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@ofborg build ffmpeg-full

@ofborg eval

@ofborg build handbrake mpv-unwrapped mpv
@ofborg test handbrake

Built this and obs-studio on top of it, tested OK.

I looked at adding rav1e but it seems to need a cargo tool that isn't packaged in nixpkgs yet.

@zowoq rav1e support would be cool :) I just drafted #91050 so we can add that support later (shouldn't delay this PR).


TouchID, FaceID background mode

is it also possible to perform touch or face verification in the background ?
meaning, i would like to escape any kind of (native) modal, dialog or overlay.
thanks !

What do you think Apple would say if you filed a feature request like that? 🤣

@EddyVerbruggen well you tell me, i believe they had FaceID promoted without an overlay, so why shouldn't TouchID have background mode as well ?
anyhow, it wasn't really a feature request, but just a question whether your plugin can do this. i'm of course conscious on some issues concerning a background mode. ;)

Haha, well, Apple just doesn't allow that.. otherwise I would gladly add it.

okay, thanks for the info :)


NixOS closure size reduction

NixOS currently takes up a lot of disk space, which is especially bad for container and cloud deployments. For instance, a basic LAPP (Linux+Apache+PostgreSQL+PHP) configuration takes > 1500 MB.
Reducing this mostly requires finishing the multiple outputs work to ensure that build-time dependencies (like GCC) don't appear in runtime closures: https://github.com/vcunat/nixpkgs/compare/v/modular
Progress can be tracked in the closure size charts on Hydra:
http://hydra.nixos.org/job/nixos/trunk-combined/nixos.closures.tinyContainer.x86_64-linux#tabs-charts
http://hydra.nixos.org/job/nixos/trunk-combined/nixos.closures.smallContainer.x86_64-linux#tabs-charts
http://hydra.nixos.org/job/nixos/trunk-combined/nixos.closures.ec2.x86_64-linux#tabs-charts
http://hydra.nixos.org/job/nixos/trunk-combined/nixos.closures.lapp.x86_64-linux#tabs-charts
http://hydra.nixos.org/job/nixos/trunk-combined/nixos.closures.xfce.x86_64-linux#tabs-charts

@vcunat Any objection to moving the v/modular branch to the main repo (maybe renamed to closure-size or something like that)?

Yes, good name, no objection. Link to some description of the work: https://gist.github.com/vcunat/6139ee17ae1dec684fd3. I believe I should get to significantly moving it again in April, but it's difficult to predict how my free time turns out.
Some commits in the branch aren't very nice – they just served as a snapshot of current state while experimenting (some even have very non-descriptive names like WIP). IIRC I didn't originally mean to merge to master without cleaning the history, but if it doesn't matter... Looking now, most commits don't seem so bad, only there are often repeated changes of the same things, which makes the history a bit more difficult to read, but perhaps it's better to read diffs against merge-point to master instead.

Glibc depends to linux-headers at runtime because of some hidden files: https://gist.github.com/ce540a72775ac56802d3

Also, there are two openssl packages in the closure. I think once comes from curl where openssl.crossDrv is used

The linux headers dependency was solved years ago in Eelco's branch IIRC (although the problem could've re-appeared since then).

Pushed that branch as closure-size, and deleted its ancestor multiple-outputs.

Branch status, TL;DR: I can build fairly complex things, such as firefox or qt4. For now, I'm avoiding committing/pushing new splits of more packages except for those that need fixing.
I would like to focus on stabilizing it soon and getting it to master fast, as the benefits seem quite significant already, and we can reiterate afterwards. Soon I want to fixup any remains needed to rebuild my full system; afterwards it might be good to create a Hydra jobset to find more build breakages. I expect most problems to manifest during build time, notable exceptions being ${pkg}/path strings to be used during runtime (often paths to executables or in wrappers).

@vcunat awesome, really looking forward to this. I think we should first merge it to staging and stabilize it there.

Ugh, mariadb on 14.12 has output size 464 MB. Was it always so? Maybe it would be worth to backport some commits in there, as on staging I can only see ~125 MB size (without changes from my branch).

because @wkennington split /lib

But 126+66 << 460.

See https://github.com/NixOS/nixpkgs/issues/7114.

Maybe removing 264 MB of mysql-test would be enough for 14.12. Shall I commit that? /cc @wkennington.

You should be able to mostly copy the # Remove superfluous files section
On Apr 23, 2015 10:18 AM, "Vladimír Čunát"<EMAIL_ADDRESS>wrote:

Maybe removing 264 MB of mysql-test would be enough for 14.12. Shall I
commit that? /cc @wkennington https://github.com/wkennington.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/7117#issuecomment-95659989.

Pushed cf46c88a. (I'm sorry I didn't notice that issue which is more on-topic.)

How about pruning out the linux modules, with a wrapper build? The kernel is 130MB, with 87MB being drivers. That would help especially well with the ec2 build where video, gpu, sound, scsi, media, net/wireless and (probably) staging drivers are never used.
The firmwares are also 90+MB and completely unnecessary on ec2.
Note that recently the ec2 closure size jumped from 800MB to 1.2GB.

@edolstra ^
Also, any command lines to quickly get a tree of closures ordered by size would be great, or anything else helping with debugging closure size.

Where do you see that 1.2 GB? I don't see it on http://hydra.nixos.org/job/nixos/trunk-combined/nixos.closures.ec2.x86_64-linux#tabs-charts.
Regarding kernel modules, we could either build a kernel with a much smaller configuration, or use makeModulesClosure to include only required modules in the system closure.

@wmertens I use
du -scl $(nix-store -qR ./result) | sort -n

@edolstra oops I was playing with virtualbox which gave me a 1.2GB install and I saw that the closure size jumped on the graph and somehow I interpreted that as 1.2GB instead of 850MB. Need more coffee :sweat_smile:

1% savings observation: both bash and bashInteractive are installed on my system, each 6MB. What is the advantage of scripts using the non-interactive version?

It's probably not easy to get rid of all references to the non-interactive version because that's what stdenv uses. So any build that stores ${stdenv.shell} somewhere will get the non-interactive version.
BTW, it might load slightly faster due to the absence of readline/ncurses.

We could simply make the interactive one the default... I doubt anyone will notice those extra ld linking steps

3% observation: .a static libraries are taking up 26MB (biggest is spidermonkey via polkit). Would it be feasible to automatically move .a files into a dev output?

Handy command: du -scl $(nix-store -qR /nix/var/nix/profiles/system) | sort -n | tail -20 | head -19 | while read size path; do echo $size $path; nix-store -q --referrers $path | sed 's:/nix/store/:   :'; done

Closure graphs look ok, bumping milestone for closure-size branch

I'm really eager to see numbers once staging is merged. pythonFull went from 312M to 141M \o/

lapp graph isn't much better than 2 years ago. closure-size got no effect here. Anybody knows why?

I think when I last checked, php references quite a bit of dev headers still. Maybe it could be split.

Also note that graphs of multiple-output jobs probably don't show what people expect AFAIK.

Now that the closure-size branch has been merged I think we can close this issue. Or are there any other specific actionable left?

The lapp and xfce closures have decreased by about a third, though not much the containers. The infrastructure is there, so if anyone finds some more unnecessary files, it should help her to split them away.
BTW, the next general splitting improvement would likely be share/locale. It often takes a significant part of core packages and most people will only want a tiny fraction of it (one or two languages), but it would need us to introduce a way for gettext to find the files (probably an env var with path list). I'm unlikely to do such large projects completely for free, during this year at least.


Opensips2.0

Updated to support new opensips response to ul_show_contact. This module does not support old opensips response.

Rather than maintaining support for the old and new versions at the same time, I think we should just bump the major version of this library and fix ContactRecord in place. Other than that, these changes are fine with me. How does that sound?

Sounds good. I'm going to change it.

Looks good to me, merging!


Support MINGW64 compiler on Windows

From the doc it seems it requires MSVC. As it's already using LLVM technology, LLVM supports MINGW too. See:
https://github.com/mstorsjo/llvm-mingw

@Verdagon

https://github.com/ValeLang/Vale/discussions/565


v2.0 throw error 502 (invalid Pid Encryption )

Hi,
API version 2.0 response showing error code 502 (invalid Pid Encryption ).

Hi,
It's been sometime since I've written the code. Not sure what went wrong. Tried the code with crypto as well, but facing the same issue. I have posted a question on the forum, will update as and when it gets solved. You can follow the post here: https://groups.google.com/forum/#!topic/aadhaarauth/i_MSxxazhMA. In the mean time, feel free to create a PR if the issue gets resolved.

Hi,
I'm still stuck at that point.
but work perfectly in java with this solution https://kumar249kj.blogspot.in/2017/11/aadhaar-authentication-20-pid-encryption-java


Check fails when passing float

Using floats (I know, I shouldn't) may cause false positives. Examples:
>>> odd(1.0000000000000001)
True
>>> odd(1E200 + 1)
False

Is this behavior expected? Am I stretching too much from IEEE 754 standards?

The function expects an integer (and doesnt type-check), so giving it something else breaks the contract with the function, hence the weird results. So that's OK.
Adding a type-check isn't cost effective, as it will make the function slower, thus ruin it's effectiveness.
I highly suggest wrapping this function with another function that type checks, or to use mypy or another type-linter in your project

BTW numx might come


display default value for certain variables

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

None of the ? or placeholder tell the user what will happen if they are not set

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@vishwacsena, can we update the ordering of the schema definition, put all the expressions at the front of other types? Then composer user will by-default treat all field as expression.

@vishwacsena, This is a P0 that's been open for 13 days. How best can we drive this forward?

@cleemullins @tomlm  and I chatted this morning. @tomlm is doing a pass on all component schemas to address this and other issues. In scope for R9.


MCControl.so cannot find libmc_rbdyn.so.2

Hello, this is Tsuru.
In Choreonoid simulation, I am facing the avobe error.
I updated mc_rtc to the latest today. It passed all tests smoothly.
However, when I run my mc controller with Choreonoid, it always crashes at the beginning.
The error log says :
"mc_control.so cannot open a shared object file libmc_rbdyn.so.1.  No such files or directory."
(Sorry , the picture contains some Japanese...)

Does it mean the mc_control.so is still linked to an old libmc_rbdyn.so.1...?
There is a new .so, libmc_rbdyn.so.2 at the correct place, as far as I see.

At least, libmc_rbdyn.so and libmc_control.so seem to be connected to the newer one...

So..., could anyone tell me how to solve this old linking problem...?
Sould I just delete the old .so file and re-build the whole mc_rtc ?
Sorry for disturbing.
Thank you in advance.

Did you rebuild mc_openrtm?

Ahhhh, I was extremely stupid...
It worked...
Thank you very much...


More examples

Hi,
I've just recently started looking in to trying to create some cloudformation templates using PowerShell and stumbled over this module. On the surface it looks great but I'm having some issues trying to figure some of the stuff out.
Using the Cloudformation designer it's pretty easy to create resources and their discrepancies.
Example

I create two VPC's
Create a subnet in each of those VPC's

Which ends up looking something like this
  "Resources": {
     "SampleVPC1": {
       "Type": "AWS::EC2::VPC",
       "Properties": {},
       "Metadata": {
         "AWS::CloudFormation::Designer": {
           "id": "e61f601f-0cbc-4e51-91af-1cd3a1069ca1"
         }
       }
     },
     "SampleVPC2": {
       "Type": "AWS::EC2::VPC",
       "Properties": {},
       "Metadata": {
         "AWS::CloudFormation::Designer": {
           "id": "6edcdbde-97ff-402b-bf32-4bac177f2350"
         }
       }
     },
     "VPC1Subnet1": {
       "Type": "AWS::EC2::Subnet",
       "Properties": {
         "VpcId": {
           "Ref": "SampleVPC1"
         }
       },
       "Metadata": {
         "AWS::CloudFormation::Designer": {
           "id": "461c9c16-0ca3-4365-b37c-0bf5fb37bd67"
         }
       },
       "DependsOn": [
         "SampleVPC1"
       ]
     },
     "VPC2Subnet1": {
       "Type": "AWS::EC2::Subnet",
       "Properties": {
         "VpcId": {
           "Ref": "SampleVPC2"
         }
       },

Are you able to give me some examples of how to get the module to generate the "Ref": "SampleVPC2"?
Thanks
Anthony

Hope you don't mind, I edited your comment to make the code sample more readable.
So are you just asking me for a sample in PowerShell via the awscfn module for the SampleVPC2 resource in the config above?

So here's the awscfn fragment that would correspond to the whole sample you provided, I'm using the typed-resource notation, which helps me identify the resource-specific parameters via IntelliSense in something like the PowerShell ISE (or even the CLI).  For the sake of completeness, I've even included the metadata generated by the CFN Designer, which you wouldn't normally have to put in there if you are sticking strictly to using this tool:
Template -JSON -Description "Sample for issue #1 request" -JSON {

    Res-EC2-VPC SampleVPC1 -Metadata @{
        "AWS::CloudFormation::Designer" = @{
            id = "e61f601f-0cbc-4e51-91af-1cd3a1069ca1"
        }
    }

    Res-EC2-VPC SampleVPC2 -Metadata @{
        "AWS::CloudFormation::Designer" = @{
            id = "6edcdbde-97ff-402b-bf32-4bac177f2350"
        }
    }

    Res-EC2-Subnet VPC1Subnet1 -VpcId (Fn-Ref SampleVPC1) -DependsOn SampleVPC1 -Metadata @{
        "AWS::CloudFormation::Designer" = @{
            id = "461c9c16-0ca3-4365-b37c-0bf5fb37bd67"
        }
    }

    Res-EC2-Subnet VPC2Subnet1 -VpcId (Fn-Ref SampleVPC1) -DependsOn SampleVPC1 -Metadata @{
        "AWS::CloudFormation::Designer" = @{
            id = "461c9c16-0ca3-4365-b37c-0bf5fb37bd67"
        }
    }
}

If you take out the unnecessary Designer meta data, it becomes more compact.
Here's another sample that fills out your JSON fragment with a few property parameters to the resources you provided to make it a bit more real-world:
Template -JSON -Description "Sample for issue #1 request" {

    Res-EC2-VPC SampleVPC1 -CidrBlock <IP_ADDRESS>/16 `
        -InstanceTenancy dedicated `
        -EnableDnsSupport $true `
        -Tags @{
            MyNote = "Production network"
        }

    Res-EC2-VPC SampleVPC2 -CidrBlock <IP_ADDRESS>/16 `
        -Tags @{
            MyNote = "Development network"
        }

    Res-EC2-Subnet VPC1Subnet1 -DependsOn SampleVPC1 `
        -VpcId (Fn-Ref SampleVPC1) `
        -AvailabilityZone us-east-1a -CidrBlock <IP_ADDRESS>/24 `
        -Tags @{
            MyNote = "Public VLAN (PROD)"
        }

    Res-EC2-Subnet VPC2Subnet1 -DependsOn SampleVPC2 `
        -VpcId (Fn-Ref SampleVPC2) `
        -AvailabilityZone <IP_ADDRESS>/24 `
        -Tags @{
            MyNote = "Public VLAN (DEV)"
        }
}

And here's the corresponding JSON that's spit out if you just execute the template as-is (provided you gave it the -JSON parameter):
{
    "AWSTemplateFormatVersion":  "2010-09-09",
    "Description":  "Sample for issue #1 request",
    "Resources":  {
                      "SampleVPC1":  {
                                         "Type":  "AWS::EC2::VPC",
                                         "Properties":  {
                                                            "CidrBlock":  "<IP_ADDRESS>/16",
                                                            "EnableDnsSupport":  true,
                                                            "InstanceTenancy":  "dedicated",
                                                            "Tags":  [
                                                                         {
                                                                             "Key":  "MyNote",
                                                                             "Value":  "Production network"
                                                                         }
                                                                     ]
                                                        }
                                     },
                      "SampleVPC2":  {
                                         "Type":  "AWS::EC2::VPC",
                                         "Properties":  {
                                                            "CidrBlock":  "<IP_ADDRESS>/16",
                                                            "Tags":  [
                                                                         {
                                                                             "Key":  "MyNote",
                                                                             "Value":  "Development network"
                                                                         }
                                                                     ]
                                                        }
                                     },
                      "VPC1Subnet1":  {
                                          "Type":  "AWS::EC2::Subnet",
                                          "DependsOn":  [
                                                            "SampleVPC1"
                                                        ],
                                          "Properties":  {
                                                             "AvailabilityZone":  "us-east-1a",
                                                             "CidrBlock":  "<IP_ADDRESS>/24",
                                                             "Tags":  [
                                                                          {
                                                                              "Key":  "MyNote",
                                                                              "Value":  "Public VLAN (PROD)"
                                                                          }
                                                                      ],
                                                             "VpcId":  "System.Collections.Hashtable"
                                                         }
                                      },
                      "VPC2Subnet1":  {
                                          "Type":  "AWS::EC2::Subnet",
                                          "DependsOn":  [
                                                            "SampleVPC2"
                                                        ],
                                          "Properties":  {
                                                             "AvailabilityZone":  "<IP_ADDRESS>/24",
                                                             "Tags":  [
                                                                          {
                                                                              "Key":  "MyNote",
                                                                              "Value":  "Public VLAN (DEV)"
                                                                          }
                                                                      ],
                                                             "VpcId":  "System.Collections.Hashtable"
                                                         }
                                      }
                  }
}

In most cases, the properties that have a fixed list of values, such as the InstanceTenancy property to the VPC resource, are automatically enforced and are given as options to you via IntelliSense.

Awesome, that makes a lot more sense. I don't particularly need the cloudformation designer metadata but it's a good example if I need to ever throw that kind of information against a resource.
A few things though

The module version on the PowerShell Gallery where I got this from is outdated. The gallery has version <IP_ADDRESS> and when I attemped to run your sample I got the following:
Add-CfnEC2_VPCResource : Cannot process argument transformation on parameter 'InstanceTenancy'. Cannot convert value  "dedicated" to type "System.Int32". Error: "Input string was not in a correct format."
I updated to version <IP_ADDRESS> from this repo and it fixed that

I tried to deploy your sample but got the following error:
The vpc ID 'System.Collections.Hashtable' does not exist
Which makes sense because as you can see in the JSON that gets generated it contains the type name System.Collections.Hashtable as the value for VpcId which naturally won't work. I assume it's meant to put the raw data from the command Use-CfnRefFunction -LogicalName SampleVPC2 in there and not the actual hashtable?

Either way it's makes a lot more sense now using the Use-CfnRefFunction to reference other resources in a template, just need to sort out the hashtable bit

Regarding (1) -- that's a great point, I never did update the version published to the gallery with the latest release.  I'm working on some CI automations that should help keep this updated and more current.  I'll be sure to publish the latest version to the gallery soon, as well as update to include the latest changes from the CloudFormation schema.

Regarding (2) -- oops!  You're right, that's a bug that I need to take a look at, sorry I missed that.

Awesome. Works a treat. I've pretty much got the VPC stuff worked (VPC, subnets, route tables, gateways etc) out now I'm looking at creating a IAM role much similar to the ones exampled here: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
Basically what I want to do is create a EC2 IAM role that I can use when deploying an instance. I don't think I can use Set-CfnResourceProperty since it appears to only be used when specifying a single property so when I have to fill in the AssumeRolePolicyDocument which is basically JSON inside of JSON I don't know which cmdlet would best suit that.

Awesome! I appreciate your time helping me with this. I'm trying to keep the stack as generic as possible so it can be re-used as a working example in the repo's wiki or something.
 What I'm trying to match give or take is the examples here: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html:

I've got the AssumeRolePolicyDocument in a variable and am just passing that directly to Add-CfnIAM_RoleResource. It works but it throws the escaping 's in to the JSON file so I'm just wondering if I'm doing it the non-ideal way or there is another cmdlet that will handle that?

The next part is creating a instance profile for the IAM role which is basically this part:
  Add-CfnIAM_InstanceProfileResource -ResourceName AutomationRoleProfile -Path / -PropertiesBlock {  Set-CfnResourceProperty -Name Roles -Value (Use-CfnRefFunction -LogicalName AutomationRole) } which when run in cloudformation returns the following: Value of property Roles must be of type List of String which makes sense since it's not really formatted the same as the example:

  "RootInstanceProfile": {
     "Type": "AWS::IAM::InstanceProfile",
     "Properties": {
        "Path": "/",
        "Roles": [ {
           "Ref": "RootRole"
        } ]
     }
  }

Any idea how I can get it to format the InstanceProfile to match the example?

Here is the AwsCfn version of the first example from that link:
Template -JSON {
    Res-IAM-Role RootRole -AssumeRolePolicyDocument @{
        Version = "2012-10-07"
        Statement = @(
            @{
                Effect = "Allow"
                Principal = @{
                    Service = @("ec2.amazonaws.com")
                }
                Action = @("sts:AssumeRole")
            }
        )
    } -Path "/" -Policies @(
        [ordered]@{
            PolicyName = "root"
            PolicyDocument = @{
                Version = "2012-10-17"
                Statement = @(
                    [ordered]@{
                        Effect   = "Allow"
                        Action   = "*"
                        Resource = "*"
                    }
                )
            }
        }
    )

    Res-IAM-InstanceProfile RootInstanceProfile -Path "/" {
        Property Roles @(
            (Fn-Ref RootRole)
        )
    }
}

And here is the JSON it produces:
{
 "AWSTemplateFormatVersion":  "2010-09-09",
 "Resources":  {
       "RootRole":  {
            "Type":  "AWS::IAM::Role",
            "Properties":  {
                "AssumeRolePolicyDocument":  {
                         "Version":  "2012-10-07",
                         "Statement":  [
                            {
                             "Effect":  "Allow",
                             "Principal":  {
                                   "Service":  [
                                       "ec2.amazonaws.com"
                                      ]
                                  },
                             "Action":  [
                                "sts:AssumeRole"
                               ]
                            }
                           ]
                        },
                "Path":  "/",
                "Policies":  [
                     {
                      "PolicyName":  "root",
                      "PolicyDocument":  {
                           "Version":  "2012-10-17",
                           "Statement":  [
                              {
                               "Effect":  "Allow",
                               "Action":  "*",
                               "Resource":  "*"
                              }
                             ]
                          }
                     }
                    ]
               }
           },
       "RootInstanceProfile":  {
              "Type":  "AWS::IAM::InstanceProfile",
              "Properties":  {
                  "Path":  "/",
                  "Roles":  [
                       {
                        "Ref":  "RootRole"
                       }
                      ]
                 }
             }
      }
}

Since the policy and policy document properties of the resource types are of type Object or Object[] it means you can supply native PowerShell types (hashtables and arrays) and they will be transformed into the appropriate JSON format when the outer template is transformed.
If the property types are more specific types, for example strings or ints or bools, then you need to use the nested property syntax as I have up above in the earlier comments, such as the following fragment which is equivalent to inline property syntax but uses nested properties instead:
Template -JSON {
    Res-IAM-Role RootRole {
        Property AssumeRolePolicyDocument @{
        Version = "2012-10-07"
        Statement = @(
            @{
                Effect = "Allow"
                Principal = @{
                    Service = @("ec2.amazonaws.com")
                }
                Action = @("sts:AssumeRole")
            }
        )
    }

Awesome. That makes sense now and works a treat.
One last question (hopefully!). Maybe I'm looking in the wrong places but some things appear to be missing.

Add-CfnOutput should have an export option so it can be used in cross stack templates
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/outputs-section-structure.html
I can't seem to locate an equivalent command for Fn::Sub and Fn::ImportValue. They should be intrinsic functions as per http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html but they don't appear in the CloudformationV1.schema so I'm guessing a cmdlet isn't created for it.

Add-CfnOutput -Description 'Outputs the ID of the Prod VPC' -OutputName ProdVPCOutput -Value (Use-CfnRefFunction -LogicalName ProdVPC)

What I am doing is nesting stacks and what I need to do is export the VPCID and subnet ID's from the VPC stack then import them in to the EC2 stack but as far as I know I can do cross stack imports without the above.

You are correct, the current version is missing some of the recent enhancements to the CFN vocabulary.  Some of these have only just recently been added to the V1 schema and I have not had time to incorporate them yet.
However, AWS has just announced (just yesterday, actually) that they're publishing a machine-digestible CFN Resource Specification that defines the whole of the CFN vocabulary and I'm hoping with this change they'll be releasing timely updates.
I'm working on digesting this new spec now so my plan is to have something updated very soon.
In the meantime you can actually fallback to the generic Resource directive -- it does't offer the strict type-checking but it gives you a default way to add any resource that hasn't been explicitly defined into your CFN template.

@theonlyway -- can I ask, what version of PowerShell are you using?

I write things on Win 10 so it should be 5.1

Quick question you maybe able to help me with. Is it possible to escape certain characters? I looked over the New-CfnTemplate function and it's basically just doing a convertto-json at the end. When I run the following:
    Set-CfnResourceProperty -Name UserData -Value (Use-CfnJoinFunction -Delimiter "" -Values ("<script>`n","cfn-init.exe -v -s ",(Use-CfnRefFunction -LogicalName AWS::StackId),"   -r WindowsServer2012R2 ", `
    "   --region ",(Use-CfnRefFunction -LogicalName AWS::Region),"`n","</script>"))

"\u003cscript\u003e\n",

It doesn't escape the <> characters and using powershells usual method of escaping using ` doesn't appear to work.


When using with another voice service, the other is not working

Hello,
I successfully implemented Speech to Text using your library:
Now, what I need is in parallel to send the voice over Wifi.
When I use this library, the voice is 0 (All zeros). But when I comment out the call to start the recognition (startDroidSpeechRecognition), everything works (except the recognition).
What can be the problem.

Hello,
I successfully implemented Speech to Text using your library:
Now, what I need is in parallel to send the voice over Wifi.
When I use this library, the voice is 0 (All zeros). But when I comment out the call to start the recognition (startDroidSpeechRecognition), everything works (except the recognition).
What can be the problem.

Your query is not very clear. But as far I can understand you cannot the microphone instance twice for both service ie. Google Speech Recognition as well as your own Custom service at a time as only one service can acquire microphone lock at a time.

Thank you very much.
Is there a way to overcome it?

No, you can just tell the Speech Recogniser to record Audio for you!
Use flags

android.speech.extra.GET_AUDIO_FORMAT: audio/AMR
android.speech.extra.GET_AUDIO: true
[Check this SO Thread]
(https://stackoverflow.com/questions/23047433/record-save-audio-from-voice-recognition-intent)

Thanks

@dhruvkaushal11 @jmall seems that the method on that thread is not very reliable, it depends a lot on the device. Did you get any success in simultaneously recording the audio and performing the recognition? My use case is performing voice recognition while recording a video, getting stuck in the problem of concurrent microphone accesses. No success so far.

I have tried a lot but doing both (audio recognition & recording) seems impossible as recording takes up the microphone lock. I even tried running them in the different process but still, no luck as android voice recording use one process only. Even if you came up with some hack then, believe me, these all methods are very unreliable across the Android ecosystem. (Many Android phones don't have Google app on them which is required for recognition)
The best I solved it using  GTTS or Google Real-time Speech API to convert audio to text on the backend.


CIV-6719 Notification Debt Respite Submit Function

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-6719
Change description
Notification Debt Respite Submit Function
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

added minor comments. Plz have a look

resolved the comments


placeholder disappears when using md-line with md-select

Bug, feature request, or proposal:
placeholder disappears when using md-line with md-select
What is the expected behavior?
placeholder to remain on screen when using md-line with md-select
What is the current behavior?
placeholder disappears when using md-line with md-select
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd
<md-list> <md-list-item>       <md-select md-line placeholder="disappearing placeholder">         <md-option>Option</md-option>         <md-option>Option</md-option>         <md-option>Option</md-option>       </md-select>     </md-list-item>   </md-list>
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Is there anything else we should know?

Related to https://github.com/angular/material2/issues/2124 and https://github.com/angular/material2/issues/2127

I'm seeing a similar issue, however re-creating it in the Plunker template it works. Has there been any specific changes to amend this?

I've still got the same issue. Unfortunately no fix yet. I can't replicate in plunker either.

By the way to fix I'm using fxFlex instead of md-line

MdLine is intended to be used for text content only, not for more complex components.


Have an error

I use const isMobile = useMediaQuery({ query: (max-width: ${MOBILE_WIDTH}px) }); and periodically in development mode I got the following error:

Hi @Orpind can you post a link to a minimum reproduction?

Hi @kid-icarus. I close this issue. Problem was in react-devtool extension. I reinstall and problem gone


Add support for extension .mjs in no-unsupported-configs rule

Fixes #532

Awesome! thanks a lot again @mattiasw 😄

@dario-piotrowicz Thanks to you too for having such a welcoming attitude towards a first-time contributor.


Some messages sent w/o TLP status

If a TLP status is set in the compose window and then removed again, the OnSend handler does not detect it as "no TLP status".

fixed.


Fix: Hexadecimal validation in v10 validator

Fixes Or Enhances
Resolves https://github.com/go-playground/validator/issues/974
Make sure that you've checked the boxes below before you submit PR:

[X] Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

Coverage remained the same at 74.177% when pulling 5405fa3299ea422cf9def5b5a5deb141d8d45142 on V-R-Dighe:develop_final into 9e2ea4038020b5c7e3802a21cfa4e3afcfdcd276 on go-playground:master.

This change appears to allow a blank string to pass as a valid hexidecimal value which is not correct.
The referenced issue shows that omitempty or the required tags are what you want preceeding this validation.

This change appears to allow a blank string to pass as a valid hexidecimal value which is not correct. The referenced issue shows that omitempty or the required tags are what you want preceeding this validation.

Ok @deankarn , thanks for the reply.
Similar behaviour is there in most of the string tags. Do we always need to use an omitempty tag with them if the field is optional?
More simply, is the fix required for the issue?

Hey @V-R-Dighe no a fix is not needed for that issue.
Yes an omitempty tag should be used for optional values when at least one other validation exists.

Hey @V-R-Dighe no a fix is not needed for that issue.
Yes an omitempty tag should be used for optional values when at least one other validation exists.

Thanks @deankarn,  please review the one more PR which I raised here.


please publish release notes for about:addons

how does one know what changes were made? what features were added/removed? etc.
users cannot be expected to go to github and read the commits which they may not understand anyway
Firefox includes a release notes tab in the add-ons about page - please consider utilizing it

This. It's annoying for us users to have to constantly guess, like the regression I reported last time, it would have been much simpler for me if I knew what was being changed. (you said you added a delay.)

 If you are super curious you can just go to tags/releases and read the git changelog.
When I upload a package for Firefox, it looks like there is supposed to be a field for release notes, but there isn't. So I have no idea how to populate what you see on the about page. Firefox/Chrome developer support is really terrible, there is no way to automate READMEs and changelogs and I don't have the time to do manual stuff.
Also, how would you know when to check the changelog? I will never start adding update notifications. You saw a change in the UI? Then that's the change. It should all be self explanatory. If you find a bug, you can report it and maybe I have time to fix it. It's not like there is a lot of activity going on here, if you report a bug I will most likely know where it's coming from.
@ImSpecial  it is highly unlikely that the information about the delay would have made into a changelog, because it's not a feature. Not sure why you have to constantly guess anything.

You are on Github, so I assume you know how it works?

you miss the point - no one should have to come here to get an overview of what changed

When I upload a package for Firefox, it looks like there is supposed to be a field for release notes, but there isn't.

not an add-on developer so i'm not sure, but i think you add release notes from the add-on page at AMO

Also, how would you know when to check the changelog?

when the add-on is updated of course - people that want to check it can do so right from about:addons, as i mentioned, rather than wasting time having to hunt down the site where the code is and more time sifting through commits

I will never start adding update notifications.

there's no need to - people that want to see what changed can do so from about:addons
for example, for Commits on Aug 24, 2020, you merged a PR - ok, so what happened? was something added? removed? fixed? were you approached by a marketing company to monetize the add-on? <-- that's happened with many add-ons and it's a serious privacy issue
that commit was a simple one, but the point is, this info should be available from Firefox like virtually every other developer is doing
i appreciate your work - the ext. works well and seems well thought out - i like that i have the option of being notified of redirects and all of it, and i'm (we're) not asking that you document every little itsy-bitsy thing - just please consider providing a brief, human readable description of the changes

I just re-checked, not way to add release notes in the developer dashboard.
I am not using Firefox anymore, so I wouldn't know who "virtually every other developer" is, but I never checked any changelog for extensions. What's the point as long as it works? And I wouldn't know when because I don't get notified about updates and I find notifications popping up like some extensions have very annoying.
I have been approached about monetisation, but rest assured, I will never add something like that. But I would expect people doing it to hide the fact and not add it to the changelog anyway.
I kind of expect this extension to go back into hibernation again now, I only added a few things that I wanted or other people raised issues about and I had time to work on them. Now there is nothing left on my todo list. The only thing happening will probably be translation fixes.


Content off the scale

I am trying to generate some PDF from HTML with jsPDF. Everything seems to be brilliant, styling is working, however, everything is rendered several times it's actual size.
I managed to create a minimal examle:

        <button id='print-btn'>Start print process</button>

Hello, world!

                        A	B

                        Foo	Bar

                        Foo	Bar

However the result is that I get a document, that contains 8 pages, and most of the content is overflowing on the right. Also, the single space in "Hello, world!" is being rendered as a huge gap.
Did I miss something, or did I spot a real issue here?

Use pt as unit and not mm

Use pt as unit and not mm

Well, I might be mistaken here, but if mm makes the system go crazy, that's still a bit of an issue, right? Especially, that A/4 is defined as 210mmx297mm.


Forward Response Content AND Status

Modify service and dao layers to return a ResponseEntity instead of just an Object.
Returning an object is not sufficient as many REST api calls use HTTP status alone to indicate the success, or failure, of an operation (i.e. 204 No Content).
I've also added RestProxyResponseErrorHandler, a ResponseErrorHandler which is always used and does nothing, but it does highlight some important assumptions:
RestProxy's sole responsibility is to relay requests and responses.
It's up to the client to deal with responses, whether they are successes or errors.
RestProxyServiceImpl has also been modified to allow any content type and to only attach a body when the request has a content length greater than zero.

:+1:


wiki: Hydra.nixos.org

https://nixos.org/wiki/Hydra.nixos.org
https://nixos.org/wiki/Hydra

Is the machine list still accurate ? I'm tempted to close this-one unless we want to import the machine list in https://github.com/NixOS/nixos-org-configurations ?

i think this is a question for @rbvermaa

also pinging @ctheune as next hydra release manager


add pvalue filter to eQTL_Catalogue.fetch?

Thank you for this fine package.
Using the dev branch, I sometimes query over large (4M) regions for eqtls, encountering errors like this:
eQTL_Catalogue.fetch failed on study GTEx_V8.Brain_Cerebellum
<simpleError in readBin(structure(3L, class = c("curl", "connection"),
                                         conn_id = <pointer: 0x951>),   raw(0), 32768L):
transfer closed with 34871729 bytes remaining to read>

I see that the table returned by fetch (in smaller regions, for instance) has pvals up to 1.0.
Perhaps you could add an extra parameter to the fetch function, specifying a maximum pval, thereby allowing us to greatly reduce the size of the table returned?

Hi @paul-shannon , thanks for your interest incatalogueR! I'm actually in the process of upgrading all my echoverse packages.
I can definitely add this once I get to catalogueR. I'm almost done upgrading all the subpackages it depends on.
Best,
Brian

@bschilder - great, thank you.  Perhaps also a target gene filter option as well?

Sure, no problem!


Why a separate UNetv2?

I thought for SD2 Unet was the same, only difference was in the text encoder which produces 1024 channels.

It looks like you are changing the number of heads

https://www.reddit.com/r/StableDiffusion/comments/z42yph/some_notes_on_porting_sd2_over_to_iphone_or_other/

Thanks

I was inspecting sd_v2.1_f16.ckpt ( from your website ) and i saw that the weights were not matching with the torch version at https://huggingface.co/stabilityai/stable-diffusion-2-1/blob/main/v2-1_768-ema-pruned.ckpt .
which torch file did you convert it from?

I think you are using this one  : https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.ckpt

Yeah, 768-v file are labelled as sd_v2.1_768_v_f16.ckpt


Trace ID in header

Would you be open to adding a configuration option so we can set the trace id as a response header? Currently we do this by adding another middleware after otelchi in the stack, but it'd be nice to have it combined.

Yes, this is a fantastic idea, @jcarter3!
Would you like to open a PR for it?


Resolve missing LiftUp touch event for Core2

Description
LiftUp touchcreen message never being received from Core2 touchscreen.
Motivation and Context
This is using sample program available here
Issue was ThreadTouchCallback was set to only pass on the event when there are 1 or 2 touches ongoing.
LiftUp obviously has 0 touches. I use the _lastPoint to pass on coordinates.
How Has This Been Tested?
Tested locally on my Core2, again using sample program. I now have liftup messages being passed.
Event Catagory: Moving...
Touch Panel Event Received Category= 120 Subcategory= 16
TOUCHED at (x,y): (177,169), Id=0
Event Catagory: Moving...
Touch Panel Event Received Category= 120 Subcategory= 16
TOUCHED at (x,y): (164,160), Id=0
Event Catagory: Moving...
Touch Panel Event Received Category= 120 Subcategory= 32
TOUCHED at (x,y): (161,158), Id=0
Event Catagory: Lift Up.

Screenshots
Types of changes

[x]  Bug fix (non-breaking change which fixes an issue with code or algorithm)

Checklist:

[x]  My code follows the code style of this project (only if there are changes in source code).
[x] I have read the CONTRIBUTING document.
[x]  I have tested everything locally and all new and existing tests passed (only if there are changes in source code).

 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.:x: cherridge sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Issues found


(maint) update some of the environment tests

Added do..end's, ()'s, |result|'s for output checking, teardown's, quoted paths,
convert double quotes to single, and fixed code indention
Added a teardown and returned variable so they get used

This PR is best viewed with whitespace changes being ignored.
https://github.com/puppetlabs/puppet/pull/6686/files?w=1

Something for next time, it's easier to review the PR if you make all of the do/end and indentation changes in one commit and the |result|, etc changes in a different commit. That way git log -p -w will ignore whitespace changes.

CLA signed by all contributors.

jenkins please test this


[#405] Remove qtpy

Closes #405

Coverage decreased (-0.004%) to 88.678% when pulling 366d54f840e1ab0e0d34ac4bd02a4773d9a82ba0 on feature/405-remove-qtpy into 3f3103143e23bb65f23bb917abb516473e4faf11 on master.


creating an object in the UI, then changing the startsWith property in the UI, and then pulling, causes an unsolvable tracking issue

Summary
creating an object in the UI, then changing the startsWith property in the UI, and then pulling, causes an unsolvable tracking issue
unpackaged/package.xml Entity of type 'CustomObject' named 'Invoice' cannot be found
so instead of it trying to pull 'Invoice__c', it tries to pull 'Invoice' and keeps failing
Steps To Reproduce

create object Invoice__c in the salesforce UI
change startsWith Invoice__c property in the salesforce UI (IMPORTANT: don't retrieve up until here)
retrieve via sf cli
get unpackaged/package.xml Entity of type 'CustomObject' named 'Invoice' cannot be found

Expected result
no 'unpackaged/package.xml Entity of type 'CustomObject' named 'Invoice' cannot be found' error
Actual result
'unpackaged/package.xml Entity of type 'CustomObject' named 'Invoice' cannot be found' error
System Information
{
"architecture": "darwin-arm64",
"cliVersion"<EMAIL_ADDRESS>"nodeVersion": "node-v20.17.0",
"osVersion": "Darwin 23.4.0",
"rootPath": "/Users/fabien/.local/share/sf/client/2.62.6-7a5c386",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.5 (core)",
"@oclif/plugin-commands 4.1.3 (core)",
"@oclif/plugin-help 6.2.14 (core)",
"@oclif/plugin-not-found 3.2.22 (core)",
"@oclif/plugin-plugins 5.4.14 (core)",
"@oclif/plugin-search 1.2.11 (core)",
"@oclif/plugin-update 4.6.3 (core)",
"@oclif/plugin-version 2.2.14 (core)",
"@oclif/plugin-warn-if-update-available 3.1.18 (core)",
"@oclif/plugin-which 3.2.15 (core)",
"@salesforce/cli 2.62.6 (core)",
"apex 3.5.1 (core)",
"api 1.3.1 (core)",
"auth 3.6.65 (core)",
"data 3.7.0 (core)",
"deploy-retrieve 3.12.17 (core)",
"info 3.4.9 (core)",
"limits 3.3.32 (core)",
"marketplace 1.2.26 (core)",
"org 4.6.0 (core)",
"packaging 2.8.11 (core)",
"schema 3.3.34 (core)",
"settings 2.3.23 (core)",
"signups 2.5.21 (user) published 13 days ago (Sat Oct 05 2024) (latest is 2.5.23)",
"sobject 1.4.41 (core)",
"source 3.5.21 (core)",
"telemetry 3.6.15 (core)",
"templates 56.3.22 (core)",
"trust 3.7.33 (core)",
"user 3.5.32 (core)"
]
}

Hey @defabien I am not seeing this issue. I am also using version 2.62.6. What is the exact command you are using to retrieve? Are you able to replicate this with a copy of Dreamhouse?
https://github.com/user-attachments/assets/b59ef09d-bb12-4087-8c40-06ffef4bcdd2

Hi @iowillhoit,
The command I am using is sf project retrieve start -o spr-so-dev -c

@iowillhoit I will try to make a screencapture like you did!


Cannot copy/paste to folders that require administrator access.

Describe the bug
When I am trying to copy a file from one folder (Specifically C:/ folder) to another folder (In a C;/ folder only), the app does not show any status or progress and stays idle.
To Reproduce
Copy a file form C:\Program Files (x86)\Google
Goto option and try to paste, paste option will be disable
Close the application and start again.
copy the same file again and then go to different folder C:\Program Files (x86)\Mozilla Firefox
And try to paste in C:\Program Files (x86)\Mozilla Firefox(Or any app folder) you can see now a Paste option unable.
On Paste It will show blue blink on the process button or stays idle.
Now it will not copy anything in that folder just seats idle.

Expected behaviour
It should show the progress of the copying of a file or show a warning or error message if any restrictions or anything.
Screenshots

Desktop (please complete the following information):

OS Version: [e.g. Windows 10 1903 18362.175]
Edition	Windows 10 Home Single Language
Version	20H2
Installed on	01-11-2020
OS build	19042.630
App version: [v<IP_ADDRESS>]

Additional context
Add any other context about the problem here. Does this problem occur again after restarting the app?
Logfile
Please post the log file here so that we can understand your problem better. You can access it from Settings->About->Open log location.
31dc1d55-2510-4715-985a-5c1a2e4a14b7.txt
debug.txt
debug_fulltrust.txt

We usually expect users to fill out the issue template when reporting a bug, please reopen this issue when you have filled out the issue template.

Requested Data

Describe the bug
When I am trying to copy a file from one folder (Specifically C:/ folder) to another folder (In a C;/ folder only), the app does not show any status or progress and stays idle.
To Reproduce
Copy a file form C:\Program Files (x86)\Google
Goto option and try to paste, paste option will be disable
Close the application and start again.
copy the same file again and then go to different folder C:\Program Files (x86)\Mozilla Firefox
And try to paste in C:\Program Files (x86)\Mozilla Firefox(Or any app folder) you can see now a Paste option unable.
On Paste It will show blue blink on the process button or stays idle.
Now it will not copy anything in that folder just seats idle.

Expected behaviour
It should show the progress of the copying of a file or show a warning or error message if any restrictions or anything.
Screenshots

Desktop (please complete the following information):

OS Version: [e.g. Windows 10 1903 18362.175]
Edition	Windows 10 Home Single Language
Version	20H2
Installed on	01-11-2020
OS build	19042.630
App version: [v<IP_ADDRESS>]

Additional context
Add any other context about the problem here. Does this problem occur again after restarting the app?
Logfile
Please post the log file here so that we can understand your problem better. You can access it from Settings->About->Open log location.
31dc1d55-2510-4715-985a-5c1a2e4a14b7.txt
debug.txt
debug_fulltrust.txt

@Sank30 does this happen also hen you try to paste to the Documents or Downloads folder?
Pasting to the Program Files folder is not working due to permission issues (you need to be administrator usually)

No. It does not happen in that case.

Please fix it. It is a kind of annoying bug.

@Sank30 This feature was implemented in #4986.


Address High Priority Wallaby Issues

Expected Behavior
Please describe the behavior you are expecting
Current Behavior
What is the current behavior?

Here is the doc with all the issue so far https://docs.google.com/document/d/1vnRlIipah7PPKvTAxPFl1PHVMrSccKZx0HklrUl7UrQ/edit.
I plan to convert them to github issues one by one, when ready to consume and update the doc accordingly.
cc: @nityas


feat(rpc): Implement starknet_estimateMessageFee

Feature Request
**feat(rpc): Implement starknet_estimateMessageFee **
This PR aims to implement starknet_estimateMessageFee rpc call introduced in v0.4.0-rc1 according to the v0.5.1 RPC specs described in #1291
starknet_estimateMessageFee
Estimates the L2 fee of a message sent on L1.
This function estimates the resources required by the l1_handler
transaction induced by the message.
Arguments

message: The message's parameters.

This parameter must follow the structure defined in MSG_FROM_L1.

block_id: The hash of the requested block, or number (height) of the requested block,
or a block tag, for the block referencing the state or call the transaction on.

This parameter must follow the structure defined in BLOCK_ID.

Returns
Returns the fee estimation as defined in FEE_ESTIMATE.
Errors
This function might return the following errors:

CONTRACT_ERROR - An error related to the contract's execution or state.
BLOCK_NOT_FOUND - The specified block could not be found.

Can i take this one sir ?

Yes! @Tbelleng could you please provide an expected behavior under here?

Yes sir 🫡 !

Nice! glhf tell me if you need anything

Im gonna do it since missing implems are now live on madara


Security warning for lodash@3x

There is a known security vulnerability in lodash@3x: https://hackerone.com/reports/310443
The severity is LOW, however jshint should be updated to the latest version.

Thanks for the report! I've submitted a patch for this here: https://github.com/jshint/jshint/pull/3260

I am waiting for this PR to be included into the next jshint release as well.

@jugglinmike, the update has been merged in. It has been over a year since the last release. I would love to see this annoying security vuln go away soon.  Thanks!

waiting for the release. any timeline @jugglinmike

Would love this to be fixed as well...

We released the patch for this today in version 2.9.6 http://jshint.com/blog/2018-07-30/release-2-9-6/


add "Start existing instance" function.

I know this has been already discussed but, even if the proposed solution surely works well, I also would be very happy with an option to simply test and start an existing instance. Thus, I won't have to configure again IP addresses and SSH keys aso on a new instance... Hope it makes sense.

You can do achieve by utilizing this endpoint.
Really very slight code change is needed
https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Instance/InstanceAction


Adding checks to prevent buffer overruns during data chunk re-assembly

Problem:
The data chunk buffer is allocated based on the total length field in a DYNVC_DATA_FIRST message. Upon receiving subsequent DYNVC_DATA messages, the data payload is appended to the chunk buffer without first checking that there is enough space remaining in the chunk buffer. This could lead to a buffer overrun in the server.
Solution:
This pull request adds a check to verify that the chunk buffer has enough remaining space to accept the received payload, and returns an error if there is not enough space in the buffer.

I think this can be merged.

Agreed.


feat(tech user): add internal invitation tech user

Description
Add Registration Internal as new technical user that can be created in portal.
New technical_roles_management composite role with name Registration Internal with:

invite_new_partner
view_submitted_applications

is also being added as new client role in eclipse-tractusx/portal-iam#189
Why
Operator company wants to integrate 3rd party service to send out invites. Allows inviting and reviewing status via API.
Issue
Refs: eclipse-tractusx/portal-backend#932
Related: eclipse-tractusx/portal-iam#189
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[ ] I have performed IP checks for added or updated 3rd party libraries
[ ] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[ ] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[ ] I have commented my code, particularly in hard-to-understand areas

@typecastcloud technically this looks fine, but you do not declare to have tested the change (together with iam-data in eclipse-tractusx/portal-iam#189) at least locally? (I can see the unit-tests in CI are failing, but that seems to be unrelated to your change. I'll look into that)

Hi Norbert, I converted this back to draft until I have fully tested this. I only ran dotnet test until now and was trying to find the reason for the failing test in pipeline and I first requested initial review from internal developers.
Thank you for the quick reply anyway.

@typecastcloud could you please resolve the conflicts? In my opinion everything else looks good

@Phil91 @ntruchsess rebased and changelog is adjusted.
New line was missing at the end of the changelog too.


Fix false positive for Style/CollectionCompact when using delete_if

This PR fixes Style/CollectionCompact to ignore delete_if.
Style/CollectionCompact supports delete_if in https://github.com/rubocop/rubocop/pull/11815 and https://github.com/rubocop/rubocop/pull/12803.
but, delete_if always returns self, whereas compact! returns nil if no changes are made. Therefore, the two methods are not compatible.
By ignoring delete_if, we can prevent false positives and ensure more appropriate code style checks.
irb(main):001> {:a => 1, :b => 2}.delete_if { |k, v| v.nil? }
=> {:a=>1, :b=>2}
irb(main):002> {:a => 1, :b => 2}.compact!
=> nil

irb(main):003> [1, 2].delete_if { |v| v.nil? }
=> [1, 2]
irb(main):004> [1, 2].compact!
=> nil

docs

Array#delete_if
Array#compact!
Hash#delete_if
Hash#compact!

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[ ] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Can you add a test that no offense is registered for documentation purposes?

Thanks! I've added the test case.

Thanks!


support<EMAIL_ADDRESS>

support<EMAIL_ADDRESS>

It's all been modified according to your requirements. lol

You need to update pnpm-lock.yaml with pnpm i.


Make ContainerProxyTests more stable.

As the active ack is sent asynchronously in the invoker, it could happen, that the order of them is wrong in the ContainerProxyTest. This has been proven with the following debug information: https://github.com/apache/incubator-openwhisk/pull/4278
This PR makes these tests more stable by not relying on the order of active acks.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[x] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[x] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Saw another set of failure related to ContainerProxy https://scans.gradle.com/s/36yxkcjvgad6y/tests/failed

@chetanmeh Thanks for the hint. But on the first view it looks to me, like there is a completely different root cause, compared to the problem that has been fixed here.


Structured Measurement Keys

A class that wraps the string measurement key, encapsulating any measurement key related logic and provides various utils for users. Phased rollout to eventually move away from manipulating strings to a well defined interface.
Is your design idea/issue related to a use case or problem? Please describe.
Currently, the measurement keys are plain strings. We need more structure and logic to the key itself to have a cleaner way to:

Validate the keys (some characters are reserved to mean special things for e.g. ':' for nesting inside a CircuitOperation)
Treating measurement keys created from Qubits as special type. Remapping qubits for a MeasurementGate should also remap these keys.
Eliminate a lot of the brittle string parsing logic inside CircuitOperation and enable accessing different "levels" of a nested CircuitOperation more cleanly.
Unlock more expressive implementations for Representing Classical Data, Feed Forward and Flow Control

Describe your design idea/issue
RFC: https://tinyurl.com/structured-measurement-keys
The initial part outlines potential approaches to go about this. The "Detailed Design" goes deeper into the preferred option (based on feedback from cirq-maintainers@) and the implementation/rollout plan for it.

Is this done?

I think there was still a remaining task to rename and deprecate some protocols. While doing that we may want to see if we can speed up the default case for these protocols where nothing is implemented, perhaps removing some magic method options, as the protocols do get called in tight loops during circuit construction.

@daxfohl, could you elaborate on the remaining work? IIRC, measurement_key_(objs|names) was the intended end state for the protocol renaming. I'm on board for optimizations, but those can be a separate post-1.0 issue.

Oh, I thought you wanted to get rid of the objs suffix. If not then it
sounds like this is done.
On Tue, Jun 7, 2022, 11:46 AM Orion Martin @.***> wrote:

@daxfohl https://github.com/daxfohl, could you elaborate on the
remaining work? IIRC, measurement_key_(objs|names) was the intended end
state for the protocol renaming. I'm on board for optimizations, but those
can be a separate post-1.0 issue.
—
Reply to this email directly, view it on GitHub
https://github.com/quantumlib/Cirq/issues/4040#issuecomment-1149039695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG464NQJD2T6HLAEWRXHRLVN6KH3ANCNFSM43JOH5UQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Opened #5465 to track optimizations; closing this as complete.


Add WithSafeUnion Schemable (or Schema)

WithUnion is possible for Encoder/Eq (even in the Schemable system) with a slight adjustment to the API.
It's possible by replacing the items in the union with Schemas, and interpreting them when necessary.  In the case of encoder, you can Guard the input to determine which element of the union it is (to determine which value to encode it to).  And the same method applies for Eq.

Update: Union isn't strictly safe because, even though we can determine which union element matches a guard, we don't have a way to strictly tell which type is stronger if multiple guards match.  This could lead to undesirable behavior if items in the union are not mutually exclusive.
The new approach is called WithSafeUnion and involves decoding from an untagged union to a tagged union.   Thanks @skeate for the idea!

This might be possible with a schemable / schema combination, where the schemable takes an explicit guard for each union element, and the Schema can take schemata and derive guards to pass along to the schemable.  It still might be valuable to restrict the union to primitives, because other types can have overlap.

Schemable: guardedPrimitiveUnion
Schema: PrimitiveUnion

declare const PrimitiveUnion: <S extends ReadonlyArray<string | number | boolean | null | undefined>(...s: S) => Schema<S[number]>

And if the above works, we might be able to represent nullable and optional as schemata 🤩


Loop fusion

Current status is that loop fusion requires SubstBeneath rules from Ryan, so this is on hold

duplicate of #233


[proposal] Add support for pure lambda functions

This proposes adding support for plain lambda functions in chalice.  There's several benefits for doing this:

We'll still manage dependency building for you
You can use stage support to manage dev/prod stacks
Auto policy generation
Chalice manages deployment for you.

The API would use a similar decorator API:
@app.lambda_function()
def my_function(event, context):
    pass

When this happens we'll create a lambda function called "my_function" which is a direct pass through to the python function.  You'll have to manage authorizing other roles/services to call this lambda function.  The "complete" lambda function name will follow the same naming patter of {appname}-{stage}-{py_function_name}
The lambda_function() decorator accepts one arg, an optional name argument if you don't want to use the python function name for the py_function_name portion.
This partially implements https://github.com/awslabs/chalice/issues/162.  There's still a limitation where you need to have at least one route() defined, but this is a limitation I plan on removing in the near future.

Implemented in https://github.com/awslabs/chalice/pull/401

Chalice has been really helpful to me, when it comes to deploying Lambda functions. I extensively use AWS Step Functions, I make use of pure Lambda functions all the time. Could we have the planned support for not having to define a route / hook up a deployment with the API Gateway


freeze at loading screen, can't see the content [recent occurance]

the page ("src")stuck on loading screen (fade in,fade out circle animation)
To replicate the problem:
i) download the code as zip
ii) local-host the "src"
info: noticed this problem like a week back

hey
I have the same problem unable to see my web page

hey
I have the same problem unable to see my web page

Hi, can you provide a link? Thanks

I downloaded the zip file. Of https://tympanus.net/Development/ContentLayoutTransition/
When I open the index it appears this

Strange, it works for me. Are you sure you installed this following the instructions? Also, you say it doesn't work on your website, could you provide the link?


Don't render overridden sources twice in docs site

Describe the feature
If a project overrides a source declared in a package, the docs site will render the source twice in the DAG view (and probably the file tree, too). Let's update the docs site to reflect the logical source constructed by dbt.
@beckjake can you advise what changes, if any, should take place in the compiled manifest? I'd be relatively happy with some JS logic in the docs site to merge sources together, but the more work dbt can do here, the better! Any chance we can have sources indicating which other sources they override, or which sources override them?

I've thought about this a bit in the context of ref, and doc too. When we are parsing, we collect docrefs, refs, and sources - but only the literal arguments received. During compilation, we could either change those values (seems bad) or add new fields indicating the UIDs that were actually selected.
We almost do this with the depends_on value, but it only includes nodes. Maybe we could extend that to sources and docs as well?

The code change here appears to be pretty minimal - AFAICT from testing out #2357 in dev, it looks like we just need to point to manifest.sources instead of manifest.nodes in some places.

fix is here: https://github.com/fishtown-analytics/dbt-docs/pull/87
Going to smoke test this change some more, then PR the index.html file in dbt


Allow null value when blob doesnt exist

Returns None when a customer tries to access blob that doesn't exist

@Hazhzeng @anirudhgarg Could you please take a look at this PR? Thanks!

Moving to PR #67


Adding spec for reporter.js, validating object initialization

I did not see jasmine specs around the actual application code. I started with the reporter.js file, but I think adding specs to the other files wouldn't be hard either.
I'd like to work on the reporter.js file, but before I change it I'd like to cover it with specs.
Would you take specs covering the existing code with this style?

thanks for the pull request, it has been merged


Standard material is behaving incorrectly

Godot version
4.0.alpha7
System information
MacOS 12.3.1, Vulkan Clustered, Apple M1 Pro
Issue description
https://user-images.githubusercontent.com/74451594/166141206-aadafef9-30bc-493a-9fc9-64e2e6a52d01.mov
Materials are black/transparent by default. When refraction or no depth test are checked color works correctly but there are no shadows and it should work without them anyway. Also It would seem that if I'm not looking at any other mesh it works as intended.
Steps to reproduce
Add a MeshInstance 3D and set the mesh to cube. Add a standard material.
At this point it should have turned black even though color is set to white in albedo.
Minimal reproduction project
BrilliantBar.zip

Duplicate of https://github.com/godotengine/godot/issues/51898.


Replace pydocstyle with Ruff

Fixes #25
Pydocstyle was deprecated in favor of Ruff. Ruff has the exact same lints via the D ruleset.
As before, we only run the doc checks on source code and not tests.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

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

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
429

Relevant Lines:
429

💛  - Coveralls

Thanks @Eric-Arellano , LGTM!

@Mergifyio backport stable/0.1


Box2D - Basic ready for use (clean code and speed optimized)

DebugDraw works now: I belive a big feature for using Box2D in an own project.


Translate

Hi,
Thanks for yourr cool mod :)
I would like to know if I can translate your mod in french and how I can do that neatly (for sharing my work to you).
If some translate had already starting I can help.

Apologies for taking a while to respond. At this time there is no method for translation; however, this is likely something I should implement. When I find the time I will be sure to let you know! Thanks for offering your help!


Sync rSGB NG and rMR RTA WRs

Implements jump pads (rSGB)
Implements stunt tricks (rMR pipe)

KartMove in-game has a pointer to a JumpPadProperties object. Its use is incredibly minimal, so I've opted to optimize it out.
I've separated the commits for the different test cases, even though rMR syncs with all the changes incurred from the rSGB test case validation. Not sure if this is the precedent we want to set, or just combine into one commit. Let me know.

We should not optimize the JumpPadProperties pointer out, as it will be required for Mushroom Gorge.

Updated to fix merge conflict introduced from the merging of Kierio's test case.


Show warning instead of throwing error that pure option has been removed

This PR unblocks users to upgrade react-redux to the latest version with having other dependent libraries like react-beautiful-dnd which are in maintenance mode.
Resolves #1914
p.s it also fixes one warning which was hidden as restore of console.error mock was not done.

Thank you! I'll see if I can push out 8.0.2 tonight or tomorrow.

Thanks !!!


Feature/add migration down method

This PR reopens an earlier PR as requested by @philipgatzka:
https://github.com/shopware/platform/pull/1544
1. Why is this change necessary?
In the current situation, plugins have the opportunity to add data on install, but they don't have the opportunity to delete that created data on uninstall leaving junk data in the database and errors on reinstall. If for instance a custom field is added, but can't be deleted on uninstall, it will get a duplicate entry on the custom fields technical name the next install.
2. What does this change do, exactly?
It gives all plugin developers the opportunity to clean up the data they have added with their plugins. If that plugin is getting uninstalled, it's very likely that there will be data in the database which do not have any functions anymore, resolving in a lot of junk data with no usage and a lot of error sensitivity when the plugin would get installed again later.
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have created a changelog file with all necessary information about my changes
[x] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

AFAIK there is a (keepMigrations)[https://github.com/shopware/platform/pull/456] method in the uninstall context so you can prevent the re-execution of the migrations. BUT I still like the down methods :)

@JoshuaBehrens

AFAIK there is a keepMigrations method in the uninstall context so you can prevent the re-execution of the migrations. BUT I still like the down methods :)

Using that method would prevent your plugin from throwing errors on reinstall indeed, but it still doesn't clean up "the mess" that's been made on install when you permanently want to delete a plugin :wink:

@JoshuaBehrens also this method is deprecated! it should not be used on new things. with 6.4.0 it will all be configured with the "keepUserData" parameter

@mitelg I know ;) it is basically my method. I just want to mention there is a way to already stop the re-install error. @ArjanLankhaar is still right: no vaccuum cleaning up the mess

Finally. There should have been a way for down-migrations from the beginning as it makes it way easier to remove data.
Some points though

It would be nice if there is a command like doctrine migrations that can revert to a specific versin and the other direction.
If you want to keep in sync with migrate, I think there should be a destructive and non-destructive down migration. You already check for keepUserData, maybe if not that flag is not set only execute non-destrcutive down migrations?
The example for the down migration, is actually destructive as data is lost but the description suggests it is non-destructive. I know only the up migration is part of the migration is meant here but maybe it could be described a bit clearer, like e.g. if the user decides to remove their data the destructive down migration is executed or something like that?

Finally. There should have been a way for down-migrations from the beginning as it makes it way easier to remove data.
Some points though

It would be nice if there is a command like doctrine migrations that can revert to a specific versin and the other direction.
If you want to keep in sync with migrate, I think there should be a destructive and non-destructive down migration. You already check for keepUserData, maybe if not that flag is not set only execute non-destrcutive down migrations?
The example for the down migration, is actually destructive as data is lost but the description suggests it is non-destructive. I know only the up migration is part of the migration is meant here but maybe it could be described a bit clearer, like e.g. if the user decides to remove their data the destructive down migration is executed or something like that?

Hey @ArjanLankhaar, thanks for your contribution 💙 Unfortunately, we would need a changelog file for this 🙂

Hello, we're closing this pull request due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://docs.shopware.com/en/shopware-platform-dev-en/contribution/contribution-guideline.


[yaml] Add tests for provider schema validation

Add tests to validate #31974.
Created separate PR due to out-of-scope changes that should avoid cherry pick into 2.58.0 release candidate.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

ERROR: /runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/yaml/yaml_transform_test.py Imports are incorrectly sorted.
--- /runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/yaml/yaml_transform_test.py:before	2024-07-24 23:50:37.354358
+++ /runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/yaml/yaml_transform_test.py:after	2024-07-24 23:59:06.838165
@@ -23,16 +23,15 @@
 import unittest

 import yaml
-from apache_beam.yaml.yaml_transform import SafeLineLoader
-
-from apache_beam.yaml.yaml_transform import expand_pipeline

 import apache_beam as beam
 from apache_beam.testing.util import assert_that
 from apache_beam.testing.util import equal_to
 from apache_beam.utils import python_callable
 from apache_beam.yaml import yaml_provider
+from apache_beam.yaml.yaml_transform import SafeLineLoader
 from apache_beam.yaml.yaml_transform import YamlTransform
+from apache_beam.yaml.yaml_transform import expand_pipeline

waiting on author


checkScript: non-wrapped ms

We're hitting this error when spending from a UTXO whose input(s) come from a multisig. It looks like we can get around this by setting disableScriptCheck to true but I'm not sure why this is flagged as an error since we are not spending from a multisig. Our code is here for reference but to reproduce it should be enough to provide an input to selectUTXO with an array of possibleInputs where at least one input has a UTXO which spends from a multisig to the user's wallet.

Can't reproduce, please provide specific input that fails.

if we use witnessUtxo, then script of input will be user wallet script -> there is nothing to check
if we use nonWitnessUtxo:

normalizeInput decodes previous utxo as 'RawTx'
there is 'scriptCheck': checkScript(prevOut && prevOut.script, res.redeemScript, res.witnessScript);
but it happens only on output (which is input for out tx) prevOut = res.nonWitnessUtxo.outputs[res.index]

There is additional check inside 'PSBT decoding' (https://github.com/paulmillr/scure-btc-signer/blob/1.3.2/src/psbt.ts#L302)
but it was fixed in 1.3.2, which you use according to your package.json

since it was decoded from 'raw' version of tx, there is no 'script' in inputx, only 'finalScriptSig'.
NOTE: this fix is for different error, it would happen in your use-case if previous UTXO sends change back to multi-sig.

Here is an example of this specific case working (attempt at reproduction):
should.only('GH-114: unwrapped multisig', () => {
  const privKey1 = hex.decode('0101010101010101010101010101010101010101010101010101010101010101');
  const P1 = secp256k1.getPublicKey(privKey1, true);
  const wpkh = btc.p2wpkh(P1);
  // multisig utxo
  const compressed = hex.decode(
    '030000000000000000000000000000000000000000000000000000000000000001'
  );
  const compressed2 = hex.decode(
    '030000000000000000000000000000000000000000000000000000000000000002'
  );
  const compressed3 = hex.decode(
    '030000000000000000000000000000000000000000000000000000000000000003'
  );
  const ms = btc.p2ms(2, [compressed, compressed2, compressed3]);
  const oldBrokenTx = new btc.Transaction({
    // NOTE: here we need disableScriptCheck, because we construct raw tx
    // in mentioned use case this tx will be signed and serialized by somebody else.
    disableScriptCheck: true,
    allowLegacyWitnessUtxo: true,
  });
  oldBrokenTx.addInput({
    txid: hex.decode('c061c23190ed3370ad5206769651eaf6fac6d87d85b5db34e30a74e0c4a6da3e'),
    index: 0,
    witnessUtxo: { script: ms.script, amount: 100_000n },
  });
  oldBrokenTx.addOutputAddress(wpkh.address, 90_000n);
  // Add broken signatures
  oldBrokenTx.updateInput(
    0,
    {
      partialSig: [
        [compressed, new Uint8Array(33)],
        [compressed2, new Uint8Array(33)],
      ],
    },
    true
  );
  oldBrokenTx.finalize();
  const brokenCheck = btc.Transaction.fromRaw(hex.decode(oldBrokenTx.hex));
  // Now, lets try to spend output of that transaction
  // we spend wpkh output from this tx, but input inside this tx is broken
  const INPUT = {
    ...wpkh,
    txid: oldBrokenTx.id,
    index: 0,
    nonWitnessUtxo: oldBrokenTx.hex,
  };
  const spendTx = new btc.Transaction();
  spendTx.addInput(INPUT);
  spendTx.addOutputAddress(wpkh.address, 80_000n);
  spendTx.sign(privKey1);
  spendTx.finalize();
  deepStrictEqual(spendTx.id, '63f33dac6b7ed734c1720ed32865601d85fcbdec370df08f8562d40ec9e79c6b');
  deepStrictEqual(
    spendTx.hex,
    '02000000000101ec495ac2d31a09a8511203caec7cade7bdd2f1c9ff9acf106042e1d0e2bcfc8d0000000000ffffffff01803801000000000016001479b000887626b294a914501a4cd226b58b23598302483045022100ca2b3abb71e8b207dd9630cb9c7d5d5b2824183e9a2b79b1a4eff7cf7787f5ab0220464b4b3f688497a7fdb45d2403becd86d4a05d2c211a8a21724b98bdc7742b510121031b84c5567b126440995d3ed5aaba0565d71e1834604819ff9c17f5e9d5dd078f00000000'
  );
  const transaction = btc.selectUTXO([INPUT], [], 'default', {
    changeAddress: wpkh.address, // Refund surplus to the payment address
    feePerByte: BigInt(Math.ceil(1)), // round up to the nearest integer
    bip69: true, // Sort inputs and outputs according to BIP69
    createTx: true, // Create the transaction
    dust: BigInt(546), // TODO: update scure-btc-signer
  });
  //console.log(transaction);
  // no crash here!
});

Trying to put together a local repro FYI


Integrated terminal: environment variables in launch path

VSCode Version: 1.4.0
OS Version: Windows 7

Steps to Reproduce:

Install Git for Windows in C:\Users\<username>\AppData\Local\Programs\Git.
Open some project.
Set terminal.integrated.shell.windows to %LocalAppData%\\Programs\\Git\\bin\\bash.exe.
Open integrated terminal.
Set terminal.integrated.shell.windows to C:\\Users\\<username>\\AppData\\Local\\Programs\\Git\\bin\\bash.exe.
Open integrated terminal.

What happens:

On 4: Got error: The terminal process terminated with exit code: 1
On 6: Integrated terminal opens as expected.

Expected:
It seems vscode doesn't recognize environment variables in integrated terminal paths. It should.

Duplicate #7344

@Tyriar you've closed this as a duplicate of #7344 terminal.integrated.shell.windows setting Doesn't support environment variables.
But then you have closed #7344 as a duplicate of
#14973 Set environment variable before starting a terminal, which was (almost fully) implemented.
Creates a windy walk from issue to issue dropping relevance on the way :-)
In fact this is related to #2809 Support environment variables when resolving values in settings, which is not implemented at this point.

Hope that helps anyone trying to make sense of things. When #2809 is finally done, the fix for this issue would be:
Set terminal.integrated.shell.windows to ${env.LocalAppData}\\Programs\\Git\\bin\\bash.exe


Mouse move events increase frame rate on OpenGLViews

I'm actually using Stage3D, but Mouse move events force calls to the render function somehow, which makes the framerate jump up for a moment.

This happens for both 3.0 and lime-hybrid, so it might be in Lime


Question about step 3 and 4

In step 3, set_ap(ssid, password) I change ssid=tello and password=tellotello in file formation.py. Then I do the following code python formation_setup.py and it returns like
sending command command from ('<IP_ADDRESS>', 8889): ok sending command ap tello tellotello from ('<IP_ADDRESS>', 8889): OK,drone will reboot in 3s
Then I run python multi_tello_test.py test_2_drones.txt, but it shows [Still_Searching]Trying to find Tello in subnets... all the time, no tello is detected. I build an wifi like this.

And my test_2_drones.txt is shown below:

do you know where the problem is? thanks!

Is the ssid and password for a wifi network you’ve already created via a router or similar? And is your laptop / computer connected to the same wifi network? Both must be true for ap mode to work.

Try this version.

In step 3, set_ap(ssid, password) I change ssid=tello and password=tellotello in file formation.py. Then I do the following code python formation_setup.py and it returns like
sending command command from ('<IP_ADDRESS>', 8889): ok sending command ap tello tellotello from ('<IP_ADDRESS>', 8889): OK,drone will reboot in 3s
Then I run python multi_tello_test.py test_2_drones.txt, but it shows [Still_Searching]Trying to find Tello in subnets... all the time, no tello is detected. I build an wifi like this.

And my test_2_drones.txt is shown below:

do you know where the problem is? thanks!

try to check your script，be sure that your SN numbers are correct.

bonjour,
j'aimerais savoir si un adaptateur wifi est nécessaire pour piloter plusieurs drones ?


Disable OAuth for a specific path

Describe the bug
When trying to signout using OAuth, the application does not signout.
To Reproduce
Use the following OpenAPI configuration (note that Envoy is deployed in kusk-system):
oauth-kusk.yaml
apiVersion: gateway.kusk.io/v1alpha1
kind: API
metadata:
  name: auth-oauth2-oauth0-authorization-code-grant
  namespace: default
spec:
  fleet:
    name: kusk-gateway-envoy-fleet
    namespace: kusk-system
  spec: |
    openapi: 3.0.0
    info:
      title: auth-oauth2-oauth0-authorization-code-grant
      description: auth-oauth2-oauth0-authorization-code-grant
      version: '0.1.0'
    schemes:
    - http
    - https
    x-kusk:
      upstream:
        service:
          name: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
          namespace: default
          port: 80
      auth:
        scheme: oauth2
        oauth2:
          token_endpoint: https://aabedraba.eu.auth0.com/oauth/token
          authorization_endpoint: https://aabedraba.eu.auth0.com/authorize
          credentials:
            client_id: vEZT09ShdFO4iHCu0HCmMqy71pB2orzQ
            client_secret: CoDszWd0M3A2z4ITi8yV4SCfAixulnMAc07C6Dm4Fb1ZMqy-mrcEd_zcjDH77aTJ
          redirect_uri: /oauth2/callback
          redirect_path_matcher: /oauth2/callback
          signout_path: /oauth2/signout
          forward_bearer_token: true
          auth_scopes:
            - openid
    paths:
      "/":
        get:
          description: Returns GET data.
          operationId: "/get"
          responses: {}
      "/uuid":
        get:
          description: Returns UUID4.
          operationId: "/uuid"
          responses: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
  namespace: default
  labels:
    app: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
spec:
  selector:
    matchLabels:
      app: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
  replicas: 1
  template:
    metadata:
      labels:
        app: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
    spec:
      containers:
        - name: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
          image: docker.io/mccutchen/go-httpbin:v2.4.1
          ports:
            - containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
  name: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
  namespace: default
  labels:
    app: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
spec:
  selector:
    app: auth-oauth2-oauth0-authorization-code-grant-go-httpbin
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 8080

Now apply it
kubectl apply -f oauth-kusk.yaml

2- Configure ConfigMap and restart Envoy as describe in the docs here: https://docs.kusk.io/guides/oauth2#envoy-fleet
3- Port-forward to the default EnvoyFleet on port 8080 (important, as my Auth0, the one in the example, is configured for that port) and try through the browser to access http://localhost:8080/, which will take you through Auth0 signing flow.
4- Once you're authenticated and you can see the content of  http://localhost:8080, try to access through the browser the following url for logging out http://localhost:8080/oauth2/signout
5- You will see that you were not signed out, and the OAuth cookies are not erased.
Expected behavior
Calling /oauth2/signout/ should signout and take me to the signing page (Auth0's signing)
Version
$ kusk version
kusk version 1.2.0
https://github.com/kubeshop/kusk/releases/tag/v1.2.0
$ helm ls -n kusk-system
NAME                            	NAMESPACE  	REVISION	UPDATED                              	STATUS  	CHART                        	APP VERSION
kusk-gateway                    	kusk-system	1       	2022-09-02 12:10:56.481033 +0200 CEST	deployed	kusk-gateway-0.0.36          	v1.2.0
kusk-gateway-api                	kusk-system	1       	2022-09-02 12:15:06.354311 +0200 CEST	deployed	kusk-gateway-api-0.1.14      	v1.1.4
kusk-gateway-dashboard          	kusk-system	1       	2022-09-02 12:16:36.085425 +0200 CEST	deployed	kusk-gateway-dashboard-0.1.11	v1.1.0-stable
kusk-gateway-envoy-fleet        	kusk-system	1       	2022-09-02 12:12:26.362519 +0200 CEST	deployed	kusk-gateway-envoyfleet-0.0.5	v0.0.0
kusk-gateway-private-envoy-fleet	kusk-system	1       	2022-09-02 12:13:45.800318 +0200 CEST	deployed	kusk-gateway-envoyfleet-0.0.5	v0.0.0

I don't think the signout path is working in Envoy itself.
I've tried this, https://github.com/veehaitch/envoy-oauth2-filter-google, simple example with some slight modifications that I can share. Ping me and I'll make the repository public or something. Basically just put in the oauth0 credentials in there.
Simply put, after going to http://localhost:8080/oauth2/signout a redirect to / happens which then causes it to acquire a token again. The behaviour is a bit puzzling as the cookies are not cleared out either when I call the /oauth2/sighout path from the command line with the cookie.
I've raised an issue in this, https://github.com/veehaitch/envoy-oauth2-filter-google/issues/2, example repository asking the author to also check if signout_path does indeed work or not.
I'm marking the issue as blocked until we receive feedback.

@mbana testing from the CLI the /oauth2/signout I see that it generates correctly the set-cookie: cookieName=deleted which is the way that the browser knows that the server wants the cookies to be deleted. But for some reason, the browser disregards those cookies...
http -v http://localhost:8080/oauth2/signout "Cookie:LONG_COOKIE"
GET /oauth2/signout HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cookie: LONG_COOKIE
Host: localhost:8080
User-Agent: HTTPie/3.2.1

HTTP/1.1 302 Found
content-length: 0
date: Mon, 05 Sep 2022 19:39:07 GMT
location: http://localhost:8080/
server: envoy
set-cookie: OauthHMAC=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
set-cookie: BearerToken=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
set-cookie: IdToken=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
set-cookie: RefreshToken=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT

@mbana testing from the CLI the /oauth2/signout I see that it generates correctly the set-cookie: cookieName=deleted which is the way that the browser knows that the server wants the cookies to be deleted. But for some reason, the browser disregards those cookies...
http -v http://localhost:8080/oauth2/signout "Cookie:LONG_COOKIE"
GET /oauth2/signout HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cookie: LONG_COOKIE
Host: localhost:8080
User-Agent: HTTPie/3.2.1

HTTP/1.1 302 Found
content-length: 0
date: Mon, 05 Sep 2022 19:39:07 GMT
location: http://localhost:8080/
server: envoy
set-cookie: OauthHMAC=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
set-cookie: BearerToken=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
set-cookie: IdToken=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
set-cookie: RefreshToken=deleted; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT

So it deletes the cookies as I mentioned but then it does the redirect, (HTTP/1.1 302 Found), to /.
I think we should either try to get signout working on the basic example from https://github.com/veehaitch/envoy-oauth2-filter-google or wait until the issue I raised gets a response from the author.

@mbana I believe we are functioning correctly.
From Auth0's documentation:

Logout issues
Make the logout redirect URL an anonymous page (not protected by login) so that redirects to the logout redirect URL do not immediately trigger a login, which may confuse users.

So, because the OAuth2 rule is applied globally, redirecting to / triggers another login. This time it does not ask for a password because we're already logged in with Google! 😫
I think the solution is to have a path-after-logout (for lack of a better name) option in our extension, and then we set Envoy to not protect that path with the auth rule.

We're going to implicitly (from a user's perspective) disable OAuth on the root path.

Just leaving a note here of what I stumbled across.
Please note: [Oauth] Option to customize sign-out redirect #18983 .
Itsio allows you to control the route that the user will redirected to upon logout, see: https://github.com/istio-ecosystem/authservice/blob/5d3a9023bfea111d98a091f9a6e67e04c1646086/test/filters/oidc/oidc_filter_test.cc#L938.


Could you make this as standalone HTML file so that we can sent via mail

The current report we wont be able to sent via mail because it has got dependency on json file.
Describe the solution you'd like
So is it possible to make the html as standalone so that all values come inside the reporter. So this report can be sent via mail.
Describe alternatives you've considered
I have used another report html-format-report which is a standalone one

Hi @qburst-hari
What do you exactly mean? The report that is generated contains all kinds of html pages and is completely standalone. Just zip it if you need to send it.


Home Assistant integration?

Hello!
Would You know if there is Home Assistant integration (custom component) done using this library?
Also here (in GitHub) version is 0.0.8, but in PyPI it shows version 0.0.11. What is difference between these?

Hi,
I have pushed new version to the repo. There are some bug fixes. So that should be both up to date.
Regarding Home Assistant, I am not aware if anyone else has created, but I have build my own component. Actually I build this library just for that. The component current status in early alpha and development phase. I am just testing it on my own and so far it is working for me. However, there are a lot to work on. At the moment I have not shared the code, but if you are interested I can put it on github.

Great! Would be very much interested in helping to test :-) and get local control.

You can find custom component here. As I said, a lot of work is required to make it into a proper component. So, use it at your own risk. If you encounter any issues I might be able to help but can't promise that :).

Many thanks for sharing! First test done and everything seems to be working as expected. There was a warning in the log to create issue for author, so I will do that under correct repository (should be minor change).
FYI: I am currently using this, which would break if my Internet connection is down (luckily not that often) or when there is problem with cloud (recent AWS issue had an affect).

Library version in GitHub is still 0.0.8...

I am sure this commit 0635bc7bc38a8f5b6fa4f03acf3f7c2383c1c6c9 bumps to 0.0.11

Sorry, that was my mistake, looked ino wrong place. I have correct version now.
Another question, would you be willing to share your work here: https://community.home-assistant.io/t/daikin-heat-pump-altherma-integration/202760/70?


Update changelog for 2019.12.13 release

@NCAR/xdev-cataloging, please take a look at this at your earliest convenience. If everything looks good, please go ahead and merge this. I am planning on cutting a new release tomorrow.