Doesn't compile any more

Cargo cannot download all required dependencies.

Hey @stevenroose , if you still have this tool workable, it would be really cool, if you could test interoperability with https://github.com/bitcoindevkit/bdk/pull/356

If you could review my PR, that would be ever greater.


added confirmation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

0 of 40 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

command.go
0
6
0.0%

selfupdate.go
0
34
0.0%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
0

Relevant Lines:
304

💛  - Coveralls


Trends missing in Zabbix 2.0.15 Grafana 4.2.0 and Zabbix Plugin 3.4.0

I'm submitting a ...

[ ] Bug report
[ ] Feature requestdd
[X] Question / Support request

Software Versions

Grafana
Zabbix
Grafana-Zabbix Plugin

4.2.0
2.0.15
3.4.0

What did you do?
When we try to see informations above 7 days, is shown a message "Zabbix API Error. Connection Error".
What was the expected result?
The trends information should be shown on Grafana dashboards.
What happened instead?
The response of the Zabbix API is the same after and before the patch (ZBXNEXT-1193). It always says "Resource (trend) does not exist".
Request

{"jsonrpc":"2.0","method":"trend.get","params":{"output":"extend","trend":"3","itemids":["30604"],"sortfield":"clock","sortorder":"ASC","time_from":1519749617,"time_till":1520354417},"id":1,"auth":"a96527ee220d741feca0feacd2e96548"}

Response

{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Resource (trend) does not exist"},"id":1}

Plugin Configuration

@andgustmp did you install trend patch for zabbix? See http://docs.grafana-zabbix.org/installation/configuration/#configure-zabbix-data-source and https://support.zabbix.com/browse/ZBXNEXT-1193


USHIFT-3773: Skip 2 node sig-architecture conformance test

Which issue(s) this PR addresses:

Closes #

/lgtm


Implement String.prototype.replaceAll

The proposal reached stage 3 at today’s TC39 meeting.
Repository: https://github.com/tc39/proposal-string-replaceall

Thanks @mathiasbynens, and congrats!

I could take this one if wanted?
A preliminary look however shows that to fully satisfy spec for this the implementation of ES6 Regex Symbols needs fixing and enabling though that could be done after the main implementation of this was done.

@rhuanjl Of course you can! I've been meaning to do an analysis to determine what work needs to be done to get our RegExp symbols implementation working correctly, but I haven't had the time yet. Do you have some ideas about what work items are left on that?

I've not looked at the Regex symbols issue in detail, but I've noted:

they're implemented without spec text so comparing the implementation to spec and checking issues is awkward - additionally they have some built in optimisations (if certain conditions are met use a faster implementation) which make comparing to spec harder.
there are 2 TODOs I've noticed:
a. To ask for a spec change in @@Split - the current implementation intentional deviates from spec in the order it handles parameters apparently for ease of implementation - looking at it there is no functional reason for the change it was just a way of including a potential optimisation without duplicating some code.
b. To "check all String and Regex built-ins which are inlined in JIT and make sure the helper sets implicit call flag before calling into script also, the corresponding helpers in JnHelperMethodList.h should be marked as being reentrant"
A comment in #5187 mentions an implementation error in @@split - possibly related to 2.a above
ES6 RegEx prototype properties also need enabling - unsure what the issue is there, but will likely interact with this for one or more test262 tests.

I figure I should run test 262 with the RegEx symbol flag and see what fails and work on it that way - though also need to look into 2.b above which test262 probably wouldn't hit.

Minor update: With the relevant flags passed there are 1036 regex related test failures including both the absense of matchAll and the missing earlier features. I'll endeavour to work through fixing as many of these as I can over the next week or two then aim to submit a PR with those fixes followed by a PR to implement @@matchAll and String#replaceALL and String#matchAll.

Doing this sensibly is blocked on #6390


data

Hi Nikhil,
May I get the data by the email<EMAIL_ADDRESS>

@yunzqq sent!

Hello,
May i also get the data by email to<EMAIL_ADDRESS>Thanks in advance

@AlexandrosEmvoliadis done!

@A9Coed66 sent!

Hello,
May I request access to the dataset?
This is the email<EMAIL_ADDRESS>I really appreciate your work and thank you in advance for your assistance!

@Sinabroslowly sent, thank you!


Wrong texture drawn in windowing mode (ctrl+tab or gamepad X)

When moving a window with the gamepad (hold X button), at least one texture is wrong. Most obvious in the second demo scene, where the Godot icon changes to the font texture.
Not sure if this is my bug or ImGui's.

Can't reproduce elsewhere, ImGui debug info looks fine, must be my bug.


Add tests for reference leaks in function calls to CFunction objects

CC @tetsuo-cpp this is how I'm going to test the other path.
Any module in the Modules/ path, which I can find an appropriate argument signature for the number of arguments required.
Testing both a happy path and a path which raises an exception is critical.

@tonybaloney Cool. It actually shows a reference leak in CI for the 15 args example. Hopefully, my PR that decrements the ref counts for the vector call fixes that.

@tonybaloney Cool. It actually shows a reference leak in CI for the 15 args example. Hopefully, my PR that decrements the ref counts for the vector call fixes that.

Its failing on linux and passing on Windows :-#

Also, that test case which is failing will call PyJit_CallN()

I'm pretty confident this bug is in the way that PyJit_CallN works. I'm going to reuse your code from MethCallN and rewrite it


Deduplicate tab labels across both tab rows

I think we should deduplicate the tab labels over the entire group and not per tab row so that tab labels are unique:
That would require this method to work over the group and not the model:
https://github.com/microsoft/vscode/blob/e3b46eeda55dfa16a61f121aabc3916ec7d98b62/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts#L1144

Lets leave it as it is now.


fix bug: Got error: Node "node02" is invalid: spec.providerID: Forbidden: node updates may not change providerID except from "" to valid

Fixes #290
This issue is not easy to reproduce, and I only met once. It is triggered when the following scenario happened:
In the reconcile function of the byomachine:
1) The first time to set “Updating Node with ProviderID” return failed with timeout, but actually the node object “node02" already update with spec.ProviderID “byoh://node02/hg7i3d”.
2) Then every time after “Updating Node with ProviderID” return failed with Node “node02” is invalid: spec.providerID: Forbidden: node updates may not change providerID except from “” to valid”
This is because it is not allowed to update the spec.providerID of node object. This error prevent the continuation of reconcile. And If this happened, it need to remove the node from the cluster manually and restart kubelet on it.
I open this issue to track it, and I was thinking of a solution which may fix the issue without manual operation:
Inside the setNodeProviderID function, if field is not empty and equal to providerID, then skip patch.
If not empty and not equal to providerID, then throw a custom error message cannot set providerID on the node.

Also good to add tests in the same PR.

I am afraid it is not easy to do this. Because this bug is very hard to reproduce. And it doesn't have specified scenario to trigger it neither.

I am afraid it is not easy to do this. Because this bug is very hard to reproduce. And it doesn't have specified scenario to trigger it neither.

Agreed. But we know the scenario under which this error will occur. We can write our setup code accordingly. Can you use this node object and set a providerID that will match the regex condition? Then we can unit test the new code.
https://github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/blob/2b30d6fd0d11052422d6d78e0d57c9a83db95969/controllers/infrastructure/byomachine_controller_test.go#L183

I am afraid it is not easy to do this. Because this bug is very hard to reproduce. And it doesn't have specified scenario to trigger it neither.

Agreed. But we know the scenario under which this error will occur. We can write our setup code accordingly. Can you use this node object and set a providerID that will match the regex condition? Then we can unit test the new code.
https://github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/blob/2b30d6fd0d11052422d6d78e0d57c9a83db95969/controllers/infrastructure/byomachine_controller_test.go#L183

issue-335 is created to track this requirement. let's focus code fix on this RP. What do you think? @anusha94

issue-335 is created to track this requirement. let's focus code fix on this RP. What do you think?

Sure @huchen2021
But having the test in the same PR makes the code changes more easily understandable. Maybe we can do that in future, should be fine for this PR.

issue-335 is created to track this requirement. let's focus code fix on this RP. What do you think?

Sure @huchen2021 But having the test in the same PR makes the code changes more easily understandable. Maybe we can do that in future, should be fine for this PR.

Thanks for understanding.


issues with the js module

import { doc } from<EMAIL_ADDRESS>import { pathToFileURL } from "node:url"; // this line trigger the error

console.log(await doc(import.meta.url));

error
error: Uncaught (in promise) Error: Failed resolving 'node:url' from 'file:///home/mrcool/dev/deno/lab/a.ts'.
      const ret = new Error(getStringFromWasm0(arg0, arg1));
                  ^
    at __wbg_new_a64e3f2afc2cf2f8 (https://deno.land/x/deno_doc@0.117.0/deno_doc_wasm.generated.js:404:19)
    at <anonymous> (file:///home/mrcool/.local/share/deno-wasmbuild/e7a23ed6bef70972bd288456786eaea32d8aa736d7ad6e9e71df1e02640116c1.wasm:1:89851)
    at <anonymous> (file:///home/mrcool/.local/share/deno-wasmbuild/e7a23ed6bef70972bd288456786eaea32d8aa736d7ad6e9e71df1e02640116c1.wasm:1:2384079)
    at <anonymous> (file:///home/mrcool/.local/share/deno-wasmbuild/e7a23ed6bef70972bd288456786eaea32d8aa736d7ad6e9e71df1e02640116c1.wasm:1:2826498)
    at __wbg_adapter_48 (https://deno.land/x/deno_doc@0.117.0/deno_doc_wasm.generated.js:240:8)
    at real (https://deno.land/x/deno_doc@0.117.0/deno_doc_wasm.generated.js:225:14)
    at ext:core/01_core.js:303:9
    at eventLoopTick (ext:core/01_core.js:169:7)

note that deno doc works correctly
Another note doc takes specifier argument as string but I think it should be URL since that's what it accepts at runtime

Also its slow, any way to improve the performance in the future ? it takes atleast one second to run
import { doc } from<EMAIL_ADDRESS>
console.log(performance.now().toFixed(2), "ms");
await doc(import.meta.url);
console.log(performance.now().toFixed(2), "ms");

66.81 ms
1141.09 ms


Update import path for piotrnar/gocoin.

go get step fails, since gocoin has changed paths for release 1.0.0.
In addition to this, btc.PublicFromPrivate() no longer returns an error, so calls in decrypt.go fail. I suggest checks be changed to something like this, or the issue be brought up upstream.

Hey man sorry it took me so long to get to this PR.  I totally didn't see it.
By now piotrnar/gocoin changed so much.  I had to fork the old version this app was developed against, and use that.
I'm closing this PR -- sorry I didn't see this for 2 years!!

No problem!
By now, I don't even remember what I was using this for. :)

Ha, hilarious. :)
On Sun, Dec 24, 2017 at 1:39 PM, Noel Maersk<EMAIL_ADDRESS>wrote:

No problem!
By now, I don't even remember what I was using this for. :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/cculianu/brute38/pull/2#issuecomment-353779574, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAQRg8e3VsLBYiPu0NZuGK1ODcmqTWxvks5tDjf1gaJpZM4DlhxI
.


Use determined Color Palette

Hello!
I think I posted this in another place but I guess this is the correct one,
I have been using Piskel a lot lately because I am using it to creat patterns to make with Artkal beads and I think that a nice feature would be that once you selected a desired palette, when you upload an image, it would be great that Piskel change and use the colors from your palette that gets closer of almost the same from the original picture.
I don't know if you get my idea but since I (and hopefully more people) have a palette for artkal beads, I owuld like it to show only those colors, it would be a time saver! :)

If I understand correctly, you would like to reduce the number of colors from the current image to match a certain palette.
Basically, for each pixel of the image, we would check which color from the palette is the "nearest", and would recolor the pixel based on that.
We could do a simple transform button, that takes the current layer of the current frame (or all frames and layers if holding ctrl/shift) and does this with the currently selected palette.
It reminds me of another transform I wanted to have in the application, just to reduce the number of colors in an image, but without giving it a target palette.
And it also sounds connected to #497 which was about mapping colors (to quickly recolor a sprite for instance).

Basically, for each pixel of the image, we would check which color from the palette is the "nearest", and would recolor the pixel based on that.

Yes this is what I meant and I think this would be great for a lot of "beaders" like myself, it would save a lot of time :D
Ps: you are great :D

Sounds cool, makes porting NES games to GameBoy a lot easier.

@JMiller-2020 pinging you here since you opened #812 :)
I started a branch a few weeks ago. I should update it again with the latest commits I made. UI-wise I went straight for a new dialog, because I wanted to have several color transforms, some of which that really need their own UI (map color by color instance). For now this dialog is accessible via a new icon in the transform section but that's not great since it differs from all the other transforms. Maybe something in the palette section would be more appropriate.
The branch also contains a bit of code to recolor the sprite using the current palette, which I think is what you wanted to do in #812 . I'm more than happy to let you pick that up, focusing on this single transform, I don't think I'm anywhere close to finishing the full dialog :)
Regarding "where to put this in the UI", I think a new transform icon is fine for this single action, but if you think it's a bad spot, happy to discuss!

Great! I'm gonna see if I can get Floyd-Steinberg working, though I am pretty new to the workflow. I'll let you know!

Oh, and regarding the UI location, I didn't think it was a bad spot, I just didn't want to do it wrong.

How do you get this to work? Is it still in the transform section? I only see five options: flip, rotate, clone, center, and crop.

This is not in the public build yet. Until it's merged, you have to download the branch and run it on a local server to access these features.

5 Years later, will this be moved to the public branch at al?


Start implementing Graph class

When I started to implement the Graph class I encounter the following problems:

We might need a data structure to keep the records of empty entries. Otherwise, the size of adjacency matrix keeps increasing while there are empty spaces to be filled.
We need to design a mechanism to increase the size of adjacency matrix. It should not increase the matrix size every time adding a Vertex. Could imitate array's method?
Do we need define a way to find index by Vertex? For example, if user wants to get edge information between two Vertex, should input of the method be Vertex or index o Vertex?
Please leave suggestions.

can you explain more about the meaning of empty entry.is it for non-directly connected nodes?
the time of push_back is equal to allocate a value in vector.  So if just concerned about the efficiency. I think it is ok by using the default capacity and size increasing mechanism
I think we need. because it seems like a useful help function for any search in the matrix. Btw, does the edge information mean like how many edges or the possible destination ?


Why content = enc_topk_memory.detach() that memory need to be detach() ？

Thank you Open Source for such a great job. Why does the memory need to be detached? In this case, the gradient of the transformer decoder cannot be propagated to the backbone.

You can find the information in this paper, section 3.5


How to track in progess request processed less then 1s?

I have two problem with prometheus  guage， first: I think the Guage track_inprogress just can track request taken more then 1s to run，the fast request Guage.inc will always be reduced by Guage.dec quickly，no chance stay in memory for prometheus scrape.
Second: how to count the current db querys? If after one http request，count is 10，and no new request come in，then db query will be 10 forever，if no new request，db query shoud be 0，as no new request，python can not run guage.set/dec，so can prometheus or this library don't use prev old value and default to 0 if no new update to this metric? I think these two problem didnot exists in statsd/graphite，don't know why prometheus so different?

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

Thanks, but i am be forbidden to login and use google. Not familiar with prometheus, so i just don't know whether these two problems is only my problems, or other users have the same. Or maybe prometheus is just not suitable for these usage, i have searched on Bing half day, but no clear results.


Support passing feature flags to cargo invocation

Adds support for passing feature flags to cargo.
Motivation
Smart contract developers will sometimes use feature flags to enable/disable certain portions of code during compilation (e.g. enable certain debugging features for the testnet version which are not available in the production version).
Usage
cargo near build --features feat1,feat2

cargo near build --no-default-features

Implementation Notes
It does no validation of the input received to the flag, transparently forwarding it as an opaque string directly to cargo, after appending near-sdk/__abi-embed if necessary.

@encody Hey, @dj8yfo flagged that this PR forgot to pass the feature flags to the ABI generation code:
https://github.com/near/cargo-near/blob/358ce04ba0383e2a837c1c6fc99ec512379b061e/cargo-near/src/commands/abi_command/abi.rs#L87-L89
Could you contribute the fix, so this feature is complete?


in-cluster: Name does not resolve

Current and expected behavior
When running in-cluster, it looks like my client can't resolve the name of the api. Locally, everything runs fine but here are the logs when I'm running in-cluster:
[2022-11-03T17:27:50Z TRACE kube_client::config] no local config found, falling back to local in-cluster config error=failed to read kubeconfig from '"/home/raftcat/.kube/config"': No such file or directory (os error 2)
...
[2022-11-03T17:27:50Z DEBUG kube_client::client::builder] HTTP; http.method=GET http.url=https://kubernetes.default.svc/apis/babylontech.co.uk/v1/namespaces/dev/shipcatmanifests? otel.name="list" otel.kind="client"
[2022-11-03T17:27:50Z DEBUG kube_client::client::builder] requesting
[2022-11-03T17:27:50Z DEBUG kube_client::client::builder] HTTP; http.method=GET http.url=https://kubernetes.default.svc/apis/babylontech.co.uk/v1/namespaces/dev/shipcatconfigs? otel.name="list" otel.kind="client"
[2022-11-03T17:27:50Z DEBUG kube_client::client::builder] requesting
[2022-11-03T17:27:50Z DEBUG kube_client::client::builder] HTTP; otel.status_code="ERROR"
[2022-11-03T17:27:50Z ERROR kube_client::client::builder] failed with error error trying to connect: dns error: failed to lookup address information: Name does not resolve
[2022-11-03T17:27:50Z ERROR raftcat::state] Kubernetes stream failure: failed to perform initial object list: HyperError: error trying to connect: dns error: failed to lookup address information: Name does not resolve
thread 'main' panicked at 'Kubernetes stream exited', /volume/raftcat/src/state.rs:97:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2022-11-03T17:27:50Z DEBUG kube_client::client::builder] HTTP; otel.status_code="ERROR"
[2022-11-03T17:27:50Z ERROR kube_client::client::builder] failed with error error trying to connect: dns error: failed to lookup address information: Name does not resolve
[2022-11-03T17:27:50Z ERROR raftcat::state] Kubernetes stream failure: failed to perform initial object list: HyperError: error trying to connect: dns error: failed to lookup address information: Name does not resolve
thread 'main' panicked at 'Kubernetes stream exited', /volume/raftcat/src/state.rs:116:25

I did see these issues:

https://github.com/kube-rs/kube/issues/953
https://github.com/kube-rs/kube/pull/597
https://github.com/kube-rs/kube/issues/587

But none of the workarounds or solutions mentioned there could help solve my problem.
What I have tried:
I tried patching the deployment of my service with this:
+      hostNetwork: true
+      dnsPolicy: ClusterFirstWithHostNet

Like it's mentioned there: https://github.com/kube-rs/kube/issues/953#issuecomment-1182270387
I also tried setting the env var KUBERNETES_SERVICE_HOST = kubernetes.default.svc like it's mentioned here: https://github.com/kube-rs/kube/issues/587#issuecomment-877314745, even though it was a bit useless since this workaround was merged.
I also tried to build and run without rustls-tls, but then I got different error messages:
[2022-11-03T17:42:22Z TRACE kube_client::config] no local config found, falling back to local in-cluster config error=failed to read kubeconfig from '"/home/raftcat/.kube/config"': No such file or directory (os error 2)
...
[2022-11-03T17:42:22Z DEBUG kube_client::client::builder] HTTP; http.method=GET http.url=https://<IP_ADDRESS>/apis/babylontech.co.uk/v1/namespaces/dev/shipcatmanifests? otel.name="list" otel.kind="client"
[2022-11-03T17:42:22Z DEBUG kube_client::client::builder] requesting
[2022-11-03T17:42:22Z DEBUG kube_client::client::builder] HTTP; http.method=GET http.url=https://<IP_ADDRESS>/apis/babylontech.co.uk/v1/namespaces/dev/shipcatconfigs? otel.name="list" otel.kind="client"
[2022-11-03T17:42:22Z DEBUG kube_client::client::builder] requesting
[2022-11-03T17:42:22Z DEBUG kube_client::client::builder] HTTP; otel.status_code="ERROR"
[2022-11-03T17:42:22Z ERROR kube_client::client::builder] failed with error error trying to connect: tcp connect error: Connection refused (os error 111)
[2022-11-03T17:42:22Z ERROR raftcat::state] Kubernetes stream failure: failed to perform initial object list: HyperError: error trying to connect: tcp connect error: Connection refused (os error 111)
thread 'main' panicked at 'Kubernetes stream exited', /volume/raftcat/src/state.rs:97:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2022-11-03T17:42:22Z DEBUG kube_client::client::builder] HTTP; otel.status_code="ERROR"
[2022-11-03T17:42:22Z ERROR kube_client::client::builder] failed with error error trying to connect: tcp connect error: Connection refused (os error 111)
[2022-11-03T17:42:22Z ERROR raftcat::state] Kubernetes stream failure: failed to perform initial object list: HyperError: error trying to connect: tcp connect error: Connection refused (os error 111)
thread 'main' panicked at 'Kubernetes stream exited', /volume/raftcat/src/state.rs:116:25

Would you have any idea about what's going on?
Possible solution
No response
Additional context
No response
Environment
Client Version: v1.21.14
Server Version: v1.21.14-eks-6d3986b
Configuration and features
kube = { version = "0.76.0", features=["rustls-tls", "runtime", "client"], default-features = false}
k8s-openapi = { version = "0.16.0", features = ["v1_25"] }
reqwest = { version = "0.11.12" , default-features = false, features=["rustls-tls", "json"]}

Affected crates
No response
Would you like to work on fixing this bug?
No response

This is a combination of https://github.com/kube-rs/kube/issues/153 + the fact that the dns workaround we had in place is no longer default (because it's not a recommended Kubernetes way to do things). See https://github.com/kube-rs/kube/issues/1003
Using the Config::incluster_dns ctor should help, but you might be in a better spot using openssl for the moment.

I tried with:
    let cfg = if let Ok(c) =
        kube::config::Config::from_kubeconfig(&kube::config::KubeConfigOptions::default()).await
    {
        c
    } else {
        kube::config::Config::incluster_dns().expect("Failed to load kube config")
    };

But it didn't work (same error).
However running with the openssl stack seems to work:
kube = { version = "0.76.0", features=["openssl-tls", "runtime", "client"], default-features = false}
k8s-openapi = { version = "0.16.0", features = ["v1_25"] }

BUT, weirdly, when I check the logs I get this first:
[2022-11-04T12:00:17Z DEBUG kube_client::client::builder] HTTP; http.method=GET http.url=https://<IP_ADDRESS>/apis/babylontech.co.uk/v1/namespaces/dev/shipcatmanifests? otel.name="list" otel.kind="client"
[2022-11-04T12:00:17Z DEBUG kube_client::client::builder] requesting
[2022-11-04T12:00:17Z DEBUG kube_client::client::builder] HTTP; http.method=GET http.url=https://<IP_ADDRESS>/apis/babylontech.co.uk/v1/namespaces/dev/shipcatconfigs? otel.name="list" otel.kind="client"
[2022-11-04T12:00:17Z DEBUG kube_client::client::builder] requesting
[2022-11-04T12:00:17Z DEBUG kube_client::client::builder] HTTP; otel.status_code="ERROR"
[2022-11-04T12:00:17Z ERROR kube_client::client::builder] failed with error error trying to connect: tcp connect error: Connection refused (os error 111)

There seems to be a panic, but shortly after it resumes and I get proper access. Weird.
Anyway, it looks like it works now!

You on istio? Rust apps tend to boot faster than istio so the first connection attempt tends to fail until the sidecar has established the connection routing.

You on istio

Yes. That must be it then!
Thanks again for your help.


NullPointerException at line 179 in Http2MultiplexHandler.java

Hello; thanks for a great project.
In accordance with the upgrade advice found on the wiki, I introduced the usage of Http2MultiplexHandler in my codebase.
I now get this in my logs:
WARNING: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.lang.NullPointerException
	at io.netty.handler.codec.http2.Http2MultiplexHandler.channelRead(Http2MultiplexHandler.java:179)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
	at io.netty.handler.codec.http2.Http2FrameCodec.onHttp2Frame(Http2FrameCodec.java:632)
[snip]

I'm happy to try to provide more details.

My code looks like this:
final HttpServerCodec httpServerCodec = new HttpServerCodec();
final MyHandler myHandler = new MyHandler();
final HttpServerUpgradeHandler httpServerUpgradeHandler =
  new HttpServerUpgradeHandler(httpServerCodec,
                               protocolName -> {
                                 final UpgradeCodec returnValue;
                                 if (AsciiString.contentEquals(Http2CodecUtil.HTTP_UPGRADE_PROTOCOL_NAME, protocolName)) {
                                   final Http2FrameCodec http2FrameCodec = Http2FrameCodecBuilder.forServer().build();
                                   returnValue = new Http2ServerUpgradeCodec(http2FrameCodec, new Http2MultiplexHandler(myHandler));
                                 } else {
                                   returnValue = null;
                                 }
                                 return returnValue;
                               },
                               maxIncomingContentLength);

final CleartextHttp2ServerUpgradeHandler cleartextHttp2ServerUpgradeHandler =
  new CleartextHttp2ServerUpgradeHandler(httpServerCodec,
                                         httpServerUpgradeHandler,
                                         myHandler);
channelPipeline.addLast(cleartextHttp2ServerUpgradeHandler);

This code worked fine using the deprecated Http2MultiplexCodecBuilder class, i.e. the "old" code style referenced in the wiki.

@ljnelson this looks like a bug... let me investigate and fix it.

@ljnelson thanks for reporting... fixed by https://github.com/netty/netty/pull/9318


expire bucket contents after 1 day

Yeah I've created the bucket using this and it correctly applies the expiry rule

Bucket contents were deleted after a day as expected. I have also cleaned up the expire metadata code


Separate Step and Sidecar types

Changes
This PR separates the Step and Sidecar types from each other (i.e. they are not simply aliases anymore).
This change is needed for https://github.com/tektoncd/pipeline/issues/1690 and https://github.com/tektoncd/pipeline/pull/3013.
Currently only one function relies on these two types to be aliases.
This is partially based on https://github.com/tektoncd/pipeline/pull/3013/files.
Additionally, .swp is added to the .gitignore file.

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[X] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[X] Commit messages follow commit message best practices
[X] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

fyi we usually don't add code editor exclude files in gitignore but usually to your  global ignore/exclude file, see this article for more info :
https://julien.danjou.info/properly-managing-your-gitignore/
/ok-to-test

/retest

fyi we usually don't add code editor exclude files in gitignore

I think I understand the reason why but in this case we already have emacs, vscode and jetbrains ignore rules in place.  Should we remove those?

/test pull-tekton-pipeline-integration-tests
(Retrying because there was a general problem fetching docker images)

Could you squash the commits into one?
Ah, you'll also need to include the following at the bottom of your PR description:
```release-note
NONE
```

/kind cleanup

/lgtm

/test pull-tekton-pipeline-integration-tests


Applied BoundingCircle test to only one country.

Looks like testing the second Country is much more computing-intensive and brings nothing to the test.

On my current system, this change is reducing the duration of the test from 17s to 0.3s

@claudep Thanks :+1:


2.2.0 - better typing and docs

This PR fixes numerous issues with mypy integration.
There might be some slight changes to public interfaces based on introducing Generic.

#53

NOTE that we have to lift the type checker in numerous places that rely on sklearn and scipy since they are poorly typed. We also no longer need nptyping package since we can express shaped NDArrays with numpy.typing which was pretty new when we had started the project a few years ago.

@tinnaing347 review my boi... add any additional tests to fill in coverage and I will squash merge


Gunicorn worker

Is there any way to mix sanic with gunicorn? Gunicorn has signals to increase/decrease workers and a bunch of other features that are useful in running a service in production.

I believe it would be possible to create a worker similar to how aiohttp does.  I'm currently planning to deploy via docker, so putting it behind gunicorn isn't something I'm looking to do soon.  I tagged this issue in case people want to pick it up.

Seconded. I'd be very interested to see the core of this built into a gunicorn worker, that'd allow a whole ecosystem of frameworks to make use of it, rather than tying the server implementation to a single app framework implementation.
Currently the latency for a basic 'return json response' aiohttp/gunicorn deployment is way too high, this looks far more promising.

I'm hesitant to put a lot of work into making a Gunicorn worker, because I'm worried the overhead of layering Gunicorn on top of sanic will significantly decreases performance and wouldn't end up being our recommended way of deploying (based on the project's goals).  But, I also don't want to spend forever implementing Gunicorn's feature set.
What are the features of Gunicorn you find useful?  Also, what do you mean by allowing an ecosystem of frameworks?  I'd like to know what possibilities this could open up :).  Thanks!

What are the features of Gunicorn you find useful?

Graceful redeployments.
Process monitoring/timeouts/restarts.

what do you mean by allowing an ecosystem of frameworks?

If there's a minimal server that simply exposes a request/response API, then many different frameworks can be built on top of that.
If the uvloop server that sanic comes with really is faster than other python http server alternatives then it'd be great to see that implemented in the form of an agnostic python web server that any framework author can then build on top of.

ok so there is two different things here, uvloop+httptools worker for gunicorn (maybe with some parts of aiohttp that implements wsgi) that would make all frameworks be able to use most of the stuff that sanic uses to get fast.
the second would be to actually have sanic running on top of gunicorn. @channelcat for the second I don't see how it would be a performance penalty as gunicorn doesn't really do anything related to receiving connections by itself, it is just a manager for a bunch of workers and it keeps the socket open during a reload which seems exactly what you want.
I think maybe sanic future is running outside of gunicorn and I wouldn't put that as a high priority, and also idea 1 could be done in gunicorn without sanic at all.

@channelcat it isn't really complicated to create a Gunicorn worker, you can take inspiration from: https://github.com/Eyepea/API-Hour/blob/master/api_hour/worker.py
Moreover, before you implement multiprocessing pattern in sanic directly, I've planned to use API-Hour, that is a generic AsyncIO worker for Gunicorn.

using gunicorn worker requires sanic to implement wsgi Application pattern (pep 3333) but it ignores all asyncio/uvloop patterns and will give all the process to gunicorn worker and its not a cool idea.
my question here is why dont you create a wsgi server and create wsgi application pattern for sanic ?
i'm really interested to help you.
( i was going to create something similar until i saw this repository right now)

@RevengeComing: No, you don't need to implement WSGI ;-)
Check aiohttp.web worker or API-Hour worker source code.

@GMLudo checked it right now.
yeah, for integrate both sanic and gunicorn i guess your idea is better :D.
btw having sanic wsgi compatible is a cool idea, isnt it ?

The Gunicorn worker is implemented and merged into master, please give it a try.

@messense so,how to use that ?
gunicorn -w 4 -b <IP_ADDRESS>:8000 -k gaiohttp flaskh:app
and it raise exceptions
from aiohttp.wsgi import WSGIServerHttpProtocol as OldWSGIServerHttpProtocol
ModuleNotFoundError: No module named 'aiohttp.wsgi'

@1067511899 https://github.com/channelcat/sanic/blob/master/docs/sanic/deploying.md#running-via-gunicorn

@messense
thank you for reply.but I get a new error:
Error: class uri 'sanic.worker.GunicornWorker' invalid or not found:
[Traceback (most recent call last):
File "/home/limengwei/anaconda3/lib/python3.6/site-packages/gunicorn/util.py", line 142, in load_class
mod = import_module('.'.join(components))
File "/home/limengwei/anaconda3/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 948, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sanic.worker'
]
would you mind give me some suggest?thanks.

@1067511899 It's not released on PyPi yet. You need the code on master branch.
Or you can try sanic-gunicorn

@messense
Thank you.
I installed sanic-gunicorn,and
gunicorn --bind localhost:8000 -w 4 --worker-class sanic_gunicorn.Worker sanict:app
it works fine.
but I have another question,can I run flask or django apps,by gunicorn ,and use some asyncio workers?

Nope. It's not possible with this implementation.

@messense
Thank you very much,I have no more questions.

Gunicorn worker is in, closing this.

Sorry to necro an old issue, but is Gunicorn the recommended deployment method now? Or is running it with app.run(host='<IP_ADDRESS>', port=1337, workers=4) still the preferred method?

Using the Gunicorn worker can give you much better control when upgrading your application. Using app.run(host='<IP_ADDRESS>', port=1337, workers=4) it's hard to make sure you don't lose all incoming requests while upgrading, Gunicorn can do it better with graceful reloading and if you want it can do Zero Downtime deployment with lazy-apps and master re-fork.
http://docs.gunicorn.org/en/latest/signals.html

@messense Thanks for the explanation, so I take it that gunicorn is the proper way to deploy Sanic, but I'm still curious about whether it performs any better or worse than using app.run()?

@davidtgq Gunicorn worker usually performs a little worse than app.run().
With 4 workers 100 concurrent requests using the simple_server example, I got
gunicorn worker:
wrk -c 100 -t 2 -d 30s http://localhost:8888/
Running 30s test @ http://localhost:8888/
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.90ms    1.04ms  33.13ms   77.02%
    Req/Sec    26.65k     3.39k   33.77k    71.00%
  1590888 requests in 30.00s, 186.61MB read
Requests/sec:  53021.33
Transfer/sec:      6.22MB

app.run
wrk -c 100 -t 2 -d 30s http://localhost:8888/
Running 30s test @ http://localhost:8888/
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.72ms  832.71us  13.34ms   68.42%
    Req/Sec    29.10k     2.92k   36.43k    66.00%
  1737119 requests in 30.01s, 203.77MB read
Requests/sec:  57884.67
Transfer/sec:      6.79MB

on My MacBook Pro (Retina, 15-inch, Mid 2015) with access log disabled.


Wrong repository URL in description

https://github.com/saeidjoker/libc.serial/blob/master/libc.serial/libc.serial.csproj#L9

You are were welcome to fix this if you want. But I'll fix it in some minutes :-)

This will be closed, because it is fixed in version 7.0.0. Thank you @slyshykO 👍


AppLovin Max Package For Flutter show user consent dialog even after flag set

MAX Plugin Version
4.0.0
Flutter Version
3.22.2
Device/Platform Info
Samsung A53
Current Behavior
Hey There,
I am trying to implement Applovin for my flutter project and I do not want to show personalized ads for any of my users. Ultimately i do not want to show user consent dialog as I do not want to show personlized ads. I only want to show non-personalized ads in my app. I have added following code,
AppLovinMAX.setTermsAndPrivacyPolicyFlowEnabled(true);
    AppLovinMAX.setPrivacyPolicyUrl(AppLovinAdManager.privacyPolicyUrl);
    AppLovinMAX.setHasUserConsent(false);
    MaxConfiguration? configuration =
        await AppLovinMAX.initialize(AppLovinAdManager.sdkKey);
    if (configuration != null) {
      AppLovinAdManager.isInitialized = true;
    }

I have already set the user consent dialog value to false. So it should set personalized ad settings for users to false. But still it asks for the user consent dialog for the new app install. Can you please check and help me on this?
Expected Behavior
I want to show only non-personalized ads for my app users. So after setting te flag to false. It should not ask for user consent dialog.
How to Reproduce
Create new flutter project and inside main app, add the code snippet above I've provided with package version details and then try to run the app.
AppLovinMAX.setTermsAndPrivacyPolicyFlowEnabled(true);
    AppLovinMAX.setPrivacyPolicyUrl(AppLovinAdManager.privacyPolicyUrl);
    AppLovinMAX.setHasUserConsent(false);
    MaxConfiguration? configuration =
        await AppLovinMAX.initialize(AppLovinAdManager.sdkKey);
    if (configuration != null) {
      AppLovinAdManager.isInitialized = true;
    }

You can see the issue there.
Reproducible in the demo app?
Yes
Additional Info
No response

Can you remove the following LoC?


svm: allow conflicting transactions in entries

(this is very much still in development, i just need to see what ci might catch)
Problem
Summary of Changes
Fixes #

after thinking very hard about this, i believe i dont need a feature gate, because the existing svm code im changing here has had no safety checks removed because they never happened here to begin with. we will need a feature gate when we relax the lock logic (but this is a much smaller change surface change so thats good)
if a validator with this pr is on version v and on a cluster with older validators on version w, then v validators would still mark all the same entry-conflicted blocks invalid in replay because the checks happen during lock acquisition. by similar logic, caching and updating account state is harmless in v because by definition no later transaction uses an account that could have been written to by a previous transaction in the batch
this is a moderately confident conjecture, not a statement of fact, putting it here to solicit ayes or nays once this is ready for review

code has changed too much in the mean time to realistically merge, going to start over editing master again using this as a reference


Can a task increment the version number in cargo.toml?

I made a new task in cargo-make for build --release.
I would like to increment the version number in cargo.toml in that task.
How can I do that?
.

i guess you could either

call some cargo plugin which does that (maybe cargo-release not sure) via cargo-make flow.
write a script/rust code and put it in the makefile to do it.

right now, there is no core task for it.


[stable/jenkins] update plugin versions

What this PR does / why we need it:
It just updates used default plugins and sidecar container.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
I added missing changelog entry from #22593
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @wmcdona89

/lgtm


chore: add "config" to prlint.json

Description
There is a PR that contains only config changes.
Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[] Conforms to style guide

@datamweb Added revert.


onSelect for Search input

UPDATE
I also tried using 'standard' and 'category' templates, while with the latter the html doesn't even build up, being that there is no "title" attribute in the result of the API, with "standard" template I see empty html rows, but still, when clicking the result in console is undefined for the result.
////
Dear community & developers,
I am trying to implement a search for addresses using google maps api, styling the responses from the API to something more user friendly. The problem I have is that I cannot seem to get the selected value on the onSelect event of the search input.
I copy the code below, in sections:
HTML

					<input class="prompt" type="text" placeholder="Am schaeferanger, 15">

JS-API
$.fn.api.settings.api = {
  'get location': 'https://maps.googleapis.com/maps/api/geocode/json?address={query}',
};

JS-search
$('.ui.search.fluid').search({
        apiSettings: {
            action: 'get location',
            successTest: function (response) {
                return response && response.status == "OK";
            }
        },
        type: 'list',
        templates: {
            list: function (response) {
                var html = '';
                if (response.results !== 'undefined') {
                    $.each(response.results, function (index, result) {
                        html += '' + '
' + '' + result.formatted_address + '' + '
';
                    });
                    return html;
                }
                return false;
            }
        },
       onSelect: function (result,response) {
            console.log(result);
            console.log(response);
            return true;
        }
    });

Example
Searching for "marien":

Console logs undefined for result and the entire result set for response:

I assume the problem lies in the template I built, any indication as to how to fix that is very, very, very appreciated.

Try against search in 2.0 aka next branch. See release notes for changes to search. Specifically to onSelect

You can also use onResponse in 2.0 to adjust the JSON before it appears in other callbacks like onSuccess

Thanks @jlukic I will try that tomorrow at work :)

http://beta.semantic-ui.com/introduction/new.html#translates-any-api
Example with github api


Web: change "Perma Curate" in the Dapplist component for "Kleros Scout" and change link to https://klerosscout.eth.limo

change "Perma Curate" in the Dapplist component for "Kleros Scout" and change link to https://klerosscout.eth.limo
Also do the same for Escrow V2 and Curate V2 repos

solved


[DC-529] Remove irrelevant observation_source_concept_ids from RDR

DC-529 Remove irrelevant observation_source_concept_ids from the RDR Export

Setting up a base class for Cleaning Rules to Inherit from.
Modifying the current rdr pipeline to accept class or function names.
Setting the pipeline up to only accept instances of a BaseClass in the future.
Unit and integration tests needed.

Closing this PR in favor of a separate PR for the base class and a different PR for creating the cleaning rule using the base class.


Send/Receive by address - User should see a warning message

The text:
Do not send tokens from Ethereum network to this address.
This is a Fuse Network address for G$ tokens only.
Please break the lines as per the design.
https://xd.adobe.com/view/f6933b75-0307-498e-87d3-195f4993b9e5-a3c0/

@LiavGut this warning should be also on the "send to?" via wallet address screen, or only receive?

@AnastasiiaOdnoshevna Both, Send and Receive by address

@sirpy The warning isn't displayed on the "send to?"(via wallet address) page

Checked on QA V1.1.3-3
LG V30+ // Android 8.0 // Google Chrome 85.0.4183.81
Desktop: Windows 10 // Google Chrome  85.0.4183.102

@LiavGut The text for send is differing from the text on mock-up. But as I understand it's the correct one?

@AnastasiiaOdnoshevna Yes, it's correct. Thanks.

@sirpy We have new texts and designs for those warning messages.
***The icon should be animated ***
https://xd.adobe.com/view/f6933b75-0307-498e-87d3-195f4993b9e5-a3c0/

here no issue
new warning design for send/receive via address wallet goes together with #2515

@sirpy @Esfir-E  what's wrong with that warning message ? could you please describe more detailed what should be changed/fixed ?

@sirpy the massage we have at the moment is not clear enough for users we want to change the content to-
Keep in mind - Do not send tokens from Ethereum network to this address.
This is an internal Network address for G$ tokens only..
Also because we want to make sure that the users are paying attention we changed the design of the massage noticeable
Please break the lines as per the design.
https://xd.adobe.com/view/f6933b75-0307-498e-87d3-195f4993b9e5-a3c0/

yeah it should match the new design
Hadar Rottenberg
Technical Lead, GoodDollar
+972-507 319 093  (telegram http://t.me/sirpy, whatsapp)  blog
https://medium.com/dablock gooddollar.org http://www.gooddollar.org/

https://www.facebook.com/TheGoodDollar
https://twitter.com/TheGoodDollar
http://instagram.com/gooddollarorg http://t.me/GoodDollarX
https://www.linkedin.com/company/gooddollar/
http://medium.com/@GoodDollar
http://youtube.com/channel/UC_8oVeHIUo9U8gAc2BwaviA
http://reddit.com/user/GoodDollar https://github.com/gooddollar
Join the OpenUBI https://t.me/openUBI movement!*

On Mon, Oct 5, 2020 at 2:20 PM serdiukov-o-nordwhale <
<EMAIL_ADDRESS>wrote:

@sirpy https://github.com/sirpy @Esfir-E https://github.com/Esfir-E
what's wrong with that warning message now ? could you please describe more
detailed what should be changed/fixed ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoodDollar/GoodDAPP/issues/2450#issuecomment-703567995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFD255CQM4XYNVO2N5UCETSJGTYRANCNFSM4RM4SNHQ
.

@serdiukov-o-nordwhale check the XD it has new design

closing as those pages will be removed (https://app.zenhub.com/workspaces/gooddollar-5d50833888a83c6880d3e345/issues/gooddollar/gooddapp/2523)


kie-kogito-serverless-operator-441: Make the SonataFlowBuild smarter to manage persistence related extensions/props based on configuration

Description of the change:
Motivation for the change:
Checklist

[ ] Add or Modify a unit test for your change
[ ] Have you verified that tall the tests are passing?

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

Hi  @ricardozanini , would you mind take a look at the solution proposal.
I have tested it locally in minikube and the idea works, it was possible to make the WF work with persistence by adding no extra extensions or build-time properties.
The OpenShift bits I need to test, but the idea is equivalent.


Feature database lifeai

phone auth was added
ability to link firebase profiles

This are great features to have, thank you very much!
Do you think you can squash all the commits into one?
Also, would it be possible to add some docs?

@LuisRodriguezLD  I probably ask @Dhvl-Golakiya to resolve conflicts and @HirenBharodiya to write docs when they are free. Just put PR here to start.


Wrong Family Gekijyo link

The Family Gekijyo link is incorrect.
Link should be this one -> http://cdns.jp-primehome.com:8000/zhongying/live/playlist.m3u8?cid=cs20

fixed


[Suggestion] Portable Crafting Grid

A Portable Grid with a 3x3 crafting area.

This would be too much work unfortunately, the portable grid code isn't that extensible.


autohotkey: Download from Github Release

Closes #10270

It looks like https://www.autohotkey.com is using Cloudflare as the CDN provider, which may cause the download to fail, so we go to Github Release to download the file and get the hash from the original URL

[X] I have read the Contributing Guide.

/verify


Zoom in out feature add more section images

Hey @Geeks-Arpan please add more description about the issue!


Feature request: "view source" tool for inspecting package contents

The recent event-stream problem
 on npm highlighted an issue that is also relevant to PyPI: even if a package links to a GitHub repository there is no guarantee that the code in the uploaded package matches the code in the repo.
One way this could be helped is for PyPI to provide a "view package contents" link next to each downloadable archive that opens a web interface for browsing the files in that package.
This could make it easier to spot deliberate exploits, but would also be a useful general feature for people who want to quickly understand more about the details of a package before they install it.

There are quite a few challenges in building such a feature.
For smaller packages, writing code which pulls a .tar.gz and turns it into a file listing / visible source code in response to an incoming HTTP request would be feasible (and highly catchable via varnish), but this probably won't work for larger files - pulling a 100MB .tar.gz and decompressing it on demand may not be feasible. Can we get numbers on the average size of packages and we how many outliers there are?
For those larger packages, maybe this will require extra processing on upload. This could be expensive in terms of both CPU and storage, and could open up zip bomb exploits if not implemented carefully.

One problem that is more specific to PyPI is that some packages can be uploaded in multiple formats - different wheels for example. Malicious code could potentially be hidden in just one of the wheel variants.
A really great implementation of this feature would also highlight differences between the contents of those different packages. This becomes not just a more complex implementation challenge but a UI design challenge as well.

... and while I'm throwing around crazy ideas: a really neat implementation of this would include a way to render diffsbetween different versions.
Now we are re-implementing a non-trivial portion of GitHub!

npm COO Laurie Voss says about this suggestion:

One issue you don't mention is that it creates a simply enormous vector for spam and a distribution mechanism for illegal content (such as various illegal forms of pornography). All the solutions I'm aware of for this problem involve expensive teams doing unpleasant jobs.

Merging duplicate issue https://github.com/pypa/warehouse/issues/7877 originally posted by @uranusjr
@uranusjr wrote:

What's the problem this feature will solve?
@pfmoore, @pradyunsg and I were talking about dependency conflict debugging, and it came up as a topic that a significant number of users opt to “read setup.py” when they are looking for dependency information.
This is, however, currently quite awkward to do. The user either needs to find the project’s repository (e.g. GitHub) and hunt for the correct tag/commit, or download the distribution file and extract it manually. It is also difficult for pip to implement a feature to help with the process.
Describe the solution you'd like
A view that allows the user to view the contents of a given distribution (wheel or sdist), and read the content of a given file in the archive. The viewer can be a bare minimal text/plain page, but some basic features like line numbers would be very nice to have.
Each list view and file view should have a unique URL, e.g. I can paste a URL to the browser and read setup.py in Django-3.0.tar.gz, or the METADATA file of a wheel directly. This would be valuable for sharing package information and help with user support.
Additional context
N/A

@di wrote:

Is the goal here to inspect the metadata for a release, or to view arbitrary files in a distribution?
If it's the former, this would be relatively simple to implement. We already have a similar view in the Admin UI:

If it's the latter, it's going to be quite a bit more challenging, as PyPI does not actually extract any files from the distribution archives or do any introspection of them.

@uranusjr wrote:

Metadata extraction would be very useful for wheels, but for source inspection is the only way to inspect an sdist. I think both are valuable features, but this issue is more about the latter.

We've got something like this now: https://inspector.pypi.io/
This isn't anything close to production-grade so I wouldn't recommend pointing a lot of traffic at it, but it provides a way to introspect packages on PyPI, without exposing PyPI to the need to introspect packages.
This isn't integrated into PyPI in any way except for the admin interface, but once it is a little more developed that could be possible.

We've got something like this now: https://inspector.pypi.io/

This is really neat, I love it! Exactly the kind of thing I was hoping for here.
If you're worried about traffic load on it, one alternative could be to implement the same thing entirely client-side. PyPI serves wheels etc with open CORS headers, so it's possible for JavaScript in a browser to fetch those packages, decode them and display them.
I built a very basic demo of that here: https://tools.simonwillison.net/zip-wheel-explorer

I think we're less worried about the traffic and more worried about the risk of extracting or displaying user-submitted content on the pypi.org domain. For example, your demo has an XSS vulnerability: try exploring this wheel and click on the __init__.py file.

With trusted publishing, would it be easy to have a link from pypi release to github commit tree?
(I know pypi has info about the CI run, but don’t know how easily the git info can be gotten for the CI run)

Yep, see https://github.com/pypi/warehouse/issues/17122#issuecomment-2486926298


Svi frontend

Preview Link

Click to demo updates
Description

This PR introduces the implementation of the social vulnerability index (SVI); which resides on the population card. The variable provider and methodology pages were also updated in this PR.
Motivation and Context

closes #75

These changes allow the user the view the SVI at the county level. By using the SVI, communities that rank lower on the index can receive more resources such as food, water, medicine, etc. to help them recover or mitigate suffering and economic loss.
How has this been tested?

Local tests were run initially to ensure that the data populated as expected by updating the public/tmp directory, then the tests were run on the cloud pipeline to ensure that data worked as it should from the actual API.
Screenshots (if appropriate):

Types of changes

New feature (non-breaking change which adds functionality)

Looking great! I was just testing it on mobile and I think we need to ensure the "full profile" button goes below the new alert. This isn't an issue on desktop because they're side by side but we should try and vertically swap them for mobile

@eriwarr @benhammondmusic , For now I think its confusing that clicking the SVI takes you to the top of the methodology page. I know we want to redesign that whole flow but as it stands right now I don't think it works super well. How hard would it be to add an anchor to the SVI section of the methodology page?


Can't assign root node in VisualScript NodePaths

Godot version:
v3.2 4ad255a
Downloaded from Hugos website.
Issue description:
When assigning the root node to a NodePath in a VisualScript Get Scene Node node, it gets set to the node with the script attached.
Steps to reproduce:
Make a new scene with a root and a node with a vs script attached and add a Get Scene Node. Try setting it to the root node.

Still valid in 65730ab

This is still valid in Godot 3.2.4 beta 5 as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/104142120-d9d9dc00-5398-11eb-9ded-c345beef7439.mp4
Currently, the only way to get the root node in Visual Script is via get_node() as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/104142203-4523ae00-5399-11eb-9194-4ee1f873311b.mp4
However, this bug makes it impossible to get the root node property out of 1 Visual Script node. Moreover, the property input box in the Object.get() node is based on string input, instead of a more intuitive selectable properties list presented in the property box accessible in the inspector tab if the Get Scene Node works as intended.

https://user-images.githubusercontent.com/1403194/104142590-fd9e2180-539a-11eb-9b40-d8d509d5e23f.mp4

This is still valid in Godot 3.2.4 beta 5 as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/104142120-d9d9dc00-5398-11eb-9ded-c345beef7439.mp4
Currently, the only way to get the root node in Visual Script is via get_node() as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/104142203-4523ae00-5399-11eb-9194-4ee1f873311b.mp4
However, this bug makes it impossible to get the root node property out of 1 Visual Script node. Moreover, the property input box in the Object.get() node is based on string input, instead of a more intuitive selectable properties list presented in the property box accessible in the inspector tab if the Get Scene Node works as intended.

https://user-images.githubusercontent.com/1403194/104142590-fd9e2180-539a-11eb-9b40-d8d509d5e23f.mp4

Did not know about that but try https://godotengine.org/asset-library/asset/922 then you are able to edit the path as string


Unable to use wildcard/* when running rvault read commands

I'm trying to read the secret from vault using rvault read commands following the instructions provided in the documentations.
I'm able to read secrets for a specified path
ex: rvault read secret -f json -k 2 -p "A/B/"
{"A/B/test":{"test":"value"},"A/B/test2":{"test2":"value"},"A/B/test3":{"test3":"value"}, "A/B/sample":{"sample":"value"}}
but I'm not able to run this command using a wildcard /* so that I don't have to enter the full path.
Ex:
rvault read secret -f json -k 2 -p "A/B/"
ADDRESS IS https://
I0228 20:21:17.652282 1756279 list.go:48] No secrets found for path A/B/
{}
also I'm getting parse errors when I'm using this command as per the document.
rvault read secret -f json -k 2 -p secret/A/* 2>/dev/null | jq .
Is there anyway that I could read the secrets just based on key instead of providing the full path? like it works for rvault list

I think the include-paths (-i) argument might suit your needs
# full contents
~  rvault list secret -v=0
/andalucia/almeria/ssh.key
/andalucia/malaga/passwd.conf
/barcelona/dev.null
/madrid/file1.txt
/madrid/leganes/file2.txt

# listing only secrets whose path match /andalucia*
~  rvault list secret -v=0 -i "/andalucia*"
/andalucia/almeria/ssh.key
/andalucia/malaga/passwd.conf

# reading those secrets
~  rvault read secret -v=0 -i "/andalucia*" -f json | jq .
{
  "/andalucia/almeria/ssh.key": {
    "value": "This is \n another multiline \n file"
  },
  "/andalucia/malaga/passwd.conf": {
    "value": "This is \n a multiline \n file"
  }
}
# Another example filtering by secret name
# /andalucia contents
~  rvault list secret -v=0 -p /andalucia
/andalucia/almeria/ssh.key
/andalucia/malaga/passwd.conf

# filtering to list only secrets like *ssh*
 ~  rvault list secret -v=0 -p /andalucia -i "*ssh*"
/andalucia/almeria/ssh.key

# filtering to read oly secrets like "*ssh*"
rvault read secret -f json -v=0 -p /andalucia -i "*ssh*" | jq .
{
  "/andalucia/almeria/ssh.key": {
    "value": "This is \n another multiline \n file"
  }
}

In your example it should be something like
rvault read secret -f json -v=0 -p /A/B -i "gce*"


Jest hangs forever when importing component from locally linked npm package.

Describe the bug
I've noticed when upgrading to recent @swc/core (after 1.2.54) my builds hang forever. Applies to libraries and a website that uses them (Webpack + sac-loader).
The main project is a monorepo (React package, CSS lib, JS lib).
On the other project, which is a simple react app that uses the other libraries, I noticed during optimisations that jest also hangs. After some investigation I'm sure it's happening when I have linked packages.
So it seems like swc/code hangs forever when:

package is linked with yarn link package-name
or when it's a monorepo setup (with yarn workspaces).

I guess it might be some platform quirk (yarn link and yarn workspaces use symlinks).
I can provide a repro repo but not today, sorry for that.
Input code
When I removed import like this jest stopped hanging itself. Then I unlink the package and jest also worked. Only hangs when package is linked:
import { Container } from '@namespace/package-name';

Config
The website within a monorepo:
{
  "module": {
    "type": "commonjs"
  },
  "exclude": ["/__tests__/"],
  "env": {
    "coreJS": 3,
    "mode": "usage"
  },
  "jsc": {
    "parser": {
      "syntax": "ecmascript",
      "jsx": true,
      "numericSeparator": false,
      "classPrivateProperty": false,
      "privateMethod": false,
      "classProperty": false,
      "functionBind": false,
      "decorators": false,
      "decoratorsBeforeExport": false
    },
    "transform": {
      "react": {
        "pragma": "React.createElement",
        "pragmaFrag": "React.Fragment",
        "throwIfNamespace": true,
        "development": false,
        "useBuiltins": false
      },
      "optimizer": {
        "globals": {
          "vars": {
            "__DEBUG__": "true"
          }
        }
      }
    }
  }
}

The website where I noticed jest hanging:
{
  "jsc": {
    "parser": {
      "syntax": "ecmascript",
      "jsx": true,
      "privateMethod": true
    },
    "externalHelpers": false
  },
  "env": {
    "coreJs": 3
  }
}

That website uses SWC via Parcel, deps are:
{
"devDependencies": {
    "@parcel/transformer-sass": "2.0.0-nightly.713+003cce7b",
    "@swc/jest": "^0.1.2",
    "browserslist": "^4.16.6",
    "jest": "^27.0.4",
    "parcel": "^2.0.0-beta.3.1"
  },
  "dependencies": {
    "@namespace/package-name": "^3.1.1",
    "intl-format-cache": "^4.3.1",
    "intl-messageformat": "^9.6.18",
    "intl-messageformat-parser": "^6.4.4",
    "lodash": "^4.17.21",
    "react": "^17.0.2",
    "react-dom": "^17.0.2"
  }
}

Jest config:
module.exports = {
  transform: {
    '^.+\\.(t|j)sx?$': ['@swc/jest'],
  },
  testEnvironment: 'jsdom',
  collectCoverageFrom: [
    'src/**/*.js',
    'src/**/*.jsx',
  ],
  moduleNameMapper: {
    '\\.(scss|css)$': '<rootDir>/__mocks__/styleMock.js',
    '^.+\\.svg$': '<rootDir>/__mocks__/svgMockedTransform.js',
  },
};

Expected behavior
Transpilation should not hang
Version
The version of @swc/core: everything above 1.2.54
Additional context
Like I mentioned before, excuse me for not providing a repro repo, I'll try make one over the weekend.

we saw the very same bug in our mono repository - jest runs a lot of tests but suddenly it hangs forever without any message..
next: "12.1.7-canary.24

it worked with babel but hangs with swc
we don't use symlinks and I can't see any dedicated pattern to reproduce the bug 😕
another run did not freeze but instead crashed:

@kdy1 is it fixed?

No. Read comments
2023년 2월 21일 (화) 오후 3:41, Szymon Nowicki @.***>님이 작성:

@kdy1 https://github.com/kdy1 is it fixed?
—
Reply to this email directly, view it on GitHub
https://github.com/swc-project/swc/issues/1816#issuecomment-1437932409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHELSJ25JEWBTSTYKPNF5HTWYRPRHANCNFSM46Q6I4TA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update search by merging an object

Hi !
I'm currently using history in my stack (along with react, its router and redux, but that doesn't matter here)
I have a page where i update some search params according to my user actions on the UI.
Since search only takes a string in history.push and history.replace i had to manage it by myself.
I added a function i called updateSearch that is pretty naive atm.
//signature

history.updateSearch({ foo: 1 })
//will do the following :
// myapp/                -> myapp/?foo=1
// myapp/?bar=2          -> myapp/?foo=1&bar=2
// myapp/?foo=2          -> myapp/?foo=1
// myapp/?foo=2&bar=2    -> myapp/?foo=1&bar=2

history.updateSearch({ foo: 1, bar: null })
//will do the following :
// myapp/                     -> myapp/?foo=1
// myapp/?bar=2               -> myapp/?foo=1
// myapp/?foo=2               -> myapp/?foo=1
// myapp/?foo=2&bar=2&yo=3    -> myapp/?foo=1&yo=3

history.updateSearch = (params) => {
  const currentParams = qs.parse(history.location.search, { ignoreQueryPrefix: true })
  const finalParams = pickBy({ ...currentParams, ...params }, value => value !== null)
  history.replace({
    search: `?${qs.stringify(finalParams)}`,
  })
}

Here is some questions :

Do you have a built in way to do so ? (Did i miss something ?)
If there is no built in way, do you think a function like this (with some improvement) is worth a PR ?

Thanks in advance !

@Okazari The current history implementation intentionally uses strings instead of objects for history.search. Unless something changes in that regard, there cannot be a built-in way to modify the search, so you didn't miss anything there.
Part of the reasoning behind history using strings instead of objects is to intentionally avoid choosing one of the many query parsing solutions for you, so I don't think that a PR that adds one of these packages would be accepted.

@pshrmn Thanks for the heads on :)


[meta] other crowd cookbook

What's this cookbook's relation to https://github.com/QVCItalia/chef-crowd?
I'm evaluating options. Thanks :)

No real relationship. The cookbooks were developed independently from each other. When we were looking for a crowd cookbook we did not come across the QVCItalia one so we developed our own. Our cookbook is used in production, is actively maintained and listed on the Chef supermarket.

:+1: thanks

Do you consider it still to be in production and actively maintained?
I ask as we have several open pull requests.
Thanks,
Martin.

@mrjcleaver apologies, you're correct to point rhis out. We have a small team here and have spent too little time on this. I will endeavour to correct this situation.


Same images on different pages in merged results mode

What steps will reproduce the problem?
for example:

search something with merged results enabled.
download some(better all) images from page1 via preview window
go to the page2
open preview mode and see that some images have "delete"  button instead of "save" button, which means that these images are 100% clones of images from page1, not just visually similar.

What is the expected behavior? What do you get instead?
I'm expecting not to see same images in MERGED(how ironic) MODE on other pages.
How often does this problem occur?
100% repeatability with any conditions
What version of the program are you using? On what operating system?
all versions with merged results mode, even in 5.3.0 alpha
Please provide any additional information below
With this issue all merged results mode idea becames ruined, because in fact it not really merged.
P.S. can I post isdies from 5.3.0 alpha?

Can confirm 150%
On Thu, May 11, 2017 at 3:25 PM, MasterPetrik<EMAIL_ADDRESS>wrote:

What steps will reproduce the problem?
for example:

search something with merged results enabled.
download some(better all) images from page1 via preview window
go to the page2
open preview mode and see that some images have "delete" button
instead of "save" button, which means that these images are 100% clones of
images from page1, not just visually similar.

What is the expected behavior? What do you get instead?
I'm expecting not to see same images in MERGED(how ironic) MODE on other
pages.
How often does this problem occur?
100% repeatability with any conditions
What version of the program are you using? On what operating system?
all versions with merged results mode, even in 5.3.0 alpha
Please provide any additional information below
With this issue all merged results mode idea becames ruined, because in
fact it not really merged.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bionus/imgbrd-grabber/issues/913, or mute the thread
https://github.com/notifications/unsubscribe-auth/AS2t8JAalY5Lat8YfJNuRuo-eY0x5yEEks5r42C2gaJpZM4NYcfl
.

Well, on page 2 it only merges all pages 2 from all your sources, it doesn't take into account the results from page 1. So if some image is on source A's page 1, it can appear on source B's page 2.
Doing something else would mean remembering what happened on previous pages. It's feasible if you do page 1 > next > page 2 > next, etc. but if you directly open page 100, Grabber can't possibly load 99 pages just to hide results from the previous pages.
That's the reasoning for why it has not been done (yet), even though I totally agree. And the solution that says that if you don't start at page 1 just don't ignore previous page's images (current behaviour) would mean that there are different results if for example you restart the program in the middle of your search.

P.S. can I post isdies from 5.3.0 alpha?

Yeah you can if there's anything you found. :+1:

Doing something else would mean remembering what happened on previous pages. It's feasible if you do page 1 > next > page 2 > next, etc. but if you directly open page 100, Grabber can't possibly load 99 pages just to hide results from the previous pages.

You got the problem from nowhere... There is no problem at all. You just need to build a md5 list for each merged request, and from first page(1 or 99 doesn't matter) fill it with md5 of unique images, for second page just check md5 from list for each image to prevent duplicates. Order of pages doesn't matter. You don't need to download in the list md5 from skipped pages, this is really no needed.
For example:
Load page 4 - fill md5 list with img md5 from this page.
Load page 8 - add to md5 list img md5 from this page after comparing with existed in the list md5.
Load page 1 - add to md5 list img md5 from this page after comparing with existed in the list md5.
so after that we will have a unique md5 for each shoved page, no matter, what it's number

That's what I was thinking but I didn't know how to explain.
On Thu, May 11, 2017 at 5:00 PM, MasterPetrik<EMAIL_ADDRESS>wrote:

Doing something else would mean remembering what happened on previous
pages. It's feasible if you do page 1 > next > page 2 > next, etc. but if
you directly open page 100, Grabber can't possibly load 99 pages just to
hide results from the previous pages.
You got the problem from nowhere... There is no problem at all. You just
need to build a md5 list for each merged request, and from first page(1 or
99 doesn't matter) fill it with md5 of unique images, for second page just
check md5 from list for each image to prevent duplicates. Order of pages
doesn't matter. You don't need to download in the list md5 from skipped
pages, this is really no needed.
For example:
Load page 4 - fill md5 list with img md5 from this page.
Load page 8 - add to md5 list img md5 from this page after comparing with
existed in the list md5.
Load page 1 - add to md5 list img md5 from this page after comparing with
existed in the list md5.
so after that we will have a unique md5 for each shoved page, no matter,
what it's number
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Bionus/imgbrd-grabber/issues/913#issuecomment-300915562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS2t8HG-9zXMsdBTSUYSXE1k2u-hsFqhks5r43bxgaJpZM4NYcfl
.

You got the problem from nowhere... There is no problem at all. You just need to build a md5 list for each merged request, and from first page(1 or 99 doesn't matter) fill it with md5 of unique images, for second page just check md5 from list for each image to prevent duplicates. Order of pages doesn't matter. You don't need to download in the list md5 from skipped pages, this is really no needed.

Which means that depending on the order of the pages you load, you get different results, which is exactly what I was saying.
In your example, if I follow what you say (4 > 8 > 1) the results of page 1 will be different that if I directly load page 1.

Just to make it clear: my point is not that this feature shouldn't be implemented because of the problem I mentioned. :+1:
I just bring it up because implementing this suggestion will create this "seemingly unpredictable" behaviour, which may however still be preferable to the current one. I believe all pros and cons should be examined in case someone has some solution for this problem, or in case someone one days wonders why its results change depending on the order pages load. :smile:
That also changes the way MD5s have to be stored to make the "unique" filter. Currently, we take all the images, if they're not in the MD5 list we show it and add its MD5 to the list, else we ignore it. By considering previous MD5s, a more global list have to be kept as well as on which page though MD5s were found: else re-loading a page would make all its images ignored as their MD5s are already on the list. That list should also be cleared every time the selected sources or search changes.

you get different results

As I said in Endless page mode topic, merged results is a bunch of images, you can't expect stable order from it;
Different results you will get anyway, because some sourse on some pages couldn't give you images, or there are has been added\removed some images for this tag on sertain sourses, so results will be different again. And you can add\remove some sourses too, this will cause changing results too.
So results will not be constant anyway. So order in it doesn't matter.

That also changes the way MD5s have to be stored to make the "unique" filter.

You will need to built more complex MD5 list system anyway. Because current md5 list is a too much simple, it works for little md5 amount in the list, but with big amount of MD5 in the list  it will be very bad and slow.
I mean that you need to make MD5 list as DataBase file with diffetent lists in it, according to first md5 character. So it will be 16 lists inside[0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F], so when you get new md5, you can use it's 1 char to search only in list of MD5 which started with this char. So it will make MD5 comparing almost 1600% faster and use in 16 times less memory for it. If list fo one of first chars became too big, then auto separate it to new 16 sublists according to second char... etc.
But that's for global MD5 list. Looks like separate suggestion)
What about temp md5 list for each merged search result, after closing tab it should be deleted, and for new merged search it will be created again.

So results will not be constant anyway. So order in it doesn't matter.

The order will indeed differ depending on which page loads first, but not only is it fixable (by sorting the results according to some critera or simply sorting them by source), it's I believe a smaller issue than having different results altogether.

But that's for global MD5 list. Looks like separate suggestion

Indeed, and a very good one for people having big MD5 lists (good memory-wise, given the current structure is already O(1) fast, being an hash map). Note that a the "database" you're suggesting is called a trie, a structure used for example to give suggestions in phone books or dictionaries.

Oh nice, you committed a fix for this already. That was fast.

I'm doing my best to have the version ready for this week-end :smile:
I'll also see if I can get the results sorted, because getting inconsistent results depending on the order sources load isn't a very good thing.


Honor exception_base when resetting JIT state

Fixes emulators that don't explicitly set R15 on reset.

Thanks!


Add default mirror interval for migration repo in app.ini

Hi,
It would be interesting to set the default mirror interval used for migrated repositories in app.ini, the configuration file.

See https://github.com/gogits/gogs/blob/master/conf/app.ini#L376-L378


Roll Flutter from eefbe85c8bd4 to be5c389e6cee (14 revisions)

https://github.com/flutter/flutter/compare/eefbe85c8bd4...be5c389e6cee
2022-12-10<EMAIL_ADDRESS>faae28965 Roll Skia from 44062eff3e25 to 1b194c67700e (2 revisions) (flutter/engine#38166) (flutter/flutter#116817)
2022-12-10<EMAIL_ADDRESS>d64a5129a [const_finder] Ignore constructor invocations from generated tear-off declarations (flutter/engine#38131) (flutter/flutter#116814)
2022-12-10<EMAIL_ADDRESS>Floating cursor cleanup (flutter/flutter#116746)
2022-12-10<EMAIL_ADDRESS>Roll Flutter Engine from a259613ab871 to 8b56b5a98ed4 (2 revisions) (flutter/flutter#116813)
2022-12-09<EMAIL_ADDRESS>Add LookupBoundary to Material (flutter/flutter#116736)
2022-12-09<EMAIL_ADDRESS>Roll Flutter Engine from 89fd33c62f2c to a259613ab871 (2 revisions) (flutter/flutter#116811)
2022-12-09<EMAIL_ADDRESS>89fd33c62 Don't use sync*, as it is unimplemented in dart2wasm. (flutter/engine#38149) (flutter/flutter#116808)
2022-12-09<EMAIL_ADDRESS>Roll Flutter Engine from 8d83b98c55b3 to 030950f3070c (29 revisions) (flutter/flutter#116802)
2022-12-09<EMAIL_ADDRESS>Several fixes to packaging builders. (flutter/flutter#116800)
2022-12-09<EMAIL_ADDRESS>Squashed MediaQuery InheritedModel (flutter/flutter#114459)
2022-12-09<EMAIL_ADDRESS>Add Material 3 support for ListTile - Part 1 (flutter/flutter#116194)
2022-12-09<EMAIL_ADDRESS>Roll Plugins from 51434ec83dde to 6ab7d710d2fb (3 revisions) (flutter/flutter#116781)
2022-12-09<EMAIL_ADDRESS>Update the Dart language version in the pubspec generated by the dartdoc script (flutter/flutter#116789)
2022-12-09<EMAIL_ADDRESS>Opt dashing_postprocess.dart out of null safety until we figure out why (flutter/flutter#116786)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


changes that allow compilation with 4.06.1

please do check that the semantic is unchanged (I commented out some log statements, for example).
Is there a way to run a testsuite?
make tests

to run the tests:
./test.native

I never use lwt; I don't know it. I also don't know ocamlbuild (and I am not joking; it always made me want to vomit)...

I took it in and pushed some small changes.

Thanks a lot Romain!
I will start playing with it right away. :smile:


2020-04-01 tc152 M1SD TLAG values are incorrect

Datasets for testcase are loaded to onedrive
Definition of TLAG from Computation Engine Specifications Document:
This time is defined as the sample time immediately prior to the first quantifiable concentration (non-zero). If all concentrations have a value greater than 0 then TLAG is 0.

The issue is that TLAG is incorrectly generated in this testcase. The Yellow highlights for the CONCTIME1 and CONCTIME2 columns in the image below indicate the correct values for TLAG. TLAG is incorrect for the 2nd and 3rd entries in the parameter results shown.

Similar to #221  and #220

While I don't have access to tc152, I can confirm that with tc1581 this issue occurred with commit e7df513. As of commit cca452d this issue no longer occurs as shown in the output below, therefore this issue is closed.
knitr::kable(r[c(1:4, 21, 28, 34, 39, 66), c("TLAG", "CONC1", "CONC2", "CONC3", "CONC4", "CONC5", "CONCTIME1", "CONCTIME2", "CONCTIME3", "CONCTIME4")])

TLAG
CONC1
CONC2
CONC3
CONC4
CONC5
CONCTIME1
CONCTIME2
CONCTIME3
CONCTIME4

1
0.00
0
0.124
0.676
0.853
1.530
0
0.3
0.75
1.250

2
0.00
0
0.755
2.400
15.400
37.500
0
0.3
0.75
1.250

3
0.00
0
0.885
6.070
11.100
14.500
0
0.3
0.75
1.250

4
0.00
0
16.300
57.100
113.000
79.900
0
0.3
0.75
1.250

21
0.30
0
0.000
1.130
1.760
5.960
0
0.3
0.75
1.267

28
1.25
0
0.000
0.000
0.000
26.800
0
0.3
0.75
1.250

34
0.30
0
0.000
0.321
2.940
0.959
0
0.3
0.75
1.250

39
0.75
0
0.000
0.000
0.832
1.810
0
0.3
0.75
1.250

66
0.30
0
0.000
0.279
1.760
8.200
0
0.3
0.75
1.250


[New chain]: Arthera Mainnet

Chain Name
Arthera Mainnet
RPC URL
https://rpc.arthera.net
The chain must be added to https://chainlist.org/

[X] I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

[ ] I sent the pre-fund in accordance with Github Action's comment

Relevant information
ChainList listing at https://github.com/ethereum-lists/chains/pull/4083
No native token will be needed to deploy because I will send a subscription NFT which has a gas quota paying for the transaction fee. It won't work with your GitHub Action but let's see what you think about it.
ChainId: 10242
RPC https address: https://rpc.arthera.net/
Blockexplorer: https://explorer.arthera.net/

Notice: If no new information is provided in the next 2 weeks the issue will be closed

Notice: If no new information is provided in the next 2 weeks the issue will be closed

@rmeissner which new information do you need ? It's stuck for 2 weeks because of this pre-fund requirement which is not needed on Arthera Mainnet as explained in the description and also at https://github.com/safe-global/safe-singleton-factory/pull/339
So how can we move forward on this ? It's blocking existing projects deployed on many chains to deploy on Arthera because they need Safe deployment first.

Notice: If no new information is provided in the next 2 weeks the issue will be closed

@rmeissner which new information do you need ? It's stuck for 2 weeks because of this pre-fund requirement which is not needed on Arthera Mainnet as explained in the description and also at #339 So how can we move forward on this ? It's blocking existing projects deployed on many chains to deploy on Arthera because they need Safe deployment first.

Please go ahead and send the NFT to the deployer address mentioned in the bot's comment

Thanks @mmv08, it's sent, you can see it at https://explorer.arthera.net/address/0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37?tab=tokens_erc721

0x6125521cb9a01cc86f9ee7b5ceaa5f154d3ae07543def006d67522875fb39074


Monitor view somewhat to big on mobile devices and small chrome window

I get a little glitch if I try to load the monitor view into a (android) webview or if I resize the chrome browser window to a very small size. If I use the mobile view of chrome it looks ok, though.
I provide some screenshots, it's not that easy to describe. It seems the "version info column" on the bottom of the view gets forced to do a line break and  the whole page "gets bigger" and scrollable.
Additionally  the background is missing on that part.
Chrome, mobile view (OK):

Chrome, regular view, but small window size (NotOK)

Android 6.0.1 Webview v44.0.2403.117, Nexus 5x Screenshot (NotOK)

If I rotate the device the white space gets smaller, the text on the bottom is broke up to two lines (not three like in the images)
I tryed to request the content on the webview with the chrome mobile view user agent, but that didn't change anything.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Screenshot with the newest version of Jenkins (2.78) and Build Monitor Plugin (v1.12+build.201704111018)


not functioning

the plugin isn't working for me, i run the command and it simply does nothing.

Huh, that's odd. Can you describe your problem in a little more detail?
Is it just that it doesn't open the browser? or does the plugin not load at all?

it is working now, it seems like it just needed a restart.


DRAFT: jpegli support

This is an initial draft of adding jpegli encoding support to replace the existing mozjpeg functionality.
jpegli seems to show significant improvements over mozjpeg.
I had a stab at adding jpegli decoding (which would theoretically enable 10-bit in JPEG for high quality images) but I didn't manage to get it working initially.
If there is interest in taking this PR forward I'd be happy to improve testing, and tidy it up further.

Thanks for contributing! This cli tool is intended as an full alternative to Squoosh Cli, so I plan to continue supporting mozjpeg. This new codec looks promising, so make it a separate subcommand. Also add a separate feature for this codec to improve modularity.


we need  global transaction commit or rollback callback(notify)

Why you need it?
我们需要一个全局事务的提交或回滚的回调通知。这在有些场景下非常有用。因为目前AT模式支持db的事务，而tcc确实是能控制非db的事务回滚操作，但是tcc模式过于复杂。
为了增强AT模式对非DB的事务控制，我建议添加一个全局事务的提交或回滚的回调通知。
We need a global transaction commit or rollback notify. This function is very useful in some situations. Because AT mode only supports database transaction so far. And we can use tcc mode to resolve this problem, but tcc mode is too complicated to use.
To enhance AT mode's transaction control over non-db, I suggest that we can design a global transaction commit or rollback notify.
How it could be?
比如下面有一个场景：我的业务中需要调用第三方发送短信（比如阿里云）。
但是我如果使用AT模式，无法对“发送短信“进行事务控制。如果此时能提供一个全局事务的提交或回滚的回调通知，那么”发送短信“通知的功能我们就可以放到全局事务提交的回调中来调用。
For example, I need to send SMS in our business flow. (such as aliyun)
I can't include the "send SMS" into the global transaction if I use AT mode.  We can put "send SMS" into global transaction commit notify If we have this function.
Other related information
FailureHandler不满足上述要求，最好有一个全局事务的提交或回滚的回调通知。
TransactionHook尝试过，他只适用于Launcher角色，不适用于Participant角色。
FailureHandler is not satisfied with our demand.
TransactionHook is not working too. It only applies to the Launcher role.
Suggestion
能否将TransactionHook改造成全局事务通知？而不仅仅只适用于Launcher角色。
Is there hava any chance to change TransactionHook to apply with the global transaction? And not just for launcher role.

That's exactly what I'm going to do.

@81519434 If participants can be notified, there will be a lot of notifications in a global transaction. Does it meet your expectations?

@slievrly
Yes. It can meet my requirements.
And I did some work to implement the function that I want.
I embed the callback method in rm doBranchCommit stage.

I know that my code is very ugly, so I didn't create a pr for seata.

我也需要一个全局事务通知，比如我给数据库的数据添加cache时，我希望在事务成功时，分别为所有操作的数据添加cache
I also need a global transaction notification. For example, when I add a cache to the data in the database, I want to add a cache for the data of all operations when the transaction is successful.

@ilaotan
You can implement the feature as I do if you need this urgently.
You can look at the screenshot mentioned above for more details.

@81519434  thanks , Can you submit the code to your fork project？ I will test it

Only support after commit rollback. You can see this branch.
https://github.com/81519434/seata/commits/1.0.0


Conflict with vertical nav bar?

Howdy. Excellent work on this! I'm experiencing an issue though; when using my vertical navbar and I click on the "home" button (the top section) when I'm in section #3, it seems to disable the mouse scroll down action... until I scroll up. If I only use the mouse to scroll, it works great. If I go back and forth with mouse scroll and navbar scroll, there seems to be this issue. If you need a visual, go to pnwnelson.com, using the mouse scroll, then use the navbar to go from the #3 section to the #1 section, then try mouse scroll again. It does it in Chrome and Safari. Thanks for any time in looking at this.

The problem is your smoothScroll function. You'll need to use Scrollify's move method in place of this for things to work properly.

Thanks for the response. I disconnected the other js file with the smoothScroll completely and I'm still experiencing the issue. Maybe a conflict with modernizr.js? I know the issue doesn't exist (that I've found) on a touch device. So something in one of the mouse handlers?

This is the same issue as before. The whole issue is down to the page being scrolled outside of Scrollify. Scrollify still thinks you're on the previous panel.
Previously it was due to the smoothScroll function, without that, I see you have IDs on you panels that match the hash values. This means the page will anchor to those sections when the nav links are clicked. So still a case of the page being scrolled outside of Scrollify.
To amend this you need to use sectionName remove those IDs and put them in the sectionName data-attribute, and use the move method to scroll the page when the nav links are clicked.

Ok. I appreciate you taking the time for the explanation.


VGG16 Not working

I have submitted a pull request, kindly check: https://github.com/google-research/understanding-curricula/pull/2


Allow custom columns

Please check the PR for: Warning it is squashed as much as possible. I'm blocked on a full squash by the merge commit from the latest release branch.  I had WIP that forced me to merge master -> Allow-Custom-Columns to get the latest report module using csv.rs.  I hope you can use the GitHub feature "Allow Squash Merging" to resolve it.

Custom column implementation in TUI & CSV
** It does NOT use ColumnType since there was little difference in each column only different values.
Command line options for each.
Config file sections in trippy config TOML file.
The settings pop-up displays custom columns.

Is this merge request superseeded by #863?
If yes: Please close this MR
If no: Pretty please document why this merge request needs more human energy and true brain cycles from other project stake holders.

As you pointed out PR is superseded by 863


Fix arbitrary target example

My apologies. I tested that the var was being set in the script and I just assumed that the env var would propagate as expected for the installer example. It turns out that order matters. :)

Thanks again!


ICDM 1.1 and 2.1 tc added and steps added for othe test cases

ICDM 1.1 and 2.1 tc added and steps added for othe test cases

Steps Added


getPaymentTrackingInfo returns an exception with a 200 response

Calling getPaymentTrackingInfo (https://developer.currencycloud.com/api-reference/#get-payment-tracking-information) Returns an exception for a valid swift gpi tracked payment.
com.currencycloud.client.exception.ApiException: null (HTTP status code: 200)
	at com.currencycloud.client.exception.ApiException.create(ApiException.java:71)
	at com.currencycloud.client.ExceptionTransformer.aroundInvoke(ExceptionTransformer.java:19)
	at si.mazi.rescu.InterceptedInvocationHandler.invoke(InterceptedInvocationHandler.java:42)
	at com.currencycloud.client.Reauthenticator.aroundInvoke(Reauthenticator.java:23)
	at si.mazi.rescu.InterceptedInvocationHandler.invoke(InterceptedInvocationHandler.java:42)
	at jdk.proxy2/jdk.proxy2.$Proxy32.getPaymentTrackingInfo(Unknown Source)
	at com.currencycloud.client.CurrencyCloudClient.getPaymentTrackingInfo(CurrencyCloudClient.java:1057)

Calling the api manually for the payment works as expected.

HI, thanks for raising this issue. Could you please tell us which version of the SDK you are seeing this issue with?

We are using 5.3.0

Upgrading to the new release 5.4.0 resolves the issue. Sorry for the false alarm here.

Upgrading to the new release 5.4.0 resolves the issue


introduce contra-tracer

introduce contra-tracer for tracing of values.
issue: https://github.com/input-output-hk/iohk-monitoring-framework/issues/232

bors r+


WSL: Host not being used

Describe the bug
A clear and concise description of what the bug is.
I am setting up the scripts on Windows with the WSL subsystem and Craft Nitro. The pull assets script works but I am having a problem pulling the database. I have this set in my env file:
LOCAL_DB_HOST="mysql-5.7-3306.database.nitro"

But when I pull the scripts:
mysqldump: Got error: 1044: Access denied for user 'nitro'@'%' to database 'mydatabase' when selecting the database

This works fine on Mac, I wonder if there is a problem with Nitro. I have no idea why it is using % I've tried on MySQL 5.7 and MySQL 8.0. Any direction or ideas would be much appreciated!

I'm not too familiar with Nitro, so it might be best to post an issue there or submit an issue to<EMAIL_ADDRESS>The only thing I can think of is where you run the script matters. FWIW, here's what I use on my Docker setup:
https://github.com/nystudio107/craft/blob/craft-webpack/Makefile#L21
&&
https://github.com/nystudio107/craft/blob/craft-webpack/scripts/docker_pull_db.sh