#1028: Register port now only handles auto port values.

This is to avoid the httpsPortDynamic being set to true on the context initialisation, but then being updated to false when the context is refreshed.
Fix for #1028

Hi @boothen , thanks for the PR! Any chances for a test for this?

Hi @marcingrzejszczak, the original PR contained a test for the fix. However, this PR is to resolve an issue where the test framework refreshes the Spring context. The refresh caused the original code to update the httpsPortDynamic from true to false.
Cucumber refreshes the Spring context after each test scenario. However, I'm struggling to trigger a refresh using JUnit. Using the DirtiesContext annotation doesn't work the same way.
Any suggestions on how I could recreate it?

I've merged it, it might be tricky to recreate it

I'll have to revert this change cause it broke our samples

You can try to do the change again, but be sure you haven't broken the https://github.com/spring-cloud-samples/sc-contract-car-rental sample

Hi @marcingrzejszczak , could you elaborate further?
Is it a JUnit test that is failing? I can only see one test that uses the AutoConfigureWireMock and that has a fixed port so will be unaffected by the code change.
I've successfully built the sample project against a local 2.2.0-SNAPSHOT, so not sure what the issue is.
Any help is appreciated, without the fix we're unable to use the latest version.

Everything works fine right now cause i reverted your commit.

Not sure I follow. I built the sample project with a local build of spring-cloud-contract that included my changes. I was expecting to see a test failure when building the sample project this way.
What is the breakage you're seeing in the sample project or how can I reproduce it? Unless I can reproduce it there's no way I can understand how it was broken.

Think I've managed to reproduce it. Were you seeing

java.net.BindException: Address already in use

during the tests?

Hi @boothen - yes, that's exactly the exception we were getting.
[ERROR] should_retrieve_list_of_frauds_from_stub(com.example.carrental.RentACarTests)  Time elapsed: 0.06 s  <<< ERROR!

com.github.tomakehurst.wiremock.common.FatalStartupException: java.lang.RuntimeException: java.net.BindException: Address already in use

Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use

Caused by: java.net.BindException: Address already in use

Hi there,
I've identified a further fix for the issue seen in the sample project. It looks like when the RentACarTest context is initially loaded it hasn't scanned the annotation properties. I think this is due to the StubRunnerRule in the test. Removing the StubRunnerRule the

Caused by: java.net.BindException: Address already in use

error doesn't occur.
I can submit a PR with a fix for this as the annotation properties are scanned on subsequent context refresh. However, again I'm struggling to write a unit test to prove it. I could possibly add a test to the spring-cloud-contract-stub-runner to verify it, but it looks like not all tests are being executed in that project. #1047
Should I submit the PR without a test while the test execution issue is investigated?

I've submitted PR #1048 for this. It doesn't have a test case with it unfortunately. I'll try to add one when/if #1047 is resolved.


Fix / optional above non required inputs

Description
The "simple" fix for hiding the season selector in the inline video details layout. I've also fixed the spacing around the season selector.
Fixes OTT-554
Fixes OTT-836 (sorry @MelissaDTH)

I only see change targets one situation. Are you sure it is fixed in all occurences?

I was wrong. and i verified it with @MelissaDTH. I approve the change!


Suport for non standard function codes.

Describe the requested feature
Some devices using non standard function codes such as Sofar solar inverters.
The Sofar inverter using FC 0x13 for writing inverter parameters. It will be nice to have ability to send even a raw binary data to device.
This protocol have a lot of function codes what is not possible to use with this node.
Motivation
Using node-red-contrib-modbus with full access for non standard modbus devices.

Hi @xury77, check our Service PLUS for Node-RED for this feature request!

needs sponsors or more developers to help with the work


Improving Simplepad desktop app.

Simplepad is a GUI desktop enviroment built with simple. It is a text editor which might eventually become SIMPLE's code editor. It currently has dummy menu's which will be worked upon and the improvements will be documented in this issue.
Preview of Simplepad.

Features..
It currently houses a lot of functionalities which are yet to be functioning. It has normal file operations like:

File

Open
Save
Save As
Close
Exit.

Edit

Undo
Copy
Edit

Search

Search
Replace.

Program

Run i.e, to run the file: this is a feature that'll give live preview of what we're building.
Debug
Build executable.

About - I recently added the about menu.

What's failing ?
Menu options do not work except for About.
Todo
Fix all issues listed above and make it function well.

I think one major setback for the SIMPLEPAD's desktop app is the unavailability of an onClick function such that if a user clicks open, the file is open and the contents are spread out in the editors workplace. I've tried writing one but didn't work.
@Thecarisma  What do you have to say ?

But I think an alternative for onClick is the .callback() function.. I'll be looking into it.

@appcypher hope we ain't sleeping on this ?

Any progress on this ?

No progress on this because the development for simple-pad has been halted due to the fact that it depends on the fulltick module which is still very much in it infancy. An alternate to this is to use the REPL which is the command line option similar to python repl.
The fulltick module is very much in development and can be used create reasonable GUI programs for all platform including android, but it still has some lot of issues.

Alright...


Wrong SQL generated for with_deleted

Hello, at Litmus we have two classes Account and User in a "1 to n" relationship.
We use acts_as_paranoid in both the classes.
We're upgrading to Rails 4.2, and we noticed this wrong generated SQL.
[2] pry(main)> account.users.with_deleted.to_sql
=> "SELECT `users`.* FROM `users`"

The expected query is:
[2] pry(main)> account.users.with_deleted.to_sql
=> "SELECT `users`.* FROM `users` WHERE `users`.`account_id` = 1"

This is already solved by https://github.com/ActsAsParanoid/acts_as_paranoid/pull/26 Can you please merge it? :blue_heart: :green_heart: :heart: :yellow_heart: :heart: Thank you!

@jodosha Was this fixed? <3

@zzak I can't verify anymore, cause not longer working on that code base :dancer:

Since #26 was merged, we can close this. <3


Setup GitHub Actions for automated multi-arch container build and push to dockerhub

You can use GitHub actions to build multi-arch images
https://github.com/marketplace/actions/docker-setup-buildx
Found a tutorial on how to do it.
https://youtu.be/cXagGh_7TH4
I mixed both together and made this on another repo
https://github.com/Just5KY/scalyr-tool/blob/main/.github/workflows/dockerhub.yml
I can create a PR if you want

@Just5KY I was actually looking at github actions recently but didn't really have time. I was looking at something created by crazy-max but yours looks super easier. Feel free to create a PR. Once you complete your PR I'll try it out on a different repo of mine and make sure everything works then I'll approve it. Don't want to accidentally mess up the images :P
What does this do, schedule an auto build?
schedule:
- cron: '50 15 * * *'

on:
  schedule:
    - cron: '50 15 * * *'      #Build image when dailt at 15:50 but im not sure which timezone.
  push:
    branches: [ main ]        #Build image when there is a comitt push
    # Publish semver tags as releases.
    tags: [ 'v*.*.*' ]
  pull_request:
    branches: [ main ]       #Build image after a pull request is accepted
  workflow_dispatch:       #Adds a button to manually build image in GitHub actions page.

I am still playing around with it, but it works

I also found this
https://github.com/Yooooomi/your_spotify/blob/master/.github/workflows/client.yml
Its clear implementation, but it does not have automatic builds

You can just add this to your test repo like  test_repo/.github/workflows/FILENAME.yml
you need to create a GitHub secret for your dockerhub access token with the name DOCKER_TOKEN
name: Docker multi-arch build and push

on:
  schedule:
    - cron: '50 15 * * *'
  push:
    branches: [ main ]
    tags: [ 'v*.*.*' ]
  pull_request:
    branches: [ main ]
  workflow_dispatch:

env:
  REGISTRY: docker.io
  IMAGE_NAME: test_image_name

jobs:
  build:

    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write
      # This is used to complete the identity challenge
      # with sigstore/fulcio when running outside of PRs.
      id-token: write

    steps:
      - name: Checkout repository
        uses: actions/checkout@v2

      - name: Setup Docker buildx
        uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf

      - name: Docker login
        run: docker login -u DOCKER_USERNAME -p ${{ secrets.DOCKER_TOKEN }}

      - name: Build the Docker image
        run: docker buildx build --push --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8  --tag DOCKER_USERNAME /test_image_name .

@Just5KY @martadinata666
@Just5KY I committed your PR then I made some modifications that I was talking about previously. I also added some additional steps. Not sure if everything is as simple as it should be but have a look at the workflow. Can you test the new develop image and latest image on your local, before I update the README file?

changed the auto-build for tags only
will run the workflow manually for main and develop branch, until I get a better handle on mods that I make
main branch - docker image will be flagged as "latest"
tags - docker image will be flagged with the tag, i.e. "v1.0.5"
develop branch - docker image will be flagged as "develop"

@Just5KY @martadinata666 - thanks for all your help on getting this done. Saved me a bunch of time.

@xavier-hernandez i tested both Latest and Dev image, works just fine.

@Just5KY @martadinata666
@Just5KY I committed your PR then I made some modifications that I was talking about previously. I also added some additional steps. Not sure if everything is as simple as it should be but have a look at the workflow. Can you test the new develop image and latest image on your local, before I update the README file?
* changed the auto-build for tags only

* will run the workflow manually for main and develop branch, until I get a better handle on mods that I make

* main branch - docker image will be flagged as "latest"

* tags - docker image will be flagged with the tag, i.e. "v1.0.5"

* develop branch - docker image will be flagged as "develop"

As workflows itself depends on personal preferences, from your need stated the current workflow is sufficient.

main branch - docker image will be flagged as "latest"
tags - docker image will be flagged with the tag, i.e. "v1.0.5"

That mean there is 3 flavour instead of two, as i stated before in PR, usually :latest is same as the :vXXX , and keep follow the same with the most recent tag. But your flow :latest main branch, :vXXX tagged version, :develop is develop branch, and keep watching the cache you may still stuck on old version package.

@martadinata666 Appreciate the input. I think you are 100% right on the personal preference point. I think right now this is what I feel the most comfortable with. At some point :latest will equal :vXXX and I might actually take out caching altogether.

@Just5KY tomorrow I'll update the readme file that the 3 docker image versions are available in my repo. Did you want me to remove the link to yours or will you continue to update your docker images?

i will still keep my repo up-to-date.
If anyone wanna use my version, they can


CLI command without arguments should print usage message

Current State
Currently, if you just run the CLI command without arguments
$ p2o
error: missing required argument 'collection'

Proposed Enhancement
Instead of printing the error message, it is a better idea to print usage message to help users understand how to use the CLI tool.
Optionally you could include a welcome message or ASCII art.
Env
$ p2o -version
3.0.1

Hi @kayx23,
The return of errors is intentionally, when you use CI tools like GitHub actions or Jenkins you want to have an exit code with an error, not a help message. For customer manual use you will understand the error also and just using the -h option you will have the help information so....
Best regards.


