Move etcd to github.com/???/etcd*

We are moving etcd and other sub-projects to its own GitHub organization.
Many popular Go projects have done this, for better project management:

https://github.com/google/protobuf/issues/4796
https://github.com/kubernetes/kubernetes/issues/12211, https://github.com/kubernetes/kubernetes/issues/29014
https://github.com/vitessio/vitess/pull/3702, https://github.com/vitessio/vitess/pull/3725

Some of our motivations are:

Better team management.
Better CI resource utilization; currently, etcd relies on free-tier public CI service, and sharing all resources with other github.com/coreos projects slows down development process.
More visibilities to sub-projects and adopt more community projects under etcd organization

TODO (github.com/coreos/etcd, github.com/coreos/bbolt):

[ ] Decide which namespace we will be using (1 ~ 2 weeks)
[ ] Announce to etcd and Kubernetes communities
[ ] Wait a few weeks (enough time for vendoring etcd)
[ ] Update all internal github.com/coreos/etcd import paths
[ ] Transfer ownership
[ ] Set up new CIs
[ ] Make sure old URL redirects to new URL
[ ] Communicate with coreos.com docs team

Sub-projects that do not have downstream projects can be transferred right away:

[ ] https://github.com/coreos/cetcd
[ ] https://github.com/coreos/zetcd
[ ] https://github.com/coreos/gofail
[ ] https://github.com/coreos/dbtester
[ ] https://github.com/coreos/etcdlabs
[ ] https://github.com/coreos/protodoc
[ ] https://github.com/coreos/jetcd

Projects that won't be moved:

https://github.com/coreos/etcd-operator
https://github.com/coreos/discovery.etcd.io

/cc @xiang90 @jpbetz @lburgazzoli @philips @jberkus

probably we should try to get etcd org? Can someone try to contact the current owner?

@xiang90 We have been already doing that for the past several months :)

@tamalsaha http://etcd.readthedocs.io/en/latest/faq.html#how-to-pronounce-etcd

Fingers crossed that we can get the etcd org. If not, some alternatives that come to mind: etcd-project, cncf-etcd, etcd-development (as already suggested), etcd-org

perhaps a few others to consider etcd-io etcd-dev

I think etcd-io is reasonable given the ownership of etcd.io.
Brandon
On Tue, Jul 31, 2018 at 1:42 PM Sam Batschelet<EMAIL_ADDRESS>wrote:

perhaps a few others to consider etcd-io etcd-dev
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/coreos/etcd/issues/9965#issuecomment-409360703, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACDCDhGuhP7SZYsFBJe6vanCbwfPaxCks5uMME8gaJpZM4Vkztd
.

FTR I have secured etcd-io and can move to any user if we decide to go with that.

Is there already a list of org owners for once we move?  That is, folks who should have org admin rights?

Probably the maintainers should be owners?
https://github.com/coreos/etcd/blob/master/MAINTAINERS

On Jul 31, 2018, at 6:36 PM, Josh Berkus<EMAIL_ADDRESS>wrote:
Is there already a list of org owners for once we move? That is, folks who should have org admin rights?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

etcd-io sounds good to me, if we don't get etcd by this week.
@xiang90 @jpbetz Any thoughts?

@gyuho I'm happy with etcd-io. It's nice and short and maps clearly a domain CoreOS already owns.  Kubernetes has gotten a lot of usage out of k8s.io and kubernetes.io. It's okay for the etcd.io domain to be donated to CNCF along with etcd, I assume?

Yes. Etcd.io will be donated along with the other things like mailing
groups, etc
On Wed, Aug 1, 2018, 11:38 AM Joe Betz<EMAIL_ADDRESS>wrote:

@gyuho https://github.com/gyuho I'm happy with etcd-io. It's nice and
short and maps clearly a domain CoreOS already owns. Kubernetes has gotten
a lot of usage out of k8s.io and kubernetes.io. It's okay for the etcd.io
domain to be donated to CNCF along with etcd, I assume?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/coreos/etcd/issues/9965#issuecomment-409678436, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACDCEzJGz4Vgme69pbGuoYOW8CI8mOnks5uMfWJgaJpZM4Vkztd
.

Sounds good. Let’s go for etcd-io.

Gyuho is now the owner of etcd-io

Ok, will announce next week.

@gyuho I'm preparing the sonatype oss stuffs for the migration of jetcd so, do we already own etcd.io ?

@lburgazzoli I am ready to transfer all sub projects by tonight or tomorrow. Do you have access to jetcd settings to transfer ownership?

@gyuho I don't have access to jetcd settings

@lburgazzoli I can transfer. How about today, 9PM (PST), August 7, 2018?

fine with me

@lburgazzoli Ok, I will transfer that tonight. Thanks!

I don't have rights to move repositories any more. Contacted CoreOS team to move rest of the sub projects.

transferred the remaining subprojects.

@philips Thanks!

How was this announced to Kubernetes project?  I didn't see the announcement, so wondering where it was sent.

@jberkus Here https://groups.google.com/forum/#!topic/kubernetes-dev/omNEDP9vTmQ.

Suggestions for additional notices:

Put a warning in the README of the current repo
Share on #etcd and #coreos on IRC
CoreOS blog and twitter (I can handle this)
Are there other major projects we should be notifying?

I'm happy to help get the notices out.  Just let me know if that's OK.

@jberkus Sounds good. If you can help with 2 and 3, it would be great. We have a list of projects that should be aware of. Will do inform them shortly (even though they are already vendoring etcd).

I think github.com/coreos/discovery.etcd.io needs to be moved over to the new organization and if etcd is accepted to CNCF the CNCF needs to help run and operate the service.
cc @joelegasse

I will take care of the etcd GH org moves next monday.

We are going to skip the blog post (mentioned in https://github.com/coreos/etcd/issues/9965#issuecomment-411513749) and instead just do emails to coreos-dev and etcd-dev Google Groups.
This was my call, I don't think this URL change effects so many people that we need to notify all CoreOS blog readers. Particularly since GitHub will maintain a redirect to the old URLs.

Disabled Semaphore CI integration. Will enable once migrated today.

@philips Ping?

transferred to etcd-io

Confirmed the redirect worked. Can you do CI work @gyuho

Will do. Thanks @philips !

@philips Can we also move https://github.com/coreos/bbolt?

done
On Mon, Aug 27, 2018 at 6:34 PM Gyuho Lee<EMAIL_ADDRESS>wrote:

@philips https://github.com/philips Can we also move
https://github.com/coreos/bbolt?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/etcd-io/etcd/issues/9965#issuecomment-416421626, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACDCKm7fN0orvXLTM1NNQdjp0VoQtcEks5uVJ4RgaJpZM4Vkztd
.

@philips Thanks!

@philips Good idea (as k8s.io does). I think we can take a few days to migrate import paths. Can you help set up DNS for etcd.io?

Probably easier if we do go.etcd.io or something instead and deploy
https://github.com/GoogleCloudPlatform/govanityurls/blob/master/README.md.
Yes I could do the DNS work.
On Mon, Aug 27, 2018, 7:31 PM Gyuho Lee<EMAIL_ADDRESS>wrote:

@philips https://github.com/philips Good idea (as k8s.io does). I think
we can take a few days to migrate import paths. Can you help set up DNS for
etcd.io?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/etcd-io/etcd/issues/9965#issuecomment-416430508, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACDCOfNoE9zeYC4FQXspqJxdFulbR-Fks5uVKtvgaJpZM4Vkztd
.

Sounds good. We will wait until etcd.io DNS is ready.

We need to configure and deploy the app engine app first. Then do the DNS.
I can deploy the app but I don't think I have access to the etcd Google
cloud account. Could you add<EMAIL_ADDRESS>On Mon, Aug 27, 2018, 7:36 PM Gyuho Lee<EMAIL_ADDRESS>wrote:

Sounds good. We will wait until etcd.io DNS is ready.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/etcd-io/etcd/issues/9965#issuecomment-416431370, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACDCB_jRhtA7Tz4doO1Emcuook0JL08ks5uVKy2gaJpZM4Vkztd
.

@philips Yeah, I only see your coreos.com email. Just sent an invite to that email address (https://console.cloud.google.com/compute/instances?project=etcd-development). Thanks!

I have everything deployed for go.etcd.io but https://go.etcd.io isn't working; only http://go.etcd.io... hrm
FWIW, configuration is here: https://github.com/etcd-io/govanityurls

@gyuho spoke too soon. Everything is working! Feel free to use go.etcd.io for package names. See https://go.etcd.io for how I set things up.

@philips Will do today. Thanks!

@gyuho OK, LMK if you need help or a code review.

@philips Sure, will cc you. I've updated bbolt first. Now updating etcd ones.

👍
On Tue, Aug 28, 2018, 4:50 PM Gyuho Lee<EMAIL_ADDRESS>wrote:

@philips https://github.com/philips Sure, will cc you. I've updated
bbolt first. Now updating etcd ones.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/etcd-io/etcd/issues/9965#issuecomment-416776938, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACDCNZAeIp13fWqhgaa7Z5jHaO4z1ECks5uVddWgaJpZM4Vkztd
.

All done. Thanks all!

Vimal- does that URL work in your browser? What OS are you using? The site
is using the very common Let's Encrypt CA.
Common Name (CN)
Let's Encrypt Authority X3
Organization (O)
Let's Encrypt
Organizational Unit (OU)
<Not Part Of Certificate> ```

On Tue, Sep 4, 2018 at 2:25 AM Vimal Kumar<EMAIL_ADDRESS>wrote:

> i just tried to go get etcd, and getting below errors. This is in my
> office environment, behind a firewall.
>
>  ~/gowork/src$ go get -v github.com/etcd-io/etcd
> Fetching https://go.etcd.io/etcd/etcdmain?go-get=1
> https fetch failed: Get https://go.etcd.io/etcd/etcdmain?go-get=1: x509: certificate signed by unknown authority
> package go.etcd.io/etcd/etcdmain: unrecognized import path "go.etcd.io/etcd/etcdmain" (https fetch: Get https://go.etcd.io/etcd/etcdmain?go-get=1: x509: certificate signed by unknown authority)
>
>  ~/gowork/src$ go get -v go.etcd.io/etcd
> Fetching https://go.etcd.io/etcd?go-get=1
> https fetch failed: Get https://go.etcd.io/etcd?go-get=1: x509: certificate signed by unknown authority
> package go.etcd.io/etcd: unrecognized import path "go.etcd.io/etcd" (https fetch: Get https://go.etcd.io/etcd?go-get=1: x509: certificate signed by unknown authority)
>
> But, go get -v github.com/coreos/etcd is fine here. just thought of
> reporting the difference i observed.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/etcd-io/etcd/issues/9965#issuecomment-418301285>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AACDCF52Yk-rmg6d6RUtoPjBhCFpVa8zks5uXkcPgaJpZM4Vkztd>
> .
>

I am on Ubuntu 14.04 LTS
the URL doesnt works with curl.
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
after adding following certs, still i get the same error with curl and go get
https://letsencrypt.org/certs/isrgrootx1.pem.txt
https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt
querying /etc/ssl/certs/ca-certificates.crt gives :
subject= /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
subject= /C=US/O=Internet Security Research Group/CN=ISRG Root X1
i have an alternate environment outside the firewall, so this is not blocking


⚠ Jenkins Plugins Artifactory has degraded performance

In 446d7ae, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1160 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4dfd6bc after 15 minutes.


Add --quieter CLI option to suppress warnings

Fixes #36
Description
In most React Native project there's a lot of warnings from the framework and third-party libraries which clutters output and in some cases causes CI fails (e.g. exceeding 4MB logs in Travis)
This PR fixes this by adding --quieter option (Guaka doesn't support short names longer than one character, so I wasn't able to add -qq shortcut)

This has been released as part of 0.8.0. Thanks again.

Thanks for prompt response on the issue and reviewing this PR 😉


Compare Branch/Master giving 500 error on DCS in develop(qa.door43)

Not seeing this issue in the latest develop  v1.1.0-rc.3 , neither in Production.

Not seeing this issue in the latest develop  v1.1.0-rc.3 , neither in Production.


Release notes v 4.0

@draciti and @vanaukenk to compile v4.0 release notes

Draft started here: https://docs.google.com/document/d/17dcVaBmQrO5fmBPFpfLtyrYW0Vn-th2AhEBAggCfcL8/edit#

I've slightly changed the wording to be consistent with older releases. I've also merged all author curation portal bullet points into one since there were a lot of repetitions. Let me know how it looks. You can check the submission form, the website or the github repo. They all have the same notes

Looks good to me. Adding link here for today's discussion: http://textpressocentral.org:3000/release_notes?paper=00059841&passwd=1600893658.7796698&title=RPamide neuropeptides NLP-22 and NLP-2 act through GnRH-like receptors to promote sleep and wakefulness in C. elegans.&journal=Sci Rep&pmid=32555288&doi=10.1038/s41598-020-66536-2&personid=11490&hide_genes=false&hide_alleles=false&hide_strains=false

Slightly changed the wording during the ACKnowledge meeting.


Support for spawn

Instead of exec, some people (including me) would like to use spawn. Can you please add support for spawn too?
Thanks for the nice project! :sparkles:

@IonicaBizau Do you mean only sudo.spawn alias for convenience or internal module subprocess spawn-behavior?

@automation-stack  sudo.spawn should call Node.child.spawn. It's handy especially because of the args option.

@IonicaBizau ok, i will do it now

@automation-stack Thanks! :grin:

@IonicaBizau I tried to do it. Unfortunately, in the current architecture of the module this will not work cross-platform.

@automation-stack Hmm, why?

@IonicaBizau Inside the module is used a lot of platform specific shell-magic, I plan to rewrite it entirely in modern javascript with more simple and successful architecture and it will support spawn-behavior. Unfortunately this will happen a little later.

@automation-stack Sounds good! No rush, but I felt it as limitation when implementing it for somebody.

@IonicaBizau I agree with you, thank you for the feedback


Include option to store embed meta as json

I want to resolve #235 by accepting a storeMeta option in the embed config that when set to true stores embed json in a <script> tag in the resulting html.
example embed config:
     embeds:{
          oembedProxy:'https://www.iframely.com/iframely',
          storeMeta:true
     }

Can you add a default value to false in defaults variable at the top of the file?

hopefully that works for you. cleaned up the formatting and added a default option of storeMeta:false

Thanks that look great! Could you try to add some tests that check the json script tag is here when the option is enabled?
Also, as a side note, I was wondering how do you retrieve such information for your backend?

Also, as a side note, I was wondering how do you retrieve such information for your backend?

I have this as part of an angular app, so here's the first cut of code I'm using right now when the user submits:
var serialized =$scope.bindOptions.editor.serialize()["element-0"].value,
      meta={};
var postHtml=$('<div/>').html(serialized);
postHtml.contents().each(function(i,elem){
 if ($(this).prop('tagName')=='DIV' && $(this).hasClass('medium-insert-embeds')){
      var metaDiv=$(this).find('div.medium-insert-embeds-meta');
      var curMeta = JSON.parse($(metaDiv).find('script').first().html());
      $(metaDiv).remove();
      meta['block'+i]=curMeta;
 }
});

I'll give this a go. I haven't used Jasmine really at all before

just for the record, an unescaped  tag is going to be parsed in a script element as the closing script tag http://stackoverflow.com/questions/66837/when-is-a-cdata-section-necessary-within-a-script-tag/1450633#1450633.
Maybe a replace with a regex after the stringify method?
JSON.stringify(obj).replace(new RegExp('/', 'g'), '\\/')

Don't mind adding the regex at all, but I'm not entirely sure it's necessary. My understanding/experience with stringify has always been that the native function handles all the encodings when the workflow is JSON.stringify() -> JSON.parse().
http://stackoverflow.com/questions/16507858/json-stringify-escapes-double-quotes-every-time-when-stringified
http://stackoverflow.com/questions/22341571/how-do-i-retain-backslashes-in-strings-when-using-json-stringify
I've ran a several tests using stringify, and I haven't got in trouble yet...
thoughts?

@aggied I've forgotten about this PR a little. How are the tests going? We gonna need them when we want to introduce a new feature.

Anything I can do to get this accepted?

@linpekka you can pick it up where @aggied left it. We need to rebase it agains master and write some tests.

I have looked a bit at it today, and it seems like most (perhaps all) of your embed tests use oembedProxy false, and thus mainly tests the 'mock'. Is testing via Embeds.prototype.parseUrl enough?

Created a new pull request with a merge and some simple test, let me know if you need anything else,
Store meta #333

Merged with #333

Picking up projects that use this repo again. @linpekka thanks for finishing this off

Np, you did all the real stuff, im just the cleaner.


flink sql mode

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
When creating a flinksql task, when the task is submitted to yarn, the task is regarded as successful, rather than waiting for the task execution on yarn to complete, which will affect the offline task scheduling
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Please use a clear description in the title.

When creating a Flink SQL task and executing a Flink SQL task, the current program running logic is that the dolphin scheduler submits the task to YARN and starts the next task, instead of waiting for the task to execute successfully in YARN, returning it to the dolphin scheduler, and then changing the task status to success

I have resovled   SET table.dml-sync = true;


Controlling monitor when not on same input

I have 2 monitors - a Dell and a TCL.  Changing inputs, adjust volume/brightness all work fine as long as Mac is being viewed on Dell (connected via USBC).  If I switch the dell to another input (through CLI or otherwise) I can no longer have the Dell change  inputs to get back to Mac input.  None of the controls work.  The display is still enumerated as display 2, it's still connected via USBC but can no long control it when you switch inputs.

This is up to the display whether it accepts DDC commands from a non-active input. Some do, more don't.


Min Max Functions in Array

Summary

I have added the Min Max Functions for an Array in C++, Java and Python.
As per the suggestion the functions return the corresponding indexes of the minimum and maximum elements in the array.
The function returns the indexes in a vector/ list/ ArrayList format covering the edge case of multiple maximum and minimum values in the array.

Complexity
Time Complexity - 0(N)
Space Complexity-0(N)  (in worst case scenario if all the elements of the array are equal)
The following issue can be solved in O(1) time complexity if a single index has to be returned.

Don't return a vector. Just return the first index of the maximum/minimum element.


description on top of every code

it will be good to have description of each code

Hey @Priya-1123 , you can work on this.


"ingress gateways encountered an error:" when run with a GKE cluster with istio installed

Bug description
Ingress gateway encounters a timeout error when installed in a GKE cluster which had istio already installed.
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Not encounter the Ingress gateway error, install properly
Steps to reproduce the bug
Previously installed istio 1.6 through isito.io installation page. Then installed the latest build through https://gcsweb.istio.io/gcs/istio-build/dev/{SHA}/ with the latest sha, inside of the latest bin ran ./istioctl install --set values.telemetry.enabled=false which resulted in: "
✔ Istio core installed
✔ Istiod installed
✘ Ingress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition
Deployment/istio-system/istio-ingressgateway

Pruning removed resources                                                                                Error: failed to install manifests: errors occurred during operation"

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
client version: 1.7-alpha.2022348138e47498c4b54995b4cb5a1656817c4e
control plane version: 1.7-alpha.2022348138e47498c4b54995b4cb5a1656817c4e
data plane version: 1.7-alpha.2022348138e47498c4b54995b4cb5a1656817c4e (1 proxies)
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:52:00Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.11-gke.5", GitCommit:"baccd25d44f1a0d06ad3190eb508784efbb990a5", GitTreeState:"clean", BuildDate:"2020-06-25T22:55:26Z", GoVersion:"go1.13.9b4", Compiler:"gc", Platform:"linux/amd64"}
How was Istio installed?
https://istio.io/latest/docs/setup/getting-started/ through curl
Environment where bug was observed (cloud vendor, OS, etc)

Can you do kubectl get pods -n istio-system? It will show the pods that are not running (possibly just the gateway). Fetch all the logs for  those pods - it will probably show why. Also kubectl describe will show things like failed to fetch image, etc

NAME                                    READY   STATUS    RESTARTS   AGE
istio-ingressgateway-78fffd6c86-dk54j   0/1     Running   0          3h39m
istiod-84cf6686cb-g84fr                 1/1     Running   0          3h40m
This is what get pods produces, the ingress gateway is not ready yet.

And when I try to get the logs for istio-ingressgateway-78fffd6c86-dk54j I get a (NotFound) error

I am not sure what you mean by NotFound. Did you specify the namespace? See https://kubectl.docs.kubernetes.io/pages/container_debugging/container_logs.html?

I accidentally put -c instead of -n which is why it could not find it. The logs are many lines of this repeated:
2020-08-24T22:22:28.475674Z     warn    Envoy proxy is NOT ready: config not received from Pilot (is Pilot running?): cds updates: 11 successful, 0 rejected; lds updates: 0 successful, 10 rejected
2020-08-24T22:22:30.475632Z     warn    Envoy proxy is NOT ready: config not received from Pilot (is Pilot running?): cds updates: 11 successful, 0 rejected; lds updates: 0 successful, 10 rejected

Can you give the full context? THere will be an error somewhere in there

Right below the CA certificate this is what is printed out. and then followed by many reapeated lines of the error I showed above:
`
2020-08-24T18:29:47.204188Z     info    Received new config, creating new Envoy epoch 0
2020-08-24T18:29:47.204241Z     info    Epoch 0 starting
2020-08-24T18:29:47.216718Z     info    Envoy command: [-c etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster istio-ingressgateway --service-node router~<IP_ADDRESS>~istio-ingressgateway-78fffd6c86-dk54j.istio-system~istio-system.svc.cluster.local --local-address-ip-version v4 --log-format-prefix-with-location 0 --log-format %Y-%m-%dT%T.%fZ        %l      envoy %n        %v -l warning --component-log-level misc:error]
2020-08-24T18:29:47.261208Z     warning envoy runtime   Unable to use runtime singleton for feature envoy.reloadable_features.activate_fds_next_event_loop
2020-08-24T18:29:47.300795Z     warning envoy config    StreamAggregatedResources gRPC config stream closed: 14, no healthy upstream
2020-08-24T18:29:47.300835Z     warning envoy config    Unable to establish new stream
2020-08-24T18:29:47.311752Z     info    sds     resource:default new connection
2020-08-24T18:29:47.311847Z     info    sds     Skipping waiting for gateway secret
2020-08-24T18:29:47.335261Z     warning envoy config    StreamAggregatedResources gRPC config stream closed: 14, no healthy upstream
2020-08-24T18:29:47.335306Z     warning envoy config    Unable to establish new stream
2020-08-24T18:29:47.644262Z     error   citadelclient   Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused"
2020-08-24T18:29:47.694552Z     warn    cache   resource:default request:76c4825b-f73f-4c58-b9f3-65bf34020a81 CSR failed with error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused", retry in 50 millisec
2020-08-24T18:29:47.694689Z     error   citadelclient   Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused"
2020-08-24T18:29:47.794959Z     warn    cache   resource:default request:76c4825b-f73f-4c58-b9f3-65bf34020a81 CSR failed with error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused", retry in 100 millisec
2020-08-24T18:29:47.795091Z     error   citadelclient   Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused"
2020-08-24T18:29:47.995312Z     warn    cache   resource:default request:76c4825b-f73f-4c58-b9f3-65bf34020a81 CSR failed with error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused", retry in 200 millisec
2020-08-24T18:29:47.995493Z     error   citadelclient   Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused"
2020-08-24T18:29:48.395766Z     warn    cache   resource:default request:76c4825b-f73f-4c58-b9f3-65bf34020a81 CSR failed with error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused", retry in 400 millisec
2020-08-24T18:29:48.502900Z     warning envoy config    StreamAggregatedResources gRPC config stream closed: 14, no healthy upstream
2020-08-24T18:29:48.502967Z     warning envoy config    Unable to establish new stream
2020-08-24T18:29:49.092451Z     warning envoy config    StreamAggregatedResources gRPC config stream closed: 14, no healthy upstream
2020-08-24T18:29:49.092500Z     warning envoy config    Unable to establish new stream
2020-08-24T18:29:49.376911Z     error   citadelclient   Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused"
2020-08-24T18:29:50.177190Z     warn    cache   resource:default request:76c4825b-f73f-4c58-b9f3-65bf34020a81 CSR failed with error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused", retry in 800 millisec
2020-08-24T18:29:50.177338Z     error   citadelclient   Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused"
2020-08-24T18:29:51.777621Z     warn    cache   resource:default request:76c4825b-f73f-4c58-b9f3-65bf34020a81 CSR failed with error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection refused", retry in 1600 millisec
2020-08-24T18:29:51.823285Z     info    cache   Root cert has changed, start rotating root cert for SDS clients
2020-08-24T18:29:51.823371Z     info    cache   GenerateSecret default
2020-08-24T18:29:51.823936Z     info    sds     resource:default pushed key/cert pair to proxy
2020-08-24T18:29:51.826424Z     warning envoy main      there is no configured limit to the number of allowed active connections.  You must have some Gateway referencing this file, which does not exist

https://istio.io/docs/tasks/traffic-management/ingress/secure-ingress/ is the recommended way to handle certs btw, not files

Oh I see thanks! Is there a quick way I can see where a Gateway is referencing?

kubectl get gw -A -oyaml | grep tls.crt would probably do it

Ah it was fortio-gateway that was referencing it

Great! closing as this is resolved


Update sangria to 3.2.0

Updates org.sangria-graphql:sangria from 2.1.6 to 3.2.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.sangria-graphql", artifactId = "sangria" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.sangria-graphql", artifactId = "sangria" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by https://github.com/sangria-graphql/sangria-federated/pull/168


Please solve I don't really understands what is happening

Summary

Simplest Example to Reproduce

request({
  method: 'GET',
  url: 'http://example.com', // a public URL that we can hit to reproduce, if possible
  more: { 'options': 'here' }
},

Expected Behavior

Current Behavior

Possible Solution

Context

Your Environment

software
version

request

node

npm

Operating System

Try unplugging and plugging back in.

Try unplugging and plugging back in.

Thank you


[prim_lfsr] Fix verilator lint warnings

This fixes a few Verilator lint warnings due to implicit signal and parameter lengths.

LGTM, although i'm surprised by some of the fixes required.

OK I am merging this in, since I believe we discussed the major points that came up.
Concerning the lint waivers, we may change the handling of these in the future (once we have a solution that can be checked in openly). I am thinking about a solution that co-locates the waiver files with the design files (and we can obviously check in lint waivers for multiple flows, including Verilator).


TCGA matrices are white only

Steps to reproduce

Add any of the TCGA matrices

Observed behavior

The heatmap is white. If I select RPPA, I can select cells though.

Expected behavior

Colored heat map

I assume that this is a problem related to a missing color scale for the TCGA matrices.
@bikramkawan, can you please check what's the issue here? The heatmaps are supposed to use the same white-red color mapping as the filter histograms.

It's not just the color map. This is the error:
Uncaught (in promise) TypeError: Cannot read property 'dataView' of undefined
    at SortEventHandler.<anonymous> (SortEventHandler.ts:81)
    at step (tslib.es6.js:91)
    at Object.next (tslib.es6.js:72)
    at tslib.es6.js:65
    at Object.__awaiter [as a] (tslib.es6.js:61)
    at SortEventHandler.sortByMe (SortEventHandler.ts:80)
    at ColumnManager.<anonymous> (ColumnManager.ts:149)
    at step (tslib.es6.js:91)
    at Object.next (tslib.es6.js:72)
    at tslib.es6.js:65
(anonymous) @ SortEventHandler.ts:81
step @ tslib.es6.js:91
(anonymous) @ tslib.es6.js:72
(anonymous) @ tslib.es6.js:65
__awaiter @ tslib.es6.js:61
SortEventHandler.sortByMe @ SortEventHandler.ts:80
(anonymous) @ ColumnManager.ts:149
step @ tslib.es6.js:91
(anonymous) @ tslib.es6.js:72
(anonymous) @ tslib.es6.js:65
__awaiter @ tslib.es6.js:61
ColumnManager.updateSort @ ColumnManager.ts:144
(anonymous) @ ColumnManager.ts:94
step @ tslib.es6.js:91
(anonymous) @ tslib.es6.js:72
fulfilled @ tslib.es6.js:62
data:1 GET http://localhost:8080/api/dataset/matrix/tcgaGbm20140416Mrna-Seq/data?format=png&range=&format_min=-19.9691066742&format_max=0 500 (INTERNAL SERVER ERROR)

This is a problem with the toImage feature on the server:
api_1  | 22:42:55 ERROR phovea_server.dataset_api: Exception on /matrix/tcgaGbm20140416Mrna-Seq/data [GET]
api_1  | Traceback (most recent call last):
api_1  |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
api_1  |     response = self.full_dispatch_request()
api_1  |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
api_1  |     rv = self.handle_user_exception(e)
api_1  |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
api_1  |     reraise(exc_type, exc_value, tb)
api_1  |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
api_1  |     rv = self.dispatch_request()
api_1  |   File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
api_1  |     return self.view_functions[rule.endpoint](**req.view_args)
api_1  |   File "phovea_server/phovea_server/dataset_specific.py", line 176, in data_gen
api_1  |     return formatter(d, r, args=ns.request.args)
api_1  |   File "phovea_server/phovea_server/plugin.py", line 46, in __call__
api_1  |     v = m(*args, **kwargs)
api_1  |   File "phovea_server/phovea_server/dataset_specific.py", line 110, in format_image
api_1  |     img = scipy.misc.toimage(d, cmin=cmin, cmax=cmax, pal=_color_palette(args.get('format_palette', None)))
api_1  | AttributeError: 'module' object has no attribute 'toimage'

see also https://github.com/phovea/phovea_server/issues/16

Our color range is ['#fff5f0', '#67000d']. So I donot know how to fix if the color is only from #00000 to #111111 .

In my local setup with the respective links for the requests:

Attribute
Request 1
Request 2
Texture rendered

Methylation
successful
successful
no

MicroRNA
sucessful
sucessful
no

mRNA
successful
sucessful
no

mRNA-seq
sucessful
error 500
no

RPPA
successful
error 500
no

error 500
range = (0:153),(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17:14570,14569,14571,14572:18214)
server error: IndexError: Selection lists cannot have repeated values - for which I agree
error 500
range = (0:214),(0:2,1,1,1,5:10,9,11,12:15,14,14,17:23,22,24,25:28,27,29,30:40,39,41,41,43,44:53,52,52,52,56,56,58:62,61,63,64:67,66,66,69,69,71,71,73:86,85,87,88:104,103,103,106:116,115,117,117,117,120:130,129,129,132:135,134,136,137:145,144,146,146,148,149:153,152,154,155:160,159,161,162,162,162,165,165,167:169,168,170)
same problem

@bikramkawan Could you please check if these duplications are caused by the range split/merge from your hierarchical sorting?

@thinkh see here
https://github.com/Caleydo/mothertable/pull/205

@bikramkawan, why is #205 relevant for this problem?

I see the error on scaling because in previous one I filtered vectors to calculate datapoints.

but what has the scaling to do with the filtering?

filtering here means I was considering only the length of data from vectors.
If matrix is added in the first, i have to wait for other vectors to know the data elements. It was bug while I wrote that.

aha, ok. but is #205 supposed to finally solve this issue? because this is not the case when I tested it now.

I tested in my machine by adding matrices it worked for me.

@thinkh, can you confirm this please?

the problem was caused by an old local server api build. `docker-compose build api' solved my issue.


Preconfigure wiki with LocalSettings and mySQL dump

Do a manual install via the webbrowser and make the corresponding LocalSetting and mySQL dumps available to preload the test-wikis.

Handling the sql dump via Jinja fails with
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 26525: invalid continuation byte

Just remove Insert objectcache line which has binary content.


mirrored struct field r#type generates invalid static checks

Describe the bug
Given a third party simple struct like this
// third_party

pub struct MyStruct {
  pub r#type: u32
}

and a mirror to it within frb crate
pub use third_party::MyStruct;

#[flutter_rust_bridge::frb(mirror(MyStruct))]
pub struct _MyStruct {
  pub r#type: u32
}

The generated code to type check the mirror doesn't include the r#
// frb_generated.rs
// Section: static_checks

#[allow(clippy::unnecessary_literal_unwrap)]
const _: fn() = || {
{ let MyStruct = None::<crate::api::simple::TestMirror>.unwrap(); let _: u32 = MyStruct.type;
                                                                                ^^^^
 }
};

Since type is a keyword, rust won't compile unless it's prefixed with r# and will complain syntax error.
Steps to reproduce
N/A
Logs
N/A

Expected behavior
The generated static check should respect r# if any in the mirror definition
Generated binding code
No response
OS
Windows
Version of flutter_rust_bridge_codegen
2.6.0
Flutter info
No response
Version of clang++
No response
Additional context
No response

Looks like a bug, feel free to PR to fix it! Alternative I will work on it later, but since this has easy workaround (do not use r#keyword style) may not be within days.


sorting with pagination issue

i am not sure why but if you use this script with a table that has been broken down using pagination for long lists such as member lists, it will only sort items on the page number you are viewing. if i click on another page using pagination you have to re-order everything again and it only sorts items listed on that page. is there a work-around for this or am i doing something wrong? thanks

I think, the problem is lying in understanding how this tablesorter works. As I remember, it doesn't request server for new data, and works only with LOCAL html, which arrived with the latest request. Or! you could update the table on the client side, but using other libraries, notifying the tablesorter. But the main point is the working tablesorter only with local data.
So, if your pagination works on the server side (the client accepts just one page of the data), then the tablesorter doesn't know about the remaining data, and, as a consequence, can not sort it correctly.
Possible solution - perform breaking data to pages on the client side with an appropriate plugin (there is an example on the tablesorter www-page).
Hope, it could be useful

Another issue is that the pager currently uses $.tablesorter.clearTableBody function. That function checks the value of $.browser.msie which was completely removed in jQuery v1.9 and newer causing a javascript error - see #85.

@Mottie , hello. I just finished reading about this bug on stackoverflow :wink:

@dchubad, may be it is time to switch to this fork:  https://github.com/Mottie/tablesorter . At least, it is alive and bugs there are fixing


Table: call a function with the items displayed in the table

Description

Add a parameter of type Action<IEnumerable<T>> triggered when currently displayed items change. This might be used to dispose states of displayed rows stored in a parent component, that should survive redraw of the row.

Note that this might also induce performance improvements, since CurrentPageItems was used via its geter 5 times per redraw in simple scenarios, and this function might be a bit expensive depending on the case. I've assigned to a view variable to run the getter once.
https://github.com/MudBlazor/MudBlazor/blob/0df8e34c4c753adc69793db4b6c28bc0e5a1a74c/src/MudBlazor/Components/Table/MudTable.razor.cs#L353-L372
I'm not sure about that though, because I don't know how rendering behavior & change detection works deep down. But in unit tests, the function was originally called 5 times.

How Has This Been Tested?

Unit tested by asserting the calls of a mocked Action parameter
Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Thanks but will close this one since DataGrid phase 3 is almost here and MudTable will possibly change drastically in the feature.


Add Laravel RethinkDB

Sorry, but your package does not fulfill all requirements at the moment: https://github.com/chiraggude/awesome-laravel/blob/master/CONTRIBUTING.md#must-haves-for-packages
Anyway, keep up the good work!


Adding application string.

Adds application string such that the unicorn server can correctly find our application's entrypoint. See #53

See if #57 helps.

#57 seems to work and make progress, but runs into another issue. The static folder is missing from the built docker image, which causes the following error:
Traceback (most recent call last):
  File "/usr/local/bin/dispatch", line 8, in <module>
    sys.exit(entrypoint())
  File "/usr/local/lib/python3.8/site-packages/dispatch/cli.py", line 766, in entrypoint
    dispatch_cli()
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/uvicorn/main.py", line 331, in main
    run(**kwargs)
  File "/usr/local/lib/python3.8/site-packages/uvicorn/main.py", line 354, in run
    server.run()
  File "/usr/local/lib/python3.8/site-packages/uvicorn/main.py", line 382, in run
    loop.run_until_complete(self.serve(sockets=sockets))
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
  File "/usr/local/lib/python3.8/site-packages/uvicorn/main.py", line 389, in serve
    config.load()
  File "/usr/local/lib/python3.8/site-packages/uvicorn/config.py", line 288, in load
    self.loaded_app = import_from_string(self.app)
  File "/usr/local/lib/python3.8/site-packages/uvicorn/importer.py", line 20, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.8/site-packages/dispatch/main.py", line 32, in <module>
    frontend.mount("/", StaticFiles(directory=STATIC_DIR), name="app")
  File "/usr/local/lib/python3.8/site-packages/starlette/staticfiles.py", line 55, in __init__
    raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory '/usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist' does not exist

The alembic folder and alembic.ini file are also missing from the built docker image which cause the initial database upgrade command to fail.


To many layers

Ehllo,
I really like this image. It helped me a lot. But I really think you should try to optimize the dockerfile to reduce the amount of layers. You can start with chaining adjecent commands and try to COPY/ADD several files/folders in one command.
read more hints on https://blog.tutum.co/2014/10/22/how-to-optimize-your-dockerfile/

I haven't touched the image in a while; if so I would even move to Alpine.
If you like to contribute... a PR is very welcome. :)

Ok,
Well it works fine for now, but's likely that I wan't an upgrade later on, then I could try to do some contrubution.
Thanks for you reply. and thanks for a good job putting it together in the first place.

What is your use-case? While at it I could hand-tailoe it to the needs of the users.
Have you considered using a more distributed approach using multiple images?

First off, I'm going to use it commersial, so i think I should be the one tailoring it and then share my changes with you.
I'm creating a setup for test-environments which should mimic a bigger, full blown system, the elk container is supposed to provide the logging for developers and testers who use the plattforms, each plattform consists of 5-10 images but are not heaily used. So I'm happy with just using one image for this purpose. For the bigger system I should definitely use multiple images in order to have HA, etc.
Right now i'm building my poc/pilot so i was happy to find your image wich where well documented and worked "off the shelf", so i didn't have to learn each component. Later on, when it's time to go live, I'll make some changes and probably create an image of my own (or multiple if that turns out to be a better way).

See https://github.com/docker/docker/pull/22641
This was added in 1.13.0 as experimental. Might we worth trying it.
+1 for Alpine


doc: remove errant blank line to appease doc-nits

Fixes #16328

[x] documentation is added or updated
[ ] tests are added or updated

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

Merged, thanks for the review.


Section 12 DNS Addon CoreDNS Pods failing

Running kubectl apply -f https://storage.googleapis.com/kubernetes-the-hard-way/coredns-1.8.yaml pulls and applies the configuration successfully.
The coredns pods though are failing to come up at all.  Falling into a CrashLoopBackOff error and restarting for time eternal.   Any assistance would be greatly appreciated.

I'm having the same problem here.
kube-system/coredns-8494f9c688-rjvmg:coredns
plugin/kubernetes: Get "https://<IP_ADDRESS>:443/version?timeout=32s": dial tcp <IP_ADDRESS>:443: i/o timeout

I didnt understand about Kube API server CIDR routing logic (<IP_ADDRESS>/24 in this case).
In my case, I have on-primeses environment. I dont have networking firewall rules and all hosts can talk to each other. All worker nodes have local linux routing for the POD network (<IP_ADDRESS>/24).

@GhostPratt @danilo-lopes  Did you ever wind up figuring this out?

@mguttsait I dont have this cluster anymore, I have to setup it again..

I have two PCs(not VMs), one as controller node, one as worker node, both get IP address from the DHCP server on the home ADSL router.
Tried kube-dns and coredns. In both cases the dns pods are trying to dial the service clusterIP(<IP_ADDRESS>:443) of the api server and getting i/o timeout issue and never succeeded. Still digging for solutions

apiVersion: v1
kind: ServiceAccount
metadata:
name: coredns
namespace: kube-system
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
kubernetes.io/bootstrapping: rbac-defaults
name: system:coredns
rules:

apiGroups:

""
resources:
endpoints
services
pods
namespaces
verbs:
list
watch

apiGroups:

""
resources:
nodes
verbs:
get

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
labels:
kubernetes.io/bootstrapping: rbac-defaults
name: system:coredns
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:coredns
subjects:

kind: ServiceAccount
name: coredns
namespace: kube-system

apiVersion: v1
kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
data:
Corefile: |
.:53 {
errors
health
ready
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
cache 30
loop
reload
loadbalance
}
apiVersion: apps/v1
kind: Deployment
metadata:
name: coredns
namespace: kube-system
labels:
k8s-app: kube-dns
kubernetes.io/name: "CoreDNS"
spec:
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
selector:
matchLabels:
k8s-app: kube-dns
template:
metadata:
labels:
k8s-app: kube-dns
spec:
priorityClassName: system-cluster-critical
serviceAccountName: coredns
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
nodeSelector:
beta.kubernetes.io/os: linux
containers:
- name: coredns
image: coredns/coredns:1.8.0
imagePullPolicy: IfNotPresent
resources:
limits:
memory: 170Mi
requests:
cpu: 100m
memory: 70Mi
args: ["-conf", "/etc/coredns/Corefile"]
volumeMounts:
- name: config-volume
mountPath: /etc/coredns
readOnly: true
ports:
- containerPort: 53
name: dns
protocol: UDP
- containerPort: 53
name: dns-tcp
protocol: TCP
- containerPort: 9153
name: metrics
protocol: TCP
securityContext:
allowPrivilegeEscalation: false
capabilities:
add:
- NET_BIND_SERVICE
drop:
- all
readOnlyRootFilesystem: true
livenessProbe:
httpGet:
path: /health
port: 8080
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
readinessProbe:
httpGet:
path: /ready
port: 8181
scheme: HTTP
dnsPolicy: Default
volumes:
- name: config-volume
configMap:
name: coredns
items:
- key: Corefile
path: Corefile
apiVersion: v1
kind: Service
metadata:
name: kube-dns
namespace: kube-system
annotations:
prometheus.io/port: "9153"
prometheus.io/scrape: "true"
labels:
k8s-app: kube-dns
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "CoreDNS"
spec:
selector:
k8s-app: kube-dns
clusterIP: <IP_ADDRESS>
ports:
- name: dns
port: 53
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP
- name: metrics
port: 9153
protocol: TCP

https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/deployments/coredns-1.7.0.yaml
but change the versions into the file (one place)


Immutable not found

Module not found: Error: Cannot resolve module 'immutable' in ./src/reducers/chat.js 12:17-37

npm i --save immutable


Update scalafmt-core to 3.4.3

Updates org.scalameta:scalafmt-core from 2.7.5 to 3.4.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #178.


Auto suggest column type on create column

My suggestion is auto choice column type based on column name. Lets see:

Imagine you are creating a column with name b_active. When I type b_ the type bool is selected.
Image you are creating a column with name s_name. When you type s_ the type "string" is selected.

The user could customize your mapping, for example
s_* -> string
b_* -> boolean
n_* -> numeric
Thanks
Daniel

thanks for suggestion


More Dutch translations as requested

Edwin thank you! I will deploy it today. I believe we have some new untranslated strings since that (just a couple of them). I will share them with you


fix sample app crash

fix sample app "couldn't find DSO to load libjni.so" crash

Sorry, I already had this in the landing queue: https://github.com/facebookincubator/profilo/commit/d27746603fc71b8e21149f9ca0f92f0fe442440e
Thanks for putting up a pull request though! :+1:


Re-using a NavigatorObserver in Navigator.observers can throw

Steps to reproduce
Run the following app:
import 'package:flutter/widgets.dart';

void main() {
  final NavigatorObserver observer = NavigatorObserver();
  runApp(BugReport(observer));
}

class BugReport extends StatelessWidget {
  const BugReport(this.observer);

  final NavigatorObserver observer;

  @override
  Widget build(BuildContext context) {
    Widget result = Directionality(
      textDirection: TextDirection.ltr,
      child: Navigator(
        observers: [observer],
        onGenerateRoute: (RouteSettings settings) {
          return PageRouteBuilder<void>(
            settings: settings,
            pageBuilder: (BuildContext _, Animation<double> __, Animation<double> ___) {
              return Container();
            },
          );
        },
      ),
    );

    if (false) // <---- change this to true and hot reload
      result = Container(child: result);

    return result;
  }
}

... then change the false to be true and hot reload.
Expected behavior
You expect the updated tree to be rebuilt and rendered with no issues.
Actual behavior
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown building Directionality(textDirection: ltr):
'package:flutter/src/widgets/navigator.dart': Failed assertion: line 3385 pos 14:
'observer.navigator == null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack:
#2      NavigatorState.initState (package:flutter/src/widgets/navigator.dart:3385:14)
#3      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4734:57)
#4      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4569:5)
...     Normal element mounting (13 frames)
#17     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3626:14)
#18     Element.updateChild (package:flutter/src/widgets/framework.dart:3375:20)
#19     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4621:16)
#20     Element.rebuild (package:flutter/src/widgets/framework.dart:4286:5)
#21     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2583:33)
#22     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:878:21)
#23     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:328:5)
#24     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1147:15)
#25     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1084:9)
#26     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1000:5)
#30     _invoke (dart:ui/hooks.dart:163:10)
#31     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
#32     _drawFrame (dart:ui/hooks.dart:126:31)
(elided 5 frames from class _AssertionError and dart:async)

════════════════════════════════════════════════════════════════════════════════════════════════════

Version info
[✓] Flutter (Channel master, 2.3.0-1.0.pre.156, on Mac OS X 10.15.7 19H524 darwin-x64, locale en-US)
    • Flutter version 2.3.0-1.0.pre.156 at /Users/tvolkert/project/flutter/flutter
    • Upstream repository git@github.com:tvolkert/flutter.git
    • Framework revision 91de4bd3e3 (2 days ago), 2021-04-28 12:51:27 -0700
    • Engine revision d0688da4b1
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

This can be reproduced in the following test case:
  testWidgets('Can reuse NavigatorObserver in updated tree', (WidgetTester tester) async {
    final NavigatorObserver observer = NavigatorObserver();
    final Widget widget = Directionality(
      textDirection: TextDirection.ltr,
      child: Navigator(
        observers: [observer],
        onGenerateRoute: (RouteSettings settings) {
          return PageRouteBuilder<void>(
            settings: settings,
            pageBuilder: (BuildContext _, Animation<double> __, Animation<double> ___) {
              return Container();
            },
          );
        },
      ),
    );

    await tester.pumpWidget(widget);
    await tester.pumpWidget(Container(child: widget));
  });

Incidentally, this is also triggered by creating a WidgetsApp with a builder property, then trying to turn on the performance overlay.


Move dryRun property to from query to configuration level.

Fixes #2981
Sets dryRun at ['configuration']['dryRun'] rather than ['configuration']['query']['dryRun].

I'll defer to @tseaver here


[Feature] enable broadcast on set_item

Codecov Report
Base: 89.16% // Head: 89.18% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (b224bba) compared to base (8e88cba).
Patch coverage: 87.69% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
+ Coverage   89.16%   89.18%   +0.01%
==========================================
  Files          27       27
  Lines        9314     9357      +43
==========================================
+ Hits         8305     8345      +40
- Misses       1009     1012       +3

Flag
Coverage Δ

linux-cpu
87.16% <87.69%> (+0.02%)
:arrow_up:

linux-gpu
89.12% <87.69%> (+0.01%)
:arrow_up:

linux-macos-cpu
87.08% <87.69%> (-0.05%)
:arrow_down:

linux-stable-cpu
87.19% <87.69%> (+0.02%)
:arrow_up:

linux-stable-gpu
89.12% <87.69%> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

tensordict/tensordict.py
84.15% <75.00%> (-0.02%)
:arrow_down:

tensordict/prototype/tensorclass.py
92.08% <90.00%> (-0.06%)
:arrow_down:

test/test_tensorclass_nofuture.py
97.47% <100.00%> (+0.06%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

LGTM.
Just to check I understand, the changes in tensordict.py are largely just refactoring / cleaning up the logic? Afaict the only change in functionality is here, is that right or did I miss something?

after your improvements on set* methods, yes. this is the only functional change


Add support for Adobe Pass Auth provider watchtveverywhere.com

I saw that youtube-dl has support for Adobe Pass Auth and it currently supports DirecTV and Rodgers Cable.
My ISP is Wave Broadband and the Auth provider they use is watchtveverywhere.com.
It would be nice to have support for watchtveverywhere.com in youtube-dl so I could download videos that require it.
As shown on the home page for watchtveverywhere.com, it appears many other ISPs use it too so depending on how it works, one provider for watchtveverywhere.com could work for more then just Wave Broadband.
I tested my theory that a watchtveverywhere.com account works for any ISP that works with them by going to truTV.com and saying my ISP was "3 Rivers Communications".
Just like when I tell it my ISP is Wave, I got the login screen for watchtveverywhere.com and the truTV video loaded. The only difference is that the truTV web site showed a logo for "3 Rivers Communications" instead of Wave.
I can provide my watchtveverywhere.com login info to help with this if needed.

I can provide my watchtveverywhere.com login info to help with this if needed.

if you want me to work on it, you can contact me at remitamine[at]gmail[dot]com.

will be supported in the next version.


Calibration creation date

This PR:

unifies the interface for calibrations, corrections and offsets, and their saving and loading.
adds time-stamps for the creation of the respective correction, and displays them when loading (optional).
adds Saving/loading procedures for momentum transformations/pose adjustments

closes #145
closes #149

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.3%) to 89.325%

Totals

Change from base Build<PHONE_NUMBER>:
-1.3%

Covered Lines:
5757

Relevant Lines:
6445

💛  - Coveralls

This has grown relatively large again, but should be well covered by tests. @steinnymir please inspect the changed structure of the offset functions in energy and delay correctors (functionality should be the same and/or fixed according to docstring)


Auto reconnect/remount whenever connected to internet (or awaken from suspend/hibernation)?

Technical data
Support

Usage: personal - testing
Your personal priority to solve this issue: med
Support ability: can code in anything else than .NET :-D

Is this feature implemented and well hidden from me, or is it not implemented at all?
I hope there is a WinAPI callback an app can subscribe to to receive notifications when connection status has changed.

Yeah, just noticed this as well: Whenever the laptop comes back from sleep winsshfs is still running but won't work anymore. I have to kill it in the taskmanager, then restart it (normal exit + start won't work). Win7 here with stable.

agreed, this would be very useful


TypeMapping with generics

The TypeMapping assumes that the import and usage are the same, leading to incorrect code generation when using generics.
<plugin>
                <groupId>io.github.deweyjose</groupId>
                <artifactId>graphqlcodegen-maven-plugin</artifactId>
                <version>1.11</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <packageName>com.xxx.ui.nakamura.client</packageName>
                    <schemaPaths>
                        <param>src/main/resources/graphql/nakamura/schema.graphql</param>
                    </schemaPaths>
                    <typeMapping>
                        <ObjectScalar>java.lang.Object</ObjectScalar>
                        <UUID>java.util.UUID</UUID>
                        <Map_String_ObjectScalar >java.util.Map<String, Object></Map_String_ObjectScalar>
                        <Map_String_StringScalar>java.util.Map<String, String></Map_String_StringScalar>
                    </typeMapping>
                </configuration>
</plugin>

will generate
import java.util.Map<String, String>;

and
private Map<String, String> states;

Is this also the case for the Netflix gradle implementation?

For now I'm am using the unqualified java.util.Map and will have to cast it at some later point.

This plugin is a very thin wrapper over the DGS codegen library. I'd assume the gradle plugin has the same issue. I'd check with the Netflix DGS gradle folks though.


Design Changes

Change:

Fixed the weird background color
Added stickers to front page
redesigned nav bar
small tweaks

📝 Changed routes:

/cart
/

(view full size)
(view full size)

/products/[id]
/shop

(view full size)
(view full size)

Commit eee36c534736dbd1f53febeb810ac35aafcbf79b (https://hackclub-shop-7qxxztbcp.hackclub.dev).


[DOC] niekvanderlaan contrib

@niekvanderlaan contributed a fix in https://github.com/alan-turing-institute/sktime/pull/1868 which remained incomplete, but got eventually completed by @k1m190r and merged.
Most work was already done by @niekvanderlaan, except linting.

I guess?


Branch improve UI of task

Display number of people assigned to a tasks when using assign, unassign, and view command
More user friendly date time format
Task can display their relevant tag now

Codecov Report

Merging #83 (17b3086) into master (c9c205f) will decrease coverage by 0.47%.
The diff coverage is 47.61%.

@@             Coverage Diff              @@
##             master      #83      +/-   ##
============================================
- Coverage     66.91%   66.44%   -0.48%
- Complexity      464      465       +1
============================================
  Files            90       90
  Lines          1608     1624      +16
  Branches        163      166       +3
============================================
+ Hits           1076     1079       +3
- Misses          485      496      +11
- Partials         47       49       +2

Impacted Files
Coverage Δ

...a/seedu/address/logic/commands/AddTaskCommand.java
0.00% <ø> (ø)

src/main/java/seedu/address/ui/TaskCard.java
0.00% <0.00%> (ø)

.../seedu/address/logic/commands/UnassignCommand.java
61.53% <36.36%> (-15.13%)
:arrow_down:

...va/seedu/address/logic/commands/AssignCommand.java
70.27% <57.14%> (-7.86%)
:arrow_down:

src/main/java/seedu/address/model/task/Task.java
63.63% <100.00%> (+1.13%)
:arrow_up:

Continue to review full report at Codecov.

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


No error is raised when a nonexistent variable is used inside an array

Godot version:
3.1.2
OS/device including version:
Windows 10
Issue description:
Placing a variable that wasn't declared before inside an array doesn't raise any errors. It should, though, because the variable is not declared and the compilation will, therefore, fail.
The editor doesn't see any error here.

The compilation, obviously, fails.

Also, trying to preload a script with that error fails, citing cyclic or compilation error as the reason. So, the editor seems to acknowledge the error's there but doesn't report it?
Steps to reproduce:
Declare an array and place a variable inside that wasn't defined before. The editor shouldn't raise any errors. Try to run the game, the compilation should fail.
Minimal reproduction project:
N/A, easy to reproduce.

this issue has been fixed and should be closed

It seems fixed in the master and 3.2 branches indeed, though not by the still unmerged #34342.
It's still reproducible in 3.1.2, but given that 3.2 is released and this is a minor annoyance, I don't plan to fix it there (unless someone finds what fixed it and it's a very safe change to cherry-pick).


[WIP] - Add tier select + update to use

@RitchieVincent lgtm, tested it. Please add pagination after a-table like the other tabs/view you did on the vpc component.


Backbone One Controller

Hi! I am mostly using Backbone One controller on remote times for easy carry option. But Greenlight seems not to recognize it since macOS detecting as a game controller. Works on version 1.2.x btw.

I have the same issue with my backbone controller. I haven't tried using 1.2


Default route not working

Expected behavior
Defining a route for '/404' should set a default route  (not found)
Actual behavior
Default route did not work for me.
Steps to reproduce behavior
Set these routes
app.route('/', mainView)
app.route('/404', notFoundView)
app.mount('body')

Then visit any route different for '/', it will render mainView anyway.
I think it might be related with wayfarer#44.

Oh yeah sounds like it. Oops haha
On Tue, Apr 4, 2017 at 8:01 PM Yerko Palma<EMAIL_ADDRESS>wrote:

Expected behavior
Defining a route for '/404' should set a default route (not found)
Actual behavior
Default route did not work for me.
Steps to reproduce behavior
Set these routes
app.route('/', mainView)app.route('/404', notFoundView)app.mount('body')
Then visit any route different for '/', it will render mainView anyway.
I think it might be related with wayfarer#44
https://github.com/yoshuawuyts/wayfarer/issues/44.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/choo/issues/466, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlesXR3OmFeLUTLXY7q7Meku4HJ-_dks5rsoVtgaJpZM4MzN9M
.

What about app.route('/*', notFoundView)... It works for me

@expalmer just tried that, and it works as a default view. IMO this is still a workaround more than a solution, but is good to know.

@yoshuawuyts looks like in choo@6 the wildcard route will be the only default, so I think this issue can be closed now :+1:

woot!
On Thu, Jun 29, 2017 at 11:40 PM Yerko Palma<EMAIL_ADDRESS>wrote:

@yoshuawuyts https://github.com/yoshuawuyts looks like in choo@6 the
wildcard route will be the only default, so I think this issue can be
closed now 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/choo/issues/466#issuecomment-312116349,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleitlogZ2elNd991FqJV8fS_39LXbks5sJBnBgaJpZM4MzN9M
.

I'm saying that this PR #521 resolves this issue. Am I wrong?

I think this should be resolved, yeah - but not entirely positive because we need a test to see if '/*' and '/' resolve differently on root. PR welcome over on bankai for the test https://github.com/yoshuawuyts/wayfarer/blob/master/test/router.js


isRunning: Ability to see if the server instance is currently running or not.

Hi! First of all, You've done an amazing job with this library. Thank you very much.
I was wondering if there's a cleaner way to see if HTTPServer is active or not. Current work around seems to be either using a custom wrapper around HTTPServer or use self.listeningAddress != nil.
Let me know what you think

Thank you 🙏🏻
There is currently an internal HTTPServer.isListening property that I could make public?
This will be true when the server is running and currently listening on the listening Address.


[Soroban Merge] Create a "Learn" section of the docs

This will include the existing encyclopedia, glossary, fundamentals section from stellar-docs, but also incorporate the soroban-internals and migrating sections from the soroban-docs.
We'll also need to create a collection of "interactive learning" stuff to live here.
Refs: stellar/soroban-docs#740

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Something went wrong with PR preview build please check

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr354.previews.kube001.services.stellar-ops.com


As a server admin, I want to be able allow users to sign up but require my OK to finally be on my server

@mraypold is this implemented?

No, not implemented fully yet.

This is almost done. We just need to work on the authentication side and switch "Enabled" in the APIUser model to default to false.

TODO:

[ ] extend BasicAuth DRF Authentication Class to check "enabled" field on APIUser, "Registration is still pending admin approval."
[ ] return 200 OK on Registration, no data

Cloed by #151


Spatial material's Uv offset doesn't work

Godot version:
Godot Engine v3.0.6.stable.official.8314054
OS/device including version:
Windows 10
Issue description:
A spatial material's Uv1 offset doesn't work, even if we change it's values
Steps to reproduce:
Add an image file as an Albedo texture to a cube's spatial material and then try to change the Uv1 offset values

Seems fixed since 3.1


Fine-tuning?

Hi! Are there readme instructions for how to fine-tune the model on a single speaker?

Hey there, I would be interested to.


Not sunset and sunrise without GApps

If GApps are not installed, like on a pain CyanogenMod installation, and so "Google Play Services" are not available, the "Approximate Location" seems to be unavailable. So sunrise and sunset are not shown.

Ah, I kept wondering. For me this dependency sucks, maybe I make my way to looking into it.


Reducing model size

Hi @christopherhesse
Thanks for sharing this awesome piece
I trained a model on 500 images and it sizes about 217MB. Is there a way to reduce the model size ?
Thanks
Akash

@datitran seems to use a reduce_model.py script on https://github.com/datitran/face2face-demo.
No time to test it yet.
Regards

@julien2512 Thanks for the link. I will check that.


Infinite loading with Caching

Hi,
When I try to generate the typescript services using NSwagStudio, I have an infinite loading. I let the app loading during all the night and nothing more in the morning.
I found the reason why: Caching.
Here is the code added:
public class Startup
        public IServiceProvider ConfigureServices(IServiceCollection services)
        {
            [...]

            //Caching response for middlewares
            services.AddResponseCaching();

            // Add framework services.
            services.AddMvc(options =>
            {
                     [...]
                     options.AddCachingProfiles(Configuration);
            }).SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
        }
        public void Configure(
            IApplicationBuilder app,
            IHostingEnvironment env
        )
        {
            [...]
            //Caching
            app.UseResponseCaching();
            [...]
        }
}

public static class MVCOptionsExtensions
 {
     public static MvcOptions AddCachingProfiles(this MvcOptions mvcOptions, IConfiguration configuration, string sectionName = "CacheProfiles")
     {
         // Read cache profiles from appsettings.json configuration file
         foreach (var cacheProfile in configuration.GetSection(sectionName).Get<CacheProfileSettings>())
         {
             mvcOptions.CacheProfiles.Add(cacheProfile);
         }
         return mvcOptions;
     }
 }

Is there a way to make NsWagStudio works without having to comment the caching?

Ok, I found the reason why: Caching.
Here is the code added:
public class Startup
        public IServiceProvider ConfigureServices(IServiceCollection services)
        {
            [...]

            //Caching response for middlewares
            services.AddResponseCaching();

            // Add framework services.
            services.AddMvc(options =>
            {
                     [...]
                     options.AddCachingProfiles(Configuration);
            }).SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
        }
        public void Configure(
            IApplicationBuilder app,
            IHostingEnvironment env
        )
        {
            [...]
            //Caching
            app.UseResponseCaching();
            [...]
        }
}

public static class MVCOptionsExtensions
 {
     public static MvcOptions AddCachingProfiles(this MvcOptions mvcOptions, IConfiguration configuration, string sectionName = "CacheProfiles")
     {
         // Read cache profiles from appsettings.json configuration file
         foreach (var cacheProfile in configuration.GetSection(sectionName).Get<CacheProfileSettings>())
         {
             mvcOptions.CacheProfiles.Add(cacheProfile);
         }
         return mvcOptions;
     }
 }

Is there a way to make NsWagStudio works without having to comment the caching?

Why is that? Any idea?

not sure about your question, you asked me why I use caching?
I have a webjob which update data every 2 min, so to avoid Azure SQL Server to be overused, I use caching.
Or why is there an infinite loading using NSwagStudio? About that question, I hope you have the answer :)

The question is why this can trigger an infinite loading?

Currenlty I just disable it when I need to generate the Angular Api Services.
Maybe when NswagStudio launch, it doesnt use the AppSettings, which mean the CacheProfile are not loaded and the actions of the controller throw a exception like CachingProfile missing. It could be interesting in this case to display an error message in NswgStudio when the exceptions appears.

NSwagStudio displays all unhandled exceptions etc... maybe you need to specify the working directory or the ASPNETCORE_ENVIRONMENT in the settings?

In the csprojet I have:
<PropertyGroup>
    <TargetFramework>netcoreapp2.2</TargetFramework>
  </PropertyGroup>

in nswag config file, I have:
"runtime": "NetCore22",
and my console gives:
dotnet --version => 2.2.101
In the launchsettings of the profile I added
ASPNETCORE_ENVIRONMENT / 2.2.101
I still have the issue.

I'm talking about these (CLI/UI) settings:

Thanks for your explanation.
In working directory:

I first try to only put the directory to the appsettings.json (note: I have a appsettings.Development.json too) => Still infinite loading
I secondly try to put the filepath to appsettings. and then I have this error:

Launcher directory: C:\Program Files (x86)\Rico Suter\NSwagStudio\NetCore22
System.InvalidOperationException: Swagger generation failed with non-zero exit code '1'.
Runtime: NetCore22
at NSwag.Commands.SwaggerGeneration.AspNetCore.AspNetCoreToSwaggerCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\AspNetCore\AspNetCoreToSwaggerCommand.cs:line 206
at NSwag.Commands.NSwagDocumentBase.GenerateSwaggerDocumentAsync() in C:\projects\nswag\src\NSwag.Commands\NSwagDocumentBase.cs:line 268
at NSwag.Commands.NSwagDocument.ExecuteAsync() in C:\projects\nswag\src\NSwag.Commands\NSwagDocument.cs:line 81
at NSwag.Commands.Document.ExecuteDocumentCommand.ExecuteDocumentAsync(IConsoleHost host, String filePath) in C:\projects\nswag\src\NSwag.Commands\Commands\Document\ExecuteDocumentCommand.cs:line 77
at NSwag.Commands.Document.ExecuteDocumentCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in C:\projects\nswag\src\NSwag.Commands\Commands\Document\ExecuteDocumentCommand.cs:line 31
at NConsole.CommandLineProcessor.ProcessSingleAsync(String[] args, Object input)
at NConsole.CommandLineProcessor.ProcessAsync(String[] args, Object input)
at NConsole.CommandLineProcessor.Process(String[] args, Object input)
at NSwag.Commands.NSwagCommandProcessor.Process(String[] args) in C:\projects\nswag\src\NSwag.Commands\NSwagCommandProcessor.cs:line 54
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: The directory name is invalid : 'C:\Users\Cedric\source\repos\InfoParking-POC\src\server\InfoParkingPOC.Api\appsettings.json'
at System.Environment.set_CurrentDirectoryCore(String value)
at System.Environment.set_CurrentDirectory(String value)
at System.IO.Directory.SetCurrentDirectory(String path)
at NSwag.Commands.SwaggerGeneration.AspNetCore.AspNetCoreToSwaggerCommand.ChangeWorkingDirectoryAndSetAspNetCoreEnvironment() in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\AspNetCore\AspNetCoreToSwaggerCommand.cs:line 228
at NSwag.Commands.SwaggerGeneration.AspNetCore.AspNetCoreToSwaggerGeneratorCommandEntryPoint.Process(String commandContent, String outputFile, String applicationName) in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\AspNetCore\AspNetCoreToSwaggerGeneratorCommandEntryPoint.cs:line 25
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at NSwag.AspNetCore.Launcher.Program.Main(String[] args) in C:\projects\nswag\src\NSwag.AspNetCore.Launcher\Program.cs:line 161

Do you have other suggestion to avoid this issue?

Set working directory to the directory with appsettings AND set aspnetcore-env setting to develop?
Otherwise you either need to debug (probably hard to do), add logging or do conditional compilation - there must be an env difference between running directly and cli


💭 Doc for useSkiaFrameProcessor appears to be incorrect

Question
The doc for skia-frame-processors states:
const invertColorsFilter = Skia.RuntimeEffect.Make(``)
const paint = Skia.Paint(invertColorsFilter) // this method doesn't accept an argument

const frameProcessor = useSkiaFrameProcessor((frame) => {
  'worklet'
  frame.render(paint)
}, [])

Skia.Paint() doesn't accept any arguments. Does the doc need to be updated to call something like paint.setShader instead?
What I tried
No response
VisionCamera Version
4.0.0-beta.15
Additional information

[X] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Yea they aren't up to date yet.

Happy to make a PR to fix this if you can describe the process to use a shader within the worklet.

I'm already on it

Any news?

yes, I just released 4.0.0 and updated the docs.

Thank you for pretty library, that really cool
Unfortunately, this not working:
const invertColorsFilter = Skia.RuntimeEffect.Make(  uniform shader image;   half4 main(vec2 pos) {     vec4 color = image.eval(pos);     return vec4((1.0 - color).rgb, 1.0);   });
const paint = Skia.Paint(invertColorsFilter);
const frameProcessor = useSkiaFrameProcessor(
frame => {
'worklet';
frame.render(paint);
},
[paint],
);
I have this error - 'Expected arguments: 0, received: 1.ts(2554)' inside Skia.paint(invertColorsFilter)
i working with android and this is my versions of packeges:
"react-native-vision-camera": "^4.0.1",
"@shopify/react-native-skia": "1.2.3",
"react-native-reanimated": "^3.5.4",
Maybe you know how to fix it, maybe i do something wrong

This is working now!, thank you so much

nice


add page for microsoft build event

Description
New page for Microsoft Build build from kubecon template with some tweaks. Brief here.
Checklist:

[x] I have reviewed the style guide.
[x] If blogging, I have reviewed the blogging guide.
[x] I have manually confirmed that all new links work.
[x] I added aliases (i.e., redirects) for all filename changes.
[x] If making css changes, I rebuilt the bundle.

Looks good! Could we please put the date on a second line in the header so it looks like this:
Microsoft Build
May 23-25, 2023
@SaraDPH fyi on preview

I changed the happy hour section text and link

@SaraDPH looks good! I got those changes committed so a new preview will come up soon


(FACT-3078) Accept relative load path for --custom-dir

Can one of the admins verify this patch?

jenkins please test this with redhat9-64a,windows2022-64a


Fix spacing in Header pattern

Changes

Fix spacing in Header pattern between subtitle and signup element. Also replaces arbitrary pixel value on wrapper positioning with $base-spacing.

Fixes DoSomething/dosomething#4278.
For review: @DoSomething/front-end

:+1:


Removed custom logger

Molecule no longer uses a custom logger class and we make use of the standard python logger class.
This change replaces logger.success() and logger.out() with logger.info() calls.

@tadeboro There is a bug that we missed to add dataclasses for py36 but our testing failed to spot it because another dependency did install it. I will add a patch just to be sure.


Update stoch.py

#363 changed stoch.py so input and output lengths are equal

Hello @Lolser9,
This appears to concern the main branch. Please check the development branch as numerous changes have been made. If it is still a problem, we can go from there.
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

Thanks for looking into this.
KJ

Hi @Lolser9,
Looks fixed on development branch, if you wouldn't mind verifying when you get a chance.
https://github.com/twopirllc/pandas-ta/blob/35acf937cf9e664b500d7d90af274ed540aca507/pandas_ta/momentum/stoch.py#L88-L95
Would appreciate a second opinion.
Thanks
KJ

development
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development


New Recipe: Thunderbird

only slightly different so might skip

Reminder: Thunderbird has two recipes for DE/EN.
The version jump up to 91 might indicate some significant code change though (now aligned with Firefox versioning), so it is worth checking if something has changed.

the language can indeed be changed in the preferences like it can be done in firefox. tested for thunderbird version 91.0.2

new icon in Self_Service_Icons

upgrade from version 91.0 (EN installed, DE added in preferences) to 91.0.2 (EN) does keep the added language DE. so this only needs one package.

Recipes uploaded (not tested)

@katidzehnder I think this is now done.


Using dependencies and continueOn results in unexpected Workflow success status

Pre-requisites

[X] I have double-checked my configuration
[X] I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
[X] I have searched existing issues and could not find a match for this bug
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?
I have a DAG template which includes a dependency and continueOn.failed = true. The intent is:

Task 1 - Must succeed, if it does not, the whole workflow should fail
Task 2 - Optional and depends on Task 1. If this one fails, the workflow should still succeed

I thought I could accomplish this scenario with a dependency and continueOn flag. However, using a workflow set up in this way causes the workflow to be marked as successful when Task 1 fails.

If I drop the dependency on Task 1, then the overall Workflow gives the result I expect, but I need the dependency.

Version(s)
v3.5.10
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
metadata:
  name: test-workflow
spec:
  templates:
    - name: test-template
      dag:
        tasks:
          - name: task-one
            template: intentional-fail-template
          - name: task-two
            template: hello-world-template
            dependencies:
              - task-one
            continueOn:
              failed: true
    - name: hello-world-template
      container:
        image: busybox
        command:
          - echo
        args:
          - hello world
    - name: intentional-fail-template
      container:
        image: alpine:latest
        command:
          - sh
          - '-c'
        args:
          - echo intentional failure; exit 1
  entrypoint: test-template

Logs from the workflow controller
time="2024-08-23T15:59:47.115Z" level=info msg="Processing workflow" Phase= ResourceVersion=1578416 namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.129Z" level=warning msg="Non-transient error: configmaps \"artifact-repositories\" not found"
time="2024-08-23T15:59:47.129Z" level=info msg="resolved artifact repository" artifactRepositoryRef=default-artifact-repository
time="2024-08-23T15:59:47.129Z" level=info msg="Task-result reconciliation" namespace=worlds-ns numObjs=0 workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.130Z" level=info msg="Updated phase  -> Running" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.130Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.130Z" level=info msg="was unable to obtain node for , letting display name to be nodeName" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.131Z" level=info msg="DAG node test-workflow-9ldhx initialized Running" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.131Z" level=warning msg="was unable to obtain the node for test-workflow-9ldhx-1623440269, taskName task-two"
time="2024-08-23T15:59:47.131Z" level=warning msg="was unable to obtain the node for test-workflow-9ldhx-2403913123, taskName task-one"
time="2024-08-23T15:59:47.131Z" level=warning msg="was unable to obtain the node for test-workflow-9ldhx-2403913123, taskName task-one"
time="2024-08-23T15:59:47.131Z" level=info msg="All of node test-workflow-9ldhx.task-one dependencies [] completed" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.131Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.131Z" level=info msg="Pod node test-workflow-9ldhx-2403913123 initialized Pending" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.148Z" level=info msg="Created pod: test-workflow-9ldhx.task-one (test-workflow-9ldhx-intentional-fail-template-2403913123)" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.148Z" level=warning msg="was unable to obtain the node for test-workflow-9ldhx-1623440269, taskName task-two"
time="2024-08-23T15:59:47.149Z" level=warning msg="was unable to obtain the node for test-workflow-9ldhx-1623440269, taskName task-two"
time="2024-08-23T15:59:47.149Z" level=info msg="TaskSet Reconciliation" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.149Z" level=info msg=reconcileAgentPod namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:47.150Z" level=info msg="Workflow to be dehydrated" Workflow Size=2143
time="2024-08-23T15:59:47.160Z" level=info msg="Workflow update successful" namespace=worlds-ns phase=Running resourceVersion=1578419 workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.151Z" level=info msg="Processing workflow" Phase=Running ResourceVersion=1578419 namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.151Z" level=info msg="Task-result reconciliation" namespace=worlds-ns numObjs=1 workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.151Z" level=info msg="task-result changed" namespace=worlds-ns nodeID=test-workflow-9ldhx-2403913123 workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.152Z" level=info msg="Pod failed: Error (exit code 1)" displayName=task-one namespace=worlds-ns pod=test-workflow-9ldhx-intentional-fail-template-2403913123 templateName=intentional-fail-template workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.152Z" level=info msg="node changed" namespace=worlds-ns new.message="Error (exit code 1)" new.phase=Failed new.progress=0/1 nodeID=test-workflow-9ldhx-2403913123 old.message= old.phase=Pending old.progress=0/1 workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.153Z" level=warning msg="was unable to obtain the node for test-workflow-9ldhx-1623440269, taskName task-two"
time="2024-08-23T15:59:57.153Z" level=warning msg="was unable to obtain the node for test-workflow-9ldhx-1623440269, taskName task-two"
time="2024-08-23T15:59:57.154Z" level=info msg="Skipped node test-workflow-9ldhx-1623440269 initialized Omitted (message: omitted: depends condition not met)" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.154Z" level=info msg="Outbound nodes of test-workflow-9ldhx set to [test-workflow-9ldhx-1623440269]" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.154Z" level=info msg="node test-workflow-9ldhx phase Running -> Succeeded" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.154Z" level=info msg="node test-workflow-9ldhx finished: 2024-08-23 15:59:57.154871992 +0000 UTC" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.154Z" level=info msg="TaskSet Reconciliation" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.154Z" level=info msg=reconcileAgentPod namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.155Z" level=info msg="Updated phase Running -> Succeeded" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.155Z" level=info msg="Marking workflow completed" namespace=worlds-ns workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.155Z" level=info msg="Workflow to be dehydrated" Workflow Size=2927
time="2024-08-23T15:59:57.167Z" level=info msg="Workflow update successful" namespace=worlds-ns phase=Succeeded resourceVersion=1578453 workflow=test-workflow-9ldhx
time="2024-08-23T15:59:57.182Z" level=info msg="cleaning up pod" action=labelPodCompleted key=worlds-ns/test-workflow-9ldhx-intentional-fail-template-2403913123/labelPodCompleted

Logs from in your workflow's wait container
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:48.463Z" level=info msg="Starting Workflow Executor" version=v3.5.10
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:48.464Z" level=info msg="Using executor retry strategy" Duration=1s Factor=1.6 Jitter=0.5 Steps=5
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:48.464Z" level=info msg="Executor initialized" deadline="0001-01-01 00:00:00 +0000 UTC" includeScriptOutput=false namespace=worlds-ns podName=test-workflow-9ldhx-intentional-fail-template-2403913123 templateName=intentional-fail-template version="&Version{Version:v3.5.10,BuildDate:2024-08-01T05:11:25Z,GitCommit:25829927431d9a0f46d17b72ae74aedb8d700884,GitTag:v3.5.10,GitTreeState:clean,GoVersion:go1.21.12,Compiler:gc,Platform:linux/amd64,}"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:48.473Z" level=info msg="Starting deadline monitor"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:51.541Z" level=info msg="Main container completed" error="<nil>"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:51.541Z" level=info msg="No Script output reference in workflow. Capturing script output ignored"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:51.541Z" level=info msg="No output parameters"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:51.541Z" level=info msg="No output artifacts"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:51.560Z" level=info msg="Alloc=9557 TotalAlloc=13693 Sys=23653 NumGC=3 Goroutines=8"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:51.564Z" level=info msg="Deadline monitor stopped"
test-workflow-9ldhx-intentional-fail-template-2403913123: time="2024-08-23T15:59:51.564Z" level=info msg="stopping progress monitor (context done)" error="context canceled"

https://github.com/argoproj/argo-workflows/blob/ddbb3c7ad5b498d50514b3c1158ded56e333d75b/docs/enhanced-depends-logic.md?plain=1#L70
see this description, continue.on is not available on dependencies

@chengjoey that's when using depends, while OP is using dependencies. OP could use depends as a workaround here.
But the fact that the dependencies variant succeeds does indeed seem like a bug, given that task one failed

I can switch over to depends, but I'm not sure if that will help this scenario. The key thing I'm looking for is to make task-two optional and it should not affect the overall workflow status.

Ah because you have no task after task-two, so you wouldn't be able to use .Failed in depends per se.
Or, you could use another workaround if you added a dummy task that just did exit 0.
That's definitely a problem for #12530 as a whole though


Revert "Search a RUP"

Reverts bcgov/range-api#29

I'm reverting this change from earlier today. We're not getting the right JSON back for all agreements. Seems to work for a single agreement.


Update FERC Form 1 archiver to work with DBF + XBRL

The FERC Form 1 is now published as a combination of historical VisualFoxPro DBF databases, and XBRL data, and we need a way to archive them together as a single dataset.

[ ] 1994-2021Q2: DBF zipfiles, one per year.
[ ] 2021-present: XBRL data published via RSS feed, one filing per feed item.

Done in the new archiver repo


Add a preferences page

A plugin can add its own preferences page to Oxygen:
https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/optionpage-plugin.html
Using such a preferences page users can configure their author name (defaults to the system user name), and maybe some checkboxes they can use in order to configure if they want the author name to be added to the prolog, if they want the created/modification dates to be added and so on....

Fixed in: 56c14a7ac1f0920c933ecd4cf06491b21290a806

There are about 2 types of DITA Maps, the regular maps which have the root named "map" and bookmaps (we have a sample in the Oxygen samples/dita/it-book) which instead of "topicmeta" use "bookmeta".

Fixed in: ee8f54af318a5540b01822efbcde9603d063f607