Update aws-core, http-client-spi, ... to 2.17.219

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

from 2.17.218 to 2.17.219.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #879.


Simulate frame from generative model for performance baseline

For evaluating our predictive performance, it might be useful to generate an image from our generative model. Then we have an upper bound on the performance we can expect from real data.

Related to #455

Just a note, #455 would actually be images not from our generative model. The dataset I have in mind is more for evaluation and making sure that we can reconstruct galaxy blends that are not generated from our generative model but still from galsim.

Closed by #477.


Create a command line interface for storage for non-go applications

Components not written in Go cannot take advantage of the storage layer in this repository, so we should build a command line interface that components written in other languages can use to access this storage layer. See https://github.com/deis/slugbuilder/pull/41#issuecomment-202469800 for more detail.

How the CLI should work ? what are the commands ? how is it accessing Auth info
Also creating a unified CLI for all storage backends is awesome . I would if others were also involved in this.

Please see below for a proposed specification.
Object Storage Command Line Interface (CLI)
The object storage CLI is intended to be a generic interface to many different object storage systems. It takes the storage type in a --storage-type command line flag. This value determines which object storage API to use, and the the remaining sections describe how the CLI gets the location, credentials and other information it needs to work with the specified system.
s3
If the storage type is s3, the CLI reads three files which specify access key, access secret and region. Each file location can be configured by an environment variable. Each environment variable and its default is listed below.

ACCESS_KEY_FILE (/var/run/secrets/deis/objectstore/creds/accesskey)
SECRET_KEY_FILE (/var/run/secrets/deis/objectstore/creds/secretkey)
REGION_FILE (/var/run/secrets/deis/objectstore/creds/region)

gcs
If the storage type is gcs, the CLI reads two files which specify the bucket and GCS access key. Each file location can be configured by an environment variable. Each environment variable and its default is listed below.

KEY_FILE (/var/run/secrets/deis/objectstore/creds/key.json)

This file should be a JSON encoded object and contain a project-id key, which specifies the GCS project ID

BUCKET_FILE (/var/run/secrets/deis/objectstore/creds/builder-bucket)

azure
If the storage type is azure, the CLI reads three files which specify the account name, account key and container. Each file location can be configured by an environment variable. Each environment variable and its default is listed below.

ACCOUNT_NAME_FILE (/var/run/secrets/deis/objectstore/creds/accountname)
ACCOUNT_KEY_FILE (/var/run/secrets/deis/objectstore/creds/accountkey)
CONTAINER_FILE (/var/run/secrets/deis/objectstore/creds/container)

Empty String
If the storage type is not given, or is the empty string, the CLI assumes that it should use the AWS S3 API to talk to an object storage system.
In this case, the CLI requires command line flags to determine the location of the S3 API compatible server. See below for each command line flag and its default.

--host (the value of the DEIS_MINIO_SERVICE_HOST environment variable)
--port (the value of the DEIS_MINIO_SERVICE_PORT environment variable)

The CLI also requires authorization and authentication information and reads two files to get it. Each file location can be configured by an environment variable. Each environment variable and its default is listed below.

ACCESS_KEY_FILE (/var/run/secrets/deis/objectstore/creds/accesskey)
ACCESS_SECRET_FILE (/var/run/secrets/deis/objectstore/creds/secretkey)

This settings make the CLi specific to object storage secret access . can we make it more generic

The above specification looks good except that the environment variables should not hold the file names rather have the actual values

Can you give an example of making this more generic?

Specify Auth files or take them as parameters as well ?
I mean if some env vaiable is not set . We should be able to pass --accesskey = <>

@kmala having actual value in the env isn't it a security concern

@kmala @smothiki the issue with passing auth file contents as env vars is that some files (such as the GCS key file) will need to be base64 encoded (in that specific case, they have newlines). In most cases, the user will already have such files on disk, and they certainly will in the k8s secrets case (at least for now)

@arschles yes i agree with you that it suffices for now since we are using only k8s secrets, but wouldn't it be a problem if want to use in a different scenario.One scenario which i can think for now is do we want to pass the credentials a different way than creating a secret for each slugrunner pod (https://github.com/deis/controller/issues/182).So having them similar to what most CLI's have (pass the values as parameters or as environment variables or keep them as a name value pairs in a file in the home folder) is the best thing to do.

@kmala good point. deis/controller#182 involves pre-signed URLs, which we'd have to modify this specification for, regardless of whether the CLI reads credentials via an environment variable or file. There's nothing in this specification that I can see that precludes us from using pre-signed URLs, so I believe we should tackle that problem in the future, when we decide to implement support for pre-signed URLs.

@arschles Like i said the https://github.com/deis/controller/issues/182 is just a scenario and we may or might not even use the CLI for that purpose. My only point is wouldn't it be better to pass the actual values instead of the file names like what most clients do and except for that i am fine with your proposal.

@kmala ah, ok. I think I misunderstood you. I agree that we should figure out a way to pass actual values at some point in the future.

@arschles We can do it currently by using something like ACCOUNT_NAME instead of ACCOUNT_NAME_FILE instead of postponing it for future since it not much of a big change in your existing specification.

Interesting idea. Are you talking about just that env var, or others? Also, I'm hesitant about making that change to the spec for two reasons:

If we don't move all of the authentication/authorization env vars from file location to value, then the values are stored in two different locations, and that's confusing
The newline problem that I mentioned above still exists. Besides encoding values with newlines in them, do you see any other solution to that problem?

If we don't want to read the details from files and then setting the environment variables in our codebase we can use envdir  similar to how we are using in the https://github.com/deis/postgres/blob/master/rootfs/docker-entrypoint-initdb.d/002_create_bucket.sh#L4.
And our CLI will read from the environment variables or pass it as parameter to cli like --ACCOUNT_NAME .

@kmala isn't using envdir just pushing the problem of translating files to environment variables down a layer?

I think that is something we have to do if we want to do if we want our CLI to not deal with files and instead talk using values

Agreed, but I still don't understand why it's valuable - it's just pushing the work of translating files into envirionment variables to an external binary

perhaps a good middle ground is to allow the values to be passed as environment variables or files?

for example, in the s3 case either all of {ACCESS_KEY_FILE, SECRET_KEY_FILE, REGION_FILE} or {ACCESS_KEY, SECRET_KEY, REGION} must be set. thoughts?

FYI, preliminary work in-progress at https://github.com/arschles/object-storage-cli

Yes...passing as environment variables or files sounds good.
The reason i am against the files and wanted as environment variables is when we want to use it in a different scenario where we are not using the secrets and want to create all the files using the details we have. The other scenario might be if we plan on passing the credentials from the secrets onto the pod as environment variables instead of mounting as a volume.
name: SECRET_USERNAME
valueFrom:
secretKeyRef:
name: mysecret
key: username

@kmala ok, fair enough. I'll modify the spec as written in the README of https://github.com/arschles/object-storage-cli

object-storage-cli is alive and being used in Deis Worklow. I'm closing this so that further issues can be tracked there.


Update to modern RSpec

This updates the tests to expect syntax, and fixes all warnings/deprecation when using RSpec 3.5.x.  Some tests which will now pass against Capybara 2.12.0+ are also enabled to run on those versions. The tests get run with both RSpec 2.x and 3.5.x on travis.
One Capybara test that had to be disabled (passed on RSpec 2.x but failed on 3.x because the block passed to raise_error was ignored when RSpec 2.x ran the test).  The test is "Capybara::Session webkit node #reload without automatic reload should not automatically reload"  which fails because it returns the wrong type of error.  This is caused by the fact that capybara-webkit allows access to detached nodes when Capybara.automatic_reload is false (other drivers report that the element is no longer valid).  I'm not sure what the point of this behavior is, but it is intentional and is tested for in capybara-webkits tests.

This is caused by the fact that capybara-webkit allows access to detached nodes when Capybara.automatic_reload is false (other drivers report that the element is no longer valid).

We introduced that flag for backwards compatibility (that was how capybara-webkit happened to behave before Capybara added auto-reloading).
We also had some concerns about implementing it without causing performance issues, so we left in an option to disable the DOM attachment check. I haven't run benchmarks to compare in a long time, but there was a significant performance improvement by not using the auto-reload feature. However, I've run most of my test suites using capybara-webkit and auto-reloading enabled, and I haven't had any problems.
We could likely deprecate this flag and remove it in the next major release.

@jferris  That explains it - updated the comment

Thanks! This is merged into master.


add cursorclass arg to MySQL

This is mostly WIP - wasn't sure how to execute tests in this codebase, nor what general guidelines were. So this just gets the ball rolling.

Allows user to specify a desired cursor when querying MySQL data;
defaults to pymysql's default: https://pymysql.readthedocs.io/en/latest/modules/cursors.html#pymysql.cursors.Cursor
Relates to #928
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 6c0ba2c8dd59b55078185fa9054e9b2206d03be2
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: c7f0e527f00e7eb89428c8035d943e3e71e99130
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Plugin dependency injection

Is there a way to inject in a plugin constructor, a class provided by core-app ?
In fact I would like:
Have an abstract class
export declare abstract class IPluginComponent {
    abstract methodDeclaredInCoreApp(first: String, last: String): String;
    abstract anotherMethod(): any;
}

My plugin component which use the interface
constructor(private srvInterface: IPluginComponent) { }

  public onSubmit() {
        this.result = this.srvInterface.methodDeclaredInCoreApp(this.first, this.last);
  }

And in the coreApp realize the IPluginComponent implementation
export class PluginInterface implements IPluginComponent {
    methodDeclaredInCoreApp(first: String, last: String): String {
        return first + ' @ ' + last;
    }

    anotherMethod(): any {
        return 42;
    }

}

Finally I've make some tries but it fails at runtime on
// compile module
const moduleFactory = await this._compiler.compileModuleAsync<any>(module["PluginAModule"]);

My console error :
Error: Can't resolve all parameters for PluginAComponent: (?).

I don't know to be a method to do that, I didn't tried doing that, though I wouldn't recommend that since the plugins will become very dependent of your core app.
If you are concerned about duplicating code on each plugins I suggest building a npm library for the duplicating code and install it on each plugin.
Anyway, though I didn't try it, I think you could send a method from coreApp to one of the plugin through an input parameter, like shown in code of the app.component.ts

@ionepaul Thanks for your answer.
I've already done it by using Input like it is shown in your code; and it is working
My aim is having a plugin system , managed by coreapp. each plugin should have a plugin interface to interact with coreapp. Using such thing, the coreapp will describe the plugin API (=plugin interface). This could be in two way. One for the plugin to ask data of coreapp. On the other way, the coreapp could notify the plugin.
In my application, a plugin will ask data provided by coreapp; (a plugin is just a data display object; one could display data as text; another could display it as a chart,...)
I really think that using dependency injection on the PluginInterface could be a very nice way. And I think it is a better approach.
The plugin know only about the interface; and the coreapp instanciate it and share it with plugins by dependency injection. Finally coreapp and plugins will be coupled only by interface.


featureSupport analyze and drop single partition stats.

Support analyze a single partition and drop stats of a single partition.
analyze table table_name partition(p1,p2...)
drop stats table_name partition(p1, p2...)

run buildall

run buildall


🐛 Only remove --profile arg when in OKTA_ENV_MODE

Problem Statement

With #303, the call to removeProfileArguments moved out of only OKTA_ENV_MODE. I don't think this is correct since it was specifically added in #185 which added OKTA_ENV_MODE.

Solution

I have moved the call to removeProfileArguments back to only the OKTA_ENV_MODE execution path.
I have also added support for removing --profile=* arguments as well since that is also a valid use of the aws CLI.

@jeremyplichtafc it looks like you recently made a new release of this project. Would you mind taking a look at this PR and also #324?


Browser refresh not working

When running the basic example it is not possible to refresh the page when not on the top level route. I get the following error:
Error response
Error code 404.
Message: File not found.
Error code explanation: 404 = Nothing matches the given URI.
This doesn't happen when the route is at '/'.
I am executing the basic example using python's SimpleHTTPServer.

SPAs (Single Page Applications) that use HTML5 History won't work with a simple HTTP server. I'm no server expert, but here's a quick explanation:
When you are at /, the server knows that it should load /index.html. But when you navigate to, say, /foo and refresh, the server will look for /foo/index.html and it won't find it, because the only HTML file you do have is /index.html, the views are generated dynamically.
You need to redirect all requests to /index.html, like this example does here. Then when you go to /foo, the server will load /index.html and by reading the URL it will figure out which view to load.
If you really want to use the simple HTTP server, you can always switch to hash history.

I can confirm that changing to hash history works.

See http://stackoverflow.com/questions/17504959/express-routing-html5-style-catchall-conundrum-no-hashbangs-angular-js-yeoman/34367457#34367457


Once a lockable resource is created, how do I remove it (housekeeping issue)?

I've been using the Lockable Resources plugin, and during testing created some lockable resources that I no longer need - how do I remove them completely?

I'm fairly certain you can delete resources in the System configuration.

Yep, found them - should have closed this issue. Thanks!


Package request: synchrony

Project description
Javascript cleaner & deobfuscator
Metadata

homepage URL: https://github.com/relative/synchrony
source URL: https://github.com/relative/synchrony
license: gpl3
platforms: unix, linux, darwin

Add a :+1: reaction to issues you find important.

PR: #352833


Skip flutter upgrade for pod linting Cirrus task

Changing flutter channels and upgrading can take a few minutes per Cirrus task.  Skip it the pod linting task, which doesn't use flutter.
Pre-launch Checklist

[ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides].
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[ ] I updated CHANGELOG.md to add a description of the change.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I signed the [CLA].
[ ] All existing and new tests are passing.

Overriding didn't work.


Added the ability to specify the type of RouterContext.env

Cloudflare's worker example suggests using a type for the environment like this
interface Env {
  MY_KV_NAMESPACE: KVNamespace;
  MY_DURABLE_OBJECT: DurableObjectNamespace;
  MY_BUCKET: R2Bucket;
}

This PR adds support for this to the Router class by allowing this interface to be optionally specified using a type parameter.
const router = new Router<Env>();

Thank you for your PR.
I don't think that we really need to define the generic on Router and pass it all the way through, since the Router doesn't really care about Env.
What I'm thinking is defining the generic only on handle<T = any>(), which would enable us to have theEnv type available in our handlers.
Example
public async handle<T = any>(env: T, request: Request, extend: any = {}): Promise<Response> {
  // ...
}

I don't think that we really need to define the generic on Router and pass it all the way through, since the Router doesn't really care about Env.

What are the downsides of adding optional type argument for Env?
I personally find the ability to type Env very useful. I see the type is optional (with any as a default), so users who are not interested in typing env, can just omit the type argument.

@anbcodes You're making an excellent point.
So, this would be the way of doing it then:
import { Router, RouterHandler } from '@tsndr/cloudflare-worker-router'

export interface Env {
    TEST: string
}

const router = new Router<Env>()

// either this
router.get('/test', ({ env }) => {
    env.TEST
})

// or this, for splitting into multiple files
const testHandler: RouterHandler<Env> = ({ env }) => {
    env.TEST
}
router.get('/test', testHandler)

export default {
    async fetch(request: Request, env: Env): Promise<Response> {
        return router.handle(env, request)
    }
}


Remove '#' from FracElem docs

Currently there's an extraneous # on the line describing frac on https://typst.app/docs/reference/math/. This PR removes it.

oh, the whole line is wrong, you remove it completely. it's from "Display: Fraction" was a thing.


Add example of using request animation frame

After searching the web sys docs and wasm-bindgen issues I can't seem to find anything about request animation frame.
Months ago, before web-sys, I tried to use RAF via an extern call and ran into some closure issues (don't remember what exactly but likely just me misunderstanding things).
Ended up giving up and just calling some JS function from my Rust code that handled my RAF loop for me.
Now that I'm circling back to this.. does the RAF API not exist in web-sys for some reason? Or does it actually exist and I just didn't find it?

I think that Window::request_animation_frame may be the equivalent you're looking for? Coupled with the closures example it's hopefully enough to go off!

Ah... silly me was searching requestAnimationFrame...... Thanks!

For future readers, I haven't actually run this example code, but it should be the gist of what needs to happen to do a requestAnimationFrame loop.
extern crate wasm_bindgen;
extern crate web_sys;

use wasm_bindgen::JsCast;

#[wasm_bindgen]
pub struct ClosureHandle(Closure<FnMut()>);

#[wasm_bindgen]
pub fn run() -> ClosureHandle {
    let cb = Closure::wrap(Box::new(move || {
        web_sys::console::log_1(&"raf called".into());
    }) as Box<FnMut()>);

    let window = web_sys::window().unwrap();
    window.request_animation_frame(
        // Note this method call, which uses `as_ref()` to get a `JsValue`
        // from our `Closure` which is then converted to a `&Function`
        // using the `JsCast::unchecked_ref` function.
        cb.as_ref().unchecked_ref(),
        1_000,
    );

    // Return the ClosureHandle so the lifetime of the closure will be correct, otherwise
    // this code will panic as the closure will have been removed already.
    ClosureHandle(cb)
}

It escapes me how to make a requestAnimationFrame loop though...

We should add an example for working with requestAnimationFrame

Thanks to the work at https://github.com/clinuxrulz/sodium-rust-push-pull - here's a starter template demoing an alternative method - using Streams as a hook for sending update events:
https://github.com/dakom/hello-rust-sodium-wasm
(I imagine the stream could also be sent to via a local window.request_animation_frame, the round-tripping here isn't totally necessary)

@fitzgen any quick points on how to implement a requestAnimationFrame loop in the meantime?
To date I've just been handling RAF on the JS side but would be nice to move that to Rust.

@chinedufn
The example that @gregtatum posted upthread looks right to me. Basically, something like this (untested):
let f = Closure::wrap(Box::new(move || {
    // do stuff...
})  as Box<FnMut()>);

let window = web_sys::window().unwrap();
window.request_animation_frame(f.as_ref().unchecked_ref());
f.forget();

Strawman proposal for a useful example, if you'd like to make a PR: incrementing a number in a RAF loop and rendering it into the body's textContent.

@fitzgen I think what @gregtatum and I mean is that running RAF once is as easy as what you're saying, but running a RAF loop appears difficult (which is why I've to date just done it on the JS side)
i.e. what's the web-sys equivalent of the following JS?:
function draw () {
  console.log('drawing a frame')
  window.requestAnimationFrame(draw)
}

draw()

Notice that this will loop forever, throttled by RAF

I'm new to rust and I am currently struggling to get my variables into a raf loop. Could you guys add an explanation for that?

Is there also an example on how to use requestAnimationFrame with a timestamp argument as explained here?

In general you are free to define your own parameters in any passed Closure, the generic types are erased when converting it to a Function.


Webhook URL

Hello,
I'm having some problems trying to verify the free domain in ngrok against Facebook. https://share.zight.com/7KuZXd1b
I have created the free ngrok domain and also added the Verification token to the .env file.  However the verification cant be done
https://share.zight.com/xQuoNpem
Some comments on YouTube point that it does not work with EU ngrok domains. Do you know if this is true? And If so, does the paid account on ngrok allows you to setup another region for the domain?
Thanks in advance for any help

find the configuration file : https://ngrok.com/docs/agent/config/ (depending on OS)
add a line above the token
region: us
This changes the region but the verification still doesn't work so it didn't solve anything...


Custom responder to make the check package command runnable by all usernames mentioned in the reviewers and authors (author1, author-others, reviewers-list)

@xuanxu could we tweak the configuration so that the check package command is runnable by all usernames mentioned in the reviewers and authors (author1, author-others, reviewers-list)? I.e. is that possible?

Changing permissions to a different list of users for each issue can't be done in the configuration. The way to do it would be to create a custom responder with the access rules specified there instead of using a regular responder.

Very easy from external service side to control all that, by modifying current template check fn to also extract all "authorised" users, and send on to check service if sender is in list.

I'd be in favor of having the logic in the responder, would that be ok with you @mpadge?

Definitely okay! I too think that that is best

Thanks @mpadge!
@xuanxu this is becoming a feature request for you then. :smile_cat:
I edited the issue title.

This is all done now via the above commits; thanks @xuanxu and @maelle.


Input - output lag on macOS Sequoia 15.1 arm64

Bug description
I am using WebSSH since year, so I know it is and always has been a good performer. However since few days it began to lag on SSH connection to all my Ubuntu 24.04 servers. I can't tell about other hosts, since I only use Ubuntu 24.04.
The lag is on both input and output, sometime rendering writing configs in nano or going through logs with cat less unusable.
I have isolated the problem by using hosts on different hosting platform and network locations. I have also alternatively used macOS built-in terminal, and other terminal solutions as well as ssh connections between those hosts. WebSSH is only one that is introducing the input / output lag.
The lag is present on both my macOS machines, both M1 arm64 running latest Sequoia.
WebSSH Version 28.0.1436 Pro
Reinstalling the app brought nothing.
Video showing performance difference between WebSSH and macOS terminal: https://share.icloud.com/photos/03arQ6RwIoWyXJjIvGURN4dHw

Hello @ondrejvaroscak 👋
WebSSH isn't a native app so will be slower than macOS terminal.
I have upgraded xterm.js library inside WebSSH on the latest beta release :
https://testflight.apple.com/join/QSrBK59z
Could you give it a try?

as soon as i am back home. i understand, but this lag is new, it has not been there. it is something I experienced in last days. rgds O. Ondrej VaroscakOn 15. Nov 2024, at 06:54, isontheline @.***> wrote:
Hello @ondrejvaroscak 👋
WebSSH isn't a native app so will be slower than macOS terminal.
I have upgraded xterm.js library inside WebSSH on the latest beta release :
https://testflight.apple.com/join/QSrBK59z
Could you give it a try?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

i understand, but this lag is new, it has not been there. it is something I experienced in last days.
The version in TestFlight you sent me is somehow faster, but the lag is still considerately bigger than other terminals (omitting the native macOS teminal).

I will try to improve WebSSH over upcoming releases, can't promise anything as WebSSH has always been the slowest terminal app of the App Store when dealing with realtime flows

Could you try the latest beta release please?
https://testflight.apple.com/join/QSrBK59z


basic update to buttons

 (1) React:ions  ization

Closing, as this was implemented in https://getambassador.github.io/ions/components/button/


Use Plotly.js bundled module instead of CDN link in demo

Currently, we must add the import Plotly.js via CDN, because it is impossible to use Plotly.js with Snowpack.
Following Snowpacks instructions to Node built-in could not be resolved leads to the error Cannot read property 'document' of undefined (see https://github.com/plotly/angular-plotly.js/issues/75). Also creating a custom build following the instructions for webpack builds did not work.
I guess that this issue can be resolved, once ...

Plotly.js updates its D3 version (https://github.com/plotly/plotly.js/issues/424)
Plotly.js provides an ES6 confrom bundle (see https://github.com/plotly/plotly.js/issues/3518)

Might be resolved with Plotly 2.0 .

Finally, we are pleased that you can now import Plotly.js using ES6 import.


Having issue with one test

Hi again!
I was developing this feature # 293 on my fork when I detected that a test was failing:
tests/functional/cli/test_cli.py:143:test_can_package_with_single_file
I move to your master branch and it continues appearing. I followed the CONTRIBUTING.rst file and the error does not disappear. It's something wrong on my local environment?
Thanks in advance!

What's the error message?

I attached the output here:
failed_test.txt
Thanks!

Ah I'll fix that.  Looks like the test is relying on the order of the file list.


There is no "Azure Container Apps" button in the WORKSPACE view

OS: Win10
Build Version: 20230717.1
Regression: Previous build (20230707.1)
Repro Steps:

Install the Azure Container Apps extension by VSIX.
Navigate to AZURE view.
Check the WORKSPACE view.

Expect:
There is an "Azure Container Apps" button in the WORKSPACE view.

Actual:
There is no "Azure Container Apps" button in the WORKSPACE view.

More Info:
This issue doesn't reproduce on the main branch build 20230707.1.

This is by design.

Should this be by-design? There is are the "Create Container Apps..." and "Create Container Apps Environment" commands to think about, but also we have "Deploy to Container App..."still there which will keep the cloud icon on the toolbar.


Failures on [vm] IL instruction for UTF-8 scan.

There are new test failures on [vm] IL instruction for UTF-8 scan when combined with https://github.com/dart-lang/sdk/commit/3451c348dbed2d80632f8141d6ab69651442eabc.
The tests
vm/cc/DartAPI_CollectOneNewSpacePeer Fail (expected Pass)
vm/cc/DartAPI_WeakPersistentHandle Fail (expected Pass)
vm/cc/WeakProperty_PreserveCrossGen Fail (expected Pass)

are failing on configurations
dartk-linux-debug-ia32-canary

It looks like the failures are not directly related to the Utf8Scan instruction. They occur even if the instruction is never generated.

These tests are currently passing.


Use camel case for element attribute and event names

Broken out from https://github.com/phosphorjs/phosphor/pull/281
This will allow phosphor’s virtualdom to support rendering React functional/stateless components.
To do:

[x] Switch from no-case to camel-case for attribute and event names
[ ] Name parity with React

React's list of attribute names: https://github.com/facebook/react/blob/b1768b5a48d1f82e4ef4150e0036c5f846d3758a/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L28-L207
Phosphor's list of attribute names: https://github.com/phosphorjs/phosphor/blob/master/packages/virtualdom/src/index.ts#L27-L124
React Typescript definition file from DefinitelyTyped: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts
fuelDOM (React-compatible) Typescript definition file: https://github.com/brn/fuel/blob/dc7a2025407686dc086abe90d0a423f223b76fa5/lib/type.d.ts

Can we allow phosphor to accept the lowercase and react style names to avoid forcing a 2.0 release?

Yeah, we're gonna have to do something like that.


4 Favicons

I see that there are 4 favicons in bootstrap-4.1.0/assets/img/favicons/ that are not being used anywhere in Bootstrap.  These are the favicons:

Should they be removed?

This is just a generated pack and adapted to our needs from https://realfavicongenerator.net/
I will regenerated the favicons since I saw I could improve a couple of things, but those are still generated. I guess they are there for compatibility with some IE versions.
Anyway, I don't think it hurts us having them for the time being.
Thanks for the report.

I'm familiar with realfavicongenerator.net and how it may generate icons you may not use.  That's not the point.  The point is that there are images that Bootstrap is not using at all and we should be proactive and clean up after ourselves.

You should report such issues on https://realfavicongenerator.net/. Reporting something here means nothing if you really want to fix something.
Link to this issue/or CC me on your issue upstream, and we can regenerate them if something changes.

Ok so I'm very confused right now.  Are you saying that those images are not manually managed?

It depends on what you by manually managed.
When I first added the favicons years ago, I didn't want to spend a lot of time. Thus I resulted in using a well-tested solution like RFG.
Now, while I have a way better knowledge on the matter, I still don't think this is important so that we play with different configs manually.
Thus, my suggestion above: if you think this is wrong, please make an upstream issue so that it's fixed there for us and for the whole community.
We can remove the favicons that seem to be unused (again, I can't say 100% none of the still supported IE versions doesn't use them, nor do I have the time to test it), but that beats the point of open-source.
I hope I explained it better now :)


Simplify project recipe

Make project directory structure simpler and more consistent with org. Now the user can set the project directory to whatever they like (it doesn't need to be project ID like it was before). Continue using project ID in our examples.

Do you need to regen the examples?

I ran the regen script to verify there is no diff from this change.


Default to protobuf?

I was reviewing some code that sets cfg.ContentType = "application/vnd.kubernetes.protobuf" to opt-in to protobuf, but then I was wondering why that is needed (context
https://github.com/kubernetes/ingress/pull/143#discussion_r97200977)
Can client-go just default to protobuf?  As a user of client-go, I don't feel like I'm in a better position to make that decision than client-go is :-)

The reason that we didn't change the default initially was that protobufs were supported for the first time in 1.3 (and this is the time when we added those cfg.ContentType = application/vnd.kubernete.protobuf line) and we wanted to client to work also with older versions of apiserver.
However, now when we have already 3 stables releases of protobufs being supported and used by our components, I think we should just change the default.
@lavalamp @caesarxuchao - for thoughts

@smarterclayton

Per a comment on a design doc, @smarterclayton noted that

Protobuf is still quasi "internal only" - we haven't had quite enough soak time to be 100% sure we won't have to break the schema.

Is there some place tracking the concerns around committing to the current serialization format? Maybe this package can handle any breaking changes transparently down the line?

I'd probably prefer to continue to treat protobuf as an internal format, with the less strict guarantees we give around perfect compatibility (like we do for JSON).  Use at your own risk, we reserve the right to change it in the event we severely messed up, and JSON should be good enough for anyone.
I don't want it to be the default today.

https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#serialization-format is still in place.  It was in the docs somewhere, but can't find it now.

Given that we use proto for our storage format, I don't think we can break it. Therefore I don't see an issue with setting it to be the default.

If we want to default to protobuf, we probably need a tag for the client-go generator to switch to protobuf for those types that support it and leave it at json for CRDs (and other groups without proto support). Also note that we had native API groups for some time without proto support (those in staging like apiextensions.k8s.io).

Any possibility we review this?
@wojtek-t


rust 1.73-nightly

impl Trait only allowed in function and inherent method return types, not in trait method return types

Please make sure your rustc nightly version is the latest


Is this repo will be maintend

I saw this game when surfing the web and and my friend(which is autistic) loved this game (he likes elevators) very much.
But my friend doesn't know English and i want to translate this game to Hebrew.
I want to make it multi language support.
Mainly I see two parts I need to work on:
1 - The site UI - Controls, documentation and such.
2 - The code which is pure JS and this might be a little tricky.
So my question is : will this repo be maintained? any point in creating pull requests and such?

So my question is : will this repo be maintained? any point in creating pull requests and such?
I was wondering the same.

@magwo I don't know if this is the right place to ask for this, but could you make me a collaborator so that I can maintain this repository? I really like your Elevator Saga! Although I haven't any experience collaborating on someone's project, I would love an opportunity to contribute to this project :)  Thanks in advance!

@CfirTsabari , @shoheihagiwara its an open source project . So we all can collaborate and make it even more better !

Hi all,
sorry for not replying sooner. I don't intend to continue develop this project or review pull requests. After "finishing it" I was a little burnt out and I felt that the game was in a sufficiently playable state to be considered finished.
I would like to keep the original version on the github pages hosted domain, but I fully condone forks, translations and variations of the game! The game was developed to spark joy and delight about programming, and it brings a smile to my face to see others making derivative works in the same spirit.

Hi all,
sorry for not replying sooner. I don't intend to continue develop this project or review pull requests. After "finishing it" I was a little burnt out and I felt that the game was in a sufficiently playable state to be considered finished.
I would like to keep the original version on the github pages hosted domain, but I fully condone forks, translations and variations of the game! The game was developed to spark joy and delight about programming, and it brings a smile to my face to see others making derivative works in the same spirit.

However: If there are prominent forks out there, I will gladly link to them from the README in this repo.

However: If there are prominent forks out there, I will gladly link to them from the README in this repo.


kubectl failure if no new cluster is created

What kind of request is this (question/bug/enhancement/feature request):
BUG
Steps to reproduce (least amount of steps as possible):
Create cluster.
Create Master.
Remove Master.
Recreate Master
master: etcd/controlplane node
Result:
Kubectl fails with :error: the server doesn't have a resource type xxxxx
Other details that may be helpful:
fix: create new cluster with new token
Environment information

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

Cluster information

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

(paste the output here)

Docker (use docker info):

(paste the output here)

The steps to reproduce are not completely clear, but I assume this is being prevented if we implement blocking removing the last "master" node in a cluster? https://github.com/rancher/rancher/issues/10976


[Task]

Description
monitoring params support depende enable by other params.
such as, we need params app-version, it has values: v1, v2, v3. Each version value(v1, v2, v3) will connect different parmas what we need input. eg: v1 map key2, v2 map key4
Task List

[ ] design the monitoring template params structure.
[ ] monitoring params support depende enable by other params.
[ ] test and apply in monitor tempalte - snmp.

I can help.

I can help.

welcome👍


Make environment files management consistent between pip and conda

Mirroring https://github.com/GlacioHack/xdem/pull/429
See detailed discussions and links in #230!
Resolves #397
Resolves #230
Resolves #373
Resolves #200
Also fixes a minor floating precision bug in test_vector

Thanks for the comments!
It was a lot of reading, #230 summarizes things well! A good thing taken care of :smile:


convolution network, striding

If I need to stride the input, I'm wondering how you can recommend how to use it.
class Stride(nn.Module):
    def forward(self, input):
        return input[[slice(None)]*2 + [slice(0, None, 2) for _ in range(2, input.ndim)]]
Stride()(torch.randn(1, 1, 11, 16)).shape # 1, 1, 6, 8

You might be interested in #5, where we discussed the same issue but across the features instead of pixels. To summarize a long thread: It's impossible to have a different number of output elements than input elements. This is not an issue with RevLib but a design choice from its backbone, RevNet. The original paper worked around this issue by using multiple reversible sequences instead of one, with AveragePooling between them.
Suppose you're set on using strides within the same reversible sequence, for example, to avoid the memory overhead you'd get from running multiple ReverersibleSequences. In that case, you must wrap your function in downsampling and upsampling blocks.


Windows Build

I would like to request an option to build for Windows.

bit old request but if anyone need help with it.
Open package.json and add line in "scripts" under dev
    "devWin": "copy tools\\index.dev.html app\\index.html && copy tools\\authSuccess.html app\\authSuccess.html && webpack -w",
and then just use command npm run devWin


Get .woff2 files for fonts

I just noticed this comment in the CSS:

TODO work out what file formats we need to get the font working right across multiple browsers and on mobile. Google open sans currently being used as a fallback

From experience, the .woff2 (or .woff) file format is best for compatibility and file size.

hey neef, I assigned this to you a couple weeks ago, are you happy to do it?

@arthurHarding sorry I missed this! Do we have a license for the font? If so, we'd usually get the files from the publisher/foundry.

let me ask Abi, I think she introduced it first

No we don’t have a license, I’m not sure how we ended up using it. Could you have a look for the files online for free? If we can’t find them we might have to choose a similar font

I had a quick look and could only find one weight of it available for free, funnily enough via Google fonts! I'm sure its possible to find the files online somewhere, though I wouldn't suggest using them without a license for legal reasons. It looks like the official publisher is My Fonts: https://www.myfonts.com/collections/basic-sans-font-latinotype


Restore the "paste" terminal event

Restores the paste terminal event (which is also used in the demo).
Fixes #671.

Coverage decreased (-0.02%) to 68.971% when pulling 616f0695384356fd2e1a03f9115aa857ee6f9902 on issue-#671-restore-paste-event into 35b32b721e9be175c2eedb83c264442d171152b5 on master.

Coverage decreased (-0.02%) to 68.986% when pulling db9fe53af38cf0d0ce0496364dc74e242af24d73 on issue-#671-restore-paste-event into 42724c7f42f827d9e247d461066eb1506725e371 on master.


Add CI pipeline (like in FluentTimeSpan)

Initial commit.

Update Readme

Would be nice, if you, @DenisBiondic could have a look at it. Seems we still have do configure something or I missed something.

@GuepardoApps Will do, I am a bit tight with time right now, but I will find some time in next few days

Thanks, I will have a look at it tomorrow.

I got it working and I hope this pull request fixes the builds.

Builds still fail. Locally working and no errors. Can you provide some logs, @DenisBiondic

Azure pipeline working


Network traffic generated upon newkey

Hello!
I was curious about the network traffic that is emitted every single time I run newkey with npx.

What is it for?
Is there any way to disable it and make this a 100% offline operation?

Cheers.

Hi @jayliew
Not sure if this is related to node-jose-tools or if it is an artefact of npx.
The tools should only run network requests, if a URL is provided for a key store or a key. So if you simply run jose newkey -r there shouldn't be any network traffic.
I run jose newkey and all the other tools offline without problems, but I do not use npx in that case. I ran a check and couldn't see any traffic that I was able to trace to node-jose-tools.
Could you please provide more information how to reproduce that behaviour and trace it back to node-jose-tools?
And since you are already there, please check if the network traffic remains present after installing the module properly?
Thanks

I'm not using anything that requires a network connection.
I am running newkey with npx, but I'm not familiar with how npx or node-jose-tools work, that's why I just wanted to bring it up. I don't know what, where, or why there is network traffic.
I did notice that newkey will work just fine even without a network connection. Please feel free to close this if this is specific to npx and not node-jose-tools.
I was posting here just in case there's anything that can be done from here to disable that network traffic.

Thanks for the feedback.
The case with npx is that it checks on npm for possible updates. Not sure if it also triggers stats.
I ran the code through the debugger an in a normal setup it did not hit any network related function. So i can rule out node-jose-tools as the source of the traffic you see.

Closing issue. Thanks for bringing this up. I did learn a bit while digging.


Required library at /natives/linux-arm/libudpqueue.so was not found

I started using lavalink to add music functionality to my bot. On my test environment (Windows 10 64 bit) lavalink ran correctly and played the music back. However, when i move it onto my production environment (Linux ARM 32 bit) Lavalink starts normally and can do search queries. When I try to play music, it throws this error:
Required library at /natives/linux-arm/libudpqueue.so was not found
I have tried to make this path on my production environment and it still didn't work. I think I would have to edit the .jar file
I am running OpenJDK 13
Output of java -jar Lavalink.jar --version:
Version:        3.3.1
Build:          997
Build time:     25.03.2020 12:30:43 UTC
Branch          master
Commit:         29f68ba
Commit time:    25.03.2020 12:28:48 UTC
JVM:            13.0.2
Lavaplayer      1.3.38

logs:
java.lang.UnsatisfiedLinkError: Required library at /natives/linux-arm/libudpqueue.so was not found
0|startll  |    at com.sedmelluq.discord.lavaplayer.natives.NativeLibLoader.extractLibrary(NativeLibLoader.java:93) ~[lavaplayer-common-1.0.6.jar!/:na]
0|startll  |    at com.sedmelluq.discord.lavaplayer.natives.NativeLibLoader.load(NativeLibLoader.java:77) ~[lavaplayer-common-1.0.6.jar!/:na]
0|startll  |    at com.sedmelluq.discord.lavaplayer.udpqueue.natives.UdpQueueManagerLibrary.getInstance(UdpQueueManagerLibrary.java:13) ~[udp-queue-1.0.8.jar!/:na]
0|startll  |    at com.sedmelluq.discord.lavaplayer.udpqueue.natives.UdpQueueManager.<init>(UdpQueueManager.java:27) ~[udp-queue-1.0.8.jar!/:na]
0|startll  |    at com.sedmelluq.discord.lavaplayer.jdaudp.NativeAudioSendFactory.initialiseQueueManager(NativeAudioSendFactory.java:40) ~[jda-nas-1.1.0.jar!/:na]
0|startll  |    at com.sedmelluq.discord.lavaplayer.jdaudp.NativeAudioSendFactory.addInstance(NativeAudioSendFactory.java:69) ~[jda-nas-1.1.0.jar!/:na]
0|startll  |    at com.sedmelluq.discord.lavaplayer.jdaudp.NativeAudioSendSystem.start(NativeAudioSendSystem.java:23) ~[jda-nas-1.1.0.jar!/:na]
0|startll  |    at com.github.shredder121.asyncaudio.jda.AsyncAudioSendSystemWrapper.start(AsyncAudioSendSystemWrapper.java:37) ~[jda-async-packetprovider-1.3.2-MINN.jar!/:na]
0|startll  |    at space.npstr.magma.impl.connections.AudioConnection.startSendSystemIfReady(AudioConnection.java:320) ~[impl-0.12.5.jar!/:na]
0|startll  |    at space.npstr.magma.impl.connections.AudioConnection.handleSendHandlerUpdate(AudioConnection.java:237) ~[impl-0.12.5.jar!/:na]
0|startll  |    at space.npstr.magma.impl.connections.AudioConnection.hookOnNext(AudioConnection.java:222) ~[impl-0.12.5.jar!/:na]
0|startll  |    at space.npstr.magma.impl.connections.AudioConnection.hookOnNext(AudioConnection.java:61) ~[impl-0.12.5.jar!/:na]
0|startll  |    at reactor.core.publisher.BaseSubscriber.onNext(BaseSubscriber.java:158) ~[reactor-core-3.2.12.RELEASE.jar!/:3.2.12.RELEASE]
0|startll  |    at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.runAsync(FluxPublishOn.java:398) ~[reactor-core-3.2.12.RELEASE.jar!/:3.2.12.RELEASE]
0|startll  |    at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.run(FluxPublishOn.java:484) ~[reactor-core-3.2.12.RELEASE.jar!/:3.2.12.RELEASE]
0|startll  |    at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.2.12.RELEASE.jar!/:3.2.12.RELEASE]
0|startll  |    at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.2.12.RELEASE.jar!/:3.2.12.RELEASE]
0|startll  |    at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]
0|startll  |    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]
0|startll  |    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
0|startll  |    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
0|startll  |    at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

As mentioned in the requirements in the readme, support for ARM is best-effort.
Performance on ARM is very bad anyways. I'd recommend getting a regular 64-bit Linux server.

with v3.5.0 lavalink added official support for arm
If this issue persists feel free to reopen the issue


Add FindCommand and tests

Implement FindCommand
Update UserGuide, DeveloperGuide
Add implementation details of the card list
Implement tests for FindCommand, add more fields to TypicalCards and TypicalDecks
Update typicalDecksAnakin.xml
Refactor goIntoDeck to getIntoDeck in ModelManager

Pull Request Test Coverage Report for Build 340

32 of 46 (69.57%)  changed or added relevant lines in 4 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 82.129%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/commands/FindCommand.java
24
30
80.0%

src/main/java/seedu/address/logic/parser/FindCommandParser.java
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/logic/parser/Parser.java
3
33.33%

Totals

Change from base Build 337:
-0.4%

Covered Lines:
1512

Relevant Lines:
1841

💛  - Coveralls


Volumes' filesystems should be owned by the user which the corresponding container will run as

The process running in a container runs as a specific user. E.g. http://docs.docker.io/reference/api/docker_remote_api_v1.11/#22-images - "Inspect an image" API includes user name the image will run under. The filesystem mounter for the container must therefore be writeable by this user.
Our current solution is chmod 777, but that's not secure. Better to chown the filesystem to (or maybe tell ZFS about) the appropriate user.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-34. You are welcome to file additional issues in GitHub if that's easier for you.


Not able to connect to an ADB server with self sign certificate

rest_connection = {
"hostname": "",
"protocol": "https",
"port": 8529,
"username": "root",
"password": "",
"dbName": "*****"
}
adbnx_adapter = ADBNX_Adapter(rest_connection)
nx_fraud_graph = adbnx_adapter.arangodb_graph_to_networkx("RSNac")
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
Connecting to https://*******
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /_db/poc-telefonica/_api/gharial/RSNac/vertex
ConnectionAbortedError                    Traceback (most recent call last)
 in
8 }
9 adbnx_adapter = ADBNX_Adapter(rest_connection)
---> 10 nx_fraud_graph = adbnx_adapter.arangodb_graph_to_networkx("RSNac")
/opt/anaconda3/lib/python3.8/site-packages/adbnx_adapter/adapter.py in arangodb_graph_to_networkx(self, name, **query_options)
172         """
173         graph = self.__db.graph(name)
--> 174         v_cols = graph.vertex_collections()
175         e_cols = {col["edge_collection"] for col in graph.edge_definitions()}
176
/opt/anaconda3/lib/python3.8/site-packages/arango/graph.py in vertex_collections(self)
124             return sorted(set(resp.body["collections"]))
125
--> 126         return self._execute(request, response_handler)
127
128     def vertex_collection(self, name: str) -> VertexCollection:
/opt/anaconda3/lib/python3.8/site-packages/arango/api.py in _execute(self, request, response_handler)
72         :return: API execution result.
73         """
---> 74         return self._executor.execute(request, response_handler)
/opt/anaconda3/lib/python3.8/site-packages/arango/executor.py in execute(self, request, response_handler)
62         :return: API execution result.
63         """
---> 64         resp = self._conn.send_request(request)
65         return response_handler(resp)
66
/opt/anaconda3/lib/python3.8/site-packages/arango/connection.py in send_request(self, request)
271         """
272         host_index = self._host_resolver.get_host_index()
--> 273         return self.process_request(host_index, request, auth=self._auth)
274
275
/opt/anaconda3/lib/python3.8/site-packages/arango/connection.py in process_request(self, host_index, request, auth)
150                 tries += 1
151
--> 152         raise ConnectionAbortedError(
153             f"Can't connect to host(s) within limit ({self._host_resolver.max_tries})"
154         )
ConnectionAbortedError: Can't connect to host(s) within limit (3)

Please ignore this


Need some clarification on SSL/TLS

Hi, I'm starting a project and thinking about using this package, so first of all thanks for your work.
I'm a bit confused with the security part of things. The documentation says in the "Message Signing" section that  "It does not provide message encryption; for that, a transport-level encryption (TLS) should be used."
But looking through the code I've noticed that the VEN is using aiohttp.TCPConnector(ssl=ssl_context) and the VTN is using aiohttp.web.TCPSite with some ssl_context, so I'd think that the connection is being secured. Can you give some guidance about what else would be needed to keep the messages encrypted with TLS?

Thanks for the question!
OpenLEADR will use a secure TLS connection in combination with signed messags. It's just that the message signing part is not responsible for encrypting the message, only for ensuring authenticity. That part of the documentation was only about message signatures, and was simply trying to make that distinction clear.
I will add to that part of the docs that TLS is also provided.

Ok, cool. Thanks for the quick answering :)


Use redux saga instead of thunk?

https://github.com/yelouafi/redux-saga

We still didn't have much time to look at redux-saga. If you provide a PR and why you think this is the best solution we could merge it.


no color scheme for white background

White backgrounds to fit better for web pages (including Jenkins) but it seems that the 4 default color schemes of AnsiColor are all on dark backgrounds.
Also I find them confusing because you never know what to pick and once you picked one your executed job will keep its scheme.
I find most of the schemes as low-contrast, but so far vga one provided the best contrast. TO be hones trying to read an ansible error (red) on the default dark gray background of the xterm scheme hurts your eyes.
I may be biased but I would prefer to have the schemes configured only in jenkins main configuration and allowing us to tune them without having to re-run the jobs.

The plugin modifies log output as the job runs, at least currently there's no way to go back to that output and re-apply a color scheme.

There is! Instead of using css colors just use class names for each color. Changing the theme would be a matter of having a different css.
Btw, editing the default schemes is really weird as if you rename one it will create a copy and not remove the original one.

That sounds great as long as there's a way to inject CSS or the theme name later. Feel free to contribute :)


The blank delay of the list when dropping the list.

Hello, my angular project needs to use the jquery. nicescroll plug-in, but after using it, if the problem type is a drop-down list, when you click on the drop-down list, there will be a 1-2 second blank delay in the list before the option appears. Why?

@fengzhihenxs hello! It is hard to understand what's going wrong in your project. Could you please create a small example (you can fork plnkr example https://plnkr.co/edit/F0m2d1HidMZ5TYOeBVAw?p=preview) and we will try to help you.


[Perf] Perf tests appear to use sources when they claim to be using packages

PR https://github.com/Azure/azure-sdk-for-cpp/pull/4012 adds a perf test which calls Core::Convert::Base64Encode(), and also adds a 100ms sleep in the Base64Encode() method in source.
The goal is to verify that the perf pipeline is correctly using packages and sources as expected.  Specifically, when testing the source version of azure-core-cpp, throughput should be around 10 ops/sec, due to the 100ms sleep.  But when testing the package version of azure-core-cpp, throughput should be much higher.
Here is a pipeline run before the 100ms sleep was added.  Both 1.7.2 and source are around 25M ops/sec:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1941892&view=logs&j=eb9934df-ce1d-5189-09d1-97b6d9cd110c&t=0e80b947-56f8-55fe-4bce-23cb00c0ba0a&l=12
Here is a pipeline run after the 100ms sleep was added.  source is around 10 ops/sec as expected, but 1.7.2 is also around 10 ops/sec, which implies that sources were used instead of the package:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1941917&view=logs&j=eb9934df-ce1d-5189-09d1-97b6d9cd110c&t=0e80b947-56f8-55fe-4bce-23cb00c0ba0a&l=12

this should have been fixed a while back


Exclude .DS_Store files from newline check

Is your feature request related to a problem?
The lintspaces.newlines check will report problems for any local .DS_Store files.  Even if manually removed, macOS will
add a .DS_Store file if looking at the files/folders using the Finder.  This is problematic in terms of having to clear out .DS_Store files with some regularity.
Describe the solution you'd like
The .DS_Store files should be ignored or excluded from the newlines check.
Describe alternative solutions you've considered
Adding .DS_Store to .eslintignore does not work since it does not override the rules in lintspaces.newlines.  It's a good solution (if it worked) since the project I'm working on does not have a .eslintignore in the upstream repository.  There are no worries about pushing a file that only applies to the local workspace.
Adding a lintspaces block to fluid-lintallrc.json listing .DS_Store is another possible solution that does work, e.g.,
    "lintspaces": {
        "newlines": {
            "excludes": [
                ".DS_Store"
            ]
        }
    }

I will address this in #31

Or maybe not?  @klown, if you can try the dev release of 1.0.5-dev.20210201T163615Z.cff0a11.GH-3, I suspect that this one is better to handle using a .gitignore rule.

Maybe not indeed @the-t-in-rtf.
I tried the dev release you suggested (remembering to remove my copy of .eslintignore) and npm run lint reported no .DS_Store errors.

Great, I'll close this one out and will ping the chat when the full release is out that adds .gitignore support.


Online endorsement form - publisher website is not included in the endorsement email

The email that goes out to node managers when the endorsement form is submetted does not contain the publisher website URL (when that is provided).
It would be a tremendous help to the node managers if they had easy access to the publishing organizations own website.
Additionally I would like a link to the GBIF endorsement guidelines included in the automated email we are sending out:
https://www.gbif.org/endorsement-guidelines
An updated version of the standard text will be forthcoming.

moved to https://github.com/gbif/registry/issues/64


EOFError: Compressed file ended before the end-of-stream marker was reached

My internet connection was interrupted while downloading the one_shot_object_detector backgrounds. Now when I try to train a model, I get this error. I think the issues is a corrupt gzip file, but I don't know where it is located.
---------------------------------------------------------------------------
EOFError                                  Traceback (most recent call last)
<ipython-input-26-307cbd9c95bb> in <module>
----> 1 model = tc.one_shot_object_detector.create(training_images, 'label')

~/venv/lib/python3.7/site-packages/turicreate/toolkits/one_shot_object_detector/one_shot_object_detector.py in create(data, target, backgrounds, batch_size, max_iterations, verbose)
     62         raise TypeError("'data' must be of type SFrame or Image.")
     63     augmented_data = _preview_synthetic_training_data(
---> 64         data, target, backgrounds)
     65     model = _tc.object_detector.create(augmented_data,
     66                                        batch_size=batch_size,

~/venv/lib/python3.7/site-packages/turicreate/toolkits/one_shot_object_detector/util/_augmentation.py in preview_synthetic_training_data(data, target, backgrounds, verbose, **kwargs)
     51         backgrounds_tar_path = backgrounds_downloader.get_backgrounds_path()
     52         backgrounds_tar = _tarfile.open(backgrounds_tar_path)
---> 53         backgrounds_tar.extractall()
     54         backgrounds = _tc.SArray("one_shot_backgrounds.sarray")
     55         # We resize the background dimensions by half along each axis to reduce

~/venv/lib/python3.7/tarfile.py in extractall(self, path, members, numeric_owner)
   2000             # Do not set_attrs directories, as we will do that further down
   2001             self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
-> 2002                          numeric_owner=numeric_owner)
   2003
   2004         # Reverse sort directories.

~/venv/lib/python3.7/tarfile.py in extract(self, member, path, set_attrs, numeric_owner)
   2042             self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
   2043                                  set_attrs=set_attrs,
-> 2044                                  numeric_owner=numeric_owner)
   2045         except OSError as e:
   2046             if self.errorlevel > 0:

~/venv/lib/python3.7/tarfile.py in _extract_member(self, tarinfo, targetpath, set_attrs, numeric_owner)
   2112
   2113         if tarinfo.isreg():
-> 2114             self.makefile(tarinfo, targetpath)
   2115         elif tarinfo.isdir():
   2116             self.makedir(tarinfo, targetpath)

~/venv/lib/python3.7/tarfile.py in makefile(self, tarinfo, targetpath)
   2161                 target.truncate()
   2162             else:
-> 2163                 copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
   2164
   2165     def makeunknown(self, tarinfo, targetpath):

~/venv/lib/python3.7/tarfile.py in copyfileobj(src, dst, length, exception, bufsize)
    245     blocks, remainder = divmod(length, bufsize)
    246     for b in range(blocks):
--> 247         buf = src.read(bufsize)
    248         if len(buf) < bufsize:
    249             raise exception("unexpected end of data")

/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/gzip.py in read(self, size)
    274             import errno
    275             raise OSError(errno.EBADF, "read() on write-only GzipFile object")
--> 276         return self._buffer.read(size)
    277
    278     def read1(self, size=-1):

/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/_compression.py in readinto(self, b)
     66     def readinto(self, b):
     67         with memoryview(b) as view, view.cast("B") as byte_view:
---> 68             data = self.read(len(byte_view))
     69             byte_view[:len(data)] = data
     70         return len(data)

/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/gzip.py in read(self, size)
    480                 break
    481             if buf == b"":
--> 482                 raise EOFError("Compressed file ended before the "
    483                                "end-of-stream marker was reached")
    484

EOFError: Compressed file ended before the end-of-stream marker was reached

Restarting my computer solved the issue!

@Chuabacca - I'm glad to hear that restarting your computer solved the problem. That makes sense and thanks for letting us know.
You could also have run the following script:
from turicreate.toolkits._pre_trained_models import _get_cache_dir
print(_get_cache_dir('data'))

Then deleted the directory that gets printed out.
FYI - the underlying issue was fixed by #2901 and that fix will be included in our next release.

Great, thanks for the info! And glad to hear that the underlying issue was addressed. I’m enjoying learning and using turi create.


TFLite conversion notebook will no longer install dependencies

URL(s) with the issue:
Doc Link: https://github.com/tensorflow/examples/blob/master/lite/examples/gesture_classification/ml/README.md
Notebook link (also on doc page):
https://github.com/tensorflow/examples/blob/master/lite/examples/gesture_classification/ml/tensorflowjs_to_tflite_colab_notebook.ipynb
Description of issue (what needs changing):
Updated notebook that will install the dependencies, and run successfully to convert a Tf 1.x model to a TFLite model.
Clear description
Following the steps for the TFLite example project you are recommended to use a python notebook (linked above). I have used it many times before, however it has recently stopped working. I was using it on Collab as per the instructions.
Usage example
The following command: !pip3 install tensorflow==1.14.0 keras==2.2.4 tensorflowjs==0.6.4 --force-reinstall
Results in:
ERROR: Cannot install keras==2.2.4 and tensorflowjs==0.6.4 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested keras==2.2.4
    tensorflowjs 0.6.4 depends on keras==2.2.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

@xunkai @lintian06 could you take a look at this report?

Thank you for the report! You can add the flag --use-deprecated=legacy-resolver, and it is pip's version change.
!pip3 install tensorflow==1.14.0 keras==2.2.4 tensorflowjs==0.6.4 --force-reinstall --use-deprecated=legacy-resolver

Hi @lintian06. You're welcome for the report.
The fix did work for the initial error, however the next part of the notebook would then end up in an error unfortunately.
Command:
import traceback
import logging
import tensorflow.compat.v1 as tf
import keras.backend as K
import os

from google.colab import files

from keras import Model, Input
from keras.applications import MobileNet
from keras.engine.saving import load_model

from tensorflowjs.converters import load_keras_model

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

Error:
AttributeError: module 'tensorflow._api.v1.compat.v2.compat' has no attribute 'v1'

Fortunately I was able to find the solution to this error myself here: https://stackoverflow.com/questions/67703514/tensorflow-issue-google-colab-tensorflow-api-v1-compat-v2-has-no-attribute

Closing this issue since it's resolved now. Feel free to reopen if necessary. Thanks!


add python tutorial and math

Not sure where do "math for programmers" belong

it could also go in language agnostic:mathematics; Think Stats(for Python) is there.


Windows MSI (2.0.62) broken

Latest MSI is broken. A few things should happen:

[ ] Find root cause and fix prior to upcoming release
[ ] Fix release pipeline to automatically check the MSI release like other channels or add a manual check to install and run az self-test with the MSI.

Workaround
For customers impacted by this bug, you should be able to install the 2.0.61 release with the following link: https://bit.ly/2v9W3id
To Reproduce:

Install latest MSI
Run: az self-test
Result:

D:\github>az self-test
This command has been deprecated and will be removed in a future release.
Running CLI self-test.

Loading all commands and arguments...
Error occurred loading commands!

Retrieving all help...
Help loaded OK.

{'load_commands': ImportError("cannot import name 'StorageAccountTypes'",)}

D:\github>echo %ERRORLEVEL%
1

Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli                         2.0.62

Extensions:
alias                              0.5.2

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\trpresco\.azure\cliextensions'
Development extension sources:
    D:\github\azure-cli-extensions

Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]

I'm got this figured out, and it's an interesting bug.
The problem we're having is because StorageAccountTypes is declared as a copy of DiskStorageAccountTypes here. There's nothing wrong with doing that from the Python SDK's perspective. However, this is tricking some logic that we use while building the Windows Installer.
Here we scrape all of the symbols that AutoRest exports:
https://github.com/Azure/azure-cli/blob/f45a62c5721314d4e2278a9432fe0540f70e9071/build_scripts/windows/scripts/patch_models_v2.py#L87-L136
My first thought when reading through the above was that inspect wasn't finding StorageAccountTypes, due to it being a global variable and not a proper class declaration. However, I debugged locally and discovered that it was in-fact finding StorageAccountTypes. So I had to keep digging, and I found that in code below assumes all enums that were declared were done so in the enums file, not the __init__ file:
https://github.com/Azure/azure-cli/blob/f45a62c5721314d4e2278a9432fe0540f70e9071/build_scripts/windows/scripts/patch_models_v2.py#L215
Hence, we end up trying to import a symbol from a file where it doesn't exist. There are a few solutions, but if possible, I'd really like to not create any special cases in our code. For that reason, I think the best solution is for me to submit a PR to the azure-sdk-for-python to make the original fix from @lmazuel just resemble the code generated by Python a little more.
/cc @lmazuel, @yugangw-msft, @tjprescott, @adewaleo

StorageAccountTypes has been renamed to DiskStorageAccountTypes by the Compute team. To anticipate the future, I would strongly suggest you adapt the CLI code anyway, since the next major version I will be able to do will kill StorageAccountTypes compat import
That being said, I'm looking at your PR right now.

As far as I can tell, we do not actually use StorageAccountTypes. It's only that we end up creating an __init__ that's destined to fail.

StorageAccountTypes has been renamed to DiskStorageAccountTypes by the Compute team. To anticipate the future, I would strongly suggest you adapt the CLI code anyway, since the next major version I will be able to do will kill StorageAccountTypes compat import
That being said, I'm looking at your PR right now.

Please let us know in the future when you release the compute SDK that breaks StorageAccountTypes.

@adewaleo I would not think like that :). Since you know TODAY, that it will break soon, put a task to do it in the next sprint ;). That would be my advice at least, especially since there is 4 characters to change :)

@lmazuel, sounds good. I was thinking of creating the issue. I guess I was unsure because it seems like StorageAccountType is still in use by services such as shared image gallery see this swagger pr. So it seemed like the compute change isn't complete.

@lmazuel @marstr
In 2018_09_30: disk.json defines DiskStorageAccountType.
However, in 2019_03_01: compute.json defines StorageAccountType.
If I was to attempt to make a complete switch to DiskStorageAccountType, then parts of the CLI relying on the latest (2019_03_01) compute API version might be affected.

I've tested it, and this issue will not reproduce in 2.0.63 which will be released early next week.

I will keep the issue pinned until the release happens.

Reopening and re-pinning this issue. The release has not yet happened, and the release pipeline hasn't been updated to detect future breakage.

The new MSI has been released. Unpinning this issue.

@adewaleo This is two differents enums, treats then as such:

disk.json provides RT "disks" and "snapshots". Use enums from this file only in those scenarios and calls
compute.json provides the rest


Enhance RBAC manager & Helm controller

For RBAC manager:
The RBAC manager can generate bindings with service account and role
tempate from App. The following changes are based on this requirement.
Expose type manager in pkg/controllers/user/rbac
Expose following methods:

GatherRoles
EnsureBindings
ReconcileProjectAccessToGlobalResources
ReconcileProjectAccessToGlobalResourcesForDelete
EnsureProjectRoleBindings

Expose following fields:

Workload
NSIndexer
RTLister
RBLister
AppLister(new field)

For Helm controller:
Inject following info to helm install command

serviceAccountName
systemDefaultRegistry(we have it before, change for consistency)
projectName
clusterName

We will ensure the privileges for the service account we create for app.
We will create the service account base on the annotation of app
roleInjection.cattle.io/project-monitoring-readonly.
Enhance project monitoring with above features.
Related issues:

https://github.com/rancher/rancher/issues/19381
https://github.com/rancher/rancher/issues/19674

Related PRs:

https://github.com/rancher/types/pull/801
https://github.com/rancher/system-charts/pull/37

@loganhz Followings are the test scope for this PR:
For App:

Install App to test the helm controller works as before

For RBAC:

Add Project members to test the RBAC controller works as before

For Project monitoring:

Enable cluster monitoring and project monitoring, test project prometheus can scrape metrics from cluster prometheus
Create metrics alert in project to test project prometheus can set alerts to alert manager

I'm OK with the PR as a temporary fix. But I feel like we should support referencing service accounts in PRTB/CRTB in the long run so that we don't need to handle apps in the RBAC framework/ensure roles in helm controllers, and a standalone SA with no owner app suits the same framework.

Updated

Updated PR based on types PR updated and review comments.

LGTM

@orangedeng wanted to make sure we have tested the upgrade use case. As we are adding extra condition on a namespace: https://github.com/rancher/types/pull/801/files#diff-306d5c96fc1a12d7198ca86c79ebd4cbR62

@alena1108 Already added app upgrade test case in integration test.
Here are the cases QA should validate:

Upgrade Rancher from old version, cluster app should auto upgrade to v0.0.3.
Enable project monitoring, the service account with the same name as app will be created in the app target namespace. We can use that service account to view(get/list/watch) pods/services/endpoints in its project.

We can use following command to validate the service account privileges kubectl auth can-i list pods -n <namespace> --as system:serviceaccount:<target-namespace>:<app-name>.

I can not add integration test for this changes with following reasons:

The cluster and project monitoring require condition AgentDeployed in cluster object. But the integration test cluster object won't have it. So the monitoring deploy controller won't create apps in system project.
The new system account field in PRTB can not be tested via api level because I set the field to readonly. So we don't need to handle create/update case via api too.

I will add validation test case for this PR.

pkg/controllers/management/auth/prtb_handler.go is a management plane controller that propogates certain PRTB rules into the management plane k8s as necessary.
You should add logic to ignore PRTBs in the management plane if their subject is a service account.

other than the types change to a single field and the management plane controller change, this looks good

Updated


Rename ActorSystem since it gets confusing with the ActorSystem typealias in Swift DA

ActorSystem → ClusterSystem
Might need to rename or get rid of <system.cluster> since maybe folks will now store it as let cluster = ClusterSystem()

This is started on prepare-5.7 just need to go all the way

Discussed with @ktoso, for this issue, we will:

[ ] Rename ActorSystem -> ClusterSystem (rename file also)
[ ] Merge ClusterSettings into ClusterSystemSettings (rename file also)

We will not rename system.cluster but will revisit later in https://github.com/apple/swift-distributed-actors/issues/892.
The enabled flag in ClusterSettings should be removed. That work is covered by https://github.com/apple/swift-distributed-actors/issues/880.

That all sounds great, thank you for looking into these!

Awesome, thank you!


Support fully Python 3.11

Currently, the Python version 11 is not fully supported because build fails with the following error:
Running pylint on PyPi sources.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/pylint/__main__.py", line 9, in <module>
    pylint.run_pylint()
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/pylint/__init__.py", line 21, in run_pylint
    from pylint.lint import Run as PylintRun
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/pylint/lint/__init__.py", line 76, in <module>
    from pylint.lint.parallel import check_parallel
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/pylint/lint/parallel.py", line 8, in <module>
    from pylint import reporters
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/pylint/reporters/__init__.py", line 27, in <module>
    from pylint import utils
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/pylint/utils/__init__.py", line 47, in <module>
    from pylint.utils.ast_walker import ASTWalker
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/pylint/utils/ast_walker.py", line 7, in <module>
    from astroid import nodes
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/astroid/__init__.py", line 51, in <module>
    from astroid.nodes import node_classes, scoped_nodes
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/astroid/nodes/__init__.py", line 27, in <module>
    from astroid.nodes.node_classes import (  # pylint: disable=redefined-builtin (Ellipsis)
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/astroid/nodes/node_classes.py", line 49, in <module>
    from astroid import decorators, mixins, util
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/astroid/decorators.py", line 27, in <module>
    import wrapt
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
    from .decorators import (adapter_factory, AdapterFactory, decorator,
  File "/home/runner/work/zserio-pypi/zserio-pypi/build/test/wheel/pyenv/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
    from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/inspect.py)
FATAL ERROR - Running pylint failed with return code 1!

Done in scope of #7 .


⚠ GitLab Server has degraded performance

In 69a765c, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 4102 ms

Currently we see some performance issues within our network. Our Operations Team is working on it.

Currently we see some performance issues within our network. Our Operations Team is working on it.


View and WebView: events not present sender

What steps will reproduce the problem?
In Yii2, the event sender was available, which is very useful if event-based processes want to modify the sender, e.g. Add CSS, JS.
https://www.yiiframework.com/doc/api/2.0/yii-base-event#$sender-detail

The $sender property describes who raises the event.

What is the expected result?
The sender object is accessible.
What do you get instead?
Do I need to create a separate dispatcher? This makes the process complicated if I have to use it multiple times and the process is only partially different, e.g. create email template and create web response in one request.

Q
A

Version
3.0.x-dev

PHP version
-

Operating system
-

You can add reference to the view to the event object.

Which events do you mean?

\Yiisoft\View\Event\BodyEnd
\Yiisoft\View\Event\PageEnd

I can use multiple WebViews within the process, e.g. HTTP response body, HTML export. For example, if I want to place a tracking javascript at the bottom of the BODY on an event trigger.
function(object $event)
{
  $view = $event->sender;
  /* @var $view WebView */
  $view->registerJs('...');
}

I feel that this is a global problem with Yii3, because $sender is not available for other non-view events. In Yii2, this was a very useful manipulation method, where it was possible to handling events at bootstrap level and influence further operation.

Makes sense to add reference to View to \Yiisoft\View\Event\BodyEnd and Yiisoft\View\Event\PageEnd.


Fixed Cthun Tunnel and Crypt Fiend Burrow models

Edited mdl paths in the Nerubian Tunnel BLP
Imported new "splat" texture for Nerubian Tunnel
Closes:
#2962

Additional info:
For some reason Warcraft did not like it when the custom Nurubian Tunnel model file tried to also use the in game texture used for the Crypt Fiend Burrow ability (BurrowSplat) despite this being the case for multiple other models.
A new BurrowSplat texture has now been imported into the game and the Nerubian Tunnel uses that texture not the vanilla one. The Crypt Fiend Burrow ability now works as it does in vanilla with no work arounds.


a_Prompt_Target should allow for target selection via a button menu

Allow choosing from all available targets via the console pls.

Done


variadic isNegativeInt Function

Verify that all integers are negative.
Referenced from #14.

Can this be assigned to me?

@khusbuchandra you'll to accept the invite I sent you so that I can assign the issue you.

Ahh! I had missed the mail and just now digged it out. Thanks @jhowardjr  👍

Function to verify negative integer is added.


Added hmd tracking etc.

As discussed in https://github.com/jovr/jogl-hello-vr/issues/1

Shit, I didn't realize I had explicitely to accept  :pensive:
Anyway, we are again working at it starting from now (my collegue is working on the lib updating), do you have any updates in the meanwhile?

Well, I got my other app working about right, although not quite at proper frame rate - I'll need to change the way JOGL drives the frames.  As you noticed, this pull request wasn't actually for a working version, good to see that you've apparently got it working now, I'll try to take a proper look at some point.
It was decided not to focus on VR for my other project for the time being (and in fact, it's likely that future VR incarnations will be a new JS codebase anyway)... so I'm not sure how much I'll really be using Java for VR stuff.  I might still have a go at making a version of WorldWind work with jopenvr; I'm hoping to make more time for map related stuff I want to play around with, although again it might end up being more on the JS side.  I already did some hacking of the Java version of WorldWind a while ago, so maybe I'll keep building on that.  It's a hobby project for me, but one that I hope to make time for.

Would you like to investigate together some ways to increase the frame rate?
I'd be available also to assist, as far as I can, with WorldWind..

From my previous WorldWind hacking I think I know my way around it well enough to get it working in VR without too much effort once I get around to it; I had successfully got it rendering to various render targets from different perspectives, so should be similar again to get basic VR working, although a useable interface would be another story entirely and would involve more involved work.  It would be good to have the basic thing working out there as an example project, anyway.  I should be able to do that in a few weeks time.
As for the framerate thing: from my understanding of OpenVR, it should be waitGetPoses that blocks until the time when the driver is wanting another frame, so having anything like a JOGL Animator involved in the process is liable to cause some contention.  In my other app (using a slightly old version of JOGL, not that I believe that to be relevant), I tried configuring my animator to run as fast as possible but I think I still was locked at 60fps - would need to double check details.  I just had another quick look at your code, and see that you're also using Animator similarly.  You might try setting that flag and see how it goes.
So anyway, the internal workings of Animator are what we need to investigate, considering implementing a new version more tailored for the needs of VR.

Oh yeah, my app was using old-style GLCanvas, it might be that with the NEWT style things are better.  That was on my todos.

Another OpenVR thing I'd like to try making, that could make a good fairly basic sample project and a handy utility, is a clock overlay.  Not sure if such a thing already exists.

The only lag problem I had was when I was rotating my head left and right fast and I could see small jumps... I turned off v-sync and it worked as a charm.. you may want to check that.
Also set animator.setExclusiveContext(true);
All my tests so far were on newt
Clock overlay? Do you mean like watching somewhere a clock in vr?

ok, useful suggestions, thanks.
For the clock overlay, yes, I mean something so that you can glance at the time easily when using arbitrary VR stuff.  Loss of connection with outside world can be a problem!

:D
yep, it should be pretty feasible, I'd render the background on a texture and then the two sticks (for hours and minutes) on top

JOGL also has some useful text rendering stuff.

I just tried elect86's suggestion and turned v-sync off and it worked a treat; the framerate went to 90fps rather than 60fps.  Thankyou.
Working with xinaesthete; same application, we'd been busy on other things hence the gap.
Still using GLCanvas for now.
Works OK using FPSAnimator set to 90fps, or regular Animator with setRunAsFastAsPossible(true)
Setting v-sync off is a bit of an issue as the way Nvidia control panel works it will apply to ALL java apps.  Is there a good way to do it from within the app itself?


module 'resty.requests' not found

Hello I setup the module with the following command:
$ opm get tokers/lua-resty-requests
and I have the following test.lua file:
local requests = require "resty.requests"

This is the output I get:
> dofile("lua/test.lua")
lua/test.lua:1: module 'resty.requests' not found:
	no field package.preload['resty.requests']
	no file './resty/requests.lua'
	no file '/usr/share/lua/5.1/resty/requests.lua'
	no file '/usr/share/lua/5.1/resty/requests/init.lua'
	no file '/usr/lib64/lua/5.1/resty/requests.lua'
	no file '/usr/lib64/lua/5.1/resty/requests/init.lua'
	no file './resty/requests.so'
	no file '/usr/lib64/lua/5.1/resty/requests.so'
	no file '/usr/lib64/lua/5.1/loadall.so'
	no file './resty.so'
	no file '/usr/lib64/lua/5.1/resty.so'
	no file '/usr/lib64/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'require'
	lua/oauth_redirect.lua:1: in main chunk
	[C]: in function 'dofile'
	stdin:1: in main chunk
	[C]: ?

This is the output from installing the module:
# opm get tokers/lua-resty-requests
* Fetching tokers/lua-resty-requests
  Downloading https://opm.openresty.org/api/pkg/tarball/tokers/lua-resty-requests-0.3.opm.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12670  100 12670    0     0  13653      0 --:--:-- --:--:-- --:--:-- 13653
Package tokers/lua-resty-requests 0.3 installed successfully under /usr/local/openresty/site/ .

What am I missing? Thanks

@siozosdr
What's your lua_package_path directive? From the information you provide that the lua-resty-requests were installed in /usr/local/openresty/site while this path isn't contained in package.path.

@tokers  thanks for the reply  turns out I had messed up the lua package paths and could find the module I installed. Issue is resoled now.


Unhandled Runtime Error TypeError: Cannot read properties of null (reading 'scrollTo')

@namansleeps is looking into this. Thanks for notifying!

https://github.com/TransformerOptimus/SuperAGI/pull/514
We've raised a PR to resolve this issue. Will be merged soon!

Merged to main. Can you please check again @linhcentrio ?

ok i will check it now.

@linhcentrio is this solved?

@linhcentrio is this solved?

yes, i reply that all ok!

Awesome. Closing this issue.


Annotation not appearing in Wordpress template

The chart.js annotations plugin is not behaving as expected in my wordpress template. I have duplicated this code pen example  exactly (I think) on my staging server but, while the annotation (a line) appears in code pen, it does not appear on my site. I think (?) I have the same versions of everything installed. Please let me know what I'm doing wrong!
    var canvas = j$("#test_chart")[0];
var ctx = canvas.getContext('2d');

var data = {
    labels: ["2010", "2011", "2012", "2013", "2014", "2015", "2016"],
    datasets: [
        {
            label: "My Second dataset",
            fillColor: "rgba(0,191,255,0.5)",
            strokeColor: "rgba(0,191,255,0.8)",
            highlightFill: "rgba(100,149,237,0.75)",
            highlightStroke: "rgba(100,149,237,1)",
            data: [60, 50, 40, 30, 20, 10, 20],
            borderColor: 'grey',
            borderWidth: 1,
        }
    ]};

    var options = {
    legend: {
      display: true,
    },
    tooltips: {
      enabled: false,
    },
    scales: {
      xAxes: [{
        display: true,
          ticks: {
                    beginAtZero:true
                },
      }],
      yAxes: [{
        display: true,
                  ticks: {
                    beginAtZero:true
                },
      }]
    },
      annotation: {
        annotations: [{
            type: 'line',
            mode: 'horizontal',
            scaleID: 'y-axis-0',
            value: '26',
            borderColor: 'tomato',
            borderWidth: 1
        }],
        drawTime: "afterDraw" // (default)
    }
  };

// Chart declaration:
var multiLineChart = new Chart(ctx, {
  type: 'bar',
  data: data,
  options: options
});

I found the answer! The Wordpress theme forced usage of jQuery 1.8 (!) when I stopped it from doing that and loaded the up to date jQuery, annotations started working again whew now I have to track down all the deprecated things in the theme with jQuery migrate (Grrrrr)


Error: kill ESRCH on puppeteer.launch({}) on CircleCI

Steps to reproduce
Tell us about your environment:

Puppeteer version: 0.13.0
Platform / OS version: Ubuntu on CircleCI
Node.js version: 8.9.1

What steps will reproduce the problem?
Not sure how to repro this. Maybe try launching puppeteer on CircleCI via npm test? This works fine locally on OSX.
It fails on the following call:
  const browser = await puppeteer.launch({})
What is the expected result?
Puppeteer launch call is successful
What happens instead?
[1] Setup Puppeteer Environment.
[1] Error: kill ESRCH
[1]     at Object._errnoException (util.js:1024:11)
[1]     at process.kill (internal/process.js:183:18)
[1]     at forceKillChrome (/home/circleci/repo/node_modules/puppeteer/lib/Launcher.js:162:19)
[1]     at killChrome (/home/circleci/repo/node_modules/puppeteer/lib/Launcher.js:147:9)
[1]     at Function.launch (/home/circleci/repo/node_modules/puppeteer/lib/Launcher.js:137:7)
[1]     at <anonymous>
[1]     at process._tickCallback (internal/process/next_tick.js:188:7)
[1] jest --config ./src/jest.config.js exited with code 1

Looks like the chrome process is failing to launch. Can you try some of the workarounds posted in https://github.com/GoogleChrome/puppeteer/issues/290?

Hi! Here is how I got it running under WSL:
install chromium browser through apt-get
$ sudo apt-get install chromium-browser
then:
const browser = await puppeteer.launch({executablePath:'/usr/bin/chromium-browser'});


[DRAFT] Namespace being generated for non-namespaced resources

[DRAFT] Creating a placeholder issue to add instances of this bug
Description of the bug:

Reproduction Steps:

Error Log:

Environment:

Framework Version:
OS:

Other:
Related Issue: https://github.com/cdk8s-team/cdk8s/issues/1558

This is :bug: Bug Report

I just ran into this, came here to see if anybody had reported it yet.  If you assign a namespace to a Chart object, and then create cluster-scoped resources inside that chart, those resources get assigned a namespace.
Example:
app = App()
chart = Chart(app, "some-chart", namespace="foo")
ns = k8s.KubeNamespace(chart, "namespace")
app.synth()

produces
apiVersion: v1
kind: Namespace
metadata:
  name: some-chart-namespace-c8d9d43d
  namespace: foo

This is the identical issue to #1558 which I believe was incorrectly marked as closed (although there is a nice workaround for it)

Closing this our in favor of https://github.com/cdk8s-team/cdk8s-plus/issues/4239


use %z instead of %Z

see #212
The bug has once been fixed with ab91e6d but somehow revived with 1548d60.

Thanks @tonytonyjan! Better late than never 💪🏼

Thanks @tonytonyjan! Better late than never 💪🏼

Appreciate! 🙏  I almost forgot this PR.