GitOps setup

Is your feature request related to a problem? Please describe.
I've been following this tutorial https://cyclops-ui.com/blog/2024/11/29/gitops-clickops , however when modifying the values in Cyclops UI these values are not saved back into the repo. I understand that is the way Cyclops works, but I would like to know if there are plans for Cyclops to save this values back to the repo, so a single source of truth is accomplished.
Describe the solution you'd like
I would like Cyclops to save this values back to the repo, so a single source of truth is accomplished.
Additional context
https://cyclops-ui.com/blog/2024/11/29/gitops-clickops
Thanks!

Hey @packituz-gttz, thanks for reaching out!
We did think about Cyclops pushing Module changes to git and then leaving a GitOps tool (ArgoCD) to sync into the cluster where our controller could pick up the changes. You would get the same developer experience with GitOps in the loop.
We can add an option to commit all changes to a git repo. That option would be in the "advanced" section while creating a Module, and you could specify which repo and path to push your Module configuration to. By default, Modules would be applied directly to the cluster.

Would that make sense from your perspective? If yes, we can create a release candidate you can try out. Let us know what you think!

Hi, yes that would be really useful. Thanks!

Hey @packituz-gttz, we made a new release candidate v0.16.0-rc.2, that can commit your module configuration to a git repository.
You can install it with the following command:
kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.16.0-rc.2/install/cyclops-install.yaml && kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.16.0-rc.2/install/demo-templates.yaml

Injecting credentials
Before deploying a module, you need to configure credentials for your git repos so changes can be pushed to a remote repo. For GitHub, you will need to create a token (can be fine-grained just for a single repo) that has read and write access to contents.
You can use that token to create a secret in your cluster with the following command:
kubectl create secret generic my-cyclops-secret \
    -n cyclops \
    --from-literal=username=<github-username> \
    --from-literal=password=<github-token>

Once that is created, you can apply the following resource which maps credentials to a specific repo. You can read more about it here
apiVersion: cyclops-ui.com/v1alpha1
kind: TemplateAuthRule
metadata:
  name: private-repo-rule
  namespace: cyclops            # has to be in cyclops namespace
spec:
  repo: <git-repo>           # git repo you want to push configuration to
  password:
    name: my-cyclops-secret     # name of the previously created secret
    key: password
  username:
    name: my-cyclops-secret     # name of the previously created secret
    key: username

The <git-repo> is the repo to which you want Cyclops to push the configuration to. In the example image below it would be https://github.com/petar-cvit/gitops-infra.
Deploying a module via GitOps
When creating a new repository, in the advanced section, you can toggle the Push changes to Git? and you will be able to see fields to specify to which repo you want to commit your Module configuration.
For the configuration in the image below, Cyclops will commit your Module as yaml to the repository https://github.com/petar-cvit/gitops-infra on branch main, and create a file applications/my-module.yaml. The name of the file of your module is constructed as {path}/{module name}.yaml. If you want to create a file in the root of your repo, you can set the path to “.”

From your git repository, you can sync Modules into the cluster with ArgoCD. With such a setup, you still get a custom UI for your apps, but you also get all the benefits of the GitOps approach. Let me know what you think or if you need help with the setup

Hi, I've been testing it and it works great, just one issue I found while testing is that the Module will keep unsynchronized due to iconURL and templateResolvedVersion being empty on the git repository but on Kubernetes they got values.

Thanks for reporting this @packituz-gttz! We made a new release candidate (v0.16.0-rc.5) that you can install with
kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.16.0-rc.5/install/cyclops-install.yaml && kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.16.0-rc.5/install/demo-templates.yaml

It will push the iconURL and templateResolvedVersion to git to keep things in sync. Other status fields won't be pushed to git, and Argo will stop showing as out of sync. Let me know if you have any other issues with this feature!


Bump shoelace version ^2.13.1->^2.15.0

Fixes: #7
Full shoelace change log described here: 2.15.0

Sweet, thanks!


Add custom tokens

Hey @jorge-campo, sending this for your review!

Thanks for your review Jorge! This branch is quite old, so I feel it would be easier to simply close it and create a new one than fix all of those merge conflicts. I will apply your comments and submit the new version.

Hi @shamisem – When you close a branch and start working on a different one, add a comment to keep track of this fact. See https://github.com/status-im/help.status.im/pull/663, as an example. Thanks!


Ingest time series data for a fourth database (MongoDB) - Stretch

Import time series data for a single database (for example MongoDB) into the application and show it in a basic table in the web application.

:)

Changing MongoDB to ArcticDB


Unable to read response headers

Hi Danial. Is there a way to get access to the response headers on success of the upload? I'm using:
file.upload.success(function (data, status, headers, config) {
	console.log(status);
	console.log(headers);
	console.log(headers['Location']);
});

Console returns:
204
function anonymous(name)
undefined
Network tab shows Response Headers correctly as in this screenshot:  http://cl.ly/image/2f1A1O2X0s3N
Any help? Thanks!

use then() function

Thanks. Still doesn't work. Here's my code:
file.upload.then(function (response, headers) {
	if (response.status > 0) {
		console.log(response.status);
		console.log(headers);
		console.log(headers['Location']);
	}
});

Console returns:
204
undefined
angular.js:11607 TypeError: Cannot read property 'Location' of undefined

Any help with this, Danial?

file.upload.success(function (data, status, headers, config) {
    console.log(status);
    console.log(headers);
    console.log(headers('Location'));
});

Still does not work for me.
      file.upload = Upload.http({
        url: 'http://<IP_ADDRESS>:5000/v1.0/files',
        method: 'POST',
        headers: {
          'Content-Type': file.type
        },
        data: file
      });

      file.upload.success(function (data, status, headers, config) {
        console.log(status);
        console.log(headers());
        console.log(headers('Location'));
      });

Response:
201
Object {}
null

Still not working:
204
function anonymous(name)
null

what browser? Can you create a jsfiddle?

Chrome Version 43.0.2357.132 (64-bit)
Fiddle is: https://jsfiddle.net/2drmu3a0/
It will not work as AWS keys are hardcoded in the JS and I removed them. Any clues on this?

The plugin is using the underlying angular $http for response and response headers, so this issue would not be related to this plugin, there is no special handling of response headers happening in this plugin.
You can try it with regular $http or post it on stackoverflow might be aws related.

I managed to get the headers from an S3 upload by exposing the headers in the CORS config in my bucket:

*
GET
POST
PUT
*
Location
ETag
Date

By doing so, this works:
file.upload.then(function (data) {
console.log(data.headers());
console.log(data.headers('Location'));
}

Lifesafver!

@marianocarpentier Thanks!! Saved me so much time!


Get the Class name from the first namespace declaration in the model file

... instead of just using the first element in the statements array
When the model file contains a strict_types declaration above the namespace declaration, it will not be detected as a Model class, because the $statements array's first element is always checked for the class name which, in the case of a file with the strict types declaration in it, will always fail since the class name structure will be in the next element in the array

#16


Customize link order of Sankey diagram

What problem does this feature solve?
Draw the links in a customized order.
What does the proposed API look like?
option = {
    series: {
        type: 'sankey',
        layout: 'none',
        focusNodeAdjacency: 'allEdges',
        data: [{
            name: 'a'
        }, {
            name: 'b1'
        }, {
            name: 'b2'
        }],
        links: [{
            source: 'a',
            target: 'b2',
            value: 5
        }, {
            source: 'a',
            target: 'b1',
            value: 3
        }]
    }
};

Instead of readering the sankey plot automatically, I would like to customize the order of the links.
a ----- b1
a
a------ b2

a--    --b1
a    x
a--    --b2

https://github.com/apache/incubator-echarts/issues/4880#issuecomment-675304446

Set layoutIterations as 0.
Is it possible to meet your requirement?

@100pah
layoutinteration = 0  only keep the node order, but not the links.

I try to modify the Sankey diagram to visualize some chromosome some rearrangement events, in which one chromosome is a directional unit. The head of chromosome A is linking with chromosome B, and the tail of chromosome A is linking with chromosome C.
For more general case, if the node blocks are directional, the order of the links would matters.

For more general case, if the node blocks are directional, the order of the links would matters.

Thanks. I think that makes sense.


[Operator] Add diagonal backward

PR Category

Type of Change

Description

Issue
Close https://github.com/FlagOpen/FlagGems/issues/314

Progress

[ ] Change is properly reviewed (1 reviewer required, 2 recommended).
[x] Change is responded to an issue.
[x] Change is fully covered by a UT.

Performance

Hi, I have 2 questions.

How to registered backward independently into aten library, I could not find a reference in the repo, so I still implemented a class with forward and backward function as a draft.
I implemented the backward function, and the UT passed.

    def backward(ctx, out_grad):
        logging.debug("GEMS DIAGONAL BACKWARD")
        (inp,) = ctx.saved_tensors
        grad_input = torch.zeros_like(inp)
        diag = torch.diagonal(grad_input, ctx.offset, ctx.dim1, ctx.dim2)
        diag.copy_(out_grad)
        return grad_input, None, None, None

it is simple, use torch.diagonal to get a view of the grad_input, and copy the value from the out_grad,  I wonder if we need a triton kernel here.

@StrongSpoon A gentle reminder.

@StrongSpoon Hi, I have 2 questions.

How to registered backward independently into aten library, I could not find a reference in the repo, so I still implemented a class with forward and backward function as a draft.
I implemented the backward function, and the UT passed.

    def backward(ctx, out_grad):
        logging.debug("GEMS DIAGONAL BACKWARD")
        (inp,) = ctx.saved_tensors
        grad_input = torch.zeros_like(inp)
        diag = torch.diagonal(grad_input, ctx.offset, ctx.dim1, ctx.dim2)
        diag.copy_(out_grad)
        return grad_input, None, None, None

it is simple, use torch.diagonal to get a view of the grad_input, and copy the value from the out_grad, I wonder if we need a triton kernel here.
Thank you very much!

Hi awayzjj,
We used to implement operator with both forward and backward as a subclass of torch.autograd.Function, and register it to the forward interface using AutogradCUDA key. But recently we found that AutogradCUDA could not work with torch.compile perfectly. As a solution, we recommend to implement forward function and backward function, and register them into aten library respectively.
Take tanh as an example, its forward interface is defined in https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/native_functions.yaml. In the previous practice, we implemented class Tanh and registered it into tanh interface. But it's better to register forward function to tanh and backward function to tanh_backward, using CUDA as dispatch key.
- func: tanh(Tensor self) -> Tensor
  device_check: NoCheck   # TensorIterator
  structured_delegate: tanh.out
  variants: function, method
  dispatch:
    QuantizedCPU: tanh_quantized_cpu
    MkldnnCPU: mkldnn_tanh
    SparseCPU, SparseCUDA: tanh_sparse
    SparseCsrCPU, SparseCsrCUDA, SparseCsrMeta: tanh_sparse_csr
    NestedTensorCPU, NestedTensorCUDA: NestedTensor_tanh
  tags: [core, pointwise]
- func: tanh_backward(Tensor grad_output, Tensor output) -> Tensor
  python_module: nn
  structured_delegate: tanh_backward.grad_input

As is the same, there is a definition of diagonal_backward interface, which is expected to be reimplemented by developers.

Besides, we require developer to implement the function by writing a Triton kernel function instead of torch apis. If you are confused about the format, please refer to our source code.

Besides, we require developer to implement the function by writing a Triton kernel function instead of torch apis. If you are confused about the format, please refer to our source code.

Please review my PR, thanks!

Hi, @StrongSpoon
CI failed, but the failed UT is not relavent with my PR(I can reproduce it after runing the UT several times on the latest master branch)


Support plaintext gRPC connection (for use with --insecure)

We currently only support TLS connections

@shaan1337 insecure connections are now supported since b740f71d09d26a2de3a8786ebd82619de9bc68c5
and con be set through the connection string esdb://localhost/?tls=false or  configuration DisableTLS = false.


Refactoring names in the implementation for API Models and implementation/endpoint functions

Improve the names for the API Models and the functions names.
Response ->  BootstrapResponse
get  -> get_bootstrap

Doing some cleanup:

BootstrapResponse was changed to BootstrapGetResponse and BootstrapPostResponse accordingly in https://github.com/repository-service-tuf/repository-service-tuf-api/commit/d24b69bfd8d54c931d17bf6e40a4968ccbea4807#diff-8ce4883d268e87f0aaed768dbec3413cbbbdb442ca8788479f242e88665f0484
get_bootstrap is also named as desired

@kairoaraujo I believe we can close this issue.


fixed to add the change the db connect

@azurebrd yes, pool all the changes and do a batch commit (250 papers at a time).
Thank you so much for going over so many changes and so many PRs!!!


Neglecting to update beta and gamma params in batchnorm

Hello,
hoping this doesn't get lost in the deluge here, but I noticed your d_vars and g_vars do not contain the beta and gamma parameters from the batchnorm layers. This resource suggests that those parameters should be updated using Adam, along with the conv and FC weights/biases.
A simple fix would just be to give the batchnorm layers a name (similar to how you do for conv and fc layers), and grab those variables by name (excluding the moving average/variance variables) when you assign d_vars and g_vars.
All best

In [2]: [k.name for k in self.d_vars]
Out[2]:
[u'discriminator/d_h0_conv/w:0',
 u'discriminator/d_h0_conv/biases:0',
 u'discriminator/d_h1_conv/w:0',
 u'discriminator/d_h1_conv/biases:0',
 u'discriminator/d_bn1/beta:0',
 u'discriminator/d_bn1/gamma:0',
 u'discriminator/d_h2_lin/Matrix:0',
 u'discriminator/d_h2_lin/bias:0',
 u'discriminator/d_bn2/beta:0',
 u'discriminator/d_bn2/gamma:0',
 u'discriminator/d_h3_lin/Matrix:0',
 u'discriminator/d_h3_lin/bias:0']
In [3]: [k.name for k in self.g_vars]                                                                                [175/403]
Out[3]:
[u'generator/g_h0_lin/Matrix:0',
 u'generator/g_h0_lin/bias:0',
 u'generator/g_bn0/beta:0',
 u'generator/g_bn0/gamma:0',
 u'generator/g_h1_lin/Matrix:0',
 u'generator/g_h1_lin/bias:0',
 u'generator/g_bn1/beta:0',
 u'generator/g_bn1/gamma:0',
 u'generator/g_h2/w:0',
 u'generator/g_h2/biases:0',
 u'generator/g_bn2/beta:0',
 u'generator/g_bn2/gamma:0',
 u'generator/g_h3/w:0',
 u'generator/g_h3/biases:0']

ah i see, didnt notice that you had named the BN layers in init().


First push towards a more standardized style.

:+1: good work!

Also, maybe its worth typing up a quick style guide for future contributions? Even if it's just a couple of examples taken from this diff.

I've just been loosely basing myself on the unofficial Ruby styleguide.

(Hmm, looks like this failure of "test_cannot_revert_conflicting_commit" on JRuby was not introduced by my changes here, but by the latest RJGit version.)

I've just been loosely basing myself on the unofficial Ruby styleguide.

:+1: After merging this, let's include a line in the Readme directing to contributors to that guide.


Custom ExecutionStrategy

Hi, I'm trying to configure custom ExecutionStrategy where we could do query caching.
I have a problem wiring things up correctly, as it seems I would need DgsQueryExecutor that I would call as a fallback when value is not in cache. This created a cyclic dependency.
Is there some way to achieve that differently?

Hi - you can always create a bean for the execution strategy and add a qualifier query for queries and mutation for mutations.
Example:
@Bean("mutation")
  public ExecutionStrategy mutationExecutionStrategy(DataFetcherExceptionHandler exceptionHandler) {
    return new AsyncExecutionStrategy(exceptionHandler);
  }

Hope this helps.

Works, thanks!


🐛 [Qbittorrent] New build ignores config/save path

Which addon?

Addon name : Qbittorrent
Addon version : 4.4.5-r0-ls214

Describe the bug

Looks like the new build is creatign a new path and ignores old config/save path.
To Reproduce

Full addon log

Full addon config

System

Supervisor version:  2022.09.1
Host system version:

TO add now it is moving all torrents/files to share where add-on is running and not the mountpath in configuration yaml.
So my storage was full.

Thanks, I'll look at that ASAP

From the bug I can't get my addon working again :S
In the log I see something about it can't change the ownership of the folder path (both using the root user or the regular user pi), I don't know if the main problem is this or the one who says there is a problem with s6-rc.
Could you take a look at help me, please?
`[custom-init] no custom services found, skipping...
[migrations] started
[migrations] no migrations found
cont-init: info: running /etc/cont-init.d/00-aaa_dockerfile_backup.sh
Executing modules script : 00-banner.sh 92-local_mounts.sh 92-smb_mounts.sh 90-dns_set.sh
/etc/cont-init.d/00-aaa_dockerfile_backup.sh: line 15: apt-get: command not found
exec: fatal: unable to exec bashio: No such file or directory
s6-rc: warning: unable to start service init-adduser: command exited 127
00-banner.sh
92-local_mounts.sh
92-smb_mounts.sh
90-dns_set.sh
Executing dependency script with custom elements :
Add-on: Qbittorrent
qBittorrent is a bittorrent client
Add-on version: 4.4.5-r0-ls214-2-bugfix
You are running the latest version of this add-on.
System: Raspbian GNU/Linux 10 (buster)  (armv7 / raspberrypi4)
Home Assistant Core: 2022.9.1
Home Assistant Supervisor: 2022.08.6
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
[08:01:50] INFO: DNS SERVERS set to <IP_ADDRESS> <IP_ADDRESS>
90-dns_set.sh : executing
92-smb_mounts.sh : executing
92-local_mounts.sh : executing
00-banner.sh : executing
cont-init: info: /etc/cont-init.d/00-aaa_dockerfile_backup.sh exited 0
cont-init: info: running /etc/cont-init.d/00-folders.sh
cont-init: info: /etc/cont-init.d/00-folders.sh exited 0
cont-init: info: running /etc/cont-init.d/30-nginx.sh
cont-init: info: /etc/cont-init.d/30-nginx.sh exited 0
cont-init: info: running /etc/cont-init.d/91-qbittorrent_configuration.sh
[08:01:53] INFO: Downloads can be found in /share/usb/qBittorrent
chown: changing ownership of '/share/usb/qBittorrent/Movies': Operation not permitted
chown: changing ownership of '/share/usb/qBittorrent/Series': Operation not permitted
chown: changing ownership of '/share/usb/qBittorrent/Others': Operation not permitted
chown: changing ownership of '/share/usb/qBittorrent': Operation not permitted
[08:01:53] FATAL: Error, please check default save folder configuration in addon
[08:01:54] INFO: Whitelisted subsets will not require a password : localhost,<IP_ADDRESS>,<IP_ADDRESS>/16,<IP_ADDRESS>/16
[08:01:54] INFO: WEBUI username set to pi
[08:01:54] INFO: Alternate UI enabled : vuetorrent. If webui don't work, disable this option
[08:01:57] INFO: Default username/password : admin/adminadmin
[08:01:57] INFO: Configuration can be found in /config/qBittorrent
cont-init: info: /etc/cont-init.d/91-qbittorrent_configuration.sh exited 0
cont-init: info: running /etc/cont-init.d/93-openvpn.sh
[08:01:57] INFO: Direct connection without VPN enabled
cont-init: info: /etc/cont-init.d/93-openvpn.sh exited 0
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.`

Yep, it is a supervised (dockerize) installation on my pi 4.
Mmmm, how can I help you to realize about the error?

It's ok, I see the issue. Previously, my custom code was executed prior to the upstream code, now it is parallel. This induces issues only on supervised installations. I'll hijack their code to force mine being executed first.

Could you please test this version 4.4.5-r0-ls214-2-bugfix2? Thanks

Mmm  I can't update
The command '/bin/sh -c if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && chmod 777 /automatic_packages.sh && eval /./automatic_packages.sh "${PACKAGES:-}" && rm /automatic_packages.sh || (printf '%s\n' "${PACKAGES:-}" > /ENVFILE; if [ -f /etc/s6-overlay/s6-rc.d/init-migrations/run ]; then chmod /etc/cont-init.d/00-aaa_dockerfile_backup.sh && sed -i "1a /./etc/cont-init.d/00-aaa_dockerfile_backup.sh" /etc/s6-overlay/s6-rc.d/init-migrations/run;fi)' returned a non-zero code: 1

Could you please post the full log? The error messages should be below. Thanks!

I can't show much more than this...
The command '/bin/sh -c if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && chmod 777 /automatic_packages.sh && eval /./automatic_packages.sh "${PACKAGES:-}" && rm /automatic_packages.sh || (printf '%s\n' "${PACKAGES:-}" > /ENVFILE; if [ -f /etc/s6-overlay/s6-rc.d/init-migrations/run ]; then chmod /etc/cont-init.d/00-aaa_dockerfile_backup.sh && sed -i "1a /./etc/cont-init.d/00-aaa_dockerfile_backup.sh" /etc/s6-overlay/s6-rc.d/init-migrations/run;fi)' returned a non-zero code: 1
Config folder moved to /config/addons_config/qBittorrent
4.4.5-r0-ls214 (09-09-2022)
Update to latest version from linuxserver/docker-qbittorrent
4.4.5-r0-ls213 (01-09-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls211 (30-08-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls210 (13-08-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls209 (09-08-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls208 (04-08-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls207 (26-07-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls206 (12-07-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls205 (05-07-2022)
Update to latest version from linuxserver/docker-qbittorrent
Default port changed from 6881 to 59595 ; reset your port settings if it doesn't change
<IP_ADDRESS>-r1-ls204 (18-06-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls201 (14-06-2022)
Update to latest version from linuxserver/docker-qbittorrent
Addition of optional noserverino in smb mount code
<IP_ADDRESS>-r1-ls200 (06-06-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r1-ls199 (02-06-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>-r0-ls198 (31-05-2022)
Update to latest version from linuxserver/docker-qbittorrent
4.4.3-r0-ls197 (26-05-2022)
Update to latest version from linuxserver/docker-qbittorrent
4.4.3-r0-ls195 (24-05-2022)
Update to latest version from linuxserver/docker-qbittorrent
4.4.2-r5-ls193 (17-05-2022)
Update to latest version from linuxserver/docker-qbittorrent
4.4.2-r4-ls191 (10-05-2022)
Update to latest version from linuxserver/docker-qbittorrent
Feature : message in log showing if vpn alt mode is working
4.4.2-r4-ls190 (03-05-2022)
Update to latest version from linuxserver/docker-qbittorrent
4.4.2-r4-ls189 (27-04-2022)
Update to latest version from linuxserver/docker-qbittorrent
New feature "silent" : true shows only error messages of qbittorrent and nginx
New feature "openvpn_alt_mode": bind at container level and not app level
Add codenotary sign
Fix openvpn interface bind
Fix qb-web custom ui
Fix download folder
release-4.4.1-ls172 (20-02-2022)
Update to latest version from linuxserver/docker-qbittorrent
Complete rebase to alpine
Fix custom DNS
Host header validation disabled (avoids ingress issues)
Removed openvpn_alternative_mode (please delete from config), now default
Changed openvpn mode to interface binding (no ip leakage)
<IP_ADDRESS>202110311443-7435-01519b5e7ubuntu20.04.1-ls166 (07-01-2022)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202110311443-7435-01519b5e7ubuntu20.04.1-ls165 (04-01-2022)
Update to latest version from linuxserver/docker-qbittorrent
Removed watchdog
New standardized logic for Dockerfile build and packages installation
Allow mounting nvme
Allow mounting local drives by label. Just pust the label instead of sda1 for example
<IP_ADDRESS>202110311443-7435-01519b5e7ubuntu20.04.1-ls159 (31-10-2021)
Update to latest version from linuxserver/docker-qbittorrent
SMB : accepts several disks separated by commas mounted in /mnt/$sharename
<IP_ADDRESS>202110120741-7429-1bae770b2ubuntu20.04.1-ls158 (13-10-2021)
Update to latest version from linuxserver/docker-qbittorrent
Added watchdog feature
<IP_ADDRESS>202110081405-7423-ac5c264e6ubuntu20.04.1-ls157 (08-10-2021)
Update to latest version from linuxserver/docker-qbittorrent
Allow mounting local drives. Set "localdisks" to your disk name such as sda1
Added auto stop, just set the run_duration optional setting
<IP_ADDRESS>202109100310-7422-338d9a084ubuntu20.04.1-ls154 (10-09-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202108291924-7418-9392ce436ubuntu20.04.1-ls152 (31-08-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202108230857-7410-fefce0337ubuntu20.04.1-ls151 (24-08-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202108032349-7395-0415c0c6fubuntu20.04.1-ls149 (05-08-2021)
Update to latest version from linuxserver/docker-qbittorrent
Improved smb mount code
<IP_ADDRESS>202107121017-7389-3ac8c97e6ubuntu20.04.1-ls145 (13-07-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202107050919-7388-ede42910dubuntu20.04.1-ls143 (05-07-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202106272003-7387-ac8105c30ubuntu20.04.1-ls141 (28-06-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202106211645-7376-e25948e73ubuntu20.04.1-ls140 (22-06-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202106201814-7376-e25948e73ubuntu20.04.1-ls139 (21-06-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202106191735-7376-e25948e73ubuntu20.04.1-ls138 (20-06-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202106151345-7374-667d4e421ubuntu20.04.1-ls137 (16-06-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202106080759-7366-33e090cfcubuntu20.04.1-ls136 (09-06-2021)
Update to latest version from linuxserver/docker-qbittorrent
Add banner in log
New option openvpn_alternative_mode, binds only ovpn to qbittorrent and not webui
<IP_ADDRESS>202105022253-7365-063844ed4ubuntu20.04.1-ls133 (11-05-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202105022253-7365-063844ed4ubuntu20.04.1-ls132 (04-05-2021)
Update to latest version from linuxserver/docker-qbittorrent
New option : use specific DNS instead of the router ones to avoid spamming, especially useful if using adguard home/pihole. Keep blank to use the router dns.
<IP_ADDRESS>202104300534-7354-9f8a6e8fbubuntu20.04.1-ls131 (01-05-2021)
Update to latest version from linuxserver/docker-qbittorrent
Robust the smb script to test for several common options
smbv1 bit is not used anymore
<IP_ADDRESS>202104281424-7353-7dd9e7343ubuntu20.04.1-ls130 (29-04-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202104250604-7352-b2a43eeffubuntu20.04.1-ls129 (27-04-2021)
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202104250604-7352-b2a43eeffubuntu20.04.1-ls128
Update to latest version from linuxserver/docker-qbittorrent
Clarified steps to check in case of smb mount fail
New option : set domain for smb share
Addition of openvpn support
<IP_ADDRESS>202104180633-7350-2c8f322afubuntu20.04.1-ls127
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202104090418-7349-789803700ubuntu20.04.1-ls126
Update to latest version from linuxserver/docker-qbittorrent
Addition of ingress
Viewtorrent as default ui
<IP_ADDRESS>202104031018-7348-2b6baa609ubuntu20.04.1-ls125
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202103251603-7345-332b173e0ubuntu20.04.1-ls122
Update to latest version from linuxserver/docker-qbittorrent ; Rebase to focal.
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu20.04.1-ls120
Update to latest version from linuxserver/docker-qbittorrent ; Stop creating /config/data directory on startup
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu20.04.1-ls119
Update to latest version from linuxserver/docker-qbittorrent ; Fix adding search engine plugin
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu20.04.1-ls118
Update to latest version from linuxserver/docker-qbittorrent
Allow mounting shares named \ip\share in addition to //ip/share
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu20.04.1-ls117
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu20.04.1-ls116
Correct VueTorrent link
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu20.04.1-ls115
New configuration option : set download path
New configuration option : set username for webUI
New feature : mount smb share in protected mode
New feature : mount multiple smb shares
New config/feature : mount smbv1
Changed path : changed smb mount path from /storage/externalcifs to /mnt/$NAS name
Removed feature : ability to remove protection and mount local hdd, to increase the addon score
Update to latest version from linuxserver/docker-qbittorrent
Enabling of custom webUI from configuration
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu18.04.1-ls114
Update to latest version from linuxserver/docker-qbittorrent
<IP_ADDRESS>202101191832-7248-da0b276d5ubuntu18.04.1-ls113
Update to latest version from linuxserver/docker-qbittorrent
Whitelist option
Enables PUID/PGID options
Addition of ssl options
Addition of possibility to mount local disc or smb
Tienes instalada la 4.4.5-r0-ls214-2-bugfix. Haz clic en actualizar para actualizar a la versión 4.4.5-r0-ls214-2-bugfix2

Thanks! Should be good now :) hopefully

Uauuuu you are so kind to be so much faster than ligth! thank it is already working now :)

Thanks for the feedback! Happy it works! It was a global code so this avoids all users on supervised to have this bug on all addons :) thanks for the testings and log!


Implemented VolumeLevelIndicator widget

Refactored NowPlayingFragment to use new widget. Also refactored UIUtils.highlightImageView to reduce code duplication.

After merging #405 this isn't merging cleanly. Can you please take a look.

fixed


[release-2.7] rename openshift configmap reloader key

backport PR 519
Bump receives to 3 for e2e tests to ensure quorum on newer Thnaos versions
increase resource quota on open-cluster-management-observability from 12Gi -> 16Gi as receive pods are getting OOMKilled in e2e tests
Exclude tests folders from sonar scans

/retest-required

/lgtm


Add bloom postprocessing based on #2876

on top of #3425
The work for the BloomNode was done by @ChangeCaps in #2876, I just updated it to the newest main on #3425.

Just noting that @CptPotato and @cart had some feedback on the previous PR that may or may not still be relevant / need to be addressed.

I think some examples need to have their lighting adapted. Particularly the lighting example. I'll give the other examples a quick review.

The 2d examples are broken because https://github.com/bevyengine/bevy/pull/3425 doesn't handle 2d yet.
The 3d examples definitely need some tweaking, probably both the example itself and the bloom threshold.

#3425 does double tonemapping, fixing that improves the bloom results significantly.

Continued in #6397.


Commands referring to 'clients' group fail with Chef 12.9.41

I came across this while following some advice on pre-creating nodes.
As an example, the following command from the README claims the 'clients' group does not exist although it is clearly in the group list.

$ date;knife --version;chef gem list knife-acl;echo "*** Groups *** "; knife group list | grep clients; knife acl add group clients containers nodes create,read
Thu May  5 15:08:49 CDT 2016
Chef: 12.9.41

*** LOCAL GEMS ***

knife-acl (1.0.2)
*** Groups ***
clients
FATAL: group 'clients' does not exist

@dannypurcell : Sometime you get this error message when you don't have enough permissions on the chef-server node...

Closing based on @xakraz's comments


iavl: *MutableTree doesn't provide a way to release the database; noticed inside iavl/cmd/iaviewer.ReadTree

Noticed while I was working on some potential improvements for iavl/cmd/iaviewer that ReadTree whose code looks like this
https://github.com/cosmos/iavl/blob/172c349827b861c8d0fc3b5b54404fcb989fe67a/cmd/iaviewer/main.go#L120-L136 returns *iavl.Mutable https://pkg.go.dev/github.com/cosmos/iavl#MutableTree which doesn't have a way to close the database, but this exhibits an API limitation that .MutableTree needs to return a way to close databases or better, perhaps ReadTree should just take in a database.

want to submit a pr?


Add [Eprice] #malicious #unsafe GAHK7E…TODB4A

Address: GAHK7EEG2WWHVKDNT4CEQFZGKF2LGDSW2IVM4S5DP42RBW3K6BTODB4A
Tags: malicious unsafe
Title: Eprice
Requested by @marcusvsouv

Hello , there  they refuse to reimburse me for my investments, a report has already been filed
They are scammers
GAHK7EEG2WWHVKDNT4CEQFZGKF2LGDSW2IVM4S5DP42RBW3K6BTODB4A
c970e35f0c0e9c555ebde40b3b502b8bf44cb82c2ee8d22ce1cdf79f0f154550

,,,,

hello there is no option to delete this message that I wrote myself ?

Hello @MarcusVsouV
You can close the issue.
This issue is something that you will need to contact Binance about: https://www.binance.com/en/support
-Is 301543402 the correct memo for your Binance Account? if not let them know
-It is good to know the transaction ID for the transaction c970e35f0c0e9c555ebde40b3b502b8bf44cb82c2ee8d22ce1cdf79f0f154550 a tech unfimilar with the Stellar system might be helped by giving them the URL from Stellar.Expert to help see what happened and not just the ID number.
https://stellar.expert/explorer/public/tx/c970e35f0c0e9c555ebde40b3b502b8bf44cb82c2ee8d22ce1cdf79f0f154550
-Is the GBQ4YVWSORUJGPFIEB52KPZ75EOBQPSDBQ36L5K4WZX3FE5IGLJY3YD4 your correct wallet?
 Real support people will not need or request that.
Looking towards the future with you,
Rob

Hello @MarcusVsouV
Please feel free to reopen this issue if you feel there is new information about this issue.
Looking Towards The Future With You,
Rob


Running rustls example results in panic on the server side

Bug Report
Version
master
Platform
Linux pop-os 6.0.6-76060006-generic x86_64
Description
Running tls_rustls example  results in panic on the server side:
server:  cargo run --bin tls-server-rustls
client: cargo run --bin tls-client-rustls
then on server:
Got a request from: [::1]:59296 with certs: []
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: hyper::Error(Io, Kind(UnexpectedEof))', examples/src/tls/server_rustls.rs:88:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior: example is working without errors.

Hey! Thanks for the reply, I can retry with logs enabled. The other problem I had is that the list of client certs is empty: with certs: [], shouldn't this contain client certificates?

Here is the output log, but I don't see any obvious problem :thinking:
     Running `target/debug/tls-server-rustls`
2022-12-12T19:17:43.697143Z DEBUG rustls::server::hs: decided upon suite TLS13_AES_256_GCM_SHA384
2022-12-12T19:17:43.697577Z DEBUG rustls::server::hs: Chosen ALPN protocol [104, 50]
2022-12-12T19:17:43.699470Z DEBUG h2::codec::framed_write: send frame=Settings { flags: (0x0), initial_window_size: 1048576, max_frame_size: 16384, max_header_list_size: 16777216 }
2022-12-12T19:17:43.699741Z DEBUG Connection{peer=Server}: h2::codec::framed_read: received frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384 }
2022-12-12T19:17:43.699770Z DEBUG Connection{peer=Server}: h2::codec::framed_write: send frame=Settings { flags: (0x1: ACK) }
2022-12-12T19:17:43.699789Z DEBUG Connection{peer=Server}: h2::codec::framed_read: received frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
2022-12-12T19:17:43.699812Z DEBUG Connection{peer=Server}: h2::codec::framed_write: send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 983041 }
2022-12-12T19:17:43.699904Z DEBUG Connection{peer=Server}: h2::codec::framed_read: received frame=Settings { flags: (0x1: ACK) }
2022-12-12T19:17:43.699921Z DEBUG Connection{peer=Server}: h2::proto::settings: received settings ACK; applying Settings { flags: (0x0), initial_window_size: 1048576, max_frame_size: 16384, max_header_list_size: 16777216 }
2022-12-12T19:17:43.700171Z DEBUG Connection{peer=Server}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
2022-12-12T19:17:43.700226Z DEBUG Connection{peer=Server}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2022-12-12T19:17:43.700246Z DEBUG Connection{peer=Server}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
Got a request from: [::1]:46330 with certs: []
2022-12-12T19:17:43.700508Z DEBUG Connection{peer=Server}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
2022-12-12T19:17:43.700567Z DEBUG Connection{peer=Server}: h2::codec::framed_write: send frame=Data { stream_id: StreamId(1) }
2022-12-12T19:17:43.700594Z DEBUG Connection{peer=Server}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
2022-12-12T19:17:43.701357Z DEBUG Connection{peer=Server}: h2::proto::connection: Connection::poll; IO error error=UnexpectedEof
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: hyper::Error(Io, Kind(UnexpectedEof))', examples/src/tls/server_rustls.rs:92:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Can you tell me what commit you're on? And verify you've changed nothing? Maybe this has to do with linux kernel 6

I'm on https://github.com/hyperium/tonic/commit/d00fd0838bcd84d1f96703af1a9a14deed786154. I have no local changes other than logging enabled (but initially checked without logging)
diff --git a/examples/src/tls/server_rustls.rs b/examples/src/tls/server_rustls.rs
index 8985cf0..e2371e4 100644
--- a/examples/src/tls/server_rustls.rs
+++ b/examples/src/tls/server_rustls.rs
@@ -12,9 +12,13 @@ use tokio_rustls::{
 };
 use tonic::{transport::Server, Request, Response, Status};
 use tower_http::ServiceBuilderExt;
+use tracing_subscriber::EnvFilter;

 #[tokio::main]
 async fn main() -> Result<(), Box<dyn std::error::Error>> {
+    let filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("debug"));
+    tracing_subscriber::fmt().with_env_filter(filter).init();
+
     let certs = {
         let fd = std::fs::File::open("examples/data/tls/server.pem")?;
         let mut buf = std::io::BufReader::new(&fd);

Let me know what else I can check. I'm happy to dig into this :)

Could you clarify the full version of your OS and linux kernel? I am having trouble finding out what version you are using etc.

OS: Pop!_OS 22.04 LTS
Linux version: 6.0.6-76060006-generic<EMAIL_ADDRESS>It is based on Ubuntu 22.04 LTS, but they provide updated kernel, I guess.

I can reproduce on ubuntu 22.04 with 6.0.0-1007-oem.

Same here I can reproduce it on debian with kernel 6. I also updated my code locally on my mac and was not able to reproduce with the same version of rustls. Additionally, this only happens with the rustls and not the general helloworld.

Ok so its not a linux kernel 6+ issue, I am seeing it on 5.4  as well.

Okay so I've been digging some more, beyond the UnexpectedEof I am also seeing NotConnected errors crop up. I wrote a fix for it here https://github.com/hyperium/h2/pull/654.
As for the eof part of this, I am still debugging it but it doesn'thappen
@quinner do you have any idea? When I get eof I see there is around 8k bytes in the buf and thats why its returning eof but I don't know beyond that why its failing.

Platform
server : almalinux 9.1
client  : windows 11
the same happens
The client does not send out "warning alert Close_Notify", not every time

@LucioFranco we've experienced this as well a lot seemingly randomly in prod and I wonder if you think these two issues could be related https://github.com/hyperium/h2/issues/636?

Same two symptoms for me in examples/src/tls_rustls/server.rs:

 http.serve_connection(conn, svc).await --> hyper::Error(Io, Kind(UnexpectedEof)) ;
info.peer_certificates() --> None.

My setup:

Void Linux, kernel 6.6.16_1;
rustc 1.75.0 (82e1608df 2023-12-21);
tonic 233711a72a63f746d386916990fc817e36eabd80.

Also happens outside of examples in the repo, in another project where dep versions mostly mirror those from the examples:
[dependencies]
clap = { version = "4.5.1", features = ["derive"] }
hyper = "0.14"
prost = "0.12.3"
rustls-pemfile = "1"
tokio = { version = "1.36.0", features = ["full"] }
tokio-rustls = "0.24.0"
hyper-rustls = {version = "0.24.0", features = ["http2"]}
tonic = "0.11.0"
tower = "0.4.13"
anyhow = { version = "1.0.80", features = ["backtrace"] }
tower-http = { version = "0.4", features = ["add-extension", "util"] }

[build-dependencies]
tonic-build = "0.11.0"

I'm also having this issue on macOS 14.3 with rustc 1.76.0. This repo will reproduce the issue by starting the server and then the client. Below is the error message:
thread 'tokio-runtime-worker' panicked at src/server.rs:93:52:
called `Result::unwrap()` on an `Err` value: hyper::Error(Io, Kind(UnexpectedEof))
stack backtrace:
   0: rust_begin_unwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
   3: server::main::{{closure}}::{{closure}}
   4: std::panicking::try
   5: tokio::runtime::task::raw::poll
   6: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   7: tokio::runtime::scheduler::multi_thread::worker::Context::run
   8: tokio::runtime::context::scoped::Scoped<T>::set
   9: tokio::runtime::context::runtime::enter_runtime
  10: tokio::runtime::scheduler::multi_thread::worker::run
  11: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
  12: tokio::runtime::task::core::Core<T,S>::poll
  13: tokio::runtime::task::harness::Harness<T,S>::poll
  14: tokio::runtime::blocking::pool::Inner::run


Looking for project cooperation

Hi FlagOpen team！
关注到您在做关于多模态Data Annotation的仓库。这正是我们运营并开发多年的，并且此Xtreme1项目是开源的并且托管在Linux Foundation Data & AI中，也是该基金会唯一的Data annotation & labeling的项目：LF AI & Data Foundation Interactive Landscape
Xtreme1仓库地址：https://github.com/xtreme1-io/xtreme1
希望能和您有更多的交流。
BasicAI Team
Nico
wx:13051105869

Thank you for your interest in the FlagData project and your contribution to open source in the AI field. We have a FlagData technical exchange group in our project's readMe, and you are also welcome to communicate with us in issue.
Best regards


First item in dropdown is highlighted by default

Describe the bug
When opening the dropdown, the cursor bar is already placed on the first item (i.e. it appears to be selected, but in fact isn't).
To Reproduce
See the fiddle you created yourself (for another issue):
https://jsfiddle.net/am7wLgb3/
When clicking, the blue cursor bar is already on "One".
I tried these options, but both didn't change anything:
placeholder: 'foo',
allowEmptyOption: true,

Expected behavior
When the user just opens the dropdown, nothing should be highlighted.

The highlighted item in the dropdown is an indicator of which item would be selected when a user hits the enter key on the keyboard.


[OCM-9095] | test: automated cases id:72174,71174,73538

jfrazier@jfrazier-mac  ~/workspace/rosa   jf_automations ±  ginkgo run -focus 73538 tests/e2e
Ginkgo detected a version mismatch between the Ginkgo CLI and the version of Ginkgo imported by your packages:
Ginkgo CLI Version:
2.11.0
Mismatched package versions found:
2.17.1 used by e2e
Ginkgo will continue to attempt to run but you may see errors (including flag
parsing errors) and should either update your go.mod or your version of the
Ginkgo CLI to match.
To install the matching version of the CLI run
go install github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file.  Alternatively you can use
go run github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file to invoke the matching version of the
Ginkgo CLI.
If you are attempting to test multiple packages that each have a different
version of the Ginkgo library with a single Ginkgo CLI that is currently
unsupported.
Running Suite: ROSA CLI e2e tests suite - /Users/jfrazier/workspace/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 115 specs
SSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 1 of 115 Specs in 3.660 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 114 Skipped
PASS
Ginkgo ran 1 suite in 7.058048834s
Test Suite Passed
jfrazier@jfrazier-mac  ~/workspace/rosa   jf_automations ±  ginkgo run -focus 71174 tests/e2e
Ginkgo detected a version mismatch between the Ginkgo CLI and the version of Ginkgo imported by your packages:
Ginkgo CLI Version:
2.11.0
Mismatched package versions found:
2.17.1 used by e2e
Ginkgo will continue to attempt to run but you may see errors (including flag
parsing errors) and should either update your go.mod or your version of the
Ginkgo CLI to match.
To install the matching version of the CLI run
go install github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file.  Alternatively you can use
go run github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file to invoke the matching version of the
Ginkgo CLI.
If you are attempting to test multiple packages that each have a different
version of the Ginkgo library with a single Ginkgo CLI that is currently
unsupported.
Running Suite: ROSA CLI e2e tests suite - /Users/jfrazier/workspace/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 115 specs
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 1 of 115 Specs in 15.062 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 114 Skipped
PASS
Ginkgo ran 1 suite in 18.707769375s
Test Suite Passed
jfrazier@jfrazier-mac  ~/workspace/rosa   jf_automations ±  ginkgo run -focus 72174 tests/e2e
Ginkgo detected a version mismatch between the Ginkgo CLI and the version of Ginkgo imported by your packages:
Ginkgo CLI Version:
2.11.0
Mismatched package versions found:
2.17.1 used by e2e
Ginkgo will continue to attempt to run but you may see errors (including flag
parsing errors) and should either update your go.mod or your version of the
Ginkgo CLI to match.
To install the matching version of the CLI run
go install github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file.  Alternatively you can use
go run github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file to invoke the matching version of the
Ginkgo CLI.
If you are attempting to test multiple packages that each have a different
version of the Ginkgo library with a single Ginkgo CLI that is currently
unsupported.
Running Suite: ROSA CLI e2e tests suite - /Users/jfrazier/workspace/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 115 specs
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 1 of 115 Specs in 56.493 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 114 Skipped
PASS
Ginkgo ran 1 suite in 1m0.197073583s
Test Suite Passed

/retest

Re-opening new PR.


AMM/exchange-contract. Internal compiler error: Verification failed: Type mismatch found for call to 'log_373'

Describe the bug
I am compiling the AMM in the sway applications.
i got the following error
Internal compiler error: Verification failed: Type mismatch found for call to 'log_373'.
Please file an issue on the repository and include the code that triggered this error.

No issues when building other contracts/libraries. This issue only happens when compiling the exchange-contract.
Steps to reproduce

cd cd AMM/project/contracts/exchange-contract
forc build

Minimal reproducible code example
None

Rust Version
rustc 1.66.0 (69f9c33d7 2022-12-12)
Forc Version
forc 0.33.0
Expected behavior
forc build successfully
Additional context
No response

similar error for airdrop. Type mismatch found for call to 'log_121'

similar error for

airdrop. Type mismatch found for call to 'log_121'
DAO.   Type mismatch found for call to 'log_99'
fractional-NFT-contract Type mismatch found for call to 'log_67'
NFT-contract. Type mismatch found for call to 'log_378'

The repository uses a different version which is stated in the README.

Could you upgrade to the stated versions and let us know if the issues persists? I have not had this issue.

cc @mohammadfawaz for a possible ICE

similar error for

airdrop. Type mismatch found for call to 'log_121'
DAO.   Type mismatch found for call to 'log_99'
fractional-NFT-contract Type mismatch found for call to 'log_67'
NFT-contract. Type mismatch found for call to 'log_378'

The repository uses a different version which is stated in the README.

Could you upgrade to the stated versions and let us know if the issues persists? I have not had this issue.

it works with 0.32.2

Closing since it works with the correct version.

So there's an issue with forc 0.33.0 but not with forc 0.32.2? That's a problem. Let me open an issue in the Sway repo.


Add Export Services from Climate Change Lab

Overview
Allows DataExportService and ImageExportService services to be used in both the Lab and Temperate.
Notes
This includes a modification to the ImageExportService to allow passing in the CSS selector for the chart's parent. This allows it to work in both Temperate and the Lab; previously it used a hard-coded value that only worked for the Lab.
Testing Instructions

Follow the testing instructions in https://github.com/azavea/temperate/pull/1210 and confirm everything works.
Follow the testing instructions in https://github.com/azavea/climate-change-lab/pull/348 and confirm everything works.

Checklist

[x] yarn run lint clean?
[x] yarn run build:library clean?
[x] npm pack clean?
[x] CHANGELOG.md updated?

Connects https://github.com/azavea/temperate/issues/1171

Fixed up the integrity deletions in yarn.lock.


Publish Ansible collection

https://github.com/wttech/aemc-ansible/issues/2

published since 1.0.0


Trying to access array offset on value of type null

https://github.com/reactphp/child-process/blob/1110f31f2638044eeca939ca578d2ae2ebb44115/src/Process.php#L194
This line will cause a fatal error in PHP 8 because of changes in how accessing arrays is handled. if ( isset(...) ) or comparative should be done first before attempting to check attribute/property/class/value/etc.

@valzargaming Thanks for reporting, I've indeed working on this this weekend and will file my PR as soon as possible :+1:
This only affects the new PHP-8 only socket type in fdspec, so I consider this to be a new feature request rather than a bug. Expect a PR in the next couple of days now that #82 has been merged earlier today :shipit:

@valzargaming Thanks for reporting, I've indeed working on this this weekend and will file my PR as soon as possible :+1:
This only affects the new PHP-8 only socket type in fdspec, so I consider this to be a new feature request rather than a bug. Expect a PR in the next couple of days now that #82 has been merged earlier today :shipit:

@valzargaming It seems like I might have misunderstood the problem you're seeing. I've just filed PHP 8 support with #85 and can not see the problem you're seeing. Can you provide a short gist to reproduce this?

@valzargaming It seems like I might have misunderstood the problem you're seeing. I've just filed PHP 8 support with #85 and can not see the problem you're seeing. Can you provide a short gist to reproduce this?

@clue It seems that whatever was causing the issue was resolved at one point as this error no longer occurs during testing. I tried a basic test by attempting to use the React/Filesystem to load a file and return it as a stream, but it still returns a 500 internal server error. Right now I am not sure if this is dependency-related.

$filesystem = \React\Filesystem\Filesystem::create($discord->getLoop()); //Awaiting full PHP 8 support
$rtmp = new Server($discord->getLoop(), function (ServerRequestInterface $request) use ($filesystem) {
	$file = $filesystem->file(__DIR__ . '/media/SpaceEngineers.mp4');
	return $file->exists()
		->then(
			function () use ($file) {
				return $file->open('r', true)
					->then(function ($stream) {
						echo '[TEST]' . __FILE__ . ':' . __LINE__ . PHP_EOL;
						file_put_contents('stream.txt', $stream); //0 bytes
						file_put_contents('stream.mp4', $stream); // 0 bytes
						return new Response(200, ['Content-Type' => 'video/mp4'], $stream);
					});
			},
			function () {
				return new Response(404, ['Content-Type' => 'text/plain'], "This video doesn't exist on server.");
			});
});
$rsocket = new \React\Socket\Server(sprintf('%s:%s', '<IP_ADDRESS>', '55554'), $discord->getLoop());
$rtmp->listen($rsocket);

@clue It seems that whatever was causing the issue was resolved at one point as this error no longer occurs during testing. I tried a basic test by attempting to use the React/Filesystem to load a file and return it as a stream, but it still returns a 500 internal server error. Right now I am not sure if this is dependency-related.

$filesystem = \React\Filesystem\Filesystem::create($discord->getLoop()); //Awaiting full PHP 8 support
$rtmp = new Server($discord->getLoop(), function (ServerRequestInterface $request) use ($filesystem) {
	$file = $filesystem->file(__DIR__ . '/media/SpaceEngineers.mp4');
	return $file->exists()
		->then(
			function () use ($file) {
				return $file->open('r', true)
					->then(function ($stream) {
						echo '[TEST]' . __FILE__ . ':' . __LINE__ . PHP_EOL;
						file_put_contents('stream.txt', $stream); //0 bytes
						file_put_contents('stream.mp4', $stream); // 0 bytes
						return new Response(200, ['Content-Type' => 'video/mp4'], $stream);
					});
			},
			function () {
				return new Response(404, ['Content-Type' => 'text/plain'], "This video doesn't exist on server.");
			});
});
$rsocket = new \React\Socket\Server(sprintf('%s:%s', '<IP_ADDRESS>', '55554'), $discord->getLoop());
$rtmp->listen($rsocket);

@valzargaming It doesn't looks like this would be related to this project, so I'm closing this for now. Please file an issue in reactphp/http or reactphp/filesystem if the problem persists and I'm happy to take a look at this :+1:

@valzargaming It doesn't looks like this would be related to this project, so I'm closing this for now. Please file an issue in reactphp/http or reactphp/filesystem if the problem persists and I'm happy to take a look at this :+1:


try to upgrade dependency

Description
Content1 ...
Content2 ...
Content3 ...

This PR has:

[ ] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[ ] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[ ] added integration tests.
[ ] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

Hi, thanks for your contribution!
Would you like to share the reason why you upgrade the version of cmake?


13052 - Update the learn more link for Wills - Change order - add in COMING SOON

https://www.github.com/bcgov/entity/issues/13052

Fix Wills Learn More Url (New Environment Variable WILLS_LEARN_MORE_URL)
Change the order of tiles in BCRegistriesAccount.vue.
Change the launch darkly flag (already setup in DEV/TEST, not enabled in PROD).

Temporary Url for review: https://yfthig-dev--pr-89-frohykom.web.app


Not able to connect to webapp once I create DB?

So Right now I'm doing
app.use(orm.express("mysql://username:password@localhost:3000/db", {
...
}
and
var server = app.listen(3000, function () ..
}
However. When I visit
app.get('/', function (req, res) {
res.send('Hello World!');
});
the page just takes forever to load. If I remove the app.use hello world shows up. Does anyone know whats causing this issue and how to resolve it?

Nvm Resolved


Update master from local repo changes + Update electron following #3

Copy from #3

[x] Update files to match node-gyp 6.1.0: battlelist.cc, mouse.cc and focus.cc modules
[x] Add missing features not yet commited for macro and unown quests
[x] Update package.json -> electron and electron-rebuild ⬆

Also:

[x] Update with missing features from local repository.

From now on

Missing refactor in battlelist.cc and 🚬 testings locally


Better UX for invalid start.gg key

rn can show up as mysterious 400 error

this is also relevant because start gg keys can expire or be invalidated


CMake cache vars are missing project name prefix

Describe the bug
Some CMake cache vars are missing a project specific prefix.
This can lead to problems when eCAL is added to another project via add_subdirectory e.g. via FetchContent.
In addition, using a common prefix for all cache vars will cluster them nicely in CMake GUI.
Expected behavior
All CMake cache vars have a common prefix.
Desktop (please complete the following information):
Not applicable

I totally agree with this PR. The ecal-core standalone project is currently still work in progress however and we keep it compatible with the main eCAL Repo, which is why I don't want to merge the PR, yet.
In a branch I even went a bit further and prefixed everything with ECAL_CORE_COMPONENT_*, ECAL_CORE_THIRDPARTY_* etc.
https://github.com/eclipse-ecal/ecal-core/blob/847e13c9d9a721dacd13ecd415139948671d54a7/CMakeLists.txt#L85
We will get to  this! 😊

Done


Adding size 16 browser and operating system icons

The cypress design system is currently missing browser and operating system icons.
These icons will be used in IATR on the app side: Link to Figma

I think we should have them in here (it cost nothing and is useful everywhere).
I agree that we should remove all configuration from the icons since the color is part of the brand.
Thank you @amehta265

@mapsandapps Both?


Add UMD and package.json

Script can be installed via npm and can be used with Node.js, RequireJS or directly in browser.
I found this script very useful but was unable easily install it via npm and use in Node.js.
This PR fixes the issue.

Thanks, this is a really great idea. Much appreciated. Unfortunately I am a bit busy so I won't have time to review this until after the holidays.
One quick question: why did you move the declaration of collectCharacters() inside the while loop? Seems cleaner/more efficient to declare once outside and reuse.

Hi @albell, it is an issue of the git diff.
I just wrapped your code in the UMD template and removed references to the window object.

Got it, yes the diff was a bit confusing on that point at first glance. Thanks for the contribution!

Great!
Would be also nice to publish package on npm now.


Text Translation Samples: Updating README.md to use java sample code snippets

Description
Text Translation Samples: Updating README.md from java samples. Modifies the README.md file to include snippet names for use by the Maven codesnippets plugin available here:
https://github.com/Azure/azure-sdk-tools/tree/main/packages/java-packages/codesnippet-maven-plugin
Corresponding code for the snippets is found in the java samples, modified to include the snippet name in a comment block:
// BEGIN snippet-name
...
// END snippet-name
When the project is compiled the codesnippet plugin reads the java samples and updates the README.md file with the corresponding code snippet:
mvn compile process-sources
The processed README.md is found in this commit.

API change check
API changes are not detected in this pull request.


x/mobile:  cannot use generic type demo.GenericTestData[T any] without instantiation

I have a piece of code：
func NewGenericTestData[T any](path string) *GenericTestData[T] {
return &GenericTestData[T]{
dataPath: strings.TrimRight(path, "/"),
}
}
type GenericTestData[T any] struct {
dataPath string
*CBaseInfo
Data T
}
When I run gomobile, I get an error: cannot use generic type demo.GenericTestData[T any] without instantiation

I also have this problem. I'd like to compile a package with many functions, some of which have generics (which I'd expect would be excluded from gomobile stuff). It seems it's not possible and I must separate in different packages things with generics. Not useful to need to separate them.


add option to edit commit message of merges

Currently all merges are commited with a standard merge message for bugfixes, hotfixes, features etc.
it would be nice to be able to edit these messages separately for each merge (into develop and into master).

Unfortunately, I only build a visual interface around script that I have no power over. All parameters it accepts I, added to the process.


provide push and pull button

Dear developer, i think it will better to provide buttons for push and pull on the right side bar.

What do you mean by the right side? Do you want an extra pane like backlinks or outline?

yes, that is what i mean, it would be much efficient to manage my note, at the present i need always open an terminal to submit my last alternation before i shutdown.

Oh I think you don't know Obsidian commands right? When you press Ctrl  + p a command palette should open. There you can search for git and should see commands for committing -> pushing and pulling. When you press Enter the command is called. You should get notifications, when the plugin commits and pushes/pulls

The command pallete needs to be activated from the Core Plugins:

Otherwise you can add a Hotkey.

omg,what a easy way, thank all of you.

Almost every plugin has commands in addition to the default Obsidian ones, which can be invoked there.


Talk::getInbox();

I try to use this function, but it returns only conversations where I'm a sender.
Is it right?
To get all conversation ( where I'm is as sender and where I'm is a replyer) which function do I need to use?

As a authenticated user sender and replyer is a same thing. So when you send a message its act as a sender or replyer

I understand that, but by some reason I'm getting only where I'm sender

Please give me an example...

Sent by mail

When i call Talk::getInbox() function after Talk::setAuthUserId(auth()->user()->id);

I am only getting one record.
One of the two login user, receiver id and sender id is same and also message is wrong

or
http://shareimage.posintechnologies.com/25_11_16_20_00_41.png

am i doing something wrong?

Yes you do something wrong, inbox mean messages thread. when you call getInbox, it return you all message tread where you involve. If you want to get all message with your desire user, you have to call getConversationsById($conversationId) or getConversationsByUserId($userId).
@samposin

ok got it, thanks @nahid


user-settings-page extension for email-notifications

In our company, we have got many Apps to manage with multiple builds and development distributions per day. It would be very helpful if any user could manage email-notification settings for all apps on a central/single page.
Currently, we need to go to any app’s settings page and turn email-notifications on/off or entirely disable email-notifications for the user.

Thanks for the request, how many apps are we talking about in your case, just to get an idea?

we currently have got 150 Apps to care about


gyp is raising an error due to duplicate basenames

When trying to build my project, the following error is stopping the build:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/chris/npm/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/chris/git/node-aac/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/chris/npm/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/chris/.node-gyp/6.3.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/chris/.node-gyp/6.3.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/chris/npm/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/chris/git/node-aac',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
static library deps/fdk-aac/fdk-aac.gyp:libfdk-aac#target has several files with the same basename:
  sbr_rom: libSBRdec/src/sbr_rom.cpp libSBRenc/src/sbr_rom.cpp
  sbr_ram: libSBRdec/src/sbr_ram.cpp libSBRenc/src/sbr_ram.cpp
libtool on Mac cannot handle that. Use --no-duplicate-basename-check to disable this validation.
gyp: Duplicate basenames in sources section, see list above
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1

I don't know why gyp is raising the error, because running the build with the --no-duplicate-basename-check will insert the following into the config.gypi:
"duplicate_basename_check": "false".

Well, it says why: libtool doesn't like it.
It's not just OS X.  msbuild on Windows doesn't always handle duplicate basenames well, either.

Seems this error was removed on latests versions of gyp after deprecation of VisualStudio 2008, an update of gyp would fix it. Is there any upcoming version for that?

I have reviewed the code and in fact it would just be to pass the argument. Probably it would be checked and called inconditionally for Linux, so there's no problems there... I could be able to do a pull-request for that.

I'm going to close this because the duplicate basename check still exists in gyp master and I don't expect that to change.


Refactor cell hash provider

Can't comment farther down, but I thought the traceback stuff was moving out of this too?

Looks good to me. Thanks.

Codecov Report

Merging #10074 (de665e2) into main (ce71b9d) will decrease coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##            main   #10074   +/-   ##
======================================
- Coverage     64%      64%   -1%
======================================
  Files        216      216
  Lines      10056    10095   +39
  Branches    1611     1618    +7
======================================
+ Hits        6505     6517   +12
- Misses      3027     3050   +23
- Partials     524      528    +4

Impacted Files
Coverage Δ

src/platform/common/helpers.ts
83% <0%> (-17%)
:arrow_down:

src/platform/export/exportUtil.node.ts
73% <0%> (-13%)
:arrow_down:

src/platform/common/utils/platform.ts
53% <0%> (-7%)
:arrow_down:

...c/platform/common/platform/platformService.node.ts
62% <0%> (-5%)
:arrow_down:

src/platform/errors/index.ts
68% <0%> (-4%)
:arrow_down:

src/platform/common/platform/fileSystem.node.ts
76% <0%> (-4%)
:arrow_down:

src/platform/common/configSettings.ts
82% <0%> (-2%)
:arrow_down:

src/platform/export/types.ts
100% <0%> (ø)

src/platform/progress/decorator.node.ts

src/platform/export/exportToPDF.node.ts

... and 20 more


No input seemingly being given.

I have followed all the steps of setting up the project with the core voice networker, and I am starting the recording on the initiation of the player prefab. I had to remove the Network Object script due to it erroring due to not being able to spawn as a nested network object, not sure if that would be the issue. There are no errors. Am I doing something wrong?

You need to have the network object for it to work. but im in the same boat as you. im struggling to get it to spawn correctly.


ARROW-4049: [C++] Arrow never use glog even though glog is linked.

The following is a part of arrow/util/logging.cc.
#ifdef ARROW_USE_GLOG
typedef google::LogMessage LoggingProvider;
#else
typedef CerrLog LoggingProvider;
#endif

As you see, when ARROW_USE_GLOG is defined, glog is intended to be used but it's not never defined and glog is never used.
I've fixed this by adding add_definition command when  CMake variable ARROW_USE_GLOG is ON.

Codecov Report

Merging #3196 into master will increase coverage by 1.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3196      +/-   ##
==========================================
+ Coverage   86.42%   87.48%   +1.06%
==========================================
  Files         504      446      -58
  Lines       69623    65862    -3761
==========================================
- Hits        60172    57620    -2552
+ Misses       9354     8242    -1112
+ Partials       97        0      -97

Impacted Files
Coverage Δ

go/arrow/array/table.go

go/arrow/math/uint64_amd64.go

go/arrow/internal/testing/tools/bool.go

go/arrow/internal/bitutil/bitutil.go

go/arrow/memory/memory_avx2_amd64.go

go/arrow/array/null.go

go/arrow/datatype_nested.go

go/arrow/array/string.go

go/arrow/math/uint64_avx2_amd64.go

go/arrow/array/builder.go

... and 50 more

Continue to review full report at Codecov.

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


Documentation for NHS England on how to merge versioned folders (branches)

Description
NHS England have requested documentation for how to merge versioned folders. This is for their processes of managing their data dictionary branches, involving (in their words):

Merging - to move changes from their trunk branch (main) to another branch
Incorporating - to move changes from a branch into the trunk branch (main)

(In essence both are actually "merging", it's just the terminology they use).
Additional context
This needs to be written as a user guide, so:

Easy to follow
Including screenshots
Correct use of language for the reader
Explaining any caveats or things to watch out for

Duplicate of MauroDataMapper-NHSD/mdm-plugin-nhs-data-dictionary#102


HOSTEDCP-1061: [release-4.13] Implement dedicated request serving nodes for HostedClusters

What this PR does / why we need it:
Enables an isolation mode of only request serving pods in which those pods are allocated to dedicated nodes of the management cluster. The rest of the control plane pods can coexist with the pods of other hosted clusters in common nodes.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #HOSTEDCP-1061
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[x] This change includes unit tests.

Looks like a hiccup with the CI registry:
        message: Back-off pulling image "registry.build04.ci.openshift.org/ci-op-fcvkrl54/stable@sha256:1e76c3abdc8112cf950533f3dbc7c897f49d57c90f1227c176651fc2c5530200"
        reason: ImagePullBackOff

/retest-required


Error using loss and custom metric

Problem
I have a binary classification task with a highly imbalanced dataset. Therefore, i want to use the logloss in combination with a custom function (fbeta score) as scoring metric. However, i get the  error (Unknown metric function <function Classifier.xgb_custom_fbeta_score at 0x0000015F662DADD0>) for the following implementation.
If i use only the custom metric it works but then i can not track the logloss during training and validation.
Implementation
model = XGBClassifier(booster=config["xgb_params_binary"]["boosting_type"],
                    objective="binary:logistic",
                    disable_default_eval_metric=True,
                    eval_metric = None,
                    max_depth=hp["max_depth"],
                    learning_rate=hp["lr"],
                    colsample_bytree=hp["colsample_bytree"],
                    scale_pos_weight=weight_factor,
                    gamma=hp["gamma"],
                    n_estimators= config["train_settings"]["n_estimators"],
                    verbosity=0,
                    random_state=42
                    )

def xgb_custom_fbeta_score(preds, dtrain):
        beta = 2
        labels = dtrain.get_label()

        preds_binary = np.round(preds)

        fbeta = fbeta_score(labels, preds_binary, beta=beta)

        return 'fbeta', fbeta

callbacks = [xgb.callback.EarlyStopping(config["train_settings"]["early_stopping"], metric_name='fbeta')]

metrics = ['logloss', xgb_custom_fbeta_score]
model.fit(X_train, y_train,
        eval_set=[(X_train, y_train), (X_val, y_val)],
        eval_metric=metrics,
        callbacks=callbacks
       )

Hi, due to limitations in the existing implementation, when a custom metric is used, no additional metric names is allowed. However, feel free to remove the disable_default_eval_metric parameter since the default metric should be logloss, then pass the custom metric as:
xgb.XGBClassifier(eval_metric=fbeta_score)

assuming the fbeta_score is similar to the scores in sklearn. Turn it into an error function if you need early stopping.

Hi @trivialfis ,
Could you help clarify below suggestion ?

when a custom metric is used, no additional metric names is allowed.

If I want to track both logloss and one custom metric fbeta, can I write them into one single function such as below, or the customized metric should contain one single metric only ?
def xg_custom_composed_score(preds, dtrain):
    logloss = function_calculate_logloss(preds, dtrain)
    fbeta = fbeta_score(preds, dtrain, beta)
    return [("logloss", logloss), ("fbeta", fbeta)]

Unfortunately, XGBoost doesn't work with composite metrics. However, you can use the logloss inside XGBoost along with the fbeta score:
import numpy as np
import xgboost as xgb
from sklearn.datasets import load_digits
from sklearn.metrics import fbeta_score

X, y = load_digits(n_class=2, return_X_y=True)

def error(y_true, y_pred, *args, **kwargs) -> float:
    classes = np.repeat(0, y_pred.shape[0])
    classes[y_pred > 0.5] = 1
    y_pred = classes
    return -fbeta_score(y_true, y_pred, *args, **kwargs, beta=1.0)

clf = xgb.XGBClassifier(eval_metric=error)

clf.fit(X, y, eval_set=[(X, y)])

[0]     validation_0-logloss:0.44484    validation_0-error:0.99726
[1]     validation_0-logloss:0.30749    validation_0-error:0.99726
[2]     validation_0-logloss:0.21896    validation_0-error:0.99726

In case anyone using XGBoost native API , not sklearn API, here is the example:
import numpy as np
import xgboost as xgb
from sklearn.datasets import load_digits
from sklearn.metrics import fbeta_score
from sklearn.model_selection import train_test_split

X, y = load_digits(n_class=2, return_X_y=True)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=131)

dtrain = xgb.DMatrix(data=X_train, label=y_train, missing=-999999999)
dvalid = xgb.DMatrix(data=X_test,  label=y_test,  missing=-999999999)

def error_func(predt: np.ndarray, dtrain:xgb.DMatrix) -> Tuple[str, float]:
    y_true = dtrain.get_label()
    classes = np.repeat(0, y_true.shape[0])
    classes[predt > 0.5] = 1
    y_pred = classes
    return "-fbeta", -fbeta_score(y_true, y_pred, beta=0.5)

params = {
    "base_score": 0.5,
    "gamma": 0,
    "eta": 0.1,
    "max_depth": 3,
    "reg_alpha": 0,
    "reg_lambda": 1,
    "objective": "binary:logistic",
}

output = xgb.train(params=params,
                   dtrain=dtrain,
                   num_boost_round=100,  # set a high number
                   evals=[(dtrain, "train"),(dvalid, "validation")],
                   custom_metric=error_func,
                   verbose_eval=True
                   )


verify pin: smart card error 6983: authentication method blocked

Hello,
I'm trying to use piv-go. No problem on OSX, but on my Arch Linux I've this error:

verify pin: smart card error 6983: authentication method blocked

Same error with good or bad PIN.
libpcsclite-dev has been installed.

It works as expected, I locked my pin.
Sorry.


Backdoor on PHP 5.6

** removed security issue as it should not be public, daeks **

Fixed with https://github.com/Codiad/Codiad/pull/974


Update segwitsupport.csv

Added Crypto-Games.net to the list, popular bitcoin casino

merged in 3c39c7f


Fixed whitespace assumption

This fixes #279
Still removes everything before the colon including the colon itself.
But then all leading whitespace is removed

Pull Request Test Coverage Report for Build 913

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

Totals

Change from base Build 911:
0.0%

Covered Lines:
972

Relevant Lines:
1290

💛  - Coveralls

Pull Request Test Coverage Report for Build 913

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

Totals

Change from base Build 911:
0.0%

Covered Lines:
972

Relevant Lines:
1290

💛  - Coveralls


[Bug]:  'Find in Page' text box which appears after pressing Ctrl+F doesn't show any text when something is typed.

Description
Below Image shows 'Find in Page' text box without any text and selection. It shows bugged arrow placement and two weirdly placed lines in the middle.

Following image shows 'Find in Page' text box with text and selection. Text is not visble/too much too the left and box selection highlighting are not present.

Expected behavior (Chromium)

Additional info
Arch Linux 6.2.12
Librewolf version 112.0.1-2 (64-bit)

Firefox find bar don't support auto width as in old versions, but I applied general fixes.


fix: replace isSameNode with '==='

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   83.92%   83.92%
=======================================
  Files           1        1
  Lines         168      168
=======================================
  Hits          141      141
  Misses         27       27

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build 117

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

Totals

Change from base Build 116:
0.0%

Covered Lines:
141

Relevant Lines:
168

💛  - Coveralls


Ability to tie Boot2Docker VM with Kitematic status

Would be cool to have a checkbox that when checked would automatically shut down the Boot2Docker VM when I close Kitematic and also start it up when I open the app. It would have to be an option, I imagine, as folks probably use it in other ways (e.g. closing kitematic while still playing with VM).

Added in 0.5


Allow and skip null handlers when adding a vararg list of handlers

Motivation
Allowing null handlers allows for more convenient idioms in
conditionally adding handlers, e.g.,
ch.pipeline().addLast(
        new FooHandler(),
        condition ? new BarHandler() : null,
        new BazHandler()
);

Modifications

Change addFirst(..) and addLast(..) to skip null handlers, rather than
break or short-circuit.
Add new unit tests.

Result

Makes addFirst(..) and addLast(..) behavior more consistent
Resolves https://github.com/netty/netty/issues/10728

@netty-bot test this please

@chrisvest any concerns ?

@Bennett-Lynch after I merged I noticed this was against 4.1 so I reverted. We want this for master. Can you do another PR ?

@Bennett-Lynch after I merged I noticed this was against 4.1 so I reverted. We want this for master. Can you do another PR ?

Sorry about that. Will do.

https://github.com/netty/netty/pull/10776


[BUG] Bots don't use CZ radio wav sounds (CS 1.6)

I'm using YAPB by itself (no metamod or amx) on the latest version of CS 1.6 for Linux, playing against bots on a listen server.
I copied the "bot" folder containing all the .WAVs from Condition Zero, so that it exists in my CS 1.6 folder as well, like this:
Steam/steamapps/common/Half-Life/cstrike/sound/radio/bot
All the wavs are there, yb_radio_mode is set to 1, and the path in the yapb settings (sound/radio/bot) is correct. I don't know why they don't use all those voices like in Condition Zero. They only use the standard player radio sounds.

I made a mistake. I thought chatter refers to text chat, so I had it disabled, but apparently that's the CZ bot chat. The voices work as intended.


Migrations Logs

Why not have a table called migrations_log where they would keep the output of shot migrations ?
Is stored log msgs (exemple):
applying m150703_191513_drop_danfe_column
> drop column boleto_por_email from table {{%finlegado_cliente}} ... done (time: 0.325s)
> drop column danfe_por_email from table {{%finlegado_cliente}} ... done (time: 0.091s)

In one table content colluns:

migrarion
log
status
time

why would you need such a table?

btw, a colum added to the existing migration table would be enough if needed at all.

Yes @cebe one colunn in the migrations table nomed 'log' type text long is cool.

I tink in the yii2 debug bar (tool) have one new feature: Show migations log. Simples show in the register by migrations table.
It's is cool.

@samdark  feature gii? It's is in the core component migrations,not?

Sill not convinced. Why is this need? what is the benefit of having such a log information?

Does not have any sense for me either.
You can easily store migration command output into the file using > console operatior if it is needed:
php yii migrate > /path/to/my.log


Module 2 exercises Chapman Owusu-Sekyere

Please "drag & drop" exercise 1 pdf file below.
Model 1 Assing 2(1).pdf

Please "drag & drop" exercise 2 pdf file below.
Model 1 Assing 2(2) .pdf

Please "drag & drop" exercise 3 pdf file below.
Model 1 Assing 2 (3).pdf

Please "drag & drop" exercise 4 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 2 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Well done, Chapman. You clearly grasped the material outlined in Module 2 and successfully applied it to these exercises. Thank you for your participation!