Fetch actual cluster IDs

There are cases where the kube context name != the actual cluster ID so try to obtain it from the env var passed to the gateway pod.

Having to introduce a variant for the int parameter gave me pause but I don’t see a way around it!

yeah.  Thanks for the quick review. I'm still testing this - I didn't see the expected output in the downstream tests.

Having to introduce a variant for the int parameter gave me pause but I don’t see a way around it!

yeah. Thanks for the quick review. I'm still testing this - I didn't see the expected output in the downstream tests.

Verified it's working.


Fix statement vs expr

Fixes #51, #54
Essentially we make [Statement f] as our program and the main parsing rule.

Fix Sign vs Sig naming issue,
add Statements f newtype for [Statement f]
add Program f newtype of Statements f as top-level node of AST.
duplicate necessary functions with

stmt prefix for statements, and
expr prefix for expressions.

update and clean up all the test cases.
add stack bench for testing the generators.

In addition we add the benchmark of quickcheck generators

@effectfully, I added a benchmark (stack bench) for testing the generators.
Does the following output looks good to you?
Requested runs:  1000
Requested size:  1000

Minimum depth = 0
Maximum depth = 15
Mean depth    = 3.168

Minimum number of nodes = 0
Maximum number of nodes = 1890
Mean number of nodes    = 565.964

Does the following output looks good to you?

Yes. We'll need some more refined tool to output other interesting stats (how many adds, muls etc there are, how many variables the program has, how many of them are mentioned at least twice, how many comparisons are done on "negative integers", etc).
We'll also need to see if it makes the compiler tests slower, 'cause they are already quite slow.
But for now looks good.

There are some issues with ProgramWithEnv arbitrary instances:
        *** Failed! (after 4 tests and 1 shrink):
        evaluation of renamed program
        [Some 16,Some (UniConst Bool False),Some 1]
        differs from evaluation of original program
        [Some (UniConst Bool False),Some 16]
        for final state of renamed program
        Right (Env {unEnv = fromList [(0,Some 16),(9,Some (UniConst Bool False)),(23,Some 1)]})
        for final state of evaluated program
        Right (Env {unEnv = fromList [(9,Some (UniConst Bool False)),(23,Some 16)]})
        for renamed program
        let u_0 = 16;

        for original program
        let u_23 = 16;

        ProgramWithEnv (Program (Statements [ELet (UniVar {_uniVarUni = Field, _uniVarVar = u_23}) (EConst 16)])) (Env {unEnv = fromList [(9,Some (UniConst Bool False)),(23,Some 1)]})

I suspect there will be a test error, but it will be tied to #54 due to lack of assignments and proper typing environments.


The settings window should be bigger by default

What should be added?
With the recent addition of a table of contents on the right side of the settings menu, the width should be bigger.

Why should it be added?
You shouldn't be required to scroll across to see the full setting description.

Fixed by a commit that I can't be assed finding


aligned draft name with IETF rules

overtaken by PR #120. let's close this one.

@tlodderstedt can you pls resolve merge conflicts, then we can merge this PR.


[mini.icons] Can't get the icons to be displayed properly on Kitty terminal

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.icons
Description
I'm using Kitty terminal and have a nerd font ttf-jetbrains-mono-nerd 3.3.0-1, I can't get the icon to be displayed in the overflow view...
Neovim version
0.11.0-dev-1226+gaf112e605d
Steps to reproduce

nvim -nu minimal.lua
:=MiniIcons.get('file','file.lua')

Expected behavior
No response
Actual behavior
Should display the icon with the overflow view.

This doesn't look like an issue with 'mini.icons' per se.
Here are the steps that might help here:

Install different font or use suggested fallback. Probably try the pakcage without 'mono' in the title as some fonts might have that to indicate that all its glyphs should be rendered in a single cell.
Try following this recommendation and adjust symbol_map.
Check that narrow_symbols option does not override default "overflow" logic.


Greatly improve Y-sort performance on TileMaps

This greatly improves the performance of TileMaps that are Y-sorted (basically any isometric game).
On a relatively large map, the default quadrant size went from 60 fps to 800fps, so more than 10 times more frames!
This PR basically makes it so Y-sorting creates quadrants by grouping them in large horizontal rows. Instead of forcing the quadrant size to be (1, 1). The new size is thus Size2i(quadrant * quadrant, 1). Quandrant size is squared so that, by default, the quadrant contains as many tiles whether or no Y-sort is enabled.
The previous, and I guess safer behavior can be found again when quadrant size is set to 1, but that makes only sense when you rotate the TileMap, which is super unusual for isometric TileMaps.
Edit: not true in the latest version.
Bugsquad edit:

Fixes #74478.

Sorry, this PR still need some work. I wrongly assumed that two tiles with the same Y coordinate would share a same Y coordinate. However, depending on the tile_layout and the tile_offset_axis, this can be wrong. Also, I forgot to consider that y_sort_origin can be modified from a tile to another. This PR would lead to issues.

Can this be implemented for 3.5 tilemap as well?
By tinkering around I found out that if you replace this:
int TileMap::_get_quadrant_size() const {
	if (y_sort_mode) {
		return 1;
	} else {
		return quadrant_size;
	}
}

with this:
int TileMap::_get_quadrant_size() const {
	return quadrant_size;
}

then performance of an isomentric y-sorted tilemap with 400x400 tiles goes from 21 FPS to 720 FPS (34x gain) on my system.
Here's were this function is in 3.5 branch: https://github.com/godotengine/godot/blob/16f6a5b13967205e34f323d37b8915c8b7437544/scene/2d/tile_map.cpp#L50
I'm not very proficient with C++ or Godot codebase and thus not sure if I should open a PR myself and what kind of complications/regressions it might bring.

Can this be implemented for 3.5 tilemap as well?

I guess it could. But it's not simple to implement in general.

then performance of an isomentric y-sorted tilemap with 400x400 tiles goes from 21 FPS to 720 FPS (34x gain) on my system.

Well, yeah. But it means it would not Y-sort anymore.
We know the culprit is here. The fact the quadrant size is forced to 1 causes a lot more CanvasItems to be created, which is needed as sorting a tile requires it to be in its own canvas item.
The solution to this problem is to group tiles into quadrants according to their Y-value in global space, but this requires a rework of the way quadrants are created. This is why I set this PR as draft.

That's not true (at least or 3.5):

It might look like it works, but it's likely not. If I am not mistaking, tiles are drawn from top to bottom, left to right anyway, so the drawing order might stay correct in your situation. The problem arises when you need to add a scene (like a character) on the tiles. In that case the sorting cannot be done correctly.
It's would be more obvious with a TileSet which has some more height.

The buildings on the screenshot above are actually scenes, not tiles.
But the tiles are flat, you're right. I didn't check it with tiles that have some height.

But the tiles are flat, you're right. I didn't check it with tiles that have some height.

I general, if the tiles are flat, then you do not need Y-sorting on the TileMap anyway.

In general, if the tiles are flat, then you do not need Y-sorting on the TileMap anyway.

At this point I feel extremely stupid :D
I was so preoccupied with the idea that isometric maps should be y-sorted that forgot to think if I actually need this in my particular case.
But anyway, I'm glad that at least the culpit of performance problems in clear, so it can be fixed sometime in the future.
Thanks.

Performance figures for this PR can be found here: https://github.com/godotengine/godot/issues/74478#issuecomment-1528915321

Alright, pushed an update to this PR. The MRP in https://github.com/godotengine/godot/issues/74478 gives me 75 FPS on my machine, which sounds reasonable enough.

Alright, pushed an update to this PR. The MRP in #74478 gives me 120 FPS on my machine, which sounds reasonable enough.

This is awesome! Is this will implemented to Godot 3.5.x or Godot 4.2 only?
Thank you so much, was waiting for this fix for a long time ❤

This is awesome! Is this will implemented to Godot 3.5.x or Godot 4.2 only?

This relies on the TileMap rewrite only present in 4.x, so this won't be backported to 3.x.

Alright, pushed an update to this PR. The MRP in #74478 gives me 120 FPS on my machine, which sounds reasonable enough.

@groud I suppose the PR description is outdated and needs an update?

Alright, pushed an update to this PR. The MRP in #74478 gives me 120 FPS on my machine, which sounds reasonable enough.

@groud I suppose the PR description is outdated and needs an update?

Not really, maybe the numbers are not the exact same but I didn't use the same project. The changes are still more or less what is described.

Some crash when opening project:
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.2.dev.custom_build (4613bfc9df46670fd1c14a63b78e8117a83ee186)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] SelfList<RenderingQuadrant>::in_list (C:\godot_source\core\templates\self_list.h:176)
[1] TileMapLayer::_rendering_quadrants_update_cell (C:\godot_source\scene\2d\tile_map.cpp:523)
[2] TileMapLayer::_rendering_update (C:\godot_source\scene\2d\tile_map.cpp:258)
[3] TileMapLayer::internal_update (C:\godot_source\scene\2d\tile_map.cpp:1968)
[4] TileMap::_internal_update (C:\godot_source\scene\2d\tile_map.cpp:3021)
[5] call_with_variant_args_helper<TileMap> (C:\godot_source\core\variant\binder_common.h:308)
[6] call_with_variant_args<TileMap> (C:\godot_source\core\variant\binder_common.h:418)
[7] CallableCustomMethodPointer<TileMap>::call (C:\godot_source\core\object\callable_method_pointer.h:105)
[8] Callable::callp (C:\godot_source\core\variant\callable.cpp:51)
[9] CallQueue::_call_function (C:\godot_source\core\object\message_queue.cpp:220)
[10] CallQueue::flush (C:\godot_source\core\object\message_queue.cpp:326)
[11] SceneTree::process (C:\godot_source\scene\main\scene_tree.cpp:512)
[12] Main::iteration (C:\godot_source\main\main.cpp:3526)
[13] OS_Windows::run (C:\godot_source\platform\windows\os_windows.cpp:1474)
[14] widechar_main (C:\godot_source\platform\windows\godot_windows.cpp:182)
[15] _main (C:\godot_source\platform\windows\godot_windows.cpp:204)
[16] main (C:\godot_source\platform\windows\godot_windows.cpp:218)
[17] WinMain (C:\godot_source\platform\windows\godot_windows.cpp:232)
[18] __scrt_common_main_seh (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[19] <couldn't map PC to fn name>
-- END OF BACKTRACE --

Some crash when opening project:

I've just pushed a new version, it might be fixed (I will need an MRP if it still happen).

It's fixed.

It's buggy (tested the latest artifact v4.2.dev.custom_build [https://github.com/godotengine/godot/commit/968d174f4819f811e46c54178dcb71d03ffc3431], things work fine in 4.2.dev5).

Oh right, I can reproduce the bug. I'll have a look.

BTW as shown in the previous GIFs, this PR inverts the problem in #71257:

v4.2.dev5.official [e3e2528ba]
this PR

Sorting left to right (by ascending x) like in this PR seems more intuitive, just not sure if the change itself could be problematic.

It's buggy (tested the latest artifact v4.2.dev.custom_build [https://github.com/godotengine/godot/commit/968d174f4819f811e46c54178dcb71d03ffc3431], things work fine in 4.2.dev5).

I pushed a new version, it should be solved now.

Sorting left to right (by ascending x) like in this PR seems more intuitive, just not sure if the change itself could be problematic

That might be an issue, though I am not sure how to solve it :thinking: . I guess I could maybe implement a custom sorting when Y-sort is enabled, but that is tricky to implement. maybe I could sort and reverse the list in that case. Though that needs some addition to selflist.
But well that's a bit corner case, so I think I would keep this new behavior for now, and implement the "more complex" solution if someone asks for it to be brought back.

That might be an issue, though I am not sure how to solve it 🤔 . I guess I could maybe implement a custom sorting when Y-sort is enabled, but that is tricky to implement. maybe I could sort and reverse the list in that case. Though that needs some addition to selflist.

Not sure if I'm missing something but wouldn't it be just a matter of replacing rendering_quadrant->cells.sort(); with rendering_quadrant->cells.sort_custom<SomeCustomVector2iComparator>();? :thinking:

But well that's a bit corner case, so I think I would keep this new behavior for now, and implement the "more complex" solution if someone asks for it to be brought back.

I mean if we want to preserve the previous sorting then we could add it in here. As per above I think it's a matter of defining a proper comparator.
Actually now I've realized that currently in this PR sorting of each "Y-slice" is using Vector2i::operator<(const Vector2i &p_vec2) const:
https://github.com/godotengine/godot/blob/fe5b1c8d49313d63fbe91cb7cdf463e10fb86afa/core/math/vector2i.h#L106
Meaning it sorts by X first, then by Y. Looking at the code each such Y-slice has 0.01 "height", meaning theoretically it can include tiles with different Y values and hence these could be sorted incorrectly. Highly unlikely to happen but still.
So it makes even more sense to use a custom comparator, sorting by Y first. Then X values could be compared as before (https://github.com/godotengine/godot/pull/73813#issuecomment-1729381779) in case we'd want to avoid potential regressions (some users might rely on the previous ordering).
(Allowing/exposing a way to choose X ordering would indeed be more problematic and is out of scope of this PR.)

I mean if we want to preserve the previous sorting then we could add it in here. As per above I think it's a matter of defining a proper comparator.

You were right, it didn't need anything more than that.
But I think to keep compatibility, there's no need to look into the "local coordinate" space. There was no sorting before done using local coordinates, so using map coordinates like (I did there) should be enough.

But I think to keep compatibility, there's no need to look into the "local coordinate" space. There was no sorting before done using local coordinates, so using map coordinates like (I did there) should be enough.

Right, these are in map coordinates, I guess I somehow got into thinking about them as being local. :smile: So kinda nevermind the comment. Indeed should be good enough, at least until some edge case is reported. :upside_down_face:

Thanks!


Refactor project generation so that contract is copied from single so…

…urce

could you let the ci pass first?

Lgtm overall. Not sure about:

shouldn’t there be change to index.ja in web template copying? E. g. To avoid it erroring on rust + react
looks like blank rust project folder still remains because of gitkeep file.

the change to generate rust + react is in flight.
We can't quite get rid of rust project yet because of readme file and package.json diffs.


[HW]

Name:  salaimuniselvam
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/salai-muni-selvam-b7aaa71b4/
netlify-prod-link : https://agitated-shaw-cb7d03.netlify.app

Hey salaimuniselvam, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/6XqPK75vQrmXYKZcTD6KRw


Error code 1005 - The end date of the missing episode or episode that the child was away from placement without authorisation is not a valid date.

Error information
Error code
1005
Description to display
The end date of the missing episode or episode that the child was away from placement without authorisation is not a valid date.
DfE Long-form description of error
The date should be entered in the form DD/MM/YYYY and should be a valid date.
DfE suggested coding
If provided <MIS_END> must be in a valid format and contain a valid date  Format should be DD/MM/YYYY.
For further info, refer to the DfE validation document here

Closing as duplicate of #67


Template does not evaluate as expected in the pods field of KubeExecAll

Describe the bug
pods field in KubeExecAll can be go-templated. Despite my template is correct given the postgresql object I pass to the action set Kanister can't interpret it.
pods: "{{range until (int .Object.spec.numberOfInstances)}} {{ $.Object.metadata.name }}-{{.}}{{end}}"

generate this error message
 error:
    message: |-
      pods ".Object.spec.numberOfInstances)}}" not found
      pods "until" not found
      pods "}}-{{.}}{{end}}" not found
      pods "{{range" not found
      pods "$.Object.metadata.name" not found
      pods "(int" not found
      pods "{{" not found
  state: failed

For instance this template
pods: '{{range until 3}} acid-pg-cluster-{{.}}{{end}}'

or  this one
pods: "{{ .Object.metadata.name }}-0 {{ .Object.metadata.name }}-1 {{ .Object.metadata.name }}-2"

work fine.
I also check the validity of this template with this go code
package main

import (
	"fmt"
	"os"
	"text/template"

	"github.com/Masterminds/sprig"
)

func main() {

	// Set up variables and template.
	numberOfInstances := int64(3)
	vars := map[string]interface{}{
		"Object": map[string]interface{}{
			"metadata": map[string]interface{}{"name": "acid-pg-cluster"},
			"spec":     map[string]interface{}{"numberOfInstances": numberOfInstances}}}
	tpl := `{{range until (int .Object.spec.numberOfInstances)}} {{ $.Object.metadata.name }}-{{.}}{{end}}`

	// Get the Sprig function map.
	fmap := sprig.TxtFuncMap()
	t := template.Must(template.New("test").Funcs(fmap).Parse(tpl))

	err := t.Execute(os.Stdout, vars)
	if err != nil {
		fmt.Printf("Error during template execution: %s", err)
		return
	}

}

To Reproduce
Install zalando operator and a postgresql example
helm repo add postgres-operator-charts https://opensource.zalando.com/postgres-operator/charts/postgres-operator
helm install postgres-operator postgres-operator-charts/postgres-operator
cat <<EOF | kubectl create -f -
apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
  name: acid-pg-cluster
  namespace: "default"
  labels:
    team: acid
spec:
  teamId: "acid"
  volume:
    size: "200Gi"
  numberOfInstances: 3
  enableMasterLoadBalancer: false
  enableReplicaLoadBalancer: false
  allowedSourceRanges:  # load balancers' source ranges for both master and replica services
  - <IP_ADDRESS>/32
  postgresql:
    version: "13"
    parameters: # Expert section
      shared_buffers: "500MB"
      effective_cache_size: "1500MB"
      max_connections: "300" #setting this based on mariadb (cmdb)
      log_statement: "ddl"
      wal_compression: "on"
      work_mem: "40MB"
      random_page_cost: "1.0"
      autovacuum_vacuum_scale_factor: "0.1"
      logging_collector: "off"
      log_destination: "stderr"
      shared_preload_libraries: "pgaudit,pg_stat_statements,pg_stat_kcache"
      wal_keep_size: "1024MB"
  enableShmVolume: false
  # podPriorityClassName: "nom-backend-service-db"
  spiloRunAsUser: 101
  spiloFSGroup: 103
  resources:
    requests:
      cpu: "1000m"
      memory: "1500Mi"
    limits:
      cpu: "2000m"
      memory: "1500Mi"
  patroni:
    initdb:
      encoding: "UTF8"
      locale: "en_US.UTF-8"
      data-checksums: "true"
    #pg_hba, please note: whole pg_hba.conf gets overwritten.
    ttl: 30
    loop_wait: &loop_wait 10
    retry_timeout: 10
    synchronous_mode: true
    synchronous_mode_strict: true
    maximum_lag_on_failover: 33554432
  serviceAnnotations:
    prometheus.io/path: /metrics
    prometheus.io/port: "9187"
    prometheus.io/scrape: "true"
EOF

Wait for the acid-pg-cluster to be ready then install this blueprint
cat <<EOF | kubectl create -f -
apiVersion: cr.kanister.io/v1alpha1
kind: Blueprint
metadata:
  name: zalando-bp-simplified
  namespace: kasten-io
actions:
  helloZalando:
    phases:
    - func: KubeExecAll
      name: helloToAllPods
      args:
        namespace: "{{ .Object.metadata.namespace }}"
        # work
        #pods: '{{range until 3}} acid-pg-cluster-{{.}}{{end}}'
        # does not work we're investigating
        pods: "{{range until (int .Object.spec.numberOfInstances)}} {{ $.Object.metadata.name }}-{{.}}{{end}}"
        # work
        #pods: "{{ .Object.metadata.name }}-0 {{ .Object.metadata.name }}-1 {{ .Object.metadata.name }}-2"
        containers: postgres
        command:
        - bash
        - -o
        - errexit
        - -o
        - pipefail
        - -c
        - |
           touch helloZalando.txt
EOF

And execute the actionset
cat <<EOF | kubectl create -f -
apiVersion: cr.kanister.io/v1alpha1
kind: ActionSet
metadata:
  name: hello-zalando-actionset
  namespace: kasten-io
spec:
  actions:
  - blueprint: zalando-bp-simplified
    name: helloZalando
    object:
      apiVersion: v1
      group: acid.zalan.do
      kind: ""
      name: acid-pg-cluster
      namespace: default
      resource: postgresqls
    preferredVersion: v1.0.0-alpha
    profile:
      apiVersion: v1alpha1
      group: ""
      kind: profile
      name: kanister-phase-k10-location-k7f9x
      namespace: kasten-io
      resource: ""
EOF

Expected behavior
Actionset should complete but get the error described above
Environment
Kubernetes Version/Provider:
k version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1-5-g76a04fc", GitCommit:"c66c03f3012a10f16eb86fdce6330433adf6c9ee", GitTreeState:"clean", BuildDate:"2021-03-13T02:23:52Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.6", GitCommit:"07959215dd83b4ae6317b33c824f845abd578642", GitTreeState:"clean", BuildDate:"2022-03-30T18:28:25Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}

Storage Provider: azure
Cluster Size (#nodes): 3
Data Size: 200Gi
kasten version : 4.5.14

I see, yes that would make the blueprint more portable. Advanced blueprint want to leverage full templating. at least me :)

Yeah, I agreed with re-usable and portable blueprints. We will need to look deeper into how the context is interpreted in our code. If you have some bandwidth, we can use some help there. AFAICT, that part of the code base hasn't changed for a while.

I can try.

Looks like the issue is that our renderer is confused by the $. prefix, thinking that it's a jsonpath instead of a reference to the global Helm scope. The current code skips all jsonpath-looking string found in the function arguments.
I don't know what's a safe way to fix this, without the risk of regression. Is jsonpath in function args a common use case?
What I got so far is to parse the Go templates first. If there are parsing errors and the inputs are valid jsonpath, then skip the errors. But this means invalid sub-keys within TemplateParams (e.g., Object.foo.bar) will also be treated as jsonpath.
diff --git a/pkg/param/render.go b/pkg/param/render.go
index b86c1079..b35def5f 100644
--- a/pkg/param/render.go
+++ b/pkg/param/render.go
@@ -120,18 +120,18 @@ func RenderArtifacts(arts map[string]crv1alpha1.Artifact, tp TemplateParams) (ma
 }

 func renderStringArg(arg string, tp TemplateParams) (string, error) {
-	// skip render if contains jsonpath arg
-	matched := jsonpath.FindJsonpathArgs(arg)
-	if len(matched) != 0 {
-		return arg, nil
-	}
-
 	t, err := template.New("config").Option("missingkey=error").Funcs(sprig.TxtFuncMap()).Parse(arg)
 	if err != nil {
 		return "", errors.WithStack(err)
 	}
 	buf := bytes.NewBuffer(nil)
 	if err = t.Execute(buf, tp); err != nil {
+		// skip render if contains jsonpath arg
+		matched := jsonpath.FindJsonpathArgs(arg)
+		if len(matched) != 0 {
+			return arg, nil
+		}
+
 		// Check if Error is because of undefined key,
 		// which will lead on execute error on first undefined (missingkey=error).
 		// Get the undefined key name from the error message.

I don't understand why if a string contains a jsonpath we just return the string instead of trying to render it. I probably miss something here.

Jsonpath is skipped so that they can be passed to the underlying command (e.g., kubectl) as-is, and let the tool handle them.

I see for instance the wait function https://docs.kanister.io/functions.html#wait can work with jsonpath
- func: Wait
  name: waitNsReady
  args:
    timeout: 60s
    conditions:
      allOf:
        - condition: '{{ if (eq "{ $.status.phase }" "Invalid")}}true{{ else }}false{{ end }}'
          objectReference:
            apiVersion: v1
            resource: namespaces
            name: "{{ .Namespace.Name }}"
        - condition: '{{ if (eq "{ $.status.phase }" "Active")}}true{{ else }}false{{ end }}'
          objectReference:
            apiVersion: v1
            resource: namespaces
            name: "{{ .Namespace.Name }}"

This wait example is indeed a case where we must not render the template because kubectl wait is expecting a valid jsonpath.
Would it make sense to let the template author control if he wants the template to be rendered before being passed to the function.
For instance let's say that 3 single quote should not be rendered before being passed to the function ?
'''{{ if (eq "{ $.status.phase }" "Invalid")}}true{{ else }}false{{ end }}'''

But 1 double or single quote should be rendered
"{{ .Namespace.Name }}"

Another approach is to distinguish per function when to render and when we should not, it's harder to implement and maintain but more backward compatible with all the template that already use wait.

Get the same issue for the elastic operator this expression render immeditely
pods: "{{ $name := .Object.metadata.name }}{{ $namespace := .Object.metadata.namespace }}{{range until (int .Object.spec.nodeSets.count)}} {{ $name }}-es-{{ $namespace }}-{{.}}{{end}}"


Cannot use with non-public domain names?

I can't find a way to point 'launcher.com' to <IP_ADDRESS> and then run https://github.com/inrupt/launcher-exploration on http://launcher.com:3000/ instead of on http://localhost:3000.
To reproduce, run npm install && npm start in the master branch of https://github.com/inrupt/launcher-exploration. That will open http://localhost:3000 and you can log in, that works.
Now add <IP_ADDRESS> launcher.com to your /etc/hosts file and navigate to http://launcher.com:3000/ and try to log in. The login popup will hang, and you'll see an error like this:

Hmm that's certainly strange. I would have thought it would work even if configured through etc/hosts. I'll add this as a requirement for the new authenticator.

I would have thought it would work even if configured through etc/hosts.

It does; the cause above is something different. (See for instance https://github.com/solid/solid-auth-client/issues/73)

See also https://github.com/solid/solid-auth-client/issues/79 and https://github.com/solid/profile-viewer-tutorial/issues/4


Relasing DnD Core Instance draft

Codecov Report

Merging #18 into master will decrease coverage by 1.81%.
The diff coverage is 80.00%.

@@             Coverage Diff             @@
##            master      #18      +/-   ##
===========================================
- Coverage   100.00%   98.18%   -1.82%
===========================================
  Files            3        3
  Lines           52       55       +3
  Branches        15       16       +1
===========================================
+ Hits            52       54       +2
- Misses           0        1       +1

Impacted Files
Coverage Δ

packages/store/src/Store.js
95.45% <80.00%> (-4.55%)
:arrow_down:

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 bb725c0...461f0fd. Read the comment docs.


Add a Nexus Repository Cleanup Task

Checklist

[X] I have verified this is the correct repository for opening this issue.
[X] I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.
Customers will sometimes reach out for help implementing a cleanup policy for their nuget repositories.
We should provide examples or a policy we would be happy with (disabled), so they can quickly and easily enable it for them.
Describe The Solution. Why is it needed?
A cleanup method with options for customers to configure, allowing them to cleanup old and unwanted package versions.
Additional Context
Note: A Nexus cleanup task may not meet the needs of our customers. We have had to use a Groovy script instead, as the default cleanup task will delete all old packages, leaving none in place. This may suit some customers, but many prefer to keep the latest package available locally.
Using something like PhillSwiss' Nexus-Cleanup (or my modified version that I should probably see if the changes can be fed upstream) would allow for this additional functionality.
Related Issues
No response

Feel like this may be better as a doc considering it's not a one fits all solution and may require org specific configuration.

We won't be implementing this change, as there's no "one answer" that will satisfy all customers. Instead, we'll document some "recommended" policies, and point to Sonatype documentation on cleanup policy if they wish to create there own outside our select examples


Error when compiling just the header and library

Hi
After installing FGTranslator pod and after including "FGTranslator.h" I'm getting error  'Definition of type 'FGTranslatorError' conflicts with typedef of the same name' while compiling. But I was able to run your demo code and it had the same files. Any suggestions to what might be happening here?
Thanks

I opened an Azure account but there is no "Client ID", nor "secret".  What I get is 2 Keys.  Do we know where to find the client id and secret, or is key 1 the id and key 2 the secret?
Thanks!


LanguageTool comparision?

Hi, this is a great alternative for grammar checkers! Until now, I was using LanguageTool. I would like to know, what are the differences to LanguageTool? not only in speed, but also does it use the same rules? or does it work differently?
Thanks!

i think having a comparison with other spell checkers like grammalecte and hunspell would be great as well.. From what i gathered, harper imported dictionaries from the latter, but doesn't work in french like the former (nor non-US english, see #113). Not sure about language tool, but i would assume it uses different rules and works differently as well. Certainly languagetool doesn't have LSP support, AFAIK...

Sorry it took so long to get a response to you. It looks like @lukasmwerner wrote up a table that (might) answer your questions.
If there's more information that you think needs to be added, say so.


Should version in build.gradle be moved up...

Should version in build.gradle be moved up to 6.12, to match the value in Build.kt?
Signed-off-by: nickboldt<EMAIL_ADDRESS>

In fact 6.12 already exist (https://bintray.com/cbeust/maven/testng/6.12), so it should be 6.12.1-SNAPSHOT


Incompatible with vincentlanglet/twig-cs-fixer > 2.0.0

ArgumentCountError - Too few arguments to function TwigCsFixer\Report\Reporter\TextReporter::display(), 3 passed in /home/project/actions-runner/_work/project/vendor/project-nos/spryker-twig-code-sniffer/src/Nos/Shared/TwigCodeSniffer/Runner/Runner.php on line 137 and exactly 4 expected in ...vendor/vincentlanglet/twig-cs-fixer/src/Report/Reporter/TextReporter.php::26
The fourth parameter was introduced in version 2.1.0 (https://github.com/VincentLanglet/Twig-CS-Fixer/compare/2.0.0...2.1.0)

Thanks @ynnoig for your issue report. I will create a new Release ASAP and lock the version to 2.0.


[Improvement] [Node Execution] 3.0.0 version cannot execute only the current node task

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
In version 3.0.0,  I cannot execute only the current node task. This is because node execution selection is not performed on the operable interface. But version 2.0.6 does.
As shown below, the first picture is the node task operation interface of version 3.0.0, and the second picture is version 2.0.6. It can be seen that version 2.0.6 has the option of executing node, but version 3.0.0 does not.

What you expected to happen
Hopefully, version 3.0.0 will also have node execution options, you can select Backward execution and Forward execution and Execute only the current node.
How to reproduce
You can try using version 3.0.0 to execute only the current node task.
Anything else
No response
Version
3.0.0
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

relate #10117


Allow configuring a base path for the configuration UI

I would like to specify a base path under which the configuration UI is reachable. For instance, several pages of the UI can be accessed via the following URLs:

host:port/ui
host:port/ui/login
host:port/ui/configuration
etc.

I would like to configure a base path, e.g., my-config-server such that the pages can be accessed via:

host:port/my-config-server/ui
host:port/my-config-server/ui/login
host:port/my-config-server/ui/configuration
etc.

Duplicate of #601


Provide a way to set the DSN before sending a message

Currently, raven-node does not provide a way to set the DSN before a message is sent. This type of functionality is exposed in raven-js via setDSN(), and it can be useful in situations where more than one DSN is tied to a single deployment. Two possible options for implementing this are (i) exposing a similar setDSN() method as raven-js does or (ii) adding something like a dsnCallback option that is invoked before messages are sent.
Is there any interest in this functionality? Thanks for your time!

I'm not sure what you mean here. If you want to send to multiple DSNs, you can have multiple instances (note in docs):
var Raven = require('raven');
var Raven1 = new Raven.Client(dsn1);
var Raven2 = new Raven.Client(dsn2);
Raven1.captureException(new Error('goes to dsn 1'))
Raven2.captureException(new Error('goes to dsn 2'))

@LewisJEllis Good point. More context is probably needed here. Right now, if you want to send an error to either dsn1 or dsn2 in an Express app, then you can to do something like the following:
const app = require('express')()
const Raven = require('raven')

const Raven1 = new Raven.Client(dsn1, {
    shouldSendCallback: (data) => {
        // should send?
    }
})
const Raven2 = new Raven.Client(dsn2, {
    shouldSendCallback: (data) => {
        // should send?
    })

app.use(Raven1.requestHandler())
app.use(Raven2.requestHandler())

app.get('/', (req, res) => {
    throw new Error('goes to dsn x')
})

app.use(Raven1.errorHandler())
app.use(Raven2.errorHandler())

app.listen(3000)

The only drawbacks to this approach are that you need to instantiate multiple clients and if the shouldSendCallback() methods get out of sync and all return false then you might not be capturing the error at all. The idea mentioned in the first post is a nice-to-have in this situation so that you only have to instantiate one client and you could always have a default DSN applied, avoiding the case where both shouldSendCallback() methods return false. For example,
const app = require('express')()
const Raven = require('raven')

Raven.Config(dsn, {
    setDsnCallback: (data) => {
        if (/* condition 1 */) {
            return dsn1
        }

        if (/* condition 2 */) {
            return dsn2
        }

        return defaultDsn
    }
})

app.use(Raven.requestHandler())

app.get('/', (req, res) => {
    throw new Error('goes to dsn x')
})

app.use(Raven.errorHandler())

app.listen(3000)


Feature Request: Audio Monitoring / Volume Meter

Firstly, thank you for creating this tool.
I have a feature request as this tool supports more window types than just the EVE client. It would be useful to know which window is generating a sound event (e.g. hull alarm) by way of monitoring for sound and providing an optional sound meter or similar flashing based on volume peak.
OBS Studio for Mac does it through the Capture kit. More details here: https://obsproject.com/kb/macos-desktop-audio-capture-guide

This is a great idea, and should be doable!
This project is based on sample code from Apple for ScreenCaptureKit, which already has audio recording, so hopefully it will be straightforward.
This feature would work especially well for games like EVE where you turn off all audio other than alerts/messages.

Maybe it could be enabled/disabled by using some kind of streamer mode via settings?!

Llilith Day — 2024-12-22
Could you incorporate a visual of the sound coming from that client on the preview. Like a waveform graphic that shows the audio?
Example: I have two characters sitting on two different wormholes, cloaked functioning as eyes. One wormhole is activated - I could check the preview window for the visual representation of the wormhole activation noise.
https://discord.com/channels/1295309622445473865/1295309623074750571/1320484350281777153

Adding this to the "will do" pile, with interest from at least 3 people (and also a differentiating feature from eve-o preview).
Not sure when I can get around to it, but like I mentioned before, the screen capture api already supports this.


Add a reference to jmespath-java

jmespath-java is a new JMESPath implementation and we made our first public release today. It would be great if we could get a link from jmespath.org!

This is awesome!
Aside from the existing PR to update one of the tests with raw strings, does this pass all the compliance tests over in jmespath.test/?

Yes it does, we run them as part of our test suite (except for the benchmark file, since it's broken). It's great to have the compliance test suite to rely on when you're creating a new implementation.
Next up we're going to create a JRuby optimized implementation on top of jmespath-java, and hopefully merge it into jmespath.rb, see jmespath/jmespath.rb#37.

Perfect, thanks for all your work in this.  I think having a java implementation is going to be great.


Home page - Page locations

Currently it is not possible (as far as I know) to set alternative page locations for the home page. This can be quite confusing in some occasions and definitely a feature that is often needed when updating old websites. After the launch, we might have multiple pages that no longer exist but we want to 301 redirect those to the home page. Currently the fastest way to do this is through manually modifying the .htaccess file.
So, it would be highly convenient if we could do this directly from the UI simply by opening the "page locations" settings for the home page. Is there some reason why this has been disabled for the home page?
Obviously, we cannot change the primary canonical URL for the home page since that would possibly make the site inaccessible. But alternative URLs for the home page should not have any side effects, right?
Some other thoughts on this matter:
https://www.concrete5.org/community/forums/5-7-discussion/301-redirect-to-homepage-in-5.7/
https://github.com/concrete5/concrete5/issues/350#issuecomment-234520181
I'm sure some other people have also bumped into the situation where they end up searching for the missing "Page Location" section from the settings menu. I also once went deeper into the code for like 1 hour just to figure out it was disabled for the home page.

Yeah, I agree – I imagine the reason for the limitation is simply because you can't give the home page a different canonical url and we just wrapped the entire thing in a greedy if statement.


ROX-25748: Workload CVE a11y fixes

Description
Fixes the following axe errors in Workload CVEs:
Problem reported by axe DevTools

Ensure ARIA attributes are not prohibited for an element's role

https://dequeuniversity.com/rules/axe/4.10/aria-prohibited-attr?application=AxeChrome2

Analysis

aria-label attribute cannot be used on a div with no valid role attribute.

Solution
The offending div has no valid role because it is an empty element when no filters are applied. To fix, conditionally render this element only when there are applied filters and valid children.
Bonus! This removes a little bit of extra whitespace in the layout due to the empty element's padding.

Problem reported by axe DevTools

Ensure all ARIA attributes have valid values

https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr-value?application=AxeChrome

Analysis

Invalid ARIA attribute value: aria-controls="pf-tab-section-OBSERVED-pf-1723741011927z7xby7wrjx8"

Solution
The aria-controls attribute is invalid because it does not correspond to the id attribute of any other element in the DOM. The autogenerated ID does not match another element because these <Tab> components are disconnected from their content. To fix, a static value was passed to the tabContentId props and used as the id field of the element on the page that is controlled by the tab navigation.

Problem reported by axe DevTools

Ensure all ARIA attributes have valid values

https://dequeuniversity.com/rules/axe/4.10/button-name?application=AxeChrome

Analysis

aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty

Solution
The aria-labelledby attribute is set for these copy buttons, but is never set as the id of an element that can be used as a label. Since there is no element that consistently displays a label value that is appropriate for this button, the attribute was changed to aria-label="Copy image name".
User-facing documentation

[ ] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change
Visit the Workload CVE Overview page => Image tab and see the presence of 16 errors due to the three rule violations:

Visit the same page after the changes are applied and see zero reported rule violations:

Repeat these checks across the following pages, verifying that the axe errors above are not present.
Workload CVE Overview page - CVE, Image and Deployment tabs
Workload CVE page - Image and Deployment tabs
Workload CVE Image page
Workload CVE Deployment page

/retest


Failure to login AKV using SPN Certificate Credentials.

I'm using Certificate, instead of a secret as credentials for logging into the Azure.
The login action seems to pass in the workflow successfully but this action fails saying "Error: Could not login to Azure."
I am not able to wrap my head around this issue and needed help. Let me know if this is not the right place for this.

How am I supposed to debug this and any other information I can provide for assistance?

Hi @tulsishell - Will it be possible to share the workflow to see what are the steps you are executing in it? Thanks


dask.delayed serialization ignores custom pickling for dataclasses

dask.delayed.unpack_collections expands all dataclasses into their set of fields for serialization even when __reduce__ is overridden.  Is this behavior configurable? Is this the intended behaviour?

Hi @mcguipat , can you provide a small minimal example?  I suspect that this will help people understand what you are running into.

When constructing a dask.delayed, the serialization behavior differs from that of simply calling client.submit. Specifically, unpack_collections gets called on the arguments and the result is what gets pickled as opposed to the arguments themselves.  If, as in the example below, there is an unpickleable field on a dataclass that is serialized via override of __reduce__, the transformed arguments are unpickleable whereas the original arguments were pickleable.
from dask.delayed import unpack_collections
from distributed.protocol.pickle import dumps
from dataclasses import dataclass

class UnpickleableObj:

    def __init__(self, value: str) -> None:
        super().__init__()
        self.value = value

    def __reduce__(self):
        raise RuntimeError("Unpickleable")

@dataclass
class Foo:
    a: int
    b: UnpickleableObj

    def to_json(self):
        return {"a": self.a, "b": self.b.value}

    @classmethod
    def from_json(cls, serialized):
        return cls(serialized["a"], UnpickleableObj(serialized["b"]))

    def __reduce__(self):
        return self.from_json, (self.to_json(),)

def attempt_pickle():
    b = [Foo(1, UnpickleableObj("bar"))]
    c = unpack_collections(b)
    dumps(c)


remove sensitive data from ai.operation.name tag

When using oauth2 / openid connect a redirect takes place with an access token in the url fragment. This url including the access token in the url fragment appears in the ai.operation.name tag of telemetry. I would like to be able to remove the url fragment from the ai.operation.name tag using a telemetry initializer. However, when a telemetry initializer is called the ai.operation.name tag is not yet set, so I am unable to remove the url fragment from the tag. It appears the ai.operation.name tag is set after the telemetry initializer is called.  Can this be changed please?

Which version of the SDK are you using?
Looking through the code this is populated from the automatic values assigned to the context.telemetryTrace.name (in the latest Sdk) which is populated from the window.location.pathname, so assuming that the fragment (stuff after the '#') is being included in this for the browser then the option would be to either

Change this value during page load / Sdk initialization to remove everything after the '#'
Do the same in the telemetry initialzer (although you only need to do this once) -- but as it's a redirect scenario you probably won't be getting many events occurring -- this is of course that you have a specific page being returned / initialized for the redirect flow.

Thanks for your reply. We use version 2.8.1.
We managed to get the url fragment containing an access token removed from the ai.operation.name tag by removing it from envelope.baseData.name and envelope.baseData.target where envelope.baseType is RemoteDependencyData.
We also had to remove the url fragment containing an access token from envelope.baseData.uri and envelope.baseData.refUri where envelope.baseType is PageviewData and from envelope.baseData.uri where envelope.baseType is PageviewPerformanceData.
Finally we also had to remove it from envelope.ext.trace.name for all telemetry. This one made us wonder if this might break how application insights correlates telemetry, but it seems to still be ok.


Thread safety

Is there any thread safety handling integrated that can be somehow enabled? I think not, so is it considered to be integrated one day?

Currently there isn't anything that's not provided by the Android SDK already. Is there something specific you have in mind?

Are you referring to DB read/write operations or to thread safety of things like Query and model objects? The former are thread safe as long as your instance of AbstractDatabase is a singleton.

Actually, for my use case I would need thread safety between processes... At least for read/write options... Best would be thread safe transactions...
So in this case, the singleton can't be shared...

So if I understand correctly, you have two distinct processes that share a single database? I think that's a different issue than simple thread safety, and probably not something we'll be addressing any time soon.
You can read the accepted answer on this StackOverflow post for why it's best to keep your database instance a singleton. If you have multiple open connections to the same database, concurrent writes may fail. AbstractDatabase is a wrapper around SQLiteOpenHelper, so the same principles apply.
If you're currently using SQLiteDatabase and SQLiteOpenHelper to access a single db from multiple processes, presumably you've already had to solve this issue, so you could probably just apply the same synchronization mechanisms that work for you to any squidb database access you do from the various processes. However, you could take another approach and have one process be the database "owner", and make calls to that process via a service binding or something like that rather than trying to share the singleton. SquiDB models are Parcelable, so you could even pass them across process boundaries.
Does that help at all?

Yes. I have a long running service (that displays floating UI elements) and a setting activity. I update the service on every single change in the settings, so it sometimes is slow and therefore I decided to split both things into different processes...
I'm already using something like your second suggestion to hand on bus events to another processes and probably i'll take that approach.

Cool. If the second approach sounds like it will work for you, it's definitely what I would recommend in this instance. I'm going to close this issue, but please feel free to reopen it if you have any more questions about this topic!


Azure ServiceBus-Connector breaks new Designer UI

Describe the Bug with repro steps
With the current UI we are no longer able to use the Azure-ServiceBus Connector. The Built-In Connector runs fine, without any issues.
As soon as we open a workflow that is triggered by a ServiceBus Message, the new Designer shows an error message at the trigger shape:

The workaround here is simple: Use the legacy designer.
Unfortunatly this occurs also when opening a workflow run. In this case the shape shows the Error message "Unable to initialize operation....." and all workflow activities show an endless loading icon:

The problem now is, that the window stops working completly as soon as you click on any shape in the workflow with the following Error message: "The renderComponentIntoRoot component encountered an error while loading."
Since there is now way to use the legacy view, I am not able to debug or view the run details of any workflow which uses the Azure ServiceBus Trigger.
As a workaround it would be great to opt into the legacy view in order to debug an instance.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using Preview Designer or GA Designer
Preview
Workflow JSON
{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {},
        "contentVersion": "<IP_ADDRESS>",
        "outputs": {},
        "triggers": {
            "Message_Received_Peek-Lock": {
                "inputs": {
                    "host": {
                        "connection": {
                            "referenceName": "servicebus"
                        }
                    },
                    "method": "get",
                    "path": "/@{encodeURIComponent(encodeURIComponent('xxxxxxxx'))}/messages/head/peek",
                    "queries": {
                        "queueType": "Main",
                        "sessionId": "None"
                    }
                },
                "recurrence": {
                    "frequency": "Second",
                    "interval": 5
                },
                "type": "ApiConnection"
            }
        }
    },
    "kind": "Stateless"
}

Screenshots or Videos
No response
Browser
Chrome, Edge
Additional context
No response

Do you mind sharing the connections object for this action in connections.json
And was this node loading correctly in legacy designer? @alqbq

I figured out, that the problem occurs when using @appsetting() references in the connections.json
We use them in our connections to deploy our logic apps to different environments.
Here is an extract of one of the failing connectors from our connections.json. I manually replaced the location and subscriptionId references in the api -> id property and the UI was able to load the Designer and the Run Instance correctly.
"servicebus": {             "api": {                 "id": "/subscriptions/@appsetting('subscriptionId')/providers/Microsoft.Web/locations/@appsetting('location')/managedApis/servicebus"             },             "authentication": {                 "type": "ManagedServiceIdentity"             },             "connection": {                 "id": "/subscriptions/@appsetting('subscriptionId')/resourceGroups/@appsetting('resourceGroup')/providers/Microsoft.Web/connections/@appsetting('serviceBus_ConnectionName')"             },             "connectionRuntimeUrl": "@appsetting('serviceBus_ConnectionUrl')"         },

This issue has been fixed now and the fix will make it to all production regions by tommorow EOD


Easily switchable crazyflie server back end

The idea is to merge the crazyflie_server_py with the crazyflie package and make the backend of the server selectable by the launch file. Like this:
Default (cpp)
ros2 launch crazyflie launch.py
ros2 run crazyflie_examples hello_world

cflib backend(python)
ros2 launch crazyflie launch.py backend:='cflib'
ros2 run crazyflie_examples hello_world

We should also make a motioncapture argument as well

Ah I forgot the 'We should also make a motioncapture argument as well' part. I'll make a separate issue for this


Problem creating a pull request

Steps to Reproduce

... Try to create a pull request
...
...

Logs

Logs

Closing, as this issue does not appear to describe a problem. If you are looking for help, please use another resource listed an flutter.dev/community. If you have an bug to report, please file a new issue and fill in the requested information; we cannot take action on reports that don't describe a problem in detail.


refactor(issues/KUI-1336): delete CoursePresentaion component and a small refactor in CourseMemo file

This task (IF-1336 consists of two parts,

Remove display of text and image in published course PM: for this part I realized that there is a component in the project that handles the display of the section that is meant to be deleted, the name of the component is "Course Presentation".
I have deleted the component and all of the related parts that called it. I also needed to call jest --updateSnapshot to prevent tests to be failed.

Also consider possibly removing code that customizes the printed/pdf version: for this part I have checked how the pdf will be created, I understood that inside the "CourseMemoLinks.js" there is a function for that which simply just calls "window.print()" to create a pdf version of the page. If we want to manage that what should not be in the pdf version of the page we need to use css styles. In our project we have a class called "d-print-none" which mange this and the "Course Presentation" had this className as well. So if we decide to add the text and imge to the PDF later we can simply do it by  removing the "d-print-none".

Code itself looks good!
But it would be great if you can change in type of commit message to "KUI-1336" (instead of "IF-1336") before merging

Sure, I will do that.


Upgrade to Redisson 3.18.1 & Redis-Data-30

Waiting for Redisson to release 3.18.1 for supporting Spring Boot 3.0

Redisson will be ready in next month.

Redisson is released


Appear confusion of fonts when using some word on iOS

When some text is displayed,like ⊙∀⊙！, the global font style is changed

Hello @ShinyG !
Thank you for posting an issue.
Can you please also attach the flutter doctor -v command output?
Thank you.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of ' flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Add github actions files and  versioning commands

Proposed Changes

Workflow build file for building as artifacts k8s-kms-plugin and its Debian package.
Workflow Scanning files generating SBOM reports in SPDX and CycloneDx format delivered in a release.
Automated release with git tags and workflow release file.
Version shell command.

Types of Changes

The changes are new features added to help the building, scanning and release mecanisms.
Verification

To test the new changes, you need to tag a branch and push it to create a release. The version has to be in a format "vX.Y.Z"
Testing

These changes are mainly CI functionalities. So don't need to be cover by testing.
Linked Issues

User-Facing Change

NONE

Further Comments

Closing this PR because it will be replace by anotehr PR


Configure call to webhook in Circle CI build

This variables should be added into Circle CI ENV variables:
ORGANIZATION
WEBHOOK_PROJECT
CIRCLE_TOKEN

Build step work correctly https://circleci.com/gh/ConsenSys/mythril-classic/2285


Minor edits to documentation

I haven't gone through all of it - mostly through the higher level stuff (about vic) rather than the instructions for using VIC. Mostly I toned down the UW role, since we want this to be a community effort and removed things that are likely to date quickly.
However, I think this is sufficient for a start. At a minimum it will duplicate the functionality of the existing UW VIC page on read the docs and we gain community access (and hopefully involvement).

@jhamman: Please go ahead and review - if it is ready to be merged than go ahead and merge the original PR as well

Just looking through it now.  Can you remove docs/Development/ModelDevelopment.md from mkdocs.yml?
After that, I'll merge.  I'm going to add a readme to the docs dir that explains how to edit and test the docs in the future.


Onefacilitytolerance

This PR addresses https://github.com/ergs/d3ploy/issues/71and relies on this PR being merged first: https://github.com/ergs/d3ploy/pull/75

The tolerance has been increased to two facility capacity units. Currently d3ploy does not 'catch up' to the deployed supply for more than two timesteps, as seen below:


feat: multicall

Motivation
https://github.com/alloy-rs/alloy/issues/1119
https://github.com/alloy-rs/alloy/issues/328
Solution
Introduce a new type for each Multicall Type (aggregate, try_aggregate. aggreagte3) that holds an R: AsRef<MultiCall>
When a users creates a multicall for the first time we put it in an arc internally
when a users wants to make a multicall we give them a wrapper with an &Arc<_> to start, users can mutate this wrapper that holds the ref to add calls and set other options.
You can execute the call from here, or convert it into an "Owned" version of the call (thru the From trait) which clones the arc and you can name the batch of calls without lifetime
PR Checklist

[ ] Added Tests
[x] Added Documentation
[?] Breaking changes: I think this breaks any downstream implementors of TransactionRequest

Missing tests, If this change is supported I will finish them

Hi Guys sorry for the changes after Ive already opened it...
I wanted to also share while this branch requires the users have mutable access to the type, ive made another that adds a type for each multicall type
this means a user effectively gets a "builder" from the multicall instance that it can mutate rather than needing the instance itself to be mutable
Link is below, I think the alias naming could use a little work but its all there otherwise
https://github.com/nhtyy/alloy/pull/2

To expand on the motivation a user might have calldata that needs to change overtime, or it doesnt. In the latter case a user would probably want to name this type and reuse the calldata
We also dont want to tie every multicall instance to a specific return type. Instead we return "call builders" for each multicall type
To solve these two problems similar to Danis approach we return "call builders" for each multicall type.
As mentioned in the description of this we internally create a multicall contract instance from a provider, and put it inside an Arc, this is the thing that returns the builders, if the builder contains an &Arc<_> we will consume the whole type (and the internal call buffer) on call
Otherwise if we want to reuse the calldata and name this builder we can use something like DynAggreagate<T, P, N> or pub type SolAggreagate<T, P, C, N>
and call on these types will clone the internal call buffer.

Also I wasnt able to reproduce the test failures! Im on OSX

So I think ive seen the error of my ways with the Arc and removed it, since the bindings are really cheap to store theres no use in trying to re use them.. You can still name a call builder for reuse without lifetime assuming you owned the provider you created the instance with.
However Im wondering if this doesn't belong in alloy-contract, I think It would be nice if I could call .aggregate directly on a Provider

Close in favor of eth_callMany


Search is fucked....

It shows irrelevant video even if the title is same....
Youtube
yt-x
It started after updating to newer version

Remember its the youtube algorithm thats used and its not only your intentended title thats labled that way. It may help to set PREFERRED_BROWSER: so it can use your cookies and make the search more personalised

Its working well for v0.3.3

Okey try deleting your config and setting it up again. Cause there's nothing major i have changed when it comes to search you can check for yourself. Tell me if it works

In my case when i searched i got it, without login.  But seriously am stumped with this one. Though am sure it is not yt-x too blame. Maybe yt-dlp which fetches the data

I don't know what's wrong with mine..
Will stick to older version as it's working fine..

Okey i figured it out it is yt-x to blame. The prompt function has issues after trying to make read posix compliant. Try installing gum and everything should be okey as i come up with a fix.

Fixed by the latest commit : )

That was quite fast.. Thank you


Fix #30 run tests through travis CI

@nerdocs Requires that you enable travis-ci.org for nerdocs/pydifact repo.

OK, I'll habe a look. No pre-experience in Travis.

I think you have to have a .travis.yml before being able to actually (thus maybe merge the PR).
I enabled it on my fork with the config file I suggest : https://travis-ci.com/github/JocelynDelalande/pydifact/builds/192699812


zed-editor: 0.159.10 -> 0.160.7

https://github.com/zed-industries/zed/releases/tag/v0.160.7

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354066

x86_64-linux

:white_check_mark: 1 package built:

zed-editor

aarch64-linux

:white_check_mark: 1 package built:

zed-editor

x86_64-darwin

:x: 1 package failed to build:

zed-editor

aarch64-darwin

:x: 1 package failed to build:

zed-editor

Build is still running (it's mostly the x86_64.darwin one that takes so long, I guess I'll have to reconsider if I run that on every PR or just aarch64-darwin).

Build is still running (it's mostly the x86_64.darwin one that takes so long, I guess I'll have to reconsider if I run that on every PR or just aarch64-darwin).

Definitely, I would only do aarch64-darwin.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354066

x86_64-darwin

:white_check_mark: 1 package built:

zed-editor

aarch64-darwin

:white_check_mark: 1 package built:

zed-editor

Thanks!


New version of navigator will broke treesiter syntax.

After updating the navigator to the new version can't see syntax colors. When I don't use LSP.
NVIM v0.6.1

Do you have a minium virmc? Also did you install treesitter parser?

@ray-x Yes, pure config doesn't work with a navigator.

require('packer').startup(function(use)
  use {'wbthomason/packer.nvim', opt = true}
  use 'nvim-lua/plenary.nvim'
  use 'kyazdani42/nvim-web-devicons'

  -- Treesitter --
  use {
    'nvim-treesitter/nvim-treesitter',
    run = ':TSUpdate'
  }
  use 'nvim-treesitter/nvim-treesitter-refactor'

    -- LSP --
  use 'neovim/nvim-lspconfig'

  use {'ray-x/navigator.lua', requires = {'ray-x/guihua.lua', run = 'cd lua/fzy && make'}}

end)
require'navigator'.setup({})

I suppose you installed the TS parser
syntax highlight in not included in your config. So the TS highlight is not working is an expected behavior
I checked listing treesitter with minium config, it works fine.

@ray-x Syntax is enabled out of the box by neovim. Only navigator.lua change behavior of treesiter badly.

It is not entirely true that neovim will enable ts automatically. You need to run treesitter setup and install the parser.
Here is a minium init.lua that works fine for me:
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.cmd([[set packpath=/tmp/nvim/site]])

local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'

-- IMPORTANT: update the sumneko setup if you need lua language server
-- I installed it in '/github/sumneko/lua-language-server'
local sumneko_root_path = vim.fn.expand('$HOME') .. '/github/sumneko/lua-language-server'
local sumneko_binary = vim.fn.expand('$HOME') .. '/github/sumneko/lua-language-server/bin/macOS/lua-language-server'

local lua_cfg = {
  -- cmd = { sumneko_binary, '-E', sumneko_root_path .. '/main.lua' },
  settings = {
    Lua = {
      runtime = { version = 'LuaJIT', path = vim.split(package.path, ';') },
      diagnostics = { enable = true },
    },
  },
}

if vim.fn.executable('lua-language-server') == 0 then
  lua_cfg.cmd = { sumneko_binary, '-E', sumneko_root_path .. '/main.lua' }
end

local function load_plugins()
  require('packer').startup({
    function(use)
      use({ 'wbthomason/packer.nvim' })

      -- Treesitter --
      use({
        'nvim-treesitter/nvim-treesitter',
        run = ':TSUpdate',
        config = function()
          require('nvim-treesitter.configs').setup({
            ensure_installed = 'lua',
            sync_install = true,
            highlight = {
              enable = true,
              additional_vim_regex_highlighting = false,
            },
          })
        end,
      })
      -- LSP --
      use('neovim/nvim-lspconfig')

      use({
        'ray-x/navigator.lua',
        requires = { 'ray-x/guihua.lua', run = 'cd lua/fzy && make' },
        config = function()
          require('navigator').setup({
            debug = true,
          })
        end,
      })
      use({ 'ray-x/aurora' })
    end,
    config = {
      package_root = package_root,
      compile_path = install_path .. '/plugin/packer_compiled.lua',
    },
  })
end

if vim.fn.isdirectory(install_path) == 0 then
  vim.fn.system({
    'git',
    'clone',
    'https://github.com/wbthomason/packer.nvim',
    install_path,
  })
  load_plugins()
  require('packer').sync()
  vim.cmd('colorscheme aurora')
else
  load_plugins()
  vim.cmd('colorscheme aurora')
end

Run neovim with nvim -u init.lua init.lua . The setup will help you install everything and restart neovim with nvim -u init.lua init.lua,  TS highlight should work.

Is it happened randomly or each time a new file opened?

For me each file. It looks like the lsp setup isn't working

I commented out my own LSPconfig to leverage just navigators and it looks like none are being setup. LspInfo has 0 clients attached to buffer with no configured servers.

Do you have a minimum setup I can reproduce?

It's happening to me too. It seems like it breaks nvim-treesitter once the setup function is called

Do you have a config to reproduce? thanks!

The config to reproduce the situation is as simple as
require('navigator').setup{}

I think this issue might be related to multiple plugins/setups. As it works fine for me with the default setup.
Please check the setups in https://github.com/ray-x/navigator.lua/blob/master/playground/init.lua if the config can reproduce highlight issue.
Thanks!

My personal dotfile is lazyloading everything. And it does have some hack. But for navigator itself, it should not. But as I does not see it does mean it does not exist. I think it may be related to specific timing.
My personal sequence is
load_scheme()
load('treesitter')
load('nvim-lspconfig')
load('guihua.lua')
load('navigator.lua')


Fancy Zone editor won't start (all versions)

Environment
Windows build number: Version 10.0.18363.752 or build 18362.19h1_release.190318-1202 (win 10 pro)
PowerToys version: v1.60 (all versions)
PowerToy module for which you are reporting the bug (if applicable): Fancy Zones

Fancy Zones Editor suddenly stopped working a week ago, I was hoping a new version would fix it, but it didn't. I tried uninstalling every version and reinstalling the same version. I tried uninstalling and installing newer or old version. I tried repairing. Every time the issue persist and the fancy zones editor won't start.
I can still use my last setup of the fancy zones, but I just can't change them. Everything else seems to work in the powertoys module. The editor/fancy zone changer is the only problem.

Hi @ion-elgreco

quit PowerToys
using the Registry Editor delete Computer\HKEY_CURRENT_USER\Software\SuperFancyZones
move C:\Users\%USERNAME%\AppData\Local\Microsoft\PowerToys\FancyZones\zones-settings.json to the desktop (don't delete this file, we need it for debugging)
restart PowerToys

Let me know if it fixes the problem.

Hi @ion-elgreco

quit PowerToys
using the Registry Editor delete Computer\HKEY_CURRENT_USER\Software\SuperFancyZones
move C:\Users\%USERNAME%\AppData\Local\Microsoft\PowerToys\FancyZones\zones-settings.json to the desktop (don't delete this file, we need it for debugging)
restart PowerToys

Let me know if it fixes the problem.
I tried it, but it doesn't work. How can I share the json file with you?

You can rename it settings.json.txt and upload it here (just drag and drop it in the comment).
Be aware it contains the app history section (is the list of apps that you have zoned), feel free to edit the file before uploading it to remove the app history section for privacy reasons.
Thank you.

{"app-zone-history":[{"app-path":"C:\Users\ion\Anaconda3\python.exe","zone-index":0,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE","zone-index":2,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2020.19081.28230.0_x64__8wekyb3d8bbwe\Microsoft.Photos.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{AF177DF0-1381-4A42-8FF6-129C5F57EA63}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\WindowsApps\Microsoft.Office.OneNote_16001.12718.20000.0_x64__8wekyb3d8bbwe\onenoteim.exe","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\WindowsApps\Microsoft.Office.OneNote_16001.12624.20042.0_x64__8wekyb3d8bbwe\onenoteim.exe","zone-index":2,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{3992EA89-152D-423A-80F2-D25697C8CA66}"},{"app-path":"C:\Program Files\WindowsApps\LibertyGlobal.ZiggoGO_<IP_ADDRESS>_x64__gmwgfebrpy77e\HorizonGo.Win10.exe","zone-index":0,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{93B9756E-CD1F-4815-8C13-51C8A467FA4A}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\TPVAOC\G-Menu\G-Menu.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Windows\ImmersiveControlPanel\SystemSettings.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{AF177DF0-1381-4A42-8FF6-129C5F57EA63}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\qBittorrent\qbittorrent.exe","zone-index":2,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{AF177DF0-1381-4A42-8FF6-129C5F57EA63}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\HWiNFO64\HWiNFO64.EXE","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Windows\System32\dfrgui.exe","zone-index":2,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{3992EA89-152D-423A-80F2-D25697C8CA66}"},{"app-path":"C:\Program Files\WindowsApps\Microsoft.WindowsStore_12003.1001.1.0_x64__8wekyb3d8bbwe\WinStore.App.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files (x86)\Calibre2\calibre.exe","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\SteelSeries\SteelSeries Engine 3\SteelSeriesEngine3Client.exe","zone-index":2,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{3992EA89-152D-423A-80F2-D25697C8CA66}"},{"app-path":"C:\Program Files (x86)\Battle.net\Battle.net.exe","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\Tablet\Wacom\Professional_CPL.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\WindowsApps\Microsoft.Office.OneNote_16001.12711.20000.0_x64__8wekyb3d8bbwe\onenoteim.exe","zone-index":0,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files (x86)\Calibre2\ebook-viewer.exe","zone-index":0,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5\DigitalEditions.exe","zone-index":0,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files (x86)\PDFsam Basic\runtime\bin\javaw.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Windows\System32\Taskmgr.exe","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\WindowsApps\Microsoft.ScreenSketch_10.1907.2471.0_x64__8wekyb3d8bbwe\ScreenSketch.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{93B9756E-CD1F-4815-8C13-51C8A467FA4A}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Windows\System32\ApplicationFrameHost.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{93B9756E-CD1F-4815-8C13-51C8A467FA4A}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\WindowsApps\Microsoft.SkypeApp_<IP_ADDRESS>_x64__kzf8qxf38zg5c\SkypeApp.exe","zone-index":2,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{93B9756E-CD1F-4815-8C13-51C8A467FA4A}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe","zone-index":3,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Windows\explorer.exe","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files (x86)\Foxit Software\Foxit PhantomPDF\FoxitPhantomPDF.exe","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE","zone-index":0,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Windows\System32\cmd.exe","zone-index":1,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"},{"app-path":"C:\Program Files\PowerToys\PowerToysSettings.exe","zone-index":2,"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","zoneset-uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}"}],"devices":[{"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{93B9756E-CD1F-4815-8C13-51C8A467FA4A}","active-zoneset":{"uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}","type":"custom"},"editor-show-spacing":true,"editor-spacing":16,"editor-zone-count":3},{"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{00000000-0000-0000-0000-000000000000}","active-zoneset":{"uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}","type":"custom"},"editor-show-spacing":true,"editor-spacing":16,"editor-zone-count":3},{"device-id":"LOCALDISPLAY_3440_1440_{00000000-0000-0000-0000-000000000000}","active-zoneset":{"uuid":"{3992EA89-152D-423A-80F2-D25697C8CA66}","type":"custom"},"editor-show-spacing":true,"editor-spacing":16,"editor-zone-count":3},{"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{6FE13E2D-AC6E-42F5-B231-9F36C4912B0C}","active-zoneset":{"uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}","type":"custom"},"editor-show-spacing":true,"editor-spacing":16,"editor-zone-count":3},{"device-id":"AOC3402#5&3808c6ce&0&UID8453_1280_720_{00000000-0000-0000-0000-000000000000}","active-zoneset":{"uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}","type":"custom"},"editor-show-spacing":true,"editor-spacing":16,"editor-zone-count":3},{"device-id":"LOCALDISPLAY_1920_1200_{00000000-0000-0000-0000-000000000000}","active-zoneset":{"uuid":"{0DC89D91-50D6-4D2E-9670-BE8B1051EA38}","type":"custom"},"editor-show-spacing":true,"editor-spacing":16,"editor-zone-count":3},{"device-id":"AOC3402#5&3808c6ce&0&UID8453_3440_1440_{AF177DF0-1381-4A42-8FF6-129C5F57EA63}","active-zoneset":{"uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}","type":"custom"},"editor-show-spacing":true,"editor-spacing":16,"editor-zone-count":3}],"custom-zone-sets":[{"uuid":"{2EB3E905-7A60-4C07-8F35-BB186F77848A}","name":"Working 2L+2S","type":"canvas","info":{"ref-width":3440,"ref-height":1400,"zones":[{"X":0,"Y":0,"width":1146,"height":1400},{"X":1145,"Y":0,"width":1148,"height":1400},{"X":2292,"Y":0,"width":1148,"height":701},{"X":2292,"Y":701,"width":1148,"height":699}]}},{"uuid":"{0DC89D91-50D6-4D2E-9670-BE8B1051EA38}","name":"Working V2","type":"canvas","info":{"ref-width":3440,"ref-height":1400,"zones":[{"X":0,"Y":0,"width":1147,"height":1400},{"X":1146,"Y":0,"width":1153,"height":702},{"X":1146,"Y":701,"width":1153,"height":699},{"X":2298,"Y":0,"width":1142,"height":702},{"X":2298,"Y":701,"width":1142,"height":699}]}},{"uuid":"{3992EA89-152D-423A-80F2-D25697C8CA66}","name":"3Large","type":"canvas","info":{"ref-width":3440,"ref-height":1400,"zones":[{"X":0,"Y":0,"width":1146,"height":1400},{"X":1145,"Y":0,"width":1153,"height":1400},{"X":2297,"Y":0,"width":1143,"height":1400}]}}]}

zones-settings.json.txt

@ion-elgreco
the file you uploaded has invalid json, I imagine you edited it to remove the app-zone-history, that's fine.
Let's retry with this steps:

exit PowerToys
delete the zones-settings.json file
restart PowerToys
try to open the FZ editor (if the shortcut key doesn't work, try opening it using the Edit zones button in the FZ settings)
if the editor still fails to open, upload the zones-settings.json file (did time you don't need to edit it since it will be a new clean file without any app in the history)

Thanks.

@enricogior It's not allowing me to straight upload the .json file. So I put it in zip. The FZ editor is still not working even after deleting.
Zone settings.zip

The zones-settings.json file is clean, so there is nothing there that may cause the editor to fail.
Try opening the Task Manager, go to the Details tab and check if there is FancyZonesEditor.exe running.
If it present, end the process and try to reopen the FZ editor, and verify if the process is recreated.

The zones-settings.json file is clean, so there is nothing there that may cause the editor to fail.
Try opening the Task Manager, go to the Details tab and check if there is FancyZonesEditor.exe running.
If it present, end the process and try to reopen the FZ editor, and verify if the process is recreated.

When I press win + `, I see it appear in task manager, but then it goes away again (I alphabetically ordered the list). So it starts and then gets closed (or crashes).

Open the Event Viewer, select Windows Logs -> Application and search for an event associated with FancyZonesEditor.exe

Open the Event Viewer, select Windows Logs -> Application and search for an event associated with FancyZonesEditor.exe

Faulting application name: FancyZonesEditor.exe, version: <IP_ADDRESS>, time stamp: 0x5e879ed0
Faulting module name: d3d9.dll, version: 10.0.18362.387, time stamp: 0xc808fce5
Exception code: 0xc0000005
Fault offset: 0x00000000000ac44e
Faulting process ID: 0x20d4
Faulting application start time: 0x01d60c5c06b87e9a
Faulting application path: C:\Program Files\PowerToys\modules\FancyZonesEditor.exe
Faulting module path: C:\WINDOWS\SYSTEM32\d3d9.dll
Report ID: 974ff4de-d3d2-4cbb-ae01-acd8e21c9fc9
Faulting package full name:
Faulting package-relative application ID:

That is a crash in DirectX. The editor doesn't use DirectX explicitly.
@crutkas have you ever seen this type of crash in a .Net app?

i haven't.  In Watson, i do see one type of exception being thrown.
clr_exception_system.argumentexception_80070057_fancyzoneseditor.exe! fancyzoneseditor.grideditor.arrangegridrects

OK let's try to instrument a build to see if it's an app level bug.

@ion-elgreco
can you please open the Registry Editor and search for this key?
Computer\HKEY_CURRENT_USER\Software\SuperFancyZones

If present, right click on it, select Export, save it, zip it and upload it here.
Before saving it, if the subkey AppZoneHistory is present, right click on it and delete it.

Thanks.

Computer\HKEY_CURRENT_USER\Software\SuperFancyZones

I don't have the SuperFancyZones folder. You asked me to delete it before.

OK, this is for confirmation of what may be going on. Not having the reg key means that for sure we are not processing any data.
We will send you a debug version of the editor to generate a log, hopefully today.

Ok! Thanks

I have figured it out! I suddenly noticed another app also crashed with same faulting module. It was my RTSS app which caused this, closing RTSS fixed the issue for all these programs including powertoys :)

@ion-elgreco
thank you for the info, we will RTSS to the list of the apps that may be incompatible with PowerToys.


feat: Rework CLI introspections

--debug was a very overloaded CLI flag: it rendered the full diagnostic error chain, exported perf profiling info and enabled internal logging.
In most cases, that's undesirable:

Users will often reach for the full diagnostic error chain
Maintainers, instead, will look for perf profiles and internal logging

To better accommodate these usage patterns, --debug will now be limited to diagnostic error chains.
We introduce --perf-profile to emit trace files, --log for internal logging and an explicit --log-filter to configure what gets logged.

/ok-to-test sha=492bc26


feature suggestions

please add feature use proxy from proxy list (text file)

And instant action, example: dispose of the items or transfer pokemon in mode desktop.


[network] Allow inbound trusted peers to bypass connection limit

Inbound trusted peers ignore connection limits, and don't count against
them.  This allows VFNs to still connect to the network when the network
is saturated.
Likely will have to in the future either limit the connections that get through past the connection limit due to trusted peers, and / or prioritize which ones make it.
In this implementation trusted peers are never counted against the limit, and bypass the limit.
Related:
https://github.com/diem/diem/issues/6948

/land


Update duration on Pod Container Creating For a Long Time alerts

Please review and adjust the duration setting on all the Pod Container Creating For a Long Time alerts.  We received a barrage of alerts from the OrgBook dev environment during a normal rollout.
The duration of the alert is set to 0 minutes, please change it to 1 minute.
Review the alert in all namespaces (not just the OrgBook namespace) and adjust all instances to the same duration.

Thanks Wade, This has been fixed now.

@rajpalc7, please make sure you move tickets to In Progress when you start working on them and then to In Review when they are ready for review.

The intervals on the alerts look good now.  Found a related issue during the review and created a separate ticket for it.


Since HA 0.63 binary_sensor Netatmo only binary_sensor outdoor_vehicle is available

Hello,
Not sure I need to report this here (sorry if not) but I noticed since the latetes home hassistant upgrade that I am missing the other sensors from presence camera (motion, human and animal are missing).
It used to be automatically discovered but now fail. I have also tried manual (as shown in the config below) without success.
I you need any logging or troubleshooting steps, just asks.
Regards,
Laurent
**Home Assistant release (hass --version): 0.63.0
**Python release (python3 --version): latest available on raspbian
**Component/platform: binary_sensor Netatmo
Problem-relevant configuration.yaml entries and steps to reproduce:
binary_sensor:
platform: netatmo
home: Xxxxxxx
timeout: 90
cameras:
- 'Porte Entree'
- 'Porte Buanderie'
presence_sensors:
- Outdoor motion
- Outdoor human
- Outdoor animal
- Outdoor vehicle

Can probably be ignored as it seems I need to put this in the main HA github :)

Should be fixed in https://github.com/home-assistant/home-assistant/pull/12317.

@lbrichet
If you are on 0.63.1 you can try to remove all of the netatmo sensors from the new entity_registry.yaml file.

Thank you @gieljnssns but 0.63.1 resolved my issue with the sensors.
Regards,
Laurent


[Technical Goal 8]: Improve user experience

Runtimes (JVM, MicroProfile Impl), Java 8/11/17
Containers, Orchestrators, Clouds etc

Should we move to Java 11 from API compilation level?
Java 11 or Java 17. I'll discuss on google group mailinglist.


better rename these callback types, give them some prefix like "TSimpleBle"

type
  TCallbackScanStart = procedure(adapter: simpleble_adapter_t; userdata: PPointer);
  TCallbackScanStop = procedure(adapter: simpleble_adapter_t; userdata: PPointer);
  TCallbackScanUpdated = procedure(adapter: simpleble_adapter_t; peripheral: simpleble_adapter_t; userdata: PPointer);
  TCallbackScanFound = procedure(adapter: simpleble_adapter_t; peripheral: simpleble_adapter_t; userdata: PPointer);

Makes sense, thanks.

Fixed with commit 087cbea4e23d1d6fb673ddddf305e1a343c4ca1d


prepared statement problems

plugin seems to fail some when receiving frequent connections.
The postgres server returns these messages:
ERROR:  bind message supplies 3 parameters, but prepared statement "" requires 1
STATEMENT:  select password from mqtt_users where username=$1 and enabled=1 limit 1
ERROR:  bind message supplies 3 parameters, but prepared statement "" requires 1
STATEMENT:  select password from mqtt_users where username=$1 and enabled=1 limit 1
ERROR:  unnamed prepared statement does not exist
ERROR:  unnamed prepared statement does not exist
ERROR:  bind message supplies 3 parameters, but prepared statement "" requires 1
STATEMENT:  select password from mqtt_users where username=$1 and enabled=1 limit 1
ERROR:  bind message supplies 3 parameters, but prepared statement "" requires 1
STATEMENT:  select password from mqtt_users where username=$1 and enabled=1 limit 1
ERROR:  unnamed prepared statement does not exist
ERROR:  bind message supplies 1 parameters, but prepared statement "" requires 3
STATEMENT:  select allow, ipaddr, username, clientid, access, topic from mqtt_acl where enabled=1 and (ipaddr = $1 or username = $2 or username = '$all' or clientid = $3) order by id asc
ERROR:  unnamed prepared statement does not exist
ERROR:  unnamed prepared statement does not exist
Changing the pool size does not solve the problem.

dead project?

@Xyon75 hi,please provide the plug-in version number

Test done using EMQ 2.0.7 (emq_auth_pgsql-2.0.7), same problem with older versions.
I didn't try with the latest version.

yeah it's fixed , there is no 'enabled' field in the mqtt_user table in version 2.1.0

Ok thanks, O'll give it a try asap.
I changed the table and query used to authenticate/authorize users so i can enable/disable users using a simple flag, usefull to suspend/revoke accounts without deleting them.

Hi again. Tested with the latest 2.1.0 beta 1 version. SADLY, the problem is not solved.
I'm opening 10.000 connections using a 15ms delay between each connection.
Inserting data to the DB using a simple node.js + pg-pool script works perfectly (no error).
I'm using custom users/acl tables and custom queries:
USERS
CREATE TABLE mqtt_user (
username text NOT NULL,
password text NOT NULL,
asset_id text DEFAULT NULL::bpchar,
admin boolean DEFAULT false NOT NULL,
enabled smallint DEFAULT 1 NOT NULL
);
auth query:
auth.pgsql.auth_query = select password from mqtt_user where username='%u' and enabled=1 limit 1
superuser query:
auth.pgsql.super_query = select admin from mqtt_user where username='%u' and enabled=1 limit 1
ACL
CREATE TABLE mqtt_acl (
id integer NOT NULL,
allow smallint DEFAULT 0 NOT NULL,
ipaddr text,
username text,
clientid text,
access smallint DEFAULT 0 NOT NULL,
topic text,
enabled smallint DEFAULT 1 NOT NULL
);
acl query:
auth.pgsql.acl_query = select allow, ipaddr, username, clientid, access, topic from mqtt_acl where enabled=1 and (ipaddr = '%a' or username = '%u' or username = '$all' or clientid = '%c') order by id asc
some hint?

mqtt_user the table has no primary key^^

mqtt_user already has the pk set to "username".
You mean adding an id pk will solve the problem?

According you create mqtt_user table script description, I just remind you mqtt_user no primary key;
i am actiong upon your setting, I don't have the test problems;


Fails to install on ubuntu (via docker/node)

I tried installing on my local ubuntu machine and when that didn't work (thought it was my version of node/npm) I tried installing in a docker container:
$ docker pull node:16
$ cat c4builder.Dockerfile
FROM node:16
RUN npm i -g c4builder
$ docker build -t c4builder - < c4builder.Dockerfile

This fails:
npm WARN deprecated<EMAIL_ADDRESS>This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated<EMAIL_ADDRESS>This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated<EMAIL_ADDRESS>This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/c4builder/node_modules/node-plantuml
npm ERR! command failed
npm ERR! command sh -c node scripts/get-vizjs.js
npm ERR! node:events:498
npm ERR!       throw er; // Unhandled 'error' event
npm ERR!       ^
npm ERR!
npm ERR! Error: spawn java ENOENT
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
npm ERR!     at onErrorNT (node:internal/child_process:478:16)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21)
npm ERR! Emitted 'error' event on ChildProcess instance at:
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
npm ERR!     at onErrorNT (node:internal/child_process:478:16)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR!   errno: -2,
npm ERR!   code: 'ENOENT',
npm ERR!   syscall: 'spawn java',
npm ERR!   path: 'java',
npm ERR!   spawnargs: [
npm ERR!     '-Dplantuml.include.path=/usr/local/lib/node_modules/c4builder/node_modules/node-plantuml',
npm ERR!     '-Djava.awt.headless=true',
npm ERR!     '-jar',
npm ERR!     '/usr/local/lib/node_modules/c4builder/node_modules/node-plantuml/vendor/plantuml.jar',
npm ERR!     '-testdot'
npm ERR!   ]
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-02-28T22_11_43_780Z-debug-0.log
The command '/bin/sh -c npm i -g c4builder' returned a non-zero code: 1

I get the same error using node:alpine or node:17 as the FROM

node:16 image doesn't have Java environment. Instead, you can use timbru31/java-node:latest image as a solution.

I recently wrote a Dockerfile that can be used to containerize the c4builder tool using a Linux base image.
This has now been merged into the main branch of the c4-builder repo, see: https://github.com/adrianvlupu/C4-Builder/blob/master/Dockerfile

@craigwardman could you publish official image on docker hub?

it's not an official image, but I have built the Dockerfile (using 0.2.16 version of c4builder) and pushed it to docker hub under my account, so if you want to run it directly you can use:
docker run -v $(pwd):/pwd craigwardman/c4builder


Harvester shell integration

Is your feature request related to a problem? Please describe.

We want to make the shell package compatible with the Harvester ui extension: https://github.com/harvester/harvester-ui-extension

Moving out of 2.10.0 for triage purposes and we're shipping soon. Let me know if 2.11.0 is more appropriate here.

Tested as part of PRs and explicit to Harvester. Should be okay to close without explicit manual QA validation.