[c++] upgrade_domain for DataFrame

Issue and/or context: As tracked on issue #2407 / [sc-51048].
Note that the intended Python and R API changes are all agreed on and finalized as described in #2407.
Changes:

This is upgrade_domain for SOMADataFrame at the C++ level

Notes for Reviewer:
This PR is a work in progress. It is not ready for review.

@nguyenv this was inadvertently included in my merge of #3236. My mistake:

Stack of

#3220 (this PR
#3234
#3236 (approved)
#3235
#3237
#3238

Given that #3236 was approved and others underneath it were not, and that #3236 didn't depend crucially on #3220 or #3234, I switched #3236 to be a merge into main so I could merge it. However, this included 3220 and 3234 in 3236 which was not my intent.
Happy to re-open this PR for discussion if you like.
My apologies again for the misstep and the confusion.


Timezone is Always Local Time Instead of emit-timezone

I am trying to convert datetime to UTC, however the timezone is always showing as local timezone, in display and emit.
<template>
    <Datepicker
        :modelValue="value"
        format="dd/MM/yyyy HH:mm z"
        emit-timezone="UTC"
        @update:model-timezone-value="handleDate"
    />
</template>
...
...
...
handleDate($event) {
    console.debug($event);
    $event = $event.toISOString();
    console.debug($event);
    this.$emit('input', $event);
},

To Reproduce
Steps to reproduce the behavior:

Select date
Select time
Click "Select"
See timezone in field is GMT+1 (my local time)

Expected behavior
Since i have set the emit timezone as UTC emit-timezone="UTC" I expect the timezone output would be in UTC not GMT+1 after the time was subtracted by one
Screenshots
field and console after step 3

using toISOString subtracts another hour which also proves that the timezone is not UTC

Desktop & mobile (please complete the following information):

Browser firefox 120.0 (64-bit)
Library version 7.2.2

It is working as expected, you can't change the timezone in the default Date object, however, the time value is subtracted


cant Train the model

i used the following code in the terminal
python train.py 0
And I got the following errors
Traceback (most recent call last):'   File "train.py", line 240, in
with tf.device(gpuNow):'
`File "/home/farshid/anaconda3/lib/python3.5/contextlib.py", line 59, in enter
return next(self.gen)'
File "/home/farshid/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3045, in device'     device_function = pydev.merge_device(device_name_or_function)'
File "/home/farshid/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/device.py", line 282, in merge_device'     spec = DeviceSpec.from_string(spec or "")'
File "/home/farshid/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/device.py", line 228, in from_string'     return DeviceSpec().parse_from_string(spec)'
`File "/home/farshid/anaconda3/lib/python3.5/site-packages/tensorflow/python/framework/device.py", line 146, in parse_from_string'
splits = [x.split(":") for x in spec.split("/")]'AttributeError: 'int' object has no attribute 'split'
`

Do you have a GPU or just a CPU? Another thing I noted is you are using python 3.5, while train.py is ready for python 2, the only issue I think is with print function, if you use python 3 it must have parenthesis: print('Training Begin') instead of print 'Training Begin'.
If you have a CPU and not GPU try changing line 240 from with tf.device(gpuNow): to:
with tf.device("/cpu:0"):

OK. thanks
I will update you if it works or not
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality3&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality3&
Regards,
On Fri, Apr 20, 2018 at 1:09 PM, Norberto Zurita<EMAIL_ADDRESS>wrote:

Do you have a GPU or just a CPU? Another thing I noted is you are using
python 3.5, while train.py is ready for python 2, the only issue I think
is with print function, if you use python 3 it must have parenthesis: print('Training
Begin') instead of print 'Training Begin'.
If you have a CPU and not GPU try changing line 240 from with
tf.device(gpuNow): to:
with tf.device("/cpu:0"):
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/huangshiyu13/RPNplus/issues/16#issuecomment-383002974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae9uRZhRCpd-PgI6908aUdx2luRTABNOks5tqYnFgaJpZM4Rur6A
.


Cluster teardown for GCE not working

$ go run hack/e2e.go -v -down ; go run hack/e2e.go -v -up ; hack/ginkgo-e2e.sh -t Cluster
2015/03/13 12:04:50 Running: teardown
Project: kubernetes-satnam
Zone: us-central1-b
Shutting down test cluster in background.
ERROR: (gcloud.compute.firewall-rules.delete) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-minion-e2e-test-satnam-http-alt' was not found

Bringing down cluster using provider: gce
Project: kubernetes-satnam
Zone: us-central1-b
ERROR: (gcloud.compute.firewall-rules.delete) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-fluentd-elasticsearch-logging' was not found

current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl delete services elasticsearch-logging
F0313 12:04:53.869278   28975 delete.go:67] Client error processing command: Get http://localhost:8080/api/v1beta1/services/elasticsearch-logging?namespace=default: dial tcp <IP_ADDRESS>:8080: connection refused
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl delete services kibana-logging
F0313 12:04:54.035822   29018 delete.go:67] Client error processing command: Get http://localhost:8080/api/v1beta1/services/kibana-logging?namespace=default: dial tcp <IP_ADDRESS>:8080: connection refused
Bringing down cluster
Managed instance group e2e-test-satnam-minion-group is being deleted. Operation: operation-1426273494669-74fdb756-843d-403c-85b3-00b33b8faa48
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/instanceTemplates/e2e-test-satnam-minion-template].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
ERROR: (gcloud.compute.disks.delete) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/zones/us-central1-b/disks/e2e-test-satnam-master-pd' was not found

Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-master-https].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-minion-all].
Deleting routes e2e-test-satnam-minion-jo0q e2e-test-satnam-minion-qhgy
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-jo0q].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-qhgy].
ERROR: (gcloud.compute.addresses.delete) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/regions/us-central1/addresses/e2e-test-satnam-master-ip' was not found

current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl config unset clusters.kubernetes-satnam_e2e-test-satnam
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl config unset users.kubernetes-satnam_e2e-test-satnam
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl config unset contexts.kubernetes-satnam_e2e-test-satnam
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl config view -o template --template={{ index . "current-context" }}
Cleared config for kubernetes-satnam_e2e-test-satnam from /usr/local/google/home/satnam/.kube/.kubeconfig
Done
2015/03/13 12:06:16 Running: get status
Project: kubernetes-satnam
Zone: us-central1-b
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl --match-server-version version
F0313 12:06:17.432473   29475 version.go:34] Client error processing command: couldn't read version from server: Get http://localhost:8080/version: dial tcp <IP_ADDRESS>:8080: connection refused
2015/03/13 12:06:17 Error running get status: exit status 255
2015/03/13 12:06:17 Running: up
Project: kubernetes-satnam
Zone: us-central1-b
Starting cluster using provider: gce
... calling verify-prereqs
... calling kube-up
Project: kubernetes-satnam
Zone: us-central1-b
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl config view -o template --template={{$dot := .}}{{with $ctx := index $dot "current-context"}}{{$user := index $dot "contexts" $ctx "user"}}{{index $dot "users" $user "username"}}{{end}}
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/local/bin/linux/amd64/kubectl config view -o template --template={{$dot := .}}{{with $ctx := index $dot "current-context"}}{{$user := index $dot "contexts" $ctx "user"}}{{index $dot "users" $user "password"}}{{end}}
+++ Staging server tars to Google Storage: gs://kubernetes-staging-e6d0e/devel
Starting master and configuring firewalls
WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-master-https].
NAME                         NETWORK SRC_RANGES RULES   SRC_TAGS TARGET_TAGS
e2e-test-satnam-master-https e2e     <IP_ADDRESS>/0  tcp:443          e2e-test-satnam-master
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/disks/e2e-test-satnam-master-pd].
NAME                      ZONE          SIZE_GB TYPE        STATUS
e2e-test-satnam-master-pd us-central1-b 10      pd-standard READY
+++ Logging using Fluentd to elasticsearch
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-minion-all].
NAME                       NETWORK SRC_RANGES    RULES                    SRC_TAGS TARGET_TAGS
e2e-test-satnam-minion-all e2e     <IP_ADDRESS>/16 tcp,udp,icmp,esp,ah,sctp          e2e-test-satnam-minion
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
NAME                   ZONE          MACHINE_TYPE INTERNAL_IP    EXTERNAL_IP     STATUS
e2e-test-satnam-master us-central1-b g1-small     <IP_ADDRESS> <IP_ADDRESS> RUNNING
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Creating minions.
WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/instanceTemplates/e2e-test-satnam-minion-template].
NAME                            MACHINE_TYPE CREATION_TIMESTAMP
e2e-test-satnam-minion-template g1-small     2015-03-13T12:07:21.482-07:00
Managed instance group e2e-test-satnam-minion-group is being created. Operation: operation-1426273658633-1bd5031d-7a9b-457f-ad91-c5efe7ee1722
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 1 out of 2 running. Retrying.
MINION_NAMES=e2e-test-satnam-minion-dd48 e2e-test-satnam-minion-wn3q
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY
ERROR: (gcloud.compute.routes.create) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/routes/e2e-test-satnam-master' already exists

Attempt 1 failed to create route e2e-test-satnam-master. Retrying.
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-wn3q].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-dd48].
NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY
ERROR: (gcloud.compute.routes.create) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/routes/e2e-test-satnam-master' already exists

Attempt 2 failed to create route e2e-test-satnam-master. Retrying.
NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY
ERROR: (gcloud.compute.routes.create) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/routes/e2e-test-satnam-master' already exists

Attempt 3 failed to create route e2e-test-satnam-master. Retrying.
NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY
ERROR: (gcloud.compute.routes.create) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/routes/e2e-test-satnam-master' already exists

Attempt 4 failed to create route e2e-test-satnam-master. Retrying.
NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY
ERROR: (gcloud.compute.routes.create) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/routes/e2e-test-satnam-master' already exists

Attempt 5 failed to create route e2e-test-satnam-master. Retrying.
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-wn3q].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-dd48].
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-wn3q e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-wn3q 1000
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-dd48 e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-dd48 1000
NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY
ERROR: (gcloud.compute.routes.create) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/routes/e2e-test-satnam-master' already exists

Attempt 6 failed to create route e2e-test-satnam-master. Retrying.
NAME NETWORK DEST_RANGE NEXT_HOP PRIORITY
ERROR: (gcloud.compute.routes.create) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/routes/e2e-test-satnam-master' already exists

Failed to create route e2e-test-satnam-master

@zmerlynn @jlowdermilk

This is really cc @brendanburns, but are you synced to past #5448?

Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/instanceTemplates/e2e-test-satnam-minion-template].
NAME                            MACHINE_TYPE CREATION_TIMESTAMP
e2e-test-satnam-minion-template g1-small     2015-03-13T15:53:36.015-07:00
Managed instance group e2e-test-satnam-minion-group is being created. Operation: operation-1426287228110-5cf2665c-674a-45a5-9b53-8a9fb6833509
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 1 out of 2 running. Retrying.
Waiting for minions to run. 1 out of 2 running. Retrying.
MINION_NAMES=e2e-test-satnam-minion-sdjx e2e-test-satnam-minion-y4fw
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-sdjx].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-y4fw].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-master].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-sdjx].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-y4fw].
NAME                   NETWORK DEST_RANGE    NEXT_HOP                                       PRIORITY
e2e-test-satnam-master e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-master 1000
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-sdjx e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-sdjx 1000
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-y4fw e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-y4fw 1000
Using master: e2e-test-satnam-master (external IP: <IP_ADDRESS>)
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/regions/us-central1/addresses/e2e-test-satnam-master-ip].
NAME                      REGION      ADDRESS         STATUS
e2e-test-satnam-master-ip us-central1 <IP_ADDRESS> IN_USE
Waiting for cluster initialization.

  This will continually check to see if the API for kubernetes is reachable.
  This might loop forever if there was some uncaught error during start
  up.

............................................................................................

@roberthbailey @a-robinson apologies -- this is blocking my progress on addressing your kind review comments for the e2e cluster level logging test #5269

If you have the full kube-up output, can you dump it in a gist?

I do get:
Use "kubectl help [command]" for more information about a command.
Error: unknown command "--match-server-version"
Run 'help' for usage.

ERROR: (gcloud.compute.firewall-rules.delete) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-minion-e2e-test-satnam-http-alt' was not found

Bringing down cluster using provider: gce
Project: kubernetes-satnam
Zone: us-central1-b
ERROR: (gcloud.compute.firewall-rules.delete) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-fluentd-elasticsearch-logging' was not found

current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl delete services elasticsearch-logging
F0313 16:09:43.321812   22722 delete.go:67] Client error processing command: Get http://localhost:8080/api/v1beta1/services/elasticsearch-logging?namespace=default: dial tcp <IP_ADDRESS>:8080: connection refused
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl delete services kibana-logging
F0313 16:09:43.500610   22765 delete.go:67] Client error processing command: Get http://localhost:8080/api/v1beta1/services/kibana-logging?namespace=default: dial tcp <IP_ADDRESS>:8080: connection refused
Bringing down cluster
Managed instance group e2e-test-satnam-minion-group is being deleted. Operation: operation-1426288184141-b597577f-6f41-4fe3-9e9a-9fb42b7433e6
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/instanceTemplates/e2e-test-satnam-minion-template].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
ERROR: (gcloud.compute.disks.delete) Some requests did not succeed:
 - The resource 'projects/kubernetes-satnam/zones/us-central1-b/disks/e2e-test-satnam-master-pd' was not found

Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-master-https].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-minion-all].
Deleting routes e2e-test-satnam-minion-sdjx e2e-test-satnam-minion-y4fw e2e-test-satnam-master
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-sdjx].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-y4fw].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-master].
Deleted [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/regions/us-central1/addresses/e2e-test-satnam-master-ip].
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config unset clusters.kubernetes-satnam_e2e-test-satnam
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config unset users.kubernetes-satnam_e2e-test-satnam
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config unset contexts.kubernetes-satnam_e2e-test-satnam
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config view -o template --template={{ index . "current-context" }}
Cleared config for kubernetes-satnam_e2e-test-satnam from /usr/local/google/home/satnam/.kube/.kubeconfig
Done
2015/03/13 16:11:17 Running: get status
Project: kubernetes-satnam
Zone: us-central1-b
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl --match-server-version version

Usage:
  kubectl [flags]
  kubectl [command]
Available Commands:
  version       Print the client and server version information.
  clusterinfo   Display cluster info
  proxy         Run a proxy to the Kubernetes API server
  get           Display one or many resources
  describe      Show details of a specific resource
  create        Create a resource by filename or stdin
  update        Update a resource by filename or stdin.
  delete        Delete a resource by filename, stdin, or resource and ID.
  config        config modifies .kubeconfig files
  namespace     SUPERCEDED: Set and view the current Kubernetes namespace
  log           Print the logs for a container in a pod.
  rollingupdate Perform a rolling update of the given ReplicationController.
  resize        Set a new size for a Replication Controller.
  exec          Execute a command in a container.
  port-forward  Forward 1 or more local ports to a pod.
  run-container Run a particular image on the cluster.
  stop          Gracefully shut down a resource by id or filename.
  expose        Take a replicated application and expose it as Kubernetes Service
  label         Update the labels on a resource
  help          Help about any command

Flags:
      --alsologtostderr=false: log to standard error as well as files
      --api-version="": The API version to use when talking to the server
  -a, --auth-path="": Path to the auth info file. If missing, prompt the user. Only used if using https.
      --certificate-authority="": Path to a cert. file for the certificate authority.
      --client-certificate="": Path to a client key file for TLS.
      --client-key="": Path to a client key file for TLS.
      --cluster="": The name of the kubeconfig cluster to use
      --context="": The name of the kubeconfig context to use
  -h, --help=false: help for kubectl
      --insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
      --kubeconfig="": Path to the kubeconfig file to use for CLI requests.
      --log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
      --log_dir=: If non-empty, write log files in this directory
      --log_flush_frequency=5s: Maximum number of seconds between log flushes
      --logtostderr=true: log to standard error instead of files
      --match-server-version=false: Require server version to match client version
      --namespace="": If present, the namespace scope for this CLI request.
      --password="": Password for basic authentication to the API server.
  -s, --server="": The address and port of the Kubernetes API server
      --stderrthreshold=2: logs at or above this threshold go to stderr
      --token="": Bearer token for authentication to the API server.
      --user="": The name of the kubeconfig user to use
      --username="": Username for basic authentication to the API server.
      --v=0: log level for V logs
      --validate=false: If true, use a schema to validate the input before sending it
      --vmodule=: comma-separated list of pattern=N settings for file-filtered logging

Use "kubectl help [command]" for more information about a command.
Error: unknown command "--match-server-version"
Run 'help' for usage.

kubectl: invalid command [`--match-server-version` `version`]
Run 'kubectl help' for usage
2015/03/13 16:11:18 Error running get status: exit status 1
2015/03/13 16:11:18 Running: up
Project: kubernetes-satnam
Zone: us-central1-b
Starting cluster using provider: gce
... calling verify-prereqs
... calling kube-up
Project: kubernetes-satnam
Zone: us-central1-b
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config view -o template --template={{$root := .}}{{with index $root "current-context"}}{{with index $root "contexts" .}}{{with index . "user"}}{{with index $root "users" .}}{{index . "username"}}{{end}}{{end}}{{end}}{{end}}
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config view -o template --template={{$root := .}}{{with index $root "current-context"}}{{with index $root "contexts" .}}{{with index . "user"}}{{with index $root "users" .}}{{index . "password"}}{{end}}{{end}}{{end}}{{end}}
+++ Staging server tars to Google Storage: gs://kubernetes-staging-e6d0e/devel
Starting master and configuring firewalls
WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/disks/e2e-test-satnam-master-pd].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-master-https].
NAME                      ZONE          SIZE_GB TYPE        STATUS
e2e-test-satnam-master-pd us-central1-b 10      pd-standard READY
NAME                         NETWORK SRC_RANGES RULES   SRC_TAGS TARGET_TAGS
e2e-test-satnam-master-https e2e     <IP_ADDRESS>/0  tcp:443          e2e-test-satnam-master
+++ Logging using Fluentd to elasticsearch
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-minion-all].
NAME                       NETWORK SRC_RANGES    RULES                    SRC_TAGS TARGET_TAGS
e2e-test-satnam-minion-all e2e     <IP_ADDRESS>/16 tcp,udp,icmp,esp,ah,sctp          e2e-test-satnam-minion
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
NAME                   ZONE          MACHINE_TYPE INTERNAL_IP   EXTERNAL_IP    STATUS
e2e-test-satnam-master us-central1-b g1-small     <IP_ADDRESS> <IP_ADDRESS> RUNNING
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Creating minions.
WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/instanceTemplates/e2e-test-satnam-minion-template].
NAME                            MACHINE_TYPE CREATION_TIMESTAMP
e2e-test-satnam-minion-template g1-small     2015-03-13T16:12:19.593-07:00
Managed instance group e2e-test-satnam-minion-group is being created. Operation: operation-1426288344032-fe59f9ba-4554-491d-b617-d21a7efc2b31
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 1 out of 2 running. Retrying.
MINION_NAMES=e2e-test-satnam-minion-iydx e2e-test-satnam-minion-j9nf
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-j9nf].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-iydx].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-iydx].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-master].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-j9nf].
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-iydx e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-iydx 1000
NAME                   NETWORK DEST_RANGE    NEXT_HOP                                       PRIORITY
e2e-test-satnam-master e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-master 1000
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-j9nf e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-j9nf 1000
Using master: e2e-test-satnam-master (external IP: <IP_ADDRESS>)
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/regions/us-central1/addresses/e2e-test-satnam-master-ip].
NAME                      REGION      ADDRESS        STATUS
e2e-test-satnam-master-ip us-central1 <IP_ADDRESS> IN_USE
Waiting for cluster initialization.

  This will continually check to see if the API for kubernetes is reachable.
  This might loop forever if there was some uncaught error during start
  up.

.........................

It could be me. My brain is mush after being call for two days.

How long did you wait before killing it? Could just be gce slowness.

Various durations including one > 20 minutes.
On Fri, Mar 13, 2015 at 4:24 PM, Jeff Lowdermilk<EMAIL_ADDRESS>wrote:

How long did you wait before killing it? Could just be gce slowness.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5451#issuecomment-79523120
.

How many more dotes do you want to see?
e2e-test-satnam-master-ip us-central1 <IP_ADDRESS> IN_USE
Waiting for cluster initialization.

  This will continually check to see if the API for kubernetes is reachable.
  This might loop forever if there was some uncaught error during start
  up.

..................................................................................................................................................................................................

Switching to a different GCE project makes everything work.

You probably have some resource that's screwed up and not getting torn down
correctly. (Maybe something that teardown didn't find because it was in a
different zone?)
On Fri, Mar 13, 2015 at 5:02 PM, Satnam Singh<EMAIL_ADDRESS>wrote:

Switching to a different GCE project makes everything work.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5451#issuecomment-79544797
.

Several time I went into Dev Console and deleted all stray resources manually -- it did not help.

I'm disturbed there were stray resources after kube-down...
On Fri, Mar 13, 2015 at 5:16 PM, Satnam Singh<EMAIL_ADDRESS>wrote:

Several time I went into Dev Console and deleted all stray resources
manually -- it did not help.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5451#issuecomment-79561182
.

I deleted all of my clusters.
I deleted my ~/.kube directory.
I tried to make a fresh new e2e cluster.
Still to no avail.
$ go run hack/e2e.go -v -up ; hack/ginkgo-e2e.sh -t Cluster
2015/03/16 13:40:20 Running: get status
Project: kubernetes-satnam
Zone: us-central1-b
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl --match-server-version version
F0316 13:40:21.883362    7715 version.go:34] Client error processing command: couldn't read version from server: Get http://localhost:8080/version: dial tcp <IP_ADDRESS>:8080: connection refused
2015/03/16 13:40:21 Error running get status: exit status 255
2015/03/16 13:40:21 Running: up
Project: kubernetes-satnam
Zone: us-central1-b
Starting cluster using provider: gce
... calling verify-prereqs
... calling kube-up
Project: kubernetes-satnam
Zone: us-central1-b
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config view -o template --template={{$root := .}}{{with index $root "current-context"}}{{with index $root "contexts" .}}{{with index . "user"}}{{with index $root "users" .}}{{index . "username"}}{{end}}{{end}}{{end}}{{end}}
current-context: ""
Running: /usr/local/google/home/satnam/gocode/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl config view -o template --template={{$root := .}}{{with index $root "current-context"}}{{with index $root "contexts" .}}{{with index . "user"}}{{with index $root "users" .}}{{index . "password"}}{{end}}{{end}}{{end}}{{end}}
+++ Staging server tars to Google Storage: gs://kubernetes-staging-e6d0e/devel
Starting master and configuring firewalls
WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-master-https].
NAME                         NETWORK SRC_RANGES RULES   SRC_TAGS TARGET_TAGS
e2e-test-satnam-master-https e2e     <IP_ADDRESS>/0  tcp:443          e2e-test-satnam-master
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/disks/e2e-test-satnam-master-pd].
NAME                      ZONE          SIZE_GB TYPE        STATUS
e2e-test-satnam-master-pd us-central1-b 10      pd-standard READY
+++ Logging using Fluentd to elasticsearch
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/firewalls/e2e-test-satnam-minion-all].
NAME                       NETWORK SRC_RANGES    RULES                    SRC_TAGS TARGET_TAGS
e2e-test-satnam-minion-all e2e     <IP_ADDRESS>/16 tcp,udp,icmp,esp,ah,sctp          e2e-test-satnam-minion
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
NAME                   ZONE          MACHINE_TYPE INTERNAL_IP    EXTERNAL_IP   STATUS
e2e-test-satnam-master us-central1-b g1-small     <IP_ADDRESS> <IP_ADDRESS> RUNNING
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Creating minions.
WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more information, see: https://developers.google.com/compute/docs/disks#pdperformance.
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/instanceTemplates/e2e-test-satnam-minion-template].
NAME                            MACHINE_TYPE CREATION_TIMESTAMP
e2e-test-satnam-minion-template g1-small     2015-03-16T13:41:28.890-07:00
Managed instance group e2e-test-satnam-minion-group is being created. Operation: operation-1426538496534-948f6ba4-fcdb-4a04-9eb2-a53123be3876
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
Waiting for minions to run. 0 out of 2 running. Retrying.
MINION_NAMES=e2e-test-satnam-minion-2dkr e2e-test-satnam-minion-anxf
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-master].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-2dkr].
Updated [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/zones/us-central1-b/instances/e2e-test-satnam-minion-anxf].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-anxf].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-master].
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/global/routes/e2e-test-satnam-minion-2dkr].
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-anxf e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-anxf 1000
NAME                   NETWORK DEST_RANGE    NEXT_HOP                                       PRIORITY
e2e-test-satnam-master e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-master 1000
NAME                        NETWORK DEST_RANGE    NEXT_HOP                                            PRIORITY
e2e-test-satnam-minion-2dkr e2e     <IP_ADDRESS>/24 us-central1-b/instances/e2e-test-satnam-minion-2dkr 1000
Using master: e2e-test-satnam-master (external IP: <IP_ADDRESS>)
Created [https://www.googleapis.com/compute/v1/projects/kubernetes-satnam/regions/us-central1/addresses/e2e-test-satnam-master-ip].
NAME                      REGION      ADDRESS       STATUS
e2e-test-satnam-master-ip us-central1 <IP_ADDRESS> IN_USE
Waiting for cluster initialization.

  This will continually check to see if the API for kubernetes is reachable.
  This might loop forever if there was some uncaught error during start
  up.

...................................................................................................................................................................................

Let's livedebug on IRC.

@satnam6502 @zmerlynn Was there a verdict from IRC livedebug?

Not enough whisky. Or we need to delete the e2e network and retry.


Include turn restrictions?

Great tool!  For modelling routes, does this module incorporate turn_restrictions? In OSM, it is modeled as relations.

At the moment it does not, but I'm looking into adding this into an upcoming release.

While I like the idea of this in theory, it looks like it's beyond the scope of OSMnx. A robust routing package built on top of OSMnx could perhaps be a better future home for this functionality. Directional turn restrictions provide a nontrivial algorithmic challenge. OSMnx uses NetworkX's path calculation algorithms, and they don't account for spatial networks with turn restrictions. Using something like SimpleOsmRouter or PyRoute might work for your application. But at this point, adding this functionality is beyond the project scope.

@gboeing Any news for this issue?
I wonder if you by any chance have started working on this issue. I found out that pgRouting, for instance, offers TRSP (turn restriction shortest path). I really am a big fan of osmnx and want to stay in this platform.
If not, could you provide me with any kind of hint so that I could try customizing osmnx and probably networkx by myself? I'm fully aware of the fact that it might become a huge project as you've mentioned couple month ago.
I'm also curious whether @maning found a way to this issue.

@higee I haven't worked on it further for the reasons I mentioned previously. But I'm open to it if it's feasible to incorporate TRSP with a python package. Keep me posted if your explorations uncover something useful.

@gboeing Could you share your email address? I wrote down some issues and my approaches with images inside pdf file. I tried uploading here but somehow it doesn't go up.


utils.Sequence iterates forever

As per Goodword's question, the keras.utils.Sequence class seems to iterate forever instead of stopping after a full epoch. To duplicate, run the following snippet.
class InfiniteGenerator(object):
    def __init__(self, alist):
        self.alist = alist

    def __getitem__(self, idx):
        return self.alist[idx]

    def __len__(self):
        return len(self.alist)

    def __iter__(self):
        for item in (self[i] for i in range(len(self))):
            yield item

from keras.utils import Sequence

class KGen(Sequence):
    def __init__(self, alist):
        self.alist = alist

    def __getitem__(self, idx):
        return self.alist[idx]

    def __len__(self):
        return len(self.alist)

if __name__ ==  '__main__':
    ig = InfiniteGenerator(list(range(4)))
    for item in ig:
        print(item)

    print('now trying second iterator')

    import time
    time.sleep(1)

    kg = KGen(list(range(4)))
    for item in kg:
        print(item)

The output will be as follows:
0
1
2
3
now trying second iterator
0
1
2
3
0
1
2
3
0
1
2
3
and so on ...

Tested on

Ubuntu 18.04
Keras 2.2.4
Tensorflow 1.11.0

FWIW, I tried this code on Python 2.7.15rc1, Python 3.6.6, and Conda Python 3.7 and in all cases I see it terminating...

I'll try matching my Python environment to yours and if I can still replicate.

I can reproduce your behavior, but I am not sure this is actually an issue. What indicates to you that it should actually terminate after an epoch?

@MFreidank From my understanding (and apologies in advance if I got something wrong, I'm still new to Python), since 2.2.3, the generator is no longer infinite, so I believe it should only loop once.
@jacquerie So I tried using non-conda Python 3.6.4 (installed through pyenv) and it works fine now. Going to try and use conda again to see if the issue returns... @MFreidank, may I ask what Python environment you're using?
As a side note, if this is in fact a Python issue and not a Keras one, would the right thing for me to do be to close this issue?

@MrSnappingTurtle  I am using Conda Python 3.6.8 with the tensorflow being 1.13.1 and keras 2.2.4
But still my generator is iterating forever .
????


Add default value for warning text icon fallback attribute

What/Why
Adds the default text 'Warning' to the iconFallbackText option for the warning text component.
As we're now setting a default value, I've also set this to no longer be a required attribute. I couldn't find any evidence in commit history that there's a risk in setting a default and not setting this as required and we use the word 'Warning' for this value in all our review app examples and our code example on the website, therefore I don't think this change is controversial.
Fixes https://github.com/alphagov/govuk-frontend/issues/2693

Does this need a changelog entry?


[WIP] Phi3poc

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[ ] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[ ] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 6.76%. Comparing base (0ad58b7) to head (47ae241).

:exclamation:  There is a different number of reports uploaded between BASE (0ad58b7) and HEAD (47ae241). Click for more details.
HEAD has 152 uploads less than BASE

Flag
BASE (0ad58b7)
HEAD (47ae241)

155
3

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #2301       +/-   ##
==========================================
- Coverage   84.63%   6.76%   -77.87%
==========================================
  Files         326     326
  Lines       16769   16769
  Branches     1502    1502
==========================================
- Hits        14192    1135    -13057
- Misses       2577   15634    +13057

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

/azp run

/azp run

/azp run


Crashed when set layout direction to a hybrid composition platform view

When set layout direction to a hybrid composition platform view,  an NullPointerException will be thrown.
E/MethodChannel#flutter/platform_views: Failed to handle method call
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View io.flutter.plugin.platform.VirtualDisplayController.getView()' on a null object reference
        at io.flutter.plugin.platform.PlatformViewsController$1.setDirection(PlatformViewsController.java:334)
        at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.setDirection(PlatformViewsChannel.java:189)
        at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:71)
        at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
        at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
        at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0(DartMessenger.java:206)
        at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$R4HPk6oFVb-i-YR_PN9YE6kqx1I.run(Unknown Source:12)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at android.app.ActivityThread.main(ActivityThread.java:7838)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(error, Attempt to invoke virtual method 'android.view.View io.flutter.plugin.platform.VirtualDisplayController.getView()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View io.flutter.plugin.platform.VirtualDisplayController.getView()' on a null object reference
        at io.flutter.plugin.platform.PlatformViewsController$1.setDirection(PlatformViewsController.java:334)
        at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.setDirection(PlatformViewsChannel.java:189)
        at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:71)
        at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
        at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
        at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0(DartMessenger.java:206)
        at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$R4HPk6oFVb-i-YR_PN9YE6kqx1I.run(Unknown Source:12)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at android.app.ActivityThread.main(ActivityThread.java:7838)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
    )
    #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
    #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
    <asynchronous suspension>
    #2      AndroidViewController.setLayoutDirection (package:flutter/src/services/platform_views.dart:855:5)
    <asynchronous suspension>

Hi @wangying3426, Thanks for filing the issue. Please share the output of flutter doctor -v  and steps to reproduce the issue.

Hi @wangying3426, Thanks for filing the issue. Please share the output of flutter doctor -v  and steps to reproduce the issue.

C02D56F2MD6R:bin wangying$ flutter doctor -v
[✓] Flutter (Channel unknown, 2.8.0, on macOS 12.0.1 21A559 darwin-x64, locale en-CN)
• Flutter version 2.8.0 at /Users/wangying/Desktop/flutter/flutter
• Upstream repository unknown
• Framework revision cf44000065 (4 weeks ago), 2021-12-08 14:06:50 -0800
• Engine revision 40a99c5951
• Dart version 2.15.0
• Pub download mirror http://dart-pub.byted.org
• Flutter download mirror https://storage.flutter-io.cn
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/wangying/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[!] Android Studio
• Android Studio at /Applications/Android/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Android Studio not found at /Applications/Android/Contents
• Try updating or re-installing Android Studio.
[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.31.20211214
[✓] Connected device (4 available)
• Pixel 4 (mobile)   • 9A191FFAZ0051B                       • android-arm64  • Android 12 (API 31)
• iPhone 13 (mobile) • B525205B-409B-462D-9632-BF70EAA7D97B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• macOS (desktop)    • macos                                • darwin-x64     • macOS 12.0.1 21A559 darwin-x64
• Chrome (web)       • chrome                               • web-javascript • Google Chrome 93.0.4577.63
! Doctor found issues in 2 categories.
fixes it at #30611

Thanks for the doctor output @wangying3426, But I am not sure I understand the issue. Can you please share a minimal and complete reproducible code that reproduces the above exception?

Looks like this was merged.


Rename  placeholder to  on KMS Encryption doc

Addresses feedback given on #8491.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/681cabd6df2285524361c1a06710712f924adb88/
Edited pages:

v20.2/take-and-restore-encrypted-backups.md


customized prompts and customized data

Hello,Thanks for this work.
I want to know how to use customized prompts(maybe update in future?).
And, is there any possibility to fine-tune (or any other method) to fit customized data?

Hello, sorry for the late reply, we are still refining our API usage, and we will release this function in the future.


Optimize retrieve_interface_surface_and_items_and_implemented_items_for_type

Description
Partially addresses https://github.com/FuelLabs/sway/issues/5781.
This reduces the problem of millions of TyFunctionDecl being created.
For more details see: https://github.com/FuelLabs/sway/pull/5782
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).

[ ] If my change requires substantial documentation changes, I have requested support from the DevRel team

[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

Had to rebase. @IGI-111 and @tritao


Adding dockerfile

Change your *-site.xml files before building your docker file (for now)

I think you mean to open the PR against mesosphere/hdfs, rather than this repo.


Fix issue in configurator related to number inputs

There's an issue related to number inputs in the demos Configurator.
More context: https://github.com/svelteuidev/svelteui/pull/407#discussion_r1243404221
After this fix, add rows prop to Textarea usage demo

Fixed in https://github.com/svelteuidev/svelteui/commit/5964648ccdf0a1d60a561ac6f491fd311419b4cb


Update contributing.md

Description

Added images to github contribution instructions and corrected the repository name in the instructions.
Motivation and Context
 closes #435

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

@MAVRICK-1 Kindly review and merge


Logging dig difinition fetched by http_call> operator

To make debugging easier, logging digdag definition which is fetched by http_call> operator.
Also added a test case for HttpCallOperatorFactory to confirm added logging works as expected.
For example, the log looks like:
11:09:25.035 [Test worker] INFO  i.d.s.o.HttpCallOperatorFactory - Fetched definition for http_call>:
+sample:
  echo>: 'hello'

@petitviolet Thank you for your explanation.
I agree with that task log may not be affected.
I have a concern on not task log but server log.
If I don't misunderstand,  this log may be sent to server log too. In this side I have a concern on the size.
I also agree with another operator also make large log.
But I am not sure about it.
Please wait for a while. I will re-think it.

@petitviolet Sorry for my late reply.
May I ask you to change the PR target from master to v0_10 if you want to use this in our service?

@yoyama I've updated this PR target to v0_10, and also rebased my branch. Thanks!


Customize "reason phrase"

Added the ability for test cases to customize the "reason" phrase value that is used in the mock server response.

Version 2.0.8-beta already has this. 1.x on master is frozen now as per the README.

I synced with the master just yesterday and did not see the implementation. Apologies.

All the activity is on the 2.0-beta branch at the moment. Will move back to master when it's out of beta (soon hopefully).


Settings lost after update to <IP_ADDRESS>

As the topic says. Can it please be ensured, that response settings and window positions are saved on an update?

%userprofile%/appdata/local/MercuryTrade/config.json file contains old settings, configuration.json is a new file.


Update virtual-machines-windows-classic-manage-psh.md

Fixed code formatting.

Hi @alexandair, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@alexandair : Thanks for your contribution to the Azure documentation! The author, @singhkay, has been notified to review your proposed change.

lgtm #sign-off


RG edits

@datalorax
Strengths

Very unique use of Leaflet for maps
Great job tidying the data and creating all the data frames!
Great use of filter/select to parse out data of interest

I Learned

From the title of the last plot: a high concentration of Oregon districts with DLI programs are in predominantly white districts

Areas for improvement

Many of the visualizations didn't run for me ( I commented which ones). I'm not sure why, but I got several error messages. The map leaflet plot did run for me but it would be helpful to have a title so that it is clear what you are visualizing.
I wasn't too sure what the first few plots were trying to show. Maybe use titles and labels to clarify

Nice review Reecca! I really appreciate you pointing out the areas that didn't run for you. That's super helpful information.


raycast: 1.79.0 -> 1.80.0

Description of changes
Changelog: https://www.raycast.com/changelog/1-80-0
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 331345 run on aarch64-darwin 1

1 package built:

raycast

Result of nixpkgs-review pr 331345 run on x86_64-linux 1


fix: scores being calculated as infinite/0pp

note to james: READ LE DOCS next time 🚎
https://github.com/osuAkatsuki/akatsuki-pp-rs/blob/main/src/osu_2019/pp.rs#L139

@tsunyoku hi hi, could you create some basic documentation of how to run the mass recalculation for all user scores?


MINOR: Fix Javadoc Issues

This PR mainly fixes some broken links and invalid references in the clients Javadoc

SUCCESS
8053 tests run, 5 skipped, 0 failed.
--none--

SUCCESS
8053 tests run, 5 skipped, 0 failed.
--none--

SUCCESS
8053 tests run, 5 skipped, 0 failed.
--none--


Operator that works on Openshift fails on plain Kubernetes

Operator controller fails to start on plain kubernetes but works fine on OpenShift
Are you asking about community best practices, how to implement a specific feature, or about general context and help around the operator-sdk?
Yes
Question
What did you do?
https://github.com/harche/kata-operator gets installed fine on OpenShift, but when tried to deployed on plain Kubernetes the controller crashes.
What did you expect to see?
Controller to come up fine on plain kubernetes
What did you see instead? Under which circumstances?
{"level":"info","ts":1596109771.2075794,"logger":"cmd","msg":"Operator Version: 0.0.1"}
{"level":"info","ts":1596109771.2076263,"logger":"cmd","msg":"Go Version: go1.14.3"}
{"level":"info","ts":1596109771.207637,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1596109771.207647,"logger":"cmd","msg":"Version of operator-sdk: v0.16.0"}
{"level":"info","ts":1596109771.2087193,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1596109771.624088,"logger":"leader","msg":"Found existing lock with my name. I was likely restarted."}
{"level":"info","ts":1596109771.6241455,"logger":"leader","msg":"Continuing as the leader."}
{"level":"info","ts":1596109772.0273168,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"<IP_ADDRESS>:8383"}
{"level":"info","ts":1596109772.0276942,"logger":"cmd","msg":"Registering Components."}
{"level":"error","ts":1596109772.0291162,"logger":"cmd","msg":"","error":"the server could not find the requested resource","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/harshal/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nmain.main\n\tkata-operator/cmd/manager/main.go:140\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:203"}

Environment

operator-sdk version:
4fa12a42555ab30761e4371c40467abfb754cf59

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:58:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

Additional context
Add any other context about the question here.

After making following changes in the method that detects if we are running under OpenShift or not, the controller is coming up fine in plain kubernetes,
-       gv := metav1.GroupVersion{Group: "config.openshift.io", Version: "v1"}.String()
-
-       apiGroup, err := discoveryClient.ServerResourcesForGroupVersion(gv)
+       // Get a list of all API's on the cluster
+       apiGroup, _, err := discoveryClient.ServerGroupsAndResources()
        if err != nil {
                return false, err
        }

-       for _, group := range apiGroup.APIResources {
-               if group.Kind == "ClusterVersion" {
+       for i := 0; i < len(apiGroup); i++ {
+               if apiGroup[i].Name == "config.openshift.io" {
                        return true, nil
                }

Thanks for pointing me to your blog, https://developers.redhat.com/blog/2020/01/22/why-not-couple-an-operators-logic-to-a-specific-kubernetes-platform/


New version: maforget.ComicRackCE.Nightly version nightly-fda75fd

Pull request has been created with WinGet Releaser :rocket:
Microsoft Reviewers: Open in CodeFlow

For whatever reason the tool changed the architecture to x86.


<| add a scope operator to avoid nested parentheses

Hi,
As maud become my primary way to write html in rust, one ergonomic issues about converting standard html format to maud is to add { } for every nested block. In the end, I would have a block of html ends with }}}}}}.
Is it possible to have a pipe-like operator that add a new nested scope? e.g <| that create a scope with only single element.
So I would have this sample code look like this
html! {
        div class="container mx-auto px-6 pt-10 pb-6" {
          div class="flex flex-wrap" {
            @for (idx,section) in footer_setions.iter().enumerate() {
              div class="w-full sm:w-1/4 text-center sm:text-left" {
                h5 class="uppercase mb-6 font-bold" { (section.0) }
                ul class="mb-4" {
                  @for name in footer_setions[idx].1 {
                    li class="mt-2" {
                       a href="#" class="hover:underline text-gray-600 hover:text-orange-500"
                       { (name) }
                    }
                  }
        } } } } }
}

into
html! {
        div class="container mx-auto px-6 pt-10 pb-6"  <|
           div class="flex flex-wrap"  <|
            @for (idx,section) in footer_setions.iter().enumerate() <|
              div class="w-full sm:w-1/4 text-center sm:text-left" {
                h5 class="uppercase mb-6 font-bold" { (section.0) }
                ul class="mb-4" <|
                  @for name in footer_setions[idx].1 <|
                    li class="mt-2"  <|
                     a href="#" class="hover:underline text-gray-600 hover:text-orange-500" { (name) }
              }//div
} //html

Thanks!!

Thanks for the suggestion.
I'm hesitant to add something like this, because:

There's nothing in Rust or HTML that looks like <|, so this will eat into the "strangeness budget".
The syntax is already more concise than HTML, because you don't need to repeat the name in the end tag (</div>). So I don't feel the need to shorten it further.

For these reasons I will close this request. Feel free to reopen if you'd like to discuss further!


[refactor][fn] Use AuthorizationServer more in Function Worker API

Motivation
The current function worker interfaces introduced by #8560 are hard to extend. It is better to pass an object that we can add fields to as needed.
Modifications

Introduce a new AuthenticationParameters class to wrap all of the relevant authentication "data". This class is somewhat unfortunate in that we already have many classes that hold authentication information. However, my goal with this class is to wrap all of the relevant auth info. This class is only currently used in the Function Worker API, but I plan to add it to the rest of the Admin HTTP endpoints.
Add proxyRoles setting to function worker.

Verifying this change
There are tests to cover the changes.
Documentation

[x] doc

This change has Javadoc updates to document the changes.
Matching PR in forked repository
PR in forked repository: https://github.com/michaeljmarshall/pulsar/pull/37

@lhotari - thanks for your review. I've refactored things a bit more. Would you take another look? Thanks!

/pulsarbot rerun-failure-checks

Codecov Report

Merging #19975 (360be0f) into master (dd05408) will increase coverage by 38.23%.
The diff coverage is 50.70%.

@@              Coverage Diff              @@
##             master   #19975       +/-   ##
=============================================
+ Coverage     34.65%   72.89%   +38.23%
- Complexity    12429    31641    +19212
=============================================
  Files          1606     1858      +252
  Lines        125026   137402    +12376
  Branches      13667    15107     +1440
=============================================
+ Hits          43332   100155    +56823
+ Misses        76081    29264    -46817
- Partials       5613     7983     +2370

Flag
Coverage Δ

inttests
24.35% <0.80%> (-0.03%)
:arrow_down:

systests
25.00% <16.83%> (?)

unittests
72.17% <43.08%> (+39.07%)
:arrow_up:

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

Impacted Files
Coverage Δ

...a/org/apache/pulsar/broker/admin/v2/Functions.java
0.00% <0.00%> (ø)

...java/org/apache/pulsar/broker/admin/v2/Worker.java
11.76% <0.00%> (+11.76%)
:arrow_up:

...org/apache/pulsar/broker/admin/v2/WorkerStats.java
40.00% <0.00%> (+40.00%)
:arrow_up:

...tent/NonPersistentDispatcherMultipleConsumers.java
71.60% <ø> (+32.09%)
:arrow_up:

...ons/worker/rest/api/v2/FunctionsApiV2Resource.java
0.00% <0.00%> (ø)

...s/worker/rest/api/v2/WorkerStatsApiV2Resource.java
0.00% <0.00%> (ø)

...ulsar/functions/worker/rest/api/FunctionsImpl.java
56.55% <16.66%> (+55.80%)
:arrow_up:

...org/apache/pulsar/broker/admin/impl/SinksBase.java
35.29% <35.71%> (+35.29%)
:arrow_up:

...g/apache/pulsar/broker/admin/impl/SourcesBase.java
35.29% <35.71%> (+35.29%)
:arrow_up:

...ons/worker/rest/api/v3/FunctionsApiV3Resource.java
43.39% <37.50%> (+43.39%)
:arrow_up:

... and 23 more

... and 1468 files with indirect coverage changes

@michaeljmarshall I noticed that this PR changed the interface of the functions worker's API, such changes should be avoided to cherry-pick into the historical branches.
As for the APIs changes, it requires a PIP first, then adopting the implementation to the codebase, see https://github.com/apache/pulsar/blob/master/wiki/proposals/PIP.md#when-is-a-pip-required. It should be better to revert this PR first, send the PIP to the community, and then get the implementation to the codebase, WDYT?

This is not strictly a public API change, it is more like fixing a security issue.
Nobody is expected to implement these interfaces.

@freeznet I have forward the email under the private mailing list to your apache email, so that you can get all the context about the changes.

This actually made it into 2.10.4.

As discussed on the mailing list https://lists.apache.org/thread/w4jzk27qhtosgsz7l9bmhf1t7o9mxjhp, there is no plan to release 2.9.6, so I am going to remove the release/2.9.6 label


How to update already created template

Background
We are using ehrbase for our research where template is evolving in stages. Fr this we need to update the template with archetypes details. I cant find an API call to update already created template. Could somebody help me for updating templates?
Expected output
Able to update templates.

Hey @YogeshSomawar! This operation is not supported by the official openEHR REST API, which we are implementing in EHRbase. But as this was a requirement before we made it possible to overwrite a template, in the following two ways:

Set the environment variable SYSTEM_ALLOW_TEMPLATE_OVERWRITE to true and just POST the new template, like you submitted the original one.
Use our custom Admin API: Set the environment variable ADMINAPI_ACTIVE to true and update the template with a PUT (I'm actually working on the documentation of the Admin API right now and I will push it today, so please wait for the details).

But keep in mind that you have to keep track of your compositions and their validity on your own, when using those advanced options. Overwriting a template might invalidate existing compositions using that template.
A more openEHR compliant ways would be to bump the version number of the template, when you modify it. For instance, the following original template payload
 <template_id>
    <value>minimal_admin.en.v1</value>
  </template_id>

could be bumped into
 <template_id>
    <value>minimal_admin.en.v2</value>
  </template_id>

Here's the almost-done version of the Admin API documentation: https://ehrbase.readthedocs.io/en/feature-434_admin_api/index.html


Use snailgun fork, allowing to slightly rework nailgun input stream handling

Fixes https://github.com/VirtusLab/scala-cli/issues/932 (hopefully), by short-circuiting the former input stream handling stuff of snailgun
(snailgun was spawning a thread, to read from null input streams passed to it, and IIUC, that null input stream can make nailgun assume the connection is close, and make it disconnect from clients - now it doesn't try to read from anything, and doesn't spawn a thread for it)

The required snailgun changes should be proposed in the upstream project soon. https://github.com/jvican/snailgun/pull/4 is a first step, then another PR should actually make stdin optional.


Proposal: GraphQL editor deeplinking standard

GraphQL has wide editor support, and projects like GraphiQL and GraphQL Playground have ensured that there is a proliferation of different web editor instances.
An invariable feature that we have already seen rolled out on an adhoc basis (e.g. https://www.onegraph.com/graphiql)  is the ability to generate a link within a graphql editor that allows easy sharing of queries between users.
Such links are also useful from a documentation perspective, in that they allow users to easily open, edit, and run queries referenced in the documentation by simply clicking a link, improving the user experience.
A standardized format for these links would be a boon not only to online editors, but also IDEs, in that a given IDE would be able to register an app uri handler for GraphQL, making it very easy to implement features such as "open in local ide".
The format would not necessarily be restricted to just queries, it could also be potentially useful for service discovery, perhaps referencing an introspection endpoint, or schema SDL.

this is a good idea for spec discussion!

One important consideration, is the carrying capacity of the URIs, on the most common platforms, and whether encoding the information directly in the URI will be be sufficient for the purposes described above.
Encoding the info directly would be preferable in that it would allow implementation without requiring any sort of storage infrastructure beyond the URI itself.
The ReasonML Sandbox provides evidence that encoding data in the URI may be sufficient:
e..g Link to ReasonML example here. As far as I can tell, the editor state is directly encoded in the query string.

Additional considerations are around security of the header values were they to be included in this standard.
OAuth 2's implicit flow places sensitive information in the hash fragment of the return url. This ensures that in browsers that this information remains on the client side, and is not transmitted to the backend.
It may be wise to mandate for similar reasons that header values are encoded in the hash fragment of the URI, as header values are likely to contain the authorization header.

I'm busy prototyping a naive implementation in our current instance of the editor, so will be able to evaluate different url schemes.

hey @ncthbrt, I wonder if you got stuff done over this issue, looking to deeplink certain mutations documentation and this seems the way to go

Hi  @delagroove
Unfortunately we had to develop a proprietary version as hadn't got much traction on this. Fortunately the implementation is fairly straightforward, though the URL can become quite long

@thomasheyenbrock and @jonathanawesome  this one is also very important, and much requested! in fact, other tooling authors have asked about this as well


Page - Event Versioning Approach

The "Event Versioning Approach" page contains some information which might cause issues and some bits could be made more clear if the following things are changed:

It says receiving systems should not process a message where the last updated element is later than the last processed message. Does this not potentially cause problems with latency in systems. Should the guidance not be that subscribers should consider the last updated element compared to processed messages of the same type, maybe from the same source? This maybe a problem for the different projects which create the events as some events might not care about ordering but some might so it should possibly be with the event rather than generic. The bullet point “Store the full resource received for later retrospective processing.” contradicts the not processing of messages with last updated message earlier than the last one processed so this should be changed to meet the final decision on this.

is there a time frame for uplift to minor and fix versions or is this optional? Major ones being 6 months, but only SHOULD, what are we expecting in relation to uplifts, are we going to force peoples hand by turning off the old events after 6 months? Would it be better to say the intended transition period is 6 months but can be changed depending on the changes within the major version. Coordination of this might be difficult and needs  picking up with definition of the future service management work. There is a risk with a mixed estate that not everyone will get all updates. Is this an argument for not having too much detail in the event as there is then less chance that something will need to be update?

The specification might benefit from some additional detail as to what a breaking change is so that subscribers have some hints on how to build and validate resources so they don’t accidently break for something like an extra extension being included which should not be a breaking change.

DF agreed that this should be removed from the EMS specification, I will make the changes.

Changes merged into the live version so closing.


How to solve the error when installing midi-ddsp?

Hi, I am new in training model, and I got some problems in here. Does anyone how to solve the error of error: subprocess-exited-with -error and error: metadata-generation-failed in the terminal?

Hi! Could you please describe how you installed the package or what command you entered?

I type pip3 install midi-ddsp, and the other packages(e.g. crep, tensorflow) it installed successfully. Thanks

I solved it, but I have another issue.

Hi Megan, I saw you opened a new issue for the new problem. I am closing this issue if you do not have further problems with training the model. :)

Hi, thanks for replying, I appreciate it. One more question i want to
check with you is the format of inputs. If i want to input my own data, do
i need to transfer the data to tfrecord?
On Sat, Sep 17, 2022 at 2:22 AM Yusong Wu @.***> wrote:

Hi Megan, I saw you opened a new issue for the new problem. I am closing
this issue if you do not have further problems with training the model. :)
—
Reply to this email directly, view it on GitHub
https://github.com/magenta/midi-ddsp/issues/57#issuecomment-1249671639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU2FY2FDIQLS47YS2YGZES3V6S3EXANCNFSM55E4NIFQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

hi, please help me. when i run #60 pip install midi-ddsp . i will get the error error: metadata-generation-failed

Hi, could you give a more specific error message? Does this error happens
inside pip? It could be your python version is too high. We recommend using
python 3.7 or 3.8.
Best,
Qishan Zhang @.***> 于2023年8月4日周五 04:43写道：

hi, please help me. when i run #60
https://github.com/magenta/midi-ddsp/issues/60 pip install midi-ddsp .
i will get the error error: metadata-generation-failed
—
Reply to this email directly, view it on GitHub
https://github.com/magenta/midi-ddsp/issues/57#issuecomment-1665249224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGXJZ74ES4MXQ4Z3G4JQKOTXTSY3RANCNFSM55E4NIFQ
.
You are receiving this because you commented.Message ID:
@.***>

Hello, could you help me? Error when I install midi-ddsp：
(py38) PS C:\Users\gzzd\lunwen\chamber-ensemble-generator-master> pip install midi-ddsp
Collecting midi-ddsp
Using cached midi_ddsp-0.2.6-py3-none-any.whl (67 kB)
Collecting tensorflowjs<3.19 (from midi-ddsp)
Using cached tensorflowjs-3.18.0-py3-none-any.whl (77 kB)
Collecting crepe<0.0.13 (from midi-ddsp)
Using cached crepe-0.0.12.tar.gz (15 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
C:\Users\gzzd\AppData\Local\Temp\pip-install-8n054s8i\crepe_05f9e4ff1ed248a6bbc0cc3585457110\setup.py:2: DeprecationWarning: the imp module is deprecated i
n favour of importlib; see the module's documentation for alternative uses
import imp
C:\Users\gzzd\AppData\Local\Temp\pip-install-8n054s8i\crepe_05f9e4ff1ed248a6bbc0cc3585457110\setup.py:6: DeprecationWarning: pkg_resources is deprecated as
an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\gzzd\AppData\Local\Temp\pip-install-8n054s8i\crepe_05f9e4ff1ed248a6bbc0cc3585457110\setup.py", line 30, in
urlretrieve(base_url + compressed_file, compressed_path)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "C:\Users\gzzd\anaconda3\envs\py38\lib\urllib\request.py", line 1358, in do_open
r = h.getresponse()
File "C:\Users\gzzd\anaconda3\envs\py38\lib\http\client.py", line 1348, in getresponse
File "C:\Users\gzzd\anaconda3\envs\py38\lib\http\client.py", line 316, in begin
version, status, reason = self._read_status()
File "C:\Users\gzzd\anaconda3\envs\py38\lib\http\client.py", line 277, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\gzzd\anaconda3\envs\py38\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\gzzd\anaconda3\envs\py38\lib\ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应，连接尝试失败。
Downloading weight file model-tiny.h5.bz2 ...
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.


Inconsistent Margin on Right and Left side of List in birthdate year picker screen

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to profile -> Personal Details
Click Date of birth
Click on year to change birth year

Expected Result:
There should be no margin on both sides like other screens
Actual Result:
There is margin on both left and right side of birth year list
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.34-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/ed87a70a-1af5-47df-84e3-cc85db18148d
https://github.com/Expensify/App/assets/93399543/dbef6bd2-db6c-4c16-8093-1c0459c4ffe3
Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688242403351509
View all open jobs on GitHub

https://github.com/Expensify/App/issues/21262 Dupe.

Selection list are being refactored. Closing this
https://github.com/Expensify/App/issues/11795


Plan the Needs Assessment

Context

Start with GSF HE members and referrals from other volunteers
Store everything within the GSF

References

https://docs.google.com/document/d/1SDdsB6NP8TN4NDDehQl5GpAjKh6rZVT7zJWhzcUy-kM/edit#heading=h.uh6yplca6wcb

Actions

[ ] @russelltrow create GH issues for the each initial potential interviewee

[ ] #7
[ ] #8
[ ] #9
[ ] #10
[ ] #11
[ ] #12
[ ] #13

[ ] Gather additional institutions from @aecurrie & @PindyBhullar
[ ] Create tracker for interviews
[ ] @tholewis write interview request email
[ ] Define interview structure (questions, demographics, capture)
[ ] Define a series of calendar blocks (10ish)

Here is the first draft of the invitation, feel free to amend as necessary! - Thomas
Subject: [Request] Green Software Foundation Discussion with Higher Education Institutions
Thank you for reviewing this invitation to a conversation with you and the Green Software Foundation.
We have put together a project to identify the needs of higher education institutions around Green Software and Sustainability. We know that there are a lot of things we could do, but we are embarking on a Needs Assessment activity so that we can take in your thoughts and needs that we may be able to address.
We would appreciate taking a brief moment of your time that works for you to discuss over a 30-minute video call questions similar to:

What educational resources do you prefer? How do you prefer those resources to be delivered?
How do you approach practical activities with students? Are they hands-on in labs? Are they open-source project contributions? Capstone projects?
Would mentorship programs be of interest? What would they expect from such a program?
Would you find value in a network with like-minded peers and professionals facilitated by the GSF?
How is Sustainability being addressed at your institution?

Of course, it can be a free-form discussion as we would prefer to get insights from you how we can create an impactful Higher Education offering.
If you are interested in a discussion, we'd love to discuss this more with you! Let us know and we will try to find a time that works for you. Thanks in advance for your interest in being a part of this project.
Thank you again,
Green Software Foundation


Update hello-kedro.py

Description
I moved comments and added in print statement so that something happens when the pipeline run is executed
Checklist

[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[x] Assigned myself to the PR
[ ] Added tests to cover my changes

Notice

[x] I acknowledge and agree that, by checking this box and clicking “Submit Pull Request”:

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

LGTM, thanks!

Closing this as we're removing it completely. Updates should be made to the Kedro docs instead.


[SPARK-34628][SQL] Remove GlobalLimit operator if its child max rows not larger than limit number

What changes were proposed in this pull request?
This pr remove GlobalLimit operator if its child max rows not larger than limit number. For example:
val testRelation = LocalRelation.fromExternalRows(Seq("a".attr.int, "b".attr.int, "c".attr.int), 1.to(10).map(_ => Row(1, 2, 3)) )
val query = GlobalLimit(100, testRelation)

We can remove this GlobalLimit.
Why are the changes needed?
Further optimize the query.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test.

Test build #135787 has started for PR 31750 at commit f9ee999.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40369/

Test build #135787 has finished for PR 31750 at commit f9ee999.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135787/

cc @cloud-fan This is a part of https://github.com/apache/spark/pull/31691. To make that pr more clear.

Test build #135830 has started for PR 31750 at commit 22957b4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40412/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40412/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40412/

Test build #135830 has finished for PR 31750 at commit 22957b4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135830/

late LGTM


[rtvnhnl] Added new extractor

This resolves #6479.
NOTE: The rtmp-1564 format has the best quality but it's not selected by default since it uses the rtmp protocol.

Thanks!

Thanks.
Do you want to be credited as one of the authors of youtube-dl? If so under what name?

Thanks for proposing that. You can add me as "ngld".


Extension issue

Issue Type: Bug
Extension Name: python
Extension Version: 2021.2.625869727
OS Version: Windows_NT x64 10.0.19042
VSCode version: 1.54.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Thanks for the bug report, but unfortunately we need some more information from you in order to triage this issue appropriately. Please create a new bug by providing a filled-in copy of our issue template.
If possible please share the callstack from the developer window, not just the error.


[WIP -- Splitting into two PRs] TLS Configuration Store makes RPC to Fake S2Av2 Service

Closing this PR, since I split it up into https://github.com/google/s2a-go/pull/30 and https://github.com/google/s2a-go/pull/31.


Seq2seq tutorial dissapeared

Hi,
https://www.tensorflow.org/tutorials/seq2seq tutorial returns 404 not found. This is where an extensive tutorial by Luong et al was located until several days ago, I assume it was deleted or moved by mistake.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Have I written custom code: NA
OS Platform and Distribution: NA
TensorFlow installed from: NA
TensorFlow version: NA
Bazel version: NA
CUDA/cuDNN version: NA
GPU model and memory: NA
Exact command to reproduce: NA

The tensorflow tutorials page has been evolving drastically of late. If this is what you were looking for, please close this issue.
https://www.tensorflow.org/versions/r1.0/tutorials/seq2seq
New tutorials page:
https://www.tensorflow.org/tutorials/
Thanks!

Actually the tutorials page (https://www.tensorflow.org/tutorials/) does have a link to the NMT page (https://github.com/tensorflow/nmt) under the "Sequences" tab. You will notice that the tutorials page has also changed quite a bit - tutorials are now clubbed under collapsed sections on the left.

Aayush is correct, we've updated the tutorials page and are cleaning up some old examples.
That NMT tutorial is linked under 'Sequences' (there's another NMT w/ attention using eager listed under 'Research and experimentation').
I added a redirect for '/tutorials/seq2seq' to fix the 404. It redirects back to the main tutorials page.


Extend bqfake Query functionality

This change extends the bqfake Query behavior to allow error and row injection. This change makes it possible to use this fake in unit tests for more complex bigquery users.
Currently there are no other users of the bqfake pacakge within m-lab, so these changes are not breaking.

This change is

Pull Request Test Coverage Report for Build 610

25 of 25 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 83.507%

Totals

Change from base Build 603:
0.3%

Covered Lines:
881

Relevant Lines:
1055

💛  - Coveralls


hop-config.json not found

Hi Guys, first thing, congratulations for the work.
I'm using the plugin for the first time and I'm getting the message that the hop-config.json file could not be found, although it is there, as you can see in the print.
I'm using Hop 2.0 with Airflow 2.4
Any idea of the error?

Hi @openinbigdata, please check this issue. Seems you are running on a containers environment. If you are not, please, check file permissions.

Hi @piffall obrigado pelo retorno.
I'm running Hop Server in container and I can successfully run workflows and pipelines via BashOperator, but via plugin it's giving this hop-config.json location error. I saw the error in the previous issue, but there is no solution there. Do you know what was done to solve the problem?
Best regards,

Hi @openinbigdata , the problem probably is that your files are missing inside your Airflow worker. So you will need to sync your files also in your airflow container.

@piffall everything is in sync, so much so that I can run a workflow via BashOperator, but I can't run it via plugin because I can't find the hop-config.json file. Well, as it's my first time doing this, I'll review the entire installation and configuration for the plugin and see where I possibly went wrong, as it doesn't seem to be a plugin bug, thanks


Add CDP Saver logo

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

I rename to correct domain name and will make changes to naming standard here https://developer.trustwallet.com/add_new_token_image
Thank you for PR

@kolya182 Can you please rename cdpsaver.png to defisaver.png ?
I'm resubmitting the dapp listing request as the previous one was never answered by the team and we rebranded CDP Saver to DeFi Saver in the meantime.

@Jay-Prime can you contact me in telegram, info under bio.