azd up fails with AzureDeveloperCliCredential.get_token failed

I am trying to deploy this app using azd cli following instructions provided in README_azd.md
But getting following error
Running "auth_init.py"
Creating application registration
AzureDeveloperCliCredential.get_token failed: {"type":"consoleMessage","timestamp":"2023-10-17T16:00:38.120732-03:00","data":{"message":"resolving the Azure Directory from system environment (AZURE_SUBSCRIPTION_ID): failed to resolve user access to subscription with ID '54####51a-****-****-b067-*******'. If you recently gained access to this subscription, run `azd auth login` again to reload subscriptions.\nOtherwise, visit this subscription in Azure Portal using the browser, then run `azd auth login` \n"}}

Traceback (most recent call last):
  File "/Users/user/Projects/sample-app-aoai-chatGPT/.venv/lib/python3.11/site-packages/azure/identity/_credentials/azd_cli.py", line 220, in _run_command
    return subprocess.check_output(args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/bin/sh', '-c', 'azd auth token --output json --scope https://graph.microsoft.com/.default']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/user/Projects/sample-app-aoai-chatGPT/./scripts/auth_init.py", line 86, in <module>
    app_id, client_id = create_application(credential)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/sample-app-aoai-chatGPT/./scripts/auth_init.py", line 31, in create_application
    headers=get_auth_headers(credential),
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/sample-app-aoai-chatGPT/./scripts/auth_init.py", line 11, in get_auth_headers
    + credential.get_token("https://graph.microsoft.com/.default").token
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/sample-app-aoai-chatGPT/.venv/lib/python3.11/site-packages/azure/identity/_internal/decorators.py", line 33, in wrapper
    token = fn(*args, **kwargs)
            ^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/sample-app-aoai-chatGPT/.venv/lib/python3.11/site-packages/azure/identity/_credentials/azd_cli.py", line 134, in get_token
    output = _run_command(command, self._process_timeout)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/sample-app-aoai-chatGPT/.venv/lib/python3.11/site-packages/azure/identity/_credentials/azd_cli.py", line 236, in _run_command
    raise ClientAuthenticationError(message=message) from ex
azure.core.exceptions.ClientAuthenticationError: {"type":"consoleMessage","timestamp":"2023-10-17T16:00:38.120732-03:00","data":{"message":"resolving the Azure Directory from system environment (AZURE_SUBSCRIPTION_ID): failed to resolve user access to subscription with ID '54####51a-****-****-b067-*******'. If you recently gained access to this subscription, run `azd auth login` again to reload subscriptions.\nOtherwise, visit this subscription in Azure Portal using the browser, then run `azd auth login` \n"}}

ERROR: failed running pre hooks: 'preprovision' hook failed with exit code: '1', Path: './scripts/auth_init.sh'. : exit code: 1
WARNING: your version of azd is out of date, you have 1.4.1 and the latest version is 1.4.2

I did run azd auth login and then azd up multiple times.
What I am missing here ?

Hi, may I ask how did you solve it? Thank you

getting the same error.


Regex initial search

From now on use master to be sync

It looks like this PR was opened against the mozilla/pdf.js repo by mistake, since it (based on a cursory look) mostly contains commits that customize the appearance/functionally of the default viewer. Hence I'm closing this as invalid.


Allow loading of previously created segmentations

In the case that segmentations were previously created without using this extension, it would be nice if the users could load these segmentations for further modification through the GUI.

check whether the existing labels are compatible with the label configuration
load the segments in the correct colour

Tested current version does not work even if I add _v01 at the end of segmentation files and go in the config file.

Issue 114 is a pre-requisite to solve this issue. Issue 114 fixed.


Corrected some grammar

I corrected some grammar issues and some text parts that weren't totally translated

[X ] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[X] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)

Hi,
Please follow the checklist, for our maintainers to take your pull request seriously. Thanks :)
Mods,
You may close this invalid unless guidelines are followed.


AudioKit Requesting Microphone Access

I just updated AudioKit to the latest version. Now when I run my app it is popping up a dialog requesting microphone access. I am not using the microphone in any of my code. As far as I can remember the previous version I was using never requested Microphone Access.
I am wondering why it is requesting microphone access when I am in fact not using the microphone.

Is there any reference to AKMicrophone in any of your code?


Too many deployment after kubectl appfy yaml

/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
After following the serverless guide[] and installing everything, I tried to deploy a Hugging Face model[https://kserve.github.io/website/latest/modelserving/v1beta1/llm/huggingface/text_generation/].
However, after submitting the kubectl apply, I noticed that there were many Deployments created.
What could be the reason for this?
What did you expect to happen:
What's the InferenceService yaml:
[To help us debug please run kubectl get isvc $name -n $namespace -oyaml and paste the output]
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"serving.kserve.io/v1beta1","kind":"InferenceService","metadata":{"annotations":{},"name":"huggingface-llama3","namespace":"kserve"},"spec":{"predictor":{"model":{"args":["--model_name=llama3","--model_id=meta-llama/meta-llama-3-8b-instruct"],"modelFormat":{"name":"huggingface"},"resources":{"limits":{"cpu":"6","memory":"16Gi","nvidia.com/gpu":"1"},"requests":{"cpu":"6","memory":"16Gi","nvidia.com/gpu":"1"}}}}}}
creationTimestamp: "2024-08-08T03:46:13Z"
finalizers:

inferenceservice.finalizers
generation: 1
name: huggingface-llama3
namespace: kserve
resourceVersion: "1202601"
uid: 3c3539a0-e864-4aba-a50e-a77274ddc6ea
spec:
predictor:
model:
args:

--model_name=llama3
--model_id=meta-llama/meta-llama-3-8b-instruct
modelFormat:
name: huggingface
name: ""
resources:
limits:
cpu: "6"
memory: 16Gi
nvidia.com/gpu: "1"
requests:
cpu: "6"
memory: 16Gi
nvidia.com/gpu: "1"
status:
components:
predictor:
latestCreatedRevision: huggingface-llama3-predictor-default-01094
conditions:

lastTransitionTime: "2024-08-08T03:46:15Z"
reason: PredictorConfigurationReady not ready
severity: Info
status: Unknown
type: LatestDeploymentReady
lastTransitionTime: "2024-08-08T03:51:11Z"
severity: Info
status: Unknown
type: PredictorConfigurationReady
lastTransitionTime: "2024-08-08T03:51:10Z"
message: Configuration "huggingface-llama3-predictor-default" is waiting for a
Revision to become ready.
reason: RevisionMissing
status: Unknown
type: PredictorReady
lastTransitionTime: "2024-08-08T03:46:14Z"
message: Configuration "huggingface-llama3-predictor-default" is waiting for a
Revision to become ready.
reason: RevisionMissing
severity: Info
status: Unknown
type: PredictorRouteReady
lastTransitionTime: "2024-08-08T03:51:10Z"
message: Configuration "huggingface-llama3-predictor-default" is waiting for a
Revision to become ready.
reason: RevisionMissing
status: Unknown
type: Ready
lastTransitionTime: "2024-08-08T03:46:15Z"
reason: PredictorRouteReady not ready
severity: Info
status: Unknown
type: RoutesReady
modelStatus:
states:
activeModelState: ""
targetModelState: Pending
transitionStatus: InProgress
observedGeneration: 1442

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Istio Version:v1.22.3
Knative Version:v1.15.2
KServe Version: 0.13.0
Kubeflow version:
Cloud Environment:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]  k8s_istio
Minikube/Kind version:  I use kubeadm, v1.30.3
Kubernetes version: (use kubectl version): v1.30.3
OS (e.g. from /etc/os-release):  Ubuntu 20.04.6 LTS

I've noticed that revisions are being continuously created. What could be causing this?

@deniyes Is there anything that is trying to modify the deployment or Knative service ? This may trigger the reconciliation and going in endless loop

@deniyes Is there anything that is trying to modify the deployment or Knative service ? This may trigger the reconciliation and going in endless loop

Thx.
I had reinstall the kserve, and the issue was fixed.

Closing the issue based on the above comment.


Overlay view is not working in landscape

Hi
Please help me how to get the position of detected objects.
Thanks

Duplicates of https://github.com/szaza/android-yolo-v2/issues/16.


Notification not received / no sound

Description:

There is an issue with the REST API, the notification is not received or the sound isn't triggered
It seems to be caused by multiple locale in heading and global locale in contents
Tested on ANDROID 5.1 and 8.0
Environment

version 3.2.6
yarn / react-native-link
Last documentation followed

Steps to Reproduce Issue:

Initialize react-native-one-signal
Follwing the example, set you device to french locale (or the one missing in contents but present in heading)
Call the REST API with the following JSON content

Not working
   "headings":{
      "en": "HELLO",
      "fr":"BONJOUR"
   },
   "contents":{
      "en":"Hi"
   },

Working
   "headings":{
      "en": "HELLO",
      "fr":"BONJOUR"
   },
   "contents":{
      "en":"Hi",
      "fr":"Salut"
   },

@nicovak That is strange, I am not able to reproduce this issue. Using your contents/headings from the example that doesn't work for you seems to work fine for me.
Are you using a custom sound?

@Nightsd01  Thank you for your support.
Yes I am using a custom sound. Here is the full request without the data key:
As I said before, the phone must be on the fr locale
{
   "app_id":"**********************",
   "headings":{
      "en":"⚠ **********************",
      "fr":"⚠ **********************"
   },
   "contents":{
      "en":"**********************",
   },
   "include_player_ids":[
      "**********************"
   ],
   "small_icon":"**********************",
   "large_icon":"**********************",
   "priority":10,
   "android_sound":"tone_01",
   "android_led_color":"FF331855",
   "ios_sound":"tone_01.wav",
   }
}


Can not run the cloudformation in AWS China cn-north-1 region

Dear,
Does anyone encounter the below issue when using the cloudformation to deployment?
Template format error: Unrecognized resource types: [AWS::Cognito::UserPool, AWS::Cognito::UserPoolDomain, AWS::Cognito::UserPoolUser, AWS::Cognito::UserPoolClient]
When I try to use the designer, there is no Cognito type at the left navigation, what should I do if I want to run this in AWS China region?
Many Thanks !

Hello. If you are trying to replicate S3 data in AWS CN region. please go ahead with the S3 Plugin. The UI portal cannot be deployed in China regions now. This feature will be included in next major release.

Please use the CloudFormation launch button in For China Partition.

Hi JoeShi,
This helps a lot. Thanks.


Fixing a couple null descriptions

Closes #1659
Also fixes the description for an article queued on 11/5
Also captures the query for all pages on the site that don't have descriptions - didn't want to lose that query that's documented in the issue.

Thanks!


delta support

In #809 I asked a question how delta works in this client. I did some research myself and it seemed the delta functionality is missing. This PR is to add it. I don't know the code base good enough to see if it's complete. It works for my usecase.
I noticed that there is a possibility its delta+resource. In that case resource is preferred.

The code looks good and all tests pass. Thank you for your contribution.


Fix ValidationFailure ctor parameter name

ValidationFailure ctor param 'error' => 'errorMessage' to match property
name. This allows serialization frameworks like Newtonsoft.Json that
rely on name matching to properly deserialize the type.
I have confirmed that the fix allows ValidationFailure to be automatically deserialized by Newtonsoft.Json 9.x
Fixes #645

Hey @JeremySkinner, what's your release schedule like? I'd love to see this released as it would fix issues that I'm seeing too.
Thanks!

I released 7.3 this week - not planning another release until early next year (unless there are any emergency issues that come up that need fixing). Really I want to wait until asp.net Core 2.1 is released before releasing 7.4 as I want to take a dependency on that, but I'm not sure when that will be yet.

Okay, thanks, looking forward to the release.

I had to push out 7.3.2 with a fix for the aspnet core integration, and included this fix in the release. It should appear on nuget shortly.

Awesome, thanks for the update!


Prevent 404.html from prettifying into 404/index.html

Restore @realchaseadams's commit 348e123
"Force UglyUrls option to force 404.html file name"
which got lost after some refactoring (commit 8db3c0b).
Remove the equivalent "force UglyUrls" code for sitemap.xml
because the refactored code now calls renderAndWriteXML()
which uses WriteDestFile() which does not prettify a filename.
Fixes #939

Merged in c4c19ad
Works great.


Changelog in new zzo-docs?

I've come back some time to update the theme on my blog, but I had a problem to find what new features/incompatible changes were introduced and what should I adjust in the configuration.
In this commit you seemed to remove information about new features from README. I visited https://zzo-docs.vercel.app/zzo , but I wasn't able to find there some kind of changelog.
I wonder is there any better way right now to get know about new things than dig up the commits looking for the [new feature] tag?

I'll update the doc this weekend

I added change log page in the document
https://zzo-docs.vercel.app/zzo/changelog/
Actually, nothing much added.
I omitted minimal fixes.

Thanks @zzossig!
Reading that, I've come across the Netlify Forms support, which I didn't know before.


[RFE] Implement pause after delete

Is your feature request related to a problem? Please describe.
Currently, if I run a job with churn, kube-burner will:

Create all the objects initially
Delete churn-percent iterations
Immediately Create churn-percent iterations
Wait for churn-delay before next delete
Repeat 2-4 for churn-period.

Sometimes the delete phase causes residual cluster activity that carries on past the point when namespaces are terminated and kube-burner carries on with its operations.
This residual activity can negatively affect the next create cycle.
Describe the solution you'd like
In situations like this, a user may wish to set a delay to wait so their creation latencies are not affected by this residual garbage collection.
Describe alternatives you've considered
There aren't any fields that offer this functionality.
jobPause comes in outside of the inner churn loop, and churn-delay takes affect in the inner churn loop after a delete step and a create step.

Confirmed jobPause does not cut it for this case.
# kube-burner ocp cluster-density-v2 --iterations=60 --churn-duration=2m --churn-delay=0s --gc=false
...
time="2023-08-30 15:53:29" level=info msg="networkpolicies found: 60 Expected: 60" file="utils.go:119"
time="2023-08-30 15:53:29" level=info msg="Deleting namespaces with label churndelete=delete" file="namespaces.go:64"
time="2023-08-30 15:53:29" level=info msg="Waiting for namespaces to be definitely deleted" file="namespaces.go:147"
time="2023-08-30 15:54:18" level=info msg="Re-creating deleted objects" file="create.go:320"
time="2023-08-30 15:54:18" level=info msg="Running job cluster-density-v2" file="create.go:103"
...
time="2023-08-30 15:54:49" level=info msg="Sleeping for 0s" file="create.go:323"
time="2023-08-30 15:54:49" level=info msg="Deleting namespaces with label churndelete=delete" file="namespaces.go:64"
time="2023-08-30 15:54:49" level=info msg="Waiting for namespaces to be definitely deleted" file="namespaces.go:147"
time="2023-08-30 15:55:38" level=info msg="Re-creating deleted objects" file="create.go:320"
time="2023-08-30 15:55:38" level=info msg="Running job cluster-density-v2" file="create.go:103"
...
time="2023-08-30 15:56:10" level=info msg="Sleeping for 0s" file="create.go:323"
time="2023-08-30 15:56:10" level=info msg="Churn job complete" file="create.go:289"
time="2023-08-30 15:56:10" level=info msg="Pausing for 5s before finishing job" file="job.go:156"
time="2023-08-30 15:56:15" level=info msg="Job cluster-density-v2 took 7m36s" file="job.go:173"


Kubeflow dashboard issue on AWS with latest/stable: v1.18.1

I am trying to setup kubeflow on latest/stable: v1.18.1
Followed these instructions for setup on AWS EC2 instance (Ubuntu 18.04 LTS)
https://ubuntu.com/kubeflow/install
I am able to access parts of kubeflow UI from my laptop with the below commands
kubectl port-forward -n kubeflow service/kubeflow-dashboard 9000:8082 --address=<IP_ADDRESS> &
kubectl port-forward -n kubeflow service/pipelines-ui 9001:3000 --address=<IP_ADDRESS> &

I provided mode details here https://github.com/kubeflow/manifests/issues/974#issuecomment-612546805  (The user here uses kfctl and in my case microk8s uses juju)
I am looking for documentation about how setup and access kubeflow UI from my laptop
I looked at #713, but the instructions are not clear.
Appreciate if you could provide more detailed setup instructions

I trust the inbound and outbound protocols and ports are correctly set on AWS.

@ktsakalozos
Yes, I opened wide range of ports for my home IPs. I am able to connect to things like apache server and nginx server

@paravatha: The dashboard should be available on port 80. When you're SSHed into the AWS instance, can you successfully get a response with curl localhost:80? If so, after setting up security groups to allow that, can you access the dashboard via the public IP?

@knkski getting this error.
$ curl localhost:80

<title>404 Not Found</title>

404 Not Found

openresty/<IP_ADDRESS>

Do you want me to perform the steps mentioned on ? https://github.com/ubuntu/microk8s/issues/713#issuecomment-612529637

the ingress seems fine to me
$ kubectl get all -n ingress
I0502 00:41:52.339269   28473 request.go:621] Throttling request took 1.193625589s, request: GET:https://<IP_ADDRESS>:16443/apis/kubeflow.org/v1beta1?timeout=32s
I0502 00:42:03.139260   28473 request.go:621] Throttling request took 1.193870668s, request: GET:https://<IP_ADDRESS>:16443/apis/apiregistration.k8s.io/v1beta1?timeout=32s
I0502 00:42:13.539146   28473 request.go:621] Throttling request took 1.192369381s, request: GET:https://<IP_ADDRESS>:16443/apis/dex.coreos.com/v1?timeout=32s
I0502 00:42:23.939196   28473 request.go:621] Throttling request took 1.193673045s, request: GET:https://<IP_ADDRESS>:16443/apis/kubeflow.org/v1alpha1?timeout=32s
NAME                                          READY   STATUS    RESTARTS   AGE
pod/nginx-ingress-microk8s-controller-pqsfk   1/1     Running   0          39m

NAME                                               DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/nginx-ingress-microk8s-controller   1         1         1       1            1           <none>          39m

In my environment microk8s (1378) also reproduces.
It is also strange behavior for localhost:443
for port 443 it logged on nginx-ingress.
for port 80 I cannot find logged component.
$ curl localhost:80

<title>404 Not Found</title>

404 Not Found

openresty/<IP_ADDRESS>

$ curl localhost:443

<title>400 The plain HTTP request was sent to HTTPS port</title>

400 Bad Request

The plain HTTP request was sent to HTTPS port

openresty/<IP_ADDRESS>

$ kubectl logs nginx-ingress-microk8s-controller-w6nnt -n ingress
<IP_ADDRESS> - [<IP_ADDRESS>] - - [02/May/2020:10:06:49 +0000] "GET / HTTP/1.1" 400 261 "-" "curl/7.65.3" 81 0.000 [] [] - - - - d14bcc775fc58e6e50c4a20114032acc
<IP_ADDRESS> - [<IP_ADDRESS>] - - [02/May/2020:11:01:38 +0000] "GET / HTTP/1.1" 400 261 "-" "curl/7.65.3" 77 0.000 [] [] - - - - 5754b77f3d2f3b55f01dbf8c629522c2
<IP_ADDRESS> - [<IP_ADDRESS>] - - [02/May/2020:11:06:00 +0000] "GET / HTTP/1.1" 400 261 "-" "curl/7.65.3" 77 0.000 [] [] - - - - cf6823db4c3eeb78c8c79fa6f5755b87
<IP_ADDRESS> - [<IP_ADDRESS>] - - [02/May/2020:11:07:56 +0000] "GET / HTTP/1.1" 400 261 "-" "curl/7.65.3" 77 0.000 [] [] - - - - 04dd2da061eca666bb19f1a3546562ee

@sakaia: You're getting that error about HTTP request to an HTTPS port because you'll need to specify HTTPS in the curl command:
curl https://localhost:443

If you do that, do you get a response?
@paravatha, same thing for you. Apologies about the bad command earlier, you'll also want to try curl https://localhost:443 instead of curl localhost:80.

If you do that, do you get a response?
still 404

$ curl https://localhost:443 -k

<title>404 Not Found</title>

404 Not Found

openresty/<IP_ADDRESS>

I add kubectl describe and logs for nginx-ingress-microk8s-controller.
Private IP is <IP_ADDRESS>
$ kubectl describe pods nginx-ingress-microk8s-controller-fqkfz -n ingress
Name:         nginx-ingress-microk8s-controller-fqkfz
Namespace:    ingress
Priority:     0
Node:         ip-172-31-24-135/<IP_ADDRESS>
Start Time:   Tue, 05 May 2020 12:48:06 +0000
Labels:       controller-revision-hash=59cb5dd586
              name=nginx-ingress-microk8s
              pod-template-generation=1
Annotations:  <none>
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  DaemonSet/nginx-ingress-microk8s-controller
Containers:
  nginx-ingress-microk8s:
    Container ID:  containerd://8a5fb91e96ce223bd40ab08733bf03e995b36df85a748c79a1209acd17a5bd37
    Image:         quay.io/kubernetes-ingress-controller/nginx-ingress-controller-amd64:0.25.1
    Image ID:      sha256:2b8ed1f2046d4b37c18cca2ecc4f435b6618d2d198c0c8bf617954e863cc5832
    Ports:         80/TCP, 443/TCP
    Host Ports:    80/TCP, 443/TCP
    Args:
      /nginx-ingress-controller
      --configmap=$(POD_NAMESPACE)/nginx-load-balancer-microk8s-conf
      --publish-status-address=<IP_ADDRESS>
    State:          Running
      Started:      Tue, 05 May 2020 12:48:44 +0000
    Ready:          True
    Restart Count:  0
    Liveness:       http-get http://:10254/healthz delay=30s timeout=5s period=10s #success=1 #failure=3
    Environment:
      POD_NAME:       nginx-ingress-microk8s-controller-fqkfz (v1:metadata.name)
      POD_NAMESPACE:  ingress (v1:metadata.namespace)
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from nginx-ingress-microk8s-serviceaccount-token-ltns6 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  nginx-ingress-microk8s-serviceaccount-token-ltns6:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  nginx-ingress-microk8s-serviceaccount-token-ltns6
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/disk-pressure:NoSchedule
                 node.kubernetes.io/memory-pressure:NoSchedule
                 node.kubernetes.io/network-unavailable:NoSchedule
                 node.kubernetes.io/not-ready:NoExecute
                 node.kubernetes.io/pid-pressure:NoSchedule
                 node.kubernetes.io/unreachable:NoExecute
                 node.kubernetes.io/unschedulable:NoSchedule
Events:
  Type    Reason     Age   From                       Message
  ----    ------     ----  ----                       -------
  Normal  Scheduled  36m   default-scheduler          Successfully assigned ingress/nginx-ingress-microk8s-controller-fqkfz to ip-172-31-24-135
  Normal  Pulling    36m   kubelet, ip-172-31-24-135  Pulling image "quay.io/kubernetes-ingress-controller/nginx-ingress-controller-amd64:0.25.1"
  Normal  Pulled     36m   kubelet, ip-172-31-24-135  Successfully pulled image "quay.io/kubernetes-ingress-controller/nginx-ingress-controller-amd64:0.25.1"
  Normal  Created    36m   kubelet, ip-172-31-24-135  Created container nginx-ingress-microk8s
  Normal  Started    36m   kubelet, ip-172-31-24-135  Started container nginx-ingress-microk8s

$kubectl logs nginx-ingress-microk8s-controller-fqkfz -n ingress
-------------------------------------------------------------------------------
NGINX Ingress controller
  Release:       0.25.1
  Build:         git-5179893a9
  Repository:    https://github.com/kubernetes/ingress-nginx/
  nginx version: openresty/<IP_ADDRESS>

-------------------------------------------------------------------------------

W0505 12:48:44.564909       7 flags.go:221] SSL certificate chain completion is disabled (--enable-ssl-chain-completion=false)
nginx version: openresty/<IP_ADDRESS>
W0505 12:48:44.571340       7 client_config.go:541] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0505 12:48:44.571776       7 main.go:183] Creating API client for https://<IP_ADDRESS>:443
I0505 12:48:44.579223       7 main.go:227] Running in Kubernetes cluster version v1.18+ (v1.18.2-41+b5cdb79a4060a3) - git (clean) commit b5cdb79a4060a307d0c8a56a128aadc0da31c5a2 - platform linux/amd64
I0505 12:48:44.819799       7 main.go:102] Created fake certificate with PemFileName: /etc/ingress-controller/ssl/default-fake-certificate.pem
I0505 12:48:44.843133       7 nginx.go:274] Starting NGINX Ingress controller
I0505 12:48:44.877734       7 event.go:258] Event(v1.ObjectReference{Kind:"ConfigMap", Namespace:"ingress", Name:"nginx-load-balancer-microk8s-conf", UID:"7df99111-ff03-4607-864f-02fa0f1d3970", APIVersion:"v1", ResourceVersion:"446", FieldPath:""}): type: 'Normal' reason: 'CREATE' ConfigMap ingress/nginx-load-balancer-microk8s-conf
I0505 12:48:46.043853       7 nginx.go:318] Starting NGINX process
I0505 12:48:46.043969       7 leaderelection.go:235] attempting to acquire leader lease  ingress/ingress-controller-leader-nginx...
I0505 12:48:46.044734       7 controller.go:133] Configuration changes detected, backend reload required.
I0505 12:48:46.067287       7 leaderelection.go:245] successfully acquired lease ingress/ingress-controller-leader-nginx
I0505 12:48:46.067496       7 status.go:86] new leader elected: nginx-ingress-microk8s-controller-fqkfz
I0505 12:48:46.138084       7 controller.go:149] Backend successfully reloaded.
I0505 12:48:46.138138       7 controller.go:158] Initial sync, sleeping for 1 second.
I0505 13:13:35.871339       7 event.go:258] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"kubeflow", Name:"ambassador", UID:"f50471dd-e4d3-4168-a480-52cdb16535c1", APIVersion:"networking.k8s.io/v1beta1", ResourceVersion:"8579", FieldPath:""}): type: 'Normal' reason: 'CREATE' Ingress kubeflow/ambassador
I0505 13:13:35.873453       7 controller.go:133] Configuration changes detected, backend reload required.
I0505 13:13:36.032997       7 controller.go:149] Backend successfully reloaded.
 And thank you for your suggestion.
After your suggestion, I try to install it with following commands.
But status is still installing after 20 minutes.
sudo snap install juju --classic
sudo snap install juju-wait --classic
sudo snap install juju-helpers --classic --edge
git clone https://github.com/juju-solutions/bundle-kubeflow.git
cd bundle-kubeflow
sudo snap install microk8s --classic
sudo usermod -aG microk8s $USER
newgrp microk8s
sudo snap alias microk8s.kubectl kubectl
python3 scripts/cli.py microk8s setup --controller uk8s
python3 scripts/cli.py deploy-to uk8s

Outputs after 20 min following output still keeping
DEBUG:root:cert-manager-controller/0 workload status is maintenance since 2020-05-06 11:01:12+00:00
DEBUG:root:cert-manager-webhook/0 workload status is maintenance since 2020-05-06 11:24:19+00:00
DEBUG:root:cert-manager-webhook/0 juju agent status is executing since 2020-05-06 11:24:16+00:00

@sakaia , you have to try the cloud (aws) option.. Not the uk8s
https://github.com/juju-solutions/bundle-kubeflow/issues/197

Thank you for your suggestion.
It uses on minio for secret key and access key?
I am asking for access key setting.
https://github.com/juju-solutions/bundle-kubeflow/blob/223e3e5b374efd668f5f31ac49f19ce359800627/charms/minio/config.yaml#L7

@knkski
I ran this and I am getting 302 redirect
curl -vv http://<IP_ADDRESS>.xip.io

Rebuilt URL to: http://<IP_ADDRESS>.xip.io/
Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to <IP_ADDRESS>.xip.io (<IP_ADDRESS>) port 80 (#0)

GET / HTTP/1.1
Host: <IP_ADDRESS>.xip.io
User-Agent: curl/7.58.0
Accept: /

< HTTP/1.1 302 Found
< content-length: 333
< content-type: text/plain
< location: http://<IP_ADDRESS>.xip.io:80/dex/auth?client_id=authservice-oidc&redirect_uri=http%3A%2F%2F<IP_ADDRESS>.xip.io%3A80%2Foidc%2Flogin%2Foidc&response_type=code&scope=profile+email+groups+openid&state=MTU4OTA1NDgyNHxFd3dBRUhvd1ZHaGlXR1pSTm5CWlUxRXpiakk9fHTklXX8U-EqagWp2xfPFbRNG5qashKbiyKZfUOSalqF
< date: Sat, 09 May 2020 20:07:04 GMT
< server: envoy
<
Found.

Connection #0 to host <IP_ADDRESS>.xip.io left intact

@knkski @sakaia
Just a thought..
As we are updating the public IP in ambassador
microk8s.kubectl edit -n kubeflow ingress/ambassador # Set spec.rules[0].host to the public IP of the VM, with xip.ioappended, e.g.<IP_ADDRESS>.xip.io``
Do we have to update the same for these 2?

dex-auth
oidc-gatekeeper

@paravatha: No, ambassador is sitting in front of those two services and will route requests to them as necessary.
In regards to the 302 Found, it looks like you are properly accessing the dashboard, as that will redirect to a login page. Are you able to access that URL with a browser and log in?

@sakaia: It looks like the service that got created for you in microk8s is <IP_ADDRESS>. You'll want to go to http://<IP_ADDRESS>.xip.io instead of http://localhost to access Kubeflow.

Any updates on this?
I'm also getting this output on curl.
curl -vv http://<IP_ADDRESS>.xip.io
* Rebuilt URL to: http://<IP_ADDRESS>.xip.io/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to <IP_ADDRESS>.xip.io (<IP_ADDRESS>) port 80 (#0)
> GET / HTTP/1.1
> Host: <IP_ADDRESS>.xip.io
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 302 Found
< content-length: 333
< content-type: text/plain
< location: http://<IP_ADDRESS>.xip.io:80/dex/auth?client_id=authservice-oidc&redirect_uri=http%3A%2F%2F<IP_ADDRESS>.xip.io%3A80%2Foidc%2Flogin%2Foidc&response_type=code&scope=profile+email+groups+openid&state=MTU5MzY4NTY2NXxFd3dBRUhoNU5XNWhZMjVLUWxOMVJuQlBhSGs9fKBZyTDuJdZppczMu_tFEe7DbWT_380CI8PmC-UUgfSd
< date: Thu, 02 Jul 2020 10:27:45 GMT
< server: envoy
<
<a href="http://<IP_ADDRESS>.xip.io:80/dex/auth?client_id=authservice-oidc&redirect_uri=http%3A%2F%2F<IP_ADDRESS>.xip.io%3A80%2Foidc%2Flogin%2Foidc&response_type=code&scope=profile+email+groups+openid&state=MTU5MzY4NTY2NXxFd3dBRUhoNU5XNWhZMjVLUWxOMVJuQlBhSGs9fKBZyTDuJdZppczMu_tFEe7DbWT_380CI8PmC-UUgfSd">Found.

* Connection #0 to host <IP_ADDRESS>.xip.io left intact

Was getting similar error but can confirm that following steps work and i can access all the application urls from within the dashboard. Just had to combine the answers @ both these links
https://github.com/kubeflow/manifests/issues/974
https://stackoverflow.com/questions/60973804/microk8s-broken-k8s-dashboard-and-kubeflow-dashboard

Ping your AWS EC2 instance and fetch the IP address
ping ec2-XX-XX-XX-XXX.ap-south-1.compute.amazonaws.com
Output
A.B.C.D

Add following line to /etc/hosts in local/laptop
A.B.C.D	<IP_ADDRESS>.xip.io

In AWS instance, find port for ambassador
microk8s.kubectl get services -n kubeflow | grep ambassador
Output:

ambassador                             LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   80:31582/TCP        88m
ambassador-operator                    ClusterIP      <IP_ADDRESS>   <none>         30666/TCP           88m

In local/laptop navigate to
http://ec2-XX-XX-XX-XXX.ap-south-1.compute.amazonaws.com:31582/
Output:
Your browser should re-direct to http://<IP_ADDRESS>.xip.io/dex/auth/local?req=xxxxxxxxxxxxx and show a login page

Login with credentials you received after activating kubeflow with microk8s.enable kubeflow
Output:
Kubeflow dashboard is available @ http://<IP_ADDRESS>.xip.io/?ns=admin

Environment:
AMI: Ubuntu Server 20.04
microk8s: v1.3.4

@bipinm Thanks for the update. I tried with the below setup and it worked for me as well
AMI: Ubuntu 18.04
Size : t3a.xlarge (4 cpu, 16GB)
microk8s : v1.18.6


How to deploy to Zeit Now?

It looks like I can't get around the 1MB limitation. /.nuxt/dist/server-bundle.json is 1.2MB. nuxt build seems to be ran no matter what, which leads to the 1MB limit file permission error. (might be similar to https://github.com/zeit/now-cli/issues/175)
from package.json:
  "scripts": {
    "build": "nuxt build",
    "dev": "DEBUG=nuxt:* nodemon --watch src/ --watch config/ --exec ./node_modules/babel-cli/bin/babel-node.js -- ./src/index.js",
    "prestart": "npm run build",
    "start": "NODE_ENV=production ./node_modules/babel-cli/bin/babel-node.js ./src/index.js",
  },

I've tried adding these 2 to make it skip the build (I'll run build locally before upload) but it didn't work
    "now-build": "echo 'not running build because you were suppose to run that locally first'",
    "now-prestart": "echo 'not running prestart because you were suppose to run that locally first'",

> ▲ npm run now-build
> ><EMAIL_ADDRESS>now-build /home/nowuser/src
> > echo 'not running build because you were suppose to run that locally first'
> not running build because you were suppose to run that locally first
> ▲ npm start
> ><EMAIL_ADDRESS>prestart /home/nowuser/src
> > npm run build
> ><EMAIL_ADDRESS>build /home/nowuser/src
> > nuxt build
> [nuxt] Building...
> Wed, 17 May 2017 16:41:54 GMT nuxt:build App root: /home/nowuser/src
> Wed, 17 May 2017 16:41:54 GMT nuxt:build Generating .nuxt/ files...
> { Error: EACCES: permission denied, mkdir '/home/nowuser/src/.nuxt'
>   errno: -13,
>   code: 'EACCES',
>   syscall: 'mkdir',
>   path: '/home/nowuser/src/.nuxt' }

Also, this app is isomorphic, not static.

Hi @InstanceOfMichael . Would you please provide nuxt.config.js file? If problem is from SSR bundle size then we may use some tricks reducing its size.

@InstanceOfMichael you should remove the prestart script.
How many pages do you have in your application, 1.2MB is huge for server-bundle.json

const path = require('path');
module.exports = {
  build: {
    vendor: [ 'axios', ],
    extractCSS: true,
  },
  plugins: [
    { src: '~plugins/feathers.js' },
  ],
  loading: {
    color: '#92D3CE',
  },
  rootDir: path.resolve(__dirname),
  dev: process.env.NODE_ENV !== 'production',
  css: [
    'hover.css/css/hover-min.css',
    { src: 'bulma', lang: 'sass' },
    { src: 'font-awesome/css/font-awesome.css', lang: 'css' },
  ],
};

Also it appears that removing prestart was the solution and that surprisingly now-prestart did not override regular pre-start.


Setup ci/cd with Github Actions

We need to setup Actions for unit testing, hopefully some integration tests and a manual deploy workflow to rubygems.org

Let's start with ci
I would have to add the secrets for CD deploys. I can do that if we find that necessary.


Feature request: only enable this plugin on some specific filetypes

It's enabled even in the help window.

You can already do this with :help g:indent_blankline_filetype and :help g:indent_blankline_filetype_exclude

You can already do this with :help g:indent_blankline_filetype and :help g:indent_blankline_filetype_exclude

Thank you, but should there be some default settings?

It might have been better to have help as a default value. But this would be a breaking change now that I don't want to do.


Change backtest cli forecast format

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Before submitting (must do checklist)

[x] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[x] Did you update the CHANGELOG?

Type of Change

[ ] Examples / docs / tutorials / contributors update
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Improvement (non-breaking change which improves an existing feature)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Proposed Changes

Related Issue

Closing issues

Codecov Report

Merging #259 (fbc36b3) into master (e117d17) will decrease coverage by 30.57%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #259       +/-   ##
===========================================
- Coverage   86.57%   55.99%   -30.58%
===========================================
  Files          92       92
  Lines        4418     4418
===========================================
- Hits         3825     2474     -1351
- Misses        593     1944     +1351

Impacted Files
Coverage Δ

etna/commands/backtest_command.py
0.00% <0.00%> (-96.43%)
:arrow_down:

etna/commands/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/commands/forecast_command.py
0.00% <0.00%> (-92.00%)
:arrow_down:

etna/commands/__main__.py
0.00% <0.00%> (-87.50%)
:arrow_down:

etna/commands/resolvers.py
0.00% <0.00%> (-80.00%)
:arrow_down:

etna/analysis/feature_relevance/relevance_table.py
23.52% <0.00%> (-76.48%)
:arrow_down:

etna/analysis/outliers/density_outliers.py
22.72% <0.00%> (-75.00%)
:arrow_down:

etna/transforms/statistics.py
27.50% <0.00%> (-71.67%)
:arrow_down:

etna/analysis/outliers/median_outliers.py
25.00% <0.00%> (-70.84%)
:arrow_down:

... and 51 more

Continue to review full report at Codecov.

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


Regarding RLHF and DPO training data

Hello! Thank you for hard work until now!!
I wanted to know about the training dataset for Reward Modelling, generally it is constructed as :
'question' : Which books are still banned in Canada?
'response_chosen' : ans1,
'response_rejected' : ans2

What is the role of template if we initialize this from SFT model ?  [/INST]
'response_chosen' : ans1,
'response_rejected' : ans2

I am not sure about best practices about training RLHF model but it seems to work better than DPO for my case, so please guide in detail!!
Thank you so much in advance!

I also had the same doubt.
 [/INST]
'response_chosen' : ans1,
'response_rejected' : ans2

is better


PHP dosen't work with my JavaScript code (React)

I'm a PHP dummy, but hosting forces me to use it ;) In my JS app I have a function that is responsible for sending a request to my PHP file, which should send emails using SendGrid. It looks like this:
//**** Send an e-mail ****\\
    const emailData = {
      recipient: email.recipient,
      subject: email.subject,
      html: myhtml,
      senderName: senderName
    };
    fetch("http://localhost:3001/mailer/index.php", {
      method: "POST",
      mode: "cors",
      //credentials: "same-origin",
      headers: { "Content-Type": "application/json" },
      body: emailData
    })
      //.then(res => res.json())
      //.then(data => console.log(data))
      .then(error => console.log(error));

And this is my PHP file:
<?php
require 'vendor/autoload.php';

ini_set( 'display_errors', 'On' );
error_reporting( E_ALL );
header("Content-Type: application/json");

 $decoded = json_decode($_POST['emailData'], JSON_OBJECT_AS_ARRAY);
    $recipient = $decoded['recipient'];

    $email = new \SendGrid\Mail\Mail();
<EMAIL_ADDRESS>"Example User");
    $email->setSubject("Sending with SendGrid is Fun");
<EMAIL_ADDRESS>"Example User");
    $email->addContent("text/plain", "and easy to do anywhere, even with PHP");
    $email->addContent(
        "text/html", "array: arrow: $recipient  and easy to do anywhere, even with PHP"
    );
    $sendgrid = new \SendGrid("MyValidAPIKey");
    try {
        $response = $sendgrid->send($email);
        print $response->statusCode() . "\n";
        print_r($response->headers());
        print $response->body() . "\n";
    } catch (Exception $e) {
        echo 'Caught exception: '. $e->getMessage() ."\n";}
?>

I receive an e-mail, but "emailData" is undefined. I've tried it with Postman and it worked perfect. What might be an issue?
Here is what a console is throwing at me:

Notice:  Undefined index: emailData in /konfigurator/send-email/index.php on line 44

202
Array
(
    [0] => HTTP/1.1 202 Accepted
    [1] => Server: nginx
    [2] => Date: Mon, 18 Mar 2019 10:47:03 GMT
    [3] => Content-Type: text/plain; charset=utf-8
    [4] => Content-Length: 0
    [5] => Connection: keep-alive
    [6] => X-Message-Id: 7p6dsSC5RLqh46zu_C75nA
    [7] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io
    [8] => Access-Control-Allow-Methods: POST
    [9] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl
    [10] => Access-Control-Max-Age: 600
    [11] => X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html
    [12] =>
    [13] =>
)

Is that a CORS problem? May it be a SSL problem (an SSL key is broken)? What this console message means?

Hello @KamilSobieraj,
My suggestion is to log at every step in your PHP file to find out if your control structures are executing as desired.
With Best Regards,
Elmer

@thinkingserious
I've updated an issue. Are you able, based on that informations, tell me what might be the issue? I don't really get the console message - it means that there's a CORS problem?

Hello @KamilSobieraj,
For this:
Notice:  Undefined index: emailData in /konfigurator/send-email/index.php on line 44

What is on line 44 of that index.php file?
For this part:
202
Array
(
    [0] => HTTP/1.1 202 Accepted
    [1] => Server: nginx
    [2] => Date: Mon, 18 Mar 2019 10:47:03 GMT
    [3] => Content-Type: text/plain; charset=utf-8
    [4] => Content-Length: 0
    [5] => Connection: keep-alive
    [6] => X-Message-Id: 7p6dsSC5RLqh46zu_C75nA
    [7] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io
    [8] => Access-Control-Allow-Methods: POST
    [9] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl
    [10] => Access-Control-Max-Age: 600
    [11] => X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html
    [12] =>
    [13] =>
)

means that we received your message and all is good.

@thinkingserious, thanks for response!
On line 44 I try to assign to a variable $decoded the passed object from JS (called 'emailData').
$decoded = json_decode($_POST['emailData'], JSON_OBJECT_AS_ARRAY);

Actually it's the beggining of this code in php - it is preceded by commented out code, so that's why it's on 44.
So I don't have to bother with the X-No-COrs-Reason and with lines 12 and 13 in the console? Everything is fine in here?

Yes, the X-No-Cors-Reason is not an error, just a notification.


qFit Ligand has internal clashing problems

In qFit ligand there are certain outputs that have internal clashes and are giving some funky geometries around terminal methyl group.
Example PDB where this is happening: 4PQN
Run: qfit_ligand composite_omit_map.mtz -l 2FOFCWT,PH2FOFCWT 4pqn.pdb A,701

Fixed with -ec flag on by @jessicaflowers


changes for mypipeline.onnx

There are two changes for this model

Support the list(strings) attribute
StrArrayAttr is used. However, this attribute require arrayref to StringRef. Currently, there seems to be memory issue.

Fix the output type mapping.
The case in which the type is directly specified instead of using type string is added now.

@tjingrant As for the error with StrArrayAttr, I tried to create a string object and it worked.
 std::string *p = new std::string(item);
These objects should be saved  and freed later, or we should provide a pool management. I feel that we also have the same memory issue with StringAttr, which uses StringRef too.

The solution to 1 needs to be updated because of the obvious memory leak issue. And my suggestion was that we should either find out how other projects manage to deal with memory storage problems induced by string array attributes or see if we can use TableGen to automatically generate something (like parser) that'll shed light on how mlir internally makes use of the string attribute storage.
As for StringAttr, I looked into the relevant code in mlir, and it appears to be fine. See how the StringAttr storage instance is created here.
And specifically the source of the StringRef is copied using a copyInto function defined here.

The allocate for StringAttr is for the storage of the type itself, which is for StringRef value;. Not the string itself.
I thought that  the string should be allocated along the onnx model. I tried to keep the onnx::ModelProto model global but did not fix the problem. It seems that ModelProto did not hold those strings. Maybe we can look into that part of code more. For other data from ModelProto, mlir copies the value.
Of course, we can have a vectorstd::string for every model imported to onnx mlir and free them when the IR for the model is freed.

It turned out that MLIR copied the string with its AttributeStorage. The error came from that the StringRef is made from the temporary variable for iterator. As llvm has pointed out, it requires caution to use StringRef explicitly.


rebasing adding slack changes

Code changes to handle slack upload and slack send message.
Slack send message has only go convert changes and uses current existing plugin.
tested yaml conversion and unit test cases

cobertura case is removed - can you please add it back?

done added back


zen fails to load when attempting to create plugged dir

OS: Win8.1 x64
:ve:  8.0.1839
On Vim start:
Messages maintainer: Bram Moolenaar<EMAIL_ADDRESS>Error detected while processing function zen#init:
line   15:
E739: Cannot create directory: C:\Users\User.vim/plugged
Error detected while processing C:\Users\User\.vim\vimrc:
line    7:
E492: Not an editor command: Plugin 'tpope/vim-rsi'

Possible reason - missing slash in zen.vim line #24:
        if !isdirectory($HOME . '.vim/plugged')
            call mkdir($HOME . '.vim/plugged')
        endif

@veirus I haven't tested this on windows due to no access to one. Will try to figure this out as soon as I get my hands on one. Although, If you could test the possible solution you stated and send a pr, It'll be great.

Same issue on MacOS High Sierra
:ve
VIM - Vi IMproved 8.1 (2018 May 17, compiled Jun 13 2018 20:06:26)
macOS version
$ vim
Error detected while processing function zen#init:
line   15:
E739: Cannot create directory: /Users/[redacted].vim/plugged
Error detected while processing /Users/[redacted]/.vimrc:

@prakashdanish I actually had the same problem and I created a pull request here: https://github.com/prakashdanish/vim-zen/pull/2

@prakashdanish sorry for a long delay. Original issue is gone with new version, however new arised.
.vimrc:
if &cp | se nocp | endif
set rtp^=~\.vim,~\.vim\after
let &packpath = &runtimepath

" begin section
call zen#init()
Plugin 'junegunn/goyo.vim'
Plugin 'https://github.com/prakashdanish/vimport'

ZenInstall output:
vim-zen - [ Installation finished!	|	 Time: 0.125 ]
===================================================

[x] goyo.vim: [ERROR] '{' is not recognized as an internal or external command, operable program or batch file.
[x] vimport: [ERROR] '{' is not recognized as an internal or external command, operable program or batch file.

@veirus Are you using VIM inside CMD and not inside bash? Do you have python3 installed on your system and does it correctly work?

@cookiengineer absolutely negative. It's gVim 8.0.1839 x64 on Win 8.1 x64. Python installed and working well though. I just tried vim-zen out of interest, so if there's no support for Windows that's not a problem.

@veirus I'm working on this issue, in the meantime can you please create a new issue, it'll be easier for others to identify potential issues or issues that have been fixed.


apps: fix rounding down max_send_burst

Currently when send_quantum() is smaller than the maximum
buffer size, it can make a small leftover because it's not
rounded down to the maximum datagram size. Now it takes the
mininum of max buffer size or send_quantum() first
and rounds down by the maximum datagram size.

This fix will reduce a lot of variance in quiche-server performance test.
e.g. 100Mbps/50ms network, downloading 100M bytes -> 100k -> 100M bytes, 50 times

quiche-server version
MEDIAN of Total Time (s)
STDEVP of Total Time (s)

1213
25.36
1.13

master
25.85
9.59

Average time doesn't change much but the variance reduced a lot.


[mongo] Replicaset error raised in standalone mode

What does this PR do?
The check was raising an exception when gathering replica set metrics despite running a standalone mongo instance. The error from pymongo when getting querying for replica set metrics changed from command SON([('replSetGetStatus', 1)]) on namespace admin.$cmd failed: not running with --replSet to not running with --replSet, which caused the check to raise an exception. This change takes the new error format into account.
Motivation
Customer running standalone mongo instance reached out reporting the check failed when checking for replica set metrics
Testing Guidelines
An overview on testing
is available in our contribution guidelines.
Versioning

[x] Bumped the version check in manifest.json
[x] Updated CHANGELOG.md. Please use Unreleased as the date in the title
for the new section.

Additional Notes
Anything else we should know when reviewing?

Friendly reminder to use meaningful titles for PRs 😇

What version is this an issue with?

the customers that reported it after upgrading to 5.20.0 were on mongo 3.4.9 and mongo 3.4. I confirmed the issue with after upgrading from 5.19.0 to 5.20.0 on mongo 3.0.14.

Does this fix work on prior versions of Mongo?

I've also checked with Mongo 2.6.12 running Agent 5.20.1 and when I applied these changes, that fixed the error


README: Change the styling of setup instructions for better readability

Summary
Change the styling of setup instructions for better readability
Description

Use block code for commands instead of inline code. It's easier to read, copy, and paste the commands. GitHub also has the copy button for block commands.

Copy button:

Add instructions to import sample data from sample_posts.json file using mongoimport command.

Copy (cp .env.sample .env) instead of Rename (mv .env.sample .env) because git will track it as a change and you will see .env.sample file as a deleted git object. On the other hand, since we have already ignored .env* files, git won't track it and we keep the sample file untouched.

No tracked changes here:

Thank you @chinmaykunkikar for your very inputs on bettering the readme, it is much convenient now.
One thought, how about having inline comments and make it block of code ?
Meaning now, people have to individually copy every command every step , can we do something like club all together and replace the subheading points as comments ?
Presently
Description
command

How about
#description
command

And kindly rename README as docs in both PR title and commit helps in maintaining the project :)

We can do it, but I think adding a description in form of a comment will defeat the purpose of having the convenience of the copy button. It'll be a bad UX.

Let's say user presses the copy button on this code block, it will copy the entire contents of the block.
User will paste that whole list of commands to the terminal.
While executing, if one of the commands fail, the following commands will fail as well.
Also, even if all commands pass, the user will still have to hit the enter key for the last command in the code block. So there's no full automation here.
Additionally, the comments # comment will also get executed unnecessarily.
People will now resort to manually selecting text from those code blocks to avoid that. And that will become more tedious.

But it can be done if you want to.

And kindly rename README as docs in both PR title and commit

done

Yeah actually even I was thinking of the tradeoffs and the last pressing enter is a good point actually, yeah it would be better this way, I completely agree with you .

Can you kindly add documentation of how to change the commit message in a simple bullet steps, that would be really handy for the developers, and personally I feel it involves a little git learning cover, i.e changing a commet title which is already push we need to do hard pushes  if i am not wrong.
I believe we have 2 things here, editing the latest commit message and editing multiple commit messages,
If you could add it may be in a part of contributing.md that would be really helpful :)

It can mess up everyone's history who are working on this project and want to merge the latest commits from the upstream.
Thank you for enlightening me, yeah this is a crucial point, i nearly missed.

@chinmaykunkikar  quick question, suppose now if contributors forget to follow the naming conventions in the commits, lets say 2 commits out of 5 which is placed in the middle, what can be a fix for such scenario ?


Use separate group mapping for BAM

Currently BAM uses oability group.  A dedicated bam-admin group is requested.

Fixed in v3.0.0


Optimize JPEGs

The images created by this service can sometimes be optimized 10% or more by tools like kraken.io or mozjpeg.
I think it would be worthwile to include and enable such optimizations by default.
I see that Thumbor has built in support for jpegtran, but it's not enabeld in thumbor.conf (and the binary is probably missing).
Could you add this feature? It would make this a much more viable alternative to commercial services like imgix.

From my understanding, jpegtran is pretty much useless, since PIL engine uses same libjpeg-turbo underneath as jpegtran from libjpeg-turbo-progs does. PIL engine does not save any additional meta, if thumbor configured to strip icc (filter) and strip exif (conf variable).
However, one could use jpegtran binary from mozjpeg, which could do different scans for progressive jpegs and apply some more heuristics to huffman coding.

We are testing a new update to support this request. Would anyone mind testing the following template and provide feedback if this is what you are looking for?
https://s3.amazonaws.com/solutions-test-reference/serverless-image-handler/latest/serverless-image-handler.template

gifscile, imgmin, jpegtran, optipng, pngcrush, pngquant, and mozjpeg have been included in v2.2.
Would you test and verify if the latest version addresses this issue?
https://s3.amazonaws.com/solutions-reference/serverless-image-handler/latest/serverless-image-handler.template

Hello,
Thank you for including all the optimizers !
Unfortunately, when I enable mozjpeg we have an error in the lambda execution :
ERROR mozjpeg path '/var/task/mozjpeg' is not accessible
Any idea on how to resolve this ?
Thank you !

Hello,
I successfully made it worked by building in a Docker image from amazonlinux but it required some changes in the yum install process and the building script ./build-s3-dist.sh.

Hello,
I successfully made it work by building in a Docker image from amazonlinux but it required some changes in the yum install process and the building script ./build-s3-dist.sh.
I could share my changes if needed.

Share plz?!

@lucassena I have https://github.com/awslabs/serverless-image-handler/pull/45 out there that has an example of a Dockerfile to build it.
It's possible it's out of date by now though. It's unclear to me how they are building the ./build-s3-dist.sh without a repeatable build (with docker build or the like).


Ballerina by Examples (examples not work)

Description:
I'll try to run examples from official site without any modifications, and get a lot of errors.
Steps to reproduce:
run examples from object section, f.e.
https://play.ballerina.io/?gist=d5a5da634b62fe74a5bda100297c8d39&file=object_methods.bal
Affected Versions:
latest
OS, DB, other environment details and versions:
windows 10, chrome

The shared sample seems to be using 1.2 syntax whereas the playground is using Swan Lake beta1.
I'm afraid it may not be possible to run 1.2 samples on the Ballerina playground. But you could download the latest 1.2 release -  1.2.19.
Alternatively, you could switch to the latest beta release (beta2) of the new and improved Ballerina Swan Lake [1], [2].
The examples have also been revamped.

Learn by Example
Reference by Example

[1] https://blog.ballerina.io/posts/announcing-the-first-preview-of-ballerina-swan-lake
[2] https://ballerina.io/downloads/swan-lake-release-notes

Closing this issue as per the above comment. Please feel free to re-open if the above suggestions are not working.


Use a custom template forEach storie

Hi, first of all thank you for the amazing library!
Im facing an issue trying to use the library with a custom components inside each story. I'm trying to do a v-for to render the amount of templates needed with the component inside. But I'm having issues with the v-bind and key references. I'm using Vue2, here is an example of what Im trying to do, and I will like to know if it's possible with your library.
            <stories :stories="stories" :interval="5000">
                <template v-for="(textStories, index) in stories">
                    <template #textName[index]>
                        <textComponent :text="textStories" />
                    </template>
                </template>
            </stories>

I will also create a method, will generate an array of stories with the correct values
to match with the template reference for example;

 stories: [
                    {
                        template: 'textName1',
                    },
                    {
                        template: 'textName2',
                    },
                    {
                        template: 'textName3',
                    }
            ]

I know maybe the library was not created to do something like I'm trying, any answer will be welcomed. Thanks a lot!

Awesome, thank you very much!


Does TF now support neural network inferring on DSP ，using snapdragon 865 equipped with hexagon698

When i run benchmark on snapdragon 865, it didn't work and said :"Could not create Hexagon delegate: platform may not support delegate or required libraries are missing". Then i checked my chip information, it was equipped with hexagon698. I read the document that tensorflow-lite supports hexagon 690 and others, so I want to know whether it supports 698.
STARTING!
Log parameter values verbosely: [0]
Num threads: [4]
Graph: [models/resnetv1_50_quant.tflite]
Input layers: [input]
Input shapes: [1,224,224,3]
Enable op profiling: [1]
#threads used for CPU inference: [4]
Use Hexagon: [1]
Hexagon profiling: [1]
Loaded model models/resnetv1_50_quant.tflite
loaded libcdsprpc.so
Could not create Hexagon delegate: platform may not support delegate or required libraries are missing
Tensor # 0 is named input_1 but flags call it input
The input model file size (MB): 26.2023
Initialized session in 65.973ms.
Running benchmark for at least 1 iterations and at least 0.5 seconds but terminate if exceeding 150 seconds.
count=6 first=100521 curr=80282 min=79211 max=100521 avg=83420.5 std=7670

Running benchmark for at least 50 iterations and at least 1 seconds but terminate if exceeding 150 seconds.
count=50 first=78236 curr=79387 min=76850 max=84289 avg=79728.5 std=1611

@dxxhjk ,
In order to expedite the trouble-shooting process, could you please provide a minimal code snippet and the TensorFlow version you are using.

I compiled the .so files and benchmark_model file from the latest code yesterday, run benchmark on my android device.

In fact, I now change my device into a mobile phone with snapdargon 855 chip and run benchmark again. The result was still not good, Hexagon delegate created successfully, but it said: "Though Hexagon delegate is explicitly applied, the model graph will not be executed by the delegate."
STARTING!
Log parameter values verbosely: [0]
Num threads: [4]
Graph: [models/resnetv1_50_quant.tflite]
Input layers: [input]
Input shapes: [1,224,224,3]
Enable op profiling: [1]
#threads used for CPU inference: [4]
Use Hexagon: [1]
Hexagon profiling: [1]
Loaded model models/resnetv1_50_quant.tflite
loaded libcdsprpc.so
Hexagon delegate created.
Though Hexagon delegate is explicitly applied, the model graph will not be executed by the delegate.
Tensor # 0 is named input_1 but flags call it input
The input model file size (MB): 26.2023
Initialized session in 69.282ms.
Running benchmark for at least 1 iterations and at least 0.5 seconds but terminate if exceeding 150 seconds.
count=10 first=133134 curr=42337 min=42148 max=133134 avg=53368.5 std=26750

Running benchmark for at least 50 iterations and at least 1 seconds but terminate if exceeding 150 seconds.
count=50 first=42322 curr=42725 min=42218 max=42725 avg=42393.8 std=102

So how can I run neural network inferring with hexagon?

For Snapdragon 855 it should be Hexagon 690 which is the listed supported device in the documentation.

For the unsupported case, can you run this
adb shell cat /sys/devices/soc0/soc_id
and share the result

Is it possible to share the model you're testing ? I'd like to have a look.

Thanks


[Question]: OnePlus devices (OxygenOS) return ShareResultStatus.dismissed when copy is used

What is your question?
When a share text is copied on iOS with Share.shareWithResult(shareText), the resulting ShareResult.status is ShareResultStatus.success but on OnePlus devices it is ShareResultStatus.dismissed. Is there a way to handle this properly?
Checklist before submitting a question

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I am using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

What do you mean under copied? It is not clear what use case you describe

Closing due to no activity

Just opening https://github.com/fluttercommunity/plus_plugins/issues/2108
It's when you are clicking on the "copy" button from the android bottom sheet


C# MongoDB API Driver Not Binding a Field from CosmosDB

I am using MongoDB API in Cosmos DB. I have created a collection called Conversations. It has this schema:
   public class Conversation
    {
        [BsonId(IdGenerator = typeof(CombGuidGenerator))]
        public Guid ConversationId { get; set; }
        [BsonElement("Participants")]
        public List<string> Participants { get; } = new List<string>();
    }

I'm trying to retrieve all of the fields when I query for it, but for some reasons, the Participants list is empty.
This is how I create a conversation:
        public async Task<OkObjectResult> CreateConversation([FromBody] ConversationView conversation)
        {
            MongoClientSettings settings = MongoClientSettings.FromUrl(
              new MongoUrl(connectionString)
            );
            settings.Server = new MongoServerAddress(host, 10255);
            settings.UseSsl = true;
            settings.SslSettings =
                  new SslSettings() { EnabledSslProtocols = SslProtocols.Tls12 };
            var mongoClient = new MongoClient(settings);
            var database = mongoClient.GetDatabase(conversationDb);
            var collection = database.GetCollection<Conversation>(conversationCollection);
            var convo = new Conversation();
            foreach(var participant in conversation.Participants)
            {
                convo.Participants.Add(participant);
            }
            await collection.InsertOneAsync(convo);

            return new OkObjectResult("Message sent,");

        }

This successfully saves a conversation that looks like this in CosmosDB:
{
	"_id" : {
		"$binary" : "5LmcCfDbUEeGHaqnAXHBmg==",
		"$type" : "03"
	},
	"Participants" : [
<EMAIL_ADDRESS><EMAIL_ADDRESS>	]
}

When I try to retrieve the messages, I use this:
public async Task<List<Conversation>> GetConversations()
        {
            MongoClientSettings settings = MongoClientSettings.FromUrl(
              new MongoUrl(connectionString)
            );
            settings.Server = new MongoServerAddress(host, 10255);
            settings.UseSsl = true;
            settings.SslSettings =
                  new SslSettings() { EnabledSslProtocols = SslProtocols.Tls12 };
            var mongoClient = new MongoClient(settings);
            var database = mongoClient.GetDatabase(conversationDb);
            var collection = database.GetCollection<Conversation>(conversationCollection);
            //var convos = await collection.FindAsync(x => x.Participants.Contains("@gmail.com"));
            var convosFromDb = await collection.FindAsync(x => x.ConversationId != null);
            var conversationList = await convosFromDb.ToListAsync();

            foreach(var conversation in conversationList)
            {
                Console.WriteLine(conversation.Participants);
            }

            return conversationList;
        }

However, it returns this:
[
    {
        "conversationId": "099cb9e4-dbf0-4750-861d-aaa70171c19a",
        "participants": []
    },
    {
        "conversationId": "249752dd-e771-48e2-8919-aaa701736a44",
        "participants": []
    },
    {
        "conversationId": "e85f3a1e-88b4-4aff-9e4b-aaa70173897e",
        "participants": []
    }
]

It seems like the participants list is not being bound to the model. Here is the model in question:
    public class Conversation
    {
        [BsonId(IdGenerator = typeof(CombGuidGenerator))]
        public Guid ConversationId { get; set; }
        [BsonElement("Participants")]
        public List<string> Participants { get; } = new List<string>();
    }

It's correctly filtering the conversations by the email I supply, however it does not return the elements in the Participants attribute in the conversation model.
Am I binding it incorrectly?
I expect it to return the elements in the Participants attribute, the same way that it's listed in the CosmosDB document store.

@kalittles
Thanks for the question! We are investigating and will update you shortly.

@kalittles Let us know the document URL if you are following one

@kalittles Support on GitHub is limited to questions on documentation.
Please post this issue on MSDN Forums or StackOverflow
We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Okay, sorry for not being more specific - I guess specifically with regard to the documentation:
https://docs.microsoft.com/en-us/azure/cosmos-db/create-mongodb-dotnet
Navigating to
https://github.com/Azure-Samples/azure-cosmos-db-mongodb-dotnet-getting-started
And then checking the models directory only has instances of strings being bound - none with lists, hashsets, or IEnumerables.
I have to go to the MongoDB site, look at the explanation for expressions using the .Net driver, and then come up with a similar binding for CosmosDB.
Is there going to be an example with a list of items being bound anytime soon? It's very, very bare bones. I apologize if that's because it's just new.
Has no instance of interacting with a collection using the MongoDB API


crfsuite and liblbfgs need their lib folders for electron-rebuild success

In order to be able to use this module in electron it needs to be rebuilt using electron-rebuild. However, because the dependencies do not have their lib directories (which contain all necessary header files, etc), electron-rebuild fails to rebuild node-crfsuite. It would be nice if node-crfsuite shipped with these folders or made where electron-rebuild does not fail.

Thank @truefusion I will add them in the next version. But i wish you can help a hand to make it soon to be present


Records with a . after the port are not parsed correctly

[Enter feedback here]
The standard log parsing line:
AzureDiagnostics
| where Category == "AzureFirewallApplicationRule"
//using :int makes it easier to pars but later we'll convert to string as we're not interested to do mathematical functions on these fields
//this first parse statement is valid for all entries as they all start with this format
| parse msg_s with Protocol " request from " SourceIP ":" SourcePortInt:int " " TempDetails
//case 1: for records that end with: "was denied. Reason: SNI TLS extension was missing."
It doesn't work for all the records. Example (notice the . after the target port):
HTTPS request from <IP_ADDRESS>:49853. Action: Deny. Reason: SNI TLS extension was missing.
Which results in no SourceIP being extracted.

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

ID: 2cc1c543-6db1-23cd-0f7a-4506f53b7d90
Version Independent ID: a7c1b69f-67dc-d94a-05d7-1d603ea82461
Content: Azure Monitor logs for Azure Firewall
Content Source: articles/firewall/log-analytics-samples.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@josefehse Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

This article was retired, so the content no longer exists.
#please-close


Update simple_calendar.py

added come functionality to simple calendar
I'm developer from Russia and I decided that it will be great to add some local functionality to other people from other countries that helps to faster localize it's apps.
Added button "Cancel" for canceling operation. And added button "Today" to return in current month if user decided to return to today's calendar view.
Added visual selection of current day in calendar

Example of cancel button
# example_bot.py
@dp.callback_query_handler(cancel_callback.filter())
async def cancel_action(callback_query: CallbackQuery, callback_data: dict):
    await callback_query.message.edit_text('You canceled action')
    await callback_query.answer()

Hope it will helps to other developers

OOOOPS
I missed one important thing
Aiogram raises Error MessageNotModified if user accidentally selected "Today" in today's calendar view
I don't know how to modify my merge request, I will write here:
in simple_calendar.py you should insert this:
from contextlib import suppress
from aiogram.utils.exceptions import MessageNotModified
...

class SimpleCalendar:
    ...
    async def process_selection(self, query: CallbackQuery, data: CallbackData) -> tuple:
           ...
        if data['act'] == "CURR-MONTH":
            next_date = datetime.now()
            with suppress(MessageNotModified):
                await query.answer()
                await query.message.edit_reply_markup(
                        await self.start_calendar((next_date.year),(next_date.month))
                        )

How can I hide the dates that have passed?


Benchmark selectivity performance with IPC files

Signed-off-by: Jianshen Liu<EMAIL_ADDRESS>

Looks great, thanks!
(apologies for not reviewing sooner -- was on vacation)

Looks great, thanks!
(apologies for not reviewing sooner -- was on vacation)

No problem. Hope you had a great vacation!

@ljishen Here's an example benchmarks run:
https://conbench.ursa.dev/batches/5e7312ede444401087a90637fd218a19/


Add flipping feature and example

I tried this out but unfortunately when I zoom into an image that requires tiling, each individual tile is flipped, but not moved to where it should be considering the whole image should be flipped. Fixing this requires significant changes to the tile map initialisation to take into account which bit of the source image you actually need.

Sorry, confused the order of the arguments for prescaling.
Now it is fixed and I made some changes in card image.
P.S.: before fixing there were no errors in case of both flipping simultaneously

I can't test this because it conflicts with recent changes.
Because you're using Bitmap.createBitmap to create flipped copies of images, the view will be significantly slower and use more memory, causing more crashes. Tiles need to be flipped using a matrix when they are rendered. Unfortunately I won't be able to merge this PR if it adds calls to createBitmap.

Closing now because this approach to flipping will make the view use too much memory. Feel free to try it with matrix rotation instead of createBitmap.


Feature/pytorch backend

First attempt to add PyTorch backend, expect a lot of comments & input on this PR and there is no hurry as I might not have time to address those quickly. Consider this a first check of progress.

https://github.com/google/TensorNetwork/issues/53


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


HBASE-26531 Trace coprocessor exec endpoints

Trace table ExecService invocations as table operations. Ensure span relationships for both table
and master invocations.

Draft PR implemented on top of #4106 .
I cannot find the place where AbstractRpcClient is invoked from the call path through TableOverAsyncTable#coprocessorService, which means the span created by IpcClientSpanBuilder is not properly in the hierarchy. @Apache9 , any suggestions?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 15s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 17s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 59s
master passed

+1 :green_heart:
compile
7m 33s
master passed

+1 :green_heart:
checkstyle
1m 20s
master passed

+1 :green_heart:
spotbugs
11m 43s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 55s
the patch passed

+1 :green_heart:
compile
7m 57s
the patch passed

-0 :warning:
javac
7m 57s
root generated 6 new + 1468 unchanged - 4 fixed = 1474 total (was 1472)

-0 :warning:
checkstyle
1m 21s
root: The patch generated 1 new + 7 unchanged - 1 fixed = 8 total (was 8)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  3s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
13m 13s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotbugs
11m 53s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 33s
The patch does not generate ASF License warnings.

70m  7s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4176

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile xml

uname
Linux 9f044c234cb9 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / bcd9a9acef

Default Java
AdoptOpenJDK-1.8.0_282-b08

javac
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/artifact/yetus-general-check/output/diff-compile-javac-root.txt

checkstyle
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/artifact/yetus-general-check/output/diff-checkstyle-root.txt

Max. process+thread count
87 (vs. ulimit of 30000)

modules
C: hbase-client hbase-server hbase-endpoint . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 41s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m  0s
master passed

+1 :green_heart:
compile
2m 34s
master passed

+1 :green_heart:
shadedjars
4m 34s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
3m 43s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 26s
the patch passed

+1 :green_heart:
compile
2m 29s
the patch passed

+1 :green_heart:
javac
2m 29s
the patch passed

+1 :green_heart:
shadedjars
4m  9s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
3m 12s
the patch passed

_ Other Tests _

-1 :x:
unit
475m  2s
root in the patch failed.

508m 18s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4176

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux a006025611d6 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / bcd9a9acef

Default Java
AdoptOpenJDK-11.0.10+9

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/testReport/

Max. process+thread count
2513 (vs. ulimit of 30000)

modules
C: hbase-client hbase-server hbase-endpoint . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  9s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 40s
master passed

+1 :green_heart:
compile
1m 43s
master passed

+1 :green_heart:
shadedjars
3m 36s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 12s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 20s
the patch passed

+1 :green_heart:
compile
1m 46s
the patch passed

+1 :green_heart:
javac
1m 46s
the patch passed

+1 :green_heart:
shadedjars
3m 37s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 14s
the patch passed

_ Other Tests _

-1 :x:
unit
506m  2s
root in the patch failed.

529m 44s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4176

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 4774742d0e77 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / bcd9a9acef

Default Java
AdoptOpenJDK-1.8.0_282-b08

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/testReport/

Max. process+thread count
2795 (vs. ulimit of 30000)

modules
C: hbase-client hbase-server hbase-endpoint . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 43s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 20s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 25s
master passed

+1 :green_heart:
compile
7m 39s
master passed

+1 :green_heart:
checkstyle
2m  8s
master passed

+1 :green_heart:
spotbugs
5m 10s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  3s
the patch passed

+1 :green_heart:
compile
8m  8s
the patch passed

-0 :warning:
javac
5m 34s
hbase-server generated 4 new + 189 unchanged - 4 fixed = 193 total (was 193)

-0 :warning:
javac
0m 51s
hbase-endpoint generated 3 new + 33 unchanged - 0 fixed = 36 total (was 33)

-0 :warning:
checkstyle
0m 40s
hbase-client: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
22m 22s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotbugs
6m  0s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 37s
The patch does not generate ASF License warnings.

77m 32s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4176

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile xml

uname
Linux 7a1a44873965 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 71ff3ec323

Default Java
AdoptOpenJDK-1.8.0_282-b08

javac
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/artifact/yetus-general-check/output/diff-compile-javac-hbase-server.txt

javac
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/artifact/yetus-general-check/output/diff-compile-javac-hbase-endpoint.txt

checkstyle
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt

Max. process+thread count
60 (vs. ulimit of 30000)

modules
C: hbase-client hbase-server hbase-endpoint U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 17s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 17s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 31s
master passed

+1 :green_heart:
compile
2m  2s
master passed

+1 :green_heart:
shadedjars
5m 13s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 15s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m  6s
the patch passed

+1 :green_heart:
compile
2m  2s
the patch passed

+1 :green_heart:
javac
2m  2s
the patch passed

+1 :green_heart:
shadedjars
5m  0s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 15s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 34s
hbase-client in the patch passed.

+1 :green_heart:
unit
398m 14s
hbase-server in the patch passed.

+1 :green_heart:
unit
6m 27s
hbase-endpoint in the patch passed.

437m 22s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4176

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux df1c88c0edd2 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 71ff3ec323

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/testReport/

Max. process+thread count
2114 (vs. ulimit of 30000)

modules
C: hbase-client hbase-server hbase-endpoint U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4176/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Interlink all maps of one user together

Use https://visjs.org/ libs for visualization on the territory ui online

Dashboard will do exactly that!

done


x/tools/gopls: diagnostics are produced for packages beginning with underscore

Please answer these questions before submitting your issue. Thanks!
What did you do?

Checkout yaegi:

$ cd /tmp
$ git clone git@github.com:containous/yaegi.git
...
$ cd yaegi/
$ git checkout v0.8.7

Add /tmp/yaegi to vscode workspace.
Open _test/a1.go, which produces 2709 diagnostics in the View > Problems window.
Close _test/a1.go and we still have 2709 diagnostics.

What did you expect to see?
The _test package should be ignored by gopls, as it's also ignored by go build ./....
What did you see instead?
Too many diagnostics for a package I don't care to see diagnostics on. The only way to remove the diagnostics seems to be to restart vscode.
While unwanted diagnostics might not seem like a big issue on vscode, where the user usually don't look at the Problems window, it's a larger issue for editors that don't support highlighting problems within the file buffer (e.g. acme-lsp). In those editors, the Problems window is the only way to see the diagnostics.
Build info
golang.org/x/tools/gopls 0.4.1
<EMAIL_ADDRESS>h1:0e3BPxGV4B3cd0zdMuccwW72SgmHp92lAjOyxX/ScAw=
<EMAIL_ADDRESS>h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
<EMAIL_ADDRESS>h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
<EMAIL_ADDRESS>h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ=
<EMAIL_ADDRESS>h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
<EMAIL_ADDRESS>h1:e7nYe9s94RHunFJ7b+mmPxiQMOKMVSqYASToWb1EcHs=
<EMAIL_ADDRESS>h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
<EMAIL_ADDRESS>h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U=
<EMAIL_ADDRESS>h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=

Go info
go version go1.14.4 linux/amd64

/cc @heschik because https://go-review.googlesource.com/c/tools/+/237597 is relevant here

That CL is unrelated, since it was ignoring individual files that start with _, not whole directories. I reproduced and gopls is doing a many-file packages.Load, which is presumably the orphaned file handling kicking in because the workspace load correctly ignored _test.
Guess we need to duplicate go list's exclusion logic in orphanedFileScopes.


3d shapes web example crashes when enabling wireframes

Bevy version
https://bevyengine.org/examples/3d-rendering/3d-shapes/
WebGL and WebGPU backends are affected.
What you did
Press space.
What went wrong
Example freezes, logs show that the app is panicking.
panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs:2996:5:
wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `prepass_pipeline`
    Features Features(POLYGON_MODE_LINE) are required but not enabled on the device

same as https://github.com/bevyengine/bevy/issues/14353, this can't work in wasm


DateRangePicker placeholder invisible

Bug type
Component
Component name
MudDateRangePicker
What happened?

Expected behavior
https://try.mudblazor.com/snippet/mkQHknkIxGxpNpnu

For DateRangePicker use PlaceholderStart and PlaceholderEnd properties.
https://try.mudblazor.com/snippet/wYQHkxuSqxSlWRsE

PlaceholderStart

thank you for your information


Nice stuff 😉

I feel like it makes more sense to allow overriding corpus as a cargo fuzz arg, instead of splicing the extra args. Those should be passed down untouched.

This is somewhat difficult to achieve, because CLI like this:
cargo-fuzz run <TARGET> [<FILE>...] -- [<ARGS>...]

is not expressible with clap, sadly and
cargo-fuzz run <TARGET> [<FILE>...] [<ARGS>...]

is obviously ambiguous. We could have a flag that looks like --no-default-corpus but I feel like looking at the ARGS to figure if we should pass through our own corpus is trivially enough correct.

You should have args before target.
This is a pretty common CLI pattern. cmd <args> <name> -- <...>

Why are we even travis-ing stable rust?

This is what the CLI looks like now, which is exactly what I was going for
    cargo-fuzz run <TARGET> [CORPUS]... [-- <ARGS>...]

Couldn’t be any better.

You should have args before target.

That requires either copying the whole set of libfuzzer arguments into our CLI or restricting ourselves from adding our own arguments in the future.

r+

@bors r=Manishearth

r=Manishearth

bors r=Manishearth

you understand this instead maybe?


237 - Task visualization

Description
Visualization of due dates of "to do" and" in progress" tasks.
Summary:
Issue Link:
#237
Testing
Type of action

[ ] Bug fix
[x] New feature
[ ] Requires a documentation update
[ ] Others:

Checklist

[x] My code style is consistent with the current project
[x] I have done a brief review of my code
[x] I have written readable comments
[x] I have updated the documentation related to the changes I made
[x] I have written reasonable tests and the updated version all passed
[x] There should be no potential errors after the changes get merged into main

Action Required

Please create an issue later to toggle the view from calendar to kanban, also create an inbox column for to do list


[google-tag-manager] removed lodash dependency

lodash package is so Big!
it shouldn't be used easily in such a small module.
in my Nuxt.js project, lodash.js file used by @nuxtjs/google-tag-manager was the biggest file of all js files...

so i removed lodash dependency.

Sorry for wrong assignment :))


[Bug] OAuth 2 ACCESS TOKEN URL does not accept environment variable

Insomnia Version: 5.16.1 (5.16.1)
Operating System: Mac OS 10.12.6

Details
When using the OAuth 2 authentication within a request, Resource Owner Password Credentials takes ACCESS TOKEN URL. However, when this is used with a nunjucks variable, such as {{ tokenUrl }}, the request fails with the following message:

[oauth2] Failed to fetch access token url= status=0

It seems that Insomnia is not correctly parsing variables for this particular field, as the variable is a valid URL such as https://domain.tld/api/token. A screenshot of the fields is shown below:

I think part of the problem is that the changes are debounced at 500ms. Going to remove the debouncing on that form as it isn't really needed.

I have a feeling that removing the debouncing probably "fixed" this issue. Feel free to comment if it's still happening but I'm going to close it for now.


login page

all is well but some error is there so please i request you to solve it in sign in page
@Pranjal360Agarwal

Can you please elaborate what these lines of codes will exactly do in this project?

Can you please elaborate what these lines of codes will exactly do in this project?

Which lines

Which lines
On Fri, Dec 9, 2022, 3:26 AM Pranjal Agarwal @.***>
wrote:

Can you please elaborate what these lines of codes will exactly do in this
project?
—
Reply to this email directly, view it on GitHub
https://github.com/Pranjal360Agarwal/ApnaBharat-Bus-Booking-Reservation-System/pull/11#issuecomment-1343423520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWPJVMRPZQ4NXKIF7G7Y54TWMJKP5ANCNFSM6AAAAAASYRB6BE
.
You are receiving this because you authored the thread.Message ID:
<Pranjal360Agarwal/ApnaBharat-Bus-Booking-Reservation-System/pull/11/c1343423520
@github.com>

can you just send the video recording if how this project is working after adding your lines of code

On my whatsapp no:-<PHONE_NUMBER>

Ok, will do that.
On Fri, Dec 9, 2022, 9:42 AM Pranjal Agarwal @.***>
wrote:

can you just send the video recording if how this project is working after
adding your lines of code
—
Reply to this email directly, view it on GitHub
https://github.com/Pranjal360Agarwal/ApnaBharat-Bus-Booking-Reservation-System/pull/11#issuecomment-1343822149,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWPJVMVJD5MF5DWLY4Q5BK3WMKWQ7ANCNFSM6AAAAAASYRB6BE
.
You are receiving this because you authored the thread.Message ID:
<Pranjal360Agarwal/ApnaBharat-Bus-Booking-Reservation-System/pull/11/c1343822149
@github.com>


Began typing for bluetooth messaging

Looks good to me!  Thanks so much for the contribution! :partying_face:


Update repositories.json

I'd like to add my repository to HPM.  Thanks!

Fixed.  Sorry.

Sorry.  I added the missing command and committed.
..Marc..
From: dcmeglio<EMAIL_ADDRESS>Sent: Wednesday, February 17, 2021 9:29 PM
To: dcmeglio/hubitat-packagerepositories<EMAIL_ADDRESS>Cc: MHedish<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dcmeglio/hubitat-packagerepositories] Update repositories.json (#89)
@dcmeglio requested changes on this pull request.
The addition doesn't appear to be valid JSON, it looks like you are missing a comma.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dcmeglio/hubitat-packagerepositories/pull/89#pullrequestreview-592799405 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUKUMINJUKHU3V5B2HX7R3S7R3OFANCNFSM4XZLCVMQ .  https://github.com/notifications/beacon/ANUKUMP2IVLTYUJS2ML2IK3S7R3OFA5CNFSM4XZLCVM2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOENKWNLI.gif


refactor: removes ABI encoding for input params

Complimentary PR to https://github.com/worldcoin/world-id-js/pull/2. Removes references to ABI-encoding in input parameters.

FYI @philsippl in addition to getting rid of ABI encoding we now point that the action ID (previously external nullifier) should be the smart contract's address.