DPE-5627 CC006 compliance

Fully featured TF module, moved from is-devops repo to charm repo.
Following spec CC006

if user pins charm revision, does terraform select correct OCI resource rev?

It's handled by juju, so yes. Unless it's overridden

does cc006 require any versioning of the module?

https://github.com/canonical/mysql-operator/pull/540#issuecomment-2413795508


Add custom options for silent installation (exe files)

Description of the new feature/enhancement
When you use wingetcreate new for an exe file, sometimes you should add an argument to make the installation silently. So we have to think how to solve the warn: Did you forget to add Silent or SilentWithProgress switches?

I wonder why this wasn't implemented yet


[0.56.x] the webhook doesn't register itself properly

Expected Behavior
When tektoncd/pipeline is installed, the webhook will register itself, generate certificates (if need be) and add them to the CRDs (so that everything works).
Actual Behavior
On 0.56.2 it fails at some point (with StepActions) and thus does not completely register all the objects. ClusterTask, CustomRun, VerificationPolicy (didn't know this one existed 😅 ) and StepAction  CRDs are not correctly setup.
This generates "log" spam in the webhook log, as well as in the kube apiserver operator (at least in OpenShift).
From kube apiserver operator:
[...]
W0322 14:51:48.986682       1 degraded_webhook.go:135] failed to connect to webhook "clustertasks.tekton.dev" via service "tekton-pipelines-webhook.openshift-pipelines.svc:443": tls: failed to verify certificate: x509: certificate signed by unknown authority

From the webhook:
{"severity":"info","timestamp":"2024-03-22T14:22:49.905Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"controller/controller.go:550","message":"Reconcile succeeded","commit":"f3dd478","knative.dev/traceid":"48ea1f50-72b7-4ea7-b88d-20e73b231adb","knative.dev/key":"tasks.tekton.dev","duration":0.013954525}
{"severity":"info","timestamp":"2024-03-22T14:22:49.905Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"controller/controller.go:550","message":"Reconcile succeeded","commit":"f3dd478","knative.dev/traceid":"67b5f588-7dc8-4c28-970f-2f2caba5c43c","knative.dev/key":"pipelines.tekton.dev","duration":0.046292156}
{"severity":"info","timestamp":"2024-03-22T14:22:49.909Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"conversion/reconciler.go:115","message":"CRD is up to date","commit":"f3dd478","knative.dev/traceid":"6b81f1a9-864d-4f5d-8bb5-de276202aa49","knative.dev/key":"taskruns.tekton.dev"}
{"severity":"info","timestamp":"2024-03-22T14:22:49.909Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"controller/controller.go:550","message":"Reconcile succeeded","commit":"f3dd478","knative.dev/traceid":"6b81f1a9-864d-4f5d-8bb5-de276202aa49","knative.dev/key":"taskruns.tekton.dev","duration":0.004403825}
{"severity":"info","timestamp":"2024-03-22T14:22:49.910Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"conversion/reconciler.go:115","message":"CRD is up to date","commit":"f3dd478","knative.dev/traceid":"19e1ba34-9371-490e-a25d-9fef1c2e1971","knative.dev/key":"pipelineruns.tekton.dev"}
{"severity":"info","timestamp":"2024-03-22T14:22:49.910Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"controller/controller.go:550","message":"Reconcile succeeded","commit":"f3dd478","knative.dev/traceid":"19e1ba34-9371-490e-a25d-9fef1c2e1971","knative.dev/key":"pipelineruns.tekton.dev","duration":0.00444386}
{"severity":"info","timestamp":"2024-03-22T14:22:49.913Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"conversion/reconciler.go:115","message":"CRD is up to date","commit":"f3dd478","knative.dev/traceid":"2f587e53-d40b-4ea9-a6b5-ebb734ed3fda","knative.dev/key":"resolutionrequests.resolution.tekton.dev"}
{"severity":"info","timestamp":"2024-03-22T14:22:49.913Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"controller/controller.go:550","message":"Reconcile succeeded","commit":"f3dd478","knative.dev/traceid":"2f587e53-d40b-4ea9-a6b5-ebb734ed3fda","knative.dev/key":"resolutionrequests.resolution.tekton.dev","duration":0.004400819}
{"severity":"error","timestamp":"2024-03-22T14:22:49.914Z","logger":"tekton-pipelines-webhook.ConversionWebhook","caller":"controller/controller.go:566","message":"Reconcile error","commit":"f3dd478","knative.dev/traceid":"fe498f2a-b626-41ce-9ced-6be4871e38db","knative.dev/key":"stepactions.tekton.dev","duration":0.000032431,"error":"custom resource \"stepactions.tekton.dev\" isn't configured for webhook conversion","stacktrace":"knative.dev/pkg/controller.(*Impl).handleErr\n\t/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:566\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\t/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:543\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\t/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:491"}
{"severity":"error","timestamp":"2024-03-22T14:22:49.914Z","logger":"tekton-pipelines-webhook.ConfigMapWebhook","caller":"controller/controller.go:566","message":"Reconcile error","commit":"f3dd478","knative.dev/traceid":"e8f465b8-efbe-4d42-86d5-153bcaea0278","knative.dev/key":"config.webhook.pipeline.tekton.dev","duration":0.064861311,"error":"failed to update webhook: Operation cannot be fulfilled on validatingwebhookconfigurations.admissionregistration.k8s.io \"config.webhook.pipeline.tekton.dev\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"knative.dev/pkg/controller.(*Impl).handleErr\n\t/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:566\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\t/go/src/github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:543\nknative

Steps to Reproduce the Problem

Install release v0.56.2
Watch the logs of the webhook

Additional Info

Kubernetes version:
Output of kubectl version:

Any support version by 0.56.x

Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

0.56.x

/assign

Actually, I am wrong, the ClusterTask issue we have is slightly different and not caused by custom resource \"stepactions.tekton.dev\" isn't configured for webhook conversion.


[Request] Filter 'anime' from 'animation' into a new genre

It would be useful to classify anime by its own

We get genres from TMDB and not filtering or adding own items there.


panicked at 'No surface found for window.'

Bevy version
git head 4423a2fa2dc82fad71525ed3f44e16b8481a4902
Operating system & version
Windows 10
What you did
When minimizing windows, panicked at 'No surface found for window.'
What you expected to happen
The window is minimized and there is no panic
What actually happened
The actual result of the actions you described.
Additional information
// main.rs
use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .run();
}

# Cargo.toml
[package]
name = "bevy_examples"
version = "0.1.0"
edition = "2021"

[dependencies]
bevy = { git = "https://gitee.com/lcw_qaq/bevy", features = ["dynamic"] }

Regression of #2299 (previous central issue). #2300 is merged, and should have fixed the existing issue.
This however looks like a new bug we introduced, given that the error is different.

C:\Users\LCW.cargo\git\checkouts\bevy-09c88e8028296690\2abf5cc\crates\bevy_wgpu\src\renderer\wgpu_render_resource_context.rs:376

fn next_surface_frame(&self, window: &bevy_window::Window) -> TextureId {
    if let Some(texture_id) = self.try_next_surface_frame(window.id()) {
        texture_id
    } else {
        // ID has been deleted here
        self.resources.window_surfaces.write().remove(&window.id());
        // But try to get it here
        self.configure_surface(window);
        self.try_next_surface_frame(window.id())
            .expect("Failed to acquire next swap chain texture!")
    }
}

fn configure_surface(&self, window: &Window) {
  let surfaces = self.resources.window_surfaces.read();

  let surface_configuration: wgpu::SurfaceConfiguration = window.wgpu_into();
  // panic here
  let surface = surfaces
      .get(&window.id())
      .expect("No surface found for window.");
  surface.configure(&self.device, &surface_configuration);
}


Launching tests takes a very long time on MacOS (an unexplained pause between build and testing)

I saw the Gatekeeper issue described out there, but I'm not sure this is the same. I did add the terminal to developer tools. That didn't help.
So, here's the description of the problem and how to reproduce it on the repo where I work

Make sure to remove the build directory with rm -rf target
Run all tests: cargo nextest run --all

Now here's the difference between MacOS and Linux:

Linux: Once the build finishes, the tests launch immediately
MacOS: Once the build finishes, while in terminal, a long pause happens. During the long pause, I can see on the terminal tab title cycling through all crate names. It seems that everything is being executed in sequence to collect test names? Not sure what's going on there. It takes like 20-30 seconds to finish.

This problem in MacOS happens only after a build. Running cargo nextest run --all again right after the first time doesn't cause this long pause to happen again.

Thanks for the report! This seems like you have some kind of antivirus that is checking for a binary by its hash the first time it is run.
There isn't much nextest can do here. Maybe we can report how long the list phase took.

Thanks for the report! This seems like you have some kind of antivirus that is checking for a binary by its hash the first time it is run. Something like
https://github.com/google/santa maybe?
There isn't much nextest can do here. Maybe we can report how long the list phase took.

I don't have any anti virus installed. I only have an outgoing firewall.
The same happens with all my colleagues with mac m1 and m2.
Not sure how to tackle this... I'll try to research this a bit.

Alrighty. I played a little bit with it, and I understand what's going on. Apparently, gatekeeper does some kind of scanning for programs before allowing the command(s) target/debug/deps/program-deadbeef --list --format terse to run. Well, in that case, there's a way to fix this that needs a little design upgrade.
The problem is that the current design assumes that the aforementioned command is instantaneous, and hence these commands are run sequentially for all crates. But then in large scale software on MacOS, this becomes prohibitively slow, making the execution virtually go in serial. In my case, this step takes longer than the testing!
There are a few improvements that can be done here:

The execution of the --list command can be done in parallel for all tests. It seems that it's done now in serial.
The start of tests shouldn't depend on all the --list commands to finish, but there should be a FIFO pipeline that starts the test for a group of tests once its --list command finishes. In other words, the --list command and then execution of tests should be put in one pipeline. The good news is, you already have a very nice, very efficient pipeline created for running the tests. All you have to do is add the running of the --list command to that.

Does that make sense? Would appreciate your opinion there.

So adding the terminal to Developer Tools as documented here is supposed to prevent that kind of hash-based check from happening. I'm not sure why it's not working for you. I wonder if something broke in macOS recently.

The execution of the --list command can be done in parallel for all tests. It seems that it's done now in serial.

This is actually done in parallel today: https://github.com/nextest-rs/nextest/blob/c1e61ea9d77c70425706705e64c35c0215536cf9/nextest-runner/src/list/test_list.rs#L251 (it used to be serial but it's been parallel for a while). However, something in macOS might cause this phase to be serialized (e.g. if the hash-based checking acquires a global lock).

The start of tests shouldn't depend on all the --list commands to finish, but there should be a FIFO pipeline that starts the test for a group of tests once its --list command finishes. In other words, the --list command and then execution of tests should be put in one pipeline. The good news is, you already have a very nice, very efficient pipeline created for running the tests. All you have to do is add the running of the --list command to that.

I thought a bit about this and the immediate issue that comes to mind is: what if the list step fails at some point?

I can't repro this on my remote M1 Mac Mini with Monterey 12.5.1. I ran on your repo:
cargo nextest run --no-run --all
cargo nextest list --all

And the second command finished in 1.094 seconds.
This is a pretty old version of macOS. I'll try updating it to the newest version.

I'm on the latest MacOS, 14.2.
You're right though. Running these commands doesn't produce the issue. To reproduce the issue, for me, I had to do this:
cargo test --all --no-run

Then:
time cargo nextest list --all

And the result:
real	0m58.613s
user	0m1.615s
sys	0m1.500s

I don't understand the specifics of why, but I can guess. Perhaps the nextest build does trigger the scan anyway at the end. Keep in mind that nextest admits right after starting after the cargo test --all --no-run that there's nothing to build.

OK I removed the terminal from developer tools, restarted, added it, restarted again, tried again, and the problem is gone!
I have no idea what's going on. But I guess my problem is solved at this point... unless it shows up again.
Apologies for wasting your time.
I'm OK with closing this issue. I can reopen it if it happens again.


p-value for the interaction term between G*E

Hi,
In the TrajGWAS documentation (https://openmendel.github.io/TrajGWAS.jl/dev/#GxE-or-other-interactions), the p-value file from jointly testing for G + G*E using the formula testformula=@formula(y ~ snp + snp & sex) includes betapval, taupval, and jointpval.
Is the betapval for the snp? How can I obtain the beta coefficient and betapval for the interaction term (snp*sex)?
Thanks!

That is the p-value for
null hypothesis:  beta = 0 and tau = 0
alternative hypothesis: beta = 0 or tau = 0.

Betapval is the p-value for
null hypothesis: both G and GE effect sizes are zero;
alternative hypothesis: either effect size for G or GE is nonzero.
The default test type in this package is the score test, which only computes p-values, not the exact values of effect sizes, for efficiency. If you need the effect sizes directly, please pass the keyword argument test=:wald to the trajgwas function.


get_id() is not specific enough for template items when doing create_or_update()

We're using zabbixapi to keep our Zabbix templates in-sync and up-to-date, but we're having an issue when trying to use create_or_update() on templated items.
Here's the code we're using to create/update one of the items on our templates:
templateid = zabbixapi.templates.create_or_update(
  :host => 'zabbix-templates_aws_ec2-metadata',
  :groups => [:groupid => @zabbixapi.hostgroups.get_or_create(:name => 'zabbix-templates')]
)

zabbixapi.items.create_or_update(
  :name => 'ami-id',
  :description => 'Captures the AMI ID from AWS and adds it to the host inventory under the "OS (Short)" tag.',
  :key_ => 'curl[http://<IP_ADDRESS>/latest/meta-data/ami-id]',
  :delay => 60,
  :type => 7, #Zabbix agent (active)
  :value_type => 1, #Character
  :history => 7,
  :trends => 365,
  :inventory_link => 7, #OS (Short)
  :hostid => templateid,
  :applications => [@zabbixapi.applications.get_or_create(:name => 'EC2', :hostid => templateid)]
)

Looks like create_or_update() makes a call to get_id() to find the itemid, but the filter on that query is not specific enough to only pull the itemid attached to the template. Instead get_id() pulls the itemid from one of the hosts linked to the template instead, since the item gets copied to the hosts using that template.
  result = @client.api_request(
    :method => "#{method_name}.get",
    :params => {
      :filter => {
        indentify.to_sym => name
      },
      :output => [key, indentify]
    }
  )
  id = nil
  result.each { |item| id = item[key].to_i if item[indentify] == data[indentify.to_sym] }
  id

So it's not just items that are affected by this, but anything that requires more than a single field to be identified properly in Zabbix when using templates, like:

Applications
Discovery
Items
Screens
Triggers
Web Scenarios

The Graphs class already overrides create_or_update() to be more specific, so it seems like we need something similar added to the other classes.
def create_or_update(data)
  graphid = get_id(:name => data[:name], :templateid => data[:templateid])
  graphid ? _update(data.merge(:graphid => graphid)) : create(data)
end


Easier use of ArrayInterface.size/axes/to_dims

I realized that the way I implemented these methods was kind of obnoxious for other packages to use. Now only the following need to be defined:
Base.size(x::MyArray) = some_method_that_computes_size(x)
Base.size(x::MyArray, d) = ArrayInterface.size(x, d)

I also added some more tests/methods for to_dims to make it a bit easier to work with in different situations.

Looks good to me. Ready for merge and release?

Yes


.NET Core support

Current version is not supporting .NET Core 1.0.

I definitely want to support .NET core in the next release, if possible.  As far as I can tell, the necessary APIs are available, the most important being one being DynamicMethod (this is the API that prevents Jurassic from working on UWP).

Hi,
Is it related to this issue ?  https://github.com/dotnet/core/issues/139

Paul, .Net Core is not the same as UWP: I know, there's a lot of confusion.
If I try to create a .Net Core Library project, then adding all the Jurassic modules, the compilation sticks in several parts. One of the most critical is that there's no ability to mark the library as "unsafe".
Any clue on how to use Jurassic as component of an ASP.Net Core project?

Hi @highfield
You can use Jurassic in it actual version by creating an ASP.NET core project targetting the full framework (net46 for example). So you won't be able to run it on other OS than windows with framework installed.
I have tried to see if it can be easily ported to core, but there is a lot of System.Reflection and System.Reflection.Emit changes that would need Jurassic rewriting.
And in my case, I would like to target the Net Platform Standard 1.2 (for mono integration) : https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md

Thank you @MaitreDede .
I tried to port the Jurassic sources to the Core platform, but -yes- I bumped against the Emit problem.
At the moment, I'm in the context where I can't switch to Windows, because a Linux version (running Nodejs) is already working. The new AspNetCore release is way better than the Node's, but I must still to solve the problem of the scripting.
Thank you again.

Hi,
Trying to port to core from the dot-net-core branch.
The first problem I encountered is the class DynamicILGenerator. I have seen there is an alternative : ReflectionEmitILGenerator used when using Mono compiler that defines __MonoCS__. I also uses conditionnal compilation based on dotnet core.
Then I have created reflection method helpers for differences between the dotnet core and the classic framework (ex: type.GetMethods() has moved to type.GetTypeInfo().GetMethods())
I am targetting the dotnet framework 4.0 (like now) and also the dotnet core "netstandard1.6", so both will be available. I have also ported the unit tests using mstest.
As of writing, the Jurassic and UnitTest compiles. I will report when ready.

Almost all unit tests are passing. If someone wants to try : https://github.com/MaitreDede/jurassic/tree/dot-net-core

Awesome effort @MaitreDede !
As long I'll have time this morning, gonna try on Windows and Ubuntu. I'll let you know about it.
Thanks in advance.

@MaitreDede , I was able to perform a little test on both Windows and Linux, and everything went fine!
Nothing complex, but I mostly used interop between CLR and JavaScript, to test both reliability and performance.
Let me know if you need the C# source. Not very long, but I'd avoid to pollute this thread uselessly!
Thanks again!

Hi,
I have ported more projects to dotnet core. There is still the Attribute Code Generation project, since it has to be rewritten, because this is no longer .csproj but .xproj, and has to change workspace class (see https://github.com/dotnet/roslyn/issues/11342).
There is still 2 unit tests failing : #74 and UnitTests.BigIntegerTests.Log: Assert.AreEqual failed. Expected:<20,1897521142866>. Actual:<20,1897521142866>. Computing Log(4294967296, 3).
Also, do you think it is possible to publish a new version to nuget ? If you merge the dot-net-core branch #75 you can run in the solution directory :
dotnet restore Jurassic
dotnet pack Jurassic --configuration release --version-suffix beta1

The packages will be ready to publish in Jurassic\bin\release\, and considered as "beta" for nuget.

Hi,
Looking for a NuGet package of Jurassic that will run under the AWS lambda C# environment, supports .Net Core 1.0 runtime only for some reason. Not getting my hopes up! cheers

I've been holding off doing any work on getting Jurassic to work on .net core until Microsoft finish the .csproj tooling for .net core.  This should happen soon, with the release of VS 2017 RTM.  But it'll likely be a work-in-progress build; at the glacial rate I'm making changes, it's unlikely there'll be a NuGet package update for a while, sorry!

That's fine,  thanks for the response. Have split out the js functionality into a nodejs lambda.

Hi @paulbartrum
As far as I remember, RTM is not expected until a few month. Until then, do you think it may be possible to publish a nuget "beta" package with actual toolchain (project.json) ? This won't change too much things and then you could switch back to .csproj when RTM. I think it can be possible with the PR I made on your dot-net-core branch.

As far as I remember, RTM is not expected until a few month.

It should be less than a month away, actually:
https://blogs.msdn.microsoft.com/visualstudio/2017/02/09/visual-studio-2017-launch-event-and-20th-anniversary/

any update on this one ?

The latest version should work fine in .NET Core 2.0+. If you're using Nuget you'll need to tick "Include prerelease" to get a version that supports .NET core.


InvalidMessageBody is no longer rescuable

I'm in the process of upgrading to the current version from an ancient one.
We previously used rescue_from Grape::Exceptions::InvalidMessageBody to catch unknown upload formats and document what the valid upload types are.
However, in https://github.com/ruby-grape/grape/blob/master/lib/grape/exceptions/invalid_message_body.rb a generic error is being raised instead of an InvalidMessageBody.
I don't see a straightforward hook for this; would it make sense to use InvalidMessageBody there?

How so? This is the constructor for InvalidMessageBody.

Sorry, I've clearly pasted the wrong link. It's in https://github.com/ruby-grape/grape/blob/master/lib/grape/middleware/formatter.rb#L100

I would write a spec for your scenario, then try to specialize this error (and anywhere we throw :error) and see what breaks?


Adding post events for each event

Adding post event structure to notify when an event is success processed.

Nem um testezinho pra validar os payloads? :cry:


refactor: DOSINT21H loads the initial DOS executable

Description of Changes
Gives the DOS INT21H class the capability and responsibility to load the host file, if the ProgramExecutor determines that it is a DOS executable (.COM or .EXE file)
Rationale behind Changes
Makes it easier for a potential contributor to implement DOS function INT21H 0x4B (LOAD AND/OR EXECUTE).
Along with the DOS SDA, PSP chains, and  eventually TSR support.
Suggested Testing Steps
Test this with your favorite game.
It should still load, even if you set a preferred start segment in the config, or even use program arguments.
Dune still works.

Krondor loads and runs.
But I don't think an interrupt handler is the right place for this file loading is it?
Feels like DosFileManager would be a better fit.
I'm also not quite sure how this makes it easier to implement DOS function INT21H 0x4B.

Dosbox does this :
Call the command processor, which eventually calls dos int21h 0x4b to execute a DOS program with a DOS path and args as parameters given via CPU registers.
It also handles the SDA structure, PSP chains, DOS process management, TSRs and such.
What we do currently on master:
We completely side step the dos kernel and dos int handlers and the usage of a DOS path.
We directly load an executable in memory from an absolute host path, with class that are foreign to the OperatingSystem namespace.
We don't have the SDA, DOS process management, TSR support, etc.
What this does:
What I see as the first step : call the dos int21h class to load the DOS program, from an absolute host path.
It's a little bit better, because the rest of the modifications will be done in the dos kernel and the dos int21h handler.

Dosbox does this :
Call the command processor, which eventually calls dos int21h 0x4b to execute a DOS program with a DOS path and args as parameters given via CPU registers.
It also handles the SDA structure, PSP chains, DOS process management, TSRs and such.
What we do currently on master:
We completely side step the dos kernel and dos int handlers and the usage of a DOS path.
We directly load an executable in memory from an absolute host path, with class that are foreign to the OperatingSystem namespace.
We don't have the SDA, DOS process management, TSR support, etc.
What this does:
What I see as the first step : call the dos int21h class to load the DOS program, from an absolute host path.
It's a little bit better, because the rest of the modifications will be done in the dos kernel and the dos int21h handler.

The way I imagine it, we'd have a "FileLoader" class (or set of classes) that are used by both the int21handler and the ProgramExecutor.
I dunno, to me it just feels more like it belongs somewhere under the Spice86.Core.Emulator.OperatingSystem namespace rather than under the Spice86.Core.Emulator.InterruptHandlers.Dos namespace.

I can do that.


Artifact handling is brittle

I've been trying to slim some of RRTMGP's dependencies, since there's no need for RRTMGP to depend on, for example, Test.jl. Also, as we move to the new clima parameter handling, we should remove RRTMGP.jl's dependence on CLIMAParameters.
In doing so, it seems that I'm running into this issue.

It looks like this came in with #270.

It seems like artifact"hash" looks for the Artifacts toml in the (active) project environment folder, so it seems that we can get by with moving it (and duplicating it in multiple environments).


Stock generated script is not runnable

I'm not sure why commander tries to require 'myscript'in the generated template when I specify 'myscript' as the "Machine name" - I would think that for most commander use cases you're not looking to load a gem with the same name as your script...
In addition, the ':version' is not set to something correct, but is instead set to Myscript::VERSION.
These 2 things prevent a stock generated script from actually running without erroring out.
I propose removing the require statement, and setting the default version to '0.0.1'. Also, I think the "Machine name" prompt is unnecessary. Wouldn't it make sense to just use the filename of the file passed in as the init argument?
Don't mean to sound negative, but these things just seem bewildering to me :)

I agree with you, I'm not really sure why the original decision was made to set it up like that. I agree with your suggestions, and if you have the time to put together a pull request, that would be awesome...


[Bug]: FileNotFoundError: [WinError 3]

What happened?
I'm downloading a course with this command
python main.py -c "https://www.udemy.com/course/python-for-computer-vision-with-opencv-and-deep-learning/learn/" -sc --download-assets --download-quizzes --browser brave
but it skips some lectures and sometimes downloads the lecture in the encrypted version which is inaccessible, my key and key id are correct and I have the requirements installed and the other programs.
I have downloaded other courses without any problem but this is the first time to face this issue
Expected Result
expected result is for everything to be downloaded
Branch
master/main
What operating systems are you seeing the problem on?
Windows
Relevant log output
[09:54:26] [udemy-downloader] [parse_new:1636] INFO:   > Processing lecture 16 of 149
[09:54:26] [udemy-downloader] [process_lecture:1452] INFO:       > Lecture '016 MPC 16 - reformulating the cost function from polynomial to matrix vector form 1' has DRM, attempting to download
[09:54:26] [udemy-downloader] [handle_segments:1215] INFO: > Downloading Lecture Tracks...
[09:54:28] [udemy-downloader] [handle_segments:1240] INFO: > Lecture Tracks Downloaded
[09:54:28] [udemy-downloader] [handle_segments:1251] INFO: KID for video file is: b658af1827be4186b2ebb6f38d1e7653
[09:54:28] [udemy-downloader] [handle_segments:1258] INFO: KID for audio file is: b658af1827be4186b2ebb6f38d1e7653
[09:54:28] [udemy-downloader] [handle_segments:1297] INFO: > Merging video and audio, this might take a minute...
[09:54:28] [udemy-downloader] [handle_segments:1302] INFO: > Merging complete, renaming final file...
[09:54:28] [udemy-downloader] [handle_segments:1308] ERROR: Error:
Traceback (most recent call last):
  File "C:\Users\eraha\Desktop\udemy-downloader\main.py", line 1303, in handle_segments
    os.rename(temp_output_path, output_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\eraha\\Desktop\\udemy-downloader\\out_dir\\applied-systems-control-for-engineers-modelling-pid-mpc\\06 - Model Predictive Control - Mathematical Derivation - autonomous vehicle example\\19553144.mp4' -> 'C:\\Users\\eraha\\Desktop\\udemy-downloader\\out_dir\\applied-systems-control-for-engineers-modelling-pid-mpc\\06 - Model Predictive Control - Mathematical Derivation - autonomous vehicle example\\016 MPC 16 - reformulating the cost function from polynomial to matrix vector form 1.mp4'

Other information
Thanks in advance and good luck

Most likely the path is too long. Move the script closer to the root of the drive and use --id-as-course-name. Make sure you are using the latest version of the script. Not much else I can say about the encrypted files without more info.

Thank you it worked it turned out that the path was too long, I have another question is it possible to download the assignments section in Udemy courses or not?
Thank you and have a nice day

Thank you it worked it turned out that the path was too long, I have another question is it possible to download the assignments section in Udemy courses or not?
Thank you and have a nice day

not yet.


Add new test and modify existing tests

Describe the bug
The tests that are present in the application currently, give the following issues:

They do not cover all the functionalities of the application
The existing tests do not test for all cases of some functionalities
Some test are incorrectly written or have not been re-written according to changes in functionalities. This causes the tests to fail, and this also results in build fail.

To Reproduce
Steps to reproduce the behavior:

Run the Cypress tests
The incorrect tests will fail and all the features are not tested

Expected behavior
It is expected that the tests cover all the functionalities of the application, also considering all possible use cases.
This would make the application more secure. It will also prevent any unexpected breaking change while developing the application.

I would like to work on this issue.


Support for stateless functionnal component

As far as I have looked at the documentation and tested it, stateless functional component are not supported.
Do you have any plan on this and if not, how hard would it be to support it?

Actually they are "supported" by transforming into ES2015 classes (e.g. the Media-Component within the demo).
I've never really tried to get those pure functions ready at all, but I can give it try tomorrow. I guess prop/context related stuff should not be too hard to implement. But as some plugins/mixins use the state also, they would probably fail running.
I'll try to do some research on that.

I think when using function components we need a LOT less logic as we don't have to take state into account. I'll try to figure out if this is possible, we might have issues with contexTypes. But that's resolvable.

I will now do some experiments with stateless functions and how to handle possible errors :+1:

@oliviertassinari @alitaheri FYI implemented this and got evrything working locally. Just need internet connection to push it :p


Adding new command line options:

--hpx:printer-counter-at= where arg could be startup, shutdown or noshutdown (default is shutdown, i.e. the old behavior)
--hpx:reset-counters which resets the counters after they are evaluated by HPX

This fixes #1464: HPX option for pre and post bootstrap performance counters

What is no shutdown and is the --hpx:print-counter still the same

What is no shutdown and is the --hpx:print-counter still the same

'noshutdown' prevents the values from being printed at the end (which is the default right now)
yes, the --print-counter is still the same

If you don't use the new command line option (--hpx:print-counter-at) you shouldn't see any change in behavior. If you do, please report it as a problem.

Ah good I like that option


New lerp() method has unhelpful error messages

Godot version
master as of #60924
System information
N/A
Issue description
I'm getting this error when one argument is a float and one argument is an int. The error message is confusing because it looks like it's trying to convert to nil. I assume it's triggering the if (from.get_type() != to.get_type()) { condition in the PR, and the solution is simply for me to switch to lerpf and/or cast my inputs to float, but it's poor UX right now.

Another small problem I noticed with lerp() is that the weight is currently a Variant, but it should be a float (double). It's strange that it shows up as a Variant, because the method argument has the correct type.
Steps to reproduce
var x: int = 1
lerp(0.0, x, 0.5)

Minimal reproduction project
Paste the above code snippet into any Godot project.

I am justing putting this under this report, maybe it is related. I have a simply lerp function :
 freq_low = lerp(min_freqs, max_freqs, freqs_low)
It was working perfectly in A13, but now throws an error :
"Invalid Call. Nonexistent Utlity Function 'lerp' "
I checked if there are any changes to the helpdocs or issues, but apparently not so this must be a bug.

Found out the lerp function complains a lot if one of the arguments is not the same type as the others.
Ex. (int, int, float) or (float, int, float)
It works with either (float, float, float), or (int, int, int)

@yaelatletl Only the first two arguments need to match, since the weight is always a float (C++ double).

It sometimes also happens event to floats, apparently randomly. I had to implement my own function my_lerp(a, b, t) : a + t(b-a) to avoid the error.

Hi there, I got this same issue, definitely related to the first 2 arguments matching, should a better error message be thrown, or should we try to convert better? I'd be willing to take a shot trying to fix the issue if there is a decision on what should be done


Fix Issue 36: Add distance traveled widget based on steps

Add new option in Others Settings to select your own step distance.
Replace step count in StepWidget with distance in kilometers.
Miss a checkbox to show this new feature (show step length instance of steps) or the basic feature (show steps)
If you accept this pull request, you can add this new checkbox on Others Settings.

Thank you!
I will add the missing parts and implement the code within the following days :)

I had to rewrite the code to a new widget and make changes based on the latest refresh fixes, but your code was helpful :D
commit 0868bcd0774b39579a265832ceac9a9a81164fc9


todo: provide command for multiple queries

added mgmanysearch in https://github.com/sourmash-bio/sourmash_plugin_containment_search/pull/3


ADD event details

Added the event details in my own words.

Thanks, Adnan. It looks pretty good but I think it should have been in a separate file. Anywho, welcome aboard. And keep up the good work, I saw your profile, it looks like you are headed in the right direction here. I hope you make your four PR's this month. Add git resources to this repo. One resource per PR.

Thanks, @ahmadawais for this. Finally four PR's and completed the challenge.

 Keep it up.
Also, I think you were the first one to complete the challenge. Feel free to ask for a WP-Pakistan T-Shirt from me if and when you're in Bahria Lahore.

Thank you so much for your co-operation @ahmadawais 😍, it wouldn't have been possible without your guidance. Sure I'll be glad to take the WP-Pakistan shirt. It would be nice of you if you handover to Saqib Ameen if he meets you before me, I'll take from him.
And of course waiting for the #DigitalOcean Shirt too. 😃

Reach out to me some time and we should def talk. Keep up the good work!

of course I'll.


Further work on SExpr

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: DamianReeves:white_check_mark: michelchan:x: Dmitry KozinetsDmitry Kozinets seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Nested and to_json method error:  wrong number of arguments (0 for 1)

Hi,
I am not sure what I am doing is correct so may be not an issue.
Here is my representer:
module OperationRepresenter
    include Roar::JSON

    property :status
    property :headers
    property :body
    property :path
    property :method

    nested :data
  end

Client::Operation is the class who use the OperationRepresenter
Client::Customer is another class using the another representer
Then when I do:
Client::Operation.new(
  method: :post,
  data: Client::Customer.new(first_name: 'first_name'),
  path: "path"
).to_json

I get an error:
ArgumentError: wrong number of arguments (0 for 1)
representable-2.3.0/lib/representable/binding.rb:101:in `method'

The data property should not be static, it can be Client::Customer or Client::Anything.
Does someone have an idea?
Thanks

The way you use nested is incorrect - it's meant to map to a nesting in the document, not in your represented object. Also, nested only makes sense with an inline representer: http://trailblazer.to/gems/representable/3.0/api.html#document-nesting

Thx for the answer, I finally found what was my problem, not what I though in the first place.
Having
property :method

Causes some problem with the interpolation, at some point in the stack there is this call:
  send(method)

For my case I just renamed method in http_method

Oh yeah, the good old method problem! :grimacing:


Tree cache new returns result

Motivation
Realized TreeCache are initialized at runtime frequently, thus should not panic on db error.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
yes
Test Plan
existing coverage
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra delegate+


Detect whether interactions active

I want to determine whether there is an active interaction. This will be done asynchronously, so I can't probe d3.event. I could do,
let isActive = false
d3.zoom()
  .start(() => { active = true })
  .end(() => { active = false})

However, this is a little flaky when there are multiple gestures.
Would it be possible to add something like,
zoom.isActive = function() { return gestures.length > 0 }

(Feel free to bikeshed the name)

Use counting:
var active = 0;

var zoom = d3.zoom()
    .on("start", () => ++active)
    .on("end", () => --active);

Then active tells you the number of active zoom gestures, so active > 0 tells you whether or not a zoom gesture is active.
Please use Stack Overflow tag d3.js to ask for help. Although I make an effort to assist everyone that asks, I am not always available to provide help promptly or directly. Stack Overflow provides a better collaborative forum for self-help: tens of thousands of D3-related questions have already been asked there, and some answered questions may be relevant to you.
When asking for help, please include a link to a live example that demonstrates the issue, preferably on bl.ocks.org. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗

That is definitely more correct than my version! However, this might require too much knowledge of the internals for other users! Would something like the demo function mean fewer bugs for the end user?
Or am I filling a very niche use-case that doesn't need exploring? 😅
I can open a PR if this is something you'd be interested in!


Test Pull Request - commit linter

Test message!

One or more of the commits in this PR do not match the code submission policy, please check the 'lint_commits' CI job for more details.


Fix some syntax and coding errors in DynamicLibrary for windows

Since we do not yet compile it in the CI, we missed some errors.

This pull request is now managed with CodeReviewHub. Refresh.

@miguelgaio Please review.

:+1:

:+1: Could you open a bug for our remaks ? Ie: open a bug an link to this PR to know what to fix.


Support Events API

Slack announced a new Events API which provides similiar functionality to the Real-time message API (RTM) but with a simpler webhook interface.

https://api.slack.com/events-api
https://api.slack.com/faq#events_api

will accept PRs for this work.
high level requirements:

don't implement the handler, that is application dependent.
do implement the data structures and utility functions to reduce the http handler to a few lines.

closing as we have basic support.


Unit test failure - re-enable pilotplugin_mtls test

Certs are expired: https://github.com/istio/istio/tree/2bfefe78b746c4f0c2b23e3bc2605492c2ab74a8/mixer/test/client/pilotplugin_mtls/testdata

errr...

this needs to be backported to 1.1 and 1.2

Uhm, why this disabling test instead of renewing certificates?


Stuff -  Added and fixed things yes

Fixed a lot of NBT Tags
Fixed Hardstone Minion and other Items
Removed not used things from the repo
Added Reforge Stats
Added Wiki Links
Added Featurelink
If you have question about the link read the conversation from here

i didnt do the format was just the site


🐛 Bug Report: Usage of contains operator for Microsoft Graph query

📜 Description
I'm trying to read Users and Groups from Microsoft Entra using the Azure org data integration that is provided by Backstage.
It states that the search and filter can be adjusted to your own liking:
https://learn.microsoft.com/en-us/graph/filter-query-parameter?tabs=http
https://learn.microsoft.com/en-us/graph/search-query-parameter?tabs=http
However in the documentation only Equals (eq) is used, and I need a contains query. To be specific:
I need to read all groups in Entra that contain "string x"
👍 Expected behavior
My code:
catalog:
  providers:
    microsoftGraphOrg:
      development:
        target: https://graph.microsoft.com/v1.0
        authority: https://login.microsoftonline.com
        clientId: ${AZURE_CLIENT_ID}
        clientSecret: ${AZURE_CLIENT_SECRET}
        tenantId: ${AZURE_TENANT_ID}
        queryMode: advanced
        user:
          loadPhotos: false
        group:
          filter: displayName contains "string x"
        schedule:
          frequency: PT10M
          timeout: PT5M

I also tried the following since it used a lot.
        group:
          filter: contains(displayName,'{string x}')

It should read all groups from entra that contain "string x" (string x is obviously a different value for me)
👎 Actual Behavior with Screenshots
My logging shows me for method 1
error MicrosoftGraphOrgEntityProvider:development refresh failed, Error: Error while reading groups from Microsoft Graph: BadRequest - Invalid filter clause: Syntax error at position 20 in 'displayName contains "string x"'
Where position 20 seems to be the contains operator
My logging shows me for method 2
error MicrosoftGraphOrgEntityProvider:development refresh failed, Error: Error while reading groups from Microsoft Graph: Request_UnsupportedQuery - Operator: 'Contains' is not supported.
👟 Reproduction steps
Setup microsoft graph according to the Azure org data integration name
📃 Provide the context for the Bug.
No response
🖥 Your Environment
I run in v1.25
I can't run yarn backstage-cli info for this unfortunately
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

I know very little in microsoft graph, did a quick google and found https://stackoverflow.com/questions/35557280/contains-filter-on-microsoft-graph-query-not-working . Could startsWith work for you instead?
@pjungermann or @drodil do you have suggestions?

After some googling I alsoagree that this might be a graph limitation instead of Backstage.
I need to look if starts_with is also an option. I rather not use that, but maybe its possible

If there is no way to work around this I'm willing to close this ticket since it's not really a backstage issue

@jhaals Just a quick question for you.
I need all users that are part of groups that displayName startwith "string x".
Do I need to use userGroupMember for this or how do I achieve this?
It's not clear to me when looking at the docs.

Or I can load up all users but I need to set some RBAC that they can't make use of backstage if the user is not part of an existing group. But that sounds like the last solution I should go for

Sorry @twanbeeren but I'm not sure to be honest :) I have never used this provider myself and I don't have access to microsoft graph. This provider is community contributed and I hoped that those that I pinged(based on git blame) was going to spot this issue and jump in. I know there are more microsoft users on Discord that are using this provider and hopefully can help you to construct the filtering

The syntax is startswith(field, 'prefix') and the same for contains: contains(field, 'infix')
see also https://learn.microsoft.com/en-us/graph/filter-query-parameter?tabs=http#for-single-primitive-types-like-string-int-and-dates with the example

contains
~/identityGovernance/accessReviews/definitions?$filter=contains(scope/microsoft.graph.accessReviewQueryScope/query, './members')

Not all operators are supported on all data types/fields/query arguments.

I"ll try this out next week

any update on this @twanbeeren?

Amazing, I'm closing the issue then. Feel free to re-open in case more help is needed.


update documentation

update documentation after MimeTypeRegistry, MailcapRegistry, MailcapRegistryProvider and MimeTypeRegistryProvider are added

I'd also probably move the description of new spi classes to separate section, probably 9.4, title could be sth like Provider Requirements (one may want to check other specs to see how it is handled there)


Add to cart button is added

Fixes Issue
Closes #876

Changes proposed

Screenshots

Checklist

[x] You've linked this PR to the correct issue.
[x] You have checked that the code is working correctly.
[x] You ⭐ the repository!

Note to reviewers

@Spyware007 please have a look

@TANYA-CHAN @Spyware007 please have a look

@TANYA-CHAN @Spyware007 please have a look

Please describe what are you fixing or uploading. A preview is required

@TANYA-CHAN @Spyware007 please have a look

Please describe what are you fixing or uploading. A preview is requir is merge conflict

@TANYA-CHAN @Spyware007 please have a look

Please describe what are you fixing or uploading. A preview is required

This branch has merge conflict and I solve that

@TANYA-CHAN @Spyware007 please have a look

Please describe what are you fixing or uploading. A preview is requir is merge conflict

@TANYA-CHAN @Spyware007 please have a look

Please describe what are you fixing or uploading. A preview is required

This branch has merge conflict and I solve that

Have you added a button? If so then add it to the description template please. If not, then describe whatever you wish to fix over there please

Yahhh this pr is for button

Please check #1346


Fix Windows Dependencies Makefile

The windows dependencies makefile is currently broken:

not all the unzip command contains the -o argument which requires user interaction during the compilation process.
some useless copy and move call should be removed.
some of the dependencies are extracted at each compilation.

This was broken in #683

:+1:

Thank you for fixing it!

You're welcome.


custom templates not initially rendered after form is dynamically built

Angular version 4.2.5 and ng2-dynamic-forms 1.4.17
I an using custom templates with ui-material to insert buttons controlling insertion and deletion of array model as per documentation.
Found out that the additional dom elements that are added by the ng-template(s) are not rendered initially after the form is built : elements are not showing up in the dom.
After any change event, such as a click on any element of the form, the ng-template elements show up and work as expected.
Am i missing something or is it a bug related to ui-material

@rernens I'll have to verify the next couple of days if this is a bug

@udos86 thanks, waiting to hear from you.

@rernens
Alright, I made some tests now and I cannot verify a bug here.
In the sample application when adding  a custom <ng-template>  for a form array everything is rendered flawless.
Could you provide sample code?

@udos86
I still have the same problem.
Meanwhile I have been able to circumvent the problem in changing the way the buttons are shown :
the form is initially disabled and the button hidden than the form is changed to edit mode, enabling all fields and showing the buttons that appear properly.
This is a circumvention.
I will build a plunkr as soon as possible.
Thanks.

@rernens
I guess I ultimately found a way to recreate this error when using ChangeDetectionStrategy.OnPush.
There'll be a fix for this in 1.4.23.


Suggestion: Add sorting indicator to column headings

Today I can't find any way of seeing how/if a table in PH is sorted.
I suggest introducing  a visual indicator, like for example in Window Explorer (see image), in the column header for the column which sorting is done on.

This is a bug with the experimental theme support. I'll add it to the existing issue:
https://github.com/processhacker/processhacker/issues/368

ok, thanks.
Disabling the themes support made the sorting indicator visible.
@dmex , When turning of the theme support I noticed that it might be so that it's not possible to change a setting via the "advanced tab" in the option dialog if the same option is exposed with its own setting on another tab. It's like the save-settings process start reading settings from the advanced tab, and then after that, it reads the settings from the other tabs, so if there's specific GUI for a setting on any of the other tabs, it "over writes" the setting done in the advanced tab.
Perhaps make the settings "observables" connected to a "settings view model", and connect each visualization of a setting to the same property in this "view model", so no matter where the setting is changed, it is immediately reflected by any and all controls connected to the same setting, no matter where in the GUI they might appear.

it might be so that it's not possible to change a setting via the "advanced tab" in the option dialog if the same option is exposed with its own setting on another tab.

The advanced tab settings are saved at runtime while all other settings are saved when you close the Options dialog.
It has to be done this way otherwise the advanced tab would always overwrite the other settings back to defaults. It's the same issue when you manually edit the settings file; closing the program overwrites the changes.

It has to be done this way otherwise the advanced tab would always overwrite the other settings back to defaults. It's the same issue when you manually edit the settings file; closing the program overwrites the changes.

Unless everything updates a settings object in memory, and, in realt-time (observable), reflect that settings object in the GUI, where ever it might be.
So changing a setting in the advanced GUI would update the settings object, which in turn would notify all subscribers of this update. And the same thing if a setting is changed in any other way.
And by monitoring the file where settings are saved, either in real-time, or by checking if has changed since it was read last time, you cold ask the user what they want, use the settings file, or over write it.
Or just include those settings that don't exist on another tab among those settings shown in the advanced tab.
As it's now, it's very confusing, and I spent a lot of time trying to turn of the themes support before realizing it couldn't be done in the advanced tab.


Update demo on README.md

Add a GIF demo like this

@ipiranhaa I'm going to create a new animated gif image, and run with your idea. I'll credit you in the new PR.


Increase font size of answers in FAQ page.

Pulled and the font size is still small?

How large do you want the font size to be?

Make the font readable I guess. Maybe try and match to the font size on other pages

Sure.


fix(TDP-4084):add xerces to the s3 runtime classpath

What is the current behavior? (You can also link to an open issue here)
see https://jira.talendforge.org/browse/TDP-4084.
What is the new behavior?
added xerces on the s3 runtime classpath but I was not able to explain the issue and we are not able to reproduce it consistently :(
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: failure :x:

Pull request test result: success :star:


Array.prototype.@@iterator not served to Android 5.0

https://cdn.polyfill.io/v2/polyfill.js?features=Symbol.iterator,Array.prototype.@@iterator&ua=Mozilla/5.0 (Linux; Android 5.0; SAMSUNG SM-N9005 Build/LRX21V) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/34.0.1847.76 Mobile Safari/537.36
According to https://kangax.github.io/compat-table/es6/ Array.prototype.@@iterator is not supported on Android 5.0 stock browser, so it should be polyfilled.
Edit: Actually I'm not sure if this is stock browser but we it showed up in our JS error logs with that UA.

Hi @jonashaag, the user-agent string you have in the polyfill.io url is detected as samsung_mob/2.1.0, which is a version of the samsung browser we do not support.
If you add &unknown=polyfill to the end of the polyfill.io url, we will serve all the polyfills requested when we do not support the browser that the request has come from.


EE-1196: pad serialized repr of Key::EraInfo

This PR changes the serialized representation of Key::EraInfo, ensuring that this keys has a consistent length with the other key variants.  This is done for the sake of maintaining trie integrity.

bors r+


expose QueryResult

@gkorland please explain why QueryResult been exposed ?

@gkorland please explain why QueryResult been exposed ?

To allow users know the datatype and have typed API


test-basic: Plot KML: changing the altitude clips polygons

Please capture the logcat and attach it here?

04-19 14:34:58.989 3065-3065/mil.emp3.dev_test_sdk D/PickNavigateController: Picked KML
04-19 14:34:59.326 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_IN_MOTION
04-19 14:34:59.326 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:34:59.827 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_IN_MOTION
04-19 14:34:59.828 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:00.329 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_IN_MOTION
04-19 14:35:00.329 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:00.724 3065-3065/mil.emp3.dev_test_sdk I/BoundsGeneration: Start getBounds
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 0 0 37.42227897699343 -122.08554909601163
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 0 667 37.42168101314153 -122.08554908743095
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 1920 667 37.42168101314152 -122.08339091256906
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 1920 0 37.42227897699343 -122.08339090398833
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk D/BoundsGeneration: getBoundingPolygon cornersFound 4
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 0 0
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 0 667
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 1920 667
04-19 14:35:00.725 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 1920 0
04-19 14:35:00.726 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: centerPoint count 960 333 4
04-19 14:35:00.726 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: center 37.42198044824429 -122.08447000000001
04-19 14:35:00.726 3065-3065/mil.emp3.dev_test_sdk I/BoundingBoxGeneration: start buildBoundingBox_
04-19 14:35:00.726 3065-3065/mil.emp3.dev_test_sdk I/BoundingBoxGeneration: buildBoundingBox NEWS 37.42227897925234 -122.08339090943852 -122.08554909056149 37.42168102073252
04-19 14:35:00.726 3065-3065/mil.emp3.dev_test_sdk I/BoundsGeneration: end getBounds 37.42227897699343 -122.08554909601163, 37.42168101314153 -122.08554908743095, 37.42168101314152 -122.08339091256906, 37.42227897699343 -122.08339090398833
04-19 14:35:00.728 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_MOTION_STOPPED
04-19 14:35:00.728 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:01.173 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_IN_MOTION
04-19 14:35:01.173 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:01.673 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_IN_MOTION
04-19 14:35:01.673 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:02.175 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_IN_MOTION
04-19 14:35:02.175 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:02.676 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_IN_MOTION
04-19 14:35:02.677 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:02.924 3065-3065/mil.emp3.dev_test_sdk I/BoundsGeneration: Start getBounds
04-19 14:35:02.924 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 0 0 37.42370035353314 -122.09067986701251
04-19 14:35:02.924 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 0 667 37.4202593197833 -122.09067958285974
04-19 14:35:02.925 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 1920 667 37.4202593197833 -122.07826041714031
04-19 14:35:02.925 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: x/y/l/n 1920 0 37.42370035353315 -122.0782601329875
04-19 14:35:02.925 3065-3065/mil.emp3.dev_test_sdk D/BoundsGeneration: getBoundingPolygon cornersFound 4
04-19 14:35:02.925 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 0 0
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 0 667
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 1920 667
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: vPoint 1920 0
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: centerPoint count 960 333 4
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk V/BoundsGeneration: center 37.421982579337175 -122.08447000000001
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk I/BoundingBoxGeneration: start buildBoundingBox_
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk I/BoundingBoxGeneration: buildBoundingBox NEWS 37.42370042833926 -122.07826031347996 -122.09067968652003 37.42025957115881
04-19 14:35:02.926 3065-3065/mil.emp3.dev_test_sdk I/BoundsGeneration: end getBounds 37.42370035353314 -122.09067986701251, 37.4202593197833 -122.09067958285974, 37.4202593197833 -122.07826041714031, 37.42370035353315 -122.0782601329875
04-19 14:35:02.927 3065-3086/mil.emp3.dev_test_sdk D/Emp3NavigationListener:    View Change event sent VIEW_MOTION_STOPPED
04-19 14:35:02.928 3065-3086/mil.emp3.dev_test_sdk D/MainActivity: mapViewChangeEvent
04-19 14:35:03.340 3065-3065/mil.emp3.dev_test_sdk I/PickNavigateController: ACTION_UP evt NOT dragging. Picks 0.

This is due to the near clipping algorithm used by WW. It mimics zooming in beyond an object at a specific altitude.


[DOC] recommendation of creating own console objects as globals creates confusion for pytest integration

the documentation currently recommends to create own rich console objects per application
this creates a point of contention for integrating with pytest stdio capture (pytest replaces sys.stdout/err for each test/test phase)
while its a big help that a console object itself ensures late binding of those globals (thus passing over pytests changed ones when sensible)
its creating points of contention on what console objets to use for testing an applciation and/or when to use them
additionally any console object created with explicit fd passover will not partake in late binding, thus break in combination with stdio capture of pytest
i would consider the following points helpful

a decorator/contextmanger to ensure a "console context" for an application in a controlled manner that allows testrunner overrides (very nice if one wants toseed a different console into a click appliation)
ensuring the documentation is very clear on better using the boolean flag for stderr/out switching for the late binding
potentially retireing the recommendation for global console objects

Hi Ronny,
You seem to be under the impression I know what issues you have been dealing with. But you haven't told me what those are. Thus I can't properly evaluate those suggestions.
Rich isn't descriptive about how you test. I generally advise people not to test the output, which can change according to the platform / environment. Better to check what you print, and not what gets written to stdout.
Rich also doesn't have much control over how an app choses to use Consoles. Which makes it very difficult to provide a one size fits all solution.
If this answer isn't satisfactory, let me know what issues you run up against. Post some code. Explain how / what you are testing and what you felt was deficient. I will try to offer suggestions, and I'm open to updating the docs to help future devs.
Will

I have a rough idea of our perspective issues, itll take a while to manifest it in a more concrete manner
As what you just outlined gave me an additional perspective that I did not consider well enough before


New package: Pixar USD

Overview
This is a pull request to add a new package.
Name: usd
Version: 0.8.4
Description: Universal Scene Description (USD) is an efficient, scalable system for authoring, reading, and streaming time-sampled scene description for interchange between graphics applications.
Patches
bzip2
The bzip2 port produced a library with the name liblibbz2 in Linux and CMake wasn't able to find it. Fixed.
boost
There was no support for shared libraries in Linux because the port copied only static libraries from the build directory. Fixed with specifying the stage build target and copying everything from the stage folder.
TBB
There was no Linux support, and there were no static libs. Although it's not recommended to use static TBB, sometimes it's handy. TBB doesn't provide tools to build static lib, and a custom CMakeLists was added to the port. Unlike Windows TBB that is built with MSBuild, the Linux version uses GNU make.
USD
It's a very minimal configuration.
Testing
Built the port on the following triplets: x64-windows, x64-windows-static, x64-osx, x64-linux

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

USD would be a fantastic addition, especially for Windows users. Any updates on this PR?

I'm working on this PR next on my queue USD is awesome and would be a great addition to vcpkg.

Hi @cbezault
Nice to see you are interested in this PR. I did it a year ago and since then USD was updated multiple times. Now the version 0.8.4 is very old. I'm sorry Microsoft didn't merge this PR a year ago because I could support it and keep the USD version updated as I do it in my project saturn. If you are from Microsoft and you are able to merge it, I can work on it and update this MR to the latest version.
Best regards,
Victor

@VictorYurin, I can just go ahead and bring USD to the newest version and finish out this PR. It looks like the changes you made to tbb, boost and bzip2 might no longer be necessary. We would really appreciate it if you "adopted" this port and kept it up to date with upstream.


Inference on data

Hi,
I'd like to use this code with pre-trained models to do inference on my own data.
In other words, I'd like to give a certain video in input to the framework and have the predicted action back as output.
Is it possible? And how can I dot it?
Thanks

Hi, did you get the code for inference?


[Snyk] Fix for 21 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

commons/pac-batch-commons/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

569/1000  Why? Has a fix available, CVSS 7.1
Denial of Service (DoS) SNYK-JAVA-CHQOSLOGBACK-6094942
ch.qos.logback:logback-classic:  1.2.3 -> 1.2.13
No
No Known Exploit

569/1000  Why? Has a fix available, CVSS 7.1
Denial of Service (DoS) SNYK-JAVA-CHQOSLOGBACK-6094943
ch.qos.logback:logback-classic:  1.2.3 -> 1.2.13  ch.qos.logback:logback-core:  1.2.9 -> 1.2.13
No
No Known Exploit

569/1000  Why? Has a fix available, CVSS 7.1
Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JAVA-CHQOSLOGBACK-6097492
ch.qos.logback:logback-classic:  1.2.3 -> 1.2.13
No
No Known Exploit

569/1000  Why? Has a fix available, CVSS 7.1
Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JAVA-CHQOSLOGBACK-6097493
ch.qos.logback:logback-classic:  1.2.3 -> 1.2.13  ch.qos.logback:logback-core:  1.2.9 -> 1.2.13
No
No Known Exploit

539/1000  Why? Has a fix available, CVSS 6.5
Directory Traversal SNYK-JAVA-COMAMAZONAWS-2952700

No
No Known Exploit

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
com.amazonaws:aws-java-sdk-core:  1.12.239 -> 1.12.684  com.amazonaws:aws-java-sdk-secretsmanager:  1.12.413 -> 1.12.684
No
Proof of Concept

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
com.amazonaws:aws-java-sdk-core:  1.12.239 -> 1.12.684  com.amazonaws:aws-java-sdk-secretsmanager:  1.12.413 -> 1.12.684
No
Proof of Concept

486/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.3
Information Disclosure SNYK-JAVA-COMGOOGLEGUAVA-1015415
com.google.guava:guava:  19.0 -> 32.0.0-android  org.reflections:reflections:  0.9.10 -> 0.9.12
No
Proof of Concept

509/1000  Why? Has a fix available, CVSS 5.9
Deserialization of Untrusted Data SNYK-JAVA-COMGOOGLEGUAVA-32236
com.google.guava:guava:  19.0 -> 32.0.0-android  org.reflections:reflections:  0.9.10 -> 0.9.12
No
No Known Exploit

379/1000  Why? Has a fix available, CVSS 3.3
Creation of Temporary File in Directory with Insecure Permissions SNYK-JAVA-COMGOOGLEGUAVA-5710356
com.google.api-client:google-api-client:  1.34.0 -> 2.3.0  com.google.api:gax:  2.12.2 -> 2.30.0  com.google.api:gax-httpjson:  0.100.0 -> 2.30.0  com.google.auth:google-auth-library-appengine:  1.5.3 -> 1.19.0  com.google.auth:google-auth-library-oauth2-http:  1.7.0 -> 1.19.0  com.google.cloud:google-cloud-compute:  1.8.1 -> 1.30.0  com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-dns:  2.1.3 -> 2.18.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15  com.google.guava:guava:  19.0 -> 32.0.0-android  org.reflections:reflections:  0.9.10 -> 0.9.12
Yes
No Known Exploit

649/1000  Why? Has a fix available, CVSS 8.7
Improper Verification of Cryptographic Signature SNYK-JAVA-COMGOOGLEOAUTHCLIENT-2807808
com.google.api-client:google-api-client:  1.34.0 -> 2.3.0
No
No Known Exploit

499/1000  Why? Has a fix available, CVSS 5.7
Denial of Service (DoS) SNYK-JAVA-COMGOOGLEPROTOBUF-3040284
com.google.api:gax-httpjson:  0.100.0 -> 2.30.0  com.google.cloud:google-cloud-compute:  1.8.1 -> 1.30.0  com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-dns:  2.1.3 -> 2.18.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15  mysql:mysql-connector-java:  8.0.28 -> 8.0.31
Yes
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-JAVA-COMGOOGLEPROTOBUF-3167772
com.google.api:gax-httpjson:  0.100.0 -> 2.30.0  com.google.cloud:google-cloud-compute:  1.8.1 -> 1.30.0  com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-dns:  2.1.3 -> 2.18.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15  mysql:mysql-connector-java:  8.0.28 -> 8.0.31
Yes
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-JAVA-COMGOOGLEPROTOBUF-3167774
com.google.api:gax-httpjson:  0.100.0 -> 2.30.0  com.google.cloud:google-cloud-compute:  1.8.1 -> 1.30.0  com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-dns:  2.1.3 -> 2.18.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15  mysql:mysql-connector-java:  8.0.28 -> 8.0.31
Yes
No Known Exploit

561/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 4.8
Cryptographic Issues SNYK-JAVA-ORGBOUNCYCASTLE-2841508
com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15
Yes
Proof of Concept

449/1000  Why? Has a fix available, CVSS 4.7
Information Exposure SNYK-JAVA-ORGBOUNCYCASTLE-5771339
com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15
Yes
No Known Exploit

489/1000  Why? Has a fix available, CVSS 5.5
Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JAVA-ORGBOUNCYCASTLE-6084022
com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15
Yes
No Known Exploit

581/1000  Why? Recently disclosed, Has a fix available, CVSS 5.9
Observable Timing Discrepancy SNYK-JAVA-ORGBOUNCYCASTLE-6277380
com.google.cloud:google-cloud-container:  2.5.0 -> 2.23.0  com.google.cloud:google-cloud-dataproc:  3.1.2 -> 4.17.0  com.google.cloud:google-cloud-kms:  2.5.3 -> 2.23.0  com.google.cloud:google-cloud-pubsub:  1.119.1 -> 1.123.15
Yes
No Known Exploit

479/1000  Why? Has a fix available, CVSS 5.3
Allocation of Resources Without Limits or Throttling SNYK-JAVA-ORGSPRINGFRAMEWORK-3369749
org.springframework:spring-context:  5.3.22 -> 5.3.27
No
No Known Exploit

539/1000  Why? Has a fix available, CVSS 6.5
Allocation of Resources Without Limits or Throttling SNYK-JAVA-ORGSPRINGFRAMEWORK-5422217
org.springframework:spring-context:  5.3.22 -> 5.3.27
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Allocation of Resources Without Limits or Throttling SNYK-JAVA-SOFTWAREAMAZONION-6153869
com.amazonaws:aws-java-sdk-core:  1.12.239 -> 1.12.684
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Vulnerabilities that could not be fixed

Upgrade:

Could not upgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/com/amazonaws/aws-java-sdk-pom/1.12.234/aws-java-sdk-pom-1.12.234.pom
Could not upgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/com/google/cloud/google-cloud-bom/0.171.0/google-cloud-bom-0.171.0.pom
Could not upgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/com/google/cloud/google-cloud-bom/0.171.0/google-cloud-bom-0.171.0.pom

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 Directory Traversal
🦉 Creation of Temporary File in Directory with Insecure Permissions
🦉 More lessons are available in Snyk Learn

Checkmarx One – Scan Summary & Details – 1afca6ff-4bb9-4300-aabf-35955ca06478
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-22102
Maven-com.mysql:mysql-connector-j-8.0.31
Vulnerable Package

CVE-2024-22243
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2024-22257
Maven-org.springframework.security:spring-security-core-5.0.7.RELEASE
Vulnerable Package

CVE-2024-22259
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2023-21971
Maven-com.mysql:mysql-connector-j-8.0.31
Vulnerable Package


DAP wont fully connect

I can see the bot in my audio channel but it isn't fully connecting and the mute button the the DAP menu is showing a spinning loading icon.
Other users are able to connect and speak in my channel.
The bot has worked before and I have double checked permissions.
Looks like discord servers are working fine and I also tried toggling between a few region overrides with no success.
log:
2023-03-21 20:16:37 Exception occurred during Voice Protocol voice server update handler
Traceback (most recent call last):
File "discord\state.py", line 102, in logging_coroutine
File "discord\voice_client.py", line 295, in on_voice_server_update
AttributeError: 'NoneType' object has no attribute 'close'

I'm having the same issue. Screenshot below.

I've heard other music bots are having issues today from a discord update. Kenku.fm, for example, had issues today that required an update from the developers:
https://www.reddit.com/r/OwlbearRodeo/comments/11ws9xa/kenku_fm_simply_not_playing_music/
and
https://www.reddit.com/r/OwlbearRodeo/comments/11xwbgo/kenku_fm_not_accepting_token_code/
Thanks for your work on this application. It's my go-to for discord audio sharing, it's simple and fantastic. Please let me know if you have a donation page somewhere!

Thanks! Appreciate the kind words and no donation necessary. What version of dap.exe are you two using? I recently released https://github.com/QiCuiHub/discord-audio-pipe/releases/tag/2.3, to fix a discord breaking change, the 2.2 version no longer works.

Seems Im still getting the spinning mute button/Cant hear audio issue. Looks like yourDNDPleaseMe is on windows. Im on Ubuntu.
Thanks!!

It might be caused by outdated dependencies, try redownloading the source code and update your python dependencies with something like
pip3 install -r requirements.txt --upgrade

I had the same problem but downloading the latest version 2.3 fixed this issue. However, it only works on my windows 10 machine, not Windows 7, which is what I use to play my audio. :(

Yes, this is working again with version 2.3

Hello, it seems that this issue is back again ? Thanks! Or maybe I did not setup the right permissions for the bot ? I have added "Read messages/view channels", "Speak", "Connect"

I wasn't able to reproduce this issue, you might have to check for custom roles in the server, that is common source of problems.

you might have to check for custom roles in the server

Thanks ! I removed the custom role given to the bot and it now works. Would be nice to add this information to an FAQ maybe :)

Actually it looks like it fails to connect if someone is already on the channel :thinking:

It might be caused by outdated dependencies, try redownloading the source code and update your python dependencies with something like pip3 install -r requirements.txt --upgrade

Thanks! This fixed my issue :)


Validation stops instantly after first failing constraint

Hi, I am trying to use only the password validator and want to know which constraints a password is missing. Unfortunately the validation stops right after the first constraint fails, which prevents me from knowing what others are failing.
For example:
const passwordSchema = joiPassword
  .string()
  .minOfLowercase(1)
  .minOfUppercase(1)
  .minOfSpecialCharacters(1)
  .minOfNumeric(1);

const result = passwordSchema.validate('abcd');
console.log(result.error.details);

The password abcd should fail the last 3 constraints, but the console.log only gives me an array of one object, which is the error for the minOfUppercase constraint.
I expected to receive 3 objects in the array, for each failing constraint instead.
Is it possible to somehow achieve this? Or do I have to validate each constraint separately?

Ah sorry, I found it in joi's documentation.
https://joi.dev/api/?v=17.13.3#anyvalidatevalue-options
The abortEarly  option needs to be set to false.


Using SECOND to train my own model，and test on Kitti which getting a poor result. APs are all 0

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
A clear and concise description of what the bug is.
Using SECOND to train my own model，and test on Kitti which getting a poor result. APs are all 0

Reproduction

What command or script did you run?

./tools/dist_test.sh ./work_dirs/hv_second_secfpn_6x8_80e_kitti-3d-3class/hv_second_secfpn_6x8_80e_kitti-3d-3class.py ./work_dirs/hv_second_secfpn_6x8_80e_kitti-3d-3class/latest.pth 2 --eval mAP

Did you make any modifications on the code or config? Did you understand what you have modified?
Didn't modifiy code
What dataset did you use?
KITTI

Environment

Please run python mmdet3d/utils/collect_env.py to collect necessary environment information and paste it here.

sys.platform: linux
Python: 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]
CUDA available: True
GPU 0: GeForce RTX 2080 Ti
GPU 1: GeForce RTX 2080
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.2, V10.2.8
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~16.04) 7.5.0
PyTorch: 1.12.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.6.0 (Git Hash 52b5f107dd9cf10910aaa19cb47f3abf9b349815)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - LAPACK is enabled (usually provided by MKL)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 10.2
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
  - CuDNN 7.6.5
  - Magma 2.5.2
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=10.2, CUDNN_VERSION=7.6.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.13.0
OpenCV: 4.6.0
MMCV: 1.6.0
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.2
MMDetection: 2.25.0
MMSegmentation: 0.26.0
MMDetection3D: 1.0.0rc3+eef0f97
spconv2.0: True

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
conda install
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

 $PATH:  /home/mtrsrv/anaconda3/envs/openmmlab/bin:/usr/local/cuda-10.2/bin:/home/mtrsrv/anaconda3/envs/pytorch_3dseg/bin:/home/mtrsrv/bin:/home/mtrsrv/.local/bin:/home/mtrsrv/anaconda3/envs/tf-agents/bin:/home/mtrsrv/anaconda3/bin/:/usr/local/cuda/bin/:/usr/local/cuda-9.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
 $LD_LIBRARY_PATH: /usr/local/cuda/lib64/:/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:}:/usr/lib/nvidia-410:/usr/lib/nvidia-418:/usr/lib/nvidia-440:/home/mtrsrv/.mujoco/mujoco200/bin:/usr/local/lib/HKlib:/40T/wai4/wjt/yolov5-tensorrt/tensorrt-7.1/TensorRT-<IP_ADDRESS>/lib

TRACEBACK
linux terminal show that the model and loaded state dict do not match exactly

The model and loaded state dict do not match exactly

size mismatch for middle_encoder.conv_input.0.weight: copying a param with shape ('middle_encoder.conv_input.0.weight', torch.Size([4, 16, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([16, 3, 3, 3, 4]).
size mismatch for middle_encoder.encoder_layers.encoder_layer1.0.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer1.0.0.weight', torch.Size([16, 16, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([16, 3, 3, 3, 16]).
size mismatch for middle_encoder.encoder_layers.encoder_layer2.0.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer2.0.0.weight', torch.Size([16, 32, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([32, 3, 3, 3, 16]).
size mismatch for middle_encoder.encoder_layers.encoder_layer2.1.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer2.1.0.weight', torch.Size([32, 32, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([32, 3, 3, 3, 32]).
size mismatch for middle_encoder.encoder_layers.encoder_layer2.2.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer2.2.0.weight', torch.Size([32, 32, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([32, 3, 3, 3, 32]).
size mismatch for middle_encoder.encoder_layers.encoder_layer3.0.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer3.0.0.weight', torch.Size([32, 64, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([64, 3, 3, 3, 32]).
size mismatch for middle_encoder.encoder_layers.encoder_layer3.1.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer3.1.0.weight', torch.Size([64, 64, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([64, 3, 3, 3, 64]).
size mismatch for middle_encoder.encoder_layers.encoder_layer3.2.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer3.2.0.weight', torch.Size([64, 64, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([64, 3, 3, 3, 64]).
size mismatch for middle_encoder.encoder_layers.encoder_layer4.0.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer4.0.0.weight', torch.Size([64, 64, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([64, 3, 3, 3, 64]).
size mismatch for middle_encoder.encoder_layers.encoder_layer4.1.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer4.1.0.weight', torch.Size([64, 64, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([64, 3, 3, 3, 64]).
size mismatch for middle_encoder.encoder_layers.encoder_layer4.2.0.weight: copying a param with shape ('middle_encoder.encoder_layers.encoder_layer4.2.0.weight', torch.Size([64, 64, 3, 3, 3])) from checkpoint,the shape in current model is torch.Size([64, 3, 3, 3, 64]).
size mismatch for middle_encoder.conv_out.0.weight: copying a param with shape ('middle_encoder.conv_out.0.weight', torch.Size([64, 128, 3, 1, 1])) from checkpoint,the shape in current model is torch.Size([128, 3, 1, 1, 64]).

Did you train SECOND on your own dataset or on kitti?

Same to this.

it
i train SECOND on kitti dataset

Did you train SECOND on your own dataset or on kitti?

I train SECOND on kitti dataset

Right, it seems like the spconv2.0 issue. You can delete lines from 1 to 12 in mmdet3d/ops/spconv/__init__.py and then add a tag IS_SPCONV2_AVAILABLE = False to disable spconv2.0.

We will fix it later.

I have fix it in https://github.com/open-mmlab/mmdetection3d/pull/1699


Missing serde for Number

Expected Behavior
When deserializing a class with a field whose type is an interface annotated with @JsonSubTypes, Micronaut looks for a default constructor on the interface:
io.micronaut.core.convert.exceptions.ConversionErrorException: Failed to convert argument [bodyDto] for value [null] due to: Error decoding property [Validator validator] of type [class com.example.demo.BodyDto]: Unable to deserialize type [Validator validator]: No default constructor exists

You can find a non-working example with Micronaut 4 here: https://github.com/loicgreffier/issue-micronaut-serdes
And a working example with Micronaut 3 here: https://github.com/loicgreffier/micronaut-serdes-working
Actual Behaviour
The deserialization failed on the field annotated with @JsonSubTypes
Steps To Reproduce

Create an interface A with one or more implementations (A1, A2, A3). Define the @JsonTypeInfo and @JsonSubTypes annotations
Create a class B with a field typed with the interface A
Send an object of type B as a body of an HTTP request to a REST endpoint

Environment Information
No response
Example Application
https://github.com/loicgreffier/issue-micronaut-serdes
Version
4.1.0

I confirm that implementing my own beans Deserializer<Number> and Serializer<Number> seems to do the trick for now


Invalid deployment URL for ssh remotes

When using an ssh remote URL it seems to produce invalid GitHub pages link:
=> Deploying storybook
   executing: git push --force --quiet git@github.com:feimosi/my-repo.git master:gh-pages

=> Storybook deployed to: https://git.github.io/my-repo/

Should be of course: https://feimosi.github.io/my-repo/
I've tried to trace the issue down the dependency tree:
https://github.com/IonicaBizau/git-url-parse
↓
https://github.com/IonicaBizau/git-up
↓
https://github.com/pillarjs/parseurl
and seems like the underlying node-url package doesn't support this type of an URL. You'd probably have to handle this case here or report it to git-up package.

@feimosi can you report this to the git-up repo?

@feimosi did you end up posting this on the git-up repo?
Did you solve the issue or do you have a link to the issue?

So apparently this has been fixed in https://github.com/IonicaBizau/git-up/issues/17
However this package stil depends on outdated git-url-parse and therefore git-up versions.

Hi. Any news on this? It still doesn't work.


Dynamic Import Json (Splitted Chunk) returns string instead

Bug report
What is the current behavior?
Dynamic Imports with Json's are returning .js files.
Added file-loader to preserve the json using the following configuration
{
    test: /\.json$/,
    type: "javascript/auto",
    loader: "file-loader",
    options: { name: "i18/[name].[ext]" },
    include: [
        path.resolve(__dirname, "../src"),
    ],
},

With this the .json keeps intact as shown in the following image:

In the image you can see i18n.<...> files being created, it's a proxy to the .json files.
It contains the following:
(window.webpackJsonp = window.webpackJsonp || [])
    .push(
        [[2], {
            "./src/translations/i18n/en-US.json": function (n, o, s) {
                n.exports = s.p + "i18/en-US.json"
            }
        }]
    );

In Source code i'm calling the file like this:
/* This loading must be async, it will load the file from the server on-demand */
export const getLanguageFile = async (lang = "en-US")
   => await import(/* webpackChunkName: "i18n." */ `../i18n/${lang}.json`);

What is the expected behavior?
Without file-loader the chunk is well created and the file loads fine, however I need to keep it to read from the .json instead of the .js.
My function getLanguageFile which loads the file, returns the following:

I was expecting the .json file to be returned instead of a string..
Other relevant information:
webpack version:  4.10.1
Node.js version: 6.9.5
Operating System: Win 10 Pro (Latest Updates)
Additional tools:

Babel-loader: 7.1.4
File-loader: 1.1.11

Yesterday I created a post in SO with no success.

I think you should remove these lines:
type: "javascript/auto",
loader: "file-loader",

If I remove it, it works but I need those .json's, it may be edited in the server (aspnet core)

That works correctly. import() returns a ESM namespace object, which only contains the default export for CJS modules (the file-loader emits a CJS module).

So... that means that what I'm trying to do, isn't possible this way?
If so, I'll try another approach...

If anyone coming here for a similar situation and is interested in the solution, verify my SO answer.
Instead of using import() I just made a request to the file.
But there was a problem, I still needed the files to be in the dist folder.
To do that, I used copy-webpack-plugin, with this you can dump files and folders to anywhere during the bundling process.
I removed my json rule, and added the plugin like this:
new CopyWebpackPlugin([{ from: "src/translations/i18n", to: "i18n" }]),
Dumping the i18n folder into the dist:

After this, I changed my function getLanguageFile to:
export const getLanguageFile = async (lang = "en-US")
   => (await axios.get(`/i18n/${lang}.json`)).data;

This will return the file as json and it all works perfectly.
Note
Development build: webpack-dev-server (Server) + ASP.Net Core (API)
Production build: ASP.Net Core (Server and API)


Add protocol info behavior

@bendichter After discussion with @jess-breda we decided to not attempt to convert directly from the raw PWM data since they have a lot of processing tools they use to transform the information, and a lot of that can and will change over time so it's best to just leave it in their hands.
Instead, kind of similar to the MSorted style .mat files from the Neuralynx datashare, there are protocol_info.mat files for the SpikeGadgets datashare which are the result of running their parsing/extraction functions on the raw data. They also shared some useful util functions from https://github.com/Brody-Lab/jbreda_PWM_mPFC_analysis/blob/main/io_utils.py that can additionally wrangle the .mat info into a dataframe that is essentially a NWBFile Trials table with a couple caveats that are addressed in run_conversion() for this new interface.
This interface does make use of a mapping .csv file located at the level of the main conversion script. This relates the key names from the .mat file and dataframe to the proper NWBFile Trial column names, and also includes areas for them to add descriptions for each of these columns. The script is setup to robustly handle changes to the .csv so that anyone can easily add new rows to the .csv as they choose to add/include new fields to the behavior extraction.

@bendichter All comments addressed, good to go?


Update README.md

Updated the wording for the description of "Import specified file into an App"

Fix for issue #27


Bump version to 1.8

@jwendell: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jwendell: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test release-notes_istio

integ-multicluster-k8s-tests_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jwendell: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test release-notes_istio

integ-multicluster-k8s-tests_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test integ-multicluster-k8s-tests_istio

integ-telemetry-k8s-tests_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@jwendell: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test integ-telemetry-k8s-tests_istio

integ-multicluster-k8s-tests_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jwendell: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test integ-multicluster-k8s-tests_istio

integ-telemetry-k8s-tests_istio
8030c42e6744c70ee2f2978776e1d88dd7430e7f
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn done