Exception thrown during Job schedule API call

While running this HTTP quickstart (not released, yet). Dapr throws an exception and the job is not scheduled.
In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

What version of Dapr?

1.14 rc.1

1.1.x
1.0.x
edge: output of git describe --dirty

Expected Behavior

Actual Behavior

The API returns an empty response and this exception is thrown in the sidecar:
2024/07/05 10:27:23 http: panic serving [::1]:63000: runtime error: invalid memory address or nil pointer dereference
goroutine 94 [running]:
net/http.(*conn).serve.func1()
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:1898 +0xb0
panic({0x10a4275e0?, 0x10e3d16e0?})
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/runtime/panic.go:770 +0x124
github.com/dapr/dapr/pkg/runtime/scheduler/clients.(*Clients).Next(...)
        /Users/runner/work/dapr/dapr/pkg/runtime/scheduler/clients/clients.go:65
github.com/dapr/dapr/pkg/api/universal.(*Universal).ScheduleJobAlpha1(0x1400179c480, {0x10b061120, 0x1400134c660}, 0x1400134c690)
        /Users/runner/work/dapr/dapr/pkg/api/universal/jobs.go:66 +0x464
github.com/dapr/dapr/pkg/api/http.UniversalHTTPHandler[...].func1(0x140016ba240)
        /Users/runner/work/dapr/dapr/pkg/api/http/universal.go:105 +0x10c
net/http.HandlerFunc.ServeHTTP(0x10b061120?, {0x115c4b108?, 0x14000789ae0?}, 0x1049ac7e0?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/api/http.(*server).handle.(*server).unescapeRequestParametersHandler.func1({0x115c4b108, 0x14000789ae0}, 0x140016ba240)
        /Users/runner/work/dapr/dapr/pkg/api/http/server.go:400 +0x78
net/http.HandlerFunc.ServeHTTP(0x80?, {0x115c4b108?, 0x14000789ae0?}, 0x1400129f860?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/api/http.(*server).handle.(*server).addEndpointCtx.func2({0x115c4b108, 0x14000789ae0}, 0x140016ba240)
        /Users/runner/work/dapr/dapr/pkg/api/http/server.go:445 +0xf8
net/http.HandlerFunc.ServeHTTP(0x10a3d00a0?, {0x115c4b108?, 0x14000789ae0?}, 0x14001154365?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/go-chi/chi/v5.(*Mux).routeHTTP(0x1400167f7a0, {0x115c4b108, 0x14000789ae0}, 0x140016ba240)
        /Users/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:443 +0x26c
net/http.HandlerFunc.ServeHTTP(0x1400188b448?, {0x115c4b108?, 0x14000789ae0?}, 0x10abb79c0?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/middleware/http.(*HTTP).BuildPipelineFromSpec.(*pipeline).http.func1.1({0x115c4b108, 0x14000789ae0}, 0x140016ba240)
        /Users/runner/work/dapr/dapr/pkg/middleware/http/pipeline.go:65 +0x70
net/http.HandlerFunc.ServeHTTP(0x10e3e1b30?, {0x115c4b108?, 0x14000789ae0?}, 0x40?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/diagnostics.(*httpMetrics).HTTPMiddleware-fm.(*httpMetrics).HTTPMiddleware.func1({0x115c4b108, 0x14000789ae0}, 0x140016ba240)
        /Users/runner/work/dapr/dapr/pkg/diagnostics/http_monitoring.go:332 +0x12c
net/http.HandlerFunc.ServeHTTP(0x10e3e19b0?, {0x115c4b108?, 0x14000789ae0?}, 0x10e21be08?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/api/http.(*server).useTracing.func1.HTTPTraceMiddleware.1({0x10b045210, 0x14001678000}, 0x140016ba240)
        /Users/runner/work/dapr/dapr/pkg/diagnostics/http_tracing.go:81 +0x19c
net/http.HandlerFunc.ServeHTTP(0x140016ba120?, {0x10b045210?, 0x14001678000?}, 0x10e500f40?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/api/http.(*server).StartNonBlocking.(*server).useContextSetup.func4.1({0x10b045210, 0x14001678000}, 0x140016ba120)
        /Users/runner/work/dapr/dapr/pkg/api/http/server.go:308 +0xa8
net/http.HandlerFunc.ServeHTTP(0x10b02c1a8?, {0x10b045210?, 0x14001678000?}, 0x10?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/api/http.(*server).useMaxBodySize.MaxBodySizeMiddleware.func1.1({0x10b045210, 0x14001678000}, 0x140016ba120)
        /Users/runner/work/dapr/dapr/pkg/api/http/middlewares.go:33 +0x90
net/http.HandlerFunc.ServeHTTP(0x1400134c570?, {0x10b045210?, 0x14001678000?}, 0x10491228c?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/api/http.StripSlashesMiddleware.func1({0x10b045210, 0x14001678000}, 0x140016ba120)
        /Users/runner/work/dapr/dapr/pkg/api/http/middlewares.go:96 +0x18c
net/http.HandlerFunc.ServeHTTP(0x14001154365?, {0x10b045210?, 0x14001678000?}, 0x14000412408?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/dapr/dapr/pkg/api/http.CleanPathMiddleware.func1({0x10b045210, 0x14001678000}, 0x140016ba120)
        /Users/runner/work/dapr/dapr/pkg/api/http/middlewares.go:115 +0xdc
net/http.HandlerFunc.ServeHTTP(0x10b061158?, {0x10b045210?, 0x14001678000?}, 0x10e3d7760?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2166 +0x38
github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0x1400167f7a0, {0x10b045210, 0x14001678000}, 0x140016ba000)
        /Users/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:90 +0x280
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP({{0x10b00cda0?, 0x1400167f7a0?}, 0x1400167f800?}, {0x10b045210, 0x14001678000}, 0x140016ba000)
        /Users/runner/go/pkg/mod/golang.org/x/net@v0.26.0/http2/h2c/h2c.go:125 +0x4c8
net/http.serverHandler.ServeHTTP({0x10b02c1a8?}, {0x10b045210?, 0x14001678000?}, 0x6?)
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:3137 +0xbc
net/http.(*conn).serve(0x1400046e000, {0x10b061120, 0x14001712390})
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:2039 +0x508
created by net/http.(*Server).Serve in goroutine 128
        /Users/runner/hostedtoolcache/go/1.22.4/arm64/src/net/http/server.go:3285 +0x3f0

Steps to Reproduce the Problem

The API should return a 202, 400 or 500 response.
Release Note

RELEASE NOTE:

While I could reproduce this stacktrace and have a fix for it, this also means that the runtime does not have the address for the scheduler service. While the fix will avoid the panic, it will not fix the fact of the sidecar not getting the right cmd arg for scheduler. Can you comment on what wad the command you used to run the sidecar? How did you pass the address for scheduler.

Check 1.14.0-rc.2 once build is done, please. Remember that you might still need to figure out why the sidecar is not getting the scheduler endpoint. It might be related to the CLI bug too, so use 1.14.0-rc.2 for CLI as well.

Moving to 1.15. We should at least check on if this still happens

@cicoyle isn't this fixed? my runtime can reach the scheduler service without any annotations.

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

/keep-alive
This isn't quite stale yet, needs confirmation of the issue being resolved


Update docs to explain things around pip requirements

Following PR https://github.com/NREL/mappymatch/pull/140, we've got requirements defined suitable for installation with pip, including one set for contributor installs.

Explain pip contributor install for non-conda contributors.
Explain how to add new requirements if contributing. (Add to setup.py)
Explain how to use the pip-compile command from pip-tools to automatically generate new  pinned requirements. (Covers generating from setup.py for main requirements and from requirements.in files for other requirement sets)

For the time being, I've rolled backed our pinned requirements to keep things a bit simpler and I've added a new section into the contributor docs for how to add a new dependency (basically just add to the pyproject.toml file).


doesn't keep typeNames namingConvention

Describe the bug
Although I use keep namingConvention for typeNames, PascalCase type references were generated.
To Reproduce
Steps to reproduce the behavior:

Use non-PascalCase input in schema.

input sample_input {
    id: String!
}

type Query {
    sample(sampleInput: sample_input!): String
}

Use namingConvention as keep in codegen.yml.

overwrite: true
schema: "http://server/"
documents: null
generates:
  types.ts:
    plugins:
      - typescript-common:
          namingConvention:
            typeNames: keep
      - typescript-server:

Run the following command: gql-gen --config codegen.yml

export interface sample_input {
  id: string;
}

export interface SampleQueryArgs {
  sampleInput: SampleInput; // <- PascalCase!
}

Expected behavior
export interface sample_input {
  id: string;
}

export interface SampleQueryArgs {
  sampleInput: sample_input;
}

Environment:

OS: macOS
Codegen: 0.16.1
Node: 10.15.0

@shinyaohira Can you please try to move the namingConvention config to the root of the yaml?
overwrite: true
schema: "http://server/"
config:
  namingConvention:
    typeNames: keep
generates:
  types.ts:
    plugins:
      - typescript-common
      - typescript-server

@dotansimha it worked. thank you. Could you add namingConvention to typescript-server plugin document?
btw, generated interface name is a little bit strange (starts with lowercase letter).
export interface sampleQueryArgs {
  sampleInput: sample_input;
}

Updated the docs :)


♻ Trim dd/Package.hpp

Description
This PR brings some more structure to the DD package by factoring out methods that do not necessarily need any package internal methods/objects.
This creates a better separation of concern and should speed up build times.
Overall, this PR eliminates >400 LoC from the dd/Package.hpp file and only results in a total of +3 LoC for the actual library code.
The remaining additions are tests and documentation.
Checklist:

[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[x] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.

LGTM! Below are a few minor comments you can happily apply or ignore if ill-suited and then resolve.

Thanks for your time and the suggestions!
I enabled auto-merge.
Once you resolve the conversations and (re-)approve the PR, this should be merged automatically.


piped panics when using K8S_BASELINE_ROLLOUT with spec.planner.alwaysPipelineSync: true on v0.47.3-rc0

What happened:
When adding the k8s app with app.pipecd.yaml which has spec.planner.alwaysPipelineSync: true and  K8S_BASELINE_ROLLOUT, piped fails with panic like this↓.
The piped keeps failing until it is canceled on the UI.
gx6v1_zp09_2tx_x/T/workspace1130338840/35fa4ef2-dd6f-40c0-acf2-d9a944b32d50-scheduler-192449208", "stage-name": "K8S_CANARY_ROLLOUT", "app-dir": "/var/folders/th/pq_q9v6j6_n_0fgx6v1_zp09_2tx_x/T/workspace1130338840/35fa4ef2-dd6f-40c0-acf2-d9a944b32d50-scheduler-192449208/target-deploysource/deploysource3508451428/repo-1/kubernetes/analysis-with-baseline"}
there are 1 planned/running deployments for scheduling	{"count": 1}
start executing kubernetes stage	{"deployment-id": "35fa4ef2-dd6f-40c0-acf2-d9a944b32d50", "app-id": "c6c93b81-0afa-47f3-a79d-2bbff89d7723", "project-id": "pipecd", "app-kind": "KUBERNETES", "working-dir": "/var/folders/th/pq_q9v6j6_n_0fgx6v1_zp09_2tx_x/T/workspace1130338840/35fa4ef2-dd6f-40c0-acf2-d9a944b32d50-scheduler-192449208", "stage-name": "K8S_BASELINE_ROLLOUT", "app-dir": "/var/folders/th/pq_q9v6j6_n_0fgx6v1_zp09_2tx_x/T/workspace1130338840/35fa4ef2-dd6f-40c0-acf2-d9a944b32d50-scheduler-192449208/target-deploysource/deploysource3508451428/repo-2/kubernetes/analysis-with-baseline"}
successfully reported 6 events about application live state	{"platform-provider": "kubernetes-dev"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x1046345a4]

goroutine 17863 [running]:
github.com/pipe-cd/pipecd/pkg/app/piped/executor/kubernetes.(*deployExecutor).ensureBaselineRollout(0x14000842800, {0x10514cf98, 0x14000f3e320})
	/Users/s14218/oss/pipe-cd/pipecd/pkg/app/piped/executor/kubernetes/baseline.go:46 +0x1b4
github.com/pipe-cd/pipecd/pkg/app/piped/executor/kubernetes.(*deployExecutor).Execute(0x14000842800, {0x10514d580, 0x140018eee70})
	/Users/s14218/oss/pipe-cd/pipecd/pkg/app/piped/executor/kubernetes/kubernetes.go:156 +0xb00
github.com/pipe-cd/pipecd/pkg/app/piped/controller.(*scheduler).executeStage(0x14000acb408, {0x10514d580, 0x140018eee70}, {{{}, {}, {}, 0x0}, 0x0, {0x0, 0x0, ...}, ...}, ...)
	/Users/s14218/oss/pipe-cd/pipecd/pkg/app/piped/controller/scheduler.go:541 +0xde4
github.com/pipe-cd/pipecd/pkg/app/piped/controller.(*scheduler).Run.func2()
	/Users/s14218/oss/pipe-cd/pipecd/pkg/app/piped/controller/scheduler.go:300 +0xb8
created by github.com/pipe-cd/pipecd/pkg/app/piped/controller.(*scheduler).Run in goroutine 17606
	/Users/s14218/oss/pipe-cd/pipecd/pkg/app/piped/controller/scheduler.go:299 +0xc50
exit status 2

K8S_BASELINE_ROLLOUT requires the previous running commit, which was deployed previously.
https://github.com/pipe-cd/pipecd/blob/master/pkg/app/piped/executor/kubernetes/baseline.go#L46
func (e *deployExecutor) ensureBaselineRollout(ctx context.Context) model.StageStatus {
	var (
		runningCommit   = e.Deployment.RunningCommitHash
		options         = e.StageConfig.K8sBaselineRolloutStageOptions
		variantLabel    = e.appCfg.VariantLabel.Key
		baselineVariant = e.appCfg.VariantLabel.BaselineValue
	)
	if options == nil {
		e.LogPersister.Errorf("Malformed configuration for stage %s", e.Stage.Name)
		return model.StageStatus_STAGE_FAILURE
	}

	// Load running manifests at the most successful deployed commit.
	e.LogPersister.Infof("Loading running manifests at commit %s for handling", runningCommit)
	ds, err := e.RunningDSP.Get(ctx, e.LogPersister)
	if err != nil {
		e.LogPersister.Errorf("Failed to prepare running deploy source (%v)", err)
		return model.StageStatus_STAGE_FAILURE
	}

But there isn't the one when adding the app first.
So e.RunningDSP is nil and causes panic.
This bug is created by the fix in https://github.com/pipe-cd/pipecd/pull/4916
What you expected to happen:
It should fail with an error on the stage when first adding the app and deploying it as PipelineSync.
How to reproduce it:
Create and add k8s app below.
app.pipecd.yaml
deployment.yaml
service.yaml

app.pipecd.yaml
apiVersion: pipecd.dev/v1beta1
kind: KubernetesApp
spec:
  name: analysis-with-baseline
  labels:
    env: example
    team: product
  planner:
    alwaysUsePipeline: true
  pipeline:
    stages:
      - name: K8S_CANARY_ROLLOUT
        with:
          replicas: 10%
      - name: K8S_BASELINE_ROLLOUT
        with:
          replicas: 10%
      - name: ANALYSIS
        with:
          duration: 10m
          threshold: 2
      - name: K8S_PRIMARY_ROLLOUT
      - name: K8S_CANARY_CLEAN
      - name: K8S_BASELINE_CLEAN

deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: analysis-with-baseline
  labels:
    app: analysis-with-baseline
spec:
  replicas: 3
  selector:
    matchLabels:
      app: analysis-with-baseline
      pipecd.dev/variant: primary
  template:
    metadata:
      labels:
        app: analysis-with-baseline
        pipecd.dev/variant: primary
    spec:
      containers:
      - name: helloworld
        image: ghcr.io/pipe-cd/helloworld:v0.30.0
        args:
          - server
        ports:
        - containerPort: 9085

service.yaml
apiVersion: v1
kind: Service
metadata:
  name: analysis-with-baseline
spec:
  selector:
    app: analysis-with-baseline
  ports:
    - protocol: TCP
      port: 9085
      targetPort: 9085

Environment:

piped version: v0.47.3-rc0
control-plane version:
Others:

We will fix it later on pipedv1.


Refactor staffUI and EnvironmentManager dependencies

Is your feature request related to a problem? Please describe.
Currently both modules depend from each other and call functions of objects of the other class.
Describe the solution you'd like
To reduce the dependencies, a callback function shall be used to replace the calls of EnvironmentManager functions in the 'publish_new_data' function.

dependency from StaffUI in EnvironmentManager resolved by introduction of a callback function

all socketio dependencies outside of the UserInterface module were resolved.


TS: Go back and use JSX.IntrinsicElements in most places we use React.HTMLAttributes today

Used consistently across the DS.
Current favorite approach:
For HTML attribute interface extensions:
type HTMLPropsFor<
  Tag extends keyof JSX.IntrinsicElements
> = JSX.IntrinsicElements[Tag]

... extends HTMLPropsFor<'input'>

For element-specific refs:
ref: RefFor<'input'>

Rationale being:

Generics have same style
Generic type is same, string of tagName, used internal to access a convenience map
Use a props wrapper type because the alternative is too long (eg, ... extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>)
Use a props wrapper type because the indexed access approach does not compile (eg, ... extends JSX.IntrinsicElements['input'])
PropsOf becomes HTMLPropsFor, helping indicate the reason we're extending (to type check all html-native props).  Less importantly, but practically, 'PropsOf' becomes '...For' to match 'RefFor', not requiring a 'Of' vs 'For' memory on these often-related types.

This is essentially what Dane has already done in nav via the convenience types in util.  Just took me a while to come around to it. And now this is the effort to apply it consistently.
Questions:

RefFor currently aliases React.RefObject.  We're still learning when to use Ref, RefObject, MutableRefObject, RefCallback (etc?!).  Will there come a time when this convenience wrapper breakers down and we have to use one of those specifically?  Probably. Does that hurt our convenience?  Probably not. I think will cover the common case, as far as I've seen.

History:
Convo moving away from abstractions:
https://github.com/pluralsight/design-system/pull/1419#discussion_r520797860
Convo worrying about perf of abstractions:
https://github.com/pluralsight/design-system/pull/1382#discussion_r516869756
keyof JSX.IntrinsicElements large union perf problem we are half aware of

i'm in. i'd be happy to do the refactor - should be fairly quick

I'd like to do a bit of it too.  Perhaps we can go halvsies.  And/or get Edward in on it.

Just to clarify, before we go this route, I think we should hear an "I'm in" or "I'm _something else" from Edward.

I support refactoring to use ** HTMLPropsFor && RefFor**

The proposition passes.
I'll split the original TS list in 3.  Dane for 1/3, Jake for 2/3, Edward for 3/3, in order for voicing wanting to be involved. 🤷


Update the go.mod version to go1.17

/area open-source
/kind enhancement
This PR consists of:

Updating the version in the go.mod file.
-go 1.16
+go 1.17

Running make revendor afterwards.

Fixes #4843
Release note:

NONE

/assign

Can you explain why the concerns in https://github.com/gardener/gardener/pull/4822#issue-755237424 are no longer relevant?

I see that the raised concern in https://github.com/kubernetes/kubernetes/pull/103692 was related to depstat and it is not something that we use in gardener/gardener - ref https://github.com/kubernetes/kubernetes/pull/103692#issuecomment-896905016.


New windows version

I uploaded a new exe version here: (You need to disable Windows Defender to work)
shorturl.at/quJKV

Gonna go ahead and say that's a virus


Fix e2e tests for transferring tokens

Description
Fix e2e tests for transferring ERC1155 and ERC721.
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[x] I have tested this code manually

Manual tests
Manually start e2e tests.

I am not sure should we check for valid state sync result logs with something like this:
if i == numberOfAttempts-1 {
			checkStateSyncResultLogs(t, logs, 2)

			break
		} else if areStateSyncResultLogsGood(logs, 2) {
			break
		}

otherwise good

Can you give me a suggestion how to change it?


Collect Eligibility Results

This allows the friendly promotion to tell the calling code about the success or lack thereof when trying to apply a particular set of promotions. It's useful for implementing e.g. a future Coupon Promotion Handler that will only add a coupon to an order IF the order is eligible for that promotion.

Closing this in favor of #59, which has all of this code and some refactorings.


New suggestion for R

Full and short name of product
R
Does this product have LTS versions? What are the intervals between each LTS version?
I'm not sure but I don't think so.
What is the website for the product and for its version information?
product: https://www.r-project.org
version information: https://developer.r-project.org
Additional context
R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.

I could find much information about their release cycle or any changelogs from the website itself.


Resolve property values in Maven POM files

DBeaver finds all the dependencies of an artifact with the given version specified in the POM file and downloads them from the Maven repository.
It works fine if the version is specified as a plain string (e.g. 1.0.0), but in the case of properties, we do not resolve them, causing the dependency to be ignored because DBeaver couldn't find it. There's a workaround of manually adding the missing dependencies, but it's just inconvenient.
We must add support for properties and resolve them according to the rules provided in the reference below. We might not want to resolve Java properties for safety reasons because they may contain sensitive data.
Reference: https://maven.apache.org/pom.html#Properties

We already have a mechanism for resolving POM properties. The only missing property was the project.parent.version.


Permalink characters broken

Getting hit by this with Sphinx 5.3.0 and sphinx_rtd_theme 1.2.0... whatever the value of html_permalinks_icon (new in Sphinx 3.5 https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_permalinks_icon, released 7 years after this bug was closed), it gets replaced by \uf0c1, unicode for https://fontawesome.com/icons/link
https://github.com/readthedocs/sphinx_rtd_theme/blob/ee64d37ac95fcfe7a1e53d7ab72e09704606261e/sphinx_rtd_theme/__init__.py#L72-L76
(I know it's probably not exactly the same issue, but leaving the comment here just in case other people arrive from search engines)

@astrojuanlu I used to check if the theme was updated to =>1.1 by verifying that the permalink icon looks correct :)
This is correct:

If you are not seeing this icon, could it be that Font Awesome is missing?

We're not, but regardless, we want to keep using ¶. This did the trick for us:
def _override_permalinks_icon(app):
    # https://github.com/readthedocs/sphinx_rtd_theme/issues/98#issuecomment-1503211439
    app.config.html_permalinks_icon = "¶"

def setup(app):
    app.connect("builder-inited", _override_permalinks_icon)


report: HDR Histogram plot output format

Plottable by https://hdrhistogram.github.io/HdrHistogram/plotFiles.html

@fxkr: Please take another look.

Looking forward to have this released!
@tsenart many thanks for doing this 😃

It’s released!
Sent via Superhuman iOS<EMAIL_ADDRESS>)
On Fri, Jul 19 2019 at 1:45 PM, <<EMAIL_ADDRESS>> wrote:

Looking forward to have this released!
@tsenart ( https://github.com/tsenart ) many thanks for doing this 😃
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
https://github.com/tsenart/vegeta/pull/413?email_source=notifications&email_token=AAAQPDY223BDDIGHY2S76ZLQAGSNHA5CNFSM4HYZNWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2LMYIA#issuecomment-513199136
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AAAQPD77TBILU5MBMGQYTZ3QAGSNHANCNFSM4HYZNWUQ
).


adding random form number feature to VAPI

Describe your changes here
Contribution Checklist

[x] Unit tests!
[x] Updated CHANGELOG.md
[x] My name is in CONTRIBUTORS.md

Codecov Report

Merging #369 (476b911) into 6.x (71c5845) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                6.x     #369   +/-   ##
=========================================
  Coverage     90.36%   90.37%
- Complexity     1529     1531    +2
=========================================
  Files           265      265
  Lines          4266     4269    +3
  Branches        204      204
=========================================
+ Hits           3855     3858    +3
  Misses          357      357
  Partials         54       54

Impacted Files
Coverage Δ

src/main/java/com/vonage/client/voice/Call.java
97.01% <100.00%> (+0.13%)
:arrow_up:


Adds Streams API in getTextContent.

Streams API in getTextContent, fetch data incrementally(in small chunks) instead of fetching bulky data.
This PR adds Streams API in getTextContent, to fetch textContent incrementally instead of fetch whole data at once, without changing it's core functionality. To fetch data incrementally, textContent is enqueued into the streams internal queue directly at getTextContent in PartialEvaluator whenever we have any.

Really sorry, but I have to ask: Did this PR actually pass all reference tests locally (particularly the text ones)?

No, this PR is failing text test. I have no idea why it is failing, that's why i submitted PR. I think submitting PR will help understand better what really the problem is. Hope you will understand.

I would like to see here also:

some changes to text_layer_builder to use stream reader + interrupting reading on page view cleanup.
some measurements that simulates human scrolling


Support ES 1.5.0

Changes

Support Elasticsearch to 1.5.0
Upgrade Lucene to 4.10.4
Upgrade http-component to 4.4.1
Update README for version changes and how to manually install compiled plugin

awesome


fix(WebTerminal): removed link styling web terminal

Contributes to #2761
What did you change?
Changed web-terminal.scss file to remove the link-style from the web-terminal documentation links.
How did you test and verify your work?
storybook

Hi,
It looks like some of your files are not formatting correctly. We use VS Code's Stylelint extension to format our documents. To enable linting, please follow the following directions.
Step 1 Install the extensions

Open VS Code.
Add Stylelint via VS Code's Extensions view.

Step 2 Enable linting scss files

Open VS Code.
Open Settings.
Find stylelint.validate.
Add scss to the "array of language of ids". (You would think scss would be a reasonable default file type...)

Open your document. VS Code should now show any formatting issues using underlines that look like red squigglies. Hover over each and VS Code will explain the formatting issue for you.
Step 3 Format your document
Fix all issues in your document, alternate 1: right-click anywhere in your document and "Format document".
Fix all issues in your document, alternate 2: (make a small change and) save your file. If you have "Format on Save" enabled, this will automatically format your document.
"Format document" is limited: it will fix the easy issues like spacing, tabbing, carriage returns, etc., but it will not fix (for example) the expected order of CSS selector properties. You will have to fix those manually.
Step 4 Validate linting locally (optional)
The "checks" that run every time you push to GitHub, can be run locally.
From the root of your project, at the command line, run yarn ci-check:lint. If it doesn't fail here, it shouldn't fail on GitHub.
Hope this helps.

Hi,
It looks like some of your files are not formatting correctly. We use VS Code's Stylelint extension to format our documents. To enable linting, please follow the following directions.
Step 1 Install the extensions

Open VS Code.
Add Stylelint via VS Code's Extensions view.

Step 2 Enable linting scss files

Open VS Code.
Open Settings.
Find stylelint.validate.
Add scss to the "array of language of ids". (You would think scss would be a reasonable default file type...)

Open your document. VS Code should now show any formatting issues using underlines that look like red squigglies. Hover over each and VS Code will explain the formatting issue for you.
Step 3 Format your document
Fix all issues in your document, alternate 1: right-click anywhere in your document and "Format document".
Fix all issues in your document, alternate 2: (make a small change and) save your file. If you have "Format on Save" enabled, this will automatically format your document.
"Format document" is limited: it will fix the easy issues like spacing, tabbing, carriage returns, etc., but it will not fix (for example) the expected order of CSS selector properties. You will have to fix those manually.
Step 4 Validate linting locally (optional)
The "checks" that run every time you push to GitHub, can be run locally.
From the root of your project, at the command line, run yarn ci-check:lint. If it doesn't fail here, it shouldn't fail on GitHub.
Hope this helps.

Thanks for your help @paul-balchin-ibm. It helped me fix the formatting  issue.

Raising another one, 3848.


Remove some left overs for loggingConfig

Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 437792290

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 35.839%

Files with Coverage Reduction
New Missed Lines
%

pkg/tracker/psrs.go
2
81.94%

pkg/tracker/retryFetcher.go
2
90.7%

Totals

Change from base Build 436659596:
-0.1%

Covered Lines:
1459

Relevant Lines:
4071

💛  - Coveralls


Naming update in readme

I realized while going through the repo that the main readme had never been updated to reflect the change from Indy Catalyst to Aries VCR so I did that, plus a couple syntax fixes.
Additionally, the echo-app was switched to use an alpine image bringing image size down to ~90Mb from the previous ~950Mb.

Fixed a couple broken links due to the rename, and restored the custom postgresql image that was replaced at some point in the past.

Fixed a couple broken links due to the rename, and restored the custom postgresql image that was replaced at some point in the past.


Fix error when supportedLocalesOf throws exception

supportedLocalesOf will throws exception on some old version AndroidWebview

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

my test device:  Oppo R9/Android 5.1


Working with geometries on raster data

In several processes (filter_geometry, aggregate_zonal, mask_geometry) we allow a geometries to filter/classify/... raster data. Currently, it is not clear how exactly the rasterization works. There are multiple parameters that could describe the behavior:

reference_point: left-top, right-top, left-bottom, right-bottom, center, extent
topological_operator: contains, disjoint, meets, overlaps, ...

An open question is whether we actually want these parameters in every process or just create a single process what creates a mask and this mask can be used for all these processes.

Telco results: It was decided to not add such parameters yet. For now we only specify a behavior that back-ends must follow. Geometries can (currently) only be of type Polygon, no Lines or Points. A pixel matches a polygon if the pixel center intersects (is inside) the polygon.

Improved the descriptions of filter_geometry (renamed to filter_polygon, other geometries don't seem very valuable and are also not allowed), aggregate_polygon and mask. Please review them.


[FLINK-13184]Starting a TaskExecutor blocks the YarnResourceManager's main thread(Backport to 1.8)

What is the purpose of the change
Backport #10143 to release-1.8
Brief change log
none
Verifying this change
none
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Thanks for opening this. Will merge once travis gives green.


Implement Confluent Diagrams

Confluent diagrams are an efficient way of computing unambiguous diagrams using a combination of power graph analysis and force-based layout.

Resolved by #3


Update node-providers.md

Add GetBlock ZkSync RPC provider to the list + its' public endpoint
What :computer:

First thing updated with this PR
Second thing updated with this PR
Third thing updated with this PR

Why :hand:

Reason why first thing was added to PR
Reason why second thing was added to PR
Reason why third thing was added to PR

Evidence :camera:
Include screenshots, screen recordings, or console output here demonstrating that your changes work as intended

Notes :memo:

Any notes/thoughts that the reviewers should know prior to reviewing the code?

Please check and add GetBlock RPC to the list

@JoGetBlock please fix formatting as prettier job fails in the CI

it still fails 🫤 Make sure you run lint:fmt and fix:fmt locally

@uF4No  Sorry for vothering again, but please review, I guess I messed up and now got a relevant team member @hansolo228-dev to fix it


Scripts execution always uses EVAL with multi.

The implementation of the multi script execution seems to check a local map https://github.com/redis/node-redis/blob/b97d18b61071b2d615c4606ee6b5930854b9e4e4/packages/client/lib/multi-command.ts#L16 for whether to use the EVAL or EVALSHA for script execution.
However, multi is always re-initiated for every transaction or pipeline execution, thus this means the script executed in the multi always end up with a EVAL with the full script uploaded over and over again.
In v3, I used to run "SCRIPT LOAD" for all scripts and then all subsequent commands would use evalsha. And if evalsha fails with NOSCRIPT, then the script is reloaded to redis again. I think redis v4 can implement similar approach and only need to handle the corner case of NOSCRIPT when it arises.
Node.js Version: v16.14.2
Redis Server Version: 6.2.5
Node Redis Version<EMAIL_ADDRESS>Platform: Debian bullseye

In ioredis I've solved this by caching script load information using a weakmap against the socket:
https://github.com/redis/ioredis/blob/ec42c82ceab1957db00c5175dfe37348f1856a93/lib/Script.ts#L29-L36
Whenever a custom script command gets execute, it uses either eval or evalsha.


add sailsjs framework

sailsjs web framework is great for the peoples from PHP codeigniter , Lavarel
https://sailsjs.com/

Duplicate of #1028

Duplicate of #1028

I have read #998

Thanks for the suggestion, but Sails.js is terrible, and also not actively maintained anymore.

But these statement is 2018, already 3 years and manything is changed, sails.js is much improve and actively maintain.
I recommend you check yourself and don't just refer to 3 years old comment.


Implement custom shutdown function

When using third-party types like *sql.DB or *redis.Client, it is often necessary to create a new type to specify the Shutdown behavior.
type DBWithShutdown sql.DB

func (db *DBWithShutdown) Shutdown() error {
    return db.Close()
}

This not only requires defining an additional type but also requires additional type conversions.
My proposal is:

To allow specifying options in the arguments of ProvideXXX, with functional optional pattern
Customize Shutdown behavior with WithShutdownFunc option

injector := do.New()
do.Provide(injector, func(i *do.Injector) {
    return sql.Open(...)
}, do.WithShutdownFunc(func (db *sql.DB) error {
    return db.Close()
}))

do.Invoke[*sql.DB](injector)
injector.Shutdown()

@samber: Would you have any thoughts?


The broadcast of $ broadcast ('$ InfiniteLoading: reset') takes effect

In the use of this. $ Broadcast ('$ InfiniteLoading: reset'), the normal operation of the initialization, but in the modified filter conditions, the reset operation, change the statement does not take effect, but again modify the filter conditions, reset again run. That is, the sentence interval takes effect.

I guess the reset function does not work properly, could you paste your code on JSFiddle or other website like it?

https://jsfiddle.net/60tokjr0/1/

Okay, but I cannot found the element which calling the reset function, and this demo cannot running well.
Please reproduce your problem in the demo, thanks!

12 days passed but no reply, I will close this issue, you can reopen it if you need in the future.


why is it so hard to install this plugin?

Where is it?
Do I need to compile it?
Ugh, installing it in LibreOffice is 100000X easier.

Hi

I complained that the .zip on github doesnt have the required pluginCode.js

Could you point out instruction there is this phrase used, seems this should be fixed
And I think most of your question can be answered with this page

I read the documentation, I looked at videos.

Could you attach file you've got?

its the same .zip I got from here, from this very github

plugin-languagetool-master.zip

Again did everytyhing on the instuctions:
Step 1 download the .zip and change the file to a .plugin file: Check
Step 2 Click the Settings button on the Plugins tab: Check
Step 3  In the plugin Settings window, click the Add plugin button to load your created archive: Check
I mean it sounds easy right?

Why doesnt this piece of $#!T work?

You should check this  page again -
this part:

I packed the plugin folder to the archive, changed its extension to .plugin and added it to the editors. But it doesn’t work. What should I do?

Correct plugin file will like that:
languagetools.zip
(change extension from zip to plugin)

I read that part and I thought thats what I did when I tried to do it on my own.
I mean I did extract it, and re zip it into its own archive thinking that was the problem.
I am using windows and peazip to extract it, should I have used the 7zip extractor?

I don't think extractor has meaning in this context

Step 1 download the .zip and change the file to a .plugin file: Check

This is not enough, you should repack files downloaded from repo
So just use my file, it should work fine

You mean the source files?
I mean if this was Linux sure Git is easy to do, and maybe I could do that with git under WSL but thats an extra step for the average windows user.
I will just use that prepackaged file, wish I had that a few hours ago...

I agree with you that already packaged files will be easier to use
We got issue https://github.com/ONLYOFFICE/plugin-languagetool/issues/17 about that, but currently it's not implemented

Fixed


dataset

Hi, the link (https://drive.google.com/file/d/1Lj-oBzBNUsAqA9y65BDrSQxirV8S15Rk/view?usp=sharing) and [SegmentationClassAug]  are invalid, could you provide a new one. Thanks.

Thank you for noticing. Let me know if that works out for you now.

Hello,
Thank you for your work.
I cannot access SegmentationClassAug folder. Could you please help me with that issue?
Best,
Evgenia


Add Ability to Specify Whether a Sequence is Generated on Save

When saving a ComponentDefinition, the current behavior is to generate a Sequence object with an elements property that is the concatenation of the elements from the Sequences of the definitions for the sub-Components of the saved ComponentDefinition (in accordance with the relevant SequenceConstraints that refer to these sub-Components). This concatenation is performed if any of the sub-Components have a Sequence, even if there is a sub-Component with no Sequence that is located in between other sub-Components that do have Sequences. There should be new a setting under Preferences where a user can specify whether a Sequence is generated on save. There should also be a setting that allows a user to specify that a Sequence should be generated only if all sub-Components have Sequences.
Note that the foregoing settings should also apply to the ComponentDefinitions and Sequences generated by enumeration from a CombinatorialDerivation once #360 is fixed.

There is already a preference for when the implied sequence gets shorter.  We will change this preference to work whenever the sequence changes at all.  Update the preference description and the ask message when being asked to overwrite/keep.

Fixed

Need to fix "ask" message

Message also comes twice for some reason.

"There should also be a setting that allows a user to specify that a Sequence should be generated only if all sub-Components have Sequences."

Assume oldSeq and newSeq
change = (oldSeq != newSeq)
missing = (newSeq generated from Components without a sequence)
if (!change && !missing) // do nothing
else if (!change) // do nothing
else if (!missing) {
if (OverwriteChange) copy newSeq
else if (KeepChange) // do nothing
else if (Ask) {
AskChange
if (yes) copy newSeq
else // do nothing
else it (missing) {
if (KeepChange) // do nothing
else if (OverwriteChange)
if (KeepMissing) // do nothing
else if (OverwriteMissing) copy newSeq
else if (Ask)
AskMissing
if (yes) copy newSeq
else // do nothing
else if (AskChange)
if (KeepMissing) // do nothing
else if (OverwriteMissing) {
AskChange
if (yes) copy newSeq
else // do nothing
} else if (AskMissing) {
AskChangeMissing
if (yes) copy newSeq
else // do nothing
}

My logic: if(changed) { 	behavior = getSeqBehavior 	if(bavior == !overwrite) 		return; --> dont do anything 	if(missing) 	{ 		missingBehavior = getMissingBehavior 		if(missingBehavior == !overwrite) 			return; 	} 	overwriteSequence;//If we got here it means that either: 						Sequence was changed && we want to overwrite if changed && !missing, || 						Sequence was changred && we want to overwrite && missing && want to overwrite if missing }

My logic:
if(changed)
{
	behavior = getSeqBehavior
	if(bavior == !overwrite)
		return; --> dont do anything
	if(missing)
	{
		missingBehavior = getMissingBehavior
		if(missingBehavior == !overwrite)
			return;
	}
	overwriteSequence;//If we got here it means that either:
						Sequence was changed && we want to overwrite if changed && !missing, ||
						Sequence was changred && we want to overwrite && missing && want to
overwrite if missing

}

overwrite(missing)
if (!missing)
if (askChange)
return (Sequence has changed, overwrite?)
else return overwriteChange
else
if (askChange || askMissing)
return (Sequence has changed and some components have missing sequences, overwrite?)
else return (overwriteChange && overwriteMissing)

Should verify that we can close this issue today.

Fixed by PR #373


Documentation: add ttm (true_tstamp) to Tracker Protocol

This is done now (https://github.com/snowplow/snowplow/wiki/snowplow-tracker-protocol#12-date--time-parameter), closing...


MIAD-118 add sentry

Codecov Report
Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.33%. Comparing base (faa4ed7) to head (8e1d2c0).

Files
Patch %
Lines

...igital/hmpps/hmppsalertsapi/config/SentryConfig.kt
75.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #169      +/-   ##
============================================
- Coverage     94.37%   94.33%   -0.05%
- Complexity      536      538       +2
============================================
  Files            88       89       +1
  Lines          1796     1800       +4
  Branches        102      102
============================================
+ Hits           1695     1698       +3
- Misses           65       66       +1
  Partials         36       36

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat: implement listagg macro

Summary
Implement listagg macro, which is not supported at the moment

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

I created a different task (https://github.com/ClickHouse/dbt-clickhouse/issues/301) for adjusting the tests to assert the results.


Export TailwindDoor from main module

Proposed Changes
SSIA, makes it easier to access this model.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (615e328) 100.00% compared to head (5b390fd) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          237       237
  Branches        41        41
=========================================
  Hits           237       237

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Crash when submitting queue on Nvidia GPUs

This is a new bug which was introduced in one of the recent Anvil updates. I'm unsure which update introduced it, but I've tested it with an old version I pulled from the repository on the 18-11-30, and that still worked, so it must've been something that was changed/added after that.
To replicate the bug, simply run the "OutOfOrderRasterization" demo with a Nvidia GPU installed (some of the other demos will cause the same problem). The crash will occur in Anvil::Queue::submit, right after the Anvil::Vulkan::vkQueueSubmit-call. Validation layers do not print any warnings or errors. The only error message is this:

Exception thrown at 0x69A261E6 (nvoglv32.dll) in OutOfOrderRasterization.exe: 0xC0000005: Access violation reading location 0x00000034.

Whoops, wasn't intending to drop the issue. Please confirm the latest version solves the issue you're seeing on your end and close the ticket if the bug no longer reproduces.

Thank you, I gave the latest version a try and that seems to have resolved the issue!


Missing Logo

Hey team, the logo of Joltify chain is missing after the sucessful merge of our PR in chain registry repo.
Could you please take a look into this issue so that we can get required file ready and uploaded.
Link: https://cosmos.directory/joltify
Much thanks.

It seems the images have been registered correctly. I believe the issue by now is likely that cosmos directory is only looking at logo_URIs, and not images. Cosmos Directory team should update their app to look at the images property.


Start of CODEOWNERS, specifically for Amazon SageMaker Directories

Description of changes:
Added a simple codeowners file which -

Currently, will notify the owners in case of changes to any of the directories they own
[TODO] Can be used to gate code merge on a review from a code owner by enabling this setting on a protected branch.

Note:

Does each (some) of us need additional permission in order to be a codeowner.
Ideally we should use Github Teams to set these owners for a specific service
I have not set any global owners yet.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Are we able to reference teams with the AWS organisation?

Are we able to reference teams with the AWS organisation?

Are we able to reference teams with the AWS organisation?

Probably ? Is there a way to test this without merge? I can change it to @aws/sagemaker-operator

Are we able to reference teams with the AWS organisation?

Probably ? Is there a way to test this without merge? I can change it to @aws/sagemaker-operator

@surajkota @akartsky @RedbackThomson ok to merge ?

@surajkota @akartsky @RedbackThomson ok to merge ?

ok to merge but I think repos are being migrated so not sure if this is needed

ok to merge but I think repos are being migrated so not sure if this is needed

ok to merge but repos are being migrated so not sure if this is needed

@mbaijal would you mind making a PR to the new github.com/aws-controllers-k8s/sagemaker-controller repository please? I'll fast merge the PR once I see it.

ok to merge but repos are being migrated so not sure if this is needed

@mbaijal would you mind making a PR to the new github.com/aws-controllers-k8s/sagemaker-controller repository please? I'll fast merge the PR once I see it.


proposal: remove consul support / leadership elections

At Moov we've stopped running achgateway with consul support and others have deployed without consul as well. The consul implementation has several known issues and does not work as expected.

File consistency across instances is not guaranteed with consul. Instances can isolate/upload different sets of ACH files.
Files are not stored in consul which is often assumed to be the case.
Users can be confused to share one Persistent Volume or have unique volumes per instance.

We are not currently using it either.  We had initially but ran into a few of those issues outlined above and ended up removing it from our infrastructure. In the current state, I do feel like it could potentially lead to data loss/unexpected file processing semantics if folks are moving quickly.
Personally supportive of deprecating/removing Consul for the time being and either leaning into it and using it as the distributed file store as well or looking to a different HA solution all together.


Potencial DoS by specifying wrong VM_*_OPERATIONS variable

Description
OpenNebula becomes to non-operable state if VM_USE_OPERATIONS VM_USE_OPERATIONS or VM_ADMIN_OPERATIONS variables specified wrong.
To Reproduce
As unprivileged user:
EDITOR='echo " VM_USE_OPERATIONS=sssss" >>' oneuser update 3456

oneuser show 3456
[one.user.info] Error getting user [3456]

Afterwards user can't login and perform any action, admins can't show or update this user.
As admin:
If someone with admin privileges will assign the same variable to oneadmin account the whole frontend will fall, eg.
EDITOR='echo " VM_USE_OPERATIONS=sssss" >>' oneuser update 0

is enough to stop the whole cloud
Expected behavior

User restricted to edit VM_*_OPERATIONS (see #4416 and #1357)
Admin can see and update user and group objects after this destructive change
Specified variables VM_*_OPERATIONS does make any effect if specified for oneadmin or someone in oneadmin group.

Details

Affected Component: oned
Hypervisor: KVM
Version: 5.10.3

Additional context
Recovery action is:
EDITOR='sed -i '/VM_USE_OPERATIONS/d' ' onedb update-body user --id 3456

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

PRs for merge:

one: https://github.com/OpenNebula/one/pull/4438 to one-5.10 and master
development: https://github.com/OpenNebula/development/pull/902 to one-5.10 and master
docs: https://github.com/OpenNebula/docs/pull/1017 to one-5.10-maintanance

Note:

Specified variables VM_*_OPERATIONS does make any effect if specified for oneadmin or someone in oneadmin group.

This was not implemented. The admin should be able to do anything regardless the VM_*_OPERATIONS


i lose control when i turn back

i think the reason is the PSEye can‘t see the controller when my body from the controller ,so that i lose control when i turn back.
i see @cboulay set two PSEyes Shoulder to shoulder. And i found two PSEyes must see the controller at the same time,otherwise it will lost control.
can i set two PSEyes face to face？i found the distance of the controller is different between front and rear
@hawkinse if i set two PSEyes face to face, the HMD will can't move in steamvr. when i use freePIE bridge.
another question is the virtual controller for HMD is also display in steamVR.

@vrxiaochouyu I use three cameras, while I tried two in the past I didn't use them face to face. I'd think you would still get some movement though, even if it doesn't track very well or have very good range. Is yellow calibrated properly in PSMoveConfigTool? Are you sure the cameras are angled in a way that they can see the bulb at head height?
With regards to the tracking controller being visible in Steam VR, that's not something I can fix on my end. All PSMoveService clients are capable of seeing all controllers, so the SteamVR plugin will show three controllers. If you don't mind building PSMoveService from source, it is possible to limit the SteamVR plugin to only seeing two controllers by editing the for loop in the HandleControllerListResponse of driver_psmoveservice.cpp. Change it from
for (int list_index = 0; list_index < controller_list->count; ++list_index)
to
for (int list_index = 0; list_index < (controller_list->count > 2 ? 2 : controller_list->count); ++list_index)
This also makes some games which get confused by extra controllers playable when using a third for head tracking (ex. Skeet: VR Target Shooting). It would be nice if limiting the number of controllers available to the Steam VR plugin were a setting so that other controllers could be used by other utilities at the same time, but as far as I know all the settings in PSMoveConfigTool are for the service itself and the Steam VR plugin isn't set up for user settings outside of what Valve offers.

It would be nice if limiting the number of controllers available to the Steam VR plugin were a setting so that other controllers could be used by other utilities at the same time

It's actually possible to add plugin specific setting to steamvr.vrsettings. I already have some custom settings for psmove button mappings. It'd be pretty straight forward to add a controller limit option for the plugin. I can add that for next release.

@hawkinse i have tried your new version in 7-27. it‘s solved. thank you！
just need psmovesever change the controller being visible. wait for the next  psmovesever version.

All PSMoveService clients are capable of seeing all controllers, so the SteamVR plugin will show three controllers. If you don't mind building PSMoveService from source, it is possible to limit the SteamVR plugin to only seeing two controllers by editing the for loop in the HandleControllerListResponse method of driver_psmoveservice.cpp. Change it from
for (int list_index = 0; list_index < controller_list->count; ++list_index)
to
for (int list_index = 0; list_index < (controller_list->count > 2 ? 2 : controller_list->count); ++list_index)

@hawkinse I tried build with this change...but didn't change. My SteamVR still show 3 controllers.

hi
I have connected 3 pseyes at different usb ports, color calibration is ok and pose calibration is also ok showing
Traker 1 complete
Traker 2 complete
Traker 3 complete
But when i get into steam vr only one camera is tracking the psmoves, so when i turn back it stops tracking the psmoves. How can I get 360º.
Any help would be appreciated

My expireance:
I was working with 2 cams and 3 controllers very good tracking but only 180 degress.
Get 3 more cameras but connect 2 so I end up with 4 trackers. (3 USB Controllers)
When i plugged the new cams everything failed, even i unplug them. i leave old setup. So i had to redo the entire setup again, i mean controllers alone no HMD and them with HMD for all controllers and all cameras. after that i got success.
In your scenario make sure you dont have any other app using the cams feed.
Dont open the PSconfig tool and open SteamVR before that. I have notice that sometimes becuase i have both open 1 shows very good tracking but the other is all messup, so i just close everything and re-open, and it fixes by its own.

When you do the pose calibration it is computing the camera poses for all ps3eye's at once. The thing you have to do per ps3eye is the color filter calibration (since every camera has slightly different light environment). The most common problem I've seen is that one camera has the color calibrated correctly, but the other cameras do not.
 Do you have a window or other reflective surfaces in view of any of your cameras? I've sometimes seen cases where sunlight on the carpet will create a bright blob that get's confused for the PSMove controller. You can see if this is the case when looking at the video feed with the HSV filter mode on and see if there are any blobs showing up that aren't the controller.
When you are running the pose calibration can you see the controller getting the white outline around the controller in each video feed?
Example here in lower left hand corner of this video:
https://www.youtube.com/watch?v=XiLYa1EZL04&t=6m36s

I dont have any reflective surface. I can see the outline around magenta move when doing pose calibration. I have removed a camera and tried with 2 cameras but I still have tracking with one of them.
Thank you very much

Solved !!! Of course I had only 1 camera confired correctly in UsbDeview

Closing old support issues. If this is still a problem please post a request to the google group:
https://groups.google.com/forum/#!forum/psmoveservice


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade" workflow

Codecov Report

Merging #56 (e9a10b3) into main (4958138) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #56   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           27        26    -1
=========================================
- Hits            27        26    -1

Impacted Files
Coverage Δ

src/backend-stack.ts
100.00% <100.00%> (ø)

src/lambda/process-metrics-function.ts
100.00% <100.00%> (ø)

src/stateful-stack.ts
100.00% <100.00%> (ø)

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 1b347a0...e9a10b3. Read the comment docs.


Wait for 10 seconds before failing.

Description
Our build is flakey because some of the e2e tests are timing out in various places. I changed all the timeout lengths to 10 seconds to hopefully minimize how often this happens.
Verification Steps

[x] All tests pass.

References

Pivotal story for this change

There's already jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5;. Why is the 10 s timeout necessary when we already have the 5 min timeout? I see what you're doing and think it's fine, but I want to verify that you know about the default timeout interval before approving.

@kilbergr From what I can see in the code, this timeout is at the webdriver level and has no awareness of anything set within Jest/Jasmine.
I didn't change that other timeout value as I didn't dig into where it is actually used within Jest/Jasmine.


UI Redesign

references a non-stable UI branch - don't merge
relevant UI branch: https://github.com/stackabletech/documentation-ui/pull/73

We'll merge it when Fabian gives a green light :green_circle:


Update admin question page to use "used", "added", "removed" in programs text

Description
Brett and I paired on this change.
This PR updates the modal text, and the table view text on the admin questions page. See screenshots for updated UI.
Before:

Modal: grouped referencing programs into active and draft
Table text: "Used across X active & Y draft programs"

After:

Modal: groups referencing programs into used in, added to, removed from
Table text: "Used in X programs. Added to Y programs. Removed from Z programs."

Release notes:
Update admin question page and modal to use "Used, added, removed in X program" instead of "active" and "draft" text.
Checklist

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[x] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
Fixes #3391

Codecov Report

Merging #3462 (7f6b44a) into main (fb7e78a) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #3462      +/-   ##
============================================
- Coverage     80.52%   80.51%   -0.02%
+ Complexity     2383     2381       -2
============================================
  Files           291      291
  Lines          9438     9437       -1
  Branches        640      639       -1
============================================
- Hits           7600     7598       -2
- Misses         1590     1591       +1
  Partials        248      248

Impacted Files
Coverage Δ

...app/services/question/ActiveAndDraftQuestions.java
97.26% <100.00%> (-1.39%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Missing text in instructions

[Enter feedback here]
In the "Create and install a certificate" section, step 3 says "In the File to Import window, select Next." It should say something along the lines of "In the File to Import window, select the pfx certificate generated in Step 1 and click Next."
This may have happened because the command "pbiviz --install-cert" didn't launch the certificate manager in my case. It is possible that if it launches with the command the file name is auto-populated with the right file name. Either way it is safer to have the additional text.

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

ID: 42b50f4b-5e10-6fef-ad73-612996d2001a
Version Independent ID: 8eda699d-40de-e20b-d030-719a6c4e2ff2
Content: Setting up an environment for developing a Power BI visual - Power BI
Content Source: powerbi-docs/developer/visuals/environment-setup.md
Service: powerbi
Sub-service: powerbi-custom-visuals
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi @premradhakrishnan,
Thank you for your comment, I'll take a look at your suggestion shortly and let you know what I decided to do.

Hi @premradhakrishnan,
Thanks for your comment.
I'm not sure why the pbiviz --install-cert command didn't launch the the certificate manager for you. @uve - are you aware of such a scenario?
In any case, I don't want to change the text as it isn't obvious where one should browse in order to find the certificate, and this is not the described scenario. The described scenario is:

Advanced users like yourself, can run the certificate manager separately, and find the certificate on their own.
Thanks,
Kesem

Hi Kesem,
No worries if you think the current text is sufficient.
Thank you for getting back to me.
Cheers
Prem
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Kesem<EMAIL_ADDRESS>Sent: Friday, 6 November 2020 1:33 AM
To<EMAIL_ADDRESS>Cc: Prem Radhakrishnan<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/powerbi-docs] Missing text in instructions (#2610)
Hi @premradhakrishnanhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpremradhakrishnan&data=04|01||bc932586501541a732be08d88197bd68|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637401835996670723|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Rq6%2FceYd8HP9UwAGR6%2BMyNK%2BWTuYuJq3%2FA8mBpXc5JI%3D&reserved=0,
Thanks for your comment.
I'm not sure why the pbiviz --install-cert command didn't launch the the certificate manager for you. @uvehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fuve&data=04|01||bc932586501541a732be08d88197bd68|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637401835996680723|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=xnHxydtNNGsEvepfUBu0Wssqeimr%2BIrVQefS33VEwlc%3D&reserved=0 - are you aware of such a scenario?
In any case, I don't want to change the text as it isn't obvious where one should browse in order to find the certificate, and this is not the described scenario. The described scenario is:
[image]https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F54834915%2F98253893-47762000-1f84-11eb-98d0-b12f4fa06372.png&data=04|01||bc932586501541a732be08d88197bd68|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637401835996680723|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=QWCIsBZ7wIUM4aQ8t0nTaj3qYLx%2FL6abkAjSY9xvLLg%3D&reserved=0
Advanced users like yourself, can run the certificate manager separately, and find the certificate on their own.
Thanks,
Kesem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fpowerbi-docs%2Fissues%2F2610%23issuecomment-722415458&data=04|01||bc932586501541a732be08d88197bd68|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637401835996690711|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=UuM%2FNRgIo3Q7LhwtVYR4TRqFlvpy8uj18rzmVEJiAT0%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAN5TPPDERCRJYBAYGKUHDITSOKZS5ANCNFSM4TJMG5SA&data=04|01||bc932586501541a732be08d88197bd68|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637401835996690711|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FkDH58Smsncn1mOQo5ONzU5YUzbdfotYYrgNq5qc0j4%3D&reserved=0.


Create an Analytical Dashboard via UI5 Web Components for React

Tutorial: https://developers.sap.com/tutorials/ui5-webcomponents-react-dashboard.html
Write here what you need help with ...
In AnalyticalTable Component, is it not possible to pass filterable property as prop per columns ?, because if you can only pass as props in AnalyticalTable Component, all columns would be filterable, but in case we want only one or two specific columns to be filterable?

Hi @cuevasDev
as mentioned here, you can pass disableFilters to the corresponding column configuration in the columns array.
I prepared a codesandbox that demonstrates this behavior.

Hi @cuevasDev
as mentioned here, you can pass disableFilters to the corresponding column configuration in the columns array.
I prepared a codesandbox that demonstrates this behavior.

I'm going to close this issue.
If there are any more questions, or something is unclear, please feel free to create another issue here or directly in the UI5 Web Components for React repo.

I'm going to close this issue.
If there are any more questions, or something is unclear, please feel free to create another issue here or directly in the UI5 Web Components for React repo.


Please change the token address. It doesn't automerge.

Hello.
RP request was made with one commit, but automatic merging is not possible. Please revise it.
I Just want change token address
charactbit token
6D4aGWykMymkFaeVzDS6MiH6QEujsHUze2pPGbJEyh7y
->YtfMZ4jg2ubdz4GasY86iuGjHdo5rCPJnFqgSf8gxAz
Several modifications have been attempted, but they do not change.

#10797
plz help me TT

you committed a huge diff: https://github.com/solana-labs/token-list/pull/10797/files
only a minimal diff will get merged


SW-5880 Added support for returning historical summary data

#2636  👈 (View in Graphite)
main

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

Merge activity

Nov 26, 3:53 PM EST: A user merged this pull request with Graphite.


limit option does not work

No matter what limit is specified, the results array return all the items. Basically limit option is not taken into effect.
$list = [
    [
        'title' => "Old Man's War",
        'author' => 'John Scalzi',
    ],
    [
        'title' => 'The Lock Artist',
        'author' => 'Steve Hamilton',
    ],
    [
        'title' => 'HTML5',
        'author' => 'Remy Sharp',
    ],
    [
        'title' => 'Right Ho Jeeves',
        'author' => 'P.D Woodhouse',
    ],
];

$options = [
    'keys' => ['author'],
    'limit' => 1,
];

$fuse = new \Fuse\Fuse($list, $options);

echo "
";
print_r($fuse->search('o'));
echo "
";

$list = [
    [
        'title' => "Old Man's War",
        'author' => 'John Scalzi',
    ],
    [
        'title' => 'The Lock Artist',
        'author' => 'Steve Hamilton',
    ],
    [
        'title' => 'HTML5',
        'author' => 'Remy Sharp',
    ],
    [
        'title' => 'Right Ho Jeeves',
        'author' => 'P.D Woodhouse',
    ],
];

$options = [
    'keys' => ['author'],
    'limit' => 2,
];

$fuse = new \Fuse\Fuse($list, $options);

echo "
";
print_r($fuse->search('o'));
echo "
";

Both examples above return the same result:
Array
(
    [0] => Array
        (
            [item] => Array
                (
                    [title] => Old Man's War
                    [author] => John Scalzi
                )

            [refIndex] => 0
        )

    [1] => Array
        (
            [item] => Array
                (
                    [title] => Right Ho Jeeves
                    [author] => P.D Woodhouse
                )

            [refIndex] => 3
        )

    [2] => Array
        (
            [item] => Array
                (
                    [title] => The Lock Artist
                    [author] => Steve Hamilton
                )

            [refIndex] => 1
        )

)

Is this a bug or am I missing something?

Hey @bounlu.
Yes, you've missed out on a minor detail. (No worries, somebody else already did before as well.)
The limit option is not part of the new Fuse(...) options but of the options to the search method. (More precisely: It's the only option of the search method as of now).
So what you'd want to do is this:
$options = [
    'keys' => ['author'],
-    'limit' => 1,
];

$fuse = new \Fuse\Fuse($list, $options);

echo "
";
-print_r($fuse->search('o'));
+print_r($fuse->search('o', [ 'limit' => 1 ]));
echo "
";

Hope this helps. :)

I see, thanks for the quick response. It works fine that way.


Memory leak

Hello,
At each request the memory increases, but never decreases.
BR

Do you have any code examples or actual debugging done to reproduce this issue? This doesn't give us anything to go off.

Each time I do a request the memory goes up, and even if you wait 2 hours never decrease, so imagine if you do 1000 requests.
@IBAction func Click(_ sender: Any)
{
let params = ["recu": "test1", "recu2": "test2"]
do {
let opt = try HTTP.POST("https://yourdomain.xxx/peroquet.php", parameters: params)
opt.start { response in
if let err = response.error {
print("error: (err.localizedDescription)")
return //also notify app of failure as needed
}
print("opt finished: (response.description)")
}
} catch let error {
print("got an error creating the request: (error)")
}
}

Ok, I understand your reasoning, but we actually have to debug if there is a memory leak somewhere in the library. Just looking at the graphs and assuming there is a leak because the memory doesn't decrease isn't a reliable way to reproduce this. I will try and debug this on my end using the memory profiler and leak detector to do some real analysis. If you would like to do the same that would great.

I tried to find it without success, It should be a strong reference.
Thank you , life long and prosper ;)


[core] DrawTriangleFan draw nothing

DrawTriangleFan Draw nothing, while DrawLineStrip with the same data draw as expected, and DrawPoly is OK.
I compare DrawTriangleFan and DrawPoly, and make sure they both use SUPPORT_QUADS_DRAW_MODE branch,
they are so like, but I realy can not fix it.
I use ubuntu 18.04 system.  I use the latest git version of raylib.

maybe it's about clockwise and counterclockwise

@wtjcn Please, could you share your sample code? It could be related to vertex order definition...

DrawTriangle dose the same way. demo code:
Vector2 v1 = { 100,100 };
Vector2 v2 = { 200,100 };
Vector2 v3 = { 200,200 };
BeginDrawing();
ClearBackground(RAYWHITE);
DrawTriangle(v1, v2, v3, RED);// will not show
DrawTriangle(v1, v3, v2, RED);// will show
EndDrawing();
if found in rlgl.h Line 1752:
glFrontFace(GL_CCW);                                    // Front face are defined counter clockwise (default)
this maybe the reason.
I think this should be documented.

@wtjcn Actually, DrawTriangle() has a comment on the function code, added another comment on DrawTriangleFan().
I also attach a working example for future reference:
#include "raylib.h"

int main(void)
{
    // Initialization
    //--------------------------------------------------------------------------------------
    const int screenWidth = 800;
    const int screenHeight = 450;

    InitWindow(screenWidth, screenHeight, "raylib [shapes] example - DrawTriangleFan()");

    Vector2 points[6] = {
        { 200, 200 },
        { 100, 100 },
        { 100, 300 },
        { 300, 300 },
        { 300, 100 },
        { 100, 100 }
    };

    SetTargetFPS(60);               // Set our game to run at 60 frames-per-second
    //--------------------------------------------------------------------------------------

    // Main game loop
    while (!WindowShouldClose())    // Detect window close button or ESC key
    {
        BeginDrawing();

            ClearBackground(RAYWHITE);

            DrawTriangleFan(points, 6, RED);   // It draws a RED square shape (4 triangles)

        EndDrawing();
    }

    // De-Initialization
    //--------------------------------------------------------------------------------------
    CloseWindow();        // Close window and OpenGL context
    //--------------------------------------------------------------------------------------

    return 0;
}


Give more specific names to some str types

Minor code change: I was reading this file and got a bit confused by all the "str"s everywhere; giving them some more specific names made them easier to read.
(I have another pending PR which will change all this :P But in the meantime I think this may be an improvement…)

Thanks! Block seems less useful but I'm fine keeping the others.

Done


[Improvement] Short disclaimer about what kind of data people can query for, so they don't think the app is broken

There's a lot of data we want to integrate. But for now, it's mostly limited to queries about race, age, gender, population, and crime of zip codes/cities/counties/states. We should add a disclaimer note somewhere on the front end so people don't think the app is broken.

Can I work on this issue?

@Harmonygrams yeah for sure!

Please asign to me

@Harmonygrams just assigned to you. no need for an input box for now i think (we have enough search data to sift through already to look for signal)
just a disclaimer note would be nice!

Okay. Cool
Is there any design I can work with?

I created a pull request.


windows 11 not working

not listening ,when i speek only showing stop recording
ModelLoader] Model already loaded to C:\Users\sksso\Documents\models\vosk-model-small-en-us-0.15
LOG (VoskAPI:ReadDataFiles():model.cc:213) Decoding params beam=10 max-active=3000 lattice-beam=2
LOG (VoskAPI:ReadDataFiles():model.cc:216) Silence phones 1:2:3:4:5:6:7:8:9:10

Hi, @selvam920, could you please provide the code that you use to recognize an audio from the mic?

i used example folder, i'm running in windows 11 computer

Unfortunately, at the moment there is no suitable package for receiving a byte stream from a mic on windows. So on Windows you can only recognize pre-recorded audio. In the example app you can see the recognized speech after pressing the "stop recording" button.

you should check if fmedia (which the record package uses under the hood) is working well on your machine


Allow folder selection when downloading a model

Feature Idea
I like to keep my models organized into folders within the main LORA, etc. folder.
I also like the new UI for downloading models, since it pulls important metadata too. But the current UI doesn't allow me to choose a folder within the main folder.
Other
No response

Great tip! I'll have to remember / type the name, but that's at least a good workaround

Should add at least tab completion for existing folders or something to make it easy, if not a dedicated folder dropdown

Oh- this was added a month or two ago.


[Build Error] Build is failing while linking LLVM

I am getting this error while building IREE by using the guide given on official site (https://iree-org.github.io/iree/building-from-source/getting-started/). I already have LLVM and MLIR build in separate directories, but building with IREE is not working.
Here are the terminal progress with error messages,
`$  cmake --build ../iree-build/
[0/2] Re-checking globbed directories...
[2192/4992] Linking CXX executable third_party/llvm-project/llvm/bin/lld
FAILED: third_party/llvm-project/llvm/bin/lld
: && /usr/bin/clang++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -w -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -Wno-unused-command-line-argument -fuse-ld=lld -Wl,--color-diagnostics   -Wl,--export-dynamic third_party/llvm-project/llvm/tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o third_party/llvm-project/llvm/tools/lld/tools/lld/CMakeFiles/lld.dir/lld-driver.cpp.o -o third_party/llvm-project/llvm/bin/lld  -Wl,-rpath,"$ORIGIN/../lib"  third_party/llvm-project/llvm/lib/libLLVMSupport.a  -lpthread  third_party/llvm-project/llvm/lib/liblldCommon.a  third_party/llvm-project/llvm/lib/liblldCOFF.a  third_party/llvm-project/llvm/lib/liblldELF.a  third_party/llvm-project/llvm/lib/liblldMachO.a  third_party/llvm-project/llvm/lib/liblldMinGW.a  third_party/llvm-project/llvm/lib/liblldWasm.a  third_party/llvm-project/llvm/lib/liblldCOFF.a  third_party/llvm-project/llvm/lib/libLLVMLibDriver.a  third_party/llvm-project/llvm/lib/libLLVMWindowsDriver.a  third_party/llvm-project/llvm/lib/libLLVMWindowsManifest.a  third_party/llvm-project/llvm/lib/liblldCommon.a  third_party/llvm-project/llvm/lib/libLLVMOption.a  third_party/llvm-project/llvm/lib/libLLVMX86CodeGen.a  third_party/llvm-project/llvm/lib/libLLVMX86AsmParser.a  third_party/llvm-project/llvm/lib/libLLVMX86Desc.a  third_party/llvm-project/llvm/lib/libLLVMX86Disassembler.a  third_party/llvm-project/llvm/lib/libLLVMX86Info.a  third_party/llvm-project/llvm/lib/libLLVMARMCodeGen.a  third_party/llvm-project/llvm/lib/libLLVMARMAsmParser.a  third_party/llvm-project/llvm/lib/libLLVMARMDisassembler.a  third_party/llvm-project/llvm/lib/libLLVMARMDesc.a  third_party/llvm-project/llvm/lib/libLLVMARMInfo.a  third_party/llvm-project/llvm/lib/libLLVMARMUtils.a  third_party/llvm-project/llvm/lib/libLLVMAArch64CodeGen.a  third_party/llvm-project/llvm/lib/libLLVMCFGuard.a  third_party/llvm-project/llvm/lib/libLLVMAArch64AsmParser.a  third_party/llvm-project/llvm/lib/libLLVMAArch64Disassembler.a  third_party/llvm-project/llvm/lib/libLLVMAArch64Desc.a  third_party/llvm-project/llvm/lib/libLLVMAArch64Info.a  third_party/llvm-project/llvm/lib/libLLVMAArch64Utils.a  third_party/llvm-project/llvm/lib/libLLVMRISCVCodeGen.a  third_party/llvm-project/llvm/lib/libLLVMGlobalISel.a  third_party/llvm-project/llvm/lib/libLLVMRISCVAsmParser.a  third_party/llvm-project/llvm/lib/libLLVMRISCVDisassembler.a  third_party/llvm-project/llvm/lib/libLLVMRISCVDesc.a  third_party/llvm-project/llvm/lib/libLLVMRISCVInfo.a  third_party/llvm-project/llvm/lib/libLLVMWebAssemblyCodeGen.a  third_party/llvm-project/llvm/lib/libLLVMAsmPrinter.a  third_party/llvm-project/llvm/lib/libLLVMSelectionDAG.a  third_party/llvm-project/llvm/lib/libLLVMWebAssemblyAsmParser.a  third_party/llvm-project/llvm/lib/libLLVMWebAssemblyDisassembler.a  third_party/llvm-project/llvm/lib/libLLVMWebAssemblyDesc.a  third_party/llvm-project/llvm/lib/libLLVMMCDisassembler.a  third_party/llvm-project/llvm/lib/libLLVMWebAssemblyInfo.a  third_party/llvm-project/llvm/lib/libLLVMWebAssemblyUtils.a  third_party/llvm-project/llvm/lib/libLLVMLTO.a  third_party/llvm-project/llvm/lib/libLLVMCodeGen.a  third_party/llvm-project/llvm/lib/libLLVMExtensions.a  third_party/llvm-project/llvm/lib/libLLVMPasses.a  third_party/llvm-project/llvm/lib/libLLVMTarget.a  third_party/llvm-project/llvm/lib/libLLVMObjCARCOpts.a  third_party/llvm-project/llvm/lib/libLLVMCoroutines.a  third_party/llvm-project/llvm/lib/libLLVMipo.a  third_party/llvm-project/llvm/lib/libLLVMBitWriter.a  third_party/llvm-project/llvm/lib/libLLVMInstrumentation.a  third_party/llvm-project/llvm/lib/libLLVMLinker.a  third_party/llvm-project/llvm/lib/libLLVMFrontendOpenMP.a  third_party/llvm-project/llvm/lib/libLLVMScalarOpts.a  third_party/llvm-project/llvm/lib/libLLVMAggressiveInstCombine.a  third_party/llvm-project/llvm/lib/libLLVMInstCombine.a  third_party/llvm-project/llvm/lib/libLLVMIRPrinter.a  third_party/llvm-project/llvm/lib/libLLVMVectorize.a  third_party/llvm-project/llvm/lib/libLLVMTransformUtils.a  third_party/llvm-project/llvm/lib/libLLVMAnalysis.a  third_party/llvm-project/llvm/lib/libLLVMProfileData.a  third_party/llvm-project/llvm/lib/libLLVMSymbolize.a  third_party/llvm-project/llvm/lib/libLLVMDebugInfoDWARF.a  third_party/llvm-project/llvm/lib/libLLVMDebugInfoPDB.a  third_party/llvm-project/llvm/lib/libLLVMDebugInfoMSF.a  third_party/llvm-project/llvm/lib/libLLVMObject.a  third_party/llvm-project/llvm/lib/libLLVMTextAPI.a  third_party/llvm-project/llvm/lib/libLLVMMCParser.a  third_party/llvm-project/llvm/lib/libLLVMMC.a  third_party/llvm-project/llvm/lib/libLLVMDebugInfoCodeView.a  third_party/llvm-project/llvm/lib/libLLVMIRReader.a  third_party/llvm-project/llvm/lib/libLLVMBitReader.a  third_party/llvm-project/llvm/lib/libLLVMAsmParser.a  third_party/llvm-project/llvm/lib/libLLVMCore.a  third_party/llvm-project/llvm/lib/libLLVMRemarks.a  third_party/llvm-project/llvm/lib/libLLVMBitstreamReader.a  third_party/llvm-project/llvm/lib/libLLVMBinaryFormat.a  third_party/llvm-project/llvm/lib/libLLVMSupport.a  -lrt  -ldl  -lpthread  -lm  /usr/lib/x86_64-linux-gnu/libz.so  /usr/lib/x86_64-linux-gnu/libtinfo.so  third_party/llvm-project/llvm/lib/libLLVMDemangle.a && cd /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/tools/lld/tools/lld && /home/oxe-lpt-50/temp/cmake-3.25.0/bin/cmake -E create_symlink lld /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/./bin/lld-link && cd /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/tools/lld/tools/lld && /home/oxe-lpt-50/temp/cmake-3.25.0/bin/cmake -E create_symlink lld /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/./bin/ld.lld && cd /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/tools/lld/tools/lld && /home/oxe-lpt-50/temp/cmake-3.25.0/bin/cmake -E create_symlink lld /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/./bin/ld64.lld && cd /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/tools/lld/tools/lld && /home/oxe-lpt-50/temp/cmake-3.25.0/bin/cmake -E create_symlink lld /home/oxe-lpt-50/iree-build/third_party/llvm-project/llvm/./bin/wasm-ld
ld.lld: error: undefined hidden symbol: blake3_compress_in_place_avx512

referenced by blake3_dispatch.c:146 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:146)
blake3_dispatch.c.o:(blake3_compress_in_place) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_compress_in_place_sse41

referenced by blake3_dispatch.c:152 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:152)
blake3_dispatch.c.o:(blake3_compress_in_place) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_compress_in_place_sse2

referenced by blake3_dispatch.c:158 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:158)
blake3_dispatch.c.o:(blake3_compress_in_place) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_compress_xof_avx512

referenced by blake3_dispatch.c:175 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:175)
blake3_dispatch.c.o:(blake3_compress_xof) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_compress_xof_sse41

referenced by blake3_dispatch.c:181 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:181)
blake3_dispatch.c.o:(blake3_compress_xof) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_compress_xof_sse2

referenced by blake3_dispatch.c:187 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:187)
blake3_dispatch.c.o:(blake3_compress_xof) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_hash_many_avx512

referenced by blake3_dispatch.c:204 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:204)
blake3_dispatch.c.o:(blake3_hash_many) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_hash_many_avx2

referenced by blake3_dispatch.c:212 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:212)
blake3_dispatch.c.o:(blake3_hash_many) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_hash_many_sse41

referenced by blake3_dispatch.c:220 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:220)
blake3_dispatch.c.o:(blake3_hash_many) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a

ld.lld: error: undefined hidden symbol: blake3_hash_many_sse2

referenced by blake3_dispatch.c:228 (/home/oxe-lpt-50/iree/third_party/llvm-project/llvm/lib/Support/BLAKE3/blake3_dispatch.c:228)
blake3_dispatch.c.o:(blake3_hash_many) in archive third_party/llvm-project/llvm/lib/libLLVMSupport.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[9/2881] Building CXX object third_par...keFiles/MLIRTableGen.dir/Pattern.cpp.o

ninja: build stopped: subcommand failed.`
Thank you!

I've never seen this issue before, and it is a quite basic failure in a very low level part of the llvm support library.
Can you share more information on the os and system you are on? I would usually categorize this as some kind of mis applied feature detect or ifdef in the build.
A couple of other things to try:

Build with the "-k 100" flag and see if all exchanges are failing to link in this way or just lld.
Try to build your other llvm tree with lld enabled and see if it again fails on building lld.
try to build in Release mode (I found some suspect references to this making a difference when searching).

If it is system specific, we'll probably need to isolate a repro, so any more details you can provide may give the clue.

Thank you so much your reply!
My OS is Ubuntu 20.04.5 LTS and system is Lenovo v15-g2-itl.
I think it could be an OS issue because earlier I tried building Polygeist (C++ MLIR Frontend) and it also failed with similar error. Although I rebuild MLIR-LLVM with lld enabled and it was successful.
I tried to search possible causes of error but found none. If you need any more information feel free to ask. Thanks again.

This error is reminiscent to me of somehow having another llvm library on the system that is getting used for part of the build (and exports a slightly different API, resulting in inscrutable linking issues), but I don't have anything to base that on. May be a red herring.
Definitely sounds like something specific to your setup. One way that can help identify if an environmental issue is to build in a clean docker container.
Otherwise, I would go looking at the preprocessor macros in the falling file and connect them back to whatever feature detect code is deriving them. It seems like something is going wrong there. You may be able to make a local white to disable support for those vector extensions to see if that clears it. I'm not familiar with the code that is failing and would be debugging it fresh, same as you.

Okay, thank you for your reply. I will then try to build it with docker image.


Prevent WSL2 from mounting local drives

Is your feature request related to a problem? Please describe.
I would like to allow my fellow to connect to my ubuntu installed via wsl2, so I want to hide all my local drives from ubuntu in case he accidently do something like "rm -rf". I can't simply use virtual machine because I need cuda support.
Describe the solution you'd like
provide an option to hide all local drives, exposing only the virtual file system of wsl2
Describe alternatives you've considered
Additional context

Add the following in /etc/wsl.conf file:
[automount]
enabled=false

See further information here https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/


Transfer ownership of meevax_vendor package

I succeed to develop meevax_vendor package and we can use meevax with ROS2 framework.
https://github.com/hakuturu583/meevax_vendor
I think it is better to transfer ownership to you.
How do you think about it?

Thanks for your contribution to Meevax.
First, while working with ROS2 is one of our future goals, it is not a current development focus. As such, I can't promise anything more than minimal maintenance if ownership of the repository is transferred to me. Also, in a worst case scenario, the Meevax ROS2 integration itself may be dropped from the target.
If you agree to the above, then there is no problem in transferring ownership of meevax_vendor to my GitHub account.
If you want to ensure that meevax_vendor is maintained and actively enhanced, I suggest you maintain it yourself.

Thanks for your contribution to Meevax.
First, while working with ROS2 is one of our future goals, it is not a current development focus. As such, I can't promise anything more than minimal maintenance if ownership of the repository is transferred to me. Also, in a worst case scenario, the Meevax ROS2 integration itself may be dropped from the target.
If you agree to the above, then there is no problem in transferring ownership of meevax_vendor to my GitHub account.
If you want to ensure that meevax_vendor is maintained and actively enhanced, I suggest you maintain it yourself.


[PBS] Fix AttributeError: 'NoneType'

Before submitting a pull request make sure you have:

[X] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[X] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
This is a fix for #15373

Is everythings good for merge ?

Is there anything else to do before the merge ?

Add a test.

This pull request is also a fix for #16684


BUG Fix multiscale flow to not require class conditional

The multi scale Flow has a required parameter in log_prob for y, which is not required if class_cond=False.

Lmk if there's anything else you would like me to add


⚠ Bofrost.be has degraded performance

In de06afe, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1660 ms

Resolved: Bofrost.be performance has improved in f082bd2.


[BUG] Ensure proposals are correctly being tracked and displayed

Overview
When an AnchorUpdateProposal or any proposal is signed by the DKG we should accurately display the proposal on the stats page. Currently, these proposals are being tracked but are being displayed as "Unknown".
This could be due to a types issue mentioned in this issue: https://github.com/webb-tools/webb-graphql/issues/73
Screenshot

Task Checklist

[ ] Investigate issue with types to see if this resolves this issue
[ ] Reproduce issue locally to ensure it works as intended

This issue was resolved in webb-graphql with this PR.


Different categories on home page

Should include:

Recent Bots (recently verified)
Top Bots (determined by guilds maybe?)
Featured Bots (handpicked or random bots)

@RONTheCookie Frontend is done for now.


Strikeout deprecated headings in sidemenu for docusaurus

What package is the feature request related to?
docusaurus-plugin-typedoc
Background
When using docusaurus plugin with sidemenu, the sidemenu title is not struck out when deprecated.

Proposed solution
It would really be nice if the sidemenu item is struck out when deprecated. Example from dart docs

Yes can do this. Will need to expose an additional flag to navigation via typedoc-plugin-markdown too. Will add to list for next release.

Epic thanks @tgreyuk!


exposing to_matrix functions to language

Summary:
@ziyuang brought this up in an issue comment:
... the functions discussed here (matrix to_matrix(vector, int, int), matrix to_matrix(row_vector, int, int), and matrix to_matrix(real[], int, int)), which seem already added to Stan, are not available, and cannot be found in the documentation.
Description:
See above.  We just want to expose these functions if they exist in the language.
Current Version:
v2.10.0

Does this really exists? Where? I don't remember having them implemented, nor what they do, what I know is matrix to_matrix(vector), to_matrix(row_vector) and matrix to_matrix(real[]) which are implemented and exposed.

These functions do not exist in the stan-dev/math library (yet).

Duplicate of #1452


Add all examples to Cargo.toml and fix them

Description
Currently some examples aren't added and are outdated, for example https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/client/send_all.rs and https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/client/tagged_data_to_utf8.rs

Just saw https://github.com/iotaledger/iota-sdk/pull/589 will fix this


vendor only certain crates or only crates from certain sources

Describe the problem you are trying to solve
I'm trying to use cargo vendor to easily share files/projects and be able to perform remote builds.
Some of my project dependencies are private (hosted in private git repos) while others are in public repositories, e.g. crates.io
Running cargo vendor downloads everything into vendor folder by default and produces something like the following config.toml
[source.crates-io]
replace-with = "vendored-sources"

[source."https://bitbucket.private_repo_name.git"]
git = "https://bitbucket.private_repo_name.git"
tag = "v0.0.205"
replace-with = "vendored-sources"

[source."https://bitbucket.private_repo_name2.git"]
git = "https://bitbucket.private_repo_name2.git"
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"

From a working perspective this approach works, but is not great as the vendor folder becomes slower to synchronise and the remote server I'm sending files to can already access crates.io (but not https://bitbucket.private_repo_name.git or https://bitbucket.private_repo_name2.git which is why I'm vendoring)
Describe the solution you'd like
It would be great to tell cargo vendor what to vendor and ignore everything else, or tell it what not to vendor and vendor everything else.
The vendor directory would only contain specific crates (private in my case), and the config.toml would only have "source." entries for those vendores crates
Notes
I'd be happy to contribute if this feature sounds relevant and generic enough.

In the meantime, is there any workaround? Such as cargo vendor but manually curating the result both in Cargo.toml and ./vendor if needed?

if by "manually curating" you mean deleting stuff in vendor that was already downloaded (and updating .cargo/config), this is what I'm doing.
It does work but it's not great as I'm trying to avoid downloading in the first place. Now I'm downloading and deleting which achieves the same but doing some useless download of things I know I'll delete.


Status / Dashboard - Conceal save icon when not dirty.

Icon should be shown when a widget is opened or closed so that the new state can be saved.

I have no problem with that.  But why is that condition not marked dirty?

Because a widget is frequently opened to view its information, and then closed again. We don't want to for the user to deal with "Stay on page/Leave page" in that case.

When the user want's to save widget collapse state changes they could expose the save icon by moving a widget to dirty the page.  ;)
But seriously that is a bit of a conundrum.  The technical means are there.  But nothing seems to present a smooth usage experience.

Agreed. I'm going to temporarily remove the class="invisible" for now. Let's think about how we can detect opening/collapsing widgets and enabling the icon.
I would have to try it, but something like $('.panel-body').bind('collapse', function() {enable_icon() }); might do it.

Think the sticking point is with the smoothness of usage.  For instance...

Don't want the save icon popping in and out every time a widget is expanded/collapsed.  Annoying.
Don't want to present warning when leaving the dashboard with a widget that has been left in a different collapse state.

Detecting the users intention is the real sticking point.  e.g. Did they just expand a widget to view something and now is going to that widgets page.  Or are they wanting to change the widgets collapse state setting.

PR has been cherry picked and merged, but the action temporarily disabled per the above discussion