Failure when following KServe installation guide and trying to setup first inference service.

/kind bug
What steps did you take and what happened:
I'm trying to install KServe by following the steps provided in the Serverless Installation Guide
Firstly, I create a new Kuberneters cluster in Google Cloud:
$ gcloud container clusters create kserve-test --cluster-version latest --num-nodes=3 --zone europe-west1-b

Install istio (version 1.11.4):
$ curl -L https://istio.io/downloadIstio | sh -
$ cd istio-1.11.4/bin
$ ./istioctl install
This will install the Istio 1.11.4 default profile with ["Istio core" "Istiod" "Ingress gateways"] components into the cluster. Proceed? (y/N) y
✔ Istio core installed
✔ Istiod installed
✔ Ingress gateways installed
✔ Installation complete
Thank you for installing Istio 1.11.  Please take a few minutes to tell us about your install/upgrade experience!  https://forms.gle/kWULBRjUv7hHci7T6

Install KNative Serving (v0.26.0):
$ kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-crds.yaml
customresourcedefinition.apiextensions.k8s.io/certificates.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/configurations.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/clusterdomainclaims.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/domainmappings.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/ingresses.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/metrics.autoscaling.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/podautoscalers.autoscaling.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/revisions.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/routes.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/serverlessservices.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/services.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/images.caching.internal.knative.dev created

$ kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-core.yaml
namespace/knative-serving created
clusterrole.rbac.authorization.k8s.io/knative-serving-aggregated-addressable-resolver created
clusterrole.rbac.authorization.k8s.io/knative-serving-addressable-resolver created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-admin created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-edit created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-view created
clusterrole.rbac.authorization.k8s.io/knative-serving-core created
clusterrole.rbac.authorization.k8s.io/knative-serving-podspecable-binding created
serviceaccount/controller created
clusterrole.rbac.authorization.k8s.io/knative-serving-admin created
clusterrolebinding.rbac.authorization.k8s.io/knative-serving-controller-admin created
clusterrolebinding.rbac.authorization.k8s.io/knative-serving-controller-addressable-resolver created
customresourcedefinition.apiextensions.k8s.io/images.caching.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/certificates.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/configurations.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/clusterdomainclaims.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/domainmappings.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/ingresses.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/metrics.autoscaling.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/podautoscalers.autoscaling.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/revisions.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/routes.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/serverlessservices.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/services.serving.knative.dev unchanged
image.caching.internal.knative.dev/queue-proxy created
configmap/config-autoscaler created
configmap/config-defaults created
configmap/config-deployment created
configmap/config-domain created
configmap/config-features created
configmap/config-gc created
configmap/config-leader-election created
configmap/config-logging created
configmap/config-network created
configmap/config-observability created
configmap/config-tracing created
horizontalpodautoscaler.autoscaling/activator created
Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
poddisruptionbudget.policy/activator-pdb created
deployment.apps/activator created
service/activator-service created
deployment.apps/autoscaler created
service/autoscaler created
deployment.apps/controller created
service/controller created
deployment.apps/domain-mapping created
deployment.apps/domainmapping-webhook created
service/domainmapping-webhook created
horizontalpodautoscaler.autoscaling/webhook created
poddisruptionbudget.policy/webhook-pdb created
deployment.apps/webhook created
service/webhook created
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.serving.knative.dev created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.serving.knative.dev created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.domainmapping.serving.knative.dev created
secret/domainmapping-webhook-certs created
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.domainmapping.serving.knative.dev created
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.serving.knative.dev created
secret/webhook-certs created

$ kubectl apply -f https://github.com/knative/net-istio/releases/download/v0.26.0/net-istio.yaml
clusterrole.rbac.authorization.k8s.io/knative-serving-istio created
gateway.networking.istio.io/knative-ingress-gateway created
gateway.networking.istio.io/knative-local-gateway created
service/knative-local-gateway created
configmap/config-istio created
peerauthentication.security.istio.io/webhook created
peerauthentication.security.istio.io/domainmapping-webhook created
peerauthentication.security.istio.io/net-istio-webhook created
deployment.apps/net-istio-controller created
deployment.apps/net-istio-webhook created
secret/net-istio-webhook-certs created
service/net-istio-webhook created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.istio.networking.internal.knative.dev created
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.istio.networking.internal.knative.dev created

Install Cert Manager (v1.6.0):
$ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6.0/cert-manager.yaml
customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io created
namespace/cert-manager created
serviceaccount/cert-manager-cainjector created
serviceaccount/cert-manager created
serviceaccount/cert-manager-webhook created
clusterrole.rbac.authorization.k8s.io/cert-manager-cainjector created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-issuers created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificates created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-orders created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-challenges created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
clusterrole.rbac.authorization.k8s.io/cert-manager-view created
clusterrole.rbac.authorization.k8s.io/cert-manager-edit created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests created
clusterrole.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-cainjector created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-issuers created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificates created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-orders created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-challenges created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews created
role.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
role.rbac.authorization.k8s.io/cert-manager:leaderelection created
role.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
rolebinding.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
rolebinding.rbac.authorization.k8s.io/cert-manager:leaderelection created
rolebinding.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
service/cert-manager created
service/cert-manager-webhook created
deployment.apps/cert-manager-cainjector created
deployment.apps/cert-manager created
deployment.apps/cert-manager-webhook created
mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created

Install KServe:
$ kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.7.0/kserve.yaml
namespace/kserve created
customresourcedefinition.apiextensions.k8s.io/inferenceservices.serving.kserve.io created
customresourcedefinition.apiextensions.k8s.io/trainedmodels.serving.kserve.io created
role.rbac.authorization.k8s.io/leader-election-role created
clusterrole.rbac.authorization.k8s.io/kserve-manager-role created
clusterrole.rbac.authorization.k8s.io/kserve-proxy-role created
rolebinding.rbac.authorization.k8s.io/leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/kserve-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/kserve-proxy-rolebinding created
configmap/inferenceservice-config created
configmap/kserve-config created
secret/kserve-webhook-server-secret created
service/kserve-controller-manager-metrics-service created
service/kserve-controller-manager-service created
service/kserve-webhook-server-service created
statefulset.apps/kserve-controller-manager created
mutatingwebhookconfiguration.admissionregistration.k8s.io/inferenceservice.serving.kserve.io created
validatingwebhookconfiguration.admissionregistration.k8s.io/inferenceservice.serving.kserve.io created
validatingwebhookconfiguration.admissionregistration.k8s.io/trainedmodel.serving.kserve.io created
unable to recognize "https://github.com/kserve/kserve/releases/download/v0.7.0/kserve.yaml": no matches for kind "Certificate" in version "cert-manager.io/v1alpha2"
unable to recognize "https://github.com/kserve/kserve/releases/download/v0.7.0/kserve.yaml": no matches for kind "Issuer" in version "cert-manager.io/v1alpha2"

I've tried googling these errors at the end, but no luck.
Just in case it works anyway despite these errors, I tried following the instructions to setup a First Inference Service
$ kubectl create namespace kserve-test
namespace/kserve-test created
$ kubectl apply -f sklearn.yaml -n kserve-test
Error from server (InternalError): error when creating "sklearn.yaml": Internal error occurred: failed calling webhook "inferenceservice.kserve-webhook-server.defaulter": Post "https://kserve-webhook-server-service.kserve.svc:443/mutate-serving-kserve-io-v1beta1-inferenceservice?timeout=10s": no endpoints available for service "kserve-webhook-server-service"

Any help much appreciated!
What did you expect to happen:
I would like to be able to install KServe and run a first example.
Anything else you would like to add:
Environment:

Istio Version: 1.11.4
Knative Version: 0.26.0
KFServing Version: 1.7.0
Kubeflow version: n/a
Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm] n/a
Minikube version: n/a
Kubernetes version: (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.4", GitCommit:"3cce4a82b44f032d0cd1a1790e6d2f5a55d20aae", GitTreeState:"clean", BuildDate:"2021-08-11T18:16:05Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5-gke.1300", GitCommit:"90a16981ade07f163a0233adb631b42ac1fc53ff", GitTreeState:"clean", BuildDate:"2021-10-06T09:26:44Z", GoVersion:"go1.16.7b7", Compiler:"gc", Platform:"linux/amd64"}

OS (e.g. from /etc/os-release): Ubuntu 18.04.6 LTS (Bionic Beaver)

I was able to resolve this by installing Cert Manager v1.3.0 (rather than v1.6.0).
Additionally, to get things working I need to increase the capacity of the VMs I was using for the cluster.
Probably the issue can be closed, but perhaps the Cert Manager version could also be included in the "Recommended Versions Matrix"?

Thanks @tdoublep for reporting this! we should update the version matrix and we need to make a fix to support 1.6 as well.


BugFix: Food manager receives error

An explanation of the issue:
There are three 'mutations' of the active record query that get performed.

The policy scope, which limits the records a user can see to those assigned to the right teams/users
The aggregations, which add extra calculated fields from subqueries
The filter/sort

Given that there is a fairly complex interplay between these queries, the simplest solution is to take the policy queries, and move them into a where in (subquery) query.  This means that the sorting issues - caused by a mismatch of distinct/aggregate columns, should be fixed, and the overall SQL structure is easier to understand.

 Food Manager recieves error when sorting Support Actions table by date


refactor(Tactic/Linarith): introduce UsableInSimplexAlgorithm class to allow the use of sparse matrix types in the oracle

This is the first part of #12819, which I decided to split into two parts. The initial goal is to enable the use of sparse matrices in the linarith's oracle based on the Simplex Algorithm, which speeds up linarith, and especially nlinarith, in many cases.

Introduce the UsableInSimplexAlgorithm class, which specifies the operations required from a matrix type for use in Gauss Elimination and the Simplex Algorithm within the corresponding oracle for the linarith tactic. Rewrite these algorithms to use this class, allowing any matrix type to be used.
Make Matrix an instance of this class.

!bench

(I should add: I completely missed your PR a few month ago implementing the simplex oracle and changing linarith over. This is fantastic work and really appreciated!)

Thanks!
bors merge


Fix black line ellipse

Description
Hi napari developers,
First of all thank you for developing and maintaining such an amazing tool as napari, I use and enjoy it a lot!!
I hope I can contribute to improve it to the best of my skills.
About this draft PR, I spent some time trying to fix #4075 in order to make the napari-crop plugin work as expected. When manually drawing in the viewer, this rarely happens, but it happens very often if the shape is defined by a numpy array (there is a MWE in #4075, but also in this notebook).
I found out the black lines appear due to a floating result imprecision after a subtraction in this line.  I have a few solutions to propose that I would like to discuss here.
The one proposed is to simply insert a tolerance at that point so that those super small values would round to 0. Another way of doing this would be with np.around(vertices[j] - vertices[i], x).
Besides that, I noticed that this happens because the center of the ellipse is passed as the first element of the vertices array. And because the first and last vertices are the same, this makes vertices[0], vertices[1] and vertices[-1] have the same 'x' coordinate, increasing the chances of the floating imprecision situation. Thus, another workaround could be to pass vertices[:2] in this line. I am just not sure if this could impact other shapes.
Please let me know what you think of the proposed solutions.
I could also try to add a test somewhere if you think it is worth it :)
Best,
Marcelo
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References
This would close #4075. It would also close an issue in napari-crop. This was referenced in image.sc forum before.

How has this been tested?
I tested with the MWE provided in #4075 and also executing the jupyter notebook mentioned before.

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

Merging, failure is unrelated and fixed in master.


Koalas support for ComposeML

Hi Team, as per documentation ComposeML is a crucial step for automated ML pipeline. For our project, the dataset cannot be loaded into pandas dataframe because of its huge size. Therefore we started working with Koalas dataframe. But now we have hit a roadblock since ComposeML does not support Koalas.
Request you to provide Koalas support for the entire automated pipeline

Given recent changes to Featuretools and Koalas, this would now need to be updated to use the new spark pandas API instead of Koalas.


x/mobile: flutter' app crash met with gomobile package .aar

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
What did you do?
I test .aar by:
gomobile bind -target=android
put into Android studio project's libs, and test the package.
When I test with android's app alone, it works; when I test with the flutter app platform channel alone, it works too.When I put them together, when the call happened, it crashed.
It looks like the 2 bridge there and they are not match.I don't know which team in google would answer me, flutter or golang,gomobile?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
What did you see instead?
flutter' app crash met with gomobile package .aar

I follow the guidence https://flutter.io/platform-channels/ ... It works; I can see the result in Simulator.

I write a simple code in Golang, Gomobile bind -target=android, get .aar file, put into libs, the app stopped when the call happened. The code is very simple:

package bond
import (
)
func FirstCall() int{
return 20180311
}
func SecondCall() string{
return "20180311"
}
func ThirdCall() {
}
type Counter struct {
Value int
}
func (c *Counter) Inc() { c.Value++ }
func NewCounter() *Counter { return &Counter{ 5 } }
3) I create app with Android Studio, put the .aar file in, and call, it gets the right return.
final String stext=Bond.secondCall();
4) So the problem is, there are 2 bridges here; each of them work, but put together, it crashes.
Anybody could give me a solution? Is the problem in Flutter or Gomobile?

Is the problem in Flutter or Gomobile?

If you're not sure whether it's a Flutter issue or a Go one, please start at the
https://groups.google.com/group/golang-nuts mailing list.
(You'll reach a broader audience there, and we don't use the Go issue for general questions.)

I asked on golang-nuts(https://groups.google.com/forum/#!forum/golang-nuts),but got no reply, what can I do next? Flutter is good,gomobile is good,  but not work when put them together

I see instructions for using Flutter with various languages, but not Go. I suspect it's not a configuration they support.
(See https://github.com/flutter/flutter/issues/14816.)

@hjlp20150803 can you put the project on github as its too tricky to help without the full project.
Then i will take a look.
i have done this using protobuf as the type being shared between golang and flutter

Sorry I just saw the response, thanks for your reply.
I have solved the problem.The whole project is too big to upload, flutter side are huge.
I have report this in other place, so I write it again here:
I found the reason. First time I saw the '20180311' came out from screen,'20180311' is the response from gomobile package bond.aar.
"gomobile bind -target=android",this is what I built the bond.aar, and my 'flutter doctor -v' was:
"[✓] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)"
This is x86 type, so I change the gomobile to
"gomobile bind -target=android/x86"
and then put .aar into lib again, then it works.
I can't explain why they work independently, when the java program of android works and flutter project failed, but I solved the problem. In this period I really want to switch to other tools ,react native, Xamarin. "

Sorry I just saw the response, thanks for your reply.
I have solved the problem.The whole project is too big to upload, flutter side are huge.
I have report this in other place, so I write it again here:
I found the reason. First time I saw the '20180311' came out from screen,'20180311' is the response from gomobile package bond.aar.
"gomobile bind -target=android",this is what I built the bond.aar, and my 'flutter doctor -v' was:
"[✓] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)"
This is x86 type, so I change the gomobile to
"gomobile bind -target=android/x86"
and then put .aar into lib again, then it works.
I can't explain why they work independently, when the java program of android works and flutter project failed, but I solved the problem. In this period I really want to switch to other tools ,react native, Xamarin. "

It does not make sense though.
I build golong and flutter.
A standard flutter app compiled is only 8 mb to start.
The golang part of it it not much.
I think you need to understand that with react and xamamin you will have much bigger issues with integration. Much bigger...

I don't think the executed file is enough, you need to know how I config,mainfest,..,. I have tried before, just now I checked it again, the whole directory is more than 100M. And I haven't done anything else except inject the .aar file.  In one word that is :"In a terminal run: flutter create batterylevel"(https://flutter.io/platform-channels/), and drag the .aar file into lib. So I hope you could repeat my experience as I met.
And in golang side, I put the source out there, and I told you the way I build.
I don't know why you think it does not make sense, I can't find reason but I temporarily fixed the crash, if you can I hope you do it as do exactly, that is simple than I upload the project.
Correct one thing, instruction should be:
gomobile bind -target=android/386
not
gomobile bind -target=android/x86

yeah i see what your saying.
If you put the basic cut down code on github i can hae a look
you must be doing something wrong to hit 100 mb.
you seriously dont want to use react or xamarin. i used both for many years
and switched to flutter because its much ebtter for so many reasons.
i have grpc between flutter and golang working. its easy and works very
well.
you can also do flatbuffers now to between flutter and golang for any IPC.
you want get that with react or xamarin among many other things.
anyway, if you put up a sample of the code with a Makefile i can run it and
find out why your getting 100 mb blow outs. Its really weird.
On Tue, 24 Apr 2018 at 12:19 hjlp20150803<EMAIL_ADDRESS>wrote:

I don't think the executed file is enough, you need to know how I
config,mainfest,..,. I have tried before, just now I checked it again, the
whole directory is more than 100M. And I haven't done anything else except
inject the .aar file. In one word that is :"In a terminal run: flutter
create batterylevel"(https://flutter.io/platform-channels/), and drag the
.aar file into lib. So I hope you could repeat my experience as I met.
And in golang side, I put the source out there, and I told you the way I
build.
I don't know why you think it does not make sense, I can't find reason but
I temporarily fixed the crash, if you can I hope you do it as do exactly,
that is simple than I upload the project.
Correct one thing, instruction should be:
gomobile bind -target=android/386
not
gomobile bind -target=android/x86
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/24468#issuecomment-383880428, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATuCwoj46_K6iGU9WKVBQyXOU1I6CGnwks5trvwXgaJpZM4SzFwJ
.

I put this issue aside for a while, and today I tried the project, I can't repeat the crash again!
I do remember it must be crashed, I tried again and again, it can't work or can work, but not crash.
I reserved the old project in zip file and the date was last month, it was 151.7 MB and I couldn't upload that time, so this must be.
I update the config, change the program, and it works no matter whether android with or without 386, other different is emulator.
But the whole thing is really different, you can see the post :https://github.com/flutter/flutter/issues/15781#issuecomment-375179371
The project is huge for "blender/build/app/intermediates",and the .apk. I delete them,you can take a look.
blender.zip

@hjlp20150803
The zip is just a normal flutter project. thats not going to help:)
Just put up a github repo with the code and a makefile if you want help.

I haven't done anything more than that and I have give all the file I can give, I really don't understand what you expect, I am a fresh of flutter.
I just followed the guidance of flutter's channel to communicate with golang part,  but it crashed all the time, I have no any makefile.
And now it disappeared, I don't know why, and zip file is the old state. Flutter is upgraded, emulator is new version, I can't try all the options.
I hope maybe you could find out why it crashed through the zip. Right now I can carry on my job , no crash anymore.
Thanks a lot for your help and faith on flutter.
If you mean the makefile for golang? no , there are no,  the code is very simple, with
gomobile bind -target=android
package bond
import (
)
func FirstCall() int{
return 20180311
}
func SecondCall() string{
return "20180311"
}
func ThirdCall() {
}
type Counter struct {
Value int
}

@gedw99
I find this bug must happen to a android 7.x  x86 simulator (both API 24 and API 25 will crash),
I upload a project here , can you have a look  and help to fix it.... Thanks..
https://github.com/chaim1986/flutter-go
bug similar :
https://stackoverflow.com/questions/44080809/android-7-native-crash-libc-so-tgkill


Queue capacity changes is not affected without restart

Hi @marcanpilami
After changing queue max parallel instances on page 'Queue Mapping' we was not saw any effect without restart JQM. So, currently, to apply changes of max parallel instances we need to do JQM restart.
But, it's very hard to do it on the real environment.
Could you make some changes in code, to apply changes of max parallel instances in the queue immediately after saving?

Also, I saw, that it's also working without restart, but only after disabling and enabling queue in the queue mappings.

Clear bug - this parameter is supposed to be applied without restart. Scheduling this ticket for next week.

Snapshot uploaded. Sorry for the delay.


WIP: Android compilation stuff

Hi @mosra !
This is the Android WIP stuff I did like months ago. May it be of any use, you may close the PR after.
Regards, Jonathan.

I assume this can be closed now... a lot has changed since two years ago :D


Issue with validation on route cockpit/workflows/validate

What happened:
The route cockpit/workflows/validate returned "Blueprint is valid" when the activity_schema or input_schema weren't in the patterns of json schema.
What you expected to happen:
The route cockpit/workflows/validate should return "Blueprint is not valid" or something like that when the activity_schema or input_schema aren't in the patterns of json schema.
How to reproduce it (as minimally and precisely as possible):
If you post to the route cockpit/workflows/validate a blueprint with the following activity_schema it will return "Blueprint is valid":
{
  "activity_schema": {
    "type": "object",
     "properties": {
        "data": {
          "type": "string"
        },
        "required": [
             "data"
        ]
     }
  }
}

version: 2.10.0
OS installed on: Windows

@pedropereiraassis
Please test it on api version 2.3.2 and engine 2.12.0+.
I was not able to reproduce it on this bundle.

@gustavo-fdte
I tested on api version 2.4.0 and engine 2.13.0 and when the input_schema is like the mentioned (with 'required' inside 'properties') I get a 400 error like the following:
{
    "error": "Invalid blueprint",
    "message": "Failed at node START: data/properties/required must be object,boolean"
}

But I still get "Blueprint is valid" when the activity_schema is not in json schema patterns (like the mentioned).


ignore outlet for SONOFF

ph outlet -v  will add the SONOFF BASICZBR3 devices to the outlet resourcelink and display them as outlets. As these are not outlets, it should be set to false.

I'm sorry, I created the outlet resource link specifically not to have to whitelist each and every outlet, and to give users the possibility to indicate which devices they want to treat as outlets.
ph outlet is just an aid to create an initial /resourcelinks resource, which you can change manually through the API.  It bluntly includes all /lights resources with a type that doesn't end in "light".  I think the Sonoff type is listed as "Unknown" (see #640).


Accidentally changed the owner of binary files from root to icub (username) in server laptop

Hello everyone,
During the work with iCub laptop (server), I  ran sudo chown -R / command, which made icub (username) to be the owner of all possible binary files, including sudo. Hence, programs (which need root privileges) cannot be run anymore. Specifically, as a result

cannot connect pc104 of icub
can setup neither wire nor wireless connections
cannot get intro RecoveryMode

When I run the sudo command, I get the following error:
/usr/bin/sudo must be owned by uid 0
The iCub Laptop (server) came with iCub robot with pre-installed binaries set-up to work with robot.
After a long time search in the internet, I haven't found any solution for the problem. Could you help me with this issue?
Thanks in advance,
Tasbolat

:(

can you try logging in as root? root should be able to re-assign correct ownership to files.

@lornat75 Yes, I've tried, but no success.
To log in as a root from a terminal I need to have sudo privileges. However, I cannot run sudo. I also cannot boot into recovery mode.

Regarding the error with sudo command, it must be owned by root and have the suid bit setted
chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
see this link

@mbrunettini
I've checked the link, but problem is, again, I cannot log in as root. So, that solution doesn't work for this case.

can you login as icub?

yes

did you tried to issue the above command as icub, then?

Yes, I've tried. Have the following error:
Permission denied

ls -la /usr/bin/sudo
?

-rwxr-xr-x 1 icub root 136808 lug 4 2017 /usr/bin/sudo

you used this laptop with the robot?
Only this one or other machines?

Yes, I used the laptop with the robot. It’s only machine working as a server

On Apr 6, 2018, at 6:59 PM, Matteo Brunettini<EMAIL_ADDRESS>wrote:
you used this laptop with the robot?
Only this one or other machines?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You could also try logging in with a live distro (for example SystemRescueCd), mounting the hard drive and changing the ownership of the files from there...

If it is already installed, of course not.

I have a concern in the following part:

git clone https://github.com/robotology/yarp.git

Should I do it as root or icub?

icub
There is no sudo

We followed the instruction given and could connect to the robot. We could also run yarprobotinterface.
However, when we run yarpmotorgui, we get the following error:

It is a different issue, i propose to close this one and to open a new one with a different topic

Let me clear one thing:
We reinstall everything in the icub@icubsrv, but we didn't re-install or change anything inside the pc104.
So that means we downloaded and reinstalled all the codes in the server laptop (e.g. yarp, icub-main and so on) in /exports/code.  So I am wondering if the version of those code in pc104 is not match or link to this server laptop anymore.  Then it causes this problem?
My point is how to synchronize or map those source codes between the pc104 and server laptop?

Yes, you have to update YARP on the robot

@barbalberto How shall we do? Do we need to get inside of the pc104 and git pull , then re-build it.
Or we can somehow to map from the server laptop?

You have to go inside the pc104
ssh on pc104
cd $YARP_DIR
git pull
cmake ..
make -j2

then do the same on ICUB_DIR

And other folders you have in /usr/local/src/robot like icub-firmware-shared, in the order shown in the page http://wiki.icub.org/wiki/Compilation_on_the_pc104 from section compile yarp onward

since the issue about the laptop is solved, i close this

Ok, you need also to update firmware on the boards.
Can you please tell us your YARP_ROBOT_NAME? Then we'll open a separated issue for that.

iCubSingpapore01

I created issue here https://github.com/robotology/icub-support/issues/626


Unhandled rejection when connection to eventsource gets terminated

I am using the event-source-polyfill library to create an EventSource connection in my Nodejs project using the dynamic imports mentioned in docs.
The connection to the eventsource server gets terminated occasionally due to unknown reasons.
Expected behaviour:
Eventsource catches the error caused by connection termination and handles it as required
Actual behaviour:
The error thrown due to this termination is not caught, leading to an unhandlerejection in the node process. The error stack I obtain is:
TypeError: terminated
    at Fetch.onAborted (node:internal/deps/undici/undici:14036:53)
    at Fetch.emit (node:events:513:28)
    at Fetch.emit (node:domain:489:12)
    at Fetch.terminate (node:internal/deps/undici/undici:13295:14)
    at Object.onError (node:internal/deps/undici/undici:14131:36)
    at Request.onError (node:internal/deps/undici/undici:7601:31)
    at errorRequest (node:internal/deps/undici/undici:9797:17)
    at TLSSocket.onSocketClose (node:internal/deps/undici/undici:9248:9)
    at TLSSocket.emit (node:events:525:35)
    at TLSSocket.emit (node:domain:489:12) {
  [cause]: BodyTimeoutError: Body Timeout Error
      at Timeout.onParserTimeout [as _onTimeout] (node:internal/deps/undici/undici:9189:32)
      at listOnTimeout (node:internal/timers:571:11)
      at process.processTimers (node:internal/timers:512:7) {
    code: 'UND_ERR_BODY_TIMEOUT'
  }
}

Additional details
The EventSource is initialized by:
import('@titelmedia/node-fetch').then(function (fetch) {
      globalThis.fetch = fetch.default;
      globalThis.Response = fetch.default.Response;
      const source = new EventSource(url);
      callback(null, source);
    });

The error is thrown from time-to-time when the eventsource times out and creates a new connection.

We are experiencing a similar issue when using this library with React Native. The library is a dependency of another package we are using.

Is there an answer to that question now？

You are saying it is "connection termination", but really the line of code of XMLHttpRequest.js looks like something else. Is it a bug of that lib? The attached stack trace does look relevant to EventSorce library. Is it really not caught?


Documentation entry for Panoramix (a druid UI)

Panoramix is a web application to slice, dice and visualize data out of Druid

@mistercrunch do you mind filing out our CLA (http://druid.io/community/cla.html)?

Done!


1.20.6?

Will you continue to develop the plugin?

Hello, you might want to try my fork instead for newer version.
https://github.com/alvindimas05/AriKeys

Thanks


Make sure that the message is in the cache

We should only bail from writing to the cacheCh during
shutdown. In that case, the closeChannel will be set and
we can bail out of that without blocking shutdown.

Coverage increased (+0.02%) to 54.391% when pulling c257fc2da6f381765ff153d65671529039ae000c on write_to_cache into fb6ebd852083515018f445b1dea1b8b782512646 on master.

Coverage increased (+0.02%) to 54.522% when pulling f6aab0c33b418c4e8211641e165be4816c508e93 on write_to_cache into de0b9e60841bdbad03d83eb9c25685e16e55dd38 on master.

Changes Unknown when pulling c2d06321f114a4dc98b2edd465fc2b4ca76acb9a on write_to_cache into ** on master**.

Coverage decreased (-0.2%) to 54.124% when pulling ebc353244b73ab5ec70133b9cba58ae5865944df on write_to_cache into ba2a6a59dd5e04a6815f5a021c560496d909bd72 on master.

Coverage increased (+0.2%) to 54.375% when pulling b9169f77f183d5ecab25bc46c3019d702eae9a07 on write_to_cache into 0dbe514eca540cb976e577b564f05986605997ad on master.


No license file present

Simple ask... presumably you intended to release this as open source.
So, could you please pick an approved open source license and document that in a new LICENSE.md file, or if not there, note it in a prominent place in your README.md file?
If you don't have a clear license, then you will get lots of people not considering this. Thanks in advance.

Hi
Thanks for raising this. I've added a license file to this extension.
If there's anything else I can help with, then please let me know.


[Request] Instructables

Yup, another request here please, is it possible to process http://www.instructables.com general and with categories please ( http://www.instructables.com/tag/type-id/category-*/ ) ?
Thanks!

I merged the current bridge, it does implement the requested features in my opinion. Please create a new issue if you think something is missing!


🛠 Flutter version upgrade.

🛠 Flutter version upgrade.
🛠 flutter_lints package update & warnings resolved.✅
🧪 Tested in simulator after update plugin.✅
issue: https://github.com/abu0306/flutter_root_jailbreak/issues

Could you please add support for Kotlin 1.8.21 ?

upgrade gradle version & added  support for Kotlin 1.8.21.

@PoojaPatilCybage upgrade gradle version & added support for Kotlin 1.8.21.
Thanks!


ColorPickerButton's modal_closed signal doesn't fire when attached via editor

hello godoters. tested on 3.0.2

create scene, add a ColorPickerButton node
connect the modal_closed to ColorPickerButton

when the colorpickerbutton's modal closes, it doesn't get signal'd

solution 1.:

C++ developer might need to edit source so it sends the right signal, @willnationsdev  and poke can take a look. i think in the c++ code, it forgets to grab the reference to get_popup()

solution 2.:

you have to do $ColorPickerButton.get_popup().connect("modal_closed", self, "modal_closed_func")

tyhx! sorry if reported already

modal_closed is a signal of Control nodes in general, since all Control nodes can be modal-ed via show_modal().
ColorPickerButton should get a different signal instead, such as popup_closed.

Hi! I made some changes and opened pull request #18161 that seems to add this feature. Are these changes what you were requesting?


rebuild RCF using clojure/script analyzer

This is the current WIP dev stream which supports tests like:
(tests 1 := 1)
(tests (let [x 1] x := 1)) — implicit do
(tests (do (do 1 := 1)))
(tests (! 1) % := 1)
(tests (future (! 1)) % := 1)
(tests (do (! 1) % := 1))
(tests (do (future (! 1)) % := 1))
(tests (let [x 1] (! x) := 1))
(tests (do (future (! 1)) % := 1))

thereby paving the way for userland syntax macros (defmacro is [a b] `(do ~a := ~b)), custom assertions, resource cleanup macros, future syntax extensions.
Fixes #46 #44 #42 #40 #34 #32
and is infrastructure for #47 #39 #38 #33

Essentially RCF gives meaning to (do a := b) and (do (! a) % := b) (which is fully compatible with Clojure) and we use the Clojure/Script analyzer to do this correctly, handling implicit do in special forms, to implement this for any (do) at any layer of nesting depth in a test form.


Media Download optimization

Can you please add an option to choose only the videos after pasting the landing page for the artist?
Thanks again for this amazing tool 🔥

This will be included in the next release along with better naming for the downloaded files. Hopefully in the next week or so. Thanks!

Included in commit d0c19cf.Try it out via platform agnostic execution. If no errors, I'll update the release

Personal testing has shown no new bugs.


Add new list item : Double list element after pressing ENTER

I have an issue with the 'Add new list item' feature which I've never had before.
I don't know why but every time I press ENTER in a list with asterisks a second asterisk spawns (cf. picture below)

Could you try reloading Atom? I've noticed this before, and it might be related to #72.

After a full restart of Atom the feature  works well again !
I think you're right about the issue #72

I updated, this morning, from the last update released (so I expect 0.16.1) to v0.16.2 because I was up to date in my Atom packages yesterday !

Okay, thank you!


Use django check for SitePermissionsMiddleware

See #1400
I had a look, and I don't think that any of the other warnings that remain need this treatment — they are all things that need to be addressed in other ways, like deprecation warnings, rather than optional things that can be safely silenced.

Awesome, thankyou!


Can't style based on global parent class

Type: Bug

Packages
Version

fela
6.1.x & 10.2.x (tested both)

react-fela
7.3.x & 10.2.x

Description
I'm trying to integrate with a third-party library (Tether), which adds dynamic classes to a container component. These classes can be added and removed at any time, based on its position adapting to window size.
I'd like to style a component (entirely within the Tether container) based on the container's current classes. This doesn't seem to be possible with Fela.
The docs say:

While we only support the above selectors for a reason, we also understand that there might be some edge cases (mostly with third-party libraries) where you want to use other selectors as well. Therefore we provide the &-prefix for nested selectors.

From what I can tell, & only works when it's at the start of the selector (hence calling it "&-prefix"). But I need to use it after the Tether class, like .tether-element-attached-top &. This works in tools such as Sass and Styled Components.
This is not just a problem when using Tether, but affects integration with any library that adds CSS classes to the body element as part of its API (e.g. font preloading scripts which add a fonts-loaded class to body for conditional styling).
As a simplified example, I have a component with these basic styles:
{
  background: 'red',
  '.tether-element-attached-top &': {
    background: 'green',
  },
  '.tether-element-attached-bottom &': {
    background: 'blue',
  },
}

On its own the component should have a red background. If used within a Tether element, it should be either blue or green, depending on Tether's positioning calculations. When used within Tether, the markup is effectively this:

This is my component element

However when I do this, the element is always red, and Fela adds the following warning in the console:
The object key ".tether-element-attached-top &" is not a valid nested key in Fela.

For the record, I ended up working around this by adding the conditional styles to the parent container. It's not great, because it breaks the component boundaries, but it was the neatest solution I could find.
For example:
const styles = {
  contents: {
    background: 'red',
  },
  tetherContainer: {
    '&.tether-target-attached-top > [data-tether-contents]': {
      background: 'green',
    },
  },
}

(Then I made sure that the contents always have the data-tether-contents attribute added, to avoid having to know anything about the element type.)

@gilmoreorless Sorry for the delay. So, in general, the & is not a placeholder for the current class in Fela as this breaks with the idea of component-centric styles in my opinion. Sadly, there's no better way to work around this for now as we believe toggling classes is not the "right" way to do it at all. Knowing that many libs do this anyways, I think your solution is fine enough for this specific use case.
As there's not going to be a better solution anytime soon, I'd love to close this one. Feel free to reopen if there's anything left you'd like to discuss!


Discover uv run projects hierarchically

Summary
Ensures that running uv run in a subdirectory of a project behaves just as-if in the project root.
Closes https://github.com/astral-sh/uv/issues/3490.

Neat that's half the workspace discovery work


Raspberry pi 3 with AndroidThing support

@adriancretu It is possible to add support for Raspberry pi 3 with Android Things installed?

The AdvertisersManager class currently checks if multiple advertisement is supported, and it's not supported on the RPI3.
I tried removing that check and the advertising seems to work fine. Not sure about any other features that require the multiple advertisement support.
Maybe this could be an optional requirement?

The Android framework will call isMultipleAdvertisementsSupported internally as well, so if you think you get away with commenting out that check you'd be disappointed. That call gets forwarded to the native BLE stack and should be implemented (if possible) by the vendor, otherwise there will not be any BLE advertisements available. The library just conveniently does the call to prevent future attempts that are known to fail, and to give the app a reason to inform the user of BLE peripheral mode unaivailability.


Transforming nested relations

Hi,
I've been using your package for simple transformations on models. Now I want to go more advanced.
In my Controller I have:

    $staff = staff::with('warfs.devices', 'tags_assignment.tags')->where('staff.uuid', '=', $staff_uuid)->first();

So some warfs have a device.
I want to transform my data that i only get the warfs.id and devices.uuid
In my transformer I have

class StaffTransformer extends Transformer
{
protected $load = [
    'warfs.devices' => WarfsTransformer::class,
    'tags_assignment.tags' => StaffTagsTransformer::class,
];

 /**
 * Transform the model data into a generic array.
 *
 * @param  staff $staff
 * @return array
 */
public function transform(staff $staff):array
{
    return [
        'uuid' => (string) $staff->uuid,
        'firstname' => (string) $staff->firstname,
    ];
}

}

In WarfsTransformer I have

protected $relations = ['*'];

/**
 * Transform the model data into a generic array.
 *
 * @param  warfs $warfs
 * @return array
 */
public function transform(warfs $warfs):array
{
    return [
        'id' => (int) $warfs->id
    ];
}

However i receive all the columns on the warfs table when i transform the data:

{
"data": {
"uuid": "8EBB71E9-BCF2-4E5B-A95E-549F792C5BA7",
"firstname": "Ken",
"warfs": [{
"id": 18,
"uuid": "C90778D9-6B9F-4A6D-814F-7FC151E9DF4F",
"warf_identifier": "",
"workplace_id": "",
"pivot": {
"staff_id": 1,
"warfs_id": 18
},
"devices": []
}, {
"id": 42,
"warf_identifier": "",
"workplace_id": "",
"pivot": {
"staff_id": 1,
"warfs_id": 42
},
"devices": [{
"id": 5,
"uuid": "46497A88-42A6-438D-895B-541C6BD98A4D",
"sn": "6530165100014",
}]
}],
"tags_assignment": {
"id": 5,
"uuid": "1CAB4C9D-9213-4B26-A51E-32AECBA88221",
"tags_id": 1,
"staff_id": 1,
"warfs_id": 0,
"teams_id": 0,
"tags": {
"id": 1,
"uuid": "68D566C2-09CC-4EAF-B80F-095664202249",
"tag": "340062B83F",
"tag_type": "SINGLE"
}
},
"warfs.pivot": null,
"warfs.devices": null,
"warfs.devices.pivot": null,
"tags_assignment.tags": null
}
}

What am I doing wrong?

In your StaffTransformer you have the following:
protected $load = [
    'warfs.devices' => WarfsTransformer::class,
    'tags_assignment.tags' => StaffTagsTransformer::class,
];

The devices relation seems to be mapped to the WarfsTransformer. You can instead try to use non-nested relations:
protected $load = [
    'warfs' => WarfsTransformer::class,
    'tags_assignment' => TagsAssignmentTransformer::class,
];

Then you can either move the devices and tags relation loading to the WarfsTransformer and TagsAssignmentTransformer respectively. Or, if you want to autoload the nested relations only from the StaffTransformer you should also be able to mix them:
protected $load = [
    'warfs' => WarfsTransformer::class,
    'warfs.devices' => DevicesTransformer::class,
    'tags_assignment' => TagsAssignmentTransformer::class,
    'tags_assignment.tags' => StaffTagsTransformer::class,
];

Let me know if this solves your problems!

Sorry, The problem still exists.
The first thing I did was upgrading to the latest version:
Composer.lock:
            "version": "v2.0.11",
            "source": {
                "type": "git",
                "url": "https://github.com/flugger/laravel-responder.git",
                "reference": "199e15d0ee9ac1ab6617267fd418d0fb8ed39938"
            },

Then for the sake of debugging I simplified my request. I only want the warfs assigned to a specific staff member:
StaffController:
        public function get_staff($staff_uuid) {
        $staff = staff::where('staff.uuid', '=', $staff_uuid)->first();
        return responder()->success($staff, StaffTransformer::class)->respond();
    }

StaffTransformer

namespace App\Transformers;

use App\models\staff;
use App\Transformers\WarfsTransformer;
use Flugg\Responder\Transformers\Transformer;

class StaffTransformer extends Transformer
{
    /**
     * List of available relations.
     *
     * @var string[]
     */
    protected $relations = ['warfs'];

    /**
     * List of autoloaded default relations.
     *
     * @var array
     */
    protected $load = [
        'warfs' => WarfsTransformer::class,

    ];

    /**
     * Transform the model.
     *
     * @param  \App\models\staff $staff
     * @return array
     */
    public function transform(staff $staff)
    {
        return [
            'uuid' => (string) $staff->uuid,
            'firstname' => (string) $staff->firstname,
        ];
    }
}

WarfsTransformer

namespace App\Transformers;

use App\models\warfs;
use Flugg\Responder\Transformers\Transformer;

class WarfsTransformer extends Transformer
{
    /**
     * List of available relations.
     *
     * @var string[]
     */
    protected $relations = ['*'];

    /**
     * List of autoloaded default relations.
     *
     * @var array
     */
    protected $load = [];

    /**
     * Transform the model.
     *
     * @param  \App\models\warfs $warfs
     * @return array
     */
    public function transform(warfs $warfs)
    {
        return [
            'uuid' => (string) $warfs->uuid,
        ];
    }
}

JSON-response:

{
    status: 200,
    success: true,
    data: {
    uuid: "8EBB71E9-BCF2-4E5B-A95E-549F792C5BA7",
    firstname: "Ken",
    warfs: [
        {
            id: 18,
            uuid: "C90778D9-6B9F-4A6D-814F-7FC151E9DF4F",
            warf_identifier: "TEST018",
            workplace_id: "9G4645224GVTW",
            street: "Thysstraat",
            number: "52",
            suffix: "",
            zipcode: "5397",
            municipality: "Spa",
            country: "BE",
            gps: "",
            created_at: null,
            updated_at: null,
            pivot: {
                staff_id: 1,
                warfs_id: 18
            }
        },
        {
            id: 1,
            uuid: "A83F0AFA-4F3C-4F6E-928D-C6FDF5DE2C2C",
            warf_identifier: "TEST001",
            workplace_id: "5B3089223YDMQ",
            street: "Laurentlaan",
            number: "63",
            suffix: null,
            zipcode: "2702",
            municipality: "Edingen",
            country: "BE",
            gps: null,
            created_at: null,
            updated_at: null,
            pivot: {
                staff_id: 1,
                warfs_id: 1
            }
        },
        {
            id: 40,
            uuid: "EC15B8B5-94AB-4B98-A692-5E2547983559",
            warf_identifier: "TEST040",
            workplace_id: "6J3472084PTEM",
            street: "Lievensring",
            number: "96",
            suffix: "",
            zipcode: "9523",
            municipality: "Hoei",
            country: "BE",
            gps: "",
            created_at: null,
            updated_at: null,
            pivot: {
                staff_id: 1,
                warfs_id: 40
            }
        }
    ]
}

So the WarfsTransformer isn't being applied

Hi again! I think the problem is that the transformer mapping in the $load property is only used for locating all nested relation's transformers to be able to eager load everything. It is currently not being used for transforming the data, so you would have to either map up a transformer to the Warfs model or making an includeWarfs method in your StaffController:
public function includeWarfs(Staff $staff) {
    return $this->resource($staff->warfs, WarfsTransformer::class);
}

I do think, however, that this is a bit counter-intuitive to have to specify the transformer twice. I'll look into changing it

Yes!
This works.
Thanks!


FAQ: Typo in #check_in_qr_warning

Where to find the issue
Questions and answers about the warning:
https://www.coronawarn.app/en/faq/#check_in_qr_warning
Section
Can this information be voluntarily communicated to the health authority? If so, what information is flowing?
Describe the issue
There is an extra character "N" at the beginning of the sentence:
"NAfter a red tile warning (high risk) you should quarantine and have a PCR test taken immediately."
Suggested change
In https://github.com/corona-warn-app/cwa-website/blob/master/src/data/faq.json change the sentence to
"After a red tile warning (high risk) you should quarantine and have a PCR test taken immediately."
by removing the character "N".
Perhaps you have other planned updates for Event Check-In? If not, please let me know and I will create a PR for this typo.

I created PR #1122 to clean up this typo.

@MikeMcC399 Thanks.


add: Documentation  Content

Populate the following component:
src/documentation/GettingStartedContent.js
This section should include:
Outline the steps needed to set up the project.
Explain how to run the project locally.
Provide a few simple examples demonstrating how to use the project.
Address common issues or errors that users might encounter during the setup process.
Encourage users to contribute to the project.
have fun :)

Hi,
I am a newbie to GitHub and technical documentation.
I am looking for beginner's projects to which I can contribute.
I took a look at this one and also have installed all the necessary prerequisites.
I would love to explore further and contribute to this project.
However, I have one question:
-I tried to run the project using the link https://curtis-thomas.github.io/
For every API, it asks for the base URL and endpoint. Where do I get them to run the APIs?
Kindly clarify this. It would help me familiarize myself with the project and contribute to its documentation.
Thanks,
Mamatha

Hi @MamathaKarapanahalli and welcome!
The current live example is reachable through:
https://curtis-thomas.github.io/free-api-list-with-react/
Currently, only the categories with a blue button background have any content added.

The Base URL and Endpoint can be found below the text box.
Let me know if this is clear,
and if you want this issue assigned to you please also let me know :)

Hi @Curtis-Thomas ,
I would like to mention that as JS is new to me, it might take a bit longer than usual to learn and complete the work.
If that's fine, please assign it to me.
Thanks,
Mamatha

@MamathaKarapanahalli there is no rush.
And thank you :)!

Hi @Curtis-Thomas ,
I tried to add a test change to the getting started content file to see my changes reflect on the git hub page created using my local repository - MamathaKarapanahalli](https://github.com/MamathaKarapanahalli
It initially didn't.
I searched online and did some additional changes to make it happen:

In the package.json file (https://github.com/MamathaKarapanahalli/free-api-list-with-react/blob/main/package.json): I changed the link to homepage.
In the readme.md file (https://github.com/MamathaKarapanahalli/free-api-list-with-react/blob/main/README.md); I changed the link under "Live Demo" section to point it to my git hub page. New link that I put in - https://mamathakarapanahalli.github.io/free-api-list-with-react/.

Even after doing these changes, when I click on live demo link it takes me to your repository git hub page.. do you know why this could happen?
Thanks,
Mamatha

Hi @MamathaKarapanahalli if you have node js installed on your machine and after you have the repo cloned and stored locally.
Using a command line, use the:
'npm start'
command which will run your version of the project :)


Update parity docker image to openethereum

Description
Use open ethereum. If you want to run secret-store until we update it you have to run with the command --secret-store and that will use the parity image.
Is this PR related with an open issue?
Related to Issue #
Types of changes

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

Checklist:

[ ] Follows the code style of this project.
[ ] Tests Cover Changes
[ ] Documentation

Integration tests working with sdk-java. Nice work


KeyAlgorithm :

When I want to use KeyAlgorithm.ES512 like that
                var privateKey = KeyFactory.NewKey(KeyAlgorithm.ES512);
                var cert = await orderContext.Generate(new CsrInfo
                {
                    CountryName = certificateInfo.CountryName,

A 400 bad request is returned :
{
  "type": "urn:ietf:params:acme:error:malformed",
  "detail": "Error finalizing order :: invalid public key in CSR: ECDSA curve P-521 not allowed",
  "status": 400
}

Only RS256 works but this algorithm is too weak.
Anybody is able to use a stronger algorithm ?
thanks

Hi @davidverriere , this is controlled by LE.
Locking at boulder's check for CSR key, I believe ES384 would work.

Thanks for your answer.
Indeed ES384 works.


Can't run unit test in CI environment (GitHub action)

TypeError: Cannot read property 'options' of undefined
I'm unable to run vue test utils in CI environment (GitHub action). I saw this issue from a while back (different version but looks like a similar issue?) but sync: false isn't an option anymore.
Steps to reproduce

Install the most recent @next versions of vue-jest and @vue/test-utils
Use the below setup
Create a simple unit test
Works locally
Fails in CI

Expected behaviour
Tests run the same way they do locally
Actual behaviour
Tests work locally but not in CI
Possible Solution
I think my CI test environment might not be configured correctly but I don't know what is wrong.
Here's the full error:
 Run yarn test:unit
8s
##[error]Process completed with exit code 1.
Run yarn test:unit
yarn run v1.22.4
$ jest
FAIL src/apps/FrontDesk/FrontDesk.spec.ts
  ● Test suite failed to run

    TypeError: Cannot read property 'options' of undefined

      at getTsJestConfig (node_modules/vue-jest/lib/utils.js:71:45)
      at processTemplate (node_modules/vue-jest/lib/process.js:73:20)
      at Object.module.exports [as process] (node_modules/vue-jest/lib/process.js:107:26)
      at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:463:35)
      at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:568:40)
      at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:606:25)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        6.696 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
##[error]Process completed with exit code 1.

versions
"@babel/node": "^7.10.5",
"@babel/preset-env": "^7.11.0",
"@types/jest": "^26.0.10",
"babel-jest": "^26.3.0",
"@vue/test-utils": "^2.0.0-beta.3",
"ts-jest": "^26.3.0",
"jest": "^26.4.2",
"vue-jest": "^5.0.0-alpha.3"

Component to test

<template>

Front Desk

</template>

My test
import { mount, shallowMount } from "@vue/test-utils"
import FrontDesk from "./FrontDesk.vue"

test("uses mounts", async () => {
  const wrapper = mount(FrontDesk, {})
  expect(wrapper.html()).toContain("Front Desk")
})

test("uses shallowMount", async () => {
  const wrapper = shallowMount(FrontDesk, {})
  expect(wrapper.html()).toContain("Front Desk")
})

jest.config.js
module.exports = {
  preset: "ts-jest",
  globals: {},
  testEnvironment: "jsdom",
  transform: {
    "^.+\\.vue$": "vue-jest",
    "^.+\\js$": "babel-jest",
  },
  moduleFileExtensions: ["vue", "js", "json", "jsx", "ts", "tsx", "node"],
}

tsconfig.json
{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "declaration": true,
    "importHelpers": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "lib": ["ESNext", "DOM"],
    "module": "ESNext",
    "moduleResolution": "Node",
    "sourceMap": true,
    "target": "ES6",
    "types": ["jest"]
  },
  "include": ["src"]
}

babel.config.js
module.exports = {
  presets: [
    [
      "@babel/preset-env",
      {
        targets: {
          node: "current",
        },
      },
    ],
  ],
}

nvm - got it working by cherry picking changes from vtu-next-demo

These are the versions that seem to play nicely together
"dependencies": {
    "graphql": "^15.3.0",
    "graphql-tag": "^2.11.0",
    "lodash-es": "^4.17.15",
    "villus": "^1.0.0-alpha.4",
    "vue": "^3.0.0-rc.9",
    "vue-router": "^4.0.0-beta.7"
  },
  "devDependencies": {
    "@babel/node": "^7.10.5",
    "@babel/preset-env": "^7.11.5",
    "@types/jest": "^26.0.12",
    "@types/lodash-es": "^4.17.3",
    "@typescript-eslint/eslint-plugin": "^4.0.1",
    "@typescript-eslint/parser": "^4.0.1",
    "@vue/compiler-sfc": "^3.0.0-rc.9",
    "@vue/eslint-config-prettier": "^6.0.0",
    "@vue/eslint-config-typescript": "^5.1.0",
    "@vue/test-utils": "^2.0.0-beta.3",
    "autoprefixer": "^9.8.6",
    "babel-jest": "^26.3.0",
    "cssnano": "^4.1.10",
    "eslint": "^7.7.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-prettier": "^3.1.4",
    "eslint-plugin-vue": "^7.0.0-beta.3",
    "flush-promises": "^1.0.2",
    "jest": "^26.4.2",
    "postcss-nested": "^4.2.3",
    "prettier": "^2.1.1",
    "prettier-eslint": "^11.0.0",
    "ts-jest": "^25.3.1",
    "tslib": "^2.0.1",
    "typescript": "^3.8.3",
    "vite": "^1.0.0-rc.4",
    "vue-jest": "^5.0.0-alpha.3"
  }


unable to create database using Update-Database.The operation failed because an index or statistics with name 'IX_UserKey' already exists

unable to create database using Update-Database -StartUpProjectName NuGetGallery
getting following error:
The operation failed because an index or statistics with name 'IX_UserKey' already exists on table 'dbo.Credentials'.
I searched for name 'IX_UserKey' in Migration but I don't find it :(

Is that a fresh database?

yes its a fresh new database , cab you provide me sql scripts for the same?

Update-Database should do the trick, it does for me. Can you make sure to run it on an empty database?

I'm doing anything wrong .
in web.config

in package manager console
package source - nuget.org
default project - NuGetGallery
in ssms I have created new empty database - NugetGallery
please guide me

Then Update-Database should do it. Can you run:
Update-Database -Verbose and paste the output?

PM> Update-Database -Verbose
Using StartUp project 'NuGetGallery'.
Using NuGet project 'NuGetGallery'.
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Target database is: 'Gallery.SqlServer' (DataSource: (localdb)\v11.0, Provider: System.Data.SqlClient, Origin: Convention).
No pending explicit migrations.
Applying automatic migration:<PHONE_NUMBER>48109_AutomaticMigration.
CREATE INDEX [IX_UserKey] ON [dbo].Credentials
System.Data.SqlClient.SqlException (0x80131904): The operation failed because an index or statistics with name 'IX_UserKey' already exists on table 'dbo.Credentials'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()    at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<NonQuery>b__0(DbCommand t, DbCommandInterceptionContext1 c)
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func3 operation, TInterceptionContext interceptionContext, Action3 executing, Action3 executed)
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteNonQuery()
at System.Data.Entity.Migrations.DbMigrator.ExecuteSql(MigrationStatement migrationStatement, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.ExecuteSql(MigrationStatement migrationStatement, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsWithinTransaction(IEnumerable1 migrationStatements, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsWithinNewTransaction(IEnumerable1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection)    at System.Data.Entity.Migrations.DbMigrator.<>c__DisplayClass30.<ExecuteStatements>b__2e()    at System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass1.<Execute>b__0()    at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func1 operation)
at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable1 migrationStatements, DbTransaction existingTransaction)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable1 migrationStatements)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.ExecuteStatements(IEnumerable1 migrationStatements)    at System.Data.Entity.Migrations.DbMigrator.ExecuteOperations(String migrationId, VersionedModel targetModel, IEnumerable1 operations, IEnumerable1 systemOperations, Boolean downgrading, Boolean auto)    at System.Data.Entity.Migrations.DbMigrator.AutoMigrate(String migrationId, VersionedModel sourceModel, VersionedModel targetModel, Boolean downgrading)    at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.AutoMigrate(String migrationId, VersionedModel sourceModel, VersionedModel targetModel, Boolean downgrading)    at System.Data.Entity.Migrations.DbMigrator.Upgrade(IEnumerable1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.Upgrade(IEnumerable`1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.DbMigrator.UpdateInternal(String targetMigration)
at System.Data.Entity.Migrations.DbMigrator.<>c__DisplayClassc.b__b()
at System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update(String targetMigration)
at System.Data.Entity.Migrations.Design.ToolingFacade.UpdateRunner.Run()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner)
at System.Data.Entity.Migrations.Design.ToolingFacade.Update(String targetMigration, Boolean force)
at System.Data.Entity.Migrations.UpdateDatabaseCommand.<>c__DisplayClass2.<.ctor>b__0()
at System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command)
ClientConnectionId:0be5ccf7-10b3-46d1-9582-861906169a2a
Error Number:1913,State:1,Class:16
The operation failed because an index or statistics with name 'IX_UserKey' already exists on table 'dbo.Credentials'.

Seems you already have everything you need in the database OR you enabled automatic migrations, which should be off.
The output should not contain Applying automatic migration:<PHONE_NUMBER>48109_AutomaticMigration.
Did you download latest sources from master branch?

yes I have downloaded latest source from master branch (if you suggest any other link plesae provide)
yes i have already on automatic migration from following
public MigrationsConfiguration()
{
AutomaticMigrationsEnabled = true;
}
If I made it false and run PM> Update-Database -Verbose then following output I get.
PM> Update-Database -Verbose
Using StartUp project 'NuGetGallery'.
Using NuGet project 'NuGetGallery'.
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Target database is: 'Gallery.SqlServer' (DataSource: (localdb)\v11.0, Provider: System.Data.SqlClient, Origin: Convention).
No pending explicit migrations.
Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration.
You can use the Add-Migration command to write the pending model changes to a code-based migration.

You may want to clean the database once more.

clean? sorry didn't get you. database is empty

Can you Run Add-Migration "TEST" and then Update-Database?

same issue :(
PM> Add-Migration "TEST"
Re-scaffolding migration 'TEST'.
PM> Update-Database -Verbose
Using StartUp project 'NuGetGallery'.
Using NuGet project 'NuGetGallery'.
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Target database is: 'Gallery.SqlServer' (DataSource: (localdb)\v11.0, Provider: System.Data.SqlClient, Origin: Convention).
Applying explicit migrations: [201510281614599_TEST].
Applying explicit migration:<PHONE_NUMBER>14599_TEST.
CREATE INDEX [IX_UserKey] ON [dbo].Credentials
System.Data.SqlClient.SqlException (0x80131904): The operation failed because an index or statistics with name 'IX_UserKey' already exists on table 'dbo.Credentials'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()    at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<NonQuery>b__0(DbCommand t, DbCommandInterceptionContext1 c)
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func3 operation, TInterceptionContext interceptionContext, Action3 executing, Action3 executed)
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteNonQuery()
at System.Data.Entity.Migrations.DbMigrator.ExecuteSql(MigrationStatement migrationStatement, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.ExecuteSql(MigrationStatement migrationStatement, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsWithinTransaction(IEnumerable1 migrationStatements, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsWithinNewTransaction(IEnumerable1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection)    at System.Data.Entity.Migrations.DbMigrator.<>c__DisplayClass30.<ExecuteStatements>b__2e()    at System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass1.<Execute>b__0()    at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func1 operation)
at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable1 migrationStatements, DbTransaction existingTransaction)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable1 migrationStatements)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.ExecuteStatements(IEnumerable1 migrationStatements)    at System.Data.Entity.Migrations.DbMigrator.ExecuteOperations(String migrationId, VersionedModel targetModel, IEnumerable1 operations, IEnumerable1 systemOperations, Boolean downgrading, Boolean auto)    at System.Data.Entity.Migrations.DbMigrator.ApplyMigration(DbMigration migration, DbMigration lastMigration)    at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.ApplyMigration(DbMigration migration, DbMigration lastMigration)    at System.Data.Entity.Migrations.DbMigrator.Upgrade(IEnumerable1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.Upgrade(IEnumerable`1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.DbMigrator.UpdateInternal(String targetMigration)
at System.Data.Entity.Migrations.DbMigrator.<>c__DisplayClassc.b__b()
at System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update(String targetMigration)
at System.Data.Entity.Migrations.Design.ToolingFacade.UpdateRunner.Run()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner)
at System.Data.Entity.Migrations.Design.ToolingFacade.Update(String targetMigration, Boolean force)
at System.Data.Entity.Migrations.UpdateDatabaseCommand.<>c__DisplayClass2.<.ctor>b__0()
at System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command)
ClientConnectionId:f87e6195-3461-4331-86bf-a7ebc62bbb04
Error Number:1913,State:1,Class:16
The operation failed because an index or statistics with name 'IX_UserKey' already exists on table 'dbo.Credentials'.
PM>

Any tables in your database now? Looks like the yshould be there.

No :( not a single table . why so? i'm wrong any where ? connection string ?

No idea to be honest, this should work smoothly, at least last time I tried it a few days back.
Can you try running the target migration right before "TEST" (something with deletes if I recall correctly)
Update-Database -TargetMigration "name of that migration"

ok let me try will update you thanks , if you got to remember anything that i missed here please update me

Bingo Tables created but error is still same , now what to do?

Just run the solution if the tables are there :)

Another issue not getting confirmation email :(

Check the readme, it should be in App_Data :)

awesome working great, is there a bulk upload?

nuget push * apikey -source http://nuget.localtest.me/api/package

thanks

what is this http://nuget.localtest.me/api/package??

The URL to where your gallery is running and where you can push packages.

it must be the name of my azure website name where I have hosted "NugetGallery" Web Project? and from where I get apikey  , I just tried with key="reCAPTCHA::PrivateKey" value inside apikey but getting  error
Failed to process request. 'The specified API key is invalid or does not have pe
rmission to access the specified package.'.
The remote server returned an error: (403) Forbidden..
My full execute command -
C:\MyPackages\nuget push * value_from_reCAPTCHA::PrivateKey -source http://mydemowebsite.azurewebsites.net/

Got you thanks

this is not working nuget push * myapikey -source http://nuget.localtest.me/api/package
but this is working nuget push * bfb53992-6518-4c93-9c86-54e647c4d523 -source http://myazurewebsite

should I use " http://nuget.localtest.me/api/package" or my azure website?

where exactly my .nupkg files uploaded ? where to check in FTP?


bug: textobject-based tag block selection breaks with mini.ai enabled

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.9.0
Operating system/version
Ubuntu 20.04
Describe the bug
With mini.ai enabled, textobject-based tag selection in XML file selects unexpected area but not the text between the pair of tags that contain underscore.
Steps To Reproduce

Open a XML file
Move the cursor to any text between a pair of tags that contain underscore, e.g. <first_name>First Name</first_name>
Press vit

Expected Behavior
The text between the pair of tags gets selected.
Repro
No response

Hi, @abeldekat, looks pretty similar. If it is confirmed a bug of mini.ai, this plugin would better be disabled by default.

I also think the issue should be registered in mini.ai.
I don't think the plugin should be disabled by default, as @madjxatw suggested. There are several ways to disable the plugin on a per buffer/ per filetype basis, described here.
For example, a user can create file after/ftplugin/xml.lua, containing:
vim.b.miniai_disable = true

@madjxatw
In my opinion, this is not a buggy plugin. Its limitations are clearly defined in the docs. See also this comment.

As @abeldekat noted, the maintainer of the plugin himself has clarified his position as to expect certain false positives since Lua pattern regex engine is quite limited. This is due to the language not being able to offer the more granual control as other languages offer in regards to regex engines. You are welcome to open an issue at the plugin's repo to ask the maintainer if something more can be done in order to solve this issue. Asking to disable this plugin is also a valid opinion of yours, but it's up to the maintainer of Lazyvim to decide on this since he has more experience in regards to Neovim and its ecosystem programming environment. You can easily just disable the plugin in your own configuration if it doesn't meet your needs. Simple as that.

A framework that are supposed to work out of box should not bring wrong and unexpected behaviors, not every one has time or is experienced enough to dig into the configuration. The introduction of a third-party plugin with obvious limitation that leads to errors should be documented or even be replaced. I’ve never asked anyone to disable it but only suggested it be disabled. Just because I could simply solve this issue by myself doesn't mean I have no right to speak out my opinion on this issue.

Who said anything about you not having any right to speak out your opinion? I stated in my previous comment that your opinion is perfectly valid and in the end it's up to the maintainer of Lazyvim to decide what to do. Where exactly were you offended?

My definition of a bug is different from some else, that's all.

Quoting my reply to @madjxatw:

I don't think the plugin should be disabled by default, as @madjxatw suggested

For completeness: I changed my mind. My preference would be to have treesitter-textobjects fully configured in the core of LazyVim, and opt-in to mini.ai in extras.
Mini.ai is a high quality, powerful plugin. However, "it enhances some builtin textobjects".
There are benefits to this approach, but also some disadvantages, as stated by the author.
I was considering a pull request for LazyVim, preventing mini.ai from taking over the tag textobject:
{
    "echasnovski/mini.ai",
    enabled = false,
    opts = function(_, opts)
      opts.custom_textobjects = {
        t = false, -- fallback to neovim for tags
      }
    end,
}

That would fix this issue, and also the issue referenced here
However, there might be more enhancements up for debate. As an example, consider:
local msg = "hello world"
Position the cursor on the "w", and press vi". Now, the cursor is positioned on the first word, the letter "h". Without mini.ai, the cursor would be positioned on the last word, the letter "d".

@abeldekat What you're suggesting is another topic overall. As far as this issue is concerned you can look at the code here for how the tag is defined. It only considers alphanumeric characters for the tag's name. I would imagine that the author only took into consideration the naming conventions for html tags and not xml where underscores are allowed. I don't know if it could be easily extended for taking into consideration xml tags naming convention (I believe it could by changing the lua pattern to include underscores but am unsure if this could cause additional complications to the behavior of the plugin). Still this issue should be opened in the mini.ai repo and maybe it could be resolved. Why are you passing opts since you're disabling mini.ai in your snippet?

@dpetka2001,
Disabling mini.ai in my snippet, that's a typo which I will correct. Thanks!
I gave an opinion in earlier comments. That's the only reason I wrote down my new thoughts.
I still agree that the issue should be opened in the mini.ai repo.

@abeldekat I totally agree with your opinion. For clarification, I have also disabled mini.ai and prefer treesitter's text-objects and if you make a PR for moving mini.ai to extras I'm totally for it since I don't use it anyway since some time. What rubs me wrong in this specific case, is disregarding the work that an author puts in by calling the plugin buggy (as if every software doesn't have any bugs and works exactly as the users expect) and not making an effort to open an issue at the plugin's repo in case it could be fixed.

@dpetka2001,
I will open the issue in the mini.ai repo.
Regarding the 'buggy' word, I agree completely. However, I would say, let bygones be bygones in that regard.
In case Folke agrees, I would be happy to provide a pr.

I created the issue in mini.ai's repo.

I created the issue in mini.ai's repo.

And I closed it. Tag textobject in 'mini.ai' was never intended as a full proof way to select tags, but more as a (fairly limited) enhancement of built-in textobject. For more accuracy I'd suggest using queries from 'nvim-treesitter-textobject' as described in the comment.

... for me a plugin is not buggy only if at worst it just doesn't work on its own without breaking other normal functionalities. In this case, if pressing vit/dit/cit does nothing rather than operating on wrong selection, then I could consider it as a limitation.

Operating on the side of caution and do nothing instead of doing something wrong was the idea here. And leads to less annoying surprises in my opinion.

An update regarding the issue in mini.ai:
@echasnovski discovered that the nvim-treesitter-textobjects plugin does not have queries for the 'xml' filetype.
Thus, the following will not fix the issue at hand:
after/ftplugin/xml.lua:
local spec_treesitter = require('mini.ai').gen_spec.treesitter
vim.b.miniai_config = {
  custom_textobjects = {
    t = spec_treesitter({ a =<EMAIL_ADDRESS>i =<EMAIL_ADDRESS>}),
  },
}

He created a PR in the repository I provided in order to reproduce the problem, containing the necessary query:
after/queries/xml/textobjects.scm:
(element (content) @function.inner) @function.outer

Many thanks, @echasnovski!

Tnx for the update @abeldekat. Very diligent as always :smile:
And I really loved your interactions and inspirational talk at mini.ai's issue as well. Keep up the good work.

Hi @dpetka2001,
I created the PR for LazyVim.

Moving a full plugin to extras only because it doesn't work for special cases of tag textobject is a bit too much. 'mini.ai' provides a lot more than just enhanced built-in textobjects. Fixing particular textobjects users don't like is the correct path here.
Positioning cursor on the start of selection makes it more aligned with how it is done when applied an operator. See the paragraph after :h operator-doubled.

Hi @echasnovski,
This PR is not about moving the plugin because of the special cases and the preferences of users.
In the end, the main motivation is the enhanced builtin textobjects, because they change core builtin functionality.
In my personal opinion, for a setup like LazyVim, that should be opt-in.
This PR can still be refused by Folke. I would understand that.
Just to emphasize: I created this PR and I think it's a great plugin.

The "If plugin changes built-in functionality then it should be opt-in" statement casts a very broad net: most of UI ones ('noice.nvim', 'nvim-notify', 'bufferline.nvim', 'lualine.nvim', 'which-key.nvim'), 'flash.nvim',some other editing ones ('mini.pairs'), even 'lazy.nvim' itself. I can not disagree more with this.
Yes, sure, Folke is the one to decide here when he returns.

I honestly don't know what the correct solution would be in this case, as it seems to me like both sides have their own merit. In the end, it's really easy for anyone to disable any plugin they want in their personal spec. Let us wait for Folke's decision on this, whatever it may be without bad feelings about the outcome.

@dpetka2001, thanks!
@echasnovski, please allow me to rephrase the following line:

In the end, the main motivation is the enhanced builtin textobjects, because they change core builtin functionality.

I did not intend to cast a very broad net.
That line should be:
In the end, the main motivation is the enhanced builtin textobjects, because of the changes to the core behavior of neovim's textobjects. In my personal opinion, for a setup like LazyVim, that should be opt-in.

Hello @echasnovski,
I implemented another approach as well, only disabling the tag textobject defined in mini.ai.
Your input would be highly appreciated!

Hi @echasnovski,
Thanks for the feedback!
As discussed, for the tree-sitter route, a PR is needed for plugin nvim-treesitter-textobjects, providing an xml query.
I am wondering: Why isn't it there already? I noted that queries for json are also not present. I see a lot of programming languages, but no "data specifications", like json or xml.
I implemented the tree-sitter route as a poc in my repo, using a lazyvim starter, adding the query and the t textobject.
LazyVim's treesitter spec also needed to be extended to always install xml
File test.xml, vit, now works as expected.
But, as xml is a data specification, it will occur and be manipulated in other filetypes as well.
test_contains_xml.lua:
local M = {}

M.use_xml_inside_lua = function()
  vim.print("Containing xml: <first_name>First Name</first_name>")
end

return M

Now, the same vit selects the whole line. Default behaviour: "first name"
If this inconsistency cannot be tackled, perhaps doing nothing for the tag textobject is a better approach, allowing the user to weigh the benefits and downsides of opting-in to that part of mini.ai.
I hope you are willing to once again provide feedback, and correct any errors in my reasoning!

But, as xml is a data specification, it will occur and be manipulated in other filetypes as well.

Yes, the downside of tree-sitter route is that it doesn't work in strings and comments. If that is a concern, there is also (first suggested solution in my linked comment) a more refined specification for tag text object to also respect punctuation in tag name.

mini.ai is one of the best Neovim plugins out there so it will stay as a core LazyVim plugin.
I just pushed an update with the more accurate lua pattern for tags as provided by @echasnovski
This solves op's issue. I've looked into using treesitter instead, but that's not really doable at this point, since nvim-treesitter-text-objects does not provide objects for tags.

I just pushed an update with the more accurate lua pattern for tags as provided by @echasnovski This solves op's issue. I've looked into using treesitter instead, but that's not really doable at this point, since nvim-treesitter-text-objects does not provide objects for tags.

Technically it seems to use @function.outer and @function.inner for those in appropriate languages.

For some it could work, but it didnt work well for tsx etc.
Besides, function,outer and inner is already mapped in mini,ai to af and if, so a user can use that instead of it and at


1.17.0 release

cc @envoyproxy/maintainers to have a look through the release notes.

cc @envoyproxy/maintainers to have a look through the release notes.


Toggle the filter tree for the trace overview

This commit creates a hamburger menu for the trace overview that will allow users to toggle the filter tree and select a different output view. The hamburger menu replaces the existing cog icon that is used for output source selection. A new state property is added to the AbstractTreeOutputComponent that allows showing and hiding the filter tree. The overview then toggles this state property.
Fix #787

Awesome! Could you add the name of the selected source to the title of the overview (the text that shows on the vertical bar on the left of the chart)? So, after the user clicks on the hamburger button, clicks on "Select source output" and chooses for example "CPU Usage", the title would change from "Overview" to "Overview - CPU Usage". If that is too much work we can leave it to be done on another ticket, as this was not specified in the requirements.

This can be done in another PR.


Fix travis-ci build status url

After switch to new repository owner, we also need to switch travis-ci build status url.

Thanks!