restapi/client: don't use DRF parser for parsing

The DRF parser expect a file-like object containing bytes while
we are passing it a unicode string. The outcome of this is
slumber serialization not working and returning plain bytes
instead of deserialized data.
The fix is trivial and it's just using slumber code for
parsing instead of providing our own.
For reference after making slumber dump exceptions instead of
swallowing them here's the root cause:
Traceback (most recent call last): [celery.redirected:235]
File "/venv/lib/python3.5/site-packages/slumber/__init__.py", line 134, in _try_to_serialize_response
  return stype.loads(resp.content.decode(encoding)) [celery.redirected:235]
File "/home/readthedocs/restapi/client.py", line 28, in loads
  return JSONParser().parse(data) [celery.redirected:235]
File "/venv/lib/python3.5/site-packages/rest_framework/parsers.py", line 66, in parse
  return json.load(decoded_stream) [celery.redirected:235]
File "/usr/lib/python3.5/json/__init__.py", line 265, in load
  return loads(fp.read(), [celery.redirected:235]
File "/usr/lib/python3.5/codecs.py", line 493, in read
  newdata = self.stream.read() [celery.redirected:235]
AttributeError: 'str' object has no attribute 'read' [celery.redirected:235]

This fixes #4157

No idea because I'm seeing this and you don't. BTW I'm not removing the loads method, i'm just inheriting it from the default serializer class. Looks like the client is mocked in the tests so it's not tested at all.

Rebased and added tests for DrfJsonSerializer. Regarding the usefulness of this custom serializer, the DRF code does something more than the plain json.dumps like always escaping some chars and given this was not tested better not change behaviour imho.

do you know why this was added and how this serializer helps us?

Nope, i don't have any extra context into this.

@xrmx Removed the label. We no longer have 'PR: ready for review' as a label; someone will get to this soon, though. Thanks.

Friendly ping :)

Ping, could someone please review this? I don't know how you are not seeing this but there's good chances the current code makes little sense :)


Static Assets Pre-Cached on Load

Static Assets Pre-Cached on Load
User Story
AS A developer
I WANT to create notes or code snippets with or without an internet connection
SO THAT I can reliably retrieve them for later use
Acceptance Criteria
GIVEN a text editor web application
WHEN I register a service worker
THEN I should have my static assets pre cached upon loading along with subsequent pages and static assets

Static assets are stored in the assets cache using a StaleWhileRevalidate strategy.


Use variable :repo_tree.

Thanks for great plugin!
I want to deploy subtree in repository  via rsync.
So I try to use variable :repo_tree.
Would you merge that?

Thank you P/R. My suggestion is to support those repo_tree in set(:rsync_dest_fullpath) block.

I think capistrano-withrsync operates below:

clone repository to :rsync_src
upload via rsync to :rsync_dest_fullpath in server
rsync from :rsync_dest_fullpath to release_path
... (normal capistrano tasks)

repo_tree affect in 2 or 3.
2 is from 'rsync_src/repo_tree' to :rsync_dest_fullpath.
3 is from 'rsync_dest_fullpath/repo_tree' to release_path.
My P/R is 3.
I think set(:rsync_dest_fullpath) block is wrong in both of case.
If it's wrong, please point out.
When you can talk in Japanese for details, I'm thankful.


Another possible company

https://www.reddit.com/r/NixOS/comments/5dz8fp/comment/dfalhqm

Added, thanks


Work created faster than completed

Environment Details

Helidon Version: Version: 1.0.4-SNAPSHOT
Helidon SE
JDK version: $ java -version
java version "12" 2019-03-19
Java(TM) SE Runtime Environment (build 12+33)
Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)
Java HotSpot(TM) 64-Bit Server VM 12+33 (Mac OS X 10.14.4): 4 cpus, 4.0 GB max mem
OS:Mac OS X 10.14.4
Docker version (if applicable):

Problem Description

Start:

$ java -Dbookstore.size=10 -Dapp.json-library=JSONP -Dserver.workers=1 -Dserver.executor-service.max-pool-size=16 -jar ~/demo/helidon/load-testing/helidon-se/target/helidon-se.jar

(load-testing is the test scenario provided by dev)

Use 8 keep-alive connections
Send GET /books repeatedly, 3ms think time (if no think time, then 2 connections suffice)
Within a couple of minutes you can observe heap pressure (response times go up)
Within 5 minutes OOME on the helidon-se kicks in

Similar problem of smaller magnitude exists in Helidon-MP, too. (the above configuration appears to be stable, but smaller think time also drives heap pressure to the levels where the JVM is in GC almost all the time)
Steps to reproduce
Example node js script to drive load:
'use strict';

const http = require('http');

const CONCURRENCY=8;
const THINK_TIME=3;
const agent = new http.Agent({
  keepAlive: true,
  keepAliveMsecs: 600000,
  timeout: 600000,
  maxSockets: CONCURRENCY,
});

let dt = 0;
let c = 0;
const responses = {};
const doit = (cb) => {
  const t0 = process.uptime();
  const req = http.get('http://localhost:8080/books', {
                agent: agent,
                timeout: 600000,
                headers: {connection: 'keep-alive'}
              });
  req.on('error', err => {
    console.log('ERROR', err);
    cb();
  });

  req.on('response', res => {
    const code = res.statusCode.toString();
    responses[code] = (responses[code] || 0)+1;
    let sz = 0;
    res.on('data', ch => sz += ch.length);
    res.on('end', () => {
      dt += process.uptime() - t0;
      c++;
      cb();
    });
  });
};

let started = 0;
let finished = 0;

const t0 = process.uptime();
const processone = () => {
  const now = process.uptime();
  if (now - t0 < 300) {
    return setTimeout(doit, THINK_TIME, processone);
  }

  finished++;
  if (finished === started) {
    console.log('DONE', c, 'in', now - t0, 'seconds which is', c / (now - t0), '/s avg rt', dt / c, ' seconds');
    console.log('RESPONSES', responses);
    process.exit(0);
  }
};

while(started < CONCURRENCY) {
  started++;
  processone();
}

Can you please try to reproduce this on a current version of JDK 8 (e.g. VM 1.8.0_201-b09)?

The details in the internal thread.

Moved to wiki.


Reduce scope to evaluation and module loading

The specification as written today captures a number of host virtualization hooks that are not necessary for module loading. Many of these originate in the Realms proposal, but we wish to defer them even further to unburden the compartment proposal. We should construct a host virtualization proposal and defer these issues.

I thought host virtualization is the main purpose of this proposal? 👀 Module loading is part of host abilities.

closed by #46


update arc review comments and mail

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

/azp run

/azp run


tf.guarantee_const does not work with XLA compilation

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.15.5 Beta
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.2.0
Python version: 3.8.2
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): n/a
CUDA/cuDNN version: n/a
GPU model and memory: n/a

Describe the current behavior
I am unable to use tf.guarantee_const in functions decorated with tf.function(experimental_compile=True).
Describe the expected behavior
The method, with XLA, should run the same as the method without XLA, with no errors.
Standalone code to reproduce the issue
import tensorflow as tf

@tf.function(experimental_compile=False)
def test_xla(x):
    x = tf.guarantee_const(x)
    return x**2

test_xla(3)

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
2020-05-25 10:14:47.561576: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-05-25 10:14:47.621911: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fed5077ddc0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-05-25 10:14:47.621943: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
Traceback (most recent call last):
  File "tfxla.py", line 10, in <module>
    test_xla(3)
  File "/private/tmp/venv/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 576, in __call__
    result = self._call(*args, **kwds)
  File "/private/tmp/venv/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 650, in _call
    return self._concrete_stateful_fn._filtered_call(canon_args, canon_kwds)  # pylint: disable=protected-access
  File "/private/tmp/venv/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 1661, in _filtered_call
    return self._call_flat(
  File "/private/tmp/venv/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 1745, in _call_flat
    return self._build_call_outputs(self._inference_function.call(
  File "/private/tmp/venv/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 593, in call
    outputs = execute.execute(
  File "/private/tmp/venv/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 59, in quick_execute
    tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.InvalidArgumentError: Function invoked by the following node is not compilable: {{node __inference_test_xla_8}} = __inference_test_xla_8[_XlaMustCompile=true, config_proto="\n\007\n\003CPU\020\001\n\007\n\003GPU\020\0002\002J\0008\001", executor_type=""]().
Uncompilable nodes:
GuaranteeConst: unsupported op: No registered 'GuaranteeConst' OpKernel for XLA_CPU_JIT devices compatible with node {{node GuaranteeConst}}
	Stacktrace:
		Node: __inference_test_xla_8, function:
		Node: GuaranteeConst, function: __inference_test_xla_8
 [Op:__inference_test_xla_8]

I am able to replicate this issue, please find the gist here

This is fixed with tf-nightly
See colab gist. Thanks!

I haven't had the chance to revisit this issue but I trust the colab notebook you've sent, so I'll close this issue.


numInput returns wrong number if query contains '@'.

I run the following statement:
INSERT INTO `dbr_people` (`id`,`name`,`email`) VALUES<EMAIL_ADDRESS>
Expected result: it completes successful.
Actual Result: it fails with error: sql: expected 1 arguments, got 0
It occurs because numInput counts @uservoice as variable and returns 1 as number of input parameters. :(

it is expected that clickhouse does not implement Execer and Querier interfaces ?

If I fix this issue, I have the following:
block: expected 3 arguments (columns: id, name, email), got 0
I want to execute statement without arguments, because I use dbr, which already interpolates all arguments.

I used the following path for numInputs:
		if char, _, err := reader.ReadRune(); err == nil {
			switch char {
			case '\'', '"', '`':
				quote = !quote
			}
			if quote {
				continue
			}
			switch {
			case char == '?' && keyword:

Clickhouse doesn't support plain SQL insert requests over a native interface.  Query INSERT INTO `dbr_people` (`id`,`name`,`email`) VALUES<EMAIL_ADDRESS>transforms to INSERT INTO `dbr_people` (`id`,`name`,`email`) VALUES and sent to the server then server waiting for the data block.
I'll fix parser for the select requests  but is not very necessary

Does it means, that I am not able to use click house with plain SQL?
I can execute query 'INSERT INTO dbr_people (id,name,email) VALUES (258,'jonathan','jonathan@uservoice.com')' via command-line client.

I know, clickhouse-client "prepare" query on its side, moreover, client execute all clickhouse functions and sending transformed data to the server
example
INSERT INTO t (date, uuid) VALUES ('2017-06-06', UUIDStringToNum('123e4567-e89b-12d3-a456-426655440000'))

will be transform to query
INSERT INTO t (date, uuid) VALUES

end data block:  uint16 (date) + 16  []byte (uuid to FixedString)

Do you have any ideas how plain SQL can be supported in driver?

Hmm, plain SQL for insertions is a bad idea not only for ClickHouse

Why? if this SQL is checked for any kind of injections, what is reason to use placeholders?

Performance. Typical CH use case is a writing a lot of rows (hundreds of thousands of rows) in one request

Ok, What is wrong if client uses plain SQL for this ?

It's very slow. A CH client should not parse SQL query and extract values from it. If you want to send plain SQL you can try to use CH Server HTTP-interface

I need driver, because I want to add ClickHouse support into dbr

I think will be better to add support for prepared statements into  dbr

It breaks one main features of DBR - query tracking, an user has ability to receive formatted query by implementing EventReceiver interface for any purpose. In our project it is uses to log queries.
if I add support for ClickHouse in dbr, I can switch from mysql to ClickHouse without changing the code.

Done. Plain SQL is now supported for selection queries. You can load your data using go database/sql interface or use direct interface for better performance

thank you. I will close this issue, since it is resolved.


Zafira shows status In Progress for aborted jobs in Jenkins

Description
Zafira shows status In Progress for aborted jobs in Jenkins
Steps to reproduce
Make sure to specify user role used to log in to Zafira - QA okamara
Below are the steps to reproduce the behavior:

Start Test Run via Zafira
Job was aborted due to Crash
Verify status of aborted Job in Zafira and Jenkins

Actual behavior
Zafira shows status In Progress for aborted jobs in Jenkins
Expected behavior (if known)
Show correct status in Zafira for aborted jobs in Jenkins
Environment
https://snc.zebrunner.com/

Duplicates https://github.com/qaprosoft/zafira/issues/1980
cc: @okamara

Closing this one in favor of #1980. Gonna track in back there.


Ship ts-analyze-trace

@amcasey has proven out https://github.com/amcasey/ts-analyze-trace/ is useful for self-servicing with performance issues. We are interested in moving it into the Microsoft org on GitHub. Let's do so and publish it on npm under @microsoft.

I've rejected a couple of (good) PRs on my repo to prevent legal complications.  When it's somewhere public and has a real CLA, we should ping those authors about porting their fixes.

New home is https://github.com/microsoft/typescript-analyze-trace.


enhance the egyptian exhange api

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


cert-manager randomly crashes with leader election lost

Describe the bug:
We have cert-manager running in our cluster, it works well but about once per month it crashes, without clear indication what caused it.
I vaguely remember that something like this is know and the recommendation is to use  --leader-elect=false.
W0607 11:31:26.944251       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.Ingress ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0607 11:31:26.944339       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.PartialObjectMetadata ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0607 11:31:26.944345       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.PartialObjectMetadata ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0607 11:31:26.944253       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.CertificateRequest ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0607 11:31:26.944297       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.Challenge ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0607 11:31:26.944301       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.Order ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0607 11:31:26.944252       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.ClusterIssuer ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0607 11:31:26.944363       1 reflector.go:462] k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: watch of *v1.Certificate ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
E0607 11:31:26.944377       1 leaderelection.go:308] Failed to release lock: Put "https://<IP_ADDRESS>:443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/cert-manager-controller": http2: client connection lost
I0607 11:31:26.946670       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificaterequests-issuer-acme"
I0607 11:31:26.946688       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificaterequests-issuer-selfsigned"
I0607 11:31:26.946709       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.challenges"
I0607 11:31:26.946724       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificates-trigger"
I0607 11:31:26.946740       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificates-metrics"
I0607 11:31:26.946766       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificates-key-manager"
I0607 11:31:26.946783       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificates-issuing"
I0607 11:31:26.946794       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificaterequests-approver"
I0607 11:31:26.946809       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificaterequests-issuer-vault"
I0607 11:31:26.946884       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.issuers"
I0607 11:31:26.946904       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.clusterissuers"
I0607 11:31:26.946918       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.orders"
I0607 11:31:26.946932       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificates-request-manager"
I0607 11:31:26.946945       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificates-readiness"
I0607 11:31:26.946960       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificaterequests-issuer-venafi"
I0607 11:31:26.946978       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificaterequests-issuer-ca"
I0607 11:31:26.946673       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.certificates-revision-manager"
I0607 11:31:26.946887       1 controller.go:127] "shutting down queue as workqueue signaled shutdown" logger="cert-manager.ingress-shim"
Error: error starting controller: leader election lost
Usage:
  controller [flags]

Flags:
      --acme-http01-solver-image string                      The docker image to use to solve ACME HTTP01 challenges. You most likely will not need to change this parameter unless you are testing a new feature or developing cert-manager. (default "quay.io/jetstack/cert-manager-acmesolver:v1.14.4")
.......

E0607 11:31:26.969245       1 main.go:39] "error executing command" err="error starting controller: leader election lost" logger="cert-manager"
Stream closed EOF for cert-manager/cert-manager-848c9596cf-972fz (cert-manager-controller)

Expected behaviour:
Not crashing
Steps to reproduce the bug:
no interaction was done
Anything else we need to know?:
single replica
Environment details::

Kubernetes version: 1.29.2
Cloud-provider/provisioner: azure
cert-manager version: 1.14.4
Install method: static manifest
replica count: 1

/kind bug

Hey,
I'd recommend everyone to not use --leader-elect=false although it has been talked about in https://github.com/cert-manager/cert-manager/issues/4918.
The reason you don't want to use --leader-elect=false in production is because even though the number of replicas for the cert-manager controller is 1, you will have multiple pods when upgrading cert-manager from one version to another. For a couple of seconds or minutes, two cert-manager instances will be running simultaneously, which will lead to the two cert-manager pods fighting with each other and behaving erratically.

*v1.Ingress ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost")

This makes me think that the connection to the kube-apiserver got lost for at least 40 seconds (as per renewDeadline in the Helm chart), and cert-manager crashed as expected. The reason we want to crash (instead of hanging indefinitely) is makes it easier to diagnose.

I remember a few years ago we had a similar reconnect issue with the kubernetes control panel in Azure.
My memory is a bit hazy but I think it came down to something like the reconnect try needs to refresh DNS.
https://github.com/golang/go/issues/23427

/remove-lifecycle stale

This makes me think that the connection to the kube-apiserver got lost for at least 40 seconds (as per renewDeadline in the Helm chart), and cert-manager crashed as expected. The reason we want to crash (instead of hanging indefinitely) is makes it easier to diagnose.

Hi,
We're facing the same issue and I came across this conversation.
@maelvls, as far as I understand, assuming the default leaderElection values are used, the renewDeadline defines the leader the interval when it should attempt to renew its leadership; in other words, it should try every 40 sec to renew its leadership.
Theoretically, there may be a scenario when the leader tries to renew the lease 20 sec before it automatically expires (the default leaseDuration is 60 sec), so the kube-apiserver should be down for only 20 sec for the container to be restarted.
If we go deeper, the leader's client will try only twice to connect to the apiserver in that scenario because the retryPeriod is every 15 sec (by default). Meaning that the client should fail twice, and the leader will lose their leadership. But it's a bit strange to me why these retries aren't showing up in the logs.
Did I get something wrong?


Adding target library

itk::itkFactoryRegistration() error will be resolved by modifying all CLI module Testing CMakeLists.txt as:

target_link_libraries(${CLP}Test ${CLP}Lib)
+target_link_libraries(${CLP}Test ${CLP}Lib ${SlicerExecutionModel_EXTRA_EXECUTABLE_TARGET_LIBRARIES})

I missed the comment here. It doesn't look like the pull request is what was intended to be request. I think I have just made the intended change to the repo


Missing License

Hi Spencer
Thank you for creating this minimal css framework. I've found out about it while doing some research for alternatives to simplecss.org.
What I haven't found out is under what license YACCK is published. Can you please specify the license? Thank you.
--
Angelo

Done! Now under the MIT license. Enjoy!


chore: fast forward merge develop into master

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

v1.0.0 rc2


update to hyper 0.12

If you are interested in, I have tried to move reqwest to hyper 0.12 here: https://github.com/avkonst/reqwest/commit/f77746ad0530417198a2ff42f70bc8e93275bacd
I am not quite sure what I am doing VS what needs to be done. I did not track changes between hyper 0.11 and 0.12. In particular issues around hyper::service::Service are unclear to me. So, this is as far as I could go without knowing the source code and hyper API & it's breaking changes.
If there was a guideline how to resolve breaking changes from 0.11 to 0.12 would be probably easier for some body, who has got no clue about hyper.
error[E0271]: type mismatch resolving `<std::boxed::Box<futures::Future<Item=connect::Conn, Error=std::io::Error> + 'static> as futures::Future>::Item == http::Response<connect::Conn>`
  --> src\connect.rs:43:6
   |
43 | impl Service for Connector {
   |      ^^^^^^^ expected enum `connect::Conn`, found struct `http::Response`
   |
   = note: expected type `connect::Conn`
              found type `http::Response<connect::Conn>`

error[E0277]: the trait bound `connect::Conn: hyper::body::Payload` is not satisfied
  --> src\connect.rs:43:6
   |
43 | impl Service for Connector {
   |      ^^^^^^^ the trait `hyper::body::Payload` is not implemented for `connect::Conn`

error[E0277]: the trait bound `http::Uri: hyper::body::Payload` is not satisfied
  --> src\connect.rs:43:6
   |
43 | impl Service for Connector {
   |      ^^^^^^^ the trait `hyper::body::Payload` is not implemented for `http::Uri`

error[E0277]: the trait bound `hyper::client::HttpConnector: hyper::service::Service` is not satisfied in `connect::Conn`
  --> src\connect.rs:43:6
   |
43 | impl Service for Connector {
   |      ^^^^^^^ within `connect::Conn`, the trait `hyper::service::Service` is not implemented for `hyper::client::HttpConnector`
   |
   = note: required because it appears within the type `connect::Conn`

error[E0277]: the trait bound `hyper::client::HttpConnector: hyper::service::Service` is not satisfied
  --> src\connect.rs:80:12
   |
80 |     Normal(HttpsStream),
   |            ^^^^^^^^^^^^ the trait `hyper::service::Service` is not implemented for `hyper::client::HttpConnector`

error: aborting due to 5 previous errors

In the CHANGELOG, there is a section about breaking changes, and while it may sparse in some areas, it does include a hint about the changes around connectors:

Custom connectors should now implement Connect directly, instead of Service.
Calls to connect no longer take Uris, but Destination. There are scheme, host, and port methods to query relevant information.
The returned future must be a tuple of the transport and Connected. If no relevant extra information is needed, simply return Connected::new().

And the relevant docs about the various Connect types: https://docs.rs/hyper/0.12.*/hyper/client/connect/index.html

I have managed to do a lot of changes and got the code to compile atleast. But since I'm not very informed about the internals, the requests are all failing. I'd really like @seanmonstar to go through my changes once. Should I send a pull reqwest?


Mark as 1.17.1 compatible on CF

It's already marked compatible with 1.17.1.

weird, idk why packwiz says it is not.


Why Flutter Inspector And Run are different in different PC computers?

Different computers have different ways of handling？

Flutter Inspector

I'm using the Flutter on a win7 computer,and also I'm using the Flutter on another win7 computer.
I have installed the same Android Studio And the same Flutter plugin and Dart plugin,all the same,but
when I'm running the same project,in different computer,the Flutter Inspector show different style.
One PC computer shows the simple Widgets that I'm using,but the another PC computer shows all Widgets  Tree(it is very terriable and it's very difficult to find the WIdgets thst I‘m using)
Maybe fix the bug quickly.

Run speed different.

I'm using the Flutter on a win7 computer,and also I'm using the Flutter on another win7 computer.
When One PC computer  click Run , the running process finished just for 1minutes,and show a little logs in the  Run Console,and run app in my phone.
But When The another PC computer click Run ,the running process is running for 5minutes,and show a lot of logs in the Run Console.
I don't know why the same project,different computers have different ways of handling?

please add the output of flutter doctor from both machines

@zoechi
look at  two screenshots:

Can't see any flutter doctor output ;-)

@zoechi This is not bug , This is the user When he install AS after select the setting between different verision.

@StormKid not sure what you are trying to tell me.
If there is different behavior on 2 machines, the most basic informatiin to check is the output of flutter doctor

@zoechi When we opened  the Android Studio after new install , we need choose a setting in beginning dialog .

@zoechi IDEA also need choose

Run speed different.
One win7 System computer:
console  screenshots:
it runs for 5 minutes,and it's too slow   and the log is too much more.

The inspector UI difference is likely to be caused by AS and/or the Flutter plugin version difference between the two computers. Also, please make sure you checked Run applications with --track-widget-creation in the Language and Frameworks settings.

Still no flutter doctor -v output anywhere.
It would have shown what @InMatrix points out in above dialog easily.
I assume the mystery is solved. Thanks @InMatrix


Bump reusable workflows version to v0.4.0

Description
This PR bumps reusable workflows to version v0.4.0 .
It should be merged after PR from the checklist.

[ ] https://github.com/FlowFuse/github-actions-workflows/pull/32

Related Issue(s)

Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

@ppawlowski I assume I can take this out of draft now as the earlier one is merged?


ERROR is thrown in the log when StroomQL contains incorrect expressions

stroom.query.language.functions.ExpressionParser reports
Error parsing function <FUNCTION_GROUP FUNCTION_NAME="cout"></FUNCTION_GROUP>
I don't think this should be recorded as an ERROR in the Stroom App log

Fixed in >7.4.9


a complete working sample

we were trying to create a date selectable input area but it is still text area.

Closing as date picking as been implemented.


Error should be info: local-redirect service exists for frontend, skip update for svc lrp-demo-service

@aditighag confirmed that the following error message should be info level:
level=error msg="Error while inserting service in LB map" error="local-redirect service exists for frontend {{<IP_ADDRESS> {UDP 69} 0} 0}, skip update for svc lrp-demo-service" k8sNamespace=default k8sSvcName=lrp-demo-service subsys=k8s-watcher

Something like this? If yes, please assign this to me.
❯ git diff
modified: pkg/redirectpolicy/manager.go

@@ -526,7 +526,7 @@ func (rpm *Manager) upsertService(config *LRPConfig, frontendMapping *feMapping)
    }

    if _, _, err := rpm.svcManager.UpsertService(p); err != nil {
-       log.WithError(err).Error("Error while inserting service in LB map")
+       log.WithError(err).Info("Error while inserting service in LB map")
    }
 }

It's not as simple as converting the log level to info/debug. The same code path (UpsertService) is called during CLI invocation.

@aditighag I see.
You mean there should be different log levels based on code path? CLI invocation, core invocation...
Could you please elaborate? Thanks.

@aditighag Thanks for contacting. Unfortunately, I won't be able to continue with this issue.

Wanted to give a +1 to this issue. This particular error frequently triggers my prometheus alert, effectively rendering it useless :(
rate(cilium_errors_warnings_total{job="cilium-agent",level="error"}[5m]) > 0

log:
cilium-vljzk cilium-agent level=error msg="Error while inserting service in LB map" error="local-redirect service exists for frontend {{<IP_ADDRESS> {UDP 53} 0} 0}, skip update for svc kube-dns" k8sNamespace=kube-system k8sSvcName=kube-dns subsys=k8s-watcher

Here's a proposed fix, please let me know if that makes sense:
https://github.com/cilium/cilium/pull/21898


propose: export GrpcServer local_addr functions

Hi @stepancheg
I see that GrpcServer has some public functions (local_addr, is_alive), but users can't use them in the generated server.
I think it is better to export these functions or public the GrpcServer directly for outside usage. E,g in our tests, we want to use "<IP_ADDRESS>:0" to avoid duplicated listening port problems if use the fixed port, but we can't know the real listening address if we use "<IP_ADDRESS>:0" unless local_addr is exported.

I made field public for now.


[Doc bug][Build-tabs][ ]

Updated or

Docs Build status updates of commit 9bdb25e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/authentication/authentication.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/create-tab-pages/configuration-page.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/what-are-tabs.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 893149a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/authentication/authentication.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/build-adaptive-card-tabs.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/create-tab-pages/configuration-page.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/what-are-tabs.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/authentication/authentication.md
82
14
link
:white_check_mark:

msteams-platform/tabs/how-to/build-adaptive-card-tabs.md
95
6
link
:white_check_mark:

msteams-platform/tabs/how-to/create-tab-pages/configuration-page.md
96
4
link
:white_check_mark:

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
85
18
link
:white_check_mark:

msteams-platform/tabs/what-are-tabs.md
88
19
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit cd0c71a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/build-adaptive-card-tabs.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/create-tab-pages/configuration-page.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/what-are-tabs.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


beam/buildMix: pass on custom nativeBuildInputs

Motivation for this change
3bc80f19388a8b29b65c91fd4550f51cbc9a3a96 changed buildInputs to
nativeBuildInputs, but broke specifying custom nativeBuildInputs.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[ ] Fits CONTRIBUTING.md.

Thank you for this!


Ingest service stuck at block 0

I am running a Macbook air with M1 chip but have replicated it with a macbook pro machine with intel chip.
After running the docker compose -f archive/docker-compose.yml up command, the archive-ingest-1 service gets stuck at the first block. I've attached an image of the output below.

I am running a substrate node locally and have changed the command of the ingest service to "ws://host.docker.internal:9944".
I can see my chain produce many blocks however even querying the gateway service with the below query gives blockHeight 0.
query {
   metadata {
      blockHeight
      blockHash
  }
}

Hey, seems like your chain doesn't finalise blocks!
Apart from that, you should use
query {
  status {
    head
  }
}

to get the number of indexed blocks. .metadata will always contain only one record unless there are runtime upgrades.

I see, btw the above query gave
{
  "data": {
    "status": {
      "head": 0
    }
  }
}

Yes, according to logs ingester has indexed the genesis block and waits for further blocks, but it only consider finalised  ones.


OpenCover doesn't fail the build if tests fail

What You Are Seeing?
When I have a failing unittest, the OpenCover buildstep doesn't fail the build.
I could do a seperate test step before the coverage, but then I had to run the tests twice.
What is Expected?
I expect the build to fail, because the tests are failing.
What version of Cake are you using?
Version 0.14.0+Branch.main.Sha.295cea62406bf905d085d14a67e3656381b72707
Are you running on a 32 or 64 bit system?
64bit
What environment are you running on?  Windows? Linux? Mac?
Windows 10
Are you running on a CI Server?  If so, which one?
No
How Did You Get This To Happen? (Steps to Reproduce)
I created a repository to reproduce it:
https://github.com/MarkusAmshove/OpenCoverDoesntFail
The build is creating reports for the unit tests and the coverage, which can be viewed in:
.\build\reports\Tests\NUnit3.html

and
.\build\reports\Coverage\index.htm

Output Log
If I run build.ps1 I expect the following output:
.\build.ps1
$?

to yield False, but it gives True.

@MarkusAmshove I don't see anything in the repo that you link to.  Have you pushed the source?

Oops, sorry @gep13
I just pushed it ;)

@MarkusAmshove try setting this property in your NUnit3Settings class:
http://cakebuild.net/api/cake.common.tools.nunit/7bd0c6da/14279c2d
As per here:
https://github.com/OpenCover/opencover/issues/168

Also, you might want to look at this setting:
http://cakebuild.net/api/cake.common.tools.opencover/48327845/d90cdd53

The "StopOnError" didn't do the trick, but sounds like a good default settings, because I had unittests with errors which also wouldn't fail the build ;-)
Setting the ReturnTargetCodeOffset to 0 did the trick.
I pushed the changes to the repository.
Is Cake able to set some setting defaults or does it just instantiate those classes? Those settings sounds like they should be a default.
Anyway, thanks for your help! I'm closing this as my original issue is resolved :+1:

@MarkusAmshove said....
Is Cake able to set some setting defaults or does it just instantiate those classes? Those settings sounds like they should be a default.

Cake is just a Wrapper around the underlying tools, so we don't add anything to them that aren't there by default already.  If you were manually running the tool, you would have add to add those flags as well.

@MarkusAmshove said...
Anyway, thanks for your help! I'm closing this as my original issue is resolved :+1:

Thanks!


us-co-grand

grand county
http://www.co.grand.co.us/170/Digital-Data-Sets

Added and tracked here: https://github.com/openaddresses/openaddresses/blob/master/sources/us/co/grand.json


Add Cameroon

Coverage remained the same at 96.522% when pulling 2cbbf950e87f2e2e0d5b3fbb8a41d5a801845856 on addCameroon into 65bed00bdaac4efebd71a1af489ce2a09fe6d6a8 on main.


Error PHP 7.4

Hello,
There are PHP errors, when running on PHP 7.4, which prevent the synchronization of commands:
[PrestaShop error]: "Notice: Trying to access array offset on value of type bool" in /modules/lengow/classes/models/LengowAddress.php on line 342
[PrestaShop error]: "Notice: Trying to access array offset on value of type bool" in /modules/lengow/classes/models/LengowGender.php on line 88

There is also an error in the classes/models/LengowList.php file which prevents you from seeing the list of Lengow commands.

also:
Trying to access array offset on value of type bool in /modules/lengow/classes/models/LengowProduct.php on line 460"


[Feature Request]: Support preserving unrendered fields' values

Description
Right now in, say, a multi-part form; you might have a series of fields you want to unrender but preserve their values.
Describe the solution you'd like
To support this usecase, we might want to introduce an API that looks something like:
<Field preserveValue={true}>

As well as a method for eventually deleting these fields should need-be:
formRef.current.deleteField("name");

Describe alternatives you've considered
It might also be nice to have a <Form initialValues={{name: ""}}> syntax to pre-emptively place values in non-rendered fields but this is likely overly challenging to implement and goes against our field-first API

I would like to work on it!
I have a doubt if it would be possible to transform formFields into a Map to simplify some operations. Would this affect perf somehow?


cilium server mesh High delay

Test QPS peak with  connections:64,  envoy workers:16
istio (1.13.2)  result  19564.4qps   avg: 3.271 ms  P90 : 5.812ms
cilium-server-mesh result  13784.0qps   avg: 4.642 ms  P90 : 20.980ms
cilium-server-mesh Request success probability 80%
why cilium result so ？

Hey @FanHTao - Can you define the SUT here a bit -- for both scenarios (isitio and cilium)? Platform, kernel, etc..
On one of the cilium pods can you run cilium status --verbose
> kubectl get pods -n kube-system -l k8s-app=cilium
> kubectl exec -it -n kube-system <one of the pods from the above list> -- cilium status --verbose

client pod and server pod on different node，client is the most possible request server with 64 connections.
platform : k8s v1.20.15
kernel : Linux master 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
kubectl exec -it -n kube-system cilium-9dr4v -- cilium status --verbose
KVStore:                Ok   Disabled
Kubernetes:             Ok   1.20 (v1.20.15) [linux/amd64]
Kubernetes APIs:        ["cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "cilium/v2alpha1::CiliumEnvoyConfig", "core/v1::Namespace", "core/v1::Node", "core/v1::Pods", "core/v1::Service", "discovery/v1beta1::EndpointSlice", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:   Probe   [ens4f0 <IP_ADDRESS> (Direct Routing)]
Host firewall:          Disabled
Cilium:                 Ok   1.11.0 (v1.11.0-d8460a4)
NodeMonitor:            Disabled
Cilium health daemon:   Ok
IPAM:                   IPv4: 12/254 allocated from <IP_ADDRESS>/24,
Allocated addresses:
<IP_ADDRESS> (kube-system/otelcol-hubble-collector-qllbq[restored])
<IP_ADDRESS> (health)
<IP_ADDRESS> (default/fortio-server-7c5799bc79-jpjv8[restored])
<IP_ADDRESS> (istio-system/prometheus-9f4947649-7zqj7[restored])
<IP_ADDRESS> (cilium-monitoring/prometheus-655fb888d7-2m9fv[restored])
<IP_ADDRESS> (istio-system/grafana-556f8998cd-l6hms[restored])
<IP_ADDRESS> (kube-system/coredns-74ff55c5b-z9qdb[restored])
<IP_ADDRESS> (router)
<IP_ADDRESS> (cilium-monitoring/grafana-d69c97b9b-grl69[restored])
<IP_ADDRESS> (istio-system/kiali-8679df7b97-7chhb[restored])
<IP_ADDRESS> (default/foo-app[restored])
<IP_ADDRESS> (default/bar-app[restored])
BandwidthManager:       Disabled
Host Routing:           Legacy
Masquerading:           IPTables [IPv4: Enabled, IPv6: Disabled]
Clock Source for BPF:   ktime
Controller Status:      81/81 healthy
Name                                          Last success   Last error   Count   Message
bpf-map-sync-cilium_lxc                       7s ago         never        0       no error
cilium-health-ep                              41s ago        never        0       no error
dns-garbage-collector-job                     59s ago        never        0       no error
endpoint-1086-regeneration-recovery           never          never        0       no error
endpoint-1096-regeneration-recovery           never          never        0       no error
endpoint-1390-regeneration-recovery           never          never        0       no error
endpoint-1503-regeneration-recovery           never          never        0       no error
endpoint-1764-regeneration-recovery           never          never        0       no error
endpoint-294-regeneration-recovery            never          never        0       no error
endpoint-3107-regeneration-recovery           never          never        0       no error
endpoint-3343-regeneration-recovery           never          never        0       no error
endpoint-382-regeneration-recovery            never          never        0       no error
endpoint-482-regeneration-recovery            never          never        0       no error
endpoint-604-regeneration-recovery            never          never        0       no error
endpoint-781-regeneration-recovery            never          never        0       no error
endpoint-gc                                   1m59s ago      never        0       no error
ipcache-inject-labels                         1m40s ago      1m46s ago    0       no error
k8s-heartbeat                                 29s ago        never        0       no error
mark-k8s-node-as-available                    1m42s ago      never        0       no error
metricsmap-bpf-prom-sync                      4s ago         never        0       no error
neighbor-table-refresh                        12s ago        never        0       no error
resolve-identity-1086                         1m41s ago      never        0       no error
resolve-identity-1096                         1m40s ago      never        0       no error
resolve-identity-1390                         1m37s ago      never        0       no error
resolve-identity-1503                         1m41s ago      never        0       no error
resolve-identity-1764                         1m40s ago      never        0       no error
resolve-identity-294                          1m36s ago      never        0       no error
resolve-identity-3107                         1m36s ago      never        0       no error
resolve-identity-3343                         1m36s ago      never        0       no error
resolve-identity-382                          1m40s ago      never        0       no error
resolve-identity-482                          1m37s ago      never        0       no error
resolve-identity-781                          1m37s ago      never        0       no error
restoring-ep-identity (1096)                  1m42s ago      never        0       no error
restoring-ep-identity (1390)                  1m42s ago      never        0       no error
restoring-ep-identity (1503)                  1m42s ago      never        0       no error
restoring-ep-identity (1764)                  1m41s ago      never        0       no error
restoring-ep-identity (294)                   1m41s ago      never        0       no error
restoring-ep-identity (3107)                  1m41s ago      never        0       no error
restoring-ep-identity (3343)                  1m41s ago      never        0       no error
restoring-ep-identity (382)                   1m42s ago      never        0       no error
restoring-ep-identity (482)                   1m42s ago      never        0       no error
restoring-ep-identity (604)                   1m42s ago      never        0       no error
restoring-ep-identity (781)                   1m42s ago      never        0       no error
sync-endpoints-and-host-ips                   46s ago        never        0       no error
sync-lb-maps-with-k8s-services                1m42s ago      never        0       no error
sync-policymap-1086                           35s ago        never        0       no error
sync-policymap-1096                           35s ago        never        0       no error
sync-policymap-1390                           35s ago        never        0       no error
sync-policymap-1503                           35s ago        never        0       no error
sync-policymap-1764                           35s ago        never        0       no error
sync-policymap-294                            35s ago        never        0       no error
sync-policymap-3107                           34s ago        never        0       no error
sync-policymap-3343                           35s ago        never        0       no error
sync-policymap-382                            35s ago        never        0       no error
sync-policymap-482                            34s ago        never        0       no error
sync-policymap-604                            33s ago        never        0       no error
sync-policymap-781                            35s ago        never        0       no error
sync-to-k8s-ciliumendpoint (1086)             11s ago        never        0       no error
sync-to-k8s-ciliumendpoint (1096)             2s ago         never        0       no error
sync-to-k8s-ciliumendpoint (1390)             7s ago         never        0       no error
sync-to-k8s-ciliumendpoint (1503)             2s ago         never        0       no error
sync-to-k8s-ciliumendpoint (1764)             2s ago         never        0       no error
sync-to-k8s-ciliumendpoint (294)              6s ago         never        0       no error
sync-to-k8s-ciliumendpoint (3107)             6s ago         never        0       no error
sync-to-k8s-ciliumendpoint (3343)             6s ago         never        0       no error
sync-to-k8s-ciliumendpoint (382)              12s ago        never        0       no error
sync-to-k8s-ciliumendpoint (482)              7s ago         never        0       no error
sync-to-k8s-ciliumendpoint (604)              2s ago         never        0       no error
sync-to-k8s-ciliumendpoint (781)              7s ago         never        0       no error
template-dir-watcher                          never          never        0       no error
update-k8s-node-annotations                   1m58s ago      never        0       no error
waiting-initial-global-identities-ep (1096)   1m42s ago      never        0       no error
waiting-initial-global-identities-ep (1390)   1m42s ago      never        0       no error
waiting-initial-global-identities-ep (1503)   1m42s ago      never        0       no error
waiting-initial-global-identities-ep (1764)   1m41s ago      never        0       no error
waiting-initial-global-identities-ep (294)    1m41s ago      never        0       no error
waiting-initial-global-identities-ep (3107)   1m41s ago      never        0       no error
waiting-initial-global-identities-ep (3343)   1m41s ago      never        0       no error
waiting-initial-global-identities-ep (382)    1m42s ago      never        0       no error
waiting-initial-global-identities-ep (482)    1m42s ago      never        0       no error
waiting-initial-global-identities-ep (781)    1m42s ago      never        0       no error
Proxy Status:   OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000
Hubble:         Disabled
KubeProxyReplacement Details:
Status:                 Probe
Socket LB Protocols:    TCP, UDP
Devices:                ens4f0 <IP_ADDRESS> (Direct Routing)
Mode:                   SNAT
Backend Selection:      Random
Session Affinity:       Enabled
Graceful Termination:   Enabled
XDP Acceleration:       Disabled
Services:

ClusterIP:      Enabled
NodePort:       Enabled (Range: 30000-32767)
LoadBalancer:   Enabled
externalIPs:    Enabled
HostPort:       Enabled
BPF Maps:   dynamic sizing: on (ratio: 0.002500)
Name                          Size
Non-TCP connection tracking   1184367
TCP connection tracking       2368735
Endpoint policy               65535
Events                        56
IP cache                      512000
IP masquerading agent         16384
IPv4 fragmentation            8192
IPv4 service                  65536
IPv6 service                  65536
IPv4 service backend          65536
IPv6 service backend          65536
IPv4 service reverse NAT      65536
IPv6 service reverse NAT      65536
Metrics                       1024
NAT                           2368735
Neighbor table                2368735
Global policy                 16384
Per endpoint policy           65536
Session affinity              65536
Signal                        56
Sockmap                       65535
Sock reverse NAT              1184367
Tunnel                        65536
Encryption:                      Disabled
Cluster health:                  2/2 reachable   (2022-04-09T06:19:49Z)
Name                           IP              Node      Endpoints
kubernetes/node1 (localhost)   <IP_ADDRESS>   unknown   unknown
kubernetes/master              <IP_ADDRESS>   unknown   unknown

client pod and server pod on different node，client is the most possible request server with 64 connections. platform : k8s v1.20.15 kernel : Linux master 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

@FanHTao I am not familiar with service mesh, maybe you need to run on a newer kernel version than 5.4.0-107-generic, try a most recent kernel ?

@FanHTao as @vincentmli mentioned, try a newer kernel. I have tested with - 5.16.0-051600-generic
Considering the significant difference in latency and throughput, we only see a small difference in utilization (CPU) comparing the two.

There are some occasional errors in my pressure test log.
http  resp 503   body: upstream connect error or disconnect/reset before headers. reset reason: connection failure
I observed that the server is normal，What makes this error？

Hey @FanHTao - Not following the question here?
You are seeing these 503s from the test tool, or something else?

Envoy Log：
[2022-04-20 01:37:02.344][929][debug][connection] [C512661] immediate connection error: 99
[2022-04-20 01:37:02.344][921][debug][client] [C512663] connecting
[2022-04-20 01:37:02.344][924][debug][connection] [C512662] immediate connection error: 99
[2022-04-20 01:37:02.344][921][debug][connection] [C512663] connecting to <IP_ADDRESS>:8080
[2022-04-20 01:37:02.344][922][debug][pool] creating a new connection
[2022-04-20 01:37:02.344][921][debug][connection] [C512663] immediate connection error: 99
[2022-04-20 01:37:02.344][929][debug][connection] [C512659] raising immediate error
[2022-04-20 01:37:02.344][929][debug][connection] [C512659] closing socket: 0
[2022-04-20 01:37:02.344][924][debug][http] [C512597] new stream
[2022-04-20 01:37:02.344][922][debug][client] [C512664] connecting
[2022-04-20 01:37:02.344][922][debug][connection] [C512664] connecting to <IP_ADDRESS>:8080
[2022-04-20 01:37:02.344][929][debug][client] [C512659] disconnect. resetting 0 pending requests
[2022-04-20 01:37:02.344][929][debug][pool] [C512659] client disconnected, failure reason:
[2022-04-20 01:37:02.344][922][debug][connection] [C512664] immediate connection error: 99
[2022-04-20 01:37:02.344][929][debug][router] [C512598][S15092282274758931564] upstream reset: reset reason: connection failure, transport failure reason:
[2022-04-20 01:37:02.345][929][debug][http] [C512598][S15092282274758931564] encoding headers via codec (end_stream=false):
':status', '503'
'test', 'fortio'
'content-length', '91'
'content-type', 'text/plain'
'date', 'Wed, 20 Apr 2022 01:37:02 GMT'
'server', 'envoy'

Hey @FanHTao Sorry, but it isn't clear to me why you would see this error with your test. How repeatable is the test you are building with Fortio?

Hey@jtaleric When concurrent requests are greater than envoy workers，100% appear。
this is port reuse conflict，  cilium manage envoy client port range？

cc @jrajahalme on the message mentioned above.

@FanHTao
I happen to have envoy enabled in Cilium, could you describe what load test tool you used in your client test pod? what steps you performed in the load test  and how do you check envoy logs that has 503 ? sorry I am newbie to envoy too but I would like to dig into this further

@vincentmli  Problems caused by setting   src_address  port

Modify the following code to repair
proxy/cilium/socket_option.h

@FanHTao nice! did you file issue or send PR to https://github.com/cilium/proxy?

@FanHTao seems this was observed on Cilium Service Mesh beta. Cilium ingress will be released with Cilium 1.12, and it no longer tries to use the original source address (or port) for Ingress traffic, so this issue should no longer happen with it.

This issue also happen with cilium 1.12.

After following https://docs.cilium.io/en/v1.12/gettingstarted/servicemesh/envoy-traffic-management/ steps,   access the cluster ip on host .  If the selected backend is running the remote node ,i will response success, if the backend is running on the local node ,the envoy can not proxy the  request.
curl -v :8080/foo
curl -v <IP_ADDRESS>:8080

About to connect() to <IP_ADDRESS> port 8080 (#0)
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8080 (#0)

GET / HTTP/1.1
User-Agent: curl/7.29.0
Host: <IP_ADDRESS>:8080
Accept: /

< HTTP/1.1 504 Gateway Timeout
< content-length: 24
< content-type: text/plain
< date: Sun, 07 Aug 2022 03:22:57 GMT
< server: envoy
<

Connection #0 to host <IP_ADDRESS> left intact

The log from hubble observer is as following:
Aug  6 15:00:26.869: <IP_ADDRESS>:39220 (world) -> default/echo-service-2-5dfc4d5d4b-gf2p7:8080 (ID:81201) http-request FORWARDED (HTTP/1.1 GET http://<IP_ADDRESS>:8080/)
Aug  6 15:00:26.873: <IP_ADDRESS>:39220 (world) <- default/echo-service-2-5dfc4d5d4b-gf2p7:8080 (ID:81201) http-response FORWARDED (HTTP/1.1 200 4ms (GET http://<IP_ADDRESS>:8080/))
Aug  6 15:00:48.484: <IP_ADDRESS>:53388 (world) <- <IP_ADDRESS>:17960 (world) http-response FORWARDED (HTTP/1.1 504 0ms (GET http://<IP_ADDRESS>:8080/)).


Data skills training for freshman in social sciences

subtitled 'Data with a hug'
From Victoria Cross
"
The course that I am designing is aimed far lower than datacarpentry or your data studies course.  It is listed as PSC012Y and designed for freshmen.  We are imagining that first quarter freshmen will enroll in PSC001 and PSC012Y (or CMN001 and CMN012Y, etc.)  It is data with a hug.  It is getting their feet wet with hands-on, straight forward summarizing and visualizing.  It is aimed at understanding what decisions need to be made when tackling a data set, what the options are and how to decide between them.  The hope being that they will then be prepared to understand the data presented to them in future social science courses.
That said, many of the skills are fundamental and relevant to more advanced audiences.  Though perhaps too elementary.
We spend a lot of time having the students identify variables and indicate whether they are continuous or categorical (it's amazing how hard they make this!)
We cover basic data summarizing - distributions, percent, percent change, means, standard error of mean, standard deviation, correlations
We cover basic data visualization - graphs and tables and the decisions that need to be made (when to use lines, when to use bars, deciding which predictor variable goes in the key and which on the axis)
We cover basic Excel skills in the context of data sets - I am amazed at how little Excel they know. I'm attaching a draft of one of the first tutorials.  Once I have Excel2015, I will be recording this tutorial as a screencast.
The students produce write ups for each data set.
We introduce the idea of designing research that puts two theories head-to-head and interpreting the data to decide which theory is supported.  Once the students have covered the skills with a practice data set, we provide them with a 'put it into practice' exercise where they need to make the decisions themselves.  I'm attaching the current draft of the one based on Harry Harlow's work.  Note that the Excel file has two sheets - a simple one and then a more complex one.

PSC012Y is mostly using Excel.  Though we are also using Marco's SeeIt! for distributions, correlations and sampling.  http://seeit.ucdavis.edu/SeeIt3/distributionsv3.html
"

Thinking of something specifically for freshman is a great idea. The starting place for data skills is learning to think about and evaluate data, and prior to college most students haven't much experience or exposure to this.
Even more than knowing how to do data analysis, knowing how to critically think about data that is presented is, and will increasingly be, a critical skill to be an informed citizen. This type of curriculum seems to make sense from a practical skills perspective and as a part of a liberal arts education.


Measuring questions too ambiguous

Specify the full light model name

Sounds to me to enter "Manufacturer Product-Line Model" here.
The next question:

Which device (manufacturer, model) do you use to take the measurement?

Well, the above one - no?
Do I have to type the stuff twice?

Specify the full light model name

Sounds to me to enter "Manufacturer Product-Line Model" here.

This question is about the light manufacturer / product model. But not the model identifier, but the name of the bulb.
Will be shown in the supported models list. https://github.com/bramstroker/homeassistant-powercalc/blob/master/docs/supported_models.md.
For example "Hue White and Color Ambiance GU10 BT"

The next question:

Which device (manufacturer, model) do you use to take the measurement?

This is about the power meter you used to measure. For example "Shelly Plug".
Let me know if you have ideas to make this more clear.


Fix some small text mistakes

Another PR like #31486
I was going to wait until I find more stuff to fix, but release is near, so whatever.

Thanks!


Using notes.

Ability to read and modify notes would be great. It would allow us to record thing's about people, use eval commands or whatever in notes. and idk what else. maybe a database system?

Notes are client side only though, so the benefit would be limited

Still useful

Has Discord released an API for note reading/writing?

If the client can do notes, there must be an endpoint somewhere

Update on this: talked to Jake.
He told me that notes are disabled for bot accounts. Only non-OAuth accounts can use it. So, this feature unfortunately wouldn't be very useful at all. :/

Still going to add it

Added in https://github.com/hydrabolt/discord.js/pull/423


Improve handling of stale fds for SelectSelector

Made SelectSelector more resilient to stale file descriptors which would result in strange outcomes such as in Issue #367. Removed using select.select directly as non-Windows SelectSelector (should?) break in the same situation as Issue #367 if SelectSelector were the default on a non-Windows platform as well. Added a new test for a stale file descriptor for all SelectSelectors.

Meta-comment: the selectors module is not a part of asyncio -- it's in the stdlib (we just bundled it for the convenience of Python 3.3 users).

@gvanrossum Oh, well that makes things interesting. Is there perhaps a way to allow the use of our own SelectSelector if it's on Windows? Because as it stands that select cannot handle stale fds.

Fixed a quick bug where if all the watched fds were stale Windows would lock up. Hopefully that'll pass on AppVeyor.

@gvanrossum Oh, well that makes things interesting. Is there perhaps a way to allow the use of our own SelectSelector if it's on Windows? Because as it stands that select cannot handle stale fds.

What Guido meant was that you should file this bug to http://bugs.python.org since selectors module isn't part of asyncio (it's only included in this repo for compatibility with Python 3.3). That's how the process is defined for now.

@1st1 Shame, git/GitHub is hard enough to use on Windows. I don't really want to get Mercurial just for one small patch just to have CPython switch back to GitHub. I guess close this PR.

@1st1 Shame, git/GitHub is hard enough to use on Windows. I don't really want to get Mercurial just for one small patch just to have CPython switch back to GitHub. I guess close this PR.

Well, CPython repo will be migrated to GitHub in a couple of months. If this PR fixes a bug, please at least open an issue and attach the patch on bugs.python.org. I don't have capacity to review your PR in the next couple of weeks :(

@1st1 Does fix a bug, I'll open an issue there.

@SethMichaelLarson so did you open an issue on bugs.python.org for this?


Arcgis  DynamicMapServiceLayer overlay WebTiledLayer

Hi there, I am using arcgis api 3.20. I tried to overlay arcgis dynamicmapservicelayer on top of webtiledlayer but it only shows the dynamicmapservicelayer and ignoring the webtiledlayer. And if i reverse the order, only webtiledlayer is shown. How is this so?
Below is my sample code.
  var maptiler1 =new WebTiledLayer("http://localhost:8080/tms/1.0.0/sweden/EPSG3414/{level}/{col}/{row}.png", {
      "copyright": '© OpenStreetMap contributors, © CARTO',
      "id": "cartodb",
      "opacity": 0
    });
   map.addLayer(maptiler1);

  var layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer", {
        "opacity":0.5
    });

   map.addLayer(layer);

Any help will be appreciated!

Generally, these types of questions more technical in nature and not directly related to the resources within this repo should be directed to our support team<EMAIL_ADDRESS>

@hgonzago is right. another option would be using geonet.
given that your tiles were cooked in EPSG:3414, you might try supplying a tileInfo object that describes the non-web mercator projection in the WebTiledLayer constructor.
its tough to provide further assistance given that your tiles are only accessible on your own machine.

@hgonzago @jgravois thanks for the feedback. I will drop<EMAIL_ADDRESS>a email on this as well as geonet. Just a quick question, I have a TMS (Tiled Map Service) end point and I would like to use it in arcgis .js to build a application, do you guys think that is possible? the TMS is not from arcgis, rather a 3rd party source.
Cheers

I have a TMS (Tiled Map Service) end point and I would like to use it in arcgis .js to build a application, do you guys think that is possible? the TMS is not from arcgis, rather a 3rd party source.

Depending on the details, but yes the JSAPI supports this using WebTiledLayer.

Thanks @bsvensson , I am one step closer to what I would like to achieve. I bet the missing step left is the tileInfo which i would need to as mentioned by @jgravois ,that describes the non-web mercator projection in the WebTiledLayer constructor.
But I was being told before that EPSG:3414 "origin is an attribute of the grid and is independent of the actual projection". As such, what should I feed in the origin below? And is my declaration for tileInfo in the correct manner?
EPSG:3414 standard -> https://sirent.inlis.gov.sg/CoordinateSystems.aspx
    var maptiler =new
    WebTiledLayer("http://localhost:8080/tms/1.0.0/sweden/EPSG3414/{level}/{col}/{row}.png", {
    tileInfo: new TileInfo({
        dpi: 96,
        rows: 256,
        cols: 256,
        origin: {
            x: ??,
            y: ??
        },
        spatialReference: {
            wkid: 3414
        },
        lods: lods
    })

    });

Cheers =)


mini-sftp-server: Add version 2.25

Closes https://github.com/lukesampson/scoop-extras/issues/4375

Where are configuration stored?

As per this discussion on portablefreeware.com, it seems to be writing in the registry. 😓

/verify


customization: allow to pass extra options to docker

In most cases generated 'docker_options' has sane value, but if one want to
add something he should copy whole generation logic. Which is suboptimal.
and error prone.

@dmonakhov  Thanks.
i fix it  https://github.com/kubernetes-incubator/kubespray/pull/3270.

/close


Key Vault integration

What is your guidance on Key Vault integration? What is the best way to create a keypair inside a pipeline and store it into Key Vault? And thereafter, consume it from the Key Vault?

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

ID: 9ce9d017-fc43-c904-d94b-87cf91265ffc
Version Independent ID: ecf3b0b7-6c2c-1cd9-33a9-2cf562932e2b
Content: Install SSH Key task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/install-ssh-key.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @vijayma
Microsoft Alias: vijayma

Thank you for your feedback. We are closing this issue and directing you to seek an answer through our support site: Azure DevOps Developer Community.


L2_CSLC_S1 Point Release 2.1 Acceptance Test

ADT has provided a point build update to the L2_CSLC_S1 interface delivery which means we need to run an Acceptance Test on it before it becomes the default base-image for our PGE builds.
The relevant software artifacts and documentation are available in Artifactory-FN under the following path:
https://artifactory-fn.jpl.nasa.gov/ui/repos/tree/General/general/gov/nasa/jpl/opera/adt/cslc_s1/r2.1/interface
Since this is  a redelivery of the interface build, the existing wiki instructions should hopefully still suffice for performing the AT, but any referenced links should be updated to match the latest available artifacts in AF:
https://github.com/nasa/opera-sds-pge/wiki/CSLC-S1-Interface-Acceptance-Testing-Instructions

The wiki instructions have been updated to match the new delivery contents:
https://github.com/nasa/opera-sds-pge/wiki/CSLC-S1-Interface-Acceptance-Testing-Instructions
The acceptance test passes.


Github Permission Control

Currently SPDM Authors can rebase and merge without maintainer approval. Should edit settings so that only maintainers can merge PRs.

Can probably just delete the SPDM Authors group since it was put in place when the repository was private. Now that it is public everyone, except the maintainers, will be on the same footing.

For now I changed the permissions for the SPDM Authors group from Write to Read. We can revisit later if this turns out to be an issue.


Optional captures throw fatal error when not present

e.g.
let fooRegex = Regex("(foo)?bar")
print(fooRegex.match("bar")?.captures) // fatal error: subscript: subRange extends past String end

Sorry, just noticed https://github.com/sharplet/Regex/pull/20.

Just FYI, this is available on master now. I'd also like to push 0.3 soon!

Awesome, thanks for the quick turnaround!


Media Player Error (1,-1004)

I am getting this error

Hi @shashank090789
Did you get it working using native VideoView?

The issue has been solved , there was a problem in URL,
Thanks for quick reply.

You'r welcome.


Fatal TypeError: fileStream.endAsync is not a function

Just a heads up to anyone else who comes here.
There is an error when the downloading finishes and it doesn't remove _downloading.bztmp from the end of the downloaded .zip file, but the zip is intact and extracts fine when using unzip.
409.65 GB / 409.65 GB (288.28 Mbps instantaneous, 314.11 Mbps total, ETA: a few seconds)
Download done, moving file...
Fatal TypeError: fileStream.endAsync is not a function
    at /mnt/disk1/backblaze/app.js:362:22
    at Generator.next (<anonymous>)
    at Generator.tryCatcher (/mnt/disk1/backblaze/node_modules/bluebird/js/release/util.js:16:23)
    at PromiseSpawn._promiseFulfilled (/mnt/disk1/backblaze/node_modules/bluebird/js/release/generators.js:97:49)
    at Promise._settlePromise (/mnt/disk1/backblaze/node_modules/bluebird/js/release/promise.js:579:26)
    at Promise._settlePromise0 (/mnt/disk1/backblaze/node_modules/bluebird/js/release/promise.js:619:10)
    at Promise._settlePromises (/mnt/disk1/backblaze/node_modules/bluebird/js/release/promise.js:699:18)
    at _drainQueueStep (/mnt/disk1/backblaze/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/mnt/disk1/backblaze/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/mnt/disk1/backblaze/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/mnt/disk1/backblaze/node_modules/bluebird/js/release/async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>start: `node app.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!

I'm on v12.9.1

Hopefully #10 should sort this out.


README.md fixes from trying to follow it

$ oc remove
error: unknown command "remove" for "oc"

/lgtm

/retest
Changes in the README cannot affect the kuttl tests

/lgtm


feat(vue): remove eslint warnings

A couple changes:

Removed all the missing return type warnings
Refactored the EngineService to get the right typing definition (instead of HeadlessEngine<any>) (commit)
Updated Vue component with Typescript syntaxe

Superseded by #150


Write out a cortical ribbon mask in the template/segmentation

Codecov Report

Merging #183 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #183   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines        2166   2179   +13
=====================================
+ Hits         2166   2179   +13

Impacted Files
Coverage Δ

lyman/workflows/template.py
100% <100%> (ø)
: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 ac20ef3...343eb9e. Read the comment docs.


ART-11334: exclude v2 to ignore

@nrb  this PR is for fixing
        error: go: go.mod file not found in current directory or any parent

/cherry pick release-4.19

/cherry-pick release-4.19

/retest

/jira refresh

Hello, @mbiarnes Change the commit to "UPSTREAM: : exclude v2 to ignore".
This is for our rebasebot automation to cherry-pick the commit in next rebase.
Instead of  upstream PR is used when there is one. If this is a downstream carry patch  is used.
I don't have context on this but looks like this file is trying to solve the same issue. Maybe the filename is wrong?
https://github.com/openshift/azure-service-operator/blob/main/openshift/Dockerfile.dockerignore

@JoelSpeed can you approve this?

Joel is on PTO. @RadekManak could you please approve it? Thank you!

Where are you getting this error? The .dockerignore file you are modifying should be ignored by the tooling and instead the more specific openshift/Dockerfile.dockerignore for openshift/Dockerfile should be used.
I was able to reproduce your error by
rm openshift/Dockerfile.dockerignore
podman build -f openshift/Dockerfile .

Then the .dockerfile from project root was used. Is there some miconfiguration? Or maybe .dockerignore is used somehow when importing the repository?

How the repo gets offered to the OSBS (and konflux) build systems is:

clone this repo
copy specified Dockerfile to the root of the repo
(set some base images, do some build system configuration)
trigger a build

So effectively, the Dockerfile from the root of this repo gets overwritten by the openshift/Dockerfile repo, which makes the .dockerignore bite :)

I have proposed alternative PR that will override the upstream .dockerignore with our version.

@RadekManak will run a test build with these changes

@RadekManak
the test build with the changes propoese in #5 was SUCCESSFUL
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=3403020
@joepvd if there are no objections I will close this PR when #5 was merged

#5 merged, this is no longer needed


Accounts: Identity management for Events and Music room

Summary
Extract authentication & account management logic from Events and Music room services to InNoHassle Accounts service.

This is work in progress in InNoHassle-Accounts. Also requires refactoring in Events (almost done), Website and Music room. The Accounts service will also be used for Sport bot for generating access tokens to Sports API.

The Accounts service is now used in Website, Sport bot, and Music room bot.


[DOC] Update README with getting started and requirement info

At the moment the README.md links to the CONTRIBUTING.md which lists the instructions for setting up this project. The 'normal' handling is that README.md lists all info to setup the project while contributing info gives people insights how to handle PR, bugs, idea, etc. of this project.
Suggestions:

List technical requirements in README.md
Move getting started info to README.md
Update CONTRIBUTING.md with only issue related info

Benefits:

Newcomers/Potential contributors would see at first glance all relevant info

Addressed and done in PR #669. Closing.


Incorrect hyperlink on DockerHub for Universal image tags

On DockerHub (https://hub.docker.com/_/microsoft-vscode-devcontainers), the 'All tags' hyperlink for the universal image (mcr.microsoft.com/vscode/devcontainers/universal) points to java (https://mcr.microsoft.com/v2/vscode/devcontainers/java/tags/list)
It should point to:
https://mcr.microsoft.com/v2/vscode/devcontainers/universal/tags/list

Thanks for letting us know.  Fixed!


Generate Separate Uberjar

Generating only an uberjar can cause trouble for users that rely on different versions of libraries included in the uberjar.  Instead we should produce separate standard and uber jars.

The Premain-Class and Agent-Class settings are only applied to the uberjar.


Set axis colors for Axes class to passed in values; set default axis color to BLACK if no numbers given

Overview: What does this pull request change?

The first change is in lines 1873-1882 of coordinate_systems.py. The second change is in Ines 484-490 of number_line.py. This pull request attempts to fix that Axes does not respect the parameters passed in, specifically pertaining to color.

Motivation and Explanation: Why and how do your changes improve the library?

Resolve #3633 . These changes attempt to fix an issue within the initialization of the Axes class in which the axis_config attributes are not accurately set. To account for color not being displayed as per issue 3633, the changes set the color to the parameters passed in, and also set the default color to BLACK if no numbers are given.
Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

Closing as stale, please feel free to reopen if you'd like to continue working on this!


feat: Reexport fundamental tower trait

Reexports fundamental tower's traits.

Why?

As tonic is based on tower's ecosystem and these types are already exposed, it is useful when users use with tower's functionality.

The initial motivation was that I felt combining services and layers is frequent, but this doesn't seem convenient as I felt since a pattern using tower::ServiceBuilder and LayerExt seems simpler in practice.


[FLINK-10054] Add getMaxParallelism/setMaxParallelism API for PythonStreamExecutionEnvironment

What is the purpose of the change
This pull request adds getMaxParallelism/setMaxParallelism API for PythonStreamExecutionEnvironment
Brief change log

Add getMaxParallelism/setMaxParallelism API for PythonStreamExecutionEnvironment

Verifying this change
TBD
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

closing this PR...


Files changes

Is there any way to watch changes made to html or any other template engine file so there was no need t restart server to see changes?

Do you need this in production mode? Otherwise, IIRC view caching is disabled by default in non-production mode.

i need it for development. I'm trying to build dev environment using express. the problem i have is that need to restart server each time i make changes to html/jade or css files.

If the 'view cache' application setting (see http://expressjs.com/en/4x/api.html#app.set for more) is disabled, the views should be read from disk on each request. Is it possible that you have 'view cache' enabled, or the NODE_ENV environment variable set to production?

Thank for you kind help!


samples: net: echo-server: no return packet

Describe the bug
Echo server doesn't reply back the payload to the sender.
It looks like a side effect of this patch according to git bisect - 2a63e34
To Reproduce
Followed steps in https://docs.zephyrproject.org/latest/guides/networking/qemu_setup.html#basic-setup
Send TCP from echo-client
Expected behavior
Echo-server should reply the packet with received payload
Impact
Basic functionality is broken.
Environment (please complete the following information):

OS: Qemu_x86
Toolchain: Zephyr SDK

Confirmed that #17393 fixes the issue.


OPERA-SDSVnV-16: Verify archival of DSWX_HLS data products

L3 Requirement:
Verify that the standard data products are available to designated DAACS as defined in ICD. Use the CMR query service to locate the products of interest, and Cumulus data services to download the data.Execute these tests for each OPERA data products, and for multiple time intervals and geographic selections.
Verify that the SDS adheres to the external interfaces with the DAACs as specified in the ICD agreement, specifically:
o The SDS uses CNM ("Cloud Notification Mechanism") to notify the target DAAC that new output prodcuts are available for archiving
Verify that the DAAC metadata is delivered to the DAAC with the product.
TestRail case: https://cae-testrail.jpl.nasa.gov/testrail/index.php?/tests/view/3678197&group_by=cases:section_id&group_order=asc&group_id=69570

Note that Step 1 (verify that .netrc file exists) will have to change when files are downloaded not through HTTPS, but rather via direct S3 access.

Step 8: add the LP.DAAC URL
Step 9:

describe how to query for HLSS30 data (which web controls to use)
add query for HLSL30?

Can we do this test without running the PGE? By simply moving an output products to the location where it will trigger a CNM?
Let's test everything we can first without DAAC intervention, then let's involve the DAACs.

This can be done by staging L3_DSWX_HLS products into the ISL bucket.

We decided to proceed as follow:

get hold of the output files from the previous PGE run (see another test case)
move those files to the correct output directory in the ISL bucket
that should trigger the CNM message to the DAAC - use the UI to verify the job is submitted
when the job completes, use the CMR query to verify that the output products have been ingested (including their metadata)

Must use the test collection at the DAAC to verify that the products are ingested (not the final operational collection).

Please add the following steps at the end:
o Use CMR query to locate the DSWx products at the PO.DAAC
o Use the PO.DAAC Cumulus service to download the products

Updated:https://cae-testrail.jpl.nasa.gov/testrail/index.php?/tests/view/3678197

Updated: https://cae-testrail.jpl.nasa.gov/testrail/index.php?/tests/view/3678197

Thanks for the update. I am ok with closing this ticket if Steven agrees as well.

We agreed the ticket is ok for now, closing.


scrape MuckRock for data sources

Context
We have a lot of potential data sources in MuckRock, and we have a simple scraper for them.
Example of potentially highly relevant URLs: https://www.muckrock.com/foi/list/?page=1&per_page=100&q=use+of+force
Also, we request a lot of things. It would cool to one day import successful requests to our database: https://www.muckrock.com/foi/organization-list/?sort=date_submitted&order=desc
Requirements

[x] Scrape batch of requests (20? 100?) from MuckRock. Target one of our record types, or target Allegheny County PA.
[x] optional: run them through one of our ML models to see how it classifies them: https://huggingface.co/PDAP
[x] Submit them to our Data Sources database (data dictionary here)

most important properties: source_url agency_described record_type
agency_supplied will be "yes", so supplying_entity would be "MuckRock" and agency_originated would be "yes"
data_portal will be MuckRock
they can be uploaded as a CSV to airtable for now

Based on this, we can choose what to do next, how to scale, how many to attempt

Muckrock API docs: https://www.muckrock.com/api/

@bonjarlow just assigning you since you mentioned you were looking at it! I also adjusted the issue to make space for an allegheny county target rather than record type.

Here's a sample CSV @eddie-m-m created:
use-of-force.csv
I uploaded it to the database. ~220 agencies didn't fit our names; that means ~550 can be approved right away, and the rest need to be manually corrected. I've been chipping away at this, but I went ahead and approved the ones with agencies. I also added a generic description that they are completed MuckRock requests.


Add an example of multi-language safe code execution

This PR adds an example of how sandboxes can be used to execute code in multiple languages safely.
Type of Change

[x] New example
[ ] Example updates (Bug fixes, new features, etc.)
[ ] Other (changes to the codebase, but not to examples)

Checklist

[x] Example is testable in synthetic monitoring system, or lambda-test: false is added to example frontmatter (---)

[x] Example is tested by executing with modal run or an alternative cmd is provided in the example frontmatter (e.g. cmd: ["modal", "deploy"])
[x] Example is tested by running with no arguments or the args are provided in the example frontmatter (e.g. args: ["--prompt", "Formula for room temperature superconductor:"]

[x] Example is documented with comments throughout, in a Literate Programming style.
[x] Example does not require third-party dependencies to be installed locally
[x] Example pins its dependencies

[x] Example pins container images to a stable tag, not a dynamic tag like latest
[x] Example specifies a python_version for the base image, if it is used
[x] Example pins all dependencies to at least minor version, ~=x.y.z or ==x.y
[x] Example dependencies with version < 1 are pinned to patch version, ==0.y.z

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-f6e89de.modal.run

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Because this PR was not initially made against main, the run-example.yml checks didn't run.
I triggered them via manual dispatch here.

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-18933d1.modal.run


Resolve @DEF values recursively

Current it's not allowed to reference already defined variables as part of a new variable value. For example the following example is not supported presently:
@DEF(var_data_cutoff, DATE_SUB(CURRENT_DATE(), INTERVAL 93 DAY));

@DEF(var_cutoff_date,
    (
        SELECT IFNULL(MAX(original_report_date), @var_data_cutoff) AS max_report_date
        FROM `<some_table>`
        WHERE original_report_date >= @var_data_cutoff
    )
);

We should make sure that variables are resolved recursively based on variables available in scope at the time of assignment.

CC: @GeorgeSittas and @tobymao

Can take a look at this soon 👍


request: ssh agent forwarding

hey cweijan,
is there a possibilty to use ssh-agent forwarding within your extension, like the ssh parameter "-A" to enable forwarding of the authentication agent connection.

This extension only perform direct port forwarding.


Add support for Retry in Kinesis Stream producer

Kinesis producer can fail either due throughput limit exceeded or stream becoming INACTIVE due to variety of factors such as resharding.
This allows user to add two properties to enable retry for producer. Currently only FixedDelayRetryPolicy is used.
num_retries - Allows to specify the max number of attempts to make
retry_delay_millis - delay in milliseconds between retry attempts

Codecov Report

Merging #8609 (e282303) into master (232b946) will decrease coverage by 1.64%.
The diff coverage is 0.00%.

:exclamation: Current head e282303 differs from pull request most recent head da87aa0. Consider uploading reports for the commit da87aa0 to get more accurate results

@@             Coverage Diff              @@
##             master    #8609      +/-   ##
============================================
- Coverage     70.68%   69.04%   -1.65%
- Complexity     4321     4322       +1
============================================
  Files          1693     1693
  Lines         88795    88826      +31
  Branches      13472    13474       +2
============================================
- Hits          62767    61327    -1440
- Misses        21639    23189    +1550
+ Partials       4389     4310      -79

Flag
Coverage Δ

integration1
?

integration2
25.74% <0.00%> (-0.05%)
:arrow_down:

unittests1
66.95% <ø> (ø)

unittests2
14.18% <0.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

...gin/stream/kinesis/server/KinesisDataProducer.java
0.00% <0.00%> (ø)

...pinot/minion/exception/TaskCancelledException.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...nverttorawindex/ConvertToRawIndexTaskExecutor.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...e/pinot/common/minion/MergeRollupTaskMetadata.java
0.00% <0.00%> (-94.74%)
:arrow_down:

...plugin/segmentuploader/SegmentUploaderDefault.java
0.00% <0.00%> (-87.10%)
:arrow_down:

.../transform/function/MapValueTransformFunction.java
0.00% <0.00%> (-85.30%)
:arrow_down:

...ot/common/messages/RoutingTableRebuildMessage.java
0.00% <0.00%> (-81.82%)
:arrow_down:

...verttorawindex/ConvertToRawIndexTaskGenerator.java
5.45% <0.00%> (-80.00%)
:arrow_down:

...ache/pinot/common/lineage/SegmentLineageUtils.java
22.22% <0.00%> (-77.78%)
:arrow_down:

...ore/startree/executor/StarTreeGroupByExecutor.java
0.00% <0.00%> (-77.78%)
:arrow_down:

... and 127 more

Continue to review full report at Codecov.

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

Not an external user but e.g. we use this producer in our GithubEventsProducer as well as in test cases and we may want to tweak these value.


chore: update dependencies

coverage: 85.852%. remained the same
when pulling 08e53dd8fdc1fe7e7729348bf742b812826b253a on deps
into<PHONE_NUMBER>b21815340c79e00fdc749d3ff2ffe1 on main.


Buttons work OK on desktop, not on mobile

On the desktop buttons render well. Click the Play button to see Cayman style animation:
https://user-images.githubusercontent.com/92641463/138795813-8a104c47-2083-4834-b736-c0bc1f5992a3.mp4
On the mobile, not so good. I've seen some code in Cayman Theme to adapt to mobile but I don't know how to take advantage of it (small, medium and large screen). If I could just push the rest of Cayman DOWN somehow it might make this mobile image work:

I can shrink the desktop and mimic the mobile problems:

The _includes/head-custom.html is pretty straight forward:

{% include head-custom-google-analytics.html %}

  ⌂ Home
  ❓ About
  ✅ Answers
  💻 Programs
  <a<EMAIL_ADDRESS>style="display: inline" class="button">📧 Email

The assets/css/style.scss is embarrassing (I only have 1 weekend experience):
---
---

@import "{{ site.theme }}";

// Headers (From: https://github.com/pages-themes/cayman/blob/master/_sass/variables.scss)
$header-heading-color: #fff !default;
$header-bg-color: #159957 !default;
$header-bg-color-secondary: #155799 !default;

.button {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 10rem;
  color: #fff;
  border: 2px solid white;  // Added for Cayman
  font-size: .8rem;  // Try smaller font
  transition: all .3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  &:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: $header-bg-color;  // For Cayman
    background-image: linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
    border-radius: 10rem;
    z-index: -2;
  }
  &:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: darken($header-bg-color-secondary, 1%);  // For Cayman
    transition: all .3s;
    border-radius: 10rem;
    z-index: -1;
  }
  &:hover {
    color: #fff;
    &:before {
      width: 100%;
    }
  }
}
.container {
  position: absolute;
  padding-top: 20px;  // Cayman
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
span {
  display: block;
  margin-top: 2rem;
  font-size: .7rem;
  color: #777;
  a {
    font-size: .7rem;
    color: #999;
    text-decoration: underline;
  }
}

I'm hoping there is a quick fix here...

I noticed I was missing the _sass directory and the five .scss files in the cayman theme. So I copied them all over but didn't notice a difference. Should I simply delete theme? Also I notice the syntax highlighting for rouge isn't working at all.

I'm going to toss out the button design and start fresh.


Move stats into menu bar

If not filtering “NNN posts”. If filtering “MM of NNN posts”.

Moved the stats into a first item of the List.


will the plugin work with the old one google sign method after March 31 ?

Per Google, they "will fully retire the Google Sign-In JavaScript Platform Library" on March 31, 2023, so you will likely need to migrate to Vue3 Google Sign-in.

Thanks a lot for your answer!