Update _index.md to refer to queue instead of execute

Prerequisites for Code Changes

[ ] This pull request follows the code style of the project
[ ] I have tested this feature

...

Changes Proposed

[Change 1]
[Change 2]

...
Additional Information

This section is about synchronous execution, so execute is correct here.

No, that section was about asynchronous execution, so it should be queue(), not execute(). Please take another look.

You'r right about that - sorry. I mistook the section because the code looked like the synchronous one.
The .queued() method is correct here as you say, but we still need to change the return type to Future<>.

I pushed a commit to update the return types, the async examples should be correct now.


Unbind microk8s installation from Multipass

When Installing microk8s using an installer, it requires that Multipass will be installed, and insists on installing it. If Multipass is already installed and the user clicks cancel on the Multipass installation, the microk8s one gets stuck.
I suggest unbinding the two in some way, Since Multipass has now version 1.3 and microk8s installer installs 1.2.

Hi @ranst91,
Please try installer from https://github.com/ubuntu/microk8s/suites/780478462/artifacts/8232134, if you are installing on Windows.
We are waiting for this to be signed internally.
Thanks,
Joe

MicroK8s Windows installer 2.0.0 released with Multipass 1.3.


Update dependencies in RELEASE_NOTES

Dependencies are based on compilation on
clean ubuntu trusty docker image

I would have these changes in the same commit that changes the fpm script so they are all in the same place. It doesn't really make sense to me to have one without the other.

This pull request has been rebased via git hub pull rebase. Original pull request HEAD was 31a870485946a32e71919ed40613187b204dd768, new (rebased) HEAD is 7e05999386ea52282d0ec326ef53c2606bb5311f


Processing stops after match assertion fails in subfeature while calling in loop

karate-junit4 ,karate-apache=0.9.5
karate-testng=0.8.0.RC8
resp contains a json array .
Feature contains below line that invokes subfeature

def result = call read('ValidateTablesSubFeature.feature') resp

once a match clause fails in ValidateTablesSubFeature , it skips the below assertions and moves to the next iteration.
Error

com.intuit.karate.exception.KarateException: simulatorresponse.feature:10 - feature call (loop) failed: classpath:com/test/darshan/ValidateTablesSubFeature.feature
caller: classpath:com/test/darshan/simulatorresponse.feature
items: [{"txntype":"SETTLED","orn":"1933317338724824","paymentid":"1933317338724824","currency":"HKD","amount":"100.23","paymentType":"","paymentSubType":"","txnDate":"2020-04-15T08:11:08.705-04:00"},{"txntype":"SETTLED","orn":"2270502083900000","paymentid":"2270502083900000","currency":"HKD","amount":"500.23","paymentType":"","paymentSubType":"","txnDate":"2020-04-17T01:27:42.819-04:00"},{"txntype":"SETTLED","orn":"1821049702100000","paymentid":"1821049702100000","currency":"HKD","amount":"1500.23","paymentType":"","paymentSubType":"","txnDate":"2020-04-20T08:51:04.575-04:00"}]
errors:
-------

> feature call (loop) failed at index: 0
> caller: classpath:com/test/darshan/ValidateTablesSubFeature.feature
> arg: {"txntype":"SETTLED","mtcn":"1933317338724824","paymentid":"1933317338724824","currency":"HKD","amount":"100.23","paymentType":"IBP","paymentSubType":"visa","txnDate":"2020-04-15T08:11:08.705-04:00"}
> ValidateTablesSubFeature.feature:25 - path: $, actual: 'HK', expected: 'HKD', reason: not equal
> -------
> feature call (loop) failed at index: 1
> caller: classpath:com/test/darshan/ValidateTablesSubFeature.feature
> arg: {"txntype":"SETTLED","mtcn":"2270502083900000","paymentid":"2270502083900000","currency":"HKD","amount":"500.23","paymentType":"IBP","paymentSubType":"visa","txnDate":"2020-04-17T01:27:42.819-04:00"}
> ValidateTablesSubFeature.feature:25 - path: $, actual: 'HK', expected: 'HKD', reason: not equal
> -------
> feature call (loop) failed at index: 2
> caller: classpath:com/test/darshan/ValidateTablesSubFeature.feature
> arg: {"txntype":"SETTLED","mtcn":"1821049702100000","paymentid":"1821049702100000","currency":"HKD","amount":"1500.23","paymentType":"IBP","paymentSubType":"visa","txnDate":"2020-04-20T08:51:04.575-04:00"}
> ValidateTablesSubFeature.feature:25 - path: $, actual: 'HK', expected: 'HKD', reason: not equal

@dkdarshu45 please read this: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

Artifacts.zip
Artifacts are attached .reproduce it at your end

@dkdarshu45 just had a quick look. sorry this is absolutely NOT in the shape we expect. read the instructions again, thanks.

Sample.zip
This is same as Datasets skipped within Scenario Outline of a feature file called from another feature file. #421
and it is not fixed in these versions  :
karate-junit4 ,karate-apache=0.9.5
karate-testng=0.8.0.RC8
I have the project so that u can reproduce and fix it .

@dkdarshu45 took one look at your ZIP file and pom.xml and deleted. you still haven't followed the instructions, sorry

Leave it . seems u dont wont to resolve the bug.will find other workaround

@dkdarshu45 lol. have a look here at an example of what people who really want to resolve a bug provide as a sample project: https://github.com/intuit/karate/issues/1078

The whole project is working fine . pom.xml contains the java file that will run and  i have also highlighted the feature files in the description that cause issue. What else do u need

@dkdarshu45 you need to follow these instructions: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

myproject.zip
PFA project that you can easily run and reproduce. pom is as per getting started guide only.
The test report file myproject/target/surefire-reports/com.test.darshan.simulatorresponse.html
inside the zip clearly shows that test steps are skipped after 1 assertion is failed within scenario.
Version : 0.9.5

I deleted everything in target since you didn't and ran ExamplesTest since you did not provide any steps to reproduce. I don't see any problems with the below report, it is the expected behavior:

I deleted everything in target since you didn't and ran ExamplesTest since you didn't provide a way to replicate. the report looks exactly as expected. note that you called a feature with 2 Scenarios. One failed, but it still ran the other one.
so I commented out the second scenario in ValidateTablesSubFeature.feature and re-ran. this is what I got. karate is working fine:

@ptrthomas  : First of all u ran the project exactly as it was supposed to . Secondly what i asked is why test no 7,8,9 are skipped .similarly 13,14,15 and 19,20,21.
.Why are remaining steps of the scenario skipped after 1  assertion is failed  ??? .
I want all the assertions to be executed regardless of failures . Is this not supported ??

@dkdarshu45 no this is not supported :) I have no idea where you got this idea. there was an old bug where karate would not run the next item in the loop which is fixed.
in other words, karate does not (and will never) support "soft" assertions. please read this for more explanation: https://stackoverflow.com/a/61349887/143475


Add nvme and devicemapper unit tests

Is this ready?

Not yet. Need to refactor it because of the newly changes.

Will create a new PR for this.


Refactor socket.py to handle task interruption gracefully

When the user presses the stop button, the backend raises an InterruptedError. In my mind this should be logged instead. Let me know if I've missed something!

Will fix the test.

Then it won't actually stop the task I believe. Currently it is the error that will interrupt an async task

This is solved in the latest version, so I'll remove the pull request

This is resolved in the latest version, I'll close the pull request


ScalaPB: various fix and improves

fix destination path issue mentioned in https://github.com/lihaoyi/mill/pull/1002#issuecomment-737769495
isolated classloader as #1026
use T.worker

Ya, I've verified the calledDirectly test works locally before push.

Thank you!


New cluster doesn't happen to end up in orchestrator

Cluster is stuck in Ready: False phase because mysql pod never gets Ready.
2021-04-07T14:52:54.553072021Z	DEBUG	controller-runtime.manager.events	Normal	{"object": {"kind":"Lease","namespace":"default","name":"mysql-operator-leader-election","uid":"c61dd4bc-4706-4b5e-9c46-b2267447f087","apiVersion":"coordination.k8s.io/v1","resourceVersion":"78295"}, "reason": "LeaderElection", "message": "cm-mysql-operator-0_750f6e52-877d-473c-9935-69d30acfd952 became leader"}
2021-04-07T14:52:54.553275205Z	INFO	controller-runtime.manager.controller.mysqlbackup-controller	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.553360761Z	INFO	controller-runtime.manager.controller.mysqlbackup-controller	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.553824764Z	INFO	controller-runtime.manager.controller.mysqlbackupcron-controller	Starting EventSource	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.554015469Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.554121207Z	INFO	controller-runtime.manager.controller.mysql-database	Starting EventSource	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.554335196Z	INFO	controller-runtime.manager.controller.mysql-user	Starting EventSource	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.554562241Z	INFO	controller-runtime.manager.controller.controller.mysqlNode	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.554786339Z	INFO	controller-runtime.manager.controller.controller.orchestrator	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.654175743Z	INFO	controller-runtime.manager.controller.mysqlbackup-controller	Starting Controller
2021-04-07T14:52:54.65433261Z	INFO	controller-runtime.manager.controller.mysql-database	Starting Controller
2021-04-07T14:52:54.654463104Z	INFO	controller-runtime.manager.controller.mysqlbackupcron-controller	Starting Controller
2021-04-07T14:52:54.654492149Z	INFO	controller-runtime.manager.controller.mysqlbackupcron-controller	Starting workers	{"worker count": 1}
2021-04-07T14:52:54.654561787Z	INFO	controller-runtime.manager.controller.mysql-user	Starting Controller
2021-04-07T14:52:54.654585036Z	INFO	controller-runtime.manager.controller.mysql-user	Starting workers	{"worker count": 1}
2021-04-07T14:52:54.654638173Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.654938043Z	INFO	controller-runtime.manager.controller.controller.orchestrator	Starting EventSource  	{"source": "channel source: 0xc00022c2d0"}
2021-04-07T14:52:54.655058696Z	INFO	controller-runtime.manager.controller.controller.orchestrator	Starting Controller
2021-04-07T14:52:54.655927767Z	INFO	controller-runtime.manager.controller.controller.mysqlNode	Starting Controller
2021-04-07T14:52:54.656018901Z	DEBUG	controller.orchestrator	register cluster in clusters list	{"obj": {"kind":"MysqlCluster","apiVersion":"mysql.presslabs.org/v1alpha1","metadata":{"name":"kl-my","namespace":"default","uid":"5a09c95d-a977-4a4b-94e3-a97209938043","resourceVersion":"74547","generation":1,"creationTimestamp":"2021-04-07T14:38:02Z","annotations":{"mysql.presslabs.org/version":"300"},"ownerReferences":[{"apiVersion":"kuberlogic.com/v1","kind":"KuberLogicService","name":"kl-my","uid":"9db08315-5aed-4f29-8c18-aa3e95ceb053","controller":true,"blockOwnerDeletion":true}],"finalizers":["mysql.presslabs.org/registered-in-orchestrator"],"managedFields":[{"manager":"operator","operation":"Update","apiVersion":"mysql.presslabs.org/v1alpha1","time":"2021-04-07T14:38:02Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:ownerReferences":{}},"f:spec":{".":{},"f:image":{},"f:podSpec":{".":{},"f:annotations":{".":{},"f:monitoring.cloudlinux.com/port":{},"f:monitoring.cloudlinux.com/scrape":{}},"f:containers":{},"f:imagePullSecrets":{},"f:initContainers":{},"f:metricsExporterResources":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:mysqlOperatorSidecarResources":{".":{},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:resources":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:replicas":{},"f:secretName":{},"f:volumeSpec":{".":{},"f:persistentVolumeClaim":{".":{},"f:resources":{".":{},"f:requests":{".":{},"f:storage":{}}}}}}}},{"manager":"mysql-operator","operation":"Update","apiVersion":"mysql.presslabs.org/v1alpha1","time":"2021-04-07T14:38:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:mysql.presslabs.org/version":{}},"f:finalizers":{}},"f:spec":{"f:minAvailable":{},"f:podSpec":{"f:mysqlOperatorSidecarResources":{"f:limits":{".":{},"f:cpu":{},"f:memory":{}}}},"f:volumeSpec":{"f:persistentVolumeClaim":{"f:accessModes":{}}}},"f:status":{".":{},"f:conditions":{}}}}]},"spec":{"replicas":2,"secretName":"kl-my-cred","image":"quay.io/kuberlogic/mysql:5.7.26","podSpec":{"imagePullSecrets":[{"name":"kuberlogic-registry"}],"annotations":{"monitoring.cloudlinux.com/port":"9999","monitoring.cloudlinux.com/scrape":"true"},"resources":{"limits":{"cpu":"100m","memory":"512Mi"},"requests":{"cpu":"10m","memory":"256Mi"}},"initContainers":[{"name":"myisam-repair","image":"quay.io/kuberlogic/mysql:5.7.26","command":["/bin/sh","-c","for f in $(ls /var/lib/mysql/mysql/*MYI); do myisamchk -r --update-state $(echo $f | tr -d .MYI); done"],"resources":{},"volumeMounts":[{"name":"data","mountPath":"/var/lib/mysql"}]}],"containers":[{"name":"kuberlogic-exporter","image":"quay.io/kuberlogic/mysql-exporter-deprecated:v2","ports":[{"name":"metrics","containerPort":9999,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"data","mountPath":"/var/lib/mysql"}]}],"metricsExporterResources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"10m","memory":"32Mi"}},"mysqlOperatorSidecarResources":{"requests":{"cpu":"10m","memory":"64Mi"}}},"volumeSpec":{"persistentVolumeClaim":{"resources":{"requests":{"storage":"1Gi"}}}}},"status":{"conditions":[{"type":"ReadOnly","status":"True","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"ClusterReadOnlyTrue","message":"read-only nodes: "},{"type":"Ready","status":"False","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"StatefulSetNotReady","message":"StatefulSet is not ready"},{"type":"PendingFailoverAck","status":"False","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"NoPendingFailoverAckExists","message":"no pending ack"}]}}}
2021-04-07T14:52:54.65837839Z	INFO	controller-runtime.manager.controller.mysql-database	Starting workers	{"worker count": 1}
2021-04-07T14:52:54.755666407Z	INFO	controller-runtime.manager.controller.mysqlbackup-controller	Starting workers      	{"worker count": 1}
2021-04-07T14:52:54.755720705Z	INFO	controller-runtime.manager.controller.controller.orchestrator	Starting workers      	{"worker count": 10}
2021-04-07T14:52:54.757668027Z	INFO	controller-runtime.manager.controller.controller.mysqlNode	Starting workers      	{"worker count": 1}
2021-04-07T14:52:54.757705105Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.858307211Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:54.959827321Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:55.060318519Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting EventSource  	{"source": "kind source: /, Kind="}
2021-04-07T14:52:55.161471864Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting Controller
2021-04-07T14:52:55.161604803Z	INFO	controller-runtime.manager.controller.controller.mysqlcluster	Starting workers      	{"worker count": 1}
2021-04-07T14:52:55.161879663Z	DEBUG	controller.mysqlcluster	reconcile cluster	{"key": "default/kl-my"}
2021-04-07T14:52:55.163217074Z	DEBUG	unchanged	{"syncer": "ConfigMap", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "/v1, Kind=ConfigMap", "diff": []}
2021-04-07T14:52:55.163743132Z	DEBUG	unchanged	{"syncer": "OperatedSecret", "key": {"namespace": "default", "name": "kl-my-mysql-operated"}, "kind": "/v1, Kind=Secret", "diff": []}
2021-04-07T14:52:55.164085532Z	DEBUG	unchanged	{"syncer": "Secret", "key": {"namespace": "default", "name": "kl-my-cred"}, "kind": "/v1, Kind=Secret", "diff": []}
2021-04-07T14:52:55.16461333Z	DEBUG	unchanged	{"syncer": "HeadlessSVC", "key": {"namespace": "default", "name": "mysql"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.166243362Z	DEBUG	unchanged	{"syncer": "MasterSVC", "key": {"namespace": "default", "name": "kl-my-mysql-master"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.1668702Z	DEBUG	unchanged	{"syncer": "HealthySVC", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.167596425Z	DEBUG	unchanged	{"syncer": "HealthyReplicasSVC", "key": {"namespace": "default", "name": "kl-my-mysql-replicas"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.208066905Z	DEBUG	updated	{"syncer": "StatefulSet", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "apps/v1, Kind=StatefulSet", "diff": []}
2021-04-07T14:52:55.20854835Z	DEBUG	unchanged	{"syncer": "PDB", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "policy/v1beta1, Kind=PodDisruptionBudget", "diff": []}
2021-04-07T14:52:55.2085749Z	DEBUG	controller.mysqlcluster	cluster status	{"key": "default/kl-my", "status": {"conditions":[{"type":"ReadOnly","status":"True","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"ClusterReadOnlyTrue","message":"read-only nodes: "},{"type":"Ready","status":"False","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"StatefulSetNotReady","message":"StatefulSet is not ready"},{"type":"PendingFailoverAck","status":"False","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"NoPendingFailoverAckExists","message":"no pending ack"}]}}
2021-04-07T14:52:55.208888335Z	DEBUG	controller-runtime.manager.events	Normal	{"object": {"kind":"MysqlCluster","namespace":"default","name":"kl-my","uid":"5a09c95d-a977-4a4b-94e3-a97209938043","apiVersion":"mysql.presslabs.org/v1alpha1","resourceVersion":"74547"}, "reason": "StatefulSetSyncSuccessfull", "message": "apps/v1, Kind=StatefulSet default/kl-my-mysql updated successfully"}
2021-04-07T14:52:55.310250803Z	DEBUG	controller.mysqlcluster	reconcile cluster	{"key": "default/kl-my"}
2021-04-07T14:52:55.311133499Z	DEBUG	unchanged	{"syncer": "ConfigMap", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "/v1, Kind=ConfigMap", "diff": []}
2021-04-07T14:52:55.311607029Z	DEBUG	unchanged	{"syncer": "OperatedSecret", "key": {"namespace": "default", "name": "kl-my-mysql-operated"}, "kind": "/v1, Kind=Secret", "diff": []}
2021-04-07T14:52:55.311900251Z	DEBUG	unchanged	{"syncer": "Secret", "key": {"namespace": "default", "name": "kl-my-cred"}, "kind": "/v1, Kind=Secret", "diff": []}
2021-04-07T14:52:55.312375685Z	DEBUG	unchanged	{"syncer": "HeadlessSVC", "key": {"namespace": "default", "name": "mysql"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.313117698Z	DEBUG	unchanged	{"syncer": "MasterSVC", "key": {"namespace": "default", "name": "kl-my-mysql-master"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.313745106Z	DEBUG	unchanged	{"syncer": "HealthySVC", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.314438017Z	DEBUG	unchanged	{"syncer": "HealthyReplicasSVC", "key": {"namespace": "default", "name": "kl-my-mysql-replicas"}, "kind": "/v1, Kind=Service", "diff": []}
2021-04-07T14:52:55.34431649Z	DEBUG	updated	{"syncer": "StatefulSet", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "apps/v1, Kind=StatefulSet", "diff": []}
2021-04-07T14:52:55.344757091Z	DEBUG	unchanged	{"syncer": "PDB", "key": {"namespace": "default", "name": "kl-my-mysql"}, "kind": "policy/v1beta1, Kind=PodDisruptionBudget", "diff": []}
2021-04-07T14:52:55.344790801Z	DEBUG	controller.mysqlcluster	cluster status	{"key": "default/kl-my", "status": {"conditions":[{"type":"ReadOnly","status":"True","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"ClusterReadOnlyTrue","message":"read-only nodes: "},{"type":"Ready","status":"False","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"StatefulSetNotReady","message":"StatefulSet is not ready"},{"type":"PendingFailoverAck","status":"False","lastTransitionTime":"2021-04-07T14:38:06Z","reason":"NoPendingFailoverAckExists","message":"no pending ack"}]}}
2021-04-07T14:52:55.345053401Z	DEBUG	controller-runtime.manager.events	Normal	{"object": {"kind":"MysqlCluster","namespace":"default","name":"kl-my","uid":"5a09c95d-a977-4a4b-94e3-a97209938043","apiVersion":"mysql.presslabs.org/v1alpha1","resourceVersion":"74547"}, "reason": "StatefulSetSyncSuccessfull", "message": "apps/v1, Kind=StatefulSet default/kl-my-mysql updated successfully"}
2021-04-07T14:52:59.553012175Z	DEBUG	controller.orchestrator	Schedule new cluster for reconciliation	{"key": "default/kl-my"}
2021-04-07T14:52:59.553225885Z	DEBUG	controller.orchestrator	reconciling cluster	{"key": "default/kl-my"}
2021-04-07T14:52:59.554547195Z	DEBUG	unchanged	{"syncer": "OrchestratorFinalizerSyncer", "key": {"namespace": "default", "name": "kl-my"}, "kind": "mysql.presslabs.org/v1alpha1, Kind=MysqlCluster", "diff": []}
2021-04-07T14:52:59.56895656Z	WARNING	orchestrator-reconciler	cluster not found in Orchestrator	{"key": "default/kl-my", "error": "not found"}
github.com/go-logr/zapr.(*zapLogger).Info
	/go/pkg/mod/github.com/go-logr/zapr@v0.4.0/zapr.go:126
github.com/presslabs/mysql-operator/pkg/controller/orchestrator.(*orcUpdater).getFromOrchestrator
	/go/src/github.com/presslabs/mysql-operator/pkg/controller/orchestrator/orchestrator_reconcile.go:133
github.com/presslabs/mysql-operator/pkg/controller/orchestrator.(*orcUpdater).Sync
	/go/src/github.com/presslabs/mysql-operator/pkg/controller/orchestrator/orchestrator_reconcile.go:83
github.com/presslabs/controller-util/syncer.Sync
	/go/pkg/mod/github.com/presslabs/controller-util@v0.3.0-alpha.2/syncer/syncer.go:82
github.com/presslabs/mysql-operator/pkg/controller/orchestrator.(*ReconcileMysqlCluster).Reconcile
	/go/src/github.com/presslabs/mysql-operator/pkg/controller/orchestrator/orchestrator_controller.go:216
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:298
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:253
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:216
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:185
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:155
k8s.io/apimachinery/pkg/util/wait.BackoffUntil
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:156
k8s.io/apimachinery/pkg/util/wait.JitterUntil
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:133
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:185
k8s.io/apimachinery/pkg/util/wait.UntilWithContext
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:99```

Same problem

Facing same issue.
Operator version: 0.5.0-rc.2

Yes and logs in orchestrator show - Unable to determine cluster name
This is for a brand new cluster

deployed the cluster in a different namespace and also tried in same namespace as operator, same result.
Also tried changing the name of the cluster but has same issues as above.

I have a similar issue: the cluster starts, but after some time the mysql becomes non-ready and I get the above log message in the operator logs.

I have this problem too

Same problem

Hello. In my case:

I used Kubespray
Hoster shut down several servers

Got there one ETCD, one Worker

I tried adding new
Something went wrong
I DIDN'T NOTICE IT
The cluster crumbled
In a panic, I barely fix it
I DID SOMETHING WRONG

EVERYTHING WORKED, BUT there were errors in MySQL clusters only.
Obviously, I figured the problem was mysql-operator - no changes helped at all. Everything worked, but MySQL clusters gradually stopped working. Horror...
RUN Kubespray upgrade-cluster.yml
An error occurred - not deleted pod with MySQL cluster. The same error was at the very beginning when I tried to fix the cluster K8S. I ignored her then. This happened at the stage "Drain node"

fatal: [node1]: FAILED! => {"attempts": 3, "changed": true, "cmd": ["/usr/local/bin/kubectl", "--kubeconfig", "/etc/kubernetes/admin.conf", "drain", "--force", "--ignore-daemonsets", "--grace-period", "300", "--timeout", "360s", "--delete-emptydir-data", "node1"], "delta": "0:06:01.760844", "end": "2022-10-05 02:44:14.018346", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2022-10-05 02:38:12.257502", "stderr": "WARNING: ignoring DaemonSet-managed Pods: default/netchecker-agent-hostnet-xvkjz, default/netchecker-agent-w282k, *** \nerror when evicting pods/"***-mysql-0" -n "***" (will retry after 5s): Cannot evict pod as it would violate the pod's disruption budget.\nerror when evicting pods/"***-mysql-0" -n "***"

Kubespray unable to upgrade the cluster completely - in my case that was the reason.
Solution (in my case)

RUN Kubespray upgrade-cluster.yml
Follow the process to the stage "Drain node" each node
The process will hang at this stage and wait for a long time
Delete all MySQL pods from this node
The process will move forward
The K8S cluster will be updated without errors and everything will work

hello
same problem here. 77 clusters deployed without problem but one of them does not want to deploy the second node because "cluster not found in Orchestrator". No other error at all

Last operator version
k8s v1.24.2
name of the cluster is just db and namespace is shorter than all others.

hello, I found that some data are still in the sqlite db after days of cluster deletion. in database_instance_last_analysis , database_instance_tls, kv_store, hostname_ips.

Is this could prevent the cluster to be reinstalled and trigger the message "cluster not found in Orchestrator" ?
Is it safe to clean those ?
any cleaning process can be achived ?

thx for your help, I'm really stuck here :(


ClientInputError for conn.bulk.query

I'm getting the following error when trying to use a conn.bulk.query. In other places, I can use the bulk api, and it won't give me this error. But in this particular case, if I remove the 'bulk', and just use conn.query, it will not give me this error. I am not creating anything to upsert, I am only querying in this case. I haven't been able to find out why SalesForce gives me this error.
Error:  { [ClientInputError: Unable to find any data to create batch] name: 'ClientInputError', errorCode: 'ClientInputError' }

I am seeing this error too any idea what caused it ?

Error [ClientInputError]: Unable to find any data to create a batch
I think these are the possible sol:
Check on the network side if there is any problem.
Check on the Salesforce trust site if there is any performance problem in SF instance.
Check the API limits on the salesforce.
Can any one confirm these! points


Add a parameter named transformBody to parse the request body in a user-defined way

Add a parameter named transformBody to parse the request body in a user-defined way. For example,
//opts
const opts = {
    transformBody: function(str) {
        const JsonBigInt = require("json-bigint");
        return JsonBigInt.parse(str);
    }
}

Codecov Report

Merging #76 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #76   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines           91       102   +11
=========================================
+ Hits            91       102   +11

Impacted Files
Coverage Δ

lib/form.js
100.00% <100.00%> (ø)

lib/json.js
100.00% <100.00%> (ø)

lib/text.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

we should separate the transform function for three types

I don't think add this options is required. If you have something that is not compatible with the standard， you should use https://github.com/stream-utils/raw-body to handle it by yourself.
Another solution is use text type and parse by yourself later.

I think that as long as node provides services to the outside, this problem can not be avoided, because there is no guarantee of what language the client is java，python or whatever. And just like parse form body can use different querystring module in a user-defined, this paramater do the same job for other body type. Axios has interceptors with similar capabilities. From this point of view, this function is required.
Thanks for review my code.
@dead-horse

Whatever language the client use, they should follow the spec (like https://www.json.org/json-en.html, https://url.spec.whatwg.org/#urlencoded-serializing), and co-body only support the standard version of JSON / X-www-form-urlencoded format.

Certainly the phenomenon you describe exists, but there are so few scenarios that I don't want to have to provide new features for the sake of such scenarios, which is not conducive to keeping the code cohesive and streamlined!

ok，I understand.And thanks again. @dead-horse


adds CascadeCreateUpdate

I don't think I'm missing anything - adding the type seems to enforce on create/update and does nothing on delete.

It works, but it would better to not add the fkDeleteConstraint at all if given that type. That way we don't scan on delete.


lint: fix gofmt

Fix gofmt warnings from the lint checker step for it.
Remove continue-on-error: true from lint gofmt step.

@boz it would make sense to use goimports as it does all gofmt plus pretties the go imports

@troian this is using golangci-lint which aggregates a lot of linters.  I split out tasks for many of them that are warning now.  goimports may be being used already but is not a problem yet.


Add ReleaseVersionSemVer to ensure version can be sorted

Add a SemVer string to extracted changelog entries do that we can later sort by SemVer versions.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

I think why I didn't see this behavior against Key Vault's changelogs for .NET is because I didn't have multiple versions on the same date, so the primary sort worked correctly (I did have to add a few dates to older entries, which EngSys said was fine to make sure people follow current guidelines anyway and add dates where needed).
As such, sorry I hadn't considered this, but I recommend adding a test case for this in QuickTests to make sure that, if and when we have multiple releases on the same date, that secondary sort order actually functions as expected.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Remove rav1repl command line encoding.

Part of #938.

Looks fine to me.

Coverage increased (+0.8%) to 80.274% when pulling 0df3f39af881284f8357b08068c5031e688e1807 on negge:repl into 0c801f7c8e82ce2724b5c7ad6c803a4838936426 on xiph:master.

Why is there code moved from common.rs to rav1e.rs? Is common.rs even needed if there is only the rav1e binary?

common.rs could go away or we could actually spin it to muxer.rs assuming we'll have time to add the mkv input and output this week.


Debian package chmod 777

Do I really need chmod 777 for all files in this directory /usr/local/kong ? After upgrade every file there is writeable .conf .sh etc.
It's done by debian package postinstall.
#!/bin/sh
mkdir -p /etc/kong
mv /usr/local/lib/luarocks/rocks/kong/0.10.1-0/kong.conf.default /etc/kong/kong.conf.default
chmod -R 777 /usr/local/kong/

@thefosk ^

@p0pr0ck5 the fix for this is creating a  user with the appropriate permissions to the default prefix /usr/local/kong and making it easy to configure in Kong (we will probably need some user and group configuration options for nginx).
Since we don't know in advance what user will be running Kong, and what permissions such user has on /usr/local/kong, right now we just take the quick n'dirty path to 777'ing the default Kong prefix.

(we will probably need some user and group configuration options for nginx).

We have those since #2180
With Nginx packaging this will effectively be a user responsibility via make install.

Debian packages no longer chmod 777, starting w/ 0.11.0 release :)


build(package): upgrade devDependencies

What is the motivation for this pull request?
build(package): upgrade devDependencies
 @commitlint/cli                    ^12.0.1  →   ^12.1.1
 @commitlint/config-conventional    ^12.0.1  →   ^12.1.1
 @rollup/plugin-typescript           ^8.1.0  →    ^8.2.1
 @size-limit/preset-small-lib        ^4.9.1  →   ^4.10.2
 @types/jest                       ^26.0.19  →  ^26.0.22
 @typescript-eslint/eslint-plugin   ^4.10.0  →   ^4.22.0
 @typescript-eslint/parser          ^4.10.0  →   ^4.22.0
 eslint                             ^7.16.0  →   ^7.24.0
 eslint-plugin-prettier              ^3.3.0  →    ^3.4.0
 lint-staged                        ^10.5.3  →   ^10.5.4
 rollup                             ^2.35.1  →   ^2.45.2
 size-limit                          ^4.9.1  →   ^4.10.2
 standard-version                    ^9.0.0  →    ^9.2.0
 ts-jest                            ^26.4.4  →   ^26.5.5
 typescript                          ^4.1.3  →    ^4.2.4

Coverage remained the same at 91.25% when pulling 6e6ac1a37b4b0e72ecfb5f3280d3741b8aacc7da on build/package into 8405feb3707793eb1341f4d7d6e1426f0a415a85 on master.


DWWC recursive and chain-ordering

References #53
Add two new functions for computing DWWC. The notebook shows that both chain ordering and recursion with caching are a good bit faster than our standard implementation. Note that in the notebook, I performed the computations having dwwc_recursive cache using the cacher metric dwpc. This was to make sure that dwwc was not simply calling the cached result of the recursive function, but to include the actual times we would expect when using caching.
Over the Rephetio metapaths, the two new methods took this many seconds (old method for comparison) in sparse format.

DWWC method
Time for all Rephetio (s)

original
219.110172

recursive
93.744713

chain
70.896228

I just added another chain multiplication function, this time which does not keep all the arrays in memory at the same time, as was mentioned in #53. The two functions appear to have fairly similar performance, with the dwwc_chain_nomem function a tiny bit faster. We can choose however we prefer to do this.

You are absolutely right, I had forgotten to configure the cache! I will rerun that and compare.
Quick note of interest: what appears to be the fastest dwwc method, dwwc_chain_nomem, computed DWWC for all metapaths length <= 4 in almost exactly 11 hours. Will rerun this evening using the recursive function with a properly set up cache.

So looking through the runtimes, dwwc_recursive is slower than dwwc on about 20% of metapaths. Over the Rephetio paths, though, dwwc_recursive is clearly much faster, taking 90 rather than 225 seconds to compute all DWWCs. I think the reason dwwc_recursive is faster on some metapaths is that, if not using a cache, it keeps more matrices in memory at once. So while the peak memory usage is pretty close for computations using dwwc and dwwc_recursive, the peak memory usage is slightly higher ultimately for dwwc_recursive.
In computing other metapath DWWCs, dwwc_recursive is slower. Here are the top four metapaths with the biggest time difference in favor of dwwc, ie. those in which it was most an improvement over dwwc_recursive. Nothing really stands out to me with these metapaths. @dhimmel perhaps you can notice something with these that would explain the difference in computation times. I suppose there could also be some element of randomness here, as these times are all quite small.

It appears not to make a big difference which DWWC method is used for DWPC computation. In the notebook I just added, which-dwpc.ipynb, the time required to compute all Rephetio paths was roughly equivalent between all three methods, with dwwc_chain being slightly faster than the other two.

It would be nice to see if we can figure out why recursive-nocache is so much faster than dwwc-nocache (which is equivalent here to dwwc since dwwc is not recursive and has no submetapath caching). Using a profiler like line_profiler could help.

Just pushed one more commit. Will rerun notebooks (may take a while) and then this PR should be done.

Closed #53


[Feature Request] Allow chef-provisioning to force a recipe to run, even if it doesn't think it needs to be run

[Feature Request] Allow chef-provisioning to force a recipe to run, even if it doesn't think it needs to be run. It would be nice if you could define an action in the machine/machine_batch to tell chef-provisioning to run the recipe on the nodes.

... And I just discovered the action :converge_only command. What I get for actually reading the code!

@bbbco there is also converge true, which you can put on any machine resource to tell it to run the run list no matter what (even if it doesn't think it's changed).


[Code health] Replace Optional with Kotlin nullable (?)

Fixes https://github.com/google/ground-android/issues/1735

Replace usages of Optional<*> with kotlin nullable wherever possible. This doesn't remove all occurences of it since RxJava code still relies on it (null value throws an error).

@JSunde @gino-m  PTAL?

/gcbrun

/gcbrun

@gino-m This is now ready for a review. I have made minor adjustments where Optional could be replaced with a non-nullable value. Please review commit-by-commit for better context.

/gcbrun


make ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40] optional in hostapd.conf

Hi there,
please make ht_capab [DSSS_CCK-40] optional, some older cards don't support it
thank you

Hi there,
please make ht_capab [DSSS_CCK-40] optional, some older cards don't support it
thank you

The default ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40] can be overwritten using the hostapd_config_override option.
This option with ht_capab=[HT40][SHORT-GI-20] would append this to the hostapd config file, and so it would ignore the previous ht_capab entry.

Tried it, overwrite doesn't work

Tried it, overwrite doesn't work

Ok, thanks. Could you share your config please?

ssid: xxx
wpa_passphrase: xxx.
channel: 5
address: <IP_ADDRESS>
netmask: <IP_ADDRESS>
broadcast: <IP_ADDRESS>
interface: wlp1s0u1u3
hide_ssid: false
dhcp: 1
dhcp_start_addr: <IP_ADDRESS>
dhcp_end_addr: <IP_ADDRESS>
allow_mac_addresses:

E8:88:cxxxe:1d
deny_mac_addresses: []
debug: 0
hostapd_config_override: []
client_internet_access: false
client_dns_override: []
dnsmasq_config_override: []

i tried
hostapd_config_override:

t_capab=[HT40][SHORT-GI-20]

but without success
i ended up cloning your addon localy without ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40] in hostapd.config

Hi.
I have same issue on Orange Pi Zero 3.
Adding next changes does not help. The only way to fix it for me was to fork this repo and change that configuration line manually.
hostapd_config_override:
  - t_capab=[HT40][SHORT-GI-20]


Task 96-120 : Dataset 3 - Phase 2

Hi @PruthaGaherwar No variations have been made of the different tasks, can you do that update the PR?

@Ravsehajsinghpuri Could you please elaborate on what exactly do you need me to do?

Did you generate different variations of the tasks? I can see only 25 tasks which are the original tasks i suppose.

I generated one variation per task and these tasks here are the variation_1 of the original tasks

@PruthaGaherwar 1) Can you add the original tasks in this PR. 2) Can you rename the task variants as taskxxx.1_yyyy, taskxxx.2_yyyy, taskxxx.3_yyyy and so on. For e.g. task547.1_spl_translation_entk_en.json, task547.2_spl_translation_entk_en.json, task547.3_spl_translation_entk_en.json and so on. Do this for all the tasks in this PR 3) Can you resolve the conflicts 4) Can you add 5-6 variants of each task?

@swarooprm As far as I recall, you had asked to create at least one to three variants of each task, right? I had created one variant which was supposed to be an acceptable submission. Could you please review this new change mentioned above and let me know on the further steps to be taken. Thanks

@swarooprm As far as I recall, you had asked to create at least one to three variants of each task, right? I had created one variant which was supposed to be an acceptable submission. Could you please review this new change mentioned above and let me know on the further steps to be taken. Thanks

The files which you have added are the variants? Or the original tasks? If they are the variants, then rename in the format I have specified and add the original tasks along with it

@swarooprm As far as I recall, you had asked to create at least one to three variants of each task, right? I had created one variant which was supposed to be an acceptable submission. Could you please review this new change mentioned above and let me know on the further steps to be taken. Thanks

The files which you have added are the variants? Or the original tasks? If they are the variants, then rename in the format I have specified and add the original tasks along with it

friendly reminder on this -  try to make the changes by today or latest by tomorrow, thanks!

Hi @Ravsehajsinghpuri I have made the changes to the task files. can you please check the change made to the test_all.py file and let me know if that is what you wanted? if not I will change it again. Thanks.

Hi @Ravsehajsinghpuri I have made the changes to the task files. can you please check the change made to the test_all.py file and let me know if that is what you wanted? if not I will change it again. Thanks.

Have you added only 1 variant per task?

yes


BROKEN: critical: CheckNVDByPackage.update: HTTP Error 404: Not Found

API for toolswatch/vfeed has changed, need to update dependency or port to cvs-check database.
falco is broken

fixed in 0.6.5, pushed in
18a107b..262bb68

basic fix supplied


Surface.transaction is not a function

I'm seeing this error
SwitchTextTypeCommand.js:94 Uncaught TypeError: surface.transaction is not a function(…)

when trying to change text type on the text. I'm using latest version of the substance from the develop branch.
Not sure if you saw such an error previously. I mostly work from the minimal editor example but with the latest substance code.

I fixed that one https://github.com/substance/substance/commit/5ea129441939cf8ece454771819d50f8c7f4d484.
However, we are currently rewriting the editing behaviours, so don't consider develop stable atm. Better go with beta5 and then upgrade once we are ready.

Worked for me. Yes, I'm aware that develop is not stable. I'm just experiment and would like to try List feature


Safari polyfill bug causing lozad to load images outside the viewport

Ran into a fun bug affecting Safari 11.1.1 and Safari on my iOS 11.4.1 phone. Lozad would load all images on page load, even images that are not in the viewport. I demonstrated this by logging the links that lozad was loading.
The root cause is described in https://github.com/w3c/IntersectionObserver/issues/257 . It's because the root box that the polyfill creates is too big. The fix is to either set the html div's height to 100% or to set doctype  .
I spent like five hours chasing down this bug. You should maybe add it to the FAQ.

@bsteephenson thanks for sharing this information, FAQs updated.


Add in place rollout strategy option

Issue #, if available:
Description of changes:
This adds the option for InPlace upgrade rollout strategy type in EKS-A spec. We will update the KCP/MD objects in a separate PR
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


Feature Request: Add footer

Contact Details
<EMAIL_ADDRESS>What is your request?
Please assign me this issue, I want to add footer to the website showing features such as copyright claim, etc.
Code of Conduct

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

Can you assign it to me?

can you add hacktoberfest tag here?

It’s useless tagging issues with hacktoberfest

they consider my PR without tag?

Yes, the repository is tagged


Memory leaking?

for(i = 1; i < n; ++i)
{
	/* Set m1 and m2 to the two subsets of least probability. */
	m1 = pSF[0];
	m2 = pSF[1];

	/* Replace m1 and m2 with a set {m1, m2} whose probability
	 * is the sum of that of m1 and m2. */
	pSF[0] = m1->parent = m2->parent =
		new_nonleaf_node(m1->count + m2->count, m1, m2);

//Fix         free(pSF[1]);
pSF[1] = NULL;//In the original file this is not freed.
	/* Put newSet into the correct count position in pSF. */
	qsort(pSF, n, sizeof(pSF[0]), SFComp);
}

No it's not leaking.
Here's the definition of new_nonleaf_node:
static huffman_node*
new_nonleaf_node(unsigned long count, huffman_node *zero, huffman_node *one)
{
	huffman_node *p = (huffman_node*)malloc(sizeof(huffman_node));
	p->isLeaf = 0;
	p->count = count;
	p->zero = zero;
	p->one = one;
	p->parent = 0;

	return p;
}

There you can see that those pointers are still attached to the tree, and are not leaked. They are freed in free_huffman_tree.

BTW, just to make sure there weren't any leaks I just ran it through valgrind and it looks fine.
huffman (master)$ valgrind --leak-check=full --show-leak-kinds=all ./huffcode -i test_data/3_line -o 3_line.comp
==20607== Memcheck, a memory error detector
==20607== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==20607== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==20607== Command: ./huffcode -i test_data/3_line -o 3_line.comp
==20607==
==20607== error calling PR_SET_PTRACER, vgdb might block
==20607==
==20607== HEAP SUMMARY:
==20607==     in use at exit: 1,104 bytes in 2 blocks
==20607==   total heap usage: 50 allocs, 48 frees, 7,066 bytes allocated
==20607==
==20607== 552 bytes in 1 blocks are still reachable in loss record 1 of 2
==20607==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==20607==    by 0x48C20FA: __fopen_internal (iofopen.c:65)
==20607==    by 0x1093E5: main (huffcode.c:91)
==20607==
==20607== 552 bytes in 1 blocks are still reachable in loss record 2 of 2
==20607==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==20607==    by 0x48C20FA: __fopen_internal (iofopen.c:65)
==20607==    by 0x109444: main (huffcode.c:104)
==20607==
==20607== LEAK SUMMARY:
==20607==    definitely lost: 0 bytes in 0 blocks
==20607==    indirectly lost: 0 bytes in 0 blocks
==20607==      possibly lost: 0 bytes in 0 blocks
==20607==    still reachable: 1,104 bytes in 2 blocks
==20607==         suppressed: 0 bytes in 0 blocks
==20607==
==20607== For counts of detected and suppressed errors, rerun with: -v
==20607== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

The still reachable blocks are the 2 FILE* that are not closed before program exit. Since they are in the main function, it isn't a problem since the underlying file descriptors will be closed by the operating system. Though if you wanted to make valgrind report no errors here, we could add a patch to close the files.

Sorry, I am stupid, I even "fix it" in the local file. I see your point, you are right. Thanks for your explanation. :D

No worries. I ended up "fixing" the FILE* issue I mentioned, just so valgrind wouldn't complain.
83f9a9221bdd64a04fcbd95a8488a224bdc63ab2


Provide a shaded jar to avoid dependencies issues

@therve  I'm opening this again as a follow up to #893  as this has been incorrectly resolved as a standalone jar without shading, so the problem remains as it does not solve compatibility issues between implementation specific libs used by datadog that  could conflict with a project one.
Is your feature request related to a problem? Please describe.
Datadog api client depends on popular third-party libraries that are fast moving and which implementation may conflict with the one of the application it needs to be integrated with. Clashes are often exacerbated by excessive transitive dependencies issues.
Describe the solution you'd like
Provide a shaded/standalone jar that is self contained with no dependencies (except for the api interfaces needed)
Examples:

glassfish jersey  is repackaging asm and guava
uber jvm profile is relocating all dependencies. https://github.com/uber-common/jvm-profiler/blob/master/pom.xml
aws sdk is relocating dependencies. https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-bundle/pom.xml
See reasoning https://aws.amazon.com/blogs/developer/java-sdk-bundle/

Describe alternatives you've considered

Add a lengthy list of exclusions to the datadog-api-client and hope for the best that the glassfish client and jackson code in use will be compatible with the one used in the application

Fork the datadog-api-client code and maintain it to be compatible

None of those solution are adequate for increased adoption of the datadog-api-client library across a wide range of applications and benefit from any improvement of the project in a safe way.

Thanks for your report, sorry I misunderstood the original request. We'll look into it.

Thank you @therve !

Any possibility to get this prioritized? We are staying away from this client for now because of the dependencies.

We started looking into it at #1243 , should be in the next releese.

Released 1.6.0 with the new jar, let us know if that works for you. Thanks.


Errors if the file contains anonymous template literals

Describe the bug
When a file contains template literals that are not assigned to a variable, Fabulous fails to work with the following error:
TypeError: Cannot read property 'name' of undefined
	at TaggedTemplateExpression (raathigeshan.fabulous-0.10.0\out\extension\file-handlers\js.js:16:38)

To Reproduce
In our codebase, it is failing on styled-components interpolated templates like the following but looking at the file handler it will probably fail for any tagged template that isn't assigned to a variable:
export const SearchCentering = styled.div`
  width: 100%;
  ${mediaMin.xxl`
  margin: 0 auto;
  max-width: 1200px;
  `};
`;

Expected behavior
Tagged templates that aren't defining a styled component should be ignored by Fabulous and the extension should still work.

Thanks for reporting. A partial fix is available in 0.12.0 but still Fabulous doesn't support editing nested template literal as shown in the example but at least it doesn't crash after the error.
Will keep this issue open until we handle nested literals properly.


feat(api): allow configuring argon for JWT

I would not expose all the argon stuff in the config.toml. We should either
* provide sub-command `inx-chronicle jwt`, or

* automatically generate the JWT in a dedicated output folder.

For both options, we should choose sensible defaults where possible.

I don't understand. This is fundamentally JWT configuration, so it should go there.


SDA-8538 | fix: create account-roles remove environment check

Remove environment check for managed policies in interactive mode.
Related: SDA-8538

LGTM

Closing this PR in favor of #1250


[WIP] Improve bloom storage

:x: Build AElf <IP_ADDRESS>11 failed (commit https://github.com/AElfProject/AElf/commit/da1538af9d by @jason-hoopox)

:white_check_mark: Build AElf <IP_ADDRESS>13 completed (commit https://github.com/AElfProject/AElf/commit/c03f16d1e5 by @jason-hoopox)

:white_check_mark: Build AElf <IP_ADDRESS>29 completed (commit https://github.com/AElfProject/AElf/commit/0cca4bc847 by @YueZh127)

:white_check_mark: Build AElf <IP_ADDRESS>32 completed (commit https://github.com/AElfProject/AElf/commit/e41524dfea by @shiwk)

:x: Build AElf <IP_ADDRESS>40 failed (commit https://github.com/AElfProject/AElf/commit/c98869545e by @shiwk)


showing incorrect indentation errors

 Environment data

Language Server version: 2022.2.0
OS and version: win32 x64
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: null
python.analysis.typeCheckingMode: off

 Expected behaviour
XXX
 Actual behaviour
XXX
 Logs

Python Language Server Log
XXX 'Please paste the output from your clipboard'

 Code Snippet / Additional information

XXX

So what's going on?

Closing inactive issue, please reopen if this is still an issue


Email option to also cc the dev list

Stefan Bodewig reports:
for both Commons and Ant it would have been normal to also CC the dev  list, not just the user list. Maybe this could become an option?

also

I'm trying to use the 'cveprocess' tool to send the CVE announcement
emails, per step 16 of the security process, but I have a small
problem: I need to adjust the project email address in the mails,
because<EMAIL_ADDRESS>does not exist, and I need to use
<EMAIL_ADDRESS>instead. (For historical reasons, Project DB
has used general@db rather than dev@db for decades).

This feature has been added for the version that will be deployed at the end of October, a PMC can edit the list of email addresses where it will be sent, have multiple, fix ones where the default is wrong etc)


feat(anoncreds): store method name in records

Fixes #1265
Adds a methodName property to the schema, cred def and anoncreds credential records so we can query all those by the anoncreds method it is linked to.
Currently I've used indy for indy anoncreds method (both legacy and non-legacy).
Need to incorporate this with the getCredentials options from #1386 (can be in a follow up pr or this PR after that one is merged)

Codecov Report

Merging #1387 (6dc2a62) into main (4a6b99c) will decrease coverage by 9.93%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##             main    #1387      +/-   ##
==========================================
- Coverage   84.83%   74.90%   -9.93%
==========================================
  Files         786      781       -5
  Lines       19371    19159     -212
  Branches     3151     3097      -54
==========================================
- Hits        16433    14351    -2082
- Misses       2931     4808    +1877
+ Partials        7        0       -7

Impacted Files
Coverage Δ

...ncreds/src/repository/AnonCredsCredentialRecord.ts
18.75% <0.00%> (-1.25%)
:arrow_down:

...ar-migration/src/IndySdkToAskarMigrationUpdater.ts
3.78% <ø> (-72.44%)
:arrow_down:

packages/anoncreds/src/AnonCredsApi.ts
71.16% <100.00%> (+0.72%)
:arrow_up:

.../repository/AnonCredsCredentialDefinitionRecord.ts
100.00% <100.00%> (ø)

.../anoncreds/src/repository/AnonCredsSchemaRecord.ts
100.00% <100.00%> (ø)

...src/anoncreds/services/IndySdkAnonCredsRegistry.ts
87.32% <100.00%> (+0.08%)
:arrow_up:

...indy-vdr/src/anoncreds/IndyVdrAnonCredsRegistry.ts
83.08% <100.00%> (+0.12%)
:arrow_up:

... and 81 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add field Valence

Make field choices editable in Django
Make it appear at the bottom of the list in the Semantics panel
Add to search

Done! Now both the fields displayed in the detail view and search view are linked to what's defined in the settings, adding a field like this goes superfast!


How can i know the data which i want to share is scanned by other Device?

Hi,
I start simulation and data is scanned by other device but How can i get to know that the other device has scanned?
Thanks in Advance . Please answer asap.
Thanks,
Shashi

I am having a similar question. Can we implement HCE reader in react native? All I can see is Emulating an NFC Card using React native but what about the reader app which can read emulated device?
My use case is to send a personal identifiable information data from one app to other in different mobile phones with NFC enabled. It would be great to see if any peer-to-peer data sharing using NFC example is there.

You probably need to use this library combined with react-native-nfc-manager to reach this kind of functionality

Any new method?


[Design] Design approach to track Metrics

Design approach to track various metrics for

each route/actions
performance metrics for overall
system metrics
RAM/Memory usage and CPU Usage

Time Tracking for functions
func timeTrack(start time.Time, name string) {
	elapsed := time.Since(start)
	log.Printf("%s took %s", name, elapsed)
}

// usage in function

func SomeFunction(empIDs []string) string {
	defer timeTrack(time.Now(), "someFunction")
}

Output


awesome_file works with closed file

Test case:
echo "a\nb\nc" > /tmp/test
irb
irb > File.open("/tmp/test") { |file| file.each_line { |line| puts "Got #{ line.dump }" } }
Log:
Got "a\nb\nc\n"
IOError: closed stream
from /Users/user/.rvm/gems/ruby-2.1.0-preview1/gems/awesome_print-1.2.0/lib/awesome_print/formatter.rb:199:in `directory?'
Root cause: File.directory?(f) asks closed f(ile)
It looks like it isn't necessary to do this check. If ls -d runs for file, '-d' - is ignored

+1

Running the Travis build against this PR: https://travis-ci.org/gerrywastaken/awesome_print/builds/129617661
I haven't yet looked at the change, but a test would indeed be helpful.

As a note, we should fix this, but ls isn't portable. We need to figure the right way to do that (wrt the recent ENV['HOME'] piece, portability is clearly more important than we might have considered!)


Fix WeMo incorrect mapping of device type during discovery

Description:
Fix the way that Home Assistant maps pywemo devices to Home Assistant components to correct an issue with some WeMo Motion sensors being incorrectly identified as switches.
Related issue (if applicable): fixes pavoni/pywemo#89
Example entry for configuration.yaml (if applicable):
wemo:

Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

I'm working on another set of changes now, so I can incorporate that into them. Thanks, @MartinHjelmare.


Add fee_info function

We're currently processing your upload.  This comment will be updated when the results are available.

Could be cool to update this PR after #266 is merged.


low_voltage new port and debug pytest

hmp.py is updated with the new port
python-package.yml:
> pytest  failure: Culdn't find the low_voltage module -->  solved
> test_mqtt.py: (key error: mqtt_host)  --> the 'MQTT_HOST' environment variable issue has been solved

@cbernet @ArnabPurohit , new update on low_voltage repository.


Change definition of "number_of_sections"  of populations in get (of both ezy and fst modules)

The "number_of_sections" should return a list of the total number of
sections per neuron. Currently it adds up all the sections of the population.
Here is an example:
from neurom import fst
pop = fst.load_population('./test_data/valid_set/')
fst.get('number_of_sections', pop)

Out: array([336])

The number of neurons in the population is 5:
len(pop.neurons)
Out: 5

So the correct result would be:
Out: array([42],  [42],  [84],  [84], [84])

That probably makes more sense. Whatever it does, it should be documented clearly. i.e. the behaviour here would be different for populations and single neurons. So we'd need to document what it does in either case.

Maybe it would be better to specify clearly what each of the "feature" functions should return, both for single neurons and for populations.

Yes, sorry.. I though it was common sense!
The feature of "number_of_sections" should return:

one number which is the number of all the sections of the neuron, if the input is a single neuron
a list which contains one number per neuron, which is the number of all the sections of the neuron, if the input is a population

The same goes for the "total_length" or other total measurements.

one number which is the sum of all the section lengths of the neuron, if the input is a single neuron
a list which contains one number per neuron, which is the sum of all the section lengths of the neuron, if the input is a population

Is this a little bit more clear?

@lidakanari That is fine, thanks. @eleftherioszisis I think you implemented the "feture getters", right? If so, did you have a reason to implement the current functionality, or is it OK to change it?

@eleftherioszisis Also, I am not sure if it should be a list or a np.array (please confirm so that we make all the features consistent )!

@juanchopanza Yes, indeed I implemented them. I didn't have any particular reasons for the total numbers due to not knowing what was needed. I believe that the per neuron numbers are much more useful for analysis, and in fact I needed per neuron total numbers as well for astrocytes, which I did manually. :P
All the features I implemented in the features module returned iterators that were converted into numpy arrays.

OK, thanks for the information. I can start working on this next week.

BTW, shouldn't the output be
array([42,  42,  84,  84, 84])

I can't see a reason for the inner arrays.

Yes, you are right :) That's what I got from my quick (and dirty) implementation, so your proposal is the correct one.

@lidakanari @eleftherioszisis I will take care of fst. But for that I need to know exactly what features this should apply to.

fst was taken care of in #368. Someone else can do ezy.


Nearest neighbor queries with k=1 (1NN)

Nearest neighbor queries with k=1 (1NN) in SRTree can be improved using min_max_distance (see more here), so benchmarking 1NN using query(point, k) is not fair.

According to this improved nearest neighbor algorithm, the calculation of min_max_distance:

The overhead is large especially when a large amount of high dimensional data has to be dealt with. It turns out that these two heuristics do not actually increase the pruning power, and so calculation of MINMAXIST is indeed not necessary.


Filesystem Functions Not Working

The only way to know if you're saving a file on the micro:bit is by sending it to the serial.
Nothing is transmitted! Other serial strings are seen from the code but NOTHING from filesystem.
The BETA version also produces nothing.
Has anyone got it working?
You MUST have this function operational, otherwise you can't use the micro:bit as a "data logger" which is what most schools will use the micro:bit for.

Please use support.mocrobit.org to voice this concern.
Get Outlook for iOShttps://aka.ms/o0ukef

From: harveytwyman<EMAIL_ADDRESS>Sent: Thursday, March 2, 2017 12:06:45 AM
To: Microsoft/pxt
Cc: Subscribed
Subject: [Microsoft/pxt] Filesystem Functions Not Working at All - PLEASE FIX (#1495)
The only way to know if you're saving a file on the micro:bit is by sending it to the serial.
Nothing is transmitted! Other serial strings are seen from the code but NOTHING from filesystem.
The BETA version also produces nothing.
Has anyone got it working?
You MUST have this function operational, otherwise you can't use the micro:bit as a "data logger" which is what most schools will use the micro:bit for.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F1495&data=02|01|jhalleux%40microsoft.com|7e78a54ac2304c50e35508d4614312fb|72f988bf86f141af91ab2d7cd011db47|1|0|636240388091812209&sdata=%2BtfqMBcw7uoHyOtkQ0Vk9x8flRxJ85u8RtA0q6ehxx8%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KR2RoeVV3qZgHMxr1ZBsThzZcki2ks5rhniVgaJpZM4MQq1E&data=02|01|jhalleux%40microsoft.com|7e78a54ac2304c50e35508d4614312fb|72f988bf86f141af91ab2d7cd011db47|1|0|636240388091812209&sdata=qzoFq9wxXUqeNF%2BiNJd68ezB2um4IbqgodGtY3toLVo%3D&reserved=0.

In the code below "Hi" is seen in TeraTerm on the PC but nothing from the "filesystem" functions.
input.onButtonPressed(Button.A, () => {
files.appendLine(
"output.txt",
"hello"
)
})
input.onButtonPressed(Button.B, () => {
basic.showString("H")
files.readToSerial("output.txt")
serial.writeString("Hi")
})

Fixed. Please use the new filesystem package. Not it is still in beta.

microbit.org-ticket: 1229

The Filesystem Functions work better but are not totally reliable.
The file does now get created in the micro:bit and data can be read back out. However there are random corruptions of the data being read out.
e.g. A Decrementing Number Sequence stored would output via the "File Read to Serial Function" as
211
ÿÿ-ÿ209
208
the number 210 is replaced by ÿÿ-ÿ
Sometimes you get this:
127
MICROBIT_FS_1_0@ÿ121
120
which has corrupted several data points.
The files can be read out many times BUT a Reset or Power Down will clear the data.
I seem to remember reading that the data file was kept in EEPROM and NOT destroyed by a Reset or Power Down. Can someone please confirm that this statement is true?

repro code has been requested from customer

Tried to repro in C but seems ok. See details here:
https://github.com/lancaster-university/microbit-dal/issues/286

p.s. for information, the MICROBIT_FS_1_0 is a bit of MAGIC used to identify the root file system directory. Hard to imagine how that could end up in a user data stream.

repro case from user:
The code below corrupts around every 50 numbers. However by playing with the For Loop Count, the corruption changes randomly.
Also for some reason it HAS TO HAVE a DELAY just before it starts writing to the file the first time ( As commented in the code below ).
I use TeraTerm to view the serial data.
let ay = 0
let file = ""
input.onButtonPressed(Button.A, () => {
    // NEEDS A DELAY HERE!
    //
    // EVEN CORRUPTS THE SMILEY FACE AND THEN CRASHES WITHOUT IT!
    basic.pause(1000)
    basic.showIcon(IconNames.Happy)
    for (let i = 0; i < 250; i++) {
        files.appendNumber(
            file,
            ay
        )
        ay += -1
        files.appendLine(
            file,
            ""
        )
    }
    basic.showIcon(IconNames.Yes)
})
input.onButtonPressed(Button.B, () => {
    file = "data.csv"
    files.readToSerial(file)
})
file = "data.csv"
ay = 250

We suspect customer is trying this on live and not on beta. Although to be clear, I had though that this fix had already surfaced to live myself, it wasn't overly clear from the discussion chain.
I have asked customer to re-test on beta.
Is this fix tagged to go out to live yet do we know, and when do you think it will surface, just in case someone else reports the same issue? Thanks!

We are waiting on the doctor who show before pushing a new release.
Get Outlook for iOShttps://aka.ms/o0ukef

From: DavidWhaleMEF<EMAIL_ADDRESS>Sent: Sunday, April 23, 2017 2:00:10 AM
To: Microsoft/pxt
Cc: Peli de Halleux; Comment
Subject: Re: [Microsoft/pxt] Filesystem Functions Not Working at All - PLEASE FIX (#1495)
We suspect customer is trying this on live and not on beta. Although to be clear, I had though that this fix had already surfaced to live myself, it wasn't overly clear from the discussion chain.
I have asked customer to re-test on beta.
Is this fix tagged to go out to live yet do we know, and when do you think it will surface, just in case someone else reports the same issue? Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F1495%23issuecomment-296429249&data=02|01|jhalleux%40microsoft.com|fe0b77e2836647b7522e08d48a272677|72f988bf86f141af91ab2d7cd011db47|1|0|636285348135170718&sdata=zImM1QSEc9pHzeXECQFDEmP1VJvR%2FAhZByU2TKYYo7U%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KRu45Xc99cA1dmHJCyoR2JtjGbZ6ks5ryxMagaJpZM4MQq1E&data=02|01|jhalleux%40microsoft.com|fe0b77e2836647b7522e08d48a272677|72f988bf86f141af91ab2d7cd011db47|1|0|636285348135170718&sdata=Zvdym4fximj32EvEKKK9S%2Bi5iU%2BJrbWWiHhyQhwBLQw%3D&reserved=0.

@pelikhan ah, great - thanks for looking out for us :)
I think there are 3 planned releases, weekly, from Monday 24th - one new activity each week. All content is web based this time from what I understand.

from customer:
attached is my .hex file that STILL produces the errors. As suggested I drag and dropped my .hex and "Downloaded" to recreate it.
I used the BETA compiler AND the BETA version of the FileSystem. I also tested it on the Release version of the FileSystem as well but the same.
I have noticed that the Smiley Face displayed "Flickers" during the storing process.

microbit-Send-Data-to-File-Latest.hex.zip

@abchatra can you re-open this ticket again please, it is still unresolved in the eyes of the customer. Thanks

Definitely broken still. I rebuilt in beta and ran, and this is what I get when I press B after running the press A process...

microbit-defo-beta.hex.zip

ping - do we know yet if this is a DAL issue or a PXT issue? Ta!

ping - is there any progress on diagnosing this issue yet? Is it a DAL issue, or is it a PXT issue, have we narrowed that down yet do you know? Thanks!

I beleive this is a DAL issue (with potentially feature interaction issue as well with PXT).
Has there been progress in provide a bootloader that exposes the files in the MSD interface? Both features go hand in hand.

@pelikhan Is there a ticket in lancaster microbit-dal for 'provide a bootloader that exposes the files in the MSD interface'? If not, then there is no way it can progress. If there is one that you know of, can you link it here please? @finneyj any visibility on Peli's request from your end?

David, the foundation should be driving this kind of end to end scenario. Without MSC access to the file generates on the device, the kids would not be able to read back the data.
Get Outlook for iOShttps://aka.ms/o0ukef

From: David Whale (Micro:bit Educational Foundation<EMAIL_ADDRESS>Sent: Thursday, May 18, 2017 3:27:13 PM
To: Microsoft/pxt
Cc: Peli de Halleux; Mention
Subject: Re: [Microsoft/pxt] Filesystem Functions Not Working (#1495)
@pelikhanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpelikhan&data=02|01|jhalleux%40microsoft.com|8c3436df1ede4ff3029608d49e3d09ac|72f988bf86f141af91ab2d7cd011db47|1|0|636307432366746360&sdata=Clh%2BZ0rQUOGYB9ccnajtiroMsfj%2BgqCOyQExrciJtUE%3D&reserved=0 Is there a ticket in lancaster microbit-dal for 'provide a bootloader that exposes the files in the MSD interface'? If not, then there is no way it can progress. If there is one that you know of, can you link it here please? @finneyjhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffinneyj&data=02|01|jhalleux%40microsoft.com|8c3436df1ede4ff3029608d49e3d09ac|72f988bf86f141af91ab2d7cd011db47|1|0|636307432366746360&sdata=ukCPs1ByoNyt1nAJZ8OJs%2BtmUUHOhM1CgHSzUPFcsEI%3D&reserved=0 any visibility on Peli's request from your end?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F1495%23issuecomment-302558799&data=02|01|jhalleux%40microsoft.com|8c3436df1ede4ff3029608d49e3d09ac|72f988bf86f141af91ab2d7cd011db47|1|0|636307432366756372&sdata=yPY4TKQV1%2Ftelt7Dgc0jwIWRJ9bC%2Fevp3XgDAibElQk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KR7zPBdh232gv7LevcUIRKZMKxzMks5r7MXBgaJpZM4MQq1E&data=02|01|jhalleux%40microsoft.com|8c3436df1ede4ff3029608d49e3d09ac|72f988bf86f141af91ab2d7cd011db47|1|0|636307432366756372&sdata=%2FRXiV66ua2swPBe92t2rWGOAzTtz78hoLppA19BawZU%3D&reserved=0.

Sure, agreed. @finneyj polled in same request, as it's on his shoulders to make that bit work I think! If there is not an appropriate ticket logged for the task, then I will make sure it gets logged so that it is kept on the radar.

Folks, think I've found this issue, as cited above.
As an aside, the way PXT currently uses the FS is pretty intense - every write operation is a create/append/close operation... and the sample above does this three times for each file entry (once for the value, once for a null string, once for a CRLF. e.g. the sample code above causes about a dozen write/erase cycles. Not terrible given a micro:bit is rated to about 20k cycles, but an optimal use of the APIs that experiences developers would write would cause no erase cycles at all...
I like the stateless nature of this for kids, but I wonder if there's something we could do to reduce overhead? If not, I'll  make a note to see if we can optimize the file system a bit more for this kind of pattern. The hotspot is on the directory entries - which need to record file length etc, so get churned each time you close a file.

Happy to chat about a more sustainable API.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Joe Finney<EMAIL_ADDRESS>Sent: Saturday, May 27, 2017 3:24:25 AM
To: Microsoft/pxt
Cc: Peli de Halleux; Mention
Subject: Re: [Microsoft/pxt] Filesystem Functions Not Working (#1495)
Folks, think I've found this issue, as cited above.
As an aside, the way PXT currently uses the FS is pretty intense - every write operation is a create/append/close operation... and the sample above does this three times for each file entry (once for the value, once for a null string, once for a CRLF. e.g. the sample code above causes about a dozen write/erase cycles. Not terrible given a micro:bit is rated to about 20k cycles, but an optimal use of the APIs that experiences developers would write would cause no erase cycles at all...
I like the stateless nature of this for kids, but I wonder if there's something we could do to reduce overhead? If not, I'll make a note to see if we can optimize the file system a bit more for this kind of pattern. The hotspot is on the directory entries - which need to record file length etc, so get churned each time you close a file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F1495%23issuecomment-304443373&data=02|01|jhalleux%40microsoft.com|cecdf18a4247454e149008d4a4ea8e8a|72f988bf86f141af91ab2d7cd011db47|1|0|636314774708333320&sdata=bO4jcLuoh9exJYJMJBv%2BfilXp%2FVlaqfS8aUGNvIlVVQ%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KbBn0jGAP8LE0jy6KywTokjrY8pBks5r9_nZgaJpZM4MQq1E&data=02|01|jhalleux%40microsoft.com|cecdf18a4247454e149008d4a4ea8e8a|72f988bf86f141af91ab2d7cd011db47|1|0|636314774708333320&sdata=KlO6PrqsHvYrrlXuZL3xk5cfIPJ1goiinlttcK31KnQ%3D&reserved=0.

Confirming with customer whether this patch in beta works for them: https://github.com/lancaster-university/microbit-dal/pull/293

@harveytwyman can you try pxt.microbit.org/beta with your script and see if the problem is fixed, and report back here? Thanks

The filesystem functions on "https://pxt.microbit.org/beta" NOW WORKS CORRECTLY.
I tested it on a single file with 5000 values stored - No Errors!
I tested it with 2 files open at the same time - No Errors!
It now retains all the data correctly AFTER the micro:bit's power is removed, turned on again and reset.
This filesystem bug in my opinion has now been corrected.
Please schedule the modifications for upgrade into the main version ASAP.
Thank you.
Harvey

That's great - thanks for confirming and feeding back @harveytwyman.


[BUG] Clicking chatrooms multiple times open the multiple chats and end up with non-cancellable dialog.

To Reproduce

Chat room should open for a single time.
Dialog must be cancelled when the chat room is opened.

Screenshots

@divyanshub024 Same issue happen within ChatRoom messages. (Double click or clicking multiple items open multiple bottomsheets)
But I have solved issue on my fork. Could I make the PR ?

@theLimitBreaker Sure, Create a PR.


Laravel Impossible to Create Root Directory

Laravel Version: 5.5.33
Voyager Version: 1.0
PHP Version: 7.1
Database Driver & Version: MySQL

Description:
Every picture i try to add goes to /storage/app/public instead of /storage. Everything works fine on localhost but the problem is on my live site.
The problem is something with this in 'config/filesystems.php':
'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => env('APP_URL').'/storage',
            'visibility' => 'public',
        ],

When i change the storage_path the voyager media page goes weird.
Anyone knows what to do about this?
Steps To Reproduce:
Put site online and try to add a picture with the same filesystems.php

Voyager is functioning exactly as intended. You've misunderstood what that's doing.  The path 'storage/' is referring to the path under public, not from the project directory.  public/storageis a symlink that points atstorage/app/public, and is created by artisan storage:link, which is called automatically by artisan voyager:install`
So your images are going exactly where they should be.  If they're not loading (404s) on your site, then something else is wrong.  Most likely, you're using artisan serve and don't have the port in your APP_URL (i.e. localhost:8000).


Minimap: scroll shadow missing

Small nit but the editor shadow we draw when scrolling down should  also show over the minimap:

@bpasero That is somewhat expected.
The minimap now also drops a shadow when scrollLeft is not maximum:
I would find it weird if the top shadow would drop on the minimap as well:

@bpasero Please let me know if you have a better idea of how to do this...

@alexandrudima oh I was not aware of that, I see the issue. If there was shadow on top of the minimap we had lots of shadows around the minimap...

Ok, the overall thing will be the same. One action though: the top scroll shadow still appears to drop over the scrollbar. It should stop at the minimap


Visual Studio Code RAM Limiter

Dont we all get frustrated when our computer freezes?
slow computer users like me are suffering out here, running chrome and vscode is a pain in the arse
Heres my idea:
Visual Studio Code RAM Limiter

Limits ram usage
Prevents ram using extensions when enabled
Benifits slow computer users with less ram i.e 4 GB, 2GB etc.

Installation

Ram limiter installation is optional during setup
OR it may be a extension,
OR it is installed without any option

Hope the vscode team agrees with me =)
Thank You

@kayshinonome So, After a certain amount of RAM Usage, extensions begin to stop, order can be changed in the settings. After all extensions have been shut down, and the limit is still capping, then the amount of workspaces, open files begin to limit


Request throwing TypeError caused by slice

Hey, I've been trying to utilise low-http-server with 0http and I keep getting the same issues
The runetime is a node:16-alpine docker container utilising libc6-compat for uWebSocket.js
The error thrown by request.js L36 stating that a TypeError is caused as this.slice being undefined
I'm unsure of what is causing this and have temporarily removed it from my project and the issue has resolved itself
Thanks for any insight you can provide <3

i have already solved it by instead of
return this.slice(0, size)
using
return this


Fix Namespace selector & ensure correct webhook version

The name space selectors must be in a specific format https://github.com/kubernetes/kubernetes/issues/92157#issuecomment-825160958. This was causing the webhook to not run validation.
Once those are turned on there is a bug in the upgrade e2e test that leave a webhook around becuase the version of the webhook label is not upgraded and there for not removed by our tooling.
This was found during #5182
Signed-off-by: James Sturtevant<EMAIL_ADDRESS>
Description:

Testing done:

Affected area:

Functional Area

New Functionality
[ ]

CI System
[x]

CLI Tool
[x]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[x]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?
no

Is this a breaking change?
no

Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)?
no

hmm go test failure looks unrelated.

Codecov Report

Merging #5191 (83bac1f) into main (c048937) will decrease coverage by 0.31%.
The diff coverage is 67.91%.

@@            Coverage Diff             @@
##             main    #5191      +/-   ##
==========================================
- Coverage   67.47%   67.15%   -0.32%
==========================================
  Files         198      198
  Lines       16155    16341     +186
==========================================
+ Hits        10900    10974      +74
- Misses       5202     5314     +112
  Partials       53       53

Flag
Coverage Δ

unittests
67.15% <67.91%> (-0.32%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/catalog/mock_catalog_generated.go
0.00% <0.00%> (ø)

pkg/envoy/generator/lds/builder.go
52.68% <0.00%> (ø)

pkg/trafficpolicy/egress_types.go
0.00% <ø> (ø)

pkg/catalog/ingress.go
80.30% <61.22%> (-6.26%)
:arrow_down:

pkg/catalog/egress.go
86.00% <87.35%> (-0.13%)
:arrow_down:

pkg/catalog/outbound_traffic_policies.go
92.50% <91.66%> (+0.19%)
:arrow_up:

pkg/catalog/inbound_traffic_policies.go
93.43% <100.00%> (+0.31%)
:arrow_up:

pkg/envoy/bootstrap/config.go
69.52% <100.00%> (+0.69%)
:arrow_up:

pkg/envoy/generator/cds.go
91.42% <100.00%> (-0.68%)
:arrow_down:

pkg/envoy/generator/cds/builder.go
76.58% <100.00%> (+0.23%)
:arrow_up:

... and 17 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

We should probably add this createOrUpdateMutatingWebhook as well

createOrUpdateMutatingWebhook

you are right, I meant to do this....


feat: added  optional opentelemetry tracer logging

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #448 🦕

@googlebot I signed it!

@davearata-snorack can you edit your PR title per conventional commit semantics? The reason that's important is that this repo does auto release based on the types of changes committed for release.

@davearata-snorack can you resolve conflicts in package.json?
Drafting this PR in the meantime

FYI, traceparent detection was implemented upstream in nodejs-logging here. Closing this PR as it's not needed for now - but feel free to reopen as the upstream impl was low level and we can always add additional otel support within this library.


Fix specs and switch git backend

Specs were really broken against recent versions of circleci gem.
Because circleci no longer uses RestClient, response.errors is no longer a thing.
Switch to Ruby git. Ruby git is just a wrapper for the git cli and probably makes more sense for this project.

Sorry for the delay @rzane, and thanks again for the wonderful contributions you make to this project.
I'll get this tested and merged this weekend at the latest.

@rzane Just a couple quick things

I was just wondering why --watch as opposed to watch on this method?
circle build still runs invoke :watch and gives a deprecation warning after the build is triggered.
If there is a valid reason for moving to --watch where the other commands do not have dashes, perhaps we should soft deprecate by having watch invoke --watch with the existing deprecation warning.

@codeurge  good points.

circle watch feels inconsistent because circle overview accepts a --watch argument. Also, it means there's an additional command to do virtually the same thing, so we end up with duplication.
Good catch. That's a bug for sure.
I'm in favor of a soft deprecation.


Verifier: don't expose the full S3 path when reporting checksum errors

This is an example error from the verifier:
https://wellcomecollection-storage-staging-ingests.s3.eu-west-1.amazonaws.com/unpacked/alex-testing/2f55a087-b9ab-4fdb-8156-5d177db55d84/b2227683x/fetch.txt: Checksum values do not match! Expected: sha256:ada213f9ed885fafdd2c1faf48c8b3182fafb59e6dae84eeffc045aca90d1435, saw: sha256:aae34cb7e92493c6f71da185132d54905a49dbce8cf349b72c4cb67dc6777ca9

This bit is an internal concern of the storage service and shouldn't be exposed in a user-facing message:
https://wellcomecollection-storage-staging-ingests.s3.eu-west-1.amazonaws.com/unpacked/alex-testing/2f55a087-b9ab-4fdb-8156-5d177db55d84

(It's been four years since I wrote this issue, and it's possible it's been fixed since then. I haven't retested.)


Remove the example recipe

Please remove the example recipe, patch and source code from this repository.

I have removed the example recipe.


Get-DbaErrorLog

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[x] feature
[ ] bug:

Details
Basically, cannibalize @drewfurgiuele's version:
http://port1433.com/2016/10/25/building-a-better-get-sqlerrorlog/
This one has the online and offline approach talked about in the channel. And is within scope for 1.0 cuz I need it ;)

On it.

I have pushed it up to my branch.  Is there anything else that you want me to change in it?

sweet, do a PR and we'll check it out, @dbaduck !! thanks man


Asynchronous issue.

There seem to be issues when trying to load gifs asynchronously. Most of the time it crashes because of nil values. It also seems to be the case when you swap out a gif for another one.

You're absolutely right. I've already fixed this issue on a build that I currently have. I'll be pushing it out soon. I'll update you once that happens.
Thanks for the feedback and your help.

Bump

Any status update on this?

any update on this?

any update on this?

any update on this?

Sorry, I'm currently snowed under at work. I'll update it this Sunday.
On Mon, Mar 21, 2016 at 4:13 AM, hongxi<EMAIL_ADDRESS>wrote:

any update on this?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/khaledmtaha/XAnimatedImage/issues/3#issuecomment-199185828

--
Khaled M. Taha
Kindly note that this is my personal email address, and it would be greatly
appreciated if this address remains free of any unauthorized mailing lists
and/or forwards.

Thanks a lot, waiting for this so we can start adding cat gifs!!

Haha, this is top priority folks!
Jokes aside, I apologize for making y'all wait. Just a little longer.
On Mon, Mar 21, 2016 at 1:24 PM, John Rickman<EMAIL_ADDRESS>wrote:

Thanks a lot, waiting for this so we can start adding cat gifs!!
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/khaledmtaha/XAnimatedImage/issues/3#issuecomment-199413485

--
Khaled M. Taha
Kindly note that this is my personal email address, and it would be greatly
appreciated if this address remains free of any unauthorized mailing lists
and/or forwards.

Currently working on it, this has already been resolved as part of FLAnimatedImage. I'm adding this function:
`    func loadAnimatedImageWithURL(url:NSURL, completion:(animatedImage:XAnimatedImage)-> ()) {
    // Create a file to store the GIF and its corresponding data

    let fileName = url.lastPathComponent!
    let diskPath = (NSHomeDirectory() as NSString).stringByAppendingPathComponent(fileName)
    var animatedImageData = NSFileManager.defaultManager().contentsAtPath(diskPath)

    var animatedImage = XAnimatedImage()

    if animatedImageData?.bytes == nil {
        // Newly created, then download
        NSURLSession.sharedSession().dataTaskWithURL(url) { (data:NSData?, response:NSURLResponse?, error:NSError?) -> Void in
            if error == nil {
                animatedImageData = data
                animatedImage = XAnimatedImage(initWithAnimatedGIFData: animatedImageData!)
                if let _ = animatedImage.posterImage {
                    dispatch_async(dispatch_get_main_queue(), { () -> Void in
                        completion(animatedImage: animatedImage)
                    })
                    data?.writeToFile(diskPath, atomically: true)
                }
            } else {
                print("error exists")
            }
            } .resume()
    } else {
        animatedImage = XAnimatedImage(initWithAnimatedGIFData: animatedImageData!)
            completion(animatedImage: animatedImage)
    }
    }`

Currently called within the func viewDidLoad() as such:
`
let urlString = "https://i.imgur.com/8W2mtHB.gif"
let url = NSURL(string: urlString)
self.loadAnimatedImageWithURL(url!) { (animatedImage) -> () in
self.animatedImageA = animatedImage
self.animatedImageViewA.animatedImage = self.animatedImageA
self.animatedImageA.debug_delegate = self.debugViewA
self.animatedImageViewA.debug_delegate = self.debugViewA
self.debugViewA.image = self.animatedImageA
    }

`
It seems to work. But I'm still testing. Thought to give y'all an update.

Let me know if this fixes the issue.


Missing comparison with Webpack

It's easy to kick the old dog like Grunt or  Gulp. But I wonder how Brunch compares with something really powerful like Webpack. It was not even mentioned in the Guide. And Webpack is much more popular and it is used by almost every React developer. It has also hot reload modules replacement. http://gaearon.github.io/react-hot-loader/  Is it also possible for Brunch?

Hot reload is the reason people suffer through webpack config.  It's a requirement for performant and secure modern web apps.  Otherwise you are stuck with sending your entire app, along with admin interfaces, on the landing page.

I haven't been able to get React to work with Brunch yet, but I think it's fair to say it's because while I'm not new to node or javascript, I'm new to node build tools and the, how shall I say, seething mass of tooling that has grown around it. Getting webpack and react hot-loader doesn't look easy to setup either (http://gaearon.github.io/react-hot-loader/getstarted/) but it is nice that components maintain state between updates. I'll have to give it a whirl while my Brunch inquiries wait for response.

Looks like something is in the works (with caveats): https://github.com/brunch/hmr-brunch


add AudioWorld#set_master_volume

Open to bikeshedding.

it's the only solution for now, but once we'll have tracks integrated I'd like this method to be put on the MainTrack entity instead. In fact you would be able to directly manipulate the main track with the Query<TrackHandle, With<MainTrack> or similar. I don't know if it makes sense to merge this now.

Closing in favor of incoming work on the more general tracks integration being done soon.


How to write a scroll UIScrollView test?

Hi！@jonathanpenn
I have main page, Take a UIScrollView in this page.
Jack

Hey @xhzengAIB, I'm not quite sure what you're asking for. You can interact with a scroll view using a drag gesture on the element. But the Auto Monkey's whole purpose is to randomly interact with the screen and it wasn't written to talk to specific elements in a certain way. You could certainly write your own custom gesture support with these instructions. But it's still going to be random.

Hi! @jonathanpenn My English is very bad, I'm really sorry.
Thank you very much for your reply, I know you can write custom gestures, but how should I write about a random location sliding UIScrollview gesture?
Jack

No worries, @xhzengAIB. Glad to help! Though it sounds like this script won't do what you want. It's for sending touch events to the entire screen and doesn't target specific views.
But if you wanted to still do "drag" events all over the screen, I'd recommend looking into the dragFromToForDuration method on UIATarget at Apple's documentation:
https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIATargetClassReference/#//apple_ref/javascript/instm/UIATarget/dragFromToForDuration
That should get you on the right path.

Hi！@jonathanpenn
Thank you! I got it.