Added WIZ_QUEST packet handling to client side. It give information i…

…f user start a quest. It's still need development.

Looks good to me.


Expand Generators Module

What is the expected enhancement?
In #121 we added a new module for graph generators which will create graphs of with a certain layout easily. #121 only added a few different types of graphs with the intention of adding more in the future. We should add more generators to the graph to offer more options for quickly creating graphs. Networkx has a long list of generators that can be used for inspiration on different types of generators to add:
https://networkx.github.io/documentation/stable/reference/generators.html
Also, specifically for a qiskit use case we should make sure that we have generators to cover ~qiskit.transpiler.CouplingMap.from_line, qiskit.transpiler.CouplingMap.from_ring, qiskit.transpiler.CouplingMap.from_grid, and qiskit.transpiler.CouplingMap.from_full~ (this was handled by #191)

Some generators that would be useful to do as part of this would be to add generators for some layouts that are used for error correction codes like heavy hex and heavy square. (see: https://journals.aps.org/prx/abstract/10.1103/PhysRevX.10.011022 ).

There has been a lot of good work here since this was initially opened and we've added a bunch of new generators. But, when you compare the number of generators in networkx: https://networkx.org/documentation/stable/reference/generators.html to list in networkx: https://qiskit.org/documentation/retworkx/api.html#generators there is still a large functionality gap.
I think before we can close this issue we need to close this gap much more. Each generator function is a really good starting PR that's self contained and a good project for getting your feet wet with the library.

Added a generator for undirected lollipop graphs in PR #454. Not sure if there should also be a directed version. Networkx does not seem to have any.

I am working on lattice module, https://github.com/Qiskit/qiskit-nature/pull/365 , in which retworkx is used. I hope I can generate translational invariant graphs (lattice) with uniform weights on edges using retworkx. Standard examples of such are hypercubic (hyperrectangle, triangular, hexagonal lattices.
Furthermore, is such a graph has edges several directions like a square (or grid graph) and a triangular lattice , it is desirable to be able to assign uniform weights to each direction. For example, I may want to generate a square lattice with a weight of 1.0 in the horizontal direction and a weight of 2.0 in the vertical direction.


Flaky test: Workload controller with scheduler when When LimitRanges are defined Should use the range defined default requests, if provided

What happened:
Flaky integration test: : Workload controller with scheduler when When LimitRanges are defined Should use the range defined default requests, if provided
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Randomly when run the integration tests on my local machine.
Anything else we need to know?:
`

Enter [BeforeEach] Workload controller with scheduler - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:54 @ 04/06/23 22:24:56.247
< Exit [BeforeEach] Workload controller with scheduler - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:54 @ 04/06/23 22:24:56.249 (1ms)
Enter [BeforeEach] when When LimitRanges are defined - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:185 @ 04/06/23 22:24:56.249
2023-04-06T22:24:56.266732943+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/mutate-kueue-x-k8s-io-v1beta1-resourceflavor", "UID": "88e574f1-bc5e-4812-be64-25961d5d01d2", "kind": "kueue.x-k8s.io/v1beta1, Kind=ResourceFlavor", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"resourceflavors"}}
2023-04-06T22:24:56.266860944+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/mutate-kueue-x-k8s-io-v1beta1-resourceflavor", "code": 200, "reason": "", "UID": "88e574f1-bc5e-4812-be64-25961d5d01d2", "allowed": true}
2023-04-06T22:24:56.267493055+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-resourceflavor", "UID": "7e3bd766-987a-491a-b1bc-3988c912534a", "kind": "kueue.x-k8s.io/v1beta1, Kind=ResourceFlavor", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"resourceflavors"}}
2023-04-06T22:24:56.267570526+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-resourceflavor", "code": 200, "reason": "", "UID": "7e3bd766-987a-491a-b1bc-3988c912534a", "allowed": true}
2023-04-06T22:24:56.268598548+03:00	LEVEL(-2)	resourceflavor-reconciler	core/resourceflavor_controller.go:127	ResourceFlavor create event	{"resourceFlavor": {"name":"on-demand"}}
2023-04-06T22:24:56.268663519+03:00	LEVEL(-2)	core/resourceflavor_controller.go:78	Reconciling ResourceFlavor	{"controller": "resourceflavor", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ResourceFlavor", "ResourceFlavor": {"name":"on-demand"}, "namespace": "", "name": "on-demand", "reconcileID": "274f1e86-1529-4f87-b503-4df0877a3dd6", "resourceFlavor": {"name":"on-demand"}}
2023-04-06T22:24:56.268673618+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:231	Got generic event	{"obj": {"name":"on-demand"}, "kind": "/, Kind="}
2023-04-06T22:24:56.269544283+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/mutate-kueue-x-k8s-io-v1beta1-clusterqueue", "UID": "d7341d60-6820-456a-83db-d596964d821b", "kind": "kueue.x-k8s.io/v1beta1, Kind=ClusterQueue", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"clusterqueues"}}
2023-04-06T22:24:56.269691153+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/mutate-kueue-x-k8s-io-v1beta1-clusterqueue", "code": 200, "reason": "", "UID": "d7341d60-6820-456a-83db-d596964d821b", "allowed": true}
2023-04-06T22:24:56.270428392+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-clusterqueue", "UID": "b7d04674-e81a-48e1-9925-760c63ea01e0", "kind": "kueue.x-k8s.io/v1beta1, Kind=ClusterQueue", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"clusterqueues"}}
2023-04-06T22:24:56.270512831+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-clusterqueue", "code": 200, "reason": "", "UID": "b7d04674-e81a-48e1-9925-760c63ea01e0", "allowed": true}
2023-04-06T22:24:56.27185798+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:175	ClusterQueue create event	{"clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:56.271959802+03:00	LEVEL(-2)	core/clusterqueue_controller.go:90	Reconciling ClusterQueue	{"controller": "clusterqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ClusterQueue", "ClusterQueue": {"name":"clusterqueue"}, "namespace": "", "name": "clusterqueue", "reconcileID": "e48a1baa-1379-476b-96c1-13f126ac2bb7", "clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:56.272783293+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-localqueue", "UID": "201e45c1-721c-478b-b18f-a2f00d75190f", "kind": "kueue.x-k8s.io/v1beta1, Kind=LocalQueue", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"localqueues"}}
2023-04-06T22:24:56.272857629+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-localqueue", "code": 200, "reason": "", "UID": "201e45c1-721c-478b-b18f-a2f00d75190f", "allowed": true}
2023-04-06T22:24:56.273804839+03:00	LEVEL(-2)	localqueue-reconciler	core/localqueue_controller.go:117	LocalQueue create event	{"localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
< Exit [BeforeEach] when When LimitRanges are defined - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:185 @ 04/06/23 22:24:56.273 (25ms)
Enter [It] Should use the range defined default requests, if provided - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:203 @ 04/06/23 22:24:56.273
2023-04-06T22:24:56.273879077+03:00	LEVEL(-2)	core/localqueue_controller.go:92	Reconciling LocalQueue	{"controller": "localqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "LocalQueue", "LocalQueue": {"name":"queue","namespace":"core-workload-nrb62"}, "namespace": "core-workload-nrb62", "name": "queue", "reconcileID": "fa1e2168-9189-4876-afa0-cdbdd30703b8", "localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
STEP: Create and wait for workload admission - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:204 @ 04/06/23 22:24:56.273
2023-04-06T22:24:56.27435365+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:214	ClusterQueue update event	{"clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:56.274422436+03:00	LEVEL(-2)	core/clusterqueue_controller.go:90	Reconciling ClusterQueue	{"controller": "clusterqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ClusterQueue", "ClusterQueue": {"name":"clusterqueue"}, "namespace": "", "name": "clusterqueue", "reconcileID": "9ecf1fce-8053-487c-813d-02fef028771c", "clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:56.274858086+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/mutate-kueue-x-k8s-io-v1beta1-workload", "UID": "d900fd9e-e033-4e05-9d6b-2c25942bad7b", "kind": "kueue.x-k8s.io/v1beta1, Kind=Workload", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"workloads"}}
2023-04-06T22:24:56.274993578+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/mutate-kueue-x-k8s-io-v1beta1-workload", "code": 200, "reason": "", "UID": "d900fd9e-e033-4e05-9d6b-2c25942bad7b", "allowed": true}
2023-04-06T22:24:56.275627481+03:00	LEVEL(-2)	localqueue-reconciler	core/localqueue_controller.go:147	Queue update event	{"localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.275683756+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-workload", "UID": "b490e8a2-f5a1-4cba-b417-36d311db45d7", "kind": "kueue.x-k8s.io/v1beta1, Kind=Workload", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"workloads"}}
2023-04-06T22:24:56.275788521+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-workload", "code": 200, "reason": "", "UID": "b490e8a2-f5a1-4cba-b417-36d311db45d7", "allowed": true}
2023-04-06T22:24:56.275813064+03:00	LEVEL(-2)	core/localqueue_controller.go:92	Reconciling LocalQueue	{"controller": "localqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "LocalQueue", "LocalQueue": {"name":"queue","namespace":"core-workload-nrb62"}, "namespace": "core-workload-nrb62", "name": "queue", "reconcileID": "fbdad9ff-ca95-4509-a5e3-b29b38244fba", "localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.277082324+03:00	LEVEL(-2)	workload-reconciler	core/workload_controller.go:186	Workload create event	{"workload": {"name":"one","namespace":"core-workload-nrb62"}, "queue": "queue", "status": "pending"}
2023-04-06T22:24:56.277157027+03:00	LEVEL(-2)	core/workload_controller.go:128	Reconciling Workload	{"controller": "workload", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "Workload", "Workload": {"name":"one","namespace":"core-workload-nrb62"}, "namespace": "core-workload-nrb62", "name": "one", "reconcileID": "20b81e47-d2f7-4c59-8c2e-3c3bb9d56c86", "workload": {"name":"one","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.277155093+03:00	LEVEL(-3)	localqueue-reconciler	core/localqueue_controller.go:159	Got Workload event	{"workload": {"name":"one","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.277164863+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:231	Got generic event	{"obj": {"name":"one","namespace":"core-workload-nrb62"}, "kind": "/, Kind="}
2023-04-06T22:24:56.277179261+03:00	LEVEL(-3)	scheduler	queue/manager.go:443	Obtained ClusterQueue heads	{"count": 1}
2023-04-06T22:24:56.277207814+03:00	LEVEL(-2)	scheduler	scheduler/scheduler.go:279	Workload assumed in the cache	{"workload": {"name":"one","namespace":"core-workload-nrb62"}, "clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:56.277224854+03:00	LEVEL(-3)	scheduler	scheduler/scheduler.go:195	Workload evaluated for admission	{"workload": {"name":"one","namespace":"core-workload-nrb62"}, "clusterQueue": {"name":"clusterqueue"}, "status": "assumed", "reason": ""}
2023-04-06T22:24:56.277283213+03:00	LEVEL(-3)	scheduler	queue/manager.go:443	Obtained ClusterQueue heads	{"count": 0}
2023-04-06T22:24:56.277520604+03:00	LEVEL(-2)	localqueue-reconciler	core/localqueue_controller.go:147	Queue update event	{"localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.277576067+03:00	LEVEL(-2)	core/localqueue_controller.go:92	Reconciling LocalQueue	{"controller": "localqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "LocalQueue", "LocalQueue": {"name":"queue","namespace":"core-workload-nrb62"}, "namespace": "core-workload-nrb62", "name": "queue", "reconcileID": "3e59449e-8a97-41b8-8990-8052531aaba2", "localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.278837849+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-workload", "UID": "52ef9450-e78c-49f0-b9fb-1e0148781fdc", "kind": "kueue.x-k8s.io/v1beta1, Kind=Workload", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"workloads"}}
2023-04-06T22:24:56.278977411+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-workload", "code": 200, "reason": "", "UID": "52ef9450-e78c-49f0-b9fb-1e0148781fdc", "allowed": true}
2023-04-06T22:24:56.27920411+03:00	LEVEL(-2)	localqueue-reconciler	core/localqueue_controller.go:147	Queue update event	{"localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.279340681+03:00	LEVEL(-2)	core/localqueue_controller.go:92	Reconciling LocalQueue	{"controller": "localqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "LocalQueue", "LocalQueue": {"name":"queue","namespace":"core-workload-nrb62"}, "namespace": "core-workload-nrb62", "name": "queue", "reconcileID": "b19fd076-0f7e-48ba-85d4-f5c61ddc7c8f", "localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.279889206+03:00	LEVEL(-2)	workload-reconciler	core/workload_controller.go:275	Workload update event	{"workload": {"name":"one","namespace":"core-workload-nrb62"}, "queue": "queue", "status": "admitted", "prevStatus": "pending", "clusterQueue": "clusterqueue"}
2023-04-06T22:24:56.279955209+03:00	LEVEL(-2)	core/workload_controller.go:128	Reconciling Workload	{"controller": "workload", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "Workload", "Workload": {"name":"one","namespace":"core-workload-nrb62"}, "namespace": "core-workload-nrb62", "name": "one", "reconcileID": "1047a987-72dd-4fb1-93e3-8e795ba3cd32", "workload": {"name":"one","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.279980894+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:231	Got generic event	{"obj": {"name":"one","namespace":"core-workload-nrb62"}, "kind": "/, Kind="}
2023-04-06T22:24:56.280001788+03:00	LEVEL(-3)	localqueue-reconciler	core/localqueue_controller.go:159	Got Workload event	{"workload": {"name":"one","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:56.280092231+03:00	LEVEL(-2)	scheduler	scheduler/scheduler.go:295	Workload successfully admitted and assigned flavors	{"workload": {"name":"one","namespace":"core-workload-nrb62"}, "clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:56.28011425+03:00	DEBUG	events	recorder/recorder.go:103	Admitted by ClusterQueue clusterqueue, wait time was 0.280s	{"type": "Normal", "object": {"kind":"Workload","namespace":"core-workload-nrb62","name":"one","uid":"25b07d74-77ba-4433-ad17-de0db034e2ce","apiVersion":"kueue.x-k8s.io/v1beta1","resourceVersion":"931"}, "reason": "Admitted"}
END STEP: Create and wait for workload admission - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:204 @ 04/06/23 22:24:56.531 (257ms)
STEP: Check queue resource consumption - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:219 @ 04/06/23 22:24:56.531
2023-04-06T22:24:57.278495333+03:00	LEVEL(-2)	core/localqueue_controller.go:92	Reconciling LocalQueue	{"controller": "localqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "LocalQueue", "LocalQueue": {"name":"queue","namespace":"core-workload-nrb62"}, "namespace": "core-workload-nrb62", "name": "queue", "reconcileID": "0a3a3d0d-e87b-409d-a539-342c511616e0", "localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:24:57.278498624+03:00	LEVEL(-2)	core/clusterqueue_controller.go:90	Reconciling ClusterQueue	{"controller": "clusterqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ClusterQueue", "ClusterQueue": {"name":"clusterqueue"}, "namespace": "", "name": "clusterqueue", "reconcileID": "4f622e04-a774-46f8-a9d8-cb8a1a0ba3a3", "clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:57.284179817+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:214	ClusterQueue update event	{"clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:24:57.284437941+03:00	LEVEL(-2)	core/clusterqueue_controller.go:90	Reconciling ClusterQueue	{"controller": "clusterqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ClusterQueue", "ClusterQueue": {"name":"clusterqueue"}, "namespace": "", "name": "clusterqueue", "reconcileID": "39ee8d3d-638a-4431-9538-9cfcf5da582c", "clusterQueue": {"name":"clusterqueue"}}
END STEP: Check queue resource consumption - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:219 @ 04/06/23 22:25:26.531 (30.001s)
[FAILED] Timed out after 30.000s.
v1beta1.ClusterQueueStatus{
FlavorsUsage: []v1beta1.FlavorUsage{
{
Name: "on-demand",
Resources: []v1beta1.ResourceUsage{
{
Name:     s"cpu",
- 					Total:    resource.Quantity{i: resource.int64Amount{value: 3}, s: "3", Format: "DecimalSI"},
+ 					Total:    resource.Quantity{s: "0", Format: "DecimalSI"},
Borrowed: {},
},
},
},
},
PendingWorkloads:  0,
AdmittedWorkloads: 1,
... // 1 ignored field
}
In [It] at: /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:223 @ 04/06/23 22:25:26.531
< Exit [It] Should use the range defined default requests, if provided - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:203 @ 04/06/23 22:25:26.531 (30.258s)

Enter [AfterEach] when When LimitRanges are defined - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:197 @ 04/06/23 22:25:26.531
2023-04-06T22:25:26.535694859+03:00	LEVEL(-2)	localqueue-reconciler	core/localqueue_controller.go:134	LocalQueue delete event	{"localQueue": {"name":"queue","namespace":"core-workload-nrb62"}}
2023-04-06T22:25:26.53803426+03:00	LEVEL(-2)	workload-reconciler	core/workload_controller.go:220	Workload delete event	{"workload": {"name":"one","namespace":"core-workload-nrb62"}, "queue": "queue", "status": "admitted"}
2023-04-06T22:25:26.538100878+03:00	LEVEL(-3)	localqueue-reconciler	core/localqueue_controller.go:159	Got Workload event	{"workload": {"name":"one","namespace":"core-workload-nrb62"}}
2023-04-06T22:25:26.538126255+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:231	Got generic event	{"obj": {"name":"one","namespace":"core-workload-nrb62"}, "kind": "/, Kind="}
2023-04-06T22:25:26.542069632+03:00	LEVEL(-2)	resourceflavor-reconciler	core/resourceflavor_controller.go:165	ResourceFlavor update event	{"resourceFlavor": {"name":"on-demand"}}
2023-04-06T22:25:26.54212408+03:00	LEVEL(-2)	core/resourceflavor_controller.go:78	Reconciling ResourceFlavor	{"controller": "resourceflavor", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ResourceFlavor", "ResourceFlavor": {"name":"on-demand"}, "namespace": "", "name": "on-demand", "reconcileID": "b9256d55-4899-4b5d-83db-f0c16c2fbe59", "resourceFlavor": {"name":"on-demand"}}
2023-04-06T22:25:26.542117702+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:231	Got generic event	{"obj": {"name":"on-demand"}, "kind": "/, Kind="}
2023-04-06T22:25:26.54214003+03:00	LEVEL(-3)	core/resourceflavor_controller.go:92	resourceFlavor is still in use	{"controller": "resourceflavor", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ResourceFlavor", "ResourceFlavor": {"name":"on-demand"}, "namespace": "", "name": "on-demand", "reconcileID": "b9256d55-4899-4b5d-83db-f0c16c2fbe59", "resourceFlavor": {"name":"on-demand"}, "ClusterQueues": ["clusterqueue"]}
2023-04-06T22:25:26.542180818+03:00	LEVEL(-2)	core/clusterqueue_controller.go:90	Reconciling ClusterQueue	{"controller": "clusterqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ClusterQueue", "ClusterQueue": {"name":"clusterqueue"}, "namespace": "", "name": "clusterqueue", "reconcileID": "01591fa8-76d7-4ebd-8be4-5dd06cba70f5", "clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:25:26.543883801+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:214	ClusterQueue update event	{"clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:25:26.544754697+03:00	ERROR	controller/controller.go:329	Reconciler error	{"controller": "clusterqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ClusterQueue", "ClusterQueue": {"name":"clusterqueue"}, "namespace": "", "name": "clusterqueue", "reconcileID": "01591fa8-76d7-4ebd-8be4-5dd06cba70f5", "error": "Operation cannot be fulfilled on clusterqueues.kueue.x-k8s.io "clusterqueue": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/home/mcaria/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/home/mcaria/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:274
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/home/mcaria/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:235
2023-04-06T22:25:26.544805526+03:00	LEVEL(-2)	core/clusterqueue_controller.go:90	Reconciling ClusterQueue	{"controller": "clusterqueue", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ClusterQueue", "ClusterQueue": {"name":"clusterqueue"}, "namespace": "", "name": "clusterqueue", "reconcileID": "35d404dd-717b-45c1-a976-cb1b205fbb49", "clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:25:26.546298751+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-clusterqueue", "UID": "5503f1d5-f140-438a-948c-366f48169bcc", "kind": "kueue.x-k8s.io/v1beta1, Kind=ClusterQueue", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"clusterqueues"}}
2023-04-06T22:25:26.546468362+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-clusterqueue", "code": 200, "reason": "", "UID": "5503f1d5-f140-438a-948c-366f48169bcc", "allowed": true}
2023-04-06T22:25:26.547995589+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:195	ClusterQueue delete event	{"clusterQueue": {"name":"clusterqueue"}}
2023-04-06T22:25:26.548124373+03:00	LEVEL(-2)	resourceflavor-reconciler	core/resourceflavor_controller.go:178	Got generic event	{"obj": {"name":"clusterqueue"}, "kind": "/, Kind="}
2023-04-06T22:25:26.54818366+03:00	LEVEL(-2)	core/resourceflavor_controller.go:78	Reconciling ResourceFlavor	{"controller": "resourceflavor", "controllerGroup": "kueue.x-k8s.io", "controllerKind": "ResourceFlavor", "ResourceFlavor": {"name":"on-demand"}, "namespace": "", "name": "on-demand", "reconcileID": "a2175e03-5858-4f25-aaf6-cb1b62bbea50", "resourceFlavor": {"name":"on-demand"}}
2023-04-06T22:25:26.549148092+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:96	received request	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-resourceflavor", "UID": "cc7ea7e4-12cd-45f6-b494-4c20f59399ac", "kind": "kueue.x-k8s.io/v1beta1, Kind=ResourceFlavor", "resource": {"group":"kueue.x-k8s.io","version":"v1beta1","resource":"resourceflavors"}}
2023-04-06T22:25:26.549217866+03:00	DEBUG	controller-runtime.webhook.webhooks	admission/http.go:143	wrote response	{"webhook": "/validate-kueue-x-k8s-io-v1beta1-resourceflavor", "code": 200, "reason": "", "UID": "cc7ea7e4-12cd-45f6-b494-4c20f59399ac", "allowed": true}
2023-04-06T22:25:26.550269584+03:00	LEVEL(-2)	resourceflavor-reconciler	core/resourceflavor_controller.go:149	ResourceFlavor delete event	{"resourceFlavor": {"name":"on-demand"}}
2023-04-06T22:25:26.55029919+03:00	LEVEL(-2)	cluster-queue-reconciler	core/clusterqueue_controller.go:231	Got generic event	{"obj": {"name":"on-demand"}, "kind": "/, Kind="}
< Exit [AfterEach] when When LimitRanges are defined - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:197 @ 04/06/23 22:25:26.797 (267ms)
Enter [AfterEach] Workload controller with scheduler - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:65 @ 04/06/23 22:25:26.798
< Exit [AfterEach] Workload controller with scheduler - /mnt/c/projects/kueue/test/integration/scheduler/workload_controller_test.go:65 @ 04/06/23 22:25:26.798 (0s)
`

Environment:

Kubernetes version (use kubectl version): Client Version: v1.25.4, Kustomize Version: v4.5.7
Kueue version (use git describe --tags --dirty --always):
Cloud provider or hardware configuration:  12th Gen Intel(R) Core(TM) i7-12700H   2.30 GHz, 16.0 GB, Windows 64-bit operating system, x64-based processor
OS (e.g: cat /etc/os-release):
On WSL
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Kernel (e.g. uname -a):
Install tools:
Others:

/assign

@trasc any theories for this?

One option suggested by @trasc is to implement #485.
Another option would be to manually preempt the workload in the test and let it be readmitted, until it satisfies all requirements.

I tried to wait for limitRange to be ready, but this didn't fix the issue.
BUT I found something interesting. I run the test in Linux using WSL and I use mounted project from my windows NTFS disk.
When I move the project from mounted to native path the issue disappear.
@alculquicondor do you have any ideas why it happens? May I close this issue?

The disk characteristics could only affect etcd performance. If etcd is slow, it's possible that the client is taking a while to receive the notification for the new LimitRange.
Still, I'm curious why waiting for the LimitRange to be available in the client wasn't enough.
But if we can't reproduce in the bots (which in general are already slow), then I'm ok closing this.

Happens only on mounted project in WSL from windows NTFS disk.


setting can interface to can fd mode does not work

I tried setting a can interface to can fd mode using socketcan-rs and set_ctrlmodes. I have something like this:
let nl_if = CanInterface::open("can0")?;
nl_if.set_ctrlmodes(CanCtrlModes::from_mode(CanCtrlMode::Fd, true))?;

It fails with Error response received from netlink: Operation not supported (os error 95).
Hmm, lets try official rcan program?
sudo ./target/debug/rcan can0 iface fd on
Error response received from netlink: Operation not supported (os error 95)

Ok, at least the provided example/reference program has the same problem. What else can I do?
sudo ip link set can0 type can fd on
RTNETLINK answers: Operation not supported

Is ip-utils also wrong or is it just me?
After fiddling around with different parameter combinations I got this to work:
sudo ip link set can0 type can bitrate 500000 dbitrate 500000 fd on

It answers with silence, but it worked:
ip -details link show can0
79: can0: <NOARP,ECHO> mtu 72 qdisc noop state DOWN mode DEFAULT group default qlen 10
    link/can  promiscuity 0 minmtu 0 maxmtu 0
    can <FD> state STOPPED (berr-counter tx 0 rx 0) restart-ms 0
          bitrate 500000 sample-point 0.875
          tq 12 prop-seg 69 phase-seg1 70 phase-seg2 20 sjw 1
          pcan_usb_fd: tseg1 1..256 tseg2 1..128 sjw 1..128 brp 1..1024 brp-inc 1
          dbitrate 500000 dsample-point 0.875
          dtq 62 dprop-seg 13 dphase-seg1 14 dphase-seg2 4 dsjw 1
          pcan_usb_fd: dtseg1 1..32 dtseg2 1..16 dsjw 1..16 dbrp 1..1024 dbrp-inc 1
          clock 80000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 parentbus usb parentdev 1-12.2:1.0

Notice the <FD>! It is a can fd capable interface that supports fd mode on linux.
During fiddling around, i noticed, that setting to fd mode alone does not work(as seen above). When setting to fd mode, it also wants a dbitrate and bitrate at the same time. With knowing that, lets move back to rcan:
sudo ./target/debug/rcan can0 iface bitrate 500000 fd on
error: unexpected argument 'fd' found

Usage: rcan iface bitrate <bitrate>

No. It does not work. rcan only supports one parameter at a time. And so does the netlink api of socketcan-rs. Looking at CanInterface I do not see a way to set multiple parameters at the same time.
So my questions are:

Am I missing something or am I doing something wrong?
Is there a way using public socketcan-rs api for doing what I need?
If not, how can we best resolve this?
I do see InterfaceCanParams as part of InterfaceDetails as a candidate that would allow setting all fields as needed, but it is not ideal. It has much more fields, even fields, that can only be query'd and there is also no set_details or the like on CanInterface. That needs to be implemented then.

What do you think?
Thanks,
Lars

This issue is now resolved by merging PR #66
Thanks a lot!


Unsupported option opt.refreshIdle thrown from Knex/Tarn

Environment
Knex version: 0.19.5
Database + version: Mysql 5.7.26 (MySQL Community Server (GPL))
OS: MacOS, 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
Bug

I am upgrading from 0.15.0 to 0.19.5 and getting an exception thrown during creation of Knex object with below config:

const Knex = knex({
  client: 'mysql',
  connection: { ...mysql },
  pool: {
    min: 10,
    max: 50,
    refreshIdle: false,
  },
};

Error message

Error: Tarn: unsupported option opt.refreshIdle
    at new Pool (/Users/darko/PROJECT/node_modules/tarn/lib/Pool.js:63:23)
    at Client_MySQL.initializePool (/Users/darko/PROJECT/node_modules/knex/lib/client.js:299:17)
    at Client_MySQL.Client (/Users/darko/PROJECT/node_modules/knex/lib/client.js:61:12)
    at new Client_MySQL (/Users/darko/PROJECT/node_modules/knex/lib/dialects/mysql/index.js:20:10)
    at Knex (/Users/darko/PROJECT/node_modules/knex/lib/knex.js:52:28)
    at knex.js (imports/api/connectors/knex.js:7:14)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/Users/darko/.meteor/packages/modules/.<IP_ADDRESS>py1wwo.b2cxi++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:38:38)
    at index.js (imports/api/connectors/index.js:1:1)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/Users/darko/.meteor/packages/modules/.<IP_ADDRESS>py1wwo.b2cxi++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:38:38)
    at jobs_cache.js (imports/startup/server/fixtures/jobs_cache.js:1:1)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/Users/darko/.meteor/packages/modules/.<IP_ADDRESS>py1wwo.b2cxi++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:38:38)
    at index.js (imports/startup/server/fixtures/index.js:1:1)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/Users/darko/.meteor/packages/modules/.<IP_ADDRESS>py1wwo.b2cxi++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:38:38)
    at index.js (imports/startup/server/index.js:1:1)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/Users/darko/.meteor/packages/modules/.<IP_ADDRESS>py1wwo.b2cxi++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:38:38)
    at main.js (server/main.js:1:1)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)

I cannot replicate on test code in https://npm.runkit.com/knex because I don't know which version of tarn is run on it, probably pre-2.0.0

It looks like the problem has been introduced in<EMAIL_ADDRESS>which added this check:
  const allowedKeys = {
         create: true,
         validate: true,
         destroy: true,
         log: true,
         min: true,
         max: true,
         acquireTimeoutMillis: true,
         createTimeoutMillis: true,
         destroyTimeoutMillis: true,
         idleTimeoutMillis: true,
         reapIntervalMillis: true,
         createRetryIntervalMillis: true,
         propagateCreateError: true
     };
     for (let key of Object.keys(opt)) {
         if (!allowedKeys[key]) {
             throw new Error(`Tarn: unsupported option opt.${key}`);
         }
     }

As you can see, there is no mention of refreshIdle in it, so it throws an exception, because in Knex tarn is used for instantiating the pool (see stack above).

You can remove the refreshIdle option. refreshIdle was an option used by the generic-pool package which knex stopped using around Feb 2018.
I don't think tarn ever supported the refreshIdle option so it would have been no-op anyways.

Ok thank you! Closing the issue in this case.


Facing issue with MS teams while using Power automate feature

Facing issue with MS teams while using Power automate feature.
I have created Workflow and copied the webhook. I have used Microsoft Power automate feature for sending alerts [https://elastalert2.readthedocs.io/en/latest/alerts.html#microsoft-teams
feature ](https://elastalert2.readthedocs.io/en/latest/alerts.html#microsoft-power-automate)
Below is the configuration I have used for sending alerts using power automate but getting below error. Can anyone please help me to configure
alert:

ms_power_automate
ms_power_automate_alert_summary: "Bets on the Roulette Germany table have decreased below the threshold of 2 in the last 10 minutes."
ms_power_automate_webhook_url: >-
https://prod-41.westeurope.logic.azure.com:443/workflows/b2f95016ec1b444ab3718badf68a5bd4/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=A072idGph7a5-1trJazMH3JRVd_5YlH6mmyXqDaylpA
ms_power_automate_alert_facts:
name: Team
value: DM Team
name: Level
value: Critical

elastalert.util.EAException: Error initiating alert ['ms_power_automate']: Could not import module ms_power_automate: not enough values to unpack (expected 2, got 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/elastalert", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/site-packages/elastalert/elastalert.py", line 1916, in main
client = ElastAlerter(args)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/elastalert/elastalert.py", line 128, in init
self.rules = self.rules_loader.load(self.conf, self.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/elastalert/loaders.py", line 184, in load
raise EAException('Error loading file %s: %s' % (rule_file, e))
elastalert.util.EAException: Error loading file rules/exceptions.yaml: Error initiating alert ['ms_power_automate']: Could not import module ms_power_automate: not enough values to unpack (expected 2, got 1)

Team any help on this


Go is going to lock down future uses of linkname

As is shown in https://github.com/golang/go/issues/67401, Golang is going to lock down future uses of linkname and add sonic to the hall of shame due to the huge amounts of linkname use.
So maybe we need a -ldflags=-checklinkname=0 to make the compiling stage happy on Go 1.23. Or we can make a huge change to avoid using linkname.
Related CL:

https://go-review.googlesource.com/c/go/+/585556
https://go-review.googlesource.com/c/go/+/587218

Thanks much, we will investigate that

The issue has already manifested when trying to build with Go 1.23 rc1 in homebrew:

https://github.com/Homebrew/homebrew-core/pull/175310

Hi. bytedance/sonic is widely used enough that we want to keep it working without changes, although of course we would be happy to see these linknames cleaned up in the future. We tried to allowlist all the symbols that bytedance/sonic needed. It looks like maybe we missed a couple? If you can identify the set of names we missed and file an issue in golang/go, I'd appreciate it. Thank you!

Hi. bytedance/sonic is widely used enough that we want to keep it working without changes, although of course we would be happy to see these linknames cleaned up in the future. We tried to allowlist all the symbols that bytedance/sonic needed. It looks like maybe we missed a couple? If you can identify the set of names we missed and file an issue in golang/go, I'd appreciate it. Thank you!

@rsc Thx. After we manually move and copy some codes, the Go 1.23 compiler can build now - .https://github.com/bytedance/sonic/pull/662.
However, some tests failed, perhaps due to the change of implementations of some links -- As usual .
If the Go team can build a notification mechanism to let us know which internal API we are using has changed, we will appreciate it a lot! It will save us a lot of time to match the new version.

Thanks very much for the Go 1.23 fixes @AsterDY. We did not see the prof things you were changing via assembly.
In general the linknames that we have added for Go 1.23 will be left alone and not changed in the future, now that they are documented in our code base as being depended on by other projects. So ideally you should not need to update sonic again for Go 1.24 or future releases. Or at least you should not need to update them quite so often.

Thanks very much for the Go 1.23 fixes @AsterDY. We did not see the prof things you were changing via assembly.
In general the linknames that we have added for Go 1.23 will be left alone and not changed in the future, now that they are documented in our code base as being depended on by other projects. So ideally you should not need to update sonic again for Go 1.24 or future releases. Or at least you should not need to update them quite so often.

BTW, Is it

this issue could be closed now~

I think we can wait for #688 to ensure having a full support.


NIFI-3732 Adding connect with timeout to StandardCommsSession and SSL…

…CommsSession to avoid blocking
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Reviewing...

I tested this using firewall to block/open port access against remote cache server. Test details are available here in Gist.
It seems the communications timeout can not be configured longer than default socket timeout (which is environment specific). But I think there is not much for NiFi can do about that.
Overall, LGTM, +1. I'm going to merge this into master. Thank you @bbende !


Slick init transition from opaque 0 to 1 not working

I am trying to prevent my website from flickering the carousel div when loading the images, how the init function doesn't seem to be functioning properly. Before the website is cached, upon loading for the first time you can clearly see the carousel flickers onto the page instead of smoothly transitioning.
This happens on all of these pages:
http://www.lourdesgabrielainteriors.com/
http://www.lourdesgabrielainteriors.com/Artwork.html
http://www.lourdesgabrielainteriors.com/Projects.html
I included the following code into my css file:
#carousel {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in;
    -moz-transition: opacity 0.3s ease-in;
    -ms-transition: opacity 0.3s ease-in;
    -o-transition: opacity 0.3s ease-in;
    transition: opacity 0.3s ease-in;
}

And I included this simple init function into the html file:
$(document).ready(function(){
        $('#carousel').on('init', function (event, slick) {
            $('#carousel').css( 'opacity', '1' );
        });
        $('#carousel').slick({
            //variables here
        });
    });

Any help as to why the images don't load smoothly would be appreciated! Thanks!

Its because your images aren't loaded yet, if you want it smooth, run that on window.load

Could you please be more specific? I'm sorry but I'm quite new to front end programming. Where do I add or replace window.load() with what I have right now?

instead of $(document).ready write $(window).load(

thanks so much!!

Glad I could help


Infinite scroll is not implemented yet

Describe the bug
For now, infinite scroll for asset modal and project list, and so on is not implemented yet, so if users try to display more than a few hundred items, they will not appear in the middle of the screen.
Expected behavior
Infinite Scroll should be implemented (Scroll down to the bottom and you'll see more)

Reference: https://www.apollographql.com/docs/react/pagination/core-api/


Azure Open API Issue

Hi,
My Setup is as follows regarding Embedding and Chat LLM:
[?] Which local embeddings model do you want to use?:
Instructor-Large
[?] Do you want to use local chat models? (y/N): N
[?] Which remote LLM do you want to use?:
Azure-OpenAI
In such a set up , simple questions about the codebase give response like below:
I'm sorry, I cannot determine the answer to your question as there is not enough context provided to identify a specific codebase.
Can you provide more information or code snippets?
Is there anything wrong with above set-up?

Hi, can you check the json file in for you project in .cache/codeqai? are there any vector ids listted?

Hi,
Yes i can see around 39 entries for filename and for each of filename there are many vector_ids.
I am not sure if this has anything to do with any Token limitation Azure impose ?  I am not getting any error though.
Thanks
Rohith


rubocop: The pyyaml resource requires depends_on "libyaml"

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

The "pyyaml" resource requires depends_on "libyaml", so make the FormulaAudit/ResourceRequiresDependencies handle both uses_from_macos and depends_on.
Fail nicely when a formula has no resources.

Maybe this is a good place to discuss whether libyaml should be also added if ruamel.yaml is a dependency? (As an alternative to PyYAML)
It seems like it might drop back to a pure-python version but use libyaml if it's available?

Now that we have this Rubocop we can easily extend it as we identify more situations like this. I'm thinking of the formulae that can't use our python-cryptography formula or the bcrypt resource which both need Rust to build. These are just the most pressing ones for our Python vendoring project.

Thanks @issyl0!


Upgrading superset

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.26.3
Expected results
upgrading to 0.27.0
Actual results
still 0.26.3
Steps to reproduce
pip install superset --upgrade
superset db upgrade
superset init
actually I want to upgrading superset from 0.26 to 0.27,I already run
pip install superset --upgrade
superset db upgrade
superset init
but,when I finished it,the version is still 0.26

0.26.3 is the latest actual version, there is only release candidate after that. I guess you can force the update to a release candidate but I'm not sure that it's a good idea.


Allow to change date format in validation error messages

It will be useful to allow us to change the date format (according to locale) for validation error messages. Something like the option to choose translation for validation messages but for dates.

In this picture, the validation error date should be DD.MM.YYYY and not YYYY-MM-DD.

+1

I guess I can add it as a part of the dictionary object definition since it already namespaces stuff nicely:
const dict = {
  messages: {},
  custom: {},
  attributes: {},
  date_format: 'DD-MM-YYYY'
};

Yes, it will be perfect !

I've try to use this with beta v2.0.0-rc.7 but I can't get the correct date format in the error message..
import VeeValidate, {Validator} from 'vee-validate'
import french from 'vee-validate/dist/locale/fr'

import frenchCustom from './lang/fr.json'

import moment from 'moment'
moment.locale('fr')

Vue.use(VeeValidate, {
  locale: 'fr',
  dictionary: {
    fr: {
      attributes: frenchCustom,
      dateFormat: 'DD.MM.YYYY'
    }
  }
})

Validator.installDateTimeValidators(moment)
Validator.addLocale(french)

@logaretm please, could you reopen this issue since I can't do it works ?

@logaretm Please reopen this issue.. Because this is not fixed. The date format returned by the html date field is YYYY-MM-DD, so I cannot use the date_format validator. I only want that the date is displayed as DD.MM.YYYY in the error message.
The first solution you provide should fix this for me.
const dict = {
  messages: {},
  custom: {},
  attributes: {},
  dateFormat: 'DD-MM-YYYY'
};

Thanks


bug: ion-tabs getting null object reference in iOS

Type: bug
Platform: ios 8 webview
Error: null is not an object (evaluating 'tabsCtrl.$element.append')
tabSelected@http://localhost:12344/bower_components/ionic/release/js/ionic-angular.js:11052:32
$digest@http://localhost:12344/bower_components/angular/angular.js:14243:31
$apply@http://localhost:12344/bower_components/angular/angular.js:14506:31
http://localhost:12344/bower_components/angular/angular.js:11364:30
eventHandler@http://localhost:12344/bower_components/angular/angular.js:3014:25
dispatchEvent@[native code]
triggerMouseEvent@http://localhost:12344/bower_components/ionic/release/js/ionic.js:2804:20
tapClick@http://localhost:12344/bower_components/ionic/release/js/ionic.js:2793:20
tapTouchEnd@http://localhost:12344/bower_components/ionic/release/js/ionic.js:2911:13
This is blowing up my tabs on iOS build. Not predictable at the moment.

Not reproducible in safari. Happens in cordova using WKWebView plugin.

I have got this the wrong way around. My tabs are disappearing and then tapping a link triggers this. Makes sense, but somehow, ion-tabs are being destroyed randomly.

Greetings @gdjennings!
My sensors indicate that I require more information in order to assist you.

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
On which platform does this happen occur? (iOS, Android, all, etc.)
On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)
Is this an issue with the Ionic Framework or Ionic CLI?

Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum, where many humans will be able to offer wisdom and advice.
Thank you for allowing me to assist you.

Greetings @gdjennings!
My sensors indicate a reply was requested, but we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.


Please invite me to the community

Name
PaladinKnightMaster
Additional Context
I'd like to join this awesome community.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈


Activity com.timeyaa.ccell_flutter.MainActivity has leaked IntentReceiver

When back to desktop use back button on Android, Logcat will print this error.
E/ActivityThread(25543): Activity com.pauldemarco.flutterblueexample.MainActivity has leaked IntentReceiver com.pauldemarco.flutterblue.FlutterBluePlugin$1$1@34c34b0 that was originally registered here. Are you missing a call to unregisterReceiver()?
E/ActivityThread(25543): android.app.IntentReceiverLeaked: Activity com.pauldemarco.flutterblueexample.MainActivity has leaked IntentReceiver com.pauldemarco.flutterblue.FlutterBluePlugin$1$1@34c34b0 that was originally registered here. Are you missing a call to unregisterReceiver()?
E/ActivityThread(25543): 	at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1030)
E/ActivityThread(25543): 	at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:817)
E/ActivityThread(25543): 	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1260)
E/ActivityThread(25543): 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1240)
E/ActivityThread(25543): 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1234)
E/ActivityThread(25543): 	at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:576)
E/ActivityThread(25543): 	at com.pauldemarco.flutterblue.FlutterBluePlugin$1.onListen(FlutterBluePlugin.java:578)
E/ActivityThread(25543): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:181)
E/ActivityThread(25543): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:160)
E/ActivityThread(25543): 	at io.flutter.view.FlutterNativeView$PlatformMessageHandlerImpl.handleMessageFromDart(FlutterNativeView.java:188)
E/ActivityThread(25543): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:202)
E/ActivityThread(25543): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/ActivityThread(25543): 	at android.os.MessageQueue.next(MessageQueue.java:323)
E/ActivityThread(25543): 	at android.os.Looper.loop(Looper.java:143)
E/ActivityThread(25543): 	at android.app.ActivityThread.main(ActivityThread.java:7225)
E/ActivityThread(25543): 	at java.lang.reflect.Method.invoke(Native Method)
E/ActivityThread(25543): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
E/ActivityThread(25543): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

me too

How to fix it up

Now, I kill my app on exit.
public class MainActivity extends FlutterActivity {
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    GeneratedPluginRegistrant.registerWith(this);
  }

  @Override
  protected void onDestroy() {
    super.onDestroy();
    android.os.Process.killProcess(android.os.Process.myPid());
  }
}

Exact same issue.
To be clear, the issue occurs on the example provided in this repo.
D/InputEventReceiver(21256): channel '8ca4ddb com.pauldemarco.flutter_blue_example/com.pauldemarco.flutter_blue_example.MainActivity (client)' ~NativeInputEventReceiver.
E/ActivityThread(21256): Activity com.pauldemarco.flutter_blue_example.MainActivity has leaked IntentReceiver com.pauldemarco.flutter_blue.FlutterBluePlugin$1$1@abbbc8 that was originally registered here. Are you missing a call to unregisterReceiver()?
E/ActivityThread(21256): android.app.IntentReceiverLeaked: Activity com.pauldemarco.flutter_blue_example.MainActivity has leaked IntentReceiver com.pauldemarco.flutter_blue.FlutterBluePlugin$1$1@abbbc8 that was originally registered here. Are you missing a call to unregisterReceiver()?
E/ActivityThread(21256): 	at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1357)
E/ActivityThread(21256): 	at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1122)
E/ActivityThread(21256): 	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1428)
E/ActivityThread(21256): 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1401)
E/ActivityThread(21256): 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1389)
E/ActivityThread(21256): 	at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:622)
E/ActivityThread(21256): 	at com.pauldemarco.flutter_blue.FlutterBluePlugin$1.onListen(FlutterBluePlugin.java:638)
E/ActivityThread(21256): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:193)
E/ActivityThread(21256): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:172)
E/ActivityThread(21256): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:93)
...

Just scan once and then, press back button on Android (or just switch app) and you'll get the exception in your debug console
flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8)
    • Flutter version 1.12.13+hotfix.8 at /opt/flutter
    • Framework revision 0b8abb4724 (7 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /opt/android-sdk/
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /opt/android-sdk
    • ANDROID_SDK_ROOT = /opt/android-sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Android Studio (version 3.6)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • SM G935F • 988678454e47515938 • android-arm64 • Android 8.0.0 (API 26)

• No issues found!

Sorry to maybe state the obvious but I'm searching for a solution :)
In FlutterBluePlugin.java, the onCancel seems to not be called
@Override
public void onListen(Object o, EventChannel.EventSink eventSink) {
    sink = eventSink;
    IntentFilter filter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED);
    activity.registerReceiver(mReceiver, filter);
}

@Override
public void onCancel(Object o) {
    sink = null;
    activity.unregisterReceiver(mReceiver);
}

Somehow, seems related:
https://github.com/flutter/flutter/issues/12956#issuecomment-343930468

I succeeded to work around the issue with the following, which, seems to me, a good solution but could be implemented in FlutterBlue it self I think:
// In the widget normally consuming FlutterBlue.instance.state

StreamController<BluetoothState> bluetoothStateStreamController = ((Stream<BluetoothState> state) {
    StreamController<BluetoothState> controller;
    StreamSubscription stateStreamSub;

    void onListen() {
      stateStreamSub = state.listen((state) {
        controller.add(state);
      });
    }

    void onCancel() {
      stateStreamSub?.cancel();
      stateStreamSub = null;
    }

    controller = StreamController<BluetoothState>(
      onListen: onListen,
      onPause: onCancel,
      onResume: onListen,
      onCancel: onCancel,
    );

    return controller;
  })(FlutterBlue.instance.state);

  Stream<BluetoothState> bluetoothStateStream;

  // further in the State<StatefullWidget>

  @override
  void initState() {
    bluetoothStateStream = bluetoothStateStreamController.stream.asBroadcastStream();

    super.initState();
  }

  @override
  void dispose() {
    bluetoothStateStreamController?.close();

    super.dispose();
  }

The important part is bluetoothStateStreamController?.close(); in the dispose()

Same here. Pease fix it :)

Activity io.flutter.embedding.android.FlutterActivity has leaked IntentReceiver io.flutter.plugins.camera.features.sensororientation.DeviceOrientationManager$1@b951b24 that was originally registered here. Are you missing a call to unregisterReceiver()?


Add support for UTF-8 filenames

Without this patch, building a project that requires Ember fails due to a file called 🐹.
This patch fixes builds for projects with files containing non-ASCII characters.
unpacking source archive /nix/store/ymyv1w0pqzxv89mhjd6cibnjrp7bcz2m-pnpm2nix-source-ember-cli
source root is .
patching sources
configuring
building
installing
Traceback (most recent call last):
  File "/nix/store/7rn33xc994mw74xav5pwffcsdfz6nczm-link-bin-outputs.py", line 59, in <module>
    os.symlink(fin, fout)
UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f439' in position 65: ordinal not in range(128)

Thanks!


Add ACS notebook acs_reduction.ipynb

Relevant Ticket

SPB-1418

Summary

Added ACS notebook acs_reduction.ipynb (migrated from spacetelescope/acs-notebook @ 44241a3), preserving commit history
Updated _toc.yml accordingly
Updated requirements.txt files

HI @alyssaguzman,
To ensure the successful execution of CI, it is important to have all necessary dependencies installed, similar to our local environments. Thus, we should add crds to the requirements.txt and include hstcal in the environment.yml.
Thank you.

Hi @dulude and @TheRealZoidberg,
I wanted to inform you that the CI is currently unable to recognize the calacs.e command required for running association files and generating the necessary flt/flc files. Installing the hstcal dependency, which is needed to run calacs.e can only be done through Conda. Although Alyssa added it to the "environment.yml" file on the PR, the CI is still failing to recognize it. My question is whether the notebooks check the "environment.yml" file in the main during execution. If that is the case, we must update the "env" on the main before checking the notebook execution. Please advise. Thanks!

Thank you, @TheRealZoidberg, for updating the ci_runner to allow for installations through pre-requirements.sh


CSS file mix with LESS files into a single bundle gets ignored

I'm submitting a bug report
Webpack version:
1.10.x/2.x
Please tell us about your environment:
OSX 10.10.x
Current behavior:
When generating a single bundle.css made when LESS and compiled CSS, the CSS files get ignored and not included into the bundle.css.
Am using extractplugin to generated the bundle css, and css!less loaders to read the Less files and compile them.
Expected/desired behavior:
Webpack should grab all require files and included them into bundle.css, when it sees the CSS file it should be smart enough to know that no compiling is needed only aggregation.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with a gist/jsbin of your webpack configuration.

create a file and called it whatever. i.e. main.js with the following content:
require('./css/bootstrap/bootstrap.less');
require('./css/bootstrap-material/dist/bootstrap-material-design.css'); //this file gets ignore by webpack
require('./css/bootstrap-material/ripples.less');
Create a a css folder and add bootstrap Less files.
Create webpack.config file that uses extractPlugin.
Create a index.html that loads bundle.css

What is the expected behavior?
webpack should read and pull content of each require line in main.js, if the file getting pulled happens to be a file with .css extension it should ignore the compiling but still include the file onto the bundle.

What is the motivation / use case for changing the behavior?
All CSS files, whether precompile or compiled should be included in output file. Error message or info message should also be provided in the terminal if for some reason a file gets excluded by webpack.

Browser: [Chrome XX  ]
Chrome xx

Language: [ ES5]
ES5

Have you applied the ExtractTextPlugin to the css loader too?

@jorgecas99 Any update?


website no longer has "How service brokers work" image

What is the problem?
https://www.openservicebrokerapi.org/ is missing an image: https://www.openservicebrokerapi.org/wp-content/uploads/sites/21/2018/09/howitworks.svg
Who does this affect?
Anyone wanting to learn more about OSBAPI
Do you have any proposed solutions?
Update the webpage? Reload the image?
Additional context
Sorry if this is the wrong repo, not sure where else to file this.
Here's how it's archived on the wayback machine:

Here's how it looks now:

Thanks @pburkholder, I will look into this

This is now fixed, thanks @pburkholder


rbenv fails to install Ruby & appears broken

Running Boxen on a vanilla OSX 10.8.5 install generates errors installing Ruby:
Error: /opt/boxen/rbenv/bin/rbenv install 1.9.3-p448 returned  instead of one of [0]
Error: /Stage[main]/Ruby::1_9_3_p448/Ruby::Version[1.9.3-p448]/Exec[ruby-install-1.9.3-p448]/returns: change from notrun to 0 failed: /opt/boxen/rbenv/bin/rbenv install 1.9.3-p448 returned  instead of one of [0]
Notice: /Stage[main]/Ruby::1_9_3_p448/Ruby::Version[1.9.3-p448]/Ruby::Gem[bundler for 1.9.3-p448]/Rbenv_gem[bundler for 1.9.3-p448]: Dependency Exec[ruby-install-1.9.3-p448] has failures: true
Warning: /Stage[main]/Ruby::1_9_3_p448/Ruby::Version[1.9.3-p448]/Ruby::Gem[bundler for 1.9.3-p448]/Rbenv_gem[bundler for 1.9.3-p448]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_3/File[/opt/boxen/rbenv/versions/1.9.3]: Dependency Exec[ruby-install-1.9.3-p448] has failures: true
Warning: /Stage[main]/Ruby::1_9_3/File[/opt/boxen/rbenv/versions/1.9.3]: Skipping because of failed dependencies

Running rbenv, vagrant, or any other Ruby app throws the following error:
Illegal instruction: 4

Nuking Boxen and starting again gives the same problem.
Ruby works directly, and reports its version as:
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

Happy to help debugging this, though I've hit a bit of a wall at this point :).

@spikeheap this should no longer be an issue. please close this or comment if there's still a problem.


res=$? missing

Signed-off-by: Brett Logan<EMAIL_ADDRESS>Signed-off-by: tyanj<EMAIL_ADDRESS>

I'm reverting the removal of typescript, @tyanj once this is completed you will need to rebase your PR.
Thanks.

This was just a bad rebase. Can you do a git fetch <your upstream> && git rebase <your upstream>/master to fix this bad rebase

@tyanj Are you going to fix this PR? Otherwise I will close it and submit a new one with your change.
Thanks.

Ok, I asked @ryjones to use his github skills to fix this PR. I will merge it. Thanks Ry!


How to configure motion notification through HTTP or SMTP?

I want to try using my camera's built in-motion detection but I'm struggling to understand how this should be configured. My camera is configured, shows up in HomeKit, and I do receive motion notifications for videoanalysis triggers in HomeKit, but I want to see if I can get the camera's built-in motion notifications enabled instead.
My camera has SMTP notification enabled and successfully sends messages through a gmail account. However it's unclear how to configure camera.ui to catch this notification and forward to HomeKit. I've tried plugging in the same to/from email accounts in the camera alarm SMTP settings but that doesn't seem to catch anything.
I believe my camera has HTTP motion detection stream as well, but the HTTP alarm fields in camera.ui are disabled, even though I have HTTP enabled and showing as online under the main system settings section.
I'm running<EMAIL_ADDRESS>on a Mac.
{
  "debug": false,
  "port": 8081,
  "atHomeSwitch": false,
  "options": {
    "videoProcessor": "/usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg"
  },
  "ssl": {
    "active": false
  },
  "http": {
    "active": true,
    "port": 8559,
    "localhttp": false
  },
  "smtp": {
    "active": true,
    "port": 587,
    "space_replace": "+"
  },
  "ftp": {
    "active": false,
    "useFile": false,
    "port": 5050
  },
  "mqtt": {
    "active": false,
    "tls": false,
    "port": 1883
  },
  "cameras": [
    {
      "name": "Test02",
      "motionTimeout": 15,
      "prebuffering": true,
      "videoConfig": {
        "source": "-i rtsp://user:pw@ip:port/Streaming/Channels/101/",
        "stillImageSource": "-i rtsp://user:pw@ip:port/Streaming/Channels/101/",
        "stimeout": 10,
        "audio": false,
        "debug": true,
        "subSource": "-i rtsp://user:pw@ip:port/Streaming/Channels/102/",
        "rtspTransport": "",
        "vcodec": "copy"
      },
      "mqtt": {},
      "smtp": {
        "email": "",
        "from": ""
      },
      "videoanalysis": {
        "active": true
      },
      "hsv": true,
      "prebufferLength": 4,
      "unbridge": true
    }
  ]
}

Hey @asaundd
Your camera must be able to use a custom SMTP server to send an email. This SMTP server must be the one of camera.ui. If your camera can ONLY send an email via Gmail this will not work.
If your camera can use a custom SMTP server, then you just have to enter the IP address of the device where camera.ui is running as server address and the port you defined in config.json. The recipient email must contain the camera name.
E.g. if your camera is called "My Camera", then the email address must be<EMAIL_ADDRESS>(everything that comes AFTER the "@" is not important.
If your camera is just called "Camera", then the email address is e.g<EMAIL_ADDRESS>and so on
There is a small bug with the HTTP server. You have to update to the latest beta version to enable the HTTP server.
This is my SMTP setting for the camera

Thank you - SMTP notifications are working now! It shows a "read ECONNRESET" for each notification but I think that's expected, right?
For HTTP, I did update to 5.0.14-beta.0 and HTTP is enabled, but the HTTP fields under the camera settings are still grayed out. But if I understand correctly, it sounds like those settings are for camera.ui to receive the notification from my physical camera, right? There's no way to configure camera.ui to listen in to my physical camera's HTTP alertStream endpoint for motion detection?

Thank you - SMTP notifications are working now! It shows a "read ECONNRESET" for each notification but I think that's expected, right?
For HTTP, I did update to 5.0.14-beta.0 and HTTP is enabled, but the HTTP fields under the individual camera settings in camera.ui are still grayed out. But if I understand correctly, it sounds like those settings are for camera.ui to receive the notification from my physical camera, right? There's no way to configure camera.ui to listen in to my physical camera's HTTP alertStream endpoint for motion detection?

no thats not expected, can you post the full log pls?
The input fields for http in the camera.ui interface are disabled. These input fields should just inform you which link you need to use to trigger a motion via HTTP
Atm, there is no way to listen to a custom http event. Can you provide more information regarding the alertStream endpoint pls

Not much more than that in the logs. Each SMTP line is a different notification from the physical camera. But after playing with it I think SMTP is not ideal since there is not a "no motion" or "reset" notification to tell camera.ui to stop recording.
[1/23/2022, 2:47:08 PM] [CameraUI] SMTP: w7dxz4qg6qydf3yb <IP_ADDRESS> read ECONNRESET
[1/23/2022, 2:47:18 PM] [CameraUI] Test02: Stopping stream..
[1/23/2022, 2:47:18 PM] [CameraUI] Test02: Prebuffer request ended
[1/23/2022, 2:47:18 PM] [CameraUI] Test02: Stream exit (expected)
[1/23/2022, 2:47:27 PM] [CameraUI] SMTP: bdssttps36l3odic <IP_ADDRESS> read ECONNRESET
[1/23/2022, 2:47:44 PM] [CameraUI] SMTP: b6wbfuqicsbzd5yf <IP_ADDRESS> read ECONNRESET
[1/23/2022, 2:48:26 PM] [CameraUI] SMTP: u6s3lum4vszczx27 <IP_ADDRESS> read ECONNRESET

In config.json I have this is this:
  "smtp": {
    "active": true,
    "port": 587,
    "space_replace": "+"
  }
...
      "smtp": {
        "email": "Test02",
        "from": "LTS"
      },

And my physical camera configured looks like this:

Here's some info on the alertStream on HIKVISION cameras (search for "ISAPI/Event/notification/alertStream"): http://mega-avr.net/file/programmy/IP-camera/HIKVISION/2.SDK/ISAPI/HIKVISION ISAPI_2.5-IPMD Service.pdf

Not much more than that in the logs. Each SMTP line is a different notification from the physical camera. But after playing with it I think SMTP is not ideal since there is not a "no motion" or "reset" notification to tell camera.ui to stop recording.
[1/23/2022, 2:47:08 PM] [CameraUI] SMTP: w7dxz4qg6qydf3yb <IP_ADDRESS> read ECONNRESET
[1/23/2022, 2:47:18 PM] [CameraUI] Test02: Stopping stream..
[1/23/2022, 2:47:18 PM] [CameraUI] Test02: Prebuffer request ended
[1/23/2022, 2:47:18 PM] [CameraUI] Test02: Stream exit (expected)
[1/23/2022, 2:47:27 PM] [CameraUI] SMTP: bdssttps36l3odic <IP_ADDRESS> read ECONNRESET
[1/23/2022, 2:47:44 PM] [CameraUI] SMTP: b6wbfuqicsbzd5yf <IP_ADDRESS> read ECONNRESET
[1/23/2022, 2:48:26 PM] [CameraUI] SMTP: u6s3lum4vszczx27 <IP_ADDRESS> read ECONNRESET

In config.json I have this is this:
  "smtp": {
    "active": true,
    "port": 587,
    "space_replace": "+"
  }
...
      "smtp": {
        "email": "Test02",
        "from": "LTS"
      },

And my physical camera configured looks like this:
Here's some info on the alertStream on HIKVISION cameras (search for "ISAPI/Event/notification/alertStream"): http://mega-avr.net/file/programmy/IP-camera/HIKVISION/2.SDK/ISAPI/HIKVISION ISAPI_2.5-IPMD Service.pdf

Yes thats right. Its not possible to reset the motion via SMTP. But you could try MQTT if your camera supports it. Here in the Issues was one that had motion detection via MQTT with Hikvision
I think the ECONRESET is related to Email Encryption. Thats not supported and should be disabled.

Disabling encryption fixed the ECONRESET error. Nice! Coffee on me.
I don't think my HIKVISION cameras support MQTT but I think there are some programs out there that will convert the alertStream events. I'll look into that. Thanks again!


fix(tokens): Adding support for mutable token data, including icons

:tada: This PR is included in version 1.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Create Darkened color decorator to re-use color darkening code

Closing this, since this will be implemented in Bolts library.


restructure dirs

Moves the contrib dir into the software folder.
completes the removal of the flash_nuke file and doc. I found that with the removal of flash_nuke, this readme wasn't relevant anymore. It was all covered better by programming_instructions.
adds some make targets to make copying easier

I didn't touch the instructions on deploying europi.py to the pyboard, or deploying individual scripts. We can discuss in chat, but I'm not sure it's actually any easier now. I still think that this change is good for the other reasons (all software together, better testing setup)
Fixes issue #55

LGTM


[bug] Missing outgoing and incoming nodes for BPMN diagrams

Hi,
firstly, thanks for the new BPMN export #46.
This helps a lot when creating BPMN diagrams programmatically.
When working with the BPMN files I noticed that the elements startEvent, endEvent, intermediateCatchEvent, task, subProcess, serviceTask, exclusiveGateway, inclusiveGateway and parallelGateway are missing the outgoing and incoming nodes.
Programs like Camunda do this when creating diagrams:
<bpmn:startEvent id="Event_11njzyn">
    <bpmn:outgoing>Flow_0xkujsq</bpmn:outgoing>
</bpmn:startEvent>

This is needed when analyzing BPMN files.
Could this be a feature in the future?

@Charizhardt Thanks for the help! I have added the fix to v0.8.1. Sorry for taking so long to publish it.


Use HSTS

https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security upgrades an HTTP connection to an HTTPS one and tells the browser to remember that this domain should only be accessed via HTTPS.
This increases security and only costs something at the very first request to the domain.
HSTS is easy to implement on an express website using helmet.
Happy to make the contrib if there is an interest.

Go ahead, thanks :-)
Just be aware that we don't (yet) support HTTPS on the apex domain, only on cdn.polyfill.io subdomain, for Fastly-related reasons.

Just be aware that we don't (yet) support HTTPS on the apex domain

I'm not sure I understand this part (and the consequences for adding HSTS support). What does "the apex domain" mean? (or what is it?)

ah, sorry: apex domain means polyfill.io, vs cdn.polyfill.io which is a
subdomain. If you load http://polyfill.io, you get redirected to
https://cdn.polyfill.io. I'm happy to have HSTS apply to the latter.

To answer your concern, I need an answer. I'll try to phrase the question as accurately as possible:
Is code from the Financial-Times/polyfill-service repo deployed under the polyfill.io domain? (is it this code that triggers the redirect). If yes, I'm not sure it's a good idea to add HSTS in the current circumstances. If both domains are even on the same physical machine, but handled by different code, then I feel confident HSTS won't affect polyfill.io.
Asked differently, is the code that redirects polyfill.io to cdn.polyfill.io under the current repository?

OK, I understand. polyfill.io's redirect is not handled by the code in the repo - the response comes directly from our DNS provider.  This repo's code is used only to serve cdn.polyfill.io.  Basically, all I'm saying is that includeSubDomains should not be set in the HSTS header.

This repo's code is used only to serve cdn.polyfill.io

ok

Basically, all I'm saying is that includeSubDomains should not be set in the HSTS header.

I was not planning on including it. In any case, this wouldn't be a worry, since includeSubDomains would only apply to subdomains of cdn.polyfill.io, not polyfill.io (so it would apply to something like blabla.cdn.polyfill.io). But anyway, I won't apply it.

The work for this is in #673 - please test and review

Should we also discuss the possibility of auto-enforcing HTTPS connections using https://github.com/aredo/express-enforces-ssl ?

Should we also discuss the possibility of auto-enforcing HTTPS connections using https://github.com/aredo/express-enforces-ssl ?

Certainly. The spec suggests that the header is considered only when received via HTTPS, so, a bootstrap can only happen if there is at least one HTTPS connection (then the browser remembering the STS policy will always go HTTPS even if asked HTTP).
You can also consider being added to the preload list (but that should probably be a different issue regarding cdn.polyfill.io specifically, not this repo)

Closing as HSTS is now live. Will create a new issue for discussing redirecting to https and adding to preload list.

New issue for HTTP -> HTTPS - https://github.com/Financial-Times/polyfill-service/issues/677


How can I listen onChange Event?

Hi have tried (change) and (onChange), but nothing works :(

try (ngModelChange)
--
Jan Kuri
On 15 April 2017 at 23:52:02, xyndata s.r.o<EMAIL_ADDRESS>wrote:

Hi have tried (change) and (onChange), but nothing works :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jkuri/ng2-datepicker/issues/218, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtntnseN1qhDgkS14vjFfvlz7Lh0nS5ks5rwTwCgaJpZM4M-eG0
.

It's not called. (input) is called only when I change the text value. I've binded registerOnChange, but I receive only jQuery function and do not know how to call back my angular2 function.... :(

Looking at the code, the component emits an event called outputEvents of type{ type: string, data: string | DateModel }. Look for type == "dateChanged".


adding remote backend

Updated code

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.


Liveshare keeps asking to sign-in every time

Issue Type: Bug

Operative System: Windows 10 Pro x64
VS Code: 1.45.1
LiveShare: 1.0.2169
Project type: Any

Everytime I try to start a collaboration session or join an ongoing session, Liveshare asks me to sign-in (which I do with my GitHub account) even if I already signed in successfully earlier.
I tried uninstalling the Liveshare extension multiple times and reinstalling it, however, the issue still remains. I also checked if there was a place in the Liveshare config that would allow me to manually set my credentials an store them, but I couldn't find any. Attached below you can find the export logs of Liveshare.
20201505_VSCode_LiveshareExportLogs.zip
I'm not sure if issue 3522 could be related to this, but I wanted to let you know just in case.
Please, let me know if you need any more information and I will gladly provide it.
Thanks!
Extension version: 1.0.2169
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9700F CPU @ 3.00GHz (8 x 3000)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.93GB (6.94GB free)

Process Argv

Screen Reader
no

VM
0%

We are looking at a fix, as a workaround, can you try running this command: Live Share: Disable VSCode account authentication? This will revert the authentication to the old flow, and not use the in client auth. Please let us know if this unblocks you.

Hey Bruno!
Thank you very much for the suggestion! I tried your workaround, signed in through GitHub, and  now every time I open the VS Code I can see I'm correctly logged in with my GH account (on Live Share). I also tried creating and joining collaboration sessions, and in none of those tries I got asked asked to sign-in again; so it worked flawlessly.
Should I close this ticket or leave it like this until it gets fixed?

You can close this one, we have a few similar ones so I can consolidate when we have a fix

Ok, I'll do that, Thanks again for your help!

Ok, I'll do that. Thanks again for your help!

@BrunoGuardia
Could you link the main issue for this here? So that we can keep track of when a fix is released.


Running assembled modules in ceylon 1.3.2

The  documentation says:

... an assembly archive is produced using ceylon assemble, and may be executed using ceylon run --assembly.
Alternatively, if the assembly archive is assembled using the option ceylon assemble --include-runtime, it may be executed using java -jar on a system that does not have Ceylon installed.

Isn't it correct to ...
$ ./bin/ceylon compile --src=samples/with-module/source/ com.example.withmodule
$ ./bin/ceylon assemble --include-runtime  com.example.withmodule
$ cp com.example.withmodule-1.0.cas com.example.withmodule-1.0.jar
$ java -jar com.example.withmodule-1.0.jar

This causes an error:
org.jboss.modules.ModuleNotFoundException: ceylon.language:1.3.2
        at org.jboss.modules.Module.addPaths(Module.java:1042)
        at org.jboss.modules.Module.link(Module.java:1398)
        at org.jboss.modules.Module.relinkIfNecessary(Module.java:1426)
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:238)
        at org.jboss.modules.Main.main(Main.java:384)
        at ceylon.modules.bootstrap.CeylonRunTool.run(CeylonRunTool.java:355)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.redhat.ceylon.tools.assemble.CeylonAssemblyRunner.invokeRuntime(CeylonAssemblyRunner.java:153)
        at com.redhat.ceylon.tools.assemble.CeylonAssemblyRunner.main(CeylonAssemblyRunner.java:55)

This is a bug that crept in at the last minute. It's caused by a single missing file in the .cas file.
If you want a work-around for now you can add the file yourself manually. In an empty folder type:
jar xf ../path/to/assembly.cas
cp `ceylon --show-home`/repo/ceylon/language/1.3.2/module.xml modules/ceylon/language/1.3.2/
jar cfm fixed.cas META-INF/MANIFEST.MF *

Why is the assembly named .cas instead of jar?
It would be more intuitive to produce a .jar.
If not it is necessary to make the intermediate step:
mv com.example.withmodule-1.0.cas com.example.withmodule-1.0.jar
It seems to be intended to run a .cas like a .jar using the java -jar command, because the documentation says:

Alternatively, if the assembly archive is assembled using the option ceylon assemble --include-runtime, it may be executed using java -jar on a system that does not have Ceylon installed.

Well why is a .war file called that way or an .ear file? They are all .jar files in the end. I guess you could say it's all about semantics. It's technically a .jar file, but with a specific layout and contents that give it a special meaning over regular .jar files. For example it's very important to realize that a Ceylon assembly can be used as a full-fledged repository. Any non-assembly .jar file can definitely not be used that way.
That it can be used in combination with the java -jar command is a convenience feature (and has to be specifically enabled by using the --include-language or --include-runtime options).

Very nice. Thanks for the workaround @quintesse.
@welopino note that you can still use java -jar whatever.cas, or if you prefer to give it a jar name from the start:
ceylon assemble --include-runtime --out whatever.jar whatever

Fixed. Closing.

It's technically a .jar file, but with a specific layout and contents that give it a special meaning over regular .jar files.

Well it uses Russian doll packaging, i.e. it has .jars inside it. I don't think that's normal for a .jar. To me, a .jar only contains .classes, not other .jars.

To me, a .jar only contains .classes, not other .jars.

Exactly, but for example .war files do. But .war files are still technically .jar files (which are again .zip files).
But yes, IMO yet another reason to give them another name.


Doesn't work with latest version of Guszzle.

We're using Guzzle and it's latest version. And we also don't need remote debug. So strict requirement prevents us to use this extension.

I have released 2 new versions of this extension today:

v3.1.0 - uses guzzlehttp/guzzle ~4.0||~5.0. This is legacy support release, mostly for those still stuck with 4.0 or 5.0 for whatever reason. This version will not likely to receive further updates, but can be used for transition period. It is temporarily maintained on v3.1 branch.
v3.2.0 - uses guzzlehttp/guzzle ~6.0. This will be maintained and will receive any updates (master branch).

I have also made an issue to gather more feedback regarding making guzzlehttp/guzzle optional altogether, as it is only required when using Remote Xdebug. Please check #15 and provide any additional feedback if you like.
As there is a version of this package that supports most recent guzzle versions (from 4.0 to 6.0), I believe I can close this issue. Please let me know if there is something else.
Thank you for feedback.

thanks a lot


In Safari - Find a way to omit dev console errors

xcomponent isSameDomain function produces this error in Safari dev console:
"Blocked a frame with origin "[url]" from accessing a cross-origin frame."
There is a try/catch block around the call that causes the error, however Safari decides to still log the error.

Agreed, would love to find a way to suppress this properly. 👍

Not sure if that's even possible but worth to check :)

Think I might have found the perfect way:
let windowIsCrossDomain = Boolean(Object.getOwnPropertyDescriptor(win, 'location').enumerable);

This seems to consistently give back the correct result for cross domain windows, and doesn't trigger any errors in safari.

Fixed and published. I'll roll out paypal-checkout with the fix too later today, but xcomponent now has the fix. See https://github.com/krakenjs/cross-domain-utils/commit/40c6cb74ae5a455c23b82ad3e8536bf2059504e4


traffic_top help text / option name is confusing

I am guessing --sleep doesn't really enable the debugging output.
$ traffic_top -h
Usage: traffic_top [--SWITCH [ARG]]
  switch__________________type__default___description
  -s, --sleep             int   6         Enable debugging output

Updated in 8 and 9 branches.
Help for option is now Sets the delay between updates (in seconds)


Rules without selectors don't trigger syntax error in injectGlobal or createGlobalStyle

This will produce invalid CSS:
import { injectGlobal, createGlobalStyle } from 'styled-components'

injectGlobal`
  color: red; /* should error here... bad syntax */
  body {
    color: red;
  }
`

createGlobalStyle`
 color: red; /* should error here... bad syntax */
  body{color:green  ;}
`

The plugin should understand that certain functions do not nest the template literal contents inside a CSS selector. Global styles in this case should trigger the appropriate invalid syntax errors.

I have same problem. In addition, VS Code doesn't format CSS inside their tags.

I ran into the same problem... styled-plugin doesn't seem to format inside global template string.
so i just use
createGlobalStyle(css`

...

`)

yeah formatting doesn't seem to work inside global template strings such as createGlobalStyle
so i use this workaround:
const globalCss = css...;
const GlobalStyles = createGlobalStyle${globalCss};

Closing as this package has been deprecated in favor of the official styled-components/typescript-styled-plugin fork
After updating to that fork, follow up in the styled-components repo if this is still an issue


New build is MUCH faster!

Hi guys, just installed version 1.18.0 and it is MUCH FASTER than before!
Nice wokr!

Thanks for your feedback.  Yes, we did some work to improve the install speed.  There was also work done for the startup experience, but you may not notice the differences. We have a few more perf work items in the next couple of milestones.

Not only install but the experience of using it!

the experience of using it

If you have any time to elaborate on specifically feels faster, and any parts which you wish were faster, please feel free to do so. :)


Update dependencies for next update

Update the dependencies, most importantly:

[x] parity-db 0.2.0
[x] paste
[x] prometheus 0.11
[x] cfg-if 1.0
[x] strum 0.20
[x] env_logger 0.8
[x] pin-project
[x] prost
[x] nix
[x] platforms
[x] quickcheck 1.0

Requiring further work:

tokio 1.0
futures 0.3
rand 0.8 / rand_*
merlin 3.0
asynchronous-codec 0.6
jsonrpc-* 0.17
wasm-bindgen 0.2.70
parity-wasm / pwasm-utils
wasmtime 0.22
wasmi 0.7.0
hyper 0.14 / hyper-rustls 0.22
impl-trait-for-tuples 0.2

Still investigating whether other deps should also be upgraded.
refs #7956

Okay, I've also fixed the changes on quickcheck, but for some unknown reason the benchmarking panics. @NikVolf do you have an idea where this originates? I can't find any change(s) I made that could reasonably cause this and don't know where to look anymore...


marker zIndex ignoring other elements zIndex

Marker zIndex ignoring other elements zIndex, but works when all markers are re rendered.

This help?
https://github.com/airbnb/react-native-maps/pull/1405

#1845 should solve this problem. Please comment if you tested and if there are any bugs detected, as collaborators ask me to have positive replies on my pull request to merge it to master.

Duplicate of #418


Update dependencies and adapt code to new APIs

I've modified the project so that it would compile with the latest version of its dependencies on Elixir 1.8.1.
Please let me know if you'd like me to make any additional changes.

This is awesome, thanks so much!


Unable to use 14.04 Unity With second monitor

chronos@localhost / $ sudo edit-chroot -all
name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: unity-desktop,touch
host: version 8872.76.0 (Official Build) stable-channel cyan
kernel: Linux localhost 3.18.0-13437-g2bea612c #1 SMP PREEMPT Fri Jan 6 23:51:36 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
chronos@localhost / $
Please describe your issue:
When connected to a second monitor then running start* (In this case Unity)
unity presents a black screen on internal chromebook screen and on display (LG 34UC87C) I have to go back to chrome os (CTRL+ALT+SHIFT+F1/F2/Back/Forward still works ) and Kill the terminal with CTRL+C or BREAK. IF unity is running and I plug in a display unity goes black and never recovers unless I kill the terminal
If known, describe the steps to reproduce the issue:
Using a second monitor at all freezes unity

I have fixed the problem by remounting /