Support for multiple aggregations

Hey there @pdphilip, thanks for this package.
Would it be possible to add support for multiple aggregations.
Using your package, the rawAggregation query below returns only one collection, yet there's actually 3 results: min_runtime, avg_runtime and max_runtime.
$body = [
            'size' => 0,
            'aggs' => [
                'min_runtime' => [
                    'min' => [
                        'field' => 'runtime',
                    ],
                ],
                'avg_runtime' => [
                    'avg' => [
                        'field' => 'runtime',
                    ],
                ],
                'max_runtime' => [
                    'max' => [
                        'field' => 'runtime',
                    ],
                ],
            ],
            'query' => [
                'bool' => [
                    'must' => [
                        'range' => [
                            'datetime' => [
                                'gte' => '2024-07-03',
                                'lte' => '2024-07-09',
                            ]
                        ]
                    ]
                ]
            ]
        ];
        $results = MyLog::rawAggregation($body);
        dump($results);
        exit;

Output of the DSL query from Dev Tools:
{
  "took": 1,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 10000,
      "relation": "gte"
    },
    "max_score": null,
    "hits": []
  },
  "aggregations": {
    "avg_runtime": {
      "value": 1.1940759289359395
    },
    "min_runtime": {
      "value": 0.15059208869934082
    },
    "max_runtime": {
      "value": 66.78320789337158
    }
  }
}

Hey @ftrudeau-pelcro, since you're doing basic aggs, why not just use the build-in Eloquent methods? ex:
$results['max'] = MyLog::where('datetime', '>=', '2024-07-03')->where('datetime', '<=', '2024-07-09')->max('runtime');
$results['min'] = MyLog::where('datetime', '>=', '2024-07-03')->where('datetime', '<=', '2024-07-09')->min('runtime');
$results['avg'] = MyLog::where('datetime', '>=', '2024-07-03')->where('datetime', '<=', '2024-07-09')->avg('runtime');

Docs: https://opensearch.pdphilip.com/aggregation#basic-aggregations
Let me know if that worked, or what I missed.

Hey @pdphilip.
Yes, that's what I added up using:
MyLog::whereBetween('datetime', [$period_start->toIso8601String(), $period_end->toIso8601String()])->avg('runtime')
MyLog::whereBetween('datetime', [$period_start->toIso8601String(), $period_end->toIso8601String()])->min('runtime')
MyLog::whereBetween('datetime', [$period_start->toIso8601String(), $period_end->toIso8601String()])->max('runtime')
Works fine of course! It's just a little sub-optional, since three queries are ran instead of just one which would yield the results of the three aggregations from just one rawAggregation query.
Might create a PR for this at some point, in the meantime feel free to close this and add to your backlog of requests for a future release, if you find my suggestion relevant.

I see, I can't imagine that it's too taxing to run them separately but that's not for me to say. Let's leave it open for now, I'll think of a convenience method to run these in one call.
Update to come. Cheers

Hi @ftrudeau-pelcro,
There's a new agg() function in the latest release that will do this for you (v2.0.2), Docs: https://opensearch.pdphilip.com/aggregation#grouped-aggregations.
In this example you will run:
 MyLog::where('datetime', '>=', '2024-07-03')->where('datetime', '<=', '2024-07-09')->agg(['max','min','avg'],'runtime');

Cheers


Validationcontroller log spams in the istio pod of external control plane

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
I created an external control plane cluster following this doc https://preliminary.istio.io/latest/docs/setup/install/external-controlplane/
I want to set the config cluster in the external control plane cluster so I updated the install file as below:
cat < external-istiod.yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: external-istiod
spec:
profile: empty
meshConfig:
rootNamespace: external-istiod
defaultConfig:
discoveryAddress: $EXTERNAL_ISTIOD_ADDR:15012
proxyMetadata:
XDS_ROOT_CA: /etc/ssl/certs/ca-certificates.crt
CA_ROOT_CA: /etc/ssl/certs/ca-certificates.crt
components:
pilot:
enabled: true
k8s:
overlays:
- kind: Deployment
name: istiod
patches:
- path: spec.template.spec.volumes[100]
value: |-
name: config-volume
configMap:
name: istio
- path: spec.template.spec.volumes[100]
value: |-
name: inject-volume
configMap:
name: istio-sidecar-injector
- path: spec.template.spec.containers[0].volumeMounts[100]
value: |-
name: config-volume
mountPath: /etc/istio/config
- path: spec.template.spec.containers[0].volumeMounts[100]
value: |-
name: inject-volume
mountPath: /var/lib/istio/inject
env:
- name: INJECTION_WEBHOOK_CONFIG_NAME
value: ""
- name: VALIDATION_WEBHOOK_CONFIG_NAME
value: ""
- name: EXTERNAL_ISTIOD
value: "true"
- name: LOCAL_CLUSTER_SECRET_WATCHER
value: "true"
values:
global:
caAddress: $EXTERNAL_ISTIOD_ADDR:15012
istioNamespace: external-istiod
operatorManageWebhooks: true
meshID: mesh1
configValidation: true
configCluster: true
EOF
After I installed the external control plane with istioctl install -f command, I checked the istio pod log but it is full of validationcontroller log as below, but I cannot figure out what is the problem with the validation controller:
9:30:48.378689ZinfovalidationControllerSuccessfully updated validatingwebhookconfiguration istio-validator-external-istiod (failurePolicy=Fail,resourceVersion=865253)
2023-07-26T09:30:48.378746ZinfovalidationControllervalidatingwebhookconfiguration istio-validator-external-istiod (failurePolicy=Fail, resourceVersion=865253) is up-to-date. No change required.
I created a remote cluster but the istio proxy failed start with error:
replicaset-controller  Error creating: Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": failed to call webhook: Post "https://istiod.external-istiod.svc:443/inject/clus
ter/qw-cluster1/net/network1?timeout=10s": x509: certificate signed by unknown authority
Version
1.18.1
1.18.2

Additional Information
No response
Affected product area

[ ] Ambient
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[X] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

Have you configued the certs correctly in two clusters? If yes, you may check if the MutatingWebhookConfiguration is correct.

I checked that the cabundle in MutatingWebhookConfiguration is emply so I manually add the cabundle and the pod can start now. The question is why the certs not installed in the remote cluster automatically.

I think this should relate to the wrong config setup, which leads to the webhook incorrectly updated(miss the caBundle).

Besides, I am trying to set the config cluster in the external control plane cluster instead of the remote cluster, I want to know if this can work and is there any tutorial to setup the external control plane cluster with the configcluster enabled in it?

If you do not have the apiserver, how can you store the config? Or IIUC is this the primary remote topology?

FYI https://istio.io/latest/docs/setup/install/multicluster/primary-remote/


Lock @babel/preset-env version to avoid breakage

@babel/preset-env has removed utils.js in version 7.13.0, which is required by polyfills-plugin.js (https://github.com/nuxt/nuxt.js/blob/dev/packages/babel-preset-app/src/polyfills-plugin.js). This fix locks the dependency to 7.12.x.

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

@babel/preset-env has removed utils.js in version 7.13.0, which is required by polyfills-plugin.js (https://github.com/nuxt/nuxt.js/blob/dev/packages/babel-preset-app/src/polyfills-plugin.js). This fix locks the dependency to 7.12.x.
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

I've reported the issue to the Babel team (https://github.com/babel/babel/issues/12856) and they say that the utils.js file is not part of their public API, so they removed it.

Yeah looks like that was just an internal file
I believe @JLHwung may do a PR to replace that function, it's also just 2 lines that could be substituted https://github.com/babel/babel/blob/d0b6f0fe0f8e1afb095e5fb419ed9ac56d4edee6/packages/babel-preset-env/src/utils.js#L63-L69.

Are you guys planning on releasing this soon ? I was about to start a project with nuxt, but it's broken out of the box, the way it is now. Also, if this is going to take long, could you please point me to a solution to get started with it ?

@JLHwung has a fix https://github.com/nuxt/nuxt.js/pull/8883
if are able to, you can force an older version in yarn by setting in your package.json
"resolutions": {
  "**/@babel/core": "7.12.17"
}

@hzoo will this also work with npm ?

"resolutions": {
"**/@babel/core": "7.12.17"
}

I tried adding this to my project (I'm using NPM btw) but I'm still getting this problem, isn't there any other workaround while this PR doesn't make it into the newest version of nuxt ?

@rallz-dev ah, I just meant that as an example syntax. The issue is with @babel/preset-env so would modify that version. And that workaround is for yarn only then.
You can probably just do this, specify the version in your deps:
  "dependencies": {
    "core-js": "^3.8.3",
    "nuxt": "^2.14.12",
+   "@babel/preset-env": "~7.12.0"
  },

thanks! that worked!

It works for me
"dependencies": {
    "@nuxtjs/axios": "^5.13.6",
    "@popperjs/core": "^2.10.1",
    "core-js": "^3.15.1",
    "js-storage": "^1.1.0",
    "nuxt": "^2.15.7",
    "tippy.js": "^6.3.1"
  }


Parse IEC and ISO adoptions without "ISO" or "IEC" prefix

Interestingly there is a way to tell IEC standards. IEC numbers start from 60000 to 79999. From 80000-89999 they are either ISO, IEC, or ISO/IEC or IEC/ISO standards. From 1 to 59999 it is only ISO.
Originally posted by @ronaldtse in https://github.com/metanorma/pubid-bsi/issues/2#issuecomment-1460015784
Example: "BS EN 60038 AMD1 FRAG2"

ISO Directives Part 1 writes:
https://www.iso.org/sites/directives/current/consolidated/index.xhtml
B.4.2.9

ISO-lead documents are assigned numbers from 1 to 59999. IEC-lead documents are assigned numbers from 60000 to 79999. In the case of multi-part standards, some parts being under ISO responsibility and some being under IEC responsibility, a number in the 80000 series is assigned (e.g. ISO 80000-1, IEC 80000-6).


Ignored Layout/IndentArray and Layout/IndentHash

Context
I upgraded to rubocop v0.68.0, rubocop is failed in onkcop 😢
$ bundle exec rubocop -P
Error: The `Layout/IndentArray` cop has been renamed to `Layout/IndentFirstArrayElement`.
(obsolete configuration found in vendor/bundle/ruby/2.6.0/gems/onkcop-<IP_ADDRESS>/config/rubocop.yml, please update it)
The `Layout/IndentHash` cop has been renamed to `Layout/IndentFirstHashElement`.
(obsolete configuration found in vendor/bundle/ruby/2.6.0/gems/onkcop-<IP_ADDRESS>/config/rubocop.yml, please update it)

Why?
Layout/IndentArray and Layout/IndentHash are renamed since rubocop v0.68.0
c.f. https://github.com/rubocop-hq/rubocop/commit/184c2a1e92caa6914fe75a0bcc484c64ab834594
So I ignored these.

@onk ping

@onk Could you review this if you have the time 🙏


fix of issue 1479

changed UpdateLastState to call UpdateLastState(TState) so that it is the only one that has last update control
Clear function clean up the states, however currentNode by definition is depends upon one of the state value, hence made that also null,
since there is nothing now to link

Fixes #1479

This PR now only for #1479
For #1448 created new PR #1512

Thanks @achal7 !


ci: fixes

Created a new PR because the previous one had a lot of test code.

later we have to correct test runs


Fix validating missing file type

On Windows the file type for some files can't be guessed and the file.type property is set to the empty string.  This patch fixes the regex so that the validation functions will still be run.

I'm not 100% this is the right way to fix this but it makes it work for me.

Fixed at version 9.0.10


Add support for PATCH to api server

Allowing PATCH/json-patch support will allow 'oc edit addressspace foo' to work, which will be a common operation if changing plans etc. Arguably we might want to support changing plans before we add this support.

A use-case that occurs to me is to give the user the ability to add his own annotations to addresses that already exist.  This would allow the user to say, group addresses that relate to a particular business function for ease of monitoring.


Copy index task never resolves if source index does not exist

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Currently, when calling client.copyIndex, followed by a index.waitTask and one of the specified indices does not exist, the waitTask promise never resolves.
Steps to reproduce.
I have created a gist that reproduces the behaviour: https://gist.github.com/lenkan/13bea464d3621e340bebee731bc0e72f
It is inlined here to clarify:
const algolia = require("algoliasearch")
const client = algolia(process.env.ALGOLIA_APPID, process.env.ALGOLIA_APIKEY)

async function run() {
  const source = client.initIndex("test-index-from")
  const target = client.initIndex("test-index-to")
  const task = await client.copyIndex(source.indexName, target.indexName)
  await source.waitTask(task.taskID)
}

run().then(() => {
  console.log("Finished")
  process.exit(0)
}).catch(error => {
  console.error(error)
  process.exit(1)
})

Download the files to an empty directory and run
npm install
ALGOLIA_APPID=<app-id> ALGOLIA_APIKEY=<api-key> npm start

And observe that the process never exits because await source.waitTask(task.taskID) never resolves or rejects.
Please note that using target.waitTask behaves the same way.
What is the expected behavior?
I expect that either client.copyIndex or source.waitTask should throw an error.

I have looked it up, and it's an issue in the API itself, which keeps saying the task is pending when the index you copied from doesn't exist. Workarounds are:

call setSettings({}) (a noop) to the source index first
do not waitTask a copy to an uninitialised index

I'll keep you updated if this gets resolved!

Just to keep this issue updated. The API team has decided that this doesn't happen often enough to warrant a (surprisingly  complex) change in the engine, and thus won't fix this.
I will close this issue, but feel free to comment or open a new issue so I can forward the use case.


US15-ListActivePrinciple

Coverage increased (+0.09%) to 94.613% when pulling b75f122541847d0b5f67b392b1b220658ebdf517 on devel into ea6d4ad937669bdc0eccff181279dc9683ba6e64 on master.

Coverage increased (+0.09%) to 94.613% when pulling 51a6a5253580c67a15e57a0692df2a5341efeb6a on devel into ea6d4ad937669bdc0eccff181279dc9683ba6e64 on master.


Support gradle parallel in test tasks

Is your feature request related to a problem? Please describe.
The following gradle tasks fail intermittently when using the --parallel flag

test
:e2e-test:log:basicLogEndToEndTest
:e2e-test:trace:rawSpanEndToEndTest
:e2e-test:trace:rawSpanCompatibilityEndToEndTest
:e2e-test:trace:serviceMapEndToEndTest

Describe the solution you'd like

Refactor tests that rely on a running data prepper instance to use a random open port
Refactor integration tests to use a shared instance of OpenSearch. Each test can use a different index to prevent interference.
Refactor gradle tasks that build a Data Prepper image for testing to run a base image then mount any jars and configuration files at runtime.

Describe alternatives you've considered (Optional)
Run integrations test code in a new container to allow multiple tests to run simultaneously.
Additional context
n/a

I definitely like the first two solutions.
Could you provide some additional details on the third?

Currently, e2e gradle tasks build an image containing data-prepper-core-1.3.0-SNAPSHOT.jar and then run that image. Roughly equivalent to
docker run --rm -p 2021:2021 -p 4900:4900 --network data_prepper_network e2e-test-log-pipeline-image

In the third solution I propose that be changed to
docker run \
    --rm \
    -p 2021:2021 \
    -p 4900:4900 \
    --network data_prepper_network \
    -v $DATA_PREPPER_HOME/e2e-test/log/build/libs/data-prepper-core-1.3.0-SNAPSHOT.jar:/app/data-prepper.jar \
    -v $DATA_PREPPER_HOME/e2e-test/log/src/integrationTest/resources/basic-grok-e2e-pipeline.yml /app/basic-grok-e2e-pipeline.yml \
    -v $DATA_PREPPER_HOME/e2e-test/log/src/integrationTest/resources/data_prepper.yml /app/data_prepper.yml \
    --entrypoint "java -jar, data-prepper.jar, /app/basic-grok-e2e-pipeline.yml, /app/data_prepper.yml"
    adoptopenjdk/openjdk14:jre-14.0.1_7-alpine

This would allow e2e tests to skip building a new container each time one is run.

Good idea! Skipping running DataPrepper in an image would reduce the runtime. We already have smoke tests to verify Data Prepper images.

Refactor integration tests to use a shared instance of OpenSearch. Each test can use a different index to prevent interference.

I like this idea. One thing to note is the trace pipelines have a concept of index_type with predefined values for the index in the OpenSearch Sink plugin. We are moving away from this model. Trace pipelines are meant to only write to trace-analytics-raw and trace-analytics-service-map indices. But I think using different values for the tests will be okay


Migration from popperjs to floating-ui

Description
floating-ui ware rebranded from popperjs. in this package @yamada-ui/popper are using popperjs and it might be considered to replace new package
Problem Statement/Justification
in the feature, there will be possibility that popperjs would be obsoleted.
Proposed Solution or API
this is migration guide.
https://floating-ui.com/docs/migration
Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
None
Additional Information
No response

@suzukisan22
Hi, thanks for the issue.
Are there any alternatives?

@hirotomoyamada
as long as i've search, floating-ui is one of the major library. so can't replace it.
popperjs v3 would be floating-ui. so no other option but no need to prioritize soon.

@suzukisan22
Hi, do you want to do this switching work?

@hirotomoyamada
OK! Let me try!


Declaring a type with generics shows as a compilation error

When declaring types with generics, it looks like a compilation error:

I believe the expected behaviour is for this to not be an error, as gleam test runs as expected
Snippet taken from exercise: https://exercism.org/tracks/gleam/exercises/treasure-chest

Thank you, will look into this!

Fixed in 0.1.2


Applying Deep Subspace Clustering to High Dimensional Data

Having reading through the paper, I have seen that the coding for the Autoencoder has been primarily done by using Convolutional Kernels since the paper had worked with Images.
I need your inputs on finding the subspace for Data for the following format :
N Individual Datapoints each having 1-D dimension of size X (>100) i.e N separate data point of Array size (>100).
The Target is to Cluster these N data points into clusters.
Your inputs will be very helpful.

The simplest way would be to change the kernel size to 1x1.


bug(MatDialog): Immediate navigation to a route after MatDialog is closed, crashes the Angular App / browser

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I am loading a dialog to ask user to verify email. On the dialog there's also a link which can be clicked in case user wants to update their email. As soon as the user click Update Email link and dialog is closed the browser tab crashes and Chrome display Aw, Snap! error
Reproduction
I am loading a dialog to ask user to verify email. On the dialog there's also a link which can be clicked in case user wants to update their email.
import('./verify-email-dialog.component').then((c) => {
  let config = new MatDialogConfig();
  config.viewContainerRef = this.viewContainerRef;
  config.disableClose = true;
  config.panelClass = "header-pattern";

  this.dialogRef = this.dialog.open(c.VerifyEmailDialog, config);
  this.dialogRef.afterClosed().subscribe(result => {
    if (result == 'updateEmail') {
      this._router.navigate(['/account/manage/profile']);
      return;
    }

    if (result === true) {
      this.emailConfirmed = true;
    }
  });
});

Below is how I am closing dialog in case user click Update Email link in VerifyEmailDialog:
updateEmail() {
  this.dialogRef.close('updateEmail');
}

As soon as the user click Update Email link and dialog is closed the browser tab crashes and Chrome display Aw, Snap! error
Expected Behavior
it should work smoothly
Actual Behavior
The browser crashes
Environment
Angular CLI: 17.0.0-rc.4
Node: 18.18.2
Package Manager: npm 9.8.1
OS: win32 x64
Angular: 17.0.0-rc.3
... animations, cdk, common, compiler, compiler-cli, core, forms
... google-maps, material, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package                         Version
@angular-devkit/architect       0.1700.0-rc.4
@angular-devkit/build-angular   17.0.0-rc.4
@angular-devkit/core            17.0.0-rc.4
@angular-devkit/schematics      17.0.0-rc.4
@angular/cli                    17.0.0-rc.4
@angular/fire                   16.0.0
@angular/pwa                    17.0.0-rc.4
@schematics/angular             17.0.0-rc.4
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.0

It is difficult to tell where the issue is coming from solely from the excerpt provided. From what I can see, I'm not convinced the issue is stemming from the MatDialog. I believe it has to do with how/where you are calling router.navigate
Here are a few questions to hopefully help you determine whether this is an issue with the router or with the MatDialog

Does the issue still happen if you remove this line?
this._router.navigate(['/account/manage/profile']);
Are you able to trigger the issue without the dialog by navigating from inside another rxjs subscription callback?

I don't believe we can offer much more assistance here without a stackblitz reproduction of the issue. Would you be able to provide one?

Hi,
I have the same problem with CDK Dialog. I try to route a dialog, and I want to update the route when the dialog is closed, and Chrome crashes.

Hey, i think i ran into the same issue. Do you have View Transisitons enabled?
Removing withViewTransitions(...) from my app config resolved the issue for me.
I don't know what exactly happens and I am sadly unable to create a stackblitz reproduction with this issue...

I finally got a stackblitz reproduction of this issue. This problem only occurs with a combination of View Transitions enabled and the BlockScrollStrategy used.
How to reproduce:

Navigate to /route2/1234
Close Dialog by backdrop click or escape
Chrome crashes (Both on my linux desktop and android phone, works fine on Firefox)

As a workaround you can either comment the withViewTransitions(...) in the app.config or uncomment scrollStrategy: new NoopScrollStrategy()  in test.component.


index.txt

Random question. You refer to index.txt
I can't seem to find it in the repo - any chance you could let me know what I need to install
Sorry dumb question. I'm very new and just trying to follow along.
I think your projects are awesome.

Hi. You are right. I have forgotten to generate the requirements.txt. I have uploaded it now. Thank you.


April 2019 Meetup

[x]  Speaker @creationix
[ ]  Sponsor
[x]  Confirm venue
[ ]  Meetup post
[ ]  Blog post
[ ]  Tweet
[ ]  Order pizza
[ ]  Record stats
[ ]  Invoice sponsor

JavaScript on microcontrollers.  I'll be showing how to program esp8266 chips using espruino.  Also will mention moddable.

I'll probably be doing some fancy rainbow animations on strips of neopixels.


Update Bank class

This update should bring in a full set of policy parameters (copied from those currently sitting at the Central Bank class) to represent the private bank internal policy.

Solved by commits:

bb5accf9f21fe65771637e5abe409da94e30c8ba
3558d1ff8b73aefba33a163d7c9e5352db2363da
ad7917450190ec4bbd5bf28a0ce44d71cfc95833
b934f5a814b9e9de9cdac4e47a1d3728570d269c
604f9da13dd494f6df2476227f8a2e35e1c6c9e7


Fetch seed product files from social media

Discord should be the first goal to fetch product images from.
The discord api should be used to check if there is a channel name matching the product name, if there is, the product media should be fetched.

Files stored in R2 will need to have a pre-signed url generated when requested https://developers.cloudflare.com/r2/api/s3/presigned-urls/

Seems like some channel names are over matching product names. It also takes too long to fetch all of the servers files, so it should skip syncing files if the time limit is running out.
A running count of file sizes we can transfer in what time so we can estimate accurately how many files we might be able to go through.

This is now virtually complete, it syncs from discord in the background task, with rate limits and time remaining in mind.
Images are available to view, and can be searched by name. A random image can be returned, or a specific zero based index can be given in the query string to be able to return a specific image, ordered from most recent.
https://karma.patient.nz/api/version/1/products/image/search/shish?index=0
https://karma.patient.nz/api/version/1/products/image/search/shish?index=1
?index=0 will return the most recent image
?index=1 will return the next most recent image, and so on.


Bot Channel Registration

How to Bot channel registration using CLI

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 615eae0a-7bae-820c-8fda-09fb0899bd0f
Version Independent ID: c2e5b308-760c-1226-ba9b-bef7ae535fca
Content: Enterprise Bot Template Deployment - Bot Service
Content Source: articles/v4sdk/bot-builder-enterprise-template-deployment.md
Service: bot-service
GitHub Login: @darrenj
Microsoft Alias: darrenj

The content referenced here no longer exists in docs.


fix swagger yaml comment

Fix swagger configuration comment. :)

Coverage remained the same at 51.147% when pulling 8d1a93aeadc950469716e3d50d283e4990ae655a on andyxning:fix_swagger_yaml_comment into e5fae8d4ff5fe6ea581ed8dc04cf3ec3353621ba on vmware:master.

Thanks, but this has been fixed in dev branch, we'll merge dev branch into master very soon, so I'm closing this PR.

@reasonerjt Maybe we need to make it clear by writing that all PRs will be pointed to the dev branch in readme. :)

thanks @andyxning, in the next release we will use master as the main branch, no dev branch anymore. And any PR can be pointed to master.

@wy65701436 👏


Incorrect explanation of isSynthetic

Currently, the isSynthetic explanation states this:
"Indicates whether the request was created by a user or by automated method. True = user generated or false = automated method"
when it is in fact the opposite meaning. ie. isSynthetic = true means automated method, false = user generated.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bfb6e003-773e-035b-984b-369d439b56b4
Version Independent ID: d8c16d2e-4448-741e-12b1-fa8d0b4f707f
Content: View Azure Application Insights app data
Content Source: articles/azure-monitor/platform/app-insights-connector.md
Service: log-analytics
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

This article should go to @mrbullwinkle, who manages our App Insights-related content.

@glav Thanks for the comment.
Assigning @mrbullwinkle for visibility and document enhancement consideration.

@glav Thank you for bringing this to our attention! The update to the doc to fix this is merged internally. It will go-live in the public docs later today. Thanks again for helping to improve our docs!

#please-close


Unify behavior of clientId and resourceId

Recently we added the ability to set both a clientId and resourceId for user assigned managed identity lookups. This exposes the problem that if an environment sets AZURE_CLIENT_ID while the deployed code sets resourceId we'll hit an exception.
The work item here is two parts:

[ ] decide what the correct behavior is when the environment variable is set. Do we throw? Do we always prefer the code value?
[ ] Ensure that behavior across all languages.

Related

https://github.com/Azure/azure-sdk-for-java/issues/27213
https://github.com/Azure/azure-sdk-for-js/issues/20461
https://github.com/Azure/azure-sdk-for-python/issues/23142

note from standup: If both fields are configured then we should throw


Update all copy rights to 2015...

In the installer license...

Should be updated but not in the books...


[TEP-0091] add KMS libraries

Changes
This commit adds kms libraries into trusted resources verifier package, so that we could use kms for verification. Before this commit we only supports loading keys from files.
This is similar to what we have done in Chains
/kind feature
Signed-off-by: Yongxuan Zhang<EMAIL_ADDRESS>
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

tracking issue: https://github.com/tektoncd/pipeline/issues/5527

/retest

/approve

Chains

Thanks! We need to have comment for each line, so I changed the comments as you suggested

Note to reviewers: This new dependency is covered under the flexibility section of TEP-0091.

Thanks! We need to have comment for each line, so I changed the comments as you suggested

/lgtm


Revert "Add system tests for relay driver (#150)"

This reverts commit a195dd96d094829594348c3e35e40db92f0b11a5.

[ ] This contribution adheres to CONTRIBUTING.md.

TODO: Check the above box with an 'x' indicating you've read and followed CONTRIBUTING.md.
What does this Pull Request accomplish?
TODO: Include high-level description of the changes in this pull request.
Why should this Pull Request be merged?
TODO: Justify why this contribution should be part of the project.
What testing has been done?
TODO: Detail what testing has been done to ensure this submission meets requirements.

[ ] I have run the automated tests (required if there are code changes)

/azp run


New rootdisksize not set with Scale instance in 4.17.2

ISSUE TYPE

Bug Report

COMPONENT NAME

API

CLOUDSTACK VERSION

4.17.1 and 4.17.2

CONFIGURATION

Advanced networking with local storage. vmware 6.7.

OS / ENVIRONMENT

N/A

Service Offering used on the instance
{
  "count": 1,
  "serviceoffering": [
    {
      "cacheMode": "none",
      "cpuspeed": 1600,
      "created": "2022-11-16T08:21:16+0000",
      "defaultuse": false,
      "diskofferingstrictness": false,
      "displaytext": "S-Packages",
      "dynamicscalingenabled": true,
      "hasannotations": false,
      "id": "08f5f8fa-88d7-44c7-8ed5-7f06a6031888",
      "iscustomized": true,
      "issystem": false,
      "isvolatile": false,
      "limitcpuuse": false,
      "name": "S-Packages",
      "networkrate": 500,
      "offerha": false,
      "provisioningtype": "thin",
      "rootdisksize": 0,
      "serviceofferingdetails": {
        "maxcpunumber": "8",
        "maxmemory": "32768",
        "mincpunumber": "1",
        "minmemory": "512"
      },
      "storagetype": "local"
    }
  ]
}

Virtualmachine
{
  "count": 1,
  "virtualmachine": [
    {
      "account": "emeaclient_16_49",
      "affinitygroup": [],
      "cpunumber": 1,
      "cpuspeed": 1600,
      "created": "2023-03-07T10:21:04+0000",
      "details": {
        "Message.ReservedCapacityFreed.Flag": "true",
        "cpuNumber": "1",
        "cpuOvercommitRatio": "2.0",
        "cpuSpeed": "1600",
        "dataDiskController": "osdefault",
        "keyboard": "us",
        "memory": "1024",
        "memoryOvercommitRatio": "2.0",
        "nicAdapter": "Vmxnet3",
        "rootDiskController": "scsi",
        "rootdisksize": "10"
      },
      "displayname": "Test-Scale-March-3",
      "displayvm": true,
      "domain": "cloud16",
      "domainid": "793d17f0-30d3-46c1-adbf-657c4659a624",
      "guestosid": "6428ffbd-1f58-11ec-b6e8-244bfeb8116f",
      "haenable": false,
      "hasannotations": false,
      "hypervisor": "VMware",
      "id": "a2b9aca8-4e67-4cb4-8526-e2507b8d3898",
      "instancename": "i-74-1443-VM",
      "isdynamicallyscalable": false,
      "lastupdated": "2023-03-07T10:30:43+0000",
      "memory": 1024,
      "name": "VM-a2b9aca8-4e67-4cb4-8526-e2507b8d3898",
      "nic": [
        {
          "broadcasturi": "vlan://untagged",
          "deviceid": "0",
          "extradhcpoption": [],
          "gateway": "46.xx.xxx.49",
          "id": "4e23f2be-ecc5-4793-8cbd-c3bc15920cd1",
          "ipaddress": "46.xx.xxx.54",
          "isdefault": true,
          "isolationuri": "vlan://untagged",
          "macaddress": "1e:00:cf:00:00:87",
          "netmask": "<IP_ADDRESS>",
          "networkid": "3f5fbbe4-fe38-42ae-af2d-01709d7a2e9c",
          "networkname": "NL-01",
          "secondaryip": [],
          "traffictype": "Guest",
          "type": "Shared"
        }
      ],
      "osdisplayname": "Other Linux (64-bit)",
      "ostypeid": "6428ffbd-1f58-11ec-b6e8-244bfeb8116f",
      "passwordenabled": true,
      "pooltype": "VMFS",
      "receivedbytes": 0,
      "rootdeviceid": 0,
      "rootdevicetype": "ROOT",
      "securitygroup": [],
      "sentbytes": 0,
      "serviceofferingid": "08f5f8fa-88d7-44c7-8ed5-7f06a6031888",
      "serviceofferingname": "S-Packages",
      "state": "Stopped",
      "tags": [
        {
          "account": "emeaclient_16_49",
          "domain": "cloud16",
          "domainid": "793d17f0-30d3-46c1-adbf-657c4659a624",
          "key": "service_id",
          "resourceid": "a2b9aca8-4e67-4cb4-8526-e2507b8d3898",
          "resourcetype": "UserVm",
          "value": "450"
        },
        {
          "account": "emeaclient_16_49",
          "domain": "cloud16",
          "domainid": "793d17f0-30d3-46c1-adbf-657c4659a624",
          "key": "service_type",
          "resourceid": "a2b9aca8-4e67-4cb4-8526-e2507b8d3898",
          "resourcetype": "UserVm",
          "value": "S-2"
        }
      ],
      "templatedisplaytext": "RockyLinux-8",
      "templateid": "be405fbf-9ca9-4b90-bf97-9806ebf75b7b",
      "templatename": "RockyLinux-8",
      "userid": "df0acf1e-52a2-4c4f-b4e6-535546cf6b12",
      "username": "emeaclient_16_49",
      "zoneid": "55f0123b-285c-4a70-8b34-565d8454393d",
      "zonename": "NL-01"
    }
  ]
}

SUMMARY

New value for “rootdisksize” parameter does not have any effect on the instance
STEPS TO REPRODUCE

scale virtualmachine id=a2b9aca8-4e67-4cb4-8526-e2507b8d3898 serviceofferingid=08f5f8fa-88d7-44c7-8ed5-7f06a6031888 details[0].cpuNumber=1 details[0].memory=1024 details[0].rootdisksize=25

EXPECTED RESULTS

New value for rootdisk to be set, and not ignored,

ACTUAL RESULTS

Only the CPU and Memory is scaled, rootdisksize is ignored without any error in the log.

GET  apiKey=fXfTV81qwEJ_9WrhJYtYOXE3oPSLlEjfNZx2i9YLUMZD1Zw61_PySJv3ethOdvQUBIFrvMI6UYwQJZtvNNp-Eg&command=scaleVirtualMachine&details[0].cpuNumber=1&details[0].memory=1024&details[0].rootdisksize=25&id=a2b9aca8-4e67-4cb4-8526-e2507b8d3898&response=json&serviceofferingid=08f5f8fa-88d7-44c7-8ed5-7f06a6031888&signature=A1d99N328ZK2SbfDo%2FP74xMpPcU%3D

@ccycv
You scaled the vm to same custom service offering which has custom disk offering , right ?

@ccycv You scaled the vm to same custom service offering which has custom disk offering , right ?

I scale the VM with the same service offering. The VM was created only with root disk with the above service offering, no extra disk offering.

@ccycv
Did you check global setting "allow.diskoffering.change.during.scale.vm"

@ccycv
Did you check global setting "allow.diskoffering.change.during.scale.vm"

Yes, I only forgot to mention here.
"I have also changed the value to "true" for allow.diskoffering.change.during.scale.vm. The only difference is that I do not see any more the warning in the log "Changing the disk offering of the root volume during the compute offering change operation is disabled. Please check the setting [allow.diskoffering.change.during.scale.vm]""

@ccycv
I see that the "rootdisksize": 0, for the service offering id  "08f5f8fa-88d7-44c7-8ed5-7f06a6031888"
Could you please create custom service offering with root disk say 20 gb  and then try scaling of the vm
Ideally, resizeVolume api will be triggered as part for the  scale virtual machine job
https://cloudstack.apache.org/api/apidocs-4.17/apis/resizeVolume.html
My lab  Logs

2023-03-09 06:36:33,520 DEBUG [c.c.a.t.Request] (Work-Job-Executor-7:ctx-0d678fa0 job-193/job-194 ctx-1616eb76) (logid:38b3bcf8) Seq 2-236720455413664548: Sending  { Cmd , MgmtId:<PHONE_NUMBER>9340, via: 2(ref-trl-4565-k-M7-kiran-chavala-kvm2), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.storage.ResizeVolumeCommand":{"path":"ab2b387c-4d2d-4e12-9ec0-b64a9406eb74","pool":{"id":"1","uuid":"93ae92ce-5e8c-3460-b256-d0162835d9fe","host":"<IP_ADDRESS>","path":"/acs/primary/ref-trl-4565-k-M7-kiran-chavala/ref-trl-4565-k-M7-kiran-chavala-kvm-pri1","port":"2049","type":"NetworkFilesystem"},"currentSize":"8589934592","newSize":"(20.00 GB)<PHONE_NUMBER>0","shrinkOk":"false","vmInstance":"i-2-20-VM","managed":"false","wait":"0","bypassHostMaintenance":"false"}}] }

Could you please send the management server logs ( /var/log/cloudstack/management/management-server.log )

allow.diskoffering.change.during.scale.vm

@ccycv
what's the value in zone setting ?

allow.diskoffering.change.during.scale.vm

@ccycv what's the value in zone setting ?

"true" as I mentioned above.

allow.diskoffering.change.during.scale.vm

@ccycv what's the value in zone setting ?

everywhere is true. I did this check before.  There is no error returned via API or in log with debug enabled.

@weizhouapache @kiranchavala
I have found additional info
"Volume Vol[1515|vm=1443|ROOT] is already having disk offering ebfec3b0-5685-4a0f-b5eb-175b754b3a64"

@ccycv
I think this explains: The disk offering of the service offering is not customized. You can use resizeVolume .
In additional to @kiranchavala 's testing, I have tested the following steps

create a custom disk offering
create a contraint service offering, which uses the disk offering created in step 1.
create a vm with Small offering (or Custom offering with compute-only disk offering)
stop the vm and scale the vm to new offering created in step 2. root disk is resized.
scale the vm again with same offering but new root size. root disk is not resized. got an log: Scaling CPU and/or Memory of VM with custom service offering. New disk offering stills the same. Skipping the Disk offering change on Volume 8501cd62-28b7-4042-bd24-dfcb7653c49a., which seems to be expected (see #6267)

@weizhouapache @kiranchavala
I have found additional info
"Volume Vol[1515|vm=1443|ROOT] is already having disk offering ebfec3b0-5685-4a0f-b5eb-175b754b3a64"

@ccycv I think this explains: The disk offering of the service offering is not customized. You can use resizeVolume .
In additional to @kiranchavala 's testing, I have tested the following steps

create a custom disk offering
create a contraint service offering, which uses the disk offering created in step 1.
create a vm with Small offering (or Custom offering with compute-only disk offering)
stop the vm and scale the vm to new offering created in step 2. root disk is resized.
scale the vm again with same offering but new root size. root disk is not resized. got an log: Scaling CPU and/or Memory of VM with custom service offering. New disk offering stills the same. Skipping the Disk offering change on Volume 8501cd62-28b7-4042-bd24-dfcb7653c49a., which seems to be expected (see Fix #6263 Cannot scale VM with custom offering #6267)

FYI. I tested with service offering which use a custom disk offering and not, the results are the same.  The message I see in the log "Volume Vol[1515|vm=1443|ROOT] is already having disk offering ebfec3b0-5685-4a0f-b5eb-175b754b3a64" Is for the service offering which does not use any disk offering, and this disk offering "ebfec3b0-5685-4a0f-b5eb-175b754b3a64"does not exist.

hi @ccycv
I also got the same message as @weizhouapache

Create a custom compute offering , uncheck the compute-only disk offering and select a custom disk offering

deploy a vm using the custom compute offering, by default it will take the minimum root disk size as 8 gb

Stop the vm

Scale the vm to the same cutom offering but mention the new disk size of 25 gb

The volume will not be scaled  and the following logs

2023-03-09 12:35:22,281 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-43:ctx-c544c5f6 job-289) (logid:179580d3) Executing AsyncJobVO: {id:289, userId: 2, accountId: 2, instanceType: VirtualMachine, instanceId: 30, cmd: org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin, cmdInfo: {"details[0].cpuNumber":"1","httpmethod":"GET","ctxAccountId":"2","uuid":"ab277894-4527-47ea-8c34-eecbf726ea13","automigrate":"true","details[0].memory":"512","cmdEventType":"VM.UPGRADE","serviceofferingid":"58c06adf-db66-442d-ba26-8ea06230949f","response":"json","ctxUserId":"2","ctxStartEventId":"1002","id":"ab277894-4527-47ea-8c34-eecbf726ea13","ctxDetails":"{\"interface com.cloud.vm.VirtualMachine\":\"ab277894-4527-47ea-8c34-eecbf726ea13\",\"interface com.cloud.offering.ServiceOffering\":\"58c06adf-db66-442d-ba26-8ea06230949f\"}","details[0].rootdisksize":"25"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:<PHONE_NUMBER>9340, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}

2023-03-09 12:35:22,300 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-43:ctx-c544c5f6 job-289 ctx-f3a9d065) (logid:179580d3) Access granted to Account [{"accountName":"admin","id":2,"uuid":"1011d1ed-b73a-11ed-87f7-1e00e400032c"}] to Service offering {"id":24,"name":"c1","uuid":null}. by AffinityGroupAccessChecker

2023-03-09 12:35:22,304 DEBUG [c.c.s.VolumeApiServiceImpl] (API-Job-Executor-43:ctx-c544c5f6 job-289 ctx-f3a9d065) (logid:179580d3) Scaling CPU and/or Memory of VM with custom service offering. New disk offering stills the same. Skipping the Disk offering change on Volume 7bfa9c06-c87f-450d-89b5-de9b96bef20d.

you have to select the root disk volume and resize to particular size

hi @ccycv
I also got the same message as @weizhouapache

Create a custom compute offering , uncheck the compute-only disk offering and select a custom disk offering

deploy a vm using the custom compute offering, by default it will take the minimum root disk size as 8 gb

Stop the vm
Scale the vm to the same cutom offering but mention the new disk size of 25 gb

The volume will not be scaled  and the following logs

2023-03-09 12:35:22,281 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-43:ctx-c544c5f6 job-289) (logid:179580d3) Executing AsyncJobVO: {id:289, userId: 2, accountId: 2, instanceType: VirtualMachine, instanceId: 30, cmd: org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin, cmdInfo: {"details[0].cpuNumber":"1","httpmethod":"GET","ctxAccountId":"2","uuid":"ab277894-4527-47ea-8c34-eecbf726ea13","automigrate":"true","details[0].memory":"512","cmdEventType":"VM.UPGRADE","serviceofferingid":"58c06adf-db66-442d-ba26-8ea06230949f","response":"json","ctxUserId":"2","ctxStartEventId":"1002","id":"ab277894-4527-47ea-8c34-eecbf726ea13","ctxDetails":"{\"interface com.cloud.vm.VirtualMachine\":\"ab277894-4527-47ea-8c34-eecbf726ea13\",\"interface com.cloud.offering.ServiceOffering\":\"58c06adf-db66-442d-ba26-8ea06230949f\"}","details[0].rootdisksize":"25"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:<PHONE_NUMBER>9340, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}

2023-03-09 12:35:22,300 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-43:ctx-c544c5f6 job-289 ctx-f3a9d065) (logid:179580d3) Access granted to Account [{"accountName":"admin","id":2,"uuid":"1011d1ed-b73a-11ed-87f7-1e00e400032c"}] to Service offering {"id":24,"name":"c1","uuid":null}. by AffinityGroupAccessChecker

2023-03-09 12:35:22,304 DEBUG [c.c.s.VolumeApiServiceImpl] (API-Job-Executor-43:ctx-c544c5f6 job-289 ctx-f3a9d065) (logid:179580d3) Scaling CPU and/or Memory of VM with custom service offering. New disk offering stills the same. Skipping the Disk offering change on Volume 7bfa9c06-c87f-450d-89b5-de9b96bef20d.

you have to select the root disk volume and resize to particular size

Right, this is correct. This is how it should work? or it is a bug?   Yes, I know that I can resize the volume separately, but this requires an extra API call. Because i'm doing all these via API, I must list the volume to get the ID of it and then resize, instead just doing via scale.

@ccycv  this is expected behaviour according to the code fix in #6267
@weizhouapache  can we consider this issue for an enhancement request

I see an issue here, in any case if linked diskoffering is custom then it should consider the new size while changing the compute offering.

@harikrishna-patnala
did you mean the check in #6267 is wrong ? (I personally agree..)

Yes @weizhouapache , we can skip only in the case having same non-custom diskofferings

Yes @weizhouapache , we can skip only in the case having same non-custom diskofferings

great we reache a consensus. @harikrishna-patnala @kiranchavala
I have marked this as bug and added it to <IP_ADDRESS> milestone.

Fixed with #7359
@ccycv you may test the latest nightly


Made the site responsive

Made some changes in the code and added media queries so as to make the clone site responsive.
Also added a hamburger navbar (for small sized devices)
Fixes:  #470
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Sakshi-1701 Good Work! you just only need to fill in all the information properly, [x ] remove one space before or after x.

@Sakshi-1701 Good Work! you just only need to fill in all the information properly, [x ] remove one space before or after x.

Thank you😊 I've done the correction.

@astha2412 Please review this and let me know if any other correction has to be done.


fix data paste bug

What is this issue about?

@clnsmth we're no longer supporting data pasting into the gui (the original gui had this option) so i'm going to close this issue. ;)


Recognise Appveyor build environment as ANSI-enabled

Intended to fix #47 as regards Appveyor. Function safeIsANSIEnabled in module System.Console.ANSI.Windows.Detect is amended, as set out in the comments to that function, to detect the Appveyor build environment and assume that the build console is ANSI-enabled.
I have done some testing on Windows (version 6.1.7601) but have not tested in the Appveyor build environment/console itself.

I have also tested on Windows (version 10.0.16299.125) and in the Appveyor build environment/console.


hub api pagination issues on listing comments

Hi. I use Hub (version 2.10.0) a lot for my CI/CD script however, I have a strange behavior lately.
I use this command to retrieve all the issue comments from a Pull Request:
hub api  "repos/<org>/<repo>/issues/<pr number>/comments
It works most of the time but on one particular PR, it does not retrieve all comments. This PR has 57 comments. I tried getting the github API with "curl" and it confirmed what I thought. It is a pagination issue. Without a "per_page" defined, I have the exact same list of comments returned that hub.
I searched the "hub" documentation to find a way to specify the HTTP parameter "per_page" and "page" to influence pagination but couldn't find any.
Are all the hub requests using default pagination? Is there a way to pass HTTP parameters through the cli interface?
I will use curl instead of hub until this is fixed.
Thanks

Hello, thank you for trying out hub api!
This command makes plain API requests and is very similar to curl. It currently doesn't handle any aspects of pagination, which means that you will have to do it yourself.
Passing per_page or any other parameter is easy:
hub api -i 'repos/<org>/<repo>/issues/<pr number>/comments?per_page=100'

# or, alternatively:
hub api -i -XGET repos/<org>/<repo>/issues/<pr number>/comments -F per_page=100 -F any_other_argument=any_value

Notice I've added -i which includes HTTP response headers in the output. If there is ever a next page of results, the URL to fetch it will be present in the Link header. You can parse out the header, extract the "next" link, use that with the next hub api <next-url>, and repeat until you've fetched all pages of results.
Alternatively, you can use the GraphQL API and use cursor pagination. Here's a full-featured example of how you would do it for fetching comments: https://gist.github.com/mislav/63c8e9f130020fe66b0947916022614d

I thought I tried the hub api -i 'repos/<org>/<repo>/issues/<pr>/comments?per_page=100' command but I didn't. It works really well. :)
I think my main problem was that I couldn't make sense of the documentation especially of the  '-F'. I thought this was for POST requests only. There is a sentence saying that with -XGET it changes behavior but without describing it. It maybe obvious but I didn't understood it at the time.
Anyway, with your examples and your explanations, it is really clear now.
Thank you very much @mislav.

The documentation says:

Use -XGET to force serializing fields into the query string for the GET request instead of JSON body of the POST request.

I'm sorry if this wasn't clear! I welcome any pull requests that improve the documentation ❤


Displaying a graph from {EVENT.TIME} to {EVENT.RECOVERY.TIME}

On closed problems, I would like to see a graph for the period from "{EVENT.TIME}" to "{EVENT.RECOVERY.TIME}"
https://pastebin.com/DRf5HUD5
and message in zabbix
zbxtg;graphs
zbxtg;graphs_period_start={EVENT.TIME}{EVENT.DATE}
zbxtg;graphs_period_finish={EVENT.RECOVERY.TIME}{EVENT.RECOVERY.DATE}
zbxtg;graphs_period={EVENT.AGE}
zbxtg;itemid:{ITEM.ID1}
zbxtg;title:{HOST.HOST}

Took from 2.2:
./src/libs/zbxcommon/str.c
2139 char    *zbx_age2str(int age)
2140 {
2141     size_t      offset = 0;
2142     int     days, hours, minutes;
2143     static char buffer[32];
2144
2145     days = (int)((double)age / SEC_PER_DAY);
2146     hours = (int)((double)(age - days * SEC_PER_DAY) / SEC_PER_HOUR);
2147     minutes = (int)((double)(age - days * SEC_PER_DAY - hours * SEC_PER_HOUR) / SEC_PER_MIN);
2148
2149     if (0 != days)
2150         offset += zbx_snprintf(buffer + offset, sizeof(buffer) - offset, "%dd ", days);
2151     if (0 != days || 0 != hours)
2152         offset += zbx_snprintf(buffer + offset, sizeof(buffer) - offset, "%dh ", hours);
2153     offset += zbx_snprintf(buffer + offset, sizeof(buffer) - offset, "%dm", minutes);
2154
2155     return buffer;
2156 }

Easy!

Usage:
zbxtg;graphs_age:{EVENT.AGE}

In that case, "graphs_period" will be ignored.

@Obskuro please, test.


docs: Remove bare metal and add Lokomotive links

Closes #1095

/approve

/approve

/lgtm

/lgtm


Epic: 4.16.0 (Prisma Client Extensions)

### Tasks
- [ ] https://github.com/prisma/docs/issues/4865
- [ ] https://github.com/prisma/docs/issues/4866
- [ ] https://github.com/prisma/docs/issues/4867
- [ ] https://github.com/prisma/docs/issues/4868
- [ ] https://github.com/prisma/docs/issues/4871
- [ ] https://github.com/prisma/docs/issues/4840
- [ ] https://github.com/prisma/docs/issues/4870
- [ ] https://github.com/prisma/docs/issues/4880
- [ ] https://github.com/prisma/docs/issues/4883
- [ ] https://github.com/prisma/docs/issues/4869
- [ ] https://github.com/prisma/team-orm/issues/124
- [ ] Rename "Prisma Client extensions" to "extensions"

[ ] Rename "Prisma Client extensions" to "extensions"

This has been retroactively changed to the 4.16.0 epic. 5.0.0 is tracked with #4859


Finish migration to stable release (WellBehavedFX 0.3) of new InputMa…

…p behavior-handling approach

Thanks!

Looking at it now, StyledTextAreaBehavior#dispose() is not necessary any more. It was meant to be called when changing a skin. But now the same behavior is there for the whole lifetime of the text area, so there is no need to dispose it. It will go away the area goes.

Ok. I'll add a new PR for that.


PHP log error caused by new account request

When i make a new account request using 1.2.1, the apache error log gets:
[Wed Feb 05 11:27:40 2014] [error] [client <IP_ADDRESS>] PHP Notice:  Undefined variable: AR_EMAIL_HEADERS in /usr/share/geni-ar/www/handlerequest.php on line 381, referer: https://shib-idp1.gpolab.bbn.com/geni/request.html

It's not yet obvious to me why this is or what the other implications are, but i'll keep an eye open.
Imported from trac ticket #81,  created by chaos on 02-05-2014 at 11:31, last modified: 02-05-2014 at 15:37

At a glance, it looks like this variable is being set in:
/usr/share/geni-ar/lib/php/ar_constants.php

and is the one which tells the e-mail to set certain headers including the reply-to.  Indeed, there is no Reply-To on the copy of the e-mail which was sent to the audit address, whereas in 1.2, the Reply-To was set to (hardcoded) portal-help.
Is it possible that handlerequest.php does not require ar_constants.php, and should?
Trac comment by chaos on 02-05-2014 at 11:35

Yes, looks like that is the problem, sorry!  I can make a release 1.2.2 branch and fix that
Trac comment by phelinek on 02-05-2014 at 12:38

Sounds good.  I think this one is a probable-blocker with a easy fix, so it merits a 1.2.2.
Trac comment by chaos on 02-05-2014 at 12:40

Ok I fixed handle-request and pushed the new branch
Trac comment by phelinek on 02-05-2014 at 13:07

Verified that this is fixed in 1.2.2.
Trac comment by chaos on 02-05-2014 at 15:37


Typo

https://ukgovernmentbeis.github.io/inspect_ai/tools.html
By default web searches retrieves 10 results from a provider,
Grammar issue

Fixed with https://github.com/UKGovernmentBEIS/inspect_ai/commit/671a239f13fe2706f89ffccaf5ac5eef86958fc3


Change version to properties

Raise dependencies numbers.
This update raise all dependecies to the last version, some of them will be an major change, and will break this project.
Please take some time to do this, because you are using (2014) old version (bugs, security problems, etc..)
If you see that this will take too much time, you can only upgrade the easy ones at this moment.
Lots of them are only fixes or compatible changes. And shouldn't break..
Like: jetty, slf4j, jgit, groovy, bouncycastle, sshd, mina, guice, gson, ivy, commons-compress, commons-io, freemarker, commons-codec, jedis, jacoco

I don't want to be bad interpreted, I know that is lot's of work.. I just want to be reflected here..

This would probably better have been an issue, instead of a pull request. As you said, this is a lot of work that needs a lot of testing. My suspicion is that you didn't even compile that, as I believe it wouldn't compile. A few of the updates cause incompatibilities. There is even a whole branch dedicated to updating Wicket. So there probably is zero chance of this PR getting merged.

Keeping up-to-date is a reasonable request but the proposed PR is an unreasonable way to achieve that.  :)


soerenmartius/terraform v0.14.x

please always adjust pr titles after creating them with github cli..


Host is not trusted

Hi
When i try to create a record i get certificate error
curl -k --header "Content-Type: application/json" --request POST --data '{"title":"Some title", "contributors": [{"name": "Doe, John"}]}' https://<IP_ADDRESS>:5000/api/records/?prettyprint=1
"message": "Host \"<IP_ADDRESS>:5000\" is not trusted",   "status": 400
tnx for support

That's related to the APP_ALLOWED_HOSTS configuration. Normally in the Cookiecutter-Invenio-Instance, this is set for you to localhost and <IP_ADDRESS> (see here)
If you are just testing, you can set it to None or empty list. Just don't deploy in production without it set correctly.
See also https://invenio.readthedocs.io/en/latest/deployment/securing-your-instance.html#allowed-hosts


Effective date in integration event is now (creation date of integration event) instead of using the effective date of the metering point creation request

Current Behavior

When creating a metering point, the effective date is set correctly in the MeteringPoints table, but the effective date used in the integration event is the current system time.
Expected behavior

Effective date for creation of MP in integration event needs to match the actual effective date of the created MP.
How to reproduce

Create a metering point with effective date yesterday
Verify effective date in integration event

Environment

U

Is treated by #294 and #327. Can be closed once they are done, and it has been verified that it works.

@erduna @Korgath Can you confirm if this is done in #327?

Fixed.


Canary Policy is not working and its throwing 500

Hi,
I was trying to test Mule 4 Canary policies. I have one api deployed with Auto Discovery enabled and deployed new version of api separately. Now i have applied Canary Policy on first version of API and setup Canary host and other canary parameters to new version of api and Original host and original parameter to first version of api. It is throwing 500 while testing.
Some Logs
14:40:00.275     11/07/2021     Worker-0     [MuleRuntime].uber.09: [canary-release-mule4-2287878-circuit-breaker-policyFlow].2287878-custom-policy.CPU_LITE @119a4216     DEBUG
event:7c387df0-3faa-11ec-8b1e-0297a2da437e Before creating weights array
14:40:00.300     11/07/2021     Worker-0     [MuleRuntime].uber.09: [canary-release-mule4-2287878-circuit-breaker-policyFlow].2287878-custom-policy.CPU_LITE @119a4216     DEBUG
event:7c387df0-3faa-11ec-8b1e-0297a2da437e [
{
"url": "HTTP://mule-worker-circuit-breaker-app.de-c1.cloudhub.io:8081/api/v1/",
"weight": 50
},
{
"url": "HTTP://mule-worker-circuit-breaker-app-v2.de-c1.cloudhub.io:8081/api/v2/",
"weight": 50
}
]
14:40:00.376     11/07/2021     Worker-0     [MuleRuntime].uber.09: [canary-release-mule4-2287878-circuit-breaker-policyFlow].2287878-custom-policy.CPU_LITE @119a4216     DEBUG
event:7c387df0-3faa-11ec-8b1e-0297a2da437e {
"headers": {
"host": "circuit-breaker-app.de-c1.cloudhub.io",
"x-real-ip": "<IP_ADDRESS>",
"accept": "/",
"accept-encoding": "gzip, deflate, br",
"authorization": "Basic MjY0MWRkMDA0YjM4ODk3MjM5ZjM4MmJhMzFhNzBhZDMyMDA1MzRmMDoxMnJ3cmVyZQ==",
"postman-token": "66907e64-23a3-444c-9362-031712d603c8",
"user-agent": "PostmanRuntime/7.28.4",
"x-forwarded-for": "<IP_ADDRESS>",
"x-forwarded-port": "80",
"x-forwarded-proto": "http"
},
"clientCertificate": null,
"method": "GET",
"scheme": "http",
"queryParams": {
"name": "Jit"
},
"requestUri": "/api/v1/test?name=Jit",
"queryString": "name=Jit",
"version": "HTTP/1.1",
"maskedRequestPath": null,
"listenerPath": "/api/v1/test",
"relativePath": "/test",
"localAddress": "/<IP_ADDRESS>:8081",
"uriParams": {
},
"rawRequestUri": "/api/v1/test?name=Jit",
"rawRequestPath": "/api/v1/test",
"remoteAddress": "/<IP_ADDRESS>:58946",
"requestPath": "/api/v1/test"
}

Hi @Jitendra85 , are you still facing this issue?
Sorry, but I'm not able to provide any pointers with these logs. Could you please try the following deployment architecture:

v1 (Baseline)
v2 (Canary)
Proxy on top

In addition:

could you please enable the HTTP Wire Logging?
provide APIs logs (v1 & v2)

NOTE: Please, do not publish stack traces with sensible information like authorization header, tokens or IPs.
Thanks,
GP

Hi @Jitendra85 , closing this issue as I haven't heard back for some time and I'm using the policy without issues. Please feel free to reopen this if you're still facing problems.
Regards,
GP


Automated EDA

We should do it!  A first step might be generating a matrix of plots of the features vs. the target for just the binary classification case as a spike to see what it looks like.  Then perhaps we could figure out some requirements, adjust the binary case and extend to multiclass and regression.  This most certainly will end in the creation of an epic or epic stub and that epic being iced or placed in the dev backlog after further refinement.

@tyler3991 mentioned pandas profiling stuff
I think we should approach this by looking at some end-to-end notebooks for woodwork/featuretools/compose/evalml and considering what if anything we feel is missing from that workflow related to EDA.


Some possible (minor) improvements for "DB Space" checks

Hi,
As the image shows I got some minor issues as potential improvement candidates. Used Version 2.22.8
in the "DB Space" Tab I found

Almost everywhere I checked MB scale seems to be a default in the DBADash application. Check the reported data in "Files" Tab or "Configuration / TempDB" Tab for instance. The GB scale used in "DB Space" Tab causes some round ups and results in some inaccurate visual reporting. The shown sample here is the "master" DB. Don't you think changing GB to MB scale would be a more proper approach?
Databases in Readonly mode don't report any value in "Used GB" column. Showing no value doesn't seem to be OK. Why not showing 0,0?
Empty cells in the table grid will show a wrong Tool Tip (also reported this one recently in another issue)

Included in 2.24.0 🚀


ReportSkills_SelfReportingSpecs.send email notification to each admin of the project - fallback to default reply since the user does not have an email is failing in 2-way-ssl CI

Error:    ReportSkills_SelfReportingSpecs.send email notification to each admin of the project - fallback to default reply since the user does not have an email:269 Condition not satisfied:

emails.collect { it.fromEmail[0] } == ["resetspec@skilltreetests", "resetspec@skilltreetests"]
|      |                           |
|      |                           false
|<EMAIL_ADDRESS><EMAIL_ADDRESS>[skills.intTests.utils.EmailUtils$EmailRes(subj:SkillTree Points Requested<EMAIL_ADDRESS>....

PR: https://github.com/NationalSecurityAgency/skills-service/pull/1919


[BUG] Error to connect roblox

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] My answer given in the checkbox above is a lie.

What problem did you encounter?

[X] My answer given in the checkbox above is a lie.

[!WARNING]
Please read the preliminary instructions before posting.

Please be sure that your Bloxstrap version is the latest (2.7.0)


Update to newer k8s versions (and golang as well!)

currently we are using 1.21 k8s in our vendored dependencies:
https://github.com/aws/amazon-vpc-resource-controller-k8s/blob/master/go.mod#L23-L24
upstream does not guarantee more than a skew of 2, so could we get this update do say 1.25?
while we are at it, please update to newer 1.19.x golang as well please.
thanks,
Dims

@dims Thank you for creating this request. We are working on upgrading and testing the dependencies. I will provide updates here.

We have upgraded dependencies in the PR #179 . Closing this issue.


Brocfile.js doesn't reload on change.

If you write
module.exports = 'public'

and run broccoli serve, then change Brocfile.js to
module.exports = 'src'

Broccoli continues to check 'public' for changes, not 'src'.
Is it possible for Broccoli to keep track of when Brockfile.js changes?

likely 1.0 which will move the tmp dir out of the root of the project.

Actually, changes to Brocfile.js still aren't monitored, and likely won't ever be (unless you somehow manually watch them), per my comment here: https://github.com/broccolijs/broccoli/issues/34#issuecomment-35886022

But in 1x it will be more plausible to implement without killing perf

Ah, yes.


Making ddppo_reach_state work out of the box

Motivation and Context

Running the command
habitat_baselines/run.py --exp-config habitat_baselines/config/rearrange/ddppo_reach_state.yaml --run-type train

will raise an error :
RuntimeError: reduce the number of environments as there aren't enough number of scenes.
num_environments: 4	num_scenes: 1

Setting the number of environments to 1 as suggested will raise the error
AssertionError: Trainer requires the number of environments (1) to be greater than or equal to the number of trainer mini batches (2).

This PR sets both the number of environments and the number of mini batches to 1 allowing training to happen.
IMPORTANT
Is there a better solution? Is it possible to have several environments using the same scene to allow for faster training?
How Has This Been Tested

Error no longer happens
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Is there a better solution? Is it possible to have several environments using the same scene to allow for faster training?

Yeah, you certainly can. That logic is to make sure that scenes are distributed evenly if there are multiple to increase diversity and the eval logic relies on each worker having a unique set of environments. We could add an additional arg to that function to let it know it's creating envs for training and thus it's safe to duplicate scenes incase there aren't enough.

@erikwijmans

We could add an additional arg to that function to let it know it's creating envs for training and thus it's safe to duplicate scenes incase there aren't enough.

Should I modify this PR with this change? Is this something we would want to do now ?

If you have cycles to do that feel free!


Update release workflow to run tests in extension folder with spaces in path

For #14168

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

something went wrong lol


Sign Up is hidden in responsive mode

When in responsive mode, the signup button disappears from the title bar and moves to the user menu. This makes it harder for new users to create accounts. Additionally, it's only a small text at the button of the user menu instead of a separate button.

also a remark from my side, in responsive mode i find it rather difficult to distinguish between not being logged in at all or being logged in but not seeing my posts yet (or not having any)

Seems very important, especially today, if improved quickly.


Add screenshot test for plan-selector with JawsDB

Reason for change

Continuing VRT work for UI. This adds a screenshot for the plan selector with JawsDB, using JSON retrieved from the API as mock data for the component.
Testing

Codecov Report

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

@@           Coverage Diff           @@
##           master     #130   +/-   ##
=======================================
  Coverage   53.39%   53.39%
=======================================
  Files          30       30
  Lines         693      693
  Branches      156      156
=======================================
  Hits          370      370
  Misses        321      321
  Partials        2        2

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 5fb1675...dc1987f. Read the comment docs.


User playback functions

Should the user playback methods be working? Even when including all scopes I get a permissions error trying to do anything at all with devices. Spotify's own documentation seems to indicate this scope is only available to official SDKs:
"Control playback of a Spotify track. This scope is currently only available to Spotify native SDKs (for example, the iOS SDK and the Android SDK). The user must have a Spotify Premium account."
Maybe I'm missing something?
Thanks!

Hi!
They should work (just tested it myself) but I think the account that you're trying to control the playback on needs to be a premium one.
Those endpoints are marked as "Beta" by Spotify so there might be issues on their end as well.


Robot 6.1rc1: Listener errors?

We have an internal application that uses Robot Framework 6.0.2 and I was trying to test it with 6.1rc1 to ensure that everything still works. It looked OK but then I realized that the live feedback was missing, and then I went to the log and found this:

Test Execution Errors
20230607 10:36:36.972 | ERROR | Calling method 'start_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field. |
-- | -- | -- | --
20230607 10:36:36.974 | ERROR | Calling method 'start_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field. |
20230607 10:36:36.976 | ERROR | Calling method 'start_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field. |
20230607 10:36:36.987 | ERROR | Calling method 'start_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field. |
20230607 10:36:36.988 | ERROR | Calling method 'start_test' of listener 'RobotListener' failed: AttributeError: Protocol message TestResultsObject has no "_setter__body" field. |
20230607 10:36:36.990 | ERROR | Calling method 'end_test' of listener 'RobotListener' failed: AttributeError: Protocol message TestResultsObject has no "_setter__body" field. |
20230607 10:36:36.991 | ERROR | Calling method 'start_test' of listener 'RobotListener' failed: AttributeError: Protocol message TestResultsObject has no "_setter__body" field. |
20230607 10:36:36.996 | ERROR | Calling method 'end_test' of listener 'RobotListener' failed: AttributeError: Protocol message TestResultsObject has no "_setter__body" field. |
20230607 10:36:36.998 | ERROR | Calling method 'end_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field. |
20230607 10:36:36.999 | ERROR | Calling method 'end_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field. |
20230607 10:36:37.000 | ERROR | Calling method 'end_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field. |
20230607 10:36:37.001 | ERROR | Calling method 'end_suite' of listener 'RobotListener' failed: AttributeError: Protocol message SuiteResultsObject has no "_setter__suites" field.

Now, I noticed that in my listener I have used type hints to clarify what is going on:
class RobotListener():
    """Standard Robot Listener to intercept Robot events live.
https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#listener-interface
https://github.com/robotframework/robotframework/blob/master/doc/userguide/src/ExtendingRobotFramework/ListenerInterface.rst

    Raises:
        KeyboardInterrupt: awkward attempt at stopping Robot run.
    """
    ROBOT_LISTENER_API_VERSION = 3

    def __init__(self,
                 robot_queue: RobotMsgQueue,
                 stop_event: MP_Event,
                 maxmsglen: int):
# etc

    def start_suite(self,
                    suite: _running.model.TestSuite,
                    result: _result.model.TestSuite):
        """Robot hook

        Args:
            suite (_running.model.TestSuite): input suite
            result (_result.model.TestSuite): input result
        """

Could that be the issue?

I found the issue. There was no stack trace, and I remembered that there was a way to get more info, and sure enough: ROBOT_SYSLOG_FILE=robot_syslog.txt gave the stack trace. There has been a subtle API change that is causing the result object to be immutable and I am calling setattr() on the result object from within the listener. Will look for a workaround.

First is all, thanks for testing the rc!
If I got it right, the error comes from setattr() that is setting an attribute to SuiteResultsObject. Is there any chance that this object would have been changed? For example, if it had got __slots__ there would be an AttributeError like this.

Copying whatever is in result.__slots__ feels somewhat risky in general. It would be safer to explicitly list attributes you want to copy.

Copying whatever is in result.__slots__ feels somewhat risky in general. It would be safer to explicitly list attributes you want to copy.

Yes, but I do not mind because my objects are closely mirroring yours, and if you add new useful items to your Robot object, I would like to know about it so that I can add support for the new feature (or not). I should probably skip anything that starts with an underscore though... like these new items which are clearly internal use only.
Thanks for your quick feedback. I am going to close since I do not consider this a problem.

To clarify: adding the following code (which skips the new item) makes the issue go away:
_theslots.remove('_setter__suites')


add sepaxml & fints

Motivation for this change
python modules sepaxml & fints missing in nixpkgs
Things done
added the modules, continued on https://github.com/NixOS/nixpkgs/pull/52486

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

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

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

mt-940 builds on master. Instead of disabling the tests, please rebase.

@dotlambda ok, did that!

@GrahamcOfBorg build python3.pkgs.fints

@GrahamcOfBorg build python3.pkgs.sepaxml


too many "socat TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock" process

I installed Shipyard using the deploy script, There are some problems。

There are many processes

Couldn't create any container because of a "No healthy node available in the cluster" error.

Node list display "unknown"

os version：CentOS release 6.5
docker version ：  1.7.1
logs：
[root@iZ11gbrk32jZ ~]# docker logs shipyard-swarm-manager
INFO[0000] Initializing discovery without TLS INFO[0000] Listening for HTTP                            addr=<IP_ADDRESS>:3375 proto=tcp INFO[0000] Leader Election: Cluster leadership lost INFO[0000] Leader Election: Cluster leadership acquired ERRO[0728] HTTP error: No healthy node available in the cluster  status=500
Who can give me some helps，Thanks

this docker version looks very old

@tronicum ,thanks
I upgraded the os version（centos 7.2） and the docker version(1.12.),  shipyard was working properly.

Could the shipyard work on ubuntu14 &docker version1.9.0?I got the same problem.Shipyard cann't list any containers.


[1.12.2] Growth level on Apple sprout of TOP

Minecraft version & Mod Version:
1.12.2
Cyclic: 1.15.10
Forge: 1.12.2 - <IP_ADDRESS>07
Question:
Is it possible, that you can add this feature to your Apple sprout? (Picture below)
Or is this something, that team TOP has to add?

And fast another question, is this size wanted? (Newest Version from today)
![2018-06-18_02 15 13](https://user-images.githubuser content.com/29357962/41513488-95b57252-729d-11e8-9387-8d578ec0179f.png)

https://minecraft.curseforge.com/projects/cyclic/files/2616415

Ty. :)


Allow limiting indices included in indices stats, when using indices mode

When using --indices-stats-mode=indices, the new --indices-stats-indices option can be used to limit which indices' stats are queried and exported as metrics.

Based on feature proposed by @thenextfreelancer in https://github.com/braedon/prometheus-es-exporter/pull/78

Released in 0.12.0


why the currying function receive only state , but the source code shows three params

if we only pass the producer, we will get a currified function which receives one parameter state,but the source code is
return function curriedProduce(
				this: any,
				base = defaultBase,
				...args: any[]
			) {
				return self.produce(base, (draft: Drafted) => recipe.call(this, draft, ...args)) // prettier-ignore
			}

I don't understand why this goes wrong?

this: any isn't an actual argument, just a type annotation for the this
inside the Function for TS. So it should be called like setItemDone(arr)
On Thu, Sep 10, 2020 at 11:48 AM HomyeeKing<EMAIL_ADDRESS>wrote:

if we only pass the producer, we will get a currified function which
receives one parameter state,but the source code is
return function curriedProduce(
this: any,
base = defaultBase,
...args: any[]
) {
return self.produce(base, (draft: Drafted) => recipe.call(this, draft, ...args)) // prettier-ignore
}
I don't understand why this goes wrong?
[image: image]
https://user-images.githubusercontent.com/49113249/92719658-14554d00-f396-11ea-9bfc-44751cc3b8c1.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/668, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBFQH7SG3WYMFSS3QXLSFCVHBANCNFSM4REYUKGQ
.

@mweststrate  thx for ur patient explain, I have checked the TS DOCS , I do miss this part ,
btw, immer is  an awesome work
I hope I can make something like this one day, but it's still hard for me to understand the source code now 😅
leave the offical doc:
https://www.typescriptlang.org/docs/handbook/functions.html#this-parameters


Fix NullPointerException during Javadoc copy

This PR fixes #2682.
It is splitted up into two commits:

The first one adds back support for javadoc in ecj tests. Instead of adding a FieldAugment for the concrete implementation I added a new InterfaceFieldAugment that supports interfaces. I also replaced the unavailable dependecies Signature and IJavaElement.
The second one adds a some null checks and now always adds the @return statements as discussed in the referenced issue.

That hits way more tests than I thought it would, but, yup. Great work!


Namespaces and depends

This pull request includs the following changes:

Hierarchical namespace structure
Depends constraints
HelloWorld example

@vloginova Thanks for the efforts! I have (most likely) the last suggestion (see above) to fix and we'll be ready to merge this ;)


Search in Docs improvement: results list

Currently in our Docs, if you search for a term, then click on a link of one of the returned results, you lose that list of results.
It would be great to have a way to return to the search results. As it is right now, you have to re-enter the search and start over.

@tanberry This seems to be the default behaviour in almost all the documentation websites that I checked. This requires some work, so can I get some example sites with this behaviour?


Lower Max Brightness after using AppleBacklightSmoother kext

When the kext is used the max brightness is reduced. Without the kext the max brightness is more.
Please, can you fix it? I have Lenovo IdeaPad S340 with i5-1035G1 (Ice Lake)

Same problem on Dell XPS 13 9370. I set the max to 0xffff. When I set brightness to minimum and crank it up, I can notice that about halfway it jumps back to lower brightness before increasing again.


Update de.json

Update de.json, but somebody should sometime check line 314 and line 315 for a better translation.

What's wrong with the checks?

Hi @Staubgeborener
Alpha checks are failing at the moment. I tried to rebase this against beta branch but the conflicts were gonna be a nightmare to fix. So instead of asking you to create a new PR against beta branch, I have just done this myself in a commit here
https://github.com/homebridge/homebridge-config-ui-x/commit/e399f999f2b3911f2d6a2a55cce814a29f24678a
hope you don't mind how i sorted this out!

So instead of asking you to create a new PR against beta branch

I guess this is not necessary anymore as this PR is already merged in beta branch?


Trajectory end-point deviates too much from goal state error in panda moveit2 pick and place tutorial by picknik

Hello,
I am running the panda moveit2 tutorial following the steps from picknik pick and place tutorial.. Once I run the demo files as mentioned at the end of the tutorial, I am getting the following error:
[mtc_tutorial-1] [WARN] [1713245752.503662871] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.559745649] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.614461012] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.670003269] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.757262220] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.812091905] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.867192145] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.923142824] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245752.978489650] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.041838231] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.097377855] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [INFO] [1713245753.129554237] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[mtc_tutorial-1] [WARN] [1713245753.208331470] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.282146098] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.349613241] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.404671918] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.514834878] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.569523856] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.624655776] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [INFO] [1713245753.638174224] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[mtc_tutorial-1] [WARN] [1713245753.729155802] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.815352272] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.878776528] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.933712285] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245753.989187053] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.044292019] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [INFO] [1713245754.130767508] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[mtc_tutorial-1] [WARN] [1713245754.198372905] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.254113234] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.310278832] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.364865600] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.420906049] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.476029444] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.553292227] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.608003600] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.672499404] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.737378655] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.792493844] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.848212286] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245754.905363509] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [INFO] [1713245754.949431821] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[mtc_tutorial-1] [WARN] [1713245755.018404003] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245755.074164078] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245755.129946973] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245755.185166179] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245755.250996878] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245755.306103327] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 3. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245755.377036655] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1] [WARN] [1713245755.431601120] [moveit_robot_state.cartesian_interpolator]: The computed trajectory is too short to detect jumps in joint-space Need at least 10 steps, only got 2. Try a lower max_step.
[mtc_tutorial-1]   0  - ←   0 →   -  0 / demo task
[mtc_tutorial-1]     1  - ←   1 →   -  0 / current
[mtc_tutorial-1]     -  0 →   1 →   -  1 / open hand
[mtc_tutorial-1]     -  1 →   0 ← 107  - / move to pick
[mtc_tutorial-1]   107  - ← 107 →   -107 / pick object
[mtc_tutorial-1]     107  - ← 107 ←   6  - / approach object
[mtc_tutorial-1]       6  - ← 130 →   -  6 / grasp pose IK
[mtc_tutorial-1]        25  - ←  25 →   - 25 / generate grasp pose
[mtc_tutorial-1]       -  6 → 124 →   -  0 / allow collision (hand,object)
[mtc_tutorial-1]       -  0 → 124 →   -  0 / close hand
[mtc_tutorial-1]       -  0 → 124 →   -  0 / attach object
[mtc_tutorial-1]       -  0 → 118 →   -118 / lift object
[mtc_tutorial-1]     -107 →   0 ← 488  - / move to place
[mtc_tutorial-1]   488  - ← 488 →   -  0 / place object
[mtc_tutorial-1]     1714  - ← 1714 →   -  0 / place pose IK
[mtc_tutorial-1]       1240  - ← 1240 →   -1240 / generate place pose
[mtc_tutorial-1]       -  0 → 1714 →   -  0 / open hand
[mtc_tutorial-1]       -  0 → 1714 →   -  0 / forbid collision (hand,object)
[mtc_tutorial-1]       -  0 → 1714 →   -  0 / detach object
[mtc_tutorial-1]       -  0 → 488 →   -488 / retreat
[mtc_tutorial-1]     -  0 → 478 →   -478 / return home
[mtc_tutorial-1] Failing stage(s):
[mtc_tutorial-1] move to pick (0/107): Trajectory end-point deviates too much from goal state
[mtc_tutorial-1] [ERROR] [1713245755.524014190] [mtc_tutorial]: Task planning failed
Can someone help me on this?

I guess you are running against MoveIt2's main branch. Try https://github.com/moveit/moveit_task_constructor/pull/542.
I'm not yet sure, why&where the main branch relaxed the goal reaching tolerance, which is the root cause of the problem.


<EMAIL_ADDRESS>

https://github.com/web-platform-tests/wpt/blob/master/html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual-.html

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀


Migrate to use dagster file manager

By using the builtin file manager system it makes it easier to handle execution of the pipeline in different environments. This allows for running locally without connecting to S3.
This requires rewriting the upload_extracted_data functionality to not rely directly on the s3 resource.

Is this still relevant or can it be closed?


Does this run with ME disabled? And is it possible to run this with coreboot and in dualbood with linux?

Hello,
first of all, thanks for providing such an amazing guide on how to get a Hackintosh on this nice piece of hardware and for keeping it up to date :-)
My first question would be whether it is possible to run this install/the OS with Intel ME disabled. So far I have not read a lot about this and only comments of others but no concrete evidence. And since everyone only asks how to disable the ME with 1vyrain, I have no idea whether you can then re-enable it in case it doesn't work anymore but from what 1vyrain uses it might work.
My second question goes a bit deeper. I am planning on corebooting my T530 (and depending on the outcome of question one I'm also interested in removing/disabling the Intel ME).
Besides that, I'd like to dual-boot this machine, with macOS installed on the mSATA drive and Linux using the regular SATA.
I am fully aware that this is outside of the scope or your guide, but I was interested on your opinion on this topic.

Thanks for the props.
You can disable the Intel Management Engine in the BIOS but then the pre-booting stage (Lenovo Logo) stays a really long time before the actual bootmanger is loaded. My BIOS is jailbroken via IvyRa1n and I've readon the repo, that this behavior is expected when disabling it. Therefore I would advice against disabling Intel ME.
I don't know what corebooting means and I have no experience with mSATA. I'm using a regular SATA SSD with 2 Partitions to dual-boot macOS and Windows.

Wow, I didn't expect an answer so fast :-)
I know that you used 1vyrain to unlock your BIOS, that's why I was asking. They provide an "easy" way to disable the Intel ME but I couldn't find anything about re-enabling it afterwards.
Disabling it brings certain "freedoms", so an increased boot-time is a tradeoff I'm worth accepting if it would still work.
As for coreboot, this is a BIOS replacement with something that is opensource that also gives back some freedom over your hardware. This is obviously not required but as it is easily possible on this machine I'd like to do it.
Regarding the mSATA/SATA thing, on my X230 I'm booting Linux from that drive, even though it's officialy "not supported".
So I don't really worry about that too much. I'd prefer to keep macOS and Linux separate and I don't plan on running Windows on that machine, I'll just keep the SSD with the Win install that it came with as an emergency backup for a while.

I just tested it, since I couldn't remember:

Disabling the ME requires the "Advanced" menu which you only get by using IvyRain or flashing a custom BIOS with a flasher.
You can re-enable ME through that menu as well, though
POST takes longer (+5 seconds)
Booting macOS takes significantly longer (+30 seconds at least). It just stalls for a while at  the end

Thanks for trying it out!
So that means it is possible, just not "convenient" to disable it.
Now I have to find out if that is also the case for installing it.

I guess so.