Support labels in AWS SecretsManager backend

Implements versioning through labels in AWS SecretsManager backend.
To define a default label, set spring.cloud.config.server.aws-secretsmanager.default-label. By default it is the active version (AWSCURRENT) is going to be used.
E.g.:
spring:
  profiles:
    active: aws-secretsmanager
  cloud:
    config:
      server:
        aws-secretsmanager:
          region: us-east-1
          default-label: 1.0.0

Note that labelled secrets should have staged labels set, for example:
$ aws secretsmanager create-secret \
      --name /secret/test/ \
      --secret-string '{"version":"1"}'
{
    "ARN": "arn:aws:secretsmanager:us-east-1:012345678990:secret:/secret/version/-a1b2c3",
    "Name": "/secret/version/",
    "VersionId": "cd291674-de2f-41de-8f3b-37dbf4880d69"
}

$ aws secretsmanager update-secret-version-stage \
      --secret-id /secret/test/ \
      --version-stage 1.0.0 \
      --move-to-version-id cd291674-de2f-41de-8f3b-37dbf4880d69

{
    "ARN": "arn:aws:secretsmanager:us-east-1:012345678990:secret:/secret/version/-a1b2c3",
    "Name": "/secret/version/",
}

When a request with 1.0.0 as a label comes, the secrets having staging label 1.0.0 will be picked up.
Relates to #2103.

Hey @dantonyuk , I think we should apply different approach to this problem. We should use Secrets Manager Secret staging labels that are tied to Secret. Check versions. After that we can use GetSecretValueRequest versionStage attribute to get it. For me this approach looks more solid and gives us more control.
We can then just use for example:
	 GetSecretValueRequest.Builder requestBuilder = GetSecretValueRequest.builder().secretId(path); 		if (StringUtils.hasText(environmentProperties.getVersionStage())) { 			requestBuilder.versionStage(environmentProperties.getVersionStage()); 		}
I played with this since at Spring Cloud AWS secrets manager I am looking to add similar support for Spring.config.import we support.

Hi @MatejNedic,
Thank you for sharing this!
As per my understanding, AWS Secrets Manager Secret versions and staging labels are not something that we can define. All version IDs are just UUIDs, and staging labels are just a set of predefined strings.
So I see these drawbacks:

There is no way to define custom labels or version IDs on our own. E.g. if we have two backends: git and awssecretsmanager, we have to tag commits with AWS staging labels' names. We lose the flexibility of naming the labels the way we want.
There is no way to fetch the secrets with the same version (except predefined staging labels). It limits us to have only three predefined spring cloud config labels. We lose the opportunity to have more than three labelled sets of configurations.
AWS cleans up old versions without asking. You can't have "dangling" versions, only the versions with staging labels. We lose old versions and can't have them back.
Staging labels are not the same as versions. If I want to compare the current release with the previous one I have to move the git tag along with the AWS Secrets Manager Secrets rotation. We lose the possibilities of having minor releases, or comparing the releases other than the current and the previous.

The former two do limit a lot the workflow we can have with the Spring Cloud Config. The latter two drastically affect version tracing and troubleshooting.

Hi @dantonyuk ,

You can add any named staging label you want. Problem is when it is AWSCURRENT and AWS moves it to AWSPREVIOUS it will delete your label. One option to fight is that you don't label  secrets that are AWSCURRENT and once you change it you Label it.
One thing to note you can even set next versionID when you are doing the update of a Secret.
I ran this against localstack works like a charm:

SecretsManagerClient secretsManagerClient = SecretsManagerClient.builder().region(Region.of(localstack.getRegion())).endpointOverride(localstack.getEndpointOverride(SECRETSMANAGER)).build();
GetSecretValueResponse getSecretValueResponse = secretsManagerClient.getSecretValue(GetSecretValueRequest.builder().secretId("/certs/prod/fn_certificate").build());
secretsManagerClient.updateSecret(UpdateSecretRequest.builder().secretId("/certs/prod/fn_certificate").clientRequestToken("6c155336-210f-43ee-9d2d-57a29a32e31c").secretString("my new string").build());
secretsManagerClient.updateSecretVersionStage(UpdateSecretVersionStageRequest.builder().secretId("/certs/prod/fn_certificate").versionStage("myrandomUUID").moveToVersionId(getSecretValueResponse.versionId()).build());
secretsManagerClient.updateSecret(UpdateSecretRequest.builder().secretId("/certs/prod/fn_certificate").clientRequestToken("6d155336-210f-43ee-9d2d-57a29a32e31c").secretString("my fake string").build());
getSecretValueResponse = secretsManagerClient.getSecretValue(GetSecretValueRequest.builder().secretId("/certs/prod/fn_certificate").versionStage("myrandomUUID").build());

Is not a problem anymore since you can have up to 20 defined different labels on a secret. Take a note what they say in Documentation:

You can also attach your own staging label to a version, for example to indicate development or production versions. You can attach up to 20 staging labels to a secret. Two versions of a secret can't have the same staging label.

Only problem now is that you are limited to 20 labels. This sucks not gonna lie, but again when thinking about it do you really need a secret from a release that is no longer in production like 6 months old? I doubt that. If you do rollback you do it to previous version and delete a new version. Again don't know your use case and you will probably give me some better look on situation.

They start doing it if you pass 100 versions, I think 100 versions is a lot and you should not be using a secret from 90 versions ago anyway.

Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

Hmm... I did not know they allow to define their own labels. Thank you! Let me play with it.

@MatejNedic, thank you!
I've implemented label support based on the staging labels.

Polished this in https://github.com/spring-cloud/spring-cloud-config/pull/2233


[bug]Zooz Zen20 powerstrip not being queried

Version
zwavejs/zwavejs2mqtt:latest docker
Log error for the Zen20 zooz powerstrip
2021-04-13T15:38:35.139Z CNTRLR [Node 056] Timed out while waiting for a response from the node
2021-04-13T15:38:35.154Z CNTRLR [Node 056] Interviewing Multi Channel... [Endpoint 1]
2021-04-13T15:38:35.155Z CNTRLR » [Node 056] Querying endpoint count for CommandClass Binary Switch...
2021-04-13T15:38:35.155Z CNTRLR [Node 056] Error during node interview: This virtual node (Endpoint 1) does not support the command GetV1!
Build/Run method

[X ] Docker

zwavejs2mqtt version: 3.2.1
zwave-js version: 7.2.2
Describe the bug
moveng to ZwaveJS all device queried except the Zoos Zen20 I get the error above in the log.

Please attach a full log file.
/cc @AlCalzone


Add a 'this is a generated file' header to generated source files.

Each generated source code file should have a statement about it being generated and that any edits may be overwritten if re-generated.

done


Code Optimization Proposal - Repeated Scaling and Splitting

Hi, I am Ayushi Sha. I’ve been reviewing the project as part of my contribution to GSSoC Extended 24 and noticed that the code performs scaling and splitting multiple times. To optimize the workflow and improve efficiency, I’d like to propose making changes that involve scaling and splitting the data just once, and reusing the processed data afterward.
This would help reduce redundancy and potentially enhance performance. I would like to work on this.
If you like this idea, please assign the task to me and add the corresponding labels to it.
Thank you for your time and consideration!

@rohitinu6 I noticed that feature scaling has been performed on the data set but to make predictions instead of using X_test_scaled everywhere, X_test is being used which is significantly changing the results. I think it's a typography mistake and for now I am changing it to X_test_scaled. Do get back to me if it is to be left to X_test only.


cdpClient: import domains directly from the JSON file and rename vari…

…ables

Just a bit of refactoring. Real changes will come later.

Sure, I can! I was hoping to first hear if you have any concerns with the current approach, before we take the effort to document it.


Wrong path construction for tern executable

Hello,
I am writing a node application and wanted to use atom-ternjs to get type completion.
Although, after installing and configuring my project I get the following error:
'C:\Users\user.atom\packages\atom-ternjs\node_modules.bin\tern' is not recognized as an internal or external command, operable program or batch file.'

Note the missing backslashes after user as well as node_modules
This is my current .tern-project:
{
  "ecmaVersion": 6,
  "libs": [],
  "loadEagerly": [
	"app/**/*.js"
  ],
  "plugins": {
	"node": {}
	"node-express": {}
  }
}

Note that there is not even a file tern inside the corrected path (C:\Users\winterp\.atom\packages\atom-ternjs\node_modules\.bin).
winterp@WINTERP3 MINGW64 ~/.atom/packages/atom-ternjs/node_modules/.bin
$ ls
acorn*  acorn.cmd  tern-lint*  tern-lint.cmd  tsc*  tsc.cmd

I'm currently working on a 64bit install of Windows 8.1. Git and node are installed as well as on the path.
winterp@WINTERP3 MINGW64 ~
$ apm --version
apm  1.4.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.6.2.windows.1
visual studio

With kind regards

Could you please update to 0.9.0 and try again. Maybe this will solve the issue but i'm not sure.
Because we are talking about the backslash... is the username on the current system user?

Well, I updated to 0.9.0 (since it is not in the official repositories yet, I had to manually run apm install<EMAIL_ADDRESS>and the error has been replaced with a new one..
Bad JSON in C:\Users\winterp\needle\server.tern-project
Unexpected string

Followed by:
Error parsing .tern-project. Please check if it is a valid JSON file.

As you see, the user name is winterp (and would've been in the initial post as well if I didn't edit it).
Another time, one backslash in front of the file name is missing.
As far as I can see from here, if a file or directory starts with a . the necessary backslash is omitted from the plugin.
Greetings

Please try 0.8.1. I couldn't reproduce the issue on Windows 8.1 with 0.8.1.
If the issue still exists you may post the structure (folders/files) of the project so i can reproduce the problem.
Greetings

Well, after switching to 0.8.1 and still having an error, I double checked the config file and found it included an typo. After the specification of the node plugin a , is missing that caused the program to fail.
In effect, using the latest version the correct error is thrown (Bad JSON), although the file path is not properly outputted.
Therefore, I would propose to close this issue and open a new one regarding this problematic scenario.


Capitalization of the word in the Footer

Signed-off-by: Utkarsh Mishra<EMAIL_ADDRESS>Description
Capitalization of the word in the Footer, as per the suggestion.
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Thanks @Chadha93 😊


Meet/plug/labhub

Reviewers Checklist

[ ] Appropriate logging is done.
[ ] Appropriate error responses.
[ ] Handle every possible exception.
[ ] Make sure there is a docstring in the command functions. Hint: Lookout for
botcmd and re_botcmd decorators.
[ ] See that 100% coverage is there.
[ ] See to it that mocking is not done where it is not necessary.

ack bcbf01f

@rultor merge

@rultor merge

@meetmangukiya OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@meetmangukiya Done! FYI, the full log is here (took me 2min)


ci: remove docker login

Dependabot has problems on accessing secrets, for now we try without it.
Let's see how it works

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


Does this work with RESTier?

I didn't see any specific documentation about working with RESTier but it does use all the same underlying technologies, so it should work in theory right?

From a purely technical perspective, API versioning could support RESTier. Unfortunately, the routing configuration for OData holistically is not all that extensible. The design has gotten more flexible with the adoption of dependency injection, but there would still be considerable developer work to make the necessary route configurations for API versioning. In fact, if you happen to look at the API versioning source code for OData, a significant part of it is merely reimplementing all of the route configurations.
Honestly, I don't have a deep knowledge of RESTier. I took a peek at their source and it appears that MapRestierRoute wraps over MapODataServiceRoute. The MapODataServiceRoute method is not used by API versioning and it instead provides the similarly named methods MapVersionedODataRoute and MapVersionedODataRoutes, which are API version aware. It don't see why - yet, a flavor of RESTier setup could not be created that could support API versioning.
I'm not opposed seeing a supported flavor of RESTier be supported, but it's quite doubtful at this point in time that I would support it. I'm virtually an army of one on this project and I already support 3 platforms. I'm not sure that I can take on more. Furthermore, from the information I've found there are quite a few flags that would make me hesitant, including:

There's no official release; despite calling it General Availability (GA), the released package is still Beta
There hasn't been any active development on RESTier for more than two years
RESTier currently only supports ASP.NET Web API and not even the current version 7.x+
Adoption numbers, based on package downloads, is fairly low
Issues no longer seem to be answered, triaged, or otherwise resolved

It would seem that RESTier never got the true green light for GA. It has all the indications that no more work is being done or may ever be done on it again. It might be worth asking the OData team or perhaps even an issue on RESTier itself to see if the project is still active. If it's still active and there is enough interest, I would consider supporting it in a future iteration. Otherwise, it would be up to the RESTier community to create a package that is API version aware, which should be a combination of API versioning for OData and RESTier.
I'm sure that's not the answer you were looking for, but I hope that provides some useful information.

Thank you for the great answer! The OData team continues to insist they are almost back to supporting RESTier. You can read our conversation with that team here:
https://github.com/OData/RESTier/issues/540
I fully understand the response though. Hopefully we can see some action on the project.

Well, it all runs around that Odata needs to start moving out of their slumber and move to the new 2.2 endpoint routing. Then this opens a lot of possibilities down the road to integrate.
Sadly, I am quite negative about the Odata team actually ever going to significantly move out of their slumber. History sadly talks badly about it ;( Still wishing. Like many here I am sold on OData - and stuck with the MS Stack. As bad as it partially is, trying to integrate in typescript is even worse.

Just thought I'd post back on this and say RESTier is back in active development and has released a couple of release candidates. They are getting very close to the first GA and then will focus on a re-write for .NET core. I opened a discussion on their end for versioning and support.

Hello, my name is Robert McLaws, and I'm one of the project leads for Restier. I don't see any reason why we couldn't ship a NuGet package that bridges the gap between this library and Restier by shipping a .MapVersionedRestier() extension method.
We also refactored how services were added vs routing, so that should also make this a bit easier.
I'll look into it over the break and see if we can ship something by RTM. Thanks!

No problem. Some of the work may (or may not) be predicated by the OData work happening for .NET Core 3.0/3.1. On both the old Web API stack and the (now legacy) IRouter method of routing in ASP.NET Core, API Versioning has to replace/extend the core action selection logic. This has been at odds with OData in the past, which does some of the same things. This is also what drove the OData-specific EnableApiVersioning() extension method because it was the only way to ensure the API Versioning changes came after OData. This requirement, in part, influenced the design of Endpoint Routing (I met with the ASP.NET team a couple of times) and made it possible to extend the action selection rather than replace it. As it still currently stands, I've effectively had to fork a significant portion of the OData routing code to make it support versioning. =/
At its most basic roots, API Versioning doesn't really change anything about routing. It merely allows duplicates routes where duplicate routes would not have been allowed before and disambiguates them by API version. If duplicates still arise (e.g. developer mistake), the behavior should remain unchanged from routing without API Versioning. How API Versioning discovers and manages the versions is a cross-cutting concern that can be provided by attributes or conventions.
As things more specifically apply to the OData implementation, all of the other rules apply and API Versioning additionally creates a single EDM per API Version. This provides clean separation of each EDM and most things continue to work the same or similar to how they worked before (ex: $metadata, but now also with $metadata?api-version=2.0 or whatever versioning method was used). Each EDM is also annotated with the ApiVersionAnnotation so you can tell which version the EDM is for.
Unfortunately, because OData uses a catch-all route template (e.g. {*odataPath}) and then bolts on its own conventions, this adds some additional complexity. Specifically, an OData route is generated per API Version and EDM. There is also a special unversioned route to maintain parity with the 400 behavior or an unmatched API version vs the normal 404 response.
I assume the ask is mostly for .NET Core, but I'm open to supporting the Web API stack too. You can find the .NET Core implementation setup here if you hadn't already seen it. It should look strikingly similar to the built-in OData setup, with additional configuration or hooks. I'm open to other ideas for setup too. I never really liked it, but I went with an approach that was similar to the out-of-the-box OData experience.

Restier does not support .NET Core at all. We are shipping v1 with support for WebAPI2, so we can honor the work that the original team did. Since that tech was started in 2014, it doesn't make sense to carry that into 2020. We can support .NET Core more quickly if we rebuild Restier's interception pipeline so that it properly supports DI.

Ah … ok … so were just talking about the Web API stack. No problem. It's certainly less work in the short run. ;)
Here's the configuration setup for Web API. The majority of things are the same between the platforms. The majority of the work has been making OData's routing API Version aware. There's a ton of unit and acceptance tests if that helps flush out things work. There's also a few sample applications.
Happy to answer any questions or chew on ideas. I'm not all that familiar with RESTier's inner working.

I'm going back and cleaning up old issues. In terms of what this project will do, I think the issue has reached its conclusion. As a one-man project, there's only so much I can facilitate on my own. Had I not already had a deep and long history with OData, it may never have been supported at all.
5.0.0-RC.1 is now available. This version has undergone a complete overhaul of the internal OData setup mechanics. It's simpler and more straight forward than ever before. As it relates to RESTier, the IContainerBuilder extensions required to enable API versioning services are publicly accessible. As proposed above, RESTier would likely need something like MapVersionedRestier which would use a setup similar to the HttpConfiguration.MapVersionedODataRoute extension methods. If you had looked at these in the past, you'll notice that they are vastly simpler and is now able to pipe through to the core OData implementation. There may be a few things need to setup the correct routing conventions, etc, but all the pieces are there and it should be straight forward.
API Versioning replaces the following services in Web API:

IHttpControllerSelector
IHttpActionSelector
IApiExplorer (if using API explorer extensions)

I don't see those being changed by RESTier so it shouldn't be affected. The changes to the way ODataQuerySettings are registered might affect the way API Exploration works or otherwise reports query options. These can be addressed by using the query option configuration conventions for the versioning API Explorer extensions or it can be handled in your OpenAPI/Swagger generator of choice.
I'm happy to provide guidance, input, or potentially even make changes to support anyone's effort to bring versioning to RESTier. My best estimation is that versioning is possible with minimal effort. If ASP.NET Core is ever supported, the interaction and APIs to connect versioning to OData is very similar.

Aside: The RC label is to allow for a little burn-in to 5.0 before officially publishing. That should happen within the next 2 weeks from this post.

Thanks again for the interest, but this isn't a project I can take on here. Feel free to continue asking questions on this issue if there are any. Thanks.


@3.2.0 npm browser build, global object reference error

Yo. I'm working on a project for browsers that is using bluebird via jspm/npm. Was working like a charm on<EMAIL_ADDRESS>but as soon as I bumped up to<EMAIL_ADDRESS>js/browser/bluebird.js threw a ReferenceError in my face.
Uncaught ReferenceError: global is not defined @ bluebird.js:816

The portion in question (js/browser/bluebird.js@3.2.0):
var fireGlobalEvent = (function() {
    if (util.isNode) {
        return function() {
            return process.emit.apply(process, arguments);
        };
    } else {
        if (!global) { // Right here, line 816.
            return function() {
                return false;
            };
        }
        return function(name) {
            var methodName = "on" + name.toLowerCase();
            var method = global[methodName];
            if (!method) return false;
            method.apply(global, [].slice.call(arguments, 1));
            return true;
        };
    }
})();

Whereas @3.1.5 seems to recheck the global object inside fireGlobalEvent.
        var globalObject = typeof self !== "undefined" ? self :
                     typeof window !== "undefined" ? window :
                     typeof global !== "undefined" ? global :
                     this !== undefined ? this : null;

        if (!globalObject) {
            return function() {
                return false;
            };
        }

Issue with #929 ?

Digging around, it looks like references to global were intended to be references to util.global.

Interesting, did you turn monitoring on in your setup?

I did not turn on monitoring. Was just running out of the box. \o/

@benjamingr did you verify your patch works? Otherwise I'm gonna have to revert the monitoring stuff, I don't have time to really get into this.

@Okahyphen does 3.2.1 work for you?

@petkaantonov Yep, looks great. Nice work. Will close this issue.


Disable cilium policies

What this PR does / why we need it
Towards: https://github.com/giantswarm/roadmap/issues/2860
Checklist

[x] Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

/run cluster-test-suites

This will not remove anything. You need to revert #387.

That is, add remove: true in addition to enabled: true

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites


[Bug] NoMethodError - undefined method `use_default_xcode_linking?' for nil:NilClass

What happened?
This is my Gemfile:
source 'https://rubygems.org'
source 'https://rubygems.org'

gem 'cocoapods'
gem 'cocoapods-xcconfig-hooks'
gem 'cocoapods-spm'

And the podfile as specified in the usage:
platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

plugin "cocoapods-spm"
plugin "cocoapods-xcconfig-hooks"

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  spm_pkg "MeetingDoctorsSDK",
  :url => "https://github.com/Meeting-Doctors/meetingdoctors-sdk-spm",
  :branch => "main",
  :linking => {
  :use_default_xcode_linking => true,
  }

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

After executing bundle exec pod install:
Error
NoMethodError - undefined method `use_default_xcode_linking?' for nil:NilClass
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/resolver/recursive_target_resolver.rb:29:in `block in resolve_recursive_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/resolver/recursive_target_resolver.rb:28:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/resolver/recursive_target_resolver.rb:28:in `resolve_recursive_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/resolver/recursive_target_resolver.rb:15:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/resolver.rb:24:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/resolver.rb:24:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/patch/installer.rb:59:in `block in resolve_spm_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/patch/installer.rb:57:in `resolve_spm_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-spm-0.1.4/lib/cocoapods-spm/patch/installer.rb:13:in `block in <class:Installer>'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:162:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/Library/Ruby/Gems/2.6.0/bin/pod:23:in `load'
/Library/Ruby/Gems/2.6.0/bin/pod:23:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'
/Library/Ruby/Gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/Library/Ruby/Gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'
/usr/bin/bundle:23:in `load'
/usr/bin/bundle:23:in `<main>'

CocoaPods environment
Stack
   CocoaPods : 1.15.2
        Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]
    RubyGems : <IP_ADDRESS>
        Host : macOS 14.1.2 (23B92)
       Xcode : 15.1 (15C65)
         Git : git version 2.39.3 (Apple Git-145)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : bitbucket-meetingdoctors-team-cocoapods-specs - git - https://bitbucket.org/meetingdoctors-team/cocoapods-specs.git @ 6264c32f2b5dc71f88ec1a6a132a29951dc42229

               trunk - CDN - https://cdn.cocoapods.org/

Installation Source
Executable Path: /Library/Ruby/Gems/2.6.0/bin/pod

Plugins
cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-spm         : 0.1.4
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

plugin "cocoapods-spm"

target 'Runner' do
  # use_frameworks!
  use_modular_headers!

  spm_pkg "MeetingDoctorsSDK",
  :url => "https://github.com/Meeting-Doctors/meetingdoctors-sdk-spm",
  :branch => "main",
  :linking => {
  :use_default_xcode_linking => true,
  :linker_flags => ["-ld_classic"]
  }

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

Anything else?
No response

Hi there. Sorry for the late response.
I've checked this case, there are few things to do in order to integrate this MeetingDoctorsSDK package:

Let's omit the :linking option. The : use_default_xcode_linking doesnt work in some corner cases.
Let's add the :products option to specify what products to use. By default, it's implicitly inferred as the name of the package (MeetingDoctorsSDK).
But in this case, the library products declared in the manifest is MeetingDoctorsSDKWrapper, not MeetingsDoctorSDK (see: here)

To sum up, the spm_pkg declaration would be:
  spm_pkg "MeetingDoctorsSDK",
          :url => "https://github.com/Meeting-Doctors/meetingdoctors-sdk-spm",
          :branch => "main",
          :products => ["MeetingDoctorsSDKWrapper"]

I've tried that on the example project and it works on my end.
Thank you!


Naught worker goes down suddenly

Hello, cool lib, had a weird issue:
I've noticed in certain cases when I make a change that breaks my application (i.e., never sends process.send("online") in the new worker), the old worker dies for some reason, even though my understanding is that the old worker should stay up till the new worker is online.
The weird thing it doesn't happen on the first try, usually many tries later. My understanding is any number of failures before process.send("online") should NOT bring down the active/old worker.
Am I misunderstanding something here? Or is there more troubleshooting I can do?
I can understand if naught doesn't protect against a server killing itself, but this case seems strange

I'll debug this a bit more and see whats up


A copy out job function

A new way of releasing files involving a massively parallel file copy Steps function.
(that function is implemented elsewhere - but these are the hooks into Elsa for it)

Only two files in release

Admin says where to send them

The job runs

Tada..

Closes #261


Food search, food history improvements and pipeline utils.

forgot to mention that this pr also impoves the seasonal food endpoint so it uses the harvest collection.


Sample Code

Looking to use the keepa api to pull historical prices and sales rank over the last year from amazon.  Any example python code you can point me to that I can lift?

Hello,
You can get source at:
https://github.com/akaszynski/keepaAPI
or install it using pip with
$ pip install keepaAPI
Cheers!
On Sun, Feb 26, 2017 at 2:21 AM, riverblufftrail<EMAIL_ADDRESS>wrote:

Looking to use the keepa api to pull historical prices and sales rank over
the last year from amazon. Any example python code you can share to use the
api?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/akaszynski/keepaAPI/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALbTP0fgPK1mNe4vWUe5ms44WNVpHAjXks5rgNOzgaJpZM4MMMyy
.

I tried to use the stats parameter by entering the state time, like below. but there is no effect to the returned object.
products = api.ProductQuery(asin,30)

If the following doesn't work, please open a new issue on GitHub
import keepaAPI
mykey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
api = keepaAPI.API(mykey)
products = api.ProductQuery(asin,30)
product = products[0]
product['stats']
Yields:
{'stockPerCondition3rdFBA': None, 'buyBoxShipping': -2, 'stockAmazon': -2,
'isAddonItem': None, 'min': [[3468212, 17034], [3508846, 2672], [3514284,
2621], [2835857, 18238], [2532601, 19900], [3688866, 14390], None, None,
None, None, None, [2532601, 1], [2591729, 1], None, [3676544, 1], None,
None, None, None, None, None, None, None, None, None, None, None, None,
None, None, [3410334, 2], None], 'buyBoxPrice': -2, 'buyBoxIsFBA': None,
'buyBoxIsUnqualified': None, 'stockBuyBox': -2, 'buyBoxIsShippable': None,
'maxInInterval': [[3720778, 23900], [3720778, 17996], [3734740, 14010],
[3753028, 981486], [3720778, 23900], [-1, -1], None, None, None, None,
None, [3760210, 5], [3758038, 17], None, [-1, -1], None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, [3741134,
7025], None], 'buyBoxIsMAP': None, 'max': [[3645608, 23900], [3285100,
21898], [2638951, 79276], [2779405, 1826091], [3609864, 23900], [3676544,
21000], None, None, None, None, None, [3061696, 21], [2956760, 31], None,
[3676544, 1], None, None, None, None, None, None, None, None, None, None,
None, None, None, None, None, [3698330, 7168], None], 'totalOfferCount':
21, 'minInInterval': [[3720778, 23900], [3720778, 17996], [3757828, 8807],
[3754030, 107582], [3720778, 23900], [-1, -1], None, None, None, None,
None, [3720778, 4], [3734092, 12], None, [-1, -1], None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, [3723492,
2908], None], 'stockPerConditionFBM': None, 'avg90': [23754, 17989, 11461,
572895, 23900, 19265, -1, -1, -1, -1, -1, 5, 18, -1, 0, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5274, -1], 'tradeInPrice': -2,
'avg180': [22400, 17141, 10077, 832307, 23535, 19265, -1, -1, -1, -1, -1,
6, 19, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
3854, -1], 'retrievedOfferCount': -2, 'outOfStockPercentageInInterval': [0,
0, 0, -1, 0, 100, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1], 'avg30': [23900, 17996,
13456, 745664, 23900, -1, -1, -1, -1, -1, -1, 4, 14, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5477, -1], 'current':
[23900, 17996, 11003, 947923, 23900, -1, -1, -1, -1, -1, -1, 5, 16, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4559, -1],
'buyBoxIsPreorder': None, 'lastOffersUpdate': 3763976, 'buyBoxIsAmazon':
None, 'avg': [23900, 17996, 13456, 745664, 23900, -1, -1, -1, -1, -1, -1,
4, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
5477, -1]}
On Fri, Feb 9, 2018 at 7:11 PM, YousefJadallah<EMAIL_ADDRESS>wrote:

I tried to use the stats parameter by entering the state time, like below.
but there is no effect to the returned object.
products = api.ProductQuery(asin,30)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/akaszynski/keepaAPI/issues/2#issuecomment-364512881,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALbTPy3eqBbMIQ7379XpxSXIKWxsK1gvks5tTIpRgaJpZM4MMMyy
.


Merge HttpParametersWebAgent into NanoRouter

HttpParametersWebAgent provided support for processing parameter data from our UI Dig forms, as well as conventional POST, GET parameters, such that the consuming WebAgent didn't have to be concerned where they were coming from.
Specifically 'data' could be either a URL parameter or built from the request.reader.
Common parameters such as 'dao', 'cmd', 'format' are mapped to their Enum values.
Previously the HttpParametersWebAgent was a WebAgentProxy which wrapped DigWebAgent for example.  This functionality has been merged into NanoRouter.
NANOPAY-1648

This implementation does not work as the HttpParameters logic consumes authentication credentials.  Better as a Proxy installed via nspec flags.


Use the migrated "Let's Encrypt" Django App

Current coverage is 100% (diff: 100%)

No coverage report found for master at a91cd48.

Powered by Codecov. Last update a91cd48...de31ce8

I'm waiting to get a 1.0 version shipped on pypi before I switch to this.

Shipped! :shipit:
Let's get mr.butler using it.


Prepare for Reaper release 1.0.0-beta03

#216  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rbro112 and the rest of your teammates on  Graphite


the menu icons cannot be displayed without internet

As the screenshot shown above.Without internet, it took 24 seconds to load the home page,and both of the small icons of the right menu are missing.

@hanahmily Please check whether this can be fixed in beta. I would not think this is a serious problem, but somewhere (ex bank system in this issue ) may don't have internet access.

The icon resources of AntDesign are located on Aliyun-CDN. According to the description in this document, resources can be placed locally.
I'm focusing on some other key features in 5.0.0-beta. So this issue is low priority. If someone want to repair it, I will provide some help.

fixed in https://github.com/apache/incubator-skywalking-ui/pull/158


div3D producing NaNs in some 2D simulations

appears with glow_beam NS example

It appears to be trying to compute a derivative with a zero value for dx2...  Strange that this never was a problem before?!!

This issue is that the derivative functions are trying to compute the subgrid size from the input data size rather than from the grid structure itself...  This is dangerous because various types of calculations require derivatives with a single row of ghost cells, etc...

This is really quite subtle - the pointers in the derivative functions need to be computed based on the size of the input data so that the correct differentials are available to each function.  However, when checked whether we need to differentiate in a particular direction, we need to check the grid size itself in that direction (only differentiate if non-singleton).

so it seems likee5942452b2f1  src/numerical/calculus/div.f90 fixed this issue by using the meshgrid x% values as noted above, thanks


AMD GPU undetected

Bug Description
I have seen my AMD GPU have not been detected on one of my server using Ubuntu Desktop OS. If it is not a bug, could you tell me how to turn it on?
To Reproduce
Just plug a AMD GPU, install ROCm, and you will see
Environment
juju latest, and AMD GPU, and Ubuntu Desktop 24.04 LTS
Relevant Log Output
Nothing output and undetected. The installation is also not completed in juju.

Additional Context
No response

As I know, there is this plug in, it works with running kubeflow in local install. But how to plug it in charmed kubeflow?
https://github.com/ROCm/k8s-device-plugin

@juhonkang could you also add some context and list of steps on what you did to install ROCm (device plugins) and then what is not working as expected?


Fix git push error for protected CLA branch

The pull request is created from master636880244354886791 to master to fix git push error for protected CLA branch

@opbld16 : Thanks for your contribution! The author, @mikeblome, has been notified to review your proposed change.


Scan Fails to run when an array with an empty string is passed in skip in the API UI

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

Go to cluster --> View in API
Pass an empty string "" in the Skip value.

Expected Result:
The scan should ignore the array with an empty string.
Actual Result:
The Scan fails to run. The scan/report on UI is seen in Running state.
The security scan workload in System project is in crashloop state.
Environment information

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

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom
Kubernetes version (use kubectl version):

1.16

Test case 1:
curl -u "${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}" \
-X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data-binary '{"debugMaster":false,"debugWorker":false,"overrideBenchmarkVersion":null,"overrideSkip":[""]}' \
'https://RANCHER_URL/v3/clusters/c-cwspb?action=runSecurityScan'
{"kind":"ClusterScan","apiVersion":"management.cattle.io/v3","metadata":{"name":"cis-1576700404638153730","namespace":"c-cwspb","selfLink":"/apis/management.cattle.io/v3/namespaces/c-cwspb/clusterscans/cis-1576700404638153730","uid":"c6dcbfd4-21d3-11ea-99b2-0242ac110003","resourceVersion":"6118","generation":1,"creationTimestamp":"2019-12-18T20:20:04Z","labels":{"cattle.io/creator":"norman"},"ownerReferences":[{"apiVersion":"management.cattle.io/v3","kind":"Cluster","name":"c-cwspb","uid":"6689aee0-21d0-11ea-99b2-0242ac110003","controller":true}]},"spec":{"scanType":"cis","clusterId":"c-cwspb","scanConfig":{"cisScanConfig":{"overrideSkip":[""],"debugMaster":false,"debugWorker":false}}},"status":{"conditions":[{"type":"Created","status":"Unknown"}]}}%

Result: Scan successful
Test case 2:
curl -u "${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}" \
-X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data-binary '{"debugMaster":false,"debugWorker":false,"overrideBenchmarkVersion":null,"overrideSkip":""}' \
'https://rancher.do.mpaluru.com:9443/v3/clusters/c-cwspb?action=runSecurityScan'
{"baseType":"error","code":"ServerError","message":"unmarshaling input error: json: cannot unmarshal string into Go struct field CisScanConfig.overrideSkip of type []string","status":500,"type":"error"}

Result: Scan didn't initiate because of API validation error.
I am not able to reproduce the issue.
Can you please check if you using the latest master-head?
docker images | grep master-head
rancher/rancher                                           master-head         efbac9f4dcc3        14 hours ago        710MB

Test case 1:
curl -u "${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}" \
-X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data-binary '{"debugMaster":false,"debugWorker":false,"overrideBenchmarkVersion":null,"overrideSkip":[""]}' \
'https://RANCHER_URL/v3/clusters/c-cwspb?action=runSecurityScan'
{"kind":"ClusterScan","apiVersion":"management.cattle.io/v3","metadata":{"name":"cis-1576700404638153730","namespace":"c-cwspb","selfLink":"/apis/management.cattle.io/v3/namespaces/c-cwspb/clusterscans/cis-1576700404638153730","uid":"c6dcbfd4-21d3-11ea-99b2-0242ac110003","resourceVersion":"6118","generation":1,"creationTimestamp":"2019-12-18T20:20:04Z","labels":{"cattle.io/creator":"norman"},"ownerReferences":[{"apiVersion":"management.cattle.io/v3","kind":"Cluster","name":"c-cwspb","uid":"6689aee0-21d0-11ea-99b2-0242ac110003","controller":true}]},"spec":{"scanType":"cis","clusterId":"c-cwspb","scanConfig":{"cisScanConfig":{"overrideSkip":[""],"debugMaster":false,"debugWorker":false}}},"status":{"conditions":[{"type":"Created","status":"Unknown"}]}}%

Result: Scan successful
Test case 2:
curl -u "${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}" \
-X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data-binary '{"debugMaster":false,"debugWorker":false,"overrideBenchmarkVersion":null,"overrideSkip":""}' \
'https://RANCHER_URL/v3/clusters/c-cwspb?action=runSecurityScan'
{"baseType":"error","code":"ServerError","message":"unmarshaling input error: json: cannot unmarshal string into Go struct field CisScanConfig.overrideSkip of type []string","status":500,"type":"error"}

Result: Scan didn't initiate because of API validation error.
I am not able to reproduce the issue.
Can you please check if you using the latest master-head?
docker images | grep master-head
rancher/rancher                                           master-head         efbac9f4dcc3        14 hours ago        710MB

Verified on master head - commit id: 48a2c4ffc
Not able to reproduce the issue
Steps:

Go to cluster --> View in API
Pass an empty string "" in the Skip value.

Through the API:
curl -u "<token>" \
-X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data-binary '{"debugMaster":false,"debugWorker":false,"overrideBenchmarkVersion":null,"overrideSkip":[""]}' \
'https://<rancher-server>/v3/clusters/c-xvwp2?action=runSecurityScan' --insecure

Closing the issue for now


When run is called, check if the selection is at the same line as the…

Attempt at #17

Im happy with the idea, but instead of nesting everything inside a big catch-all if.
Would you just return (short circuit) if the condition passes.

If it's difficult, then i don't mind trying this way for a bit.

Updated, thanks


Assign nullable dtypes to dataframe columns

WIP.
A pr to fix:
https://github.com/transitmatters/mbta-performance/issues/4

[x] pandas adventures
[x] timestamp adventures
[x] sneaky types adventures

Even though parquet files have explicit per-column dtype metadata, pandas will overwrite these instructions for nullable integer columns and assign them as floats. Down the line, this causes overflow errors when numpy is trying to recast the epoch timestamps into datetimes.
More info: https://pandas.pydata.org/docs/user_guide/integer_na.html#nullable-integer-data-type
Tests to come.

Would be cool if this was merged as is and tests come in a second PR, but also fine to re-review later if you want to do tests in this same PR


Collection activity: Flippers - all showing same activity

What happened?
I noticed that all Flippers are showing exactly the same activity:
https://user-images.githubusercontent.com/104380776/230018687-19956817-d265-48eb-8c69-437751aebd14.mov
This bug is on all chains.
Please reproduce in steps
Go to any collection - click on activity - click on flippers
Expected Behavior
different data for different flippers
What browsers are you seeing the problem on?
No response
At which address did you encounter bug?
No response
Are you logged in?
None
Which wallet you are using?
No response
At which chain did you encounter bug?
No response
Screenshots

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Legit, I see same everywhere


psake on Linux

Here's a small instruction how to use psake on Linux.

Install PowerShell Core
https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6

Clone psake repository
git clone https://github.com/psake/psake /opt/psake

Create wrapper
sudo sh -c 'echo "#!/bin/env sh\npwsh -Command \"& /opt/psake/src/psake.ps1 \$@; if (\\\$psake.build_success -eq \\\$false) { exit 1 } else { exit 0 }\"" > /usr/bin/psake'
sudo chmod +x /usr/bin/psake

It will create following script:
#!/usr/bin/env sh
pwsh -Command "& /opt/psake/src/psake.ps1 $@; if (\$psake.build_success -eq \$false) { exit 1 } else { exit 0 }"

I used Ansible to do the actions above. Tested on Ubuntu Server 18.04 and CentOS 7.
- hosts: buildserver

  roles:
    - brentwg.powershell

  vars:
    ansible_become: true

  tasks:
    - name: Clone psake repository
      git:
        repo: 'https://github.com/psake/psake'
        dest: /opt/psake
    - name: Create psake wrapper
      copy:
        content: |
          #!/usr/bin/env sh
          pwsh -Command "& /opt/psake/src/psake.ps1 $@; if (\$psake.build_success -eq \$false) { exit 1 } else { exit 0 }"
        dest: /usr/bin/psake
        mode: 0755

  pre_tasks:
    - name: Enable Universe repository
      apt_repository:
        repo: deb http://archive.ubuntu.com/ubuntu bionic universe
      become: yes
      when: ansible_os_family == 'Debian'

That's cool but perhaps we should put the shebang in psake.ps1, run git update-index --chmod=+x src/psake.ps1 and commit the file so that it will be executable on Linux/macOS.

@rkeithhill
It's interesting that pwsh psake.ps1 returns correct exit code, while pwsh -File psake.ps1 always returns 0, as on Windows.

You don't need a wrapper script but the script has to generate a terminating error for you to see a non-zero exit code.  This is how our PS build & test scripts work on Linux.  They report errors back to Jenkins by "throwing" errors (or converting non-terminating errors to terminating errors).
Try this:
~$ cat test.ps1
#!/usr/bin/env pwsh
throw "kaboom!"

~$ chmod +x test.ps1

~$ ./test.ps1; echo $?

This outputs:
kaboom!
At /home/hillr/test.ps1:2 char:1
+ throw "kaboom!"
+ ~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (kaboom!:String) [], RuntimeException
+ FullyQualifiedErrorId : kaboom!

1

To get your Hi-There missing command to error either wrap it in a try/catch (and rethrow the error) or use $ErrorActionPreference = 'Stop'.
Also, if you care about running on macOS as well as linux then use this for a shebang:
#!/usr/bin/env pwsh

If you don't care about macOS, I would recommend this shebang:
#!/usr/bin/pwsh -noprofile

@rkeithhill
I added following lines to the end of psake.ps1:
if (!$psake.build_status) {
    exit 1
}

It works.

Fixed in #267


Analysis windows should contain a name text box for the results

There should be a textbox in regression and discrimination test windows to be able to input the name of the result. This will allow a user to define a corresponding name for the result.

Still needs to be implemented for the regression testing window.


[qs] release 1.5.2+aws.3

Issue #, if available:

Updated tap version to 1.5.2, cluster essentials version, and kubectl version
Forked EKS stack to be compatible with tap 1.5.2. removed rancher submodule and use working version of urllib3
Switch dev namespace creation to namespace provisioner
Refactored TAP package installation
Removed deprecated fields from tap-values file templates

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

This docs PR needs to go in in tandem with the PR #165

@tlindsay42 not sure if you're still the right person to notify but feel free to tag anyone else or I can figure out who needs to take a look

@davmayd I think this version was never released correctly. If I check the bucket, it still has the old state:
: bucketURL=https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-vmware-tanzu-application-platform/templates/aws-tap-entrypoint-existing-vpc.template.yaml
: githubURL=https://raw.githubusercontent.com/aws-quickstart/quickstart-vmware-tanzu-application-platform/main/templates/aws-tap-entrypoint-existing-vpc.template.yaml
: diff -Naur <(curl -LfsS "$bucketURL" | yq .Mappings.Versions) <(curl -LfsS "$githubURL" | yq .Mappings.Versions)
--- /dev/fd/63  2023-07-27 11:10:55.784176235 +0200
+++ /dev/fd/62  2023-07-27 11:10:55.784176235 +0200
@@ -1,11 +1,12 @@
 {
   "current": {
-    "TAP": "1.4.2",
+    "TAP": "1.5.2",
     "EKS": "1.24",
-    "Kubectl": "1.24.9/2023-01-11",
-    "ClusterEssentialsVersion": "1.4.1",
-    "ClusterEssentialsHash": "sha256:2354688e46d4bb4060f74fca069513c9b42ffa17a0a6d5b0dbb81ed52242ea44",
-    "PivNet": "3.0.1",
+    "Kubectl": "1.24.13/2023-05-11",
+    "WindowsKubectl": "1.24.13/2023-05-11",
+    "ClusterEssentialsVersion": "1.5.1",
+    "ClusterEssentialsHash": "sha256:c7b0988cf3e982625287b241db5d78c30780886dfe9ada01559bb5cd341e6181",
+    "OmCLI": "7.9.0",
     "DockerCredPass": "0.7.0"
   }
 }
:


[MERGE] Branch 1.6

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16865/
Test PASSed.


feat: show full Bluefin logo during system startup

This commit changes the logo for Bluefin displayed in Plymouth and GDM during system startup. Previously, the Plymouth logo didn't include the project title and it used an image of Raven rather than Bluefin, so I changed it to the full logo with Bluefin. As for the GDM logo, it was changed to a logo variant without the "Project" subtitle for a cleaner appearance.
The logo was also slightly enlarged for readability. As a result of this commit, Plymouth and GDM now show the same logo, offering a feeling of consistency as the logo remains the same throughout every step of the boot process.
Tested on a virtual machine!

The raven was picked on purpose since it's darker and we want to keep that more subtle. Agreed on the other changes though.

Personally, I find it a little too subtle. It gets easily overshadowed by the giant motherboard logo above it, which in my case is "GIGABYTE: INSIST ON ULTRA DURABLE". Well... it's a little bit of that, and showing the mascot of Bluefin more closely matches my expectations. Feels strange to not show her during the beginning of a boot.


Clean up usage of the content quantization parameter (QP).

This builds on the work in cisco/openh264#2746 to allow the user to
configure the screen content min and max QR values, which default to
the range [26, 35].
Setting the QP range is useful for exploring the parameter space for
screen content to make the appropriate tradeoffs between quality and
bitrate usage for a large variety of network environments.
See: cisco/openh264#2732

See https://github.com/parlaylabs/upstream-openh264/pull/1
I'm not sure what the process is to get this small change merged.

:) OK will fix up the unit test build first.

@ruil2 Let me know if there is anything you'd like me to do to get this merged in.

@imedwei could you merge several commits into one commit? thanks!

@ruil2 Done. I believe that github also has a "squash all commits and merge" button which could make the action more automatic for us all.

@ruil2 Sorry to bug you again. Any updates? I know this is a small change but we would like to pave the way for more going forward.

@imedwei there's code conflict from the hint. Please resolve it first. Thanks.

@huili2 Done. Sorry I didn't notice your comment till now. Just didn't think that someone would get back to me. :)  Thanks!


Readd hold enabled effect

I don't know why you removed this, but I tried to re-implement it. What do you think?
https://github.com/ContentsViewer/sh-tetris/issues/55#issuecomment-1001170402

This feature has been removed. It was difficult to get the same look in no-color mode.

It is difficult to explain...
In no-color mode, disabled cell have to use except '[]' because the active cell using '[]'.
The dense of '[]' is so thin (not filled) than the others(e.g.,  ░░, █) that players may misunderstand an inactive cell as active.

I see. How about using a different symbol?
{}、/]、[/、_]、[_
There may be better characters in Unicode. 🤔

Fixed.

Beautiful.


Simon Game

Create a simple game using HTML, CSS, JS. Simon Game ref: https://en.wikipedia.org/wiki/Simon_(game)

@theDeviser pls label this for hacktoberfest.


How to connect to the VPN server via IPv6?

Checklist

[x] I read the README
[x] I read the FAQ
[x] I searched the issues
[x] My issue is about the script, and not OpenVPN itself

Describe the issue
If I chage the IP address in ovpn file to IPv6 address, it fails to connect.
To Reproduce
Steps to reproduce the behavior:

Edit the ovpn file.

Expected behavior
It connects to my VPN server.
Logs
If applicable, add logs or screenshots to help explain your problem.
If you can reproduce the issue, please run the script in debug mode and post the output: bash -x openvpn-install.sh
Server if applicable):

OS: Manjaro
Hosting provider (if applicable): I don't know.

Client (if applicable):

Device: PC
OS: Manjaro
Client: NetworkManager

Additional context
Add any other context about the problem here.

If I chage the IP address in ovpn file to IPv6 address, it fails to connect.

You have to edit other things too: set iptables for IPv6, enable IP forwarding for IPv6, change the NIC. I think it would be easier to reinstall with IPv6 support enabled.

If I chage the IP address in ovpn file to IPv6 address, it fails to connect.

You have to edit other things too: set iptables for IPv6, enable IP forwarding for IPv6, change the NIC. I think it would be easier to reinstall with IPv6 support enabled.

Could you teach me how to do that?

Change the remote IP to the IPv6 one in /etc/openvpn/client-template.txt and update the .ovpn files you already generated.
Append a 6 to the protocol in /etc/openvpn/server.conf. Example: proto udp6
Add to /etc/openvpn/server.conf the lines:

server-ipv6 fd42:42:42:42::/112
tun-ipv6
push tun-ipv6
push "route-ipv6 2000::/3"
push "redirect-gateway ipv6"

Add net.ipv6.conf.all.forwarding=1 to /etc/sysctl.d/20-openvpn.conf and run sysctl --system
Get the IPv6 interface with ip -6 route show default | sed -ne 's/^default .* dev \([^ ]*\) .*$/\1/p'
Add to /etc/iptables/add-openvpn-rules.sh the lines:

ip6tables -t nat -I POSTROUTING 1 -s fd42:42:42:42::/112 -o $NIC -j MASQUERADE
ip6tables -I INPUT 1 -i tun0 -j ACCEPT
ip6tables -I FORWARD 1 -i $NIC -o tun0 -j ACCEPT
ip6tables -I FORWARD 1 -i tun0 -o $NIC -j ACCEPT
ip6tables -I INPUT 1 -i $NIC -p $PROTOCOL --dport $PORT -j ACCEPT

$NIC is the the IPv6 interface from the step before, $PORT is the port and $PROTOCOL is the one with the 6 appended.

Add to /etc/iptables/rm-openvpn-rules.sh:

ip6tables -t nat -D POSTROUTING -s fd42:42:42:42::/112 -o $NIC -j MASQUERADE
ip6tables -D INPUT -i tun0 -j ACCEPT
ip6tables -D FORWARD -i $NIC -o tun0 -j ACCEPT
ip6tables -D FORWARD -i tun0 -o $NIC -j ACCEPT
ip6tables -D INPUT -i $NIC -p $PROTOCOL --dport $PORT -j ACCEPT

You may want to add some IPv6 DNS too. Example: push "dhcp-option DNS 2a00:5a60::ad1:0ff"

Restart the OpenVPN service or reboot and let me know if it worked for you.
I'm sorry for my previous answer suggesting a re-installation.

sory if hijack the thread ..i dont want to open new issue as mine morelikely are just feature questions
is it posible to suplied more than 1 port on udp? for example single configuration for port 53 and 9201


change(.travis): change travis file to be consistent with package det…

…ails

Some minor comments, but besides that good work!


Continued fixes for code with multiple requests.

Made inheritance in code more consistent. Ideally should use a library to handle this (it's ugly to get everything fully correct and extend(A, B) looks cleaner) or use es6. Also see bottom of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript for what Mozilla suggests we do if we don't use a library.
Also made url not global/static as some requests use one the steam api url, others use the steam community api url.

As a side note, would be nice if steamApiKey was also not global - we pass it into the ctor of everything anyway. Maybe have a factory object create the client/items/news managers? Either way, we should have setApiKey.

Yeah, we could do that. I normally use it as a global var, so don't really care where to set it. But yeah, would be nicer


Add deployment markers to Datadog and Sentry

Datadog integration:
curl -X POST -H "Content-type: application/json" -d "{"title": "Starting Service", "text": "Starting Watcher with git SHA f2762839cf435086aee46c342baea6f4e1e095d8 on cluster Samrong", "alert_type": "info" }" "https://app.datadoghq.com/api/v1/events?api_key="

data that needs to be sent
git SHA, APP_ENV, HOSTNAME, ETHEREUM_NETWORK, APP_NAME

https://docs.sentry.io/api/releases/post-release-deploys/

hey @jbunce upon talking with @achiurizo we think this really belongs in circle ci configuration and not in distllery (elixir) release hooks.
If we include this as release hooks then every deployed instance will notify Datadog and Sentry which we think we don't really want...

Gents,
Ultimately it's up to you how you want to manage this. If this were an application I built I'd want to know exactly which code is running to troubleshoot production services. If you think you have the data you need via tooling in the other environments that mean you can skip this, than that's your prerogative.

To be able to send only one event for deploy, that would need to come not from elixir, but deployment scripts.

My part here is done. @jbunce if you have something then let's keep it open. Otherwise let's close it.


TorchDynamo Export

Hi 😄 , I added support for PyTorch 2 Export via TorchDynamo here https://github.com/fabio-sim/Depth-Anything-ONNX

Thank you! We will add it to our doc.


How can I use gradle based build app with libgdx 0.9.8

Issue details
How can I use gradle based build app with libgdx 0.9.8, when I change the gradle file it says cannot resolve libgdx 0.9.8.pom

Wow, that's quite an old version. I don't know if 0.9.8 used any form of dependency management (Gradle or Maven), but I know 0.9.8 isn't available at all on Maven Central (the main place Gradle and Maven get their dependencies). The oldest version available there is 0.9.9. You will probably need to manually download the 0.9.8 files at this link on GitHub if you're set on using 0.9.8. There does appear to be a setup UI there; I don't know if it uses Gradle. There have been 9460 commits since 0.9.8 was released, so it's extremely out of date. I would expect anything Android-related to be so old it would be unusable.
I strongly encourage getting the current gdx-setup or gdx-liftoff and using that to generate a new project skeleton, then copying over code from the 8-year-old other project.
I'm closing this because supporting a version that's over nine thousand commits behind current should not be a goal for this project. If you have questions regarding the upgrade process, ask on Discord rather than creating a new issue, since it might need some interaction to figure out what is needed.

Wow, that's quite an old version. I don't know if 0.9.8 used any form of dependency management (Gradle or Maven), but I know 0.9.8 isn't available at all on Maven Central (the main place Gradle and Maven get their dependencies). The oldest version available there is 0.9.9. You will probably need to manually download the 0.9.8 files at this link on GitHub if you're set on using 0.9.8. There does appear to be a setup UI there; I don't know if it uses Gradle. There have been 9460 commits since 0.9.8 was released, so it's extremely out of date. I would expect anything Android-related to be so old it would be unusable.
I strongly encourage getting the current gdx-setup or gdx-liftoff and using that to generate a new project skeleton, then copying over code from the 8-year-old other project.
I'm closing this because supporting a version that's over nine thousand commits behind current should not be a goal for this project. If you have questions regarding the upgrade process, ask on Discord rather than creating a new issue, since it might need some interaction to figure out what is needed.

I tried with 0.9.9 and it says
Execution failed for task ':android:copyAndroidNatives'.

Could not resolve all files for configuration ':android:nativesCopy'.
Could not find gdx-platform-0.9.9-natives-arm64-v8a.jar (com.badlogicgames.gdx:gdx-platform:0.9.9).
Searched in the following locations:
https://repo.maven.apache.org/maven2/com/badlogicgames/gdx/gdx-platform/0.9.9/gdx-platform-0.9.9-natives-arm64-v8a.jar
Could not find gdx-platform-0.9.9-natives-x86_64.jar (com.badlogicgames.gdx:gdx-platform:0.9.9).
Searched in the following locations:
https://repo.maven.apache.org/maven2/com/badlogicgames/gdx/gdx-platform/0.9.9/gdx-platform-0.9.9-natives-x86_64.jar

I tried with 0.9.9 and it says
Execution failed for task ':android:copyAndroidNatives'.

Could not resolve all files for configuration ':android:nativesCopy'.
Could not find gdx-platform-0.9.9-natives-arm64-v8a.jar (com.badlogicgames.gdx:gdx-platform:0.9.9).
Searched in the following locations:
https://repo.maven.apache.org/maven2/com/badlogicgames/gdx/gdx-platform/0.9.9/gdx-platform-0.9.9-natives-arm64-v8a.jar
Could not find gdx-platform-0.9.9-natives-x86_64.jar (com.badlogicgames.gdx:gdx-platform:0.9.9).
Searched in the following locations:
https://repo.maven.apache.org/maven2/com/badlogicgames/gdx/gdx-platform/0.9.9/gdx-platform-0.9.9-natives-x86_64.jar

How can I get it to work with 0.9.9 ?

How can I get it to work with 0.9.9 ?

nvm I got it built but it shows error on start
 E/com.mygdx.game: No implementation found for void com.badlogic.gdx.backends.android.AndroidGL20.init() (tried Java_com_badlogic_gdx_backends_android_AndroidGL20_init and Java_com_badlogic_gdx_backends_android_AndroidGL20_init__) E/AndroidRuntime: FATAL EXCEPTION: GLThread 710     Process: com.mygdx.game, PID: 10119     java.lang.UnsatisfiedLinkError: No implementation found for void com.badlogic.gdx.backends.android.AndroidGL20.init() (tried Java_com_badlogic_gdx_backends_android_AndroidGL20_init and Java_com_badlogic_gdx_backends_android_AndroidGL20_init__)         at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)         at com.badlogic.gdx.backends.android.AndroidGL20.<clinit>(AndroidGL20.java:28)         at com.badlogic.gdx.backends.android.AndroidGraphics.setupGL(AndroidGraphics.java:298)         at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceCreated(AndroidGraphics.java:346)         at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1541)         at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)

nvm I got it built but it shows error on start
 E/com.mygdx.game: No implementation found for void com.badlogic.gdx.backends.android.AndroidGL20.init() (tried Java_com_badlogic_gdx_backends_android_AndroidGL20_init and Java_com_badlogic_gdx_backends_android_AndroidGL20_init__) E/AndroidRuntime: FATAL EXCEPTION: GLThread 710     Process: com.mygdx.game, PID: 10119     java.lang.UnsatisfiedLinkError: No implementation found for void com.badlogic.gdx.backends.android.AndroidGL20.init() (tried Java_com_badlogic_gdx_backends_android_AndroidGL20_init and Java_com_badlogic_gdx_backends_android_AndroidGL20_init__)         at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)         at com.badlogic.gdx.backends.android.AndroidGL20.<clinit>(AndroidGL20.java:28)         at com.badlogic.gdx.backends.android.AndroidGraphics.setupGL(AndroidGraphics.java:298)         at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceCreated(AndroidGraphics.java:346)         at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1541)         at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)

I would expect anything Android-related to be so old it would be unusable.

I strongly encourage getting the current gdx-setup or gdx-liftoff and using that to generate a new project skeleton, then copying over code from the 8-year-old other project.

I would expect anything Android-related to be so old it would be unusable.

I strongly encourage getting the current gdx-setup or gdx-liftoff and using that to generate a new project skeleton, then copying over code from the 8-year-old other project.


Issue link

Hi is there a way to get the link to the issue that Utterances is posting to.
I'd like to like to the issue else where on the page -

@IeuanWalker utterances does not provide a method for retrieving the issue url or number. Utterances won't create the issue until the first user comments.

@jdanyow Mmm ok, so the best way for me to handle this, is to create the issue manually and store the issue number with the blog post then pass the issue number into the Utterances script when the page loads


kupfer: init at 319

Motivation for this change
Added a package for kupfer.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

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

I think that the closure is a little bloated, because I'm grabbing the $PYTHONPATH from the build environment instead of using the wrapPython scripts, but I couldn't figure out how to get them to work when the binaries are wrappers themselves.

@Mic92 Thanks for the fixes. I've patched up the runtime dependencies and tested that it still runs. I also added myself as the maintainer.

Thanks!


IBMQ Qiskit-Runtime Execution

Problem Statement
As a Developer, I want to execute a whole quantum application in one envorinment, as quantum applications often contain quantum parts and classical parts.

References
Documentation Links (click to expand)

https://cloud.ibm.com/apidocs/quantum-computing
https://quantum-computing.ibm.com/lab/docs/iql/runtime/

Goal
The Goal is to include a feature to execute a qiskit-runtime program on a target device where the quantum circuit code together with the classical code is contained in a python file and a JSON-metadata file.
Notes
Check the documentation for API reference.
A prime use-case are Variational Quantum Algorithms, as they benefit from the hybrid execution environment.
Here, the behaviour is explained as a pattern:
https://quantumcomputingpatterns.org/#/patterns/6
!!Note, that the Qiskit-Runtime API is different from the IBM/web API.
For a better understanding, here is an excerpt of the Execution Pattern Paper which describes the idea of the two steps of a pre-deployed application:
Use IBM Quasm Simulator (not local)
Tasks

[x] Finish Subtask #51
[ ] How to store python files in db #60
[ ] Send Python Files to IBM #61

Paper Excerpt for (click to expand)

Old estimate: 21

All subtasks completed (or in Ready for Review)


Add a --k8s-1.15 flag to generate-manifest.sh to backward supporting K8s 1.15 cluster

Upgrading kustomize from 3.8.2 to 3.8.8 for using patches instead of patchesStrategicMerge - this enable us to use JSONPatch to manipulate K8s object changes between different versions
Add --k8s-1.15 flag which will downgrade nessary resources to support on K8s 1.15 API

downgrade s/admissionregistration.k8s.io/v1 to s/admissionregistration.k8s.io/v1beta1
downgrade CRDs api from apiextensions.k8s.io/v1 to apiextensions.k8s.io/vabeta1
move openAPIV3Schema validation from .spec.versions[].schema to top level .spec.validation
move additionalPrinterColumns from .spec.versionso[].additionalPrinterColumns to top level .spev.additionalPrinterColumns
fix additionalPrinterColumns[].jsonPath to additionalPrinterColumns[].JSONPath

Signed-off-by: Yu-Han Lin<EMAIL_ADDRESS>

Codecov Report

Merging #1664 (cbab315) into master (9d3d10b) will decrease coverage by 22.56%.
The diff coverage is 26.49%.

@@             Coverage Diff             @@
##           master    #1664       +/-   ##
===========================================
- Coverage   63.31%   40.75%   -22.57%
===========================================
  Files         170      106       -64
  Lines       14250    12970     -1280
===========================================
- Hits         9023     5286     -3737
- Misses       4292     7209     +2917
+ Partials      935      475      -460

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
40.75% <26.49%> (-0.53%)
:arrow_down:

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

Impacted Files
Coverage Δ

cmd/antrea-agent/agent.go
0.00% <0.00%> (ø)

pkg/agent/agent.go
12.20% <0.00%> (-36.51%)
:arrow_down:

pkg/agent/agent_linux.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/cniserver/pod_configuration.go
34.52% <0.00%> (-19.24%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

...gent/controller/noderoute/node_route_controller.go
32.57% <0.00%> (-13.90%)
:arrow_down:

...agent/controller/traceflow/traceflow_controller.go
0.00% <0.00%> (-82.70%)
:arrow_down:

pkg/agent/flowexporter/connections/conntrack.go
60.86% <0.00%> (-13.05%)
:arrow_down:

pkg/agent/proxy/proxier_linux.go
0.00% <0.00%> (-25.00%)
:arrow_down:

pkg/agent/querier/querier.go
66.66% <0.00%> (-21.50%)
:arrow_down:

... and 158 more

This script (https://github.com/vmware-tanzu/antrea/blob/master/ci/kind/test-upgrade-antrea.sh) will also need to be updated to pass CI. In that script we use generate-manifest.sh to generate custom manifests for older Antrea releases. The script currently tries to run an "old" version of generate-manifest.sh with the currently supported version of kustomize. This needs to be changed so that the "old" version of kustomize is used for the "old" version of generate-manifest.sh.

/test-all

/test-windows-conformance


Cloned repositories do not persist between deployments

This means after each deploy indexing takes longer (repository must be cloned again instead of just pulling what changed). The task now logs a warning when this happens.

This is normal though. We don't really want persistence because it means resources are persistent.

Not sure what's inherently bad about persistence

Because every job is run independently by an independent container. Feature not a bug. Closing.


Way to copy objects.

How can we implement the NSCopying protocol?

Just had to do this myself. Here's a sample class. Note the additional init() method.
`import Foundation
import ObjectMapper
class SomeClass: NSObject, NSCopying, Mappable {
var firstName: String?
var lastName: String?
required init?(_ map: Map){

}

func mapping(map: Map) {
    firstName <- map["first_name"]
    lastName <- map["last_name"]
}

init(firstName: String?, lastName: String?) {
    self.firstName = firstName
    self.lastName = lastName
}

func copyWithZone(zone: NSZone) -> AnyObject {
    let copy = SomeClass(firstName: firstName, lastName: lastName)
    return copy
}

}`

Thanks @cwalo


pkg-support for pre-3.12 CMake version

Fix pre-3.12 CMake versions with comments on the reasons behind it.

Thanks @MathiasMagnus, I reverted my ugly fix. And will merge this once it passes.

Both fail now... minimum and latest. No idea why though...

I'll take a look tomorrow.

Fixed in https://github.com/Kerilk/OpenCL-ICD-Loader/pull/3 thanks for the pointer.

@MathiasMagnus please could you take a look at https://github.com/Kerilk/OpenCL-ICD-Loader/tree/pkg-config2 ?
I fixed the consume tests on Windows to effectively test something (they were executing in the wrong directory) but I still get a platform not found for these. I spent the better part of yesterday and today trying to pin down the problem, but I am at a loss, and CI debugging is not the easiest.

@Kerilk Sry, I didn't have the time to look at it today. I'll try to find some as soon as I can.


On mobile the secondary menu on "Come funziona" should be centered

Describe the bug
The secondary menu voices, just below the hero, and just for the mobile breakpoints, should be centered in horizontal.

Expected behavior
Titles (eg. APPROFONDISCI) and links (eg. Il calendario) should be centered on the page.
Reference: innovazione.gov.it/dipartimento

closed by #111


refactor: optional dependencies for enhanced determinism

Just fixin' up what I started.
https://github.com/jcornaz/heron/pull/180
https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html#new-syntax-for-cargo-features

Awesome. That is one of the rust features I was most anticipating. I am so glad that it is now stable :-)
I'll try to merge this soon ;-)

As this requires the latest version of rust, and a new major version of bevy should come out this month, I will wait to update to bevy 0.7 first, and include it in heron 3.0.0.


expand_nested=True not working same for model.summary and tf.keras.utils.plot_model

Please go to TF Forum for help and support:
https://discuss.tensorflow.org/tag/keras
If you open a GitHub issue, here is our policy:
It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
Here's why we have that policy:.
Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 2.11.0
Python version: 3.7
Bazel version (if compiling from source):
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with:
python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the problem.
I have a custom subclassed model created using various subclassed models and layers in Keras. When I print the model summary with expand_nested=True, I see the sublayers with param count and I assumed I should get a similar result with tf.keras.utils.plot_model(model, expand_nested=True)`.
Describe the current behavior.
Here's a screenshot of the model.summary(expand_nested=True):

Here's a screenshot of the tf.keras.utils.plot_model(model, expand_nested=True):

Describe the expected behavior.
I was expecting that plot_model will create a nice graph viz of the model.
Contributing.

Do you want to contribute a PR? (yes/no): no
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue.
Colab gist: https://colab.research.google.com/gist/ayulockin/e8fe7e437df8588248ff15fbc7da1f65/model-summary-vs-tf-keras-utils-plot_model.ipynb
Source code / logs.
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

@SuryanarayanaY  I was able to replicate the issue, please find the gist here.
Thank you!

Hi @ayulockin ,
As you are using SubClassing model it won't support plotting the graphs like the way Functiona/Sequential API does.Please refer to the similar issue #31647 and comment by Developer there regarding thi drawback with Subclassing model.
You may refer alternate way mentioned here if useful for your case.
Thank you!


Any chance I can use the date picker portion only?

Any chance I can use the date picker portion only?

The docs say this -

timeFormat | boolean or string | true | Defines the format for the time. It accepts any Moment.js time format (not in localized format). If true the time will be displayed using the defaults for the current locale. If false the timepicker is disabled and the component can be used as datepicker, see available units docs.


Config through environment variables

Allow specifying config through NIXPACKS_* environment variables. This is useful when using Nixpacks on Railway. The knobs that can be tweaked are

Nix packages to install
Build command
Start command
Node version
Rust version

Other properties (e.g. Python version) will comes soon once they are setup properly.

Any reason we need to prefix it?

No real reason. I just wanted a clear separation between variables to configure nixpacks itself vs variables for the user app

Ya that's fair. I wonder if we could come up with something a little less, domain specific?
RUNTIME_ENV_? Cause I could see us wanting at some point a BUILD_ENV_

Oh wait I've flipped them. This is for ones that are being provided to Nixpacks themselves
Sorry

Oh wait I've flipped them. This is for ones that are being provided to Nixpacks themselves

Yeah this is for configuring things in Nixpacks itself (start, build cmds, etc)
I have also been thinking we need a separation between build and runtime environment variables. But I think we need a bit more data on how Nixpacks is used on real apps first since the edge cases can get complicated (or I could just be over thinking it). Like providers can specify variables that should be used at build and/or runtime and users can override these variables or specify their own custom build/runtime variables. Right now all user/provider variables are just grouped together which makes overriding and using them simple. But I can see us having more complex variable handling in the future.


Make DecodingError message safe

When _guess_and_convert_with could not detect encoding of a value string it was generating DecodingError exception putting the value to the error message. But in some cases that can result in an exception deep inside the standard python logger implementation due to unicode encoding issue. Besides there is no reasonable cap on the size of the converted value. So it is better not to put it in the error message.

lgtm


Issue with /docs/user-guide/federation/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
The API reference docs link at the end returns a 404.
It links to http://kubernetes.io/federation/docs/api-reference/readme/
Proposed Solution:
Fix the link. ( I don't know yet where the actual api-reference for federation is)
Page to Update:
http://kubernetes.io/...

This will be fixed by PR #2192


vsdbg vs2017u5 broken?

both of these commands return the same version:
getvsdbg.sh -v vs2019 -l /vsdbg
getvsdbg.sh -v vs2017u5 -l /vsdbg
vsdbg-16-2-10709-2
how do I get the previous version of vsdbg?
my flow currently relies on the --attach switch which is missing in the latest version

What are you using to connect to vsdbg that still worked?

I follow what is outlined in this blog to debug net core from kubernetes:
<EMAIL_ADDRESS>It has been working till recently, but now crashes with a "unknown switch --attach" during debugger initialization

I am assuming a version of vsdbg where this still works exists, I just can't find recent older versions (or a list of versions anywhere) to try

Thanks. What version of VS 2017 are you you using? My recollection is that MIEngine dropped support for vsdbg in VS 2017 version 15.3.
At any rate, to answer your question, there are two ways you can make this work again -

Instead of using Debug.MIDebugLaunch to attach to a process, you can do something very similar using DebugAdapterHost.Launch see instructions for more information.
You can hardcode the last version of vsdbg that supported that option to the GetVsDbg.ps1/sh script. Example: & "$env:TEMP\GetVsDbg.ps1" -VersionNumber 16.0.20419.1 -RuntimeID linux-x64 -InstallPath "$env: USERPROFILE\vsdbg"

perfect answer, thanks Gregg!
I will be doing 2 which unblocked me immediately, I will work on 1 when I get a chance

@allevyMS  Could you please let me know which version of vsdbg supported --attach? I am also facing the same issue.

I believe 16.0.20419.1 is the last one

It appears that 16.0.20419.1 is not available anymore on the download servers.

@WardenGnaw @gregg-miskelly

@m86194
https://vsdebugger.azureedge.net/vsdbg-16-0-20419-1/vsdbg-linux-x64.zip is still available.
I also ran:
.\GetVsDbg.ps1 -VersionNumber 16.0.20419.1 -RuntimeID linux-x64 -InstallPath ${install_path}

And it successfully ran
Info: Using vsdbg version '16.0.20419.1'
Info: Using Runtime ID 'linux-x64'
Info: Successfully installed vsdbg

Was there an error you were encountering when you ran GetVsdbg?


Sync server projects widget

Changes

sync server is not using widget from settings as is using only very limited logic from it (only initialization and only few lines)
only_active is handled in inner sync server module logic (which also defines which projects are shown in UI)
removed unused ProjectModel

Notes

there are few irrelevant parts of code in sync server widget but they were there before too

Thanks ! Merging this and having a run :)

Just got an interesting bug

Seems to be coming from legacy code.
Traceback (most recent call last):
  File "~\OpenPype\openpype\modules\default_modules\sync_server\tray\app.py", line 94, in _on_project_change
    self.projects.current_project
  File "~\OpenPype\openpype\modules\default_modules\sync_server\tray\models.py", line 304, in set_project
    self.active_site = self.sync_server.get_active_site(self.project)
  File "~\OpenPype\openpype\modules\default_modules\sync_server\sync_server_module.py", line 359, in get_active_site
    project_name)['config']['active_site']
TypeError: 'NoneType' object is not subscriptable

Investigating ...

Also that I need to relaunch Pype tray after I changed the project active state, so the SyncServer could update the project list.

Seems to be coming from legacy code.

Looks like it does not expect that project would not exist :)

Also that I need to relaunch Pype tray after I changed the project active state, so the SyncServer could update the project list.

That is true for all other UIs using projects (only launcher updates them right now) but in another PRs.


token 2022 & transfer hook: drop deprecated helpers

Ahead of #6119, if we're going to do releases, we can drop the deprecated helpers altogether.
This PR removes the deprecated offchain and onchain helpers from SPL Transfer Hook interface, as well as the deprecated offchain helper from Token2022.

I've also added a commit to do JavaScript here, too. But if we don't think it belongs in this PR I can roll it back!

I want to update this PR to just drop the helpers in the SPL Transfer Hook interface. However, this means Token2022 wouldn't use the version in the monorepo, instead it would be fixed to spl-transfer-hook-interface = "=0.4. Lmk.

I want to update this PR to just drop the helpers in the SPL Transfer Hook interface.

Why don't we just drop them all? That'll be best for sure

Alrighty, so then this PR has all of them dropped. That means we're looking at the following releases:

SPL Transfer Hook interface: 0.5.0
SPL Token JS: 0.4.0
SPL Token 2022: 2.0.0

Seems I can probably cut & release the SPL Transfer Hook one, do we have any planned changes we'd like to include in the JS minor release, or should I cut that now, too? Token2022 I guess I'll wait until we have the confidential stuff wrapped?

That all sounds right to me! And yes, let's hold off on publishing token-2022 v2 until the last audit is done


Curved DGMultiMeshes (take 2)

This PR adds curved mesh capabilities for the combination of VolumeKernelFluxDifferencing with SBP or GaussSBP solvers on quadrilateral and hexahedral meshes. Non-conservative terms not yet supported.
It might work for FDSBP solvers too, but I haven't tried yet.
Closes #1018

Seems broken for GaussSBP() still. Working to fix.

Thanks for the review!


feature: dns configuration for cri manager

Signed-off-by: YaoZengzeng<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

fixes part of #635
Ⅲ. Describe how you did it
First, we create a file /var/lib/pouch/sandbox/${sandbox id}/resolv.conf for every sandbox.
If the pod has configured the DNS configuration, then we write it to the file created above, else we copy the content of /etc/resolv.conf in host to it.
Finally we mount the file to every container's /etc/resolv.conf, then every container in the same pod will have the same DNS configuration :)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #912 into master will decrease coverage by 0.1%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #912      +/-   ##
==========================================
- Coverage   13.66%   13.56%   -0.11%
==========================================
  Files         121      121
  Lines        7667     7725      +58
==========================================
  Hits         1048     1048
- Misses       6529     6587      +58
  Partials       90       90

Impacted Files
Coverage Δ

daemon/mgr/cri.go
0% <0%> (ø)
:arrow_up:

daemon/mgr/cri_utils.go
30.56% <0%> (-3.56%)
:arrow_down:

Continue to review full report at Codecov.

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

@allencloud  PTAL.

LGTM


Update Ruby version in readme with a link so it doesn't get out of date

The readme said to install an outdated Ruby version. Linked to the Gemfile instead of hardcoding a version so it stays up to date

@cjerozal thanks! This is a good catch.


Typo "<>Edit file"→""

https://docs.microsoft.com/en-us/office/vba/contributing

Closed #1249

Docs Build status updates of commit f5b6f32:
:warning: Validation status: warnings

File
Status
Preview URL
Details

contributing.md
:warning:Warning
View
Details

contributing.md

Line 1, Column 1: [Warning-title-missing] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


machine.reset() sometimes fails

Latest image on a ESP32 Generic.
When doing a machine.reset() sometimes get the following:
E (3070) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
E (3070) camera: Camera Init Failed
E (3070) camera: Camera deinit Failed
E (4130) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
E (4130) camera: Camera Init Failed
E (4130) camera: Quality Failed
E (4130) camera: Special Effect Failed
A power-on-reset clears this problem.  Any suggestions?
Thanks

Have you try camera.deinit() before calling machine.reset() ?

I will try that.  It is a random event.
I start every program with:
# during development
if machine.reset_cause() == machine.SOFT_RESET:
    print('you got a SOFT_RESET, so do a machine.reset()')
    time.sleep(1)
    machine.reset()

and it fails here before any camera init happens.

Putting camera_deinit()gives a E (1070) camera: Camera deinit Failed which is not surprising as the camera has not been initialised.  My original error appeared to go away.
If I import camera after my SOFT_RESET test everything works properly.
Thank you.


Publish schema to URL reflected in the $schema URI

E.g., "$schema": "https://citation-file-format.github.io/1.2.0/schema#"

(Could be automated in a GH Actions release action.)

Done in PR https://github.com/citation-file-format/citation-file-format.github.io/pull/31.

"$id" should be https://citation-file-format.github.io/1.2.0/schema.json#!
This pattern works for the raw version in the branch, see image.

Assigned @sdruskat because he created PR https://github.com/citation-file-format/citation-file-format.github.io/pull/31

Fixed in PR #302.


Why don't make a snipe command??

Also just fyi, you can use discordSuperUtils. Its rly good.
And I ain't catfishing too....i have no connections with it....Its just too good and ive used it....so a recommendation

DAMN!!!!!
I thought it was a small bot. I know discord doesn't allows bots in more than a 100 guilds to save message-context in cache. Its a privileged intent. I thought it was a small bot that could save it 🤦🏻

Damn, I didn't know about discord super utils, its like spoonfeeding though.
if other contributors feel like it's a good idea, I'll implement some features for sure

ik it , didnt wanna recommend it though


chore: Included githubactions in the dependabot config

Follow up: https://github.com/rspec/rspec-rails/pull/2606

Thank you!


SPP-8389-Remove-code-spec-permission-box

Description
Removed code spec and permissions box
Behavior tests have also been added
Comments and documentation not updated due to self explanatory code
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Technical Enhancements

Checklist:
If any of these are not completed, please explain why in the notes.
Definition of Done
Code and merges

[x] Code review (informal/walkthrough (and/or produced with Pair programming)
[x] Code review completed by the appropriate people (1 thumbs up)
[ ] Code to be commented on where applicable
[ ] Documentation updated where required
[x] Have considered non-functional requirements such as Security, Performance, Scalability, and Fault Tolerance.

Testing

[x] All levels of acceptance test are passing (automated, integration, manual, accessibility, etc.)
[x] Functional test passed
[x] Acceptance criteria met

Deployment

[x] Builds are green

Other Checks

[x] I have performed a self-review of my own code
[x] I have checked for spelling errors
[ ] I have commented on my code, particularly in hard-to-understand areas
[x] My changes don't break anything unexpected
[x] Up to date with the main branch

Thanks Jason, removed the link now for new standards


Enhancing DeepEval's Vertex AI implementation sample

DeepEval docs have a Google Vertex AI implementation sample here:
https://docs.confident-ai.com/docs/metrics-introduction#google-vertexai-example
However, it has a number of issues:

It doesn't seem to subclass the base class correctly
It unnecessarily relies on LangChain to call Vertex AI
It unnecessarily exposes the underlying library and its safety settings outside the GoogleVertexAI class

I implemented another version here that fixes these issues:
https://github.com/meteatamel/genai-beyond-basics/tree/main/samples/evaluation/deepeval/vertex_ai
I have the two variants: one that uses Vertex AI directly, one that uses Vertex AI via LangChain.
I also have 3 samples how to use it here:
https://github.com/meteatamel/genai-beyond-basics/tree/main/samples/evaluation/deepeval
I'm hoping the DeepEval documentation can be updated to use these implementations instead.

@meteatamel Thanks for the comments, will definitely update it :)


Check WINBIO_I_MORE_DATA for WinBioEnrollCapture

WinBioEnrollCapture returns WINBIO_I_MORE_DATA if requires more scan due to any reason.
So throw exception or return value to notify it.

Close by bd2655deda2afd4febdfaaf69a1d168a48403c8f