WebViewPlatform.instance?.createPlatformWebViewController(params);

Exception has occurred.
_CastError (Null check operator used on a null value)

@Azim87
Can you provide complete minimal reproducible code sample along with steps to replicate and flutter doctor -v so that it'll help us to properly address it ?
Also, please provide complete error log.


Watch dir: timeout error?

Hello everyone,
Actually I have 3 etcd containers on an Openstack tenant, each container in located on a different VM. One of these VMs as a public IP (10.X.X.X) so it can be connected from everywhere and the others have an IP in 192.X.X.X (private network)
So my aim is watching a directory (recursively) and, for any operation on the base, it returns the data modified (not difficult). To make it work, I run this command:
def watch_database(self):
while True:
watch_result = self.client.read(self.prefix, wait=True,
recursive=True)
logging.warn(watch_result)
So first it work, but if I wait too much, I have this:
(client) wrapper() Request to server http://<IP_ADDRESS>:2379 failed: timeout('timed out',)
(client) machines() Failed to get list of machines from http://<IP_ADDRESS>:4001/v2: ConnectTimeoutError(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f1f081f8e90>, u'Connection to <IP_ADDRESS> timed out. (connect timeout=60)')
(client) machines() Failed to get list of machines from http://<IP_ADDRESS>:4001/v2: ConnectTimeoutError(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f1f08209690>, u'Connection to <IP_ADDRESS> timed out. (connect timeout=60)')
(client) machines() Failed to get list of machines from http://<IP_ADDRESS>:2379/v2: ConnectTimeoutError(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f1f08209890>, u'Connection to <IP_ADDRESS> timed out. (connect timeout=60)')
(client) machines() Failed to get list of machines from http://<IP_ADDRESS>:2379/v2: ConnectTimeoutError(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f1f08209a10>, u'Connection to <IP_ADDRESS> timed out. (connect timeout=60)')
(client) machines() Failed to get list of machines from http://<IP_ADDRESS>:2379/v2: ConnectTimeoutError(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f1f08209b90>, u'Connection to <IP_ADDRESS> timed out. (connect timeout=60)')
(client) machines() Failed to get list of machines from http://<IP_ADDRESS>:4001/v2: ConnectTimeoutError(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f1f08209d10>, u'Connection to <IP_ADDRESS> timed out. (connect timeout=60)')
Traceback (most recent call last):
File "tester.py", line 183, in
File "tester.py", line 179, in main
main()
File "tester.py", line 145, in main
self.get_action(action_number)()
File "tester.py", line 151, in watch_database
recursive=True)
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 536, in read
timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 846, in wrapper
self._machines_cache = self.machines
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 299, in machines
return self.machines
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 299, in machines
return self.machines
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 299, in machines
return self.machines
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 299, in machines
return self.machines
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 299, in machines
return self.machines
File "/usr/local/lib/python2.7/dist-packages/etcd/client.py", line 301, in machines
raise etcd.EtcdException("Could not get the list of servers, "
etcd.EtcdException: Could not get the list of servers, maybe you provided the wrong host(s) to connect to?
So my question is this one: why do I lost my connection? I gave it the public IP and also asked him to wait and did not put any timeout in order it takes "None" instead and wait all the time, does someone have an idea??? :/
Regards.

Is any of the servers running with --advertise-listen-url  http://<IP_ADDRESS>:2379 ? It doesn't seem to be the case from what etcd is doing.


Issue130 Inroduce Dark mode toggle globally

Fix #130

Can you check this @TorstenDittmann

Sorry, I didn't have time to reply right away 👍
Thanks, for the work. I have to think about this MR a little bit, since I don't know if I want that option always on the screen.


Devel

Closed branch FiguresInteractivity : all interactive figures up-to-date with the new tf.utils.KeyHandler_mpl(), including the new spectrogram, svd and spectral data

Codecov Report

Merging #45 into master will increase coverage by 5.6%.
The diff coverage is 86.52%.

@@            Coverage Diff            @@
##           master      #45     +/-   ##
=========================================
+ Coverage   53.76%   59.36%   +5.6%
=========================================
  Files          59       60      +1
  Lines       14358    14714    +356
=========================================
+ Hits         7719     8735   +1016
+ Misses       6639     5979    -660

Impacted Files
Coverage Δ

tofu/utils.py
58.04% <ø> (+8.32%)
:arrow_up:

tofu/version.py
100% <ø> (ø)
:arrow_up:

tofu/data/_plot.py
91.45% <ø> (+21.65%)
:arrow_up:

tofu/geom/_plot.py
67.74% <100%> (ø)
:arrow_up:

tofu/data/_comp.py
35.22% <100%> (+5.68%)
:arrow_up:

tofu/tests/tests02_data/tests03_core.py
99.08% <100%> (+0.27%)
:arrow_up:

tofu/tests/tests00_root/tests03_plot.py
69.62% <69.62%> (ø)

tofu/data/_core.py
64.94% <71.69%> (+2.7%)
:arrow_up:

tofu/_plot.py
91.8% <91.87%> (+79.73%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


adds default queue size

uses autostep to force expected number of events to 270mill:
    <param name = "estimatedNumberOfEvents" value="null"/>
    <param name = "numberOfThreads" value="32"/>
  </module>```
-->

```  <module name="parallelEventHandling">
    <param name = "estimatedNumberOfEvents" value="270000000"/>
    <param name = "numberOfThreads" value="32"/>
  </module>```

updated. I had to add eventsQueueSize to mc.valid. It must be a relatively new param. Or maybe i just missed it in the past. But anyway - should be correct now


Add conversion from Time to NaiveTime

https://docs.rs/diesel/1.4.3/diesel/sql_types/struct.Time.html

You didn't add any replacement pair for NaiveTime here:
https://github.com/abbychau/diesel_cli_ext/blob/6ad8c1b7bf7e745cdb4c8feb5f5dc82cdc909d36/src/parse.rs#L38
moreover, can you modify a test case for this type as well?

You didn't add any replacement pair for NaiveTime here:
https://github.com/abbychau/diesel_cli_ext/blob/6ad8c1b7bf7e745cdb4c8feb5f5dc82cdc909d36/src/parse.rs#L38

Hmm yes I did?
https://github.com/abbychau/diesel_cli_ext/blob/6ad8c1b7bf7e745cdb4c8feb5f5dc82cdc909d36/src/parse.rs#L48

moreover, can you modify a test case for this type as well?

Yes that I can do!

I missed that. sorry.
LGTM. Thank you.


How can I set tags for my post ?

If I write like this tags = ["mytag"] nothing appears in my homepage.

solved


[Automation] Generate Fluent Lite from servicenetworking#package-2022-10-01-preview

[Automation] Generate Fluent Lite from servicenetworking#package-2022-10-01-preview

/azp run prepare-pipelines

/azp run java - servicenetworking - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-servicenetworking


Eigen::TensorEvaluator m_impl is private, compiling cxx11_tensor_cuda.cu

i know this is a bug for Eigen repo, but the owner of the file seems to be Benoit Steiner, so tentatively thinking here might be a good place to file it?
If I build cxx11_tensor_cuda.cu using standard eigen build process, it does in fact compile.
However, if I build using clang, I get the following error:
In file included from test/eigen/cxx11_tensor_cuda.cu:19:
In file included from /usr/local/eigen/unsupported/Eigen/CXX11/Tensor:95:
/usr/local/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h:687:50: error:
      'm_impl' is a private member of 'Eigen::TensorEvaluator<const
      Eigen::TensorReductionOp<Eigen::internal::MaxReducer<float>, const
      Eigen::array<long, 2>, const Eigen::TensorMap<Eigen::Tensor<float, 4, 0,
      long>, 0> >, Eigen::GpuDevice>'
      typename Self::CoeffReturnType val = input.m_impl.coeff(j * num_pr...
...
test/eigen/cxx11_tensor_cuda.cu:234:30: note: in instantiation of function
      template specialization
      'Eigen::TensorDevice<Eigen::TensorMap<Eigen::Tensor<float, 2, 0, long>,
      0>,
      Eigen::GpuDevice>::operator=<Eigen::TensorReductionOp<Eigen::internal::MaxReducer<float>,
      const Eigen::array<long, 2>, const Eigen::TensorMap<Eigen::Tensor<float,
      4, 0, long>, 0> > >' requested here
  gpu_out.device(gpu_device) = gpu_in1.maximum(reduction_axis);
                             ^
/usr/local/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h:732:36: note:
      declared private here
  TensorEvaluator<ArgType, Device> m_impl;

I'm building as follows:

(optional) comment out lines 15-17, to disable fp16
run, from cloned eigen repo:

 clang++-3.8 -std=c++11 -I. -Itest -Ibuild/test -I/usr/local/cuda-7.5/include unsupported/test/cxx11_tensor_cuda.cu --cuda-host-only -emit-llvm  -O3 -S -o cxx11_tensor_cuda-hostraw.ll

Thoughts?  @benoitsteiner
(edited to have a correct commandline, tested from root of cloned eigen repo)

@benoitsteiner could you take a look

The OuterReduction kernel is declared as a friend on the evaluator, and as such has access to the private members of the evaluator. nvcc has no problem handling this, but somehow clang doesn't seem to be able to honor with friendship with cuda kernel code

Ah, fair enough.  Will raise an issue with clang.  Thanks!

(note: seems like this is fixed in clang 3.9)

(though I might just hack the eigen sourcecode for now, since I dont feel like retesting everything after migrating to clang 3.9)


Hooked up the Stats API to the bar graph and styled the data tables with bootstrap

Most of these files are from the Print button feature in the shoppinglist. In order for that to work properly all the extension files related to "Button" must be imported.
There are some example.html in the folder I can remove.
Styling the tables with bootstrap also lead to importing tons of custom CSS .


detectRetina and maxZoom = no tiles

How to reproduce

Leaflet version I'm using: 1.3.1
Browser (with version) I'm using: Mobile Chrome
OS/Platform (with version) I'm using: Android 5
Configure TileLayer with any maxZoom (in my case 20) and detectRetina=true
Zoom to the max zoom on a device that matches detectRetina

What behaviour I'm expecting and which behaviour I'm seeing
Expected: Visible Tiles
Seeing: No Tiles (no tileload events fired) - seems detectRetina would like to fetch maxZoom+1 which is blocked. I would suggest regular loading on maxZoom, ignoring detectRetina then
Minimal example reproducing the issue

Open: http://jsfiddle.net/sfe3gy3t/4/
Zoom one level in => Grey map

There are other issues addressing this problem, but closed without a real solution.
https://github.com/Leaflet/Leaflet/issues/939

Hi,
The workaround is currently simple: set your Tile Layer maxZoom option to 1 level higher than your map, as described in https://github.com/Leaflet/Leaflet/issues/939#issuecomment-194632280:
var map = L.map('mapid', {
  maxZoom: 15
}).setView(latlng, 14);

L.tileLayer(urlTemplate, {
  detectRetina: true,
  maxZoom: 16 // 1 level higher than the map's maxZoom
}).addTo(map);

Live example: https://plnkr.co/edit/ECDefmcQRFR0rDS0KpAp?p=preview
(your JSFiddle uses old versions of Leaflet, and for some reason JSFiddle currently does not enable me changing the external resources)
When you explicitly specify maxZoom on your map, it is no longer affected by its Tile Layers' maxZoom, so you can safely set it to a higher value without affecting the map even for users not having a high pixel ratio device.
The behaviour you describe has much probably been there since the introduction of the detectRetina option (PR https://github.com/Leaflet/Leaflet/pull/586).
If you do want to restrict the Tile Layer maxZoom to lower than the map maxZoom, you can define it by checking the L.Browser.retina flag, so that devices with either standard or high pixel ratio will be able to use the Tile Layer on the same zoom ranges (map-wise):
L.tileLayer(urlTemplate, {
  detectRetina: true,
  maxZoom: L.Browser.retina ? 12 : 11 // 1 level higher for high pixel ratio device, because it will be decremented automatically.
}).addTo(map);

If your tile source does not have tiles for the extra zoom level, you should specify the maxNativeZoom option, so that the Tile Layer loads tile from the previously available zoom level instead (as you suggested in your report):
L.tileLayer(urlTemplate, {
  detectRetina: true,
  maxZoom: L.Browser.retina ? 12 : 11,
  maxNativeZoom: L.Browser.retina ? 10 : 11 // 1 level LOWER for high pixel ratio device.
}).addTo(map);

Live example: https://plnkr.co/edit/YxIhnMDfHKNhXmnfHhiy?p=preview

This code is already in the library. If there are no other ideas, then the issue can be closed.
https://github.com/Leaflet/Leaflet/blob/5ffe20792148a6dff6fbb7b6447de664050af083/src/layer/tile/TileLayer.js#L96

No action to be taken, then (other than wait for a release which includes that change)

Hi,
I apologize as I guess I should have already closed this issue then.
Maybe I was waiting for OP's feedback in case I misunderstood something.
Just for the record, there is no need to wait for a new release: the pinpointed line had always been there (since the introduction of the detectRetina option in PR #586).

Hi, the documentation of maxNativeZoom is definitely unclear on this.
"Maximum zoom number the tile source has available. If it is specified, the tiles on all zoom levels higher than maxNativeZoom will be loaded from maxNativeZoom level and auto-scaled."
Currently, it is not the maximum zoom number the tile source has available, or at least "zoom" is not correctly defined here. Since in Retina mode the fetched zoom will be altered to handle an higher resolution, it is the "maximum zoom number the tile source has available , minus 1 when retina is detected".
I don't know how to phrase it, but you see my point, it is not obvious from this definitiation that we should do L.Browser.retina ? 11 : 12 for instance.

"maximum zoom number the tile source has available , minus 1 when retina is detected".

It shouldn't be like this.
But retina code is far from perfect, so.. all is possible.
Please re-check your observations, and open new issue, providing reproducible sample (on some public sandbox, as suggested by issue template).

There is not much to add to @ghybs comment actually, the quickfix with maxNativeZoom is fine. Changing the behavior now would be more consistent with the documentation, but will probably raise tons of issues in end applications, all the more that tile loading is not the first thing you unit test.
That's why I thought changing the documentation a bit would be the simplest approach.

Well, I can agree for maxZoom.
But that gets too weird for maxNativeZoom.
We need to decrement it's value for retina. For what sake? There is no logic.
That was good enough as dirty workaround only.

Ok so then the reproduction from @ghybs is all what you need, this is the exact same issue: https://plnkr.co/edit/YxIhnMDfHKNhXmnfHhiy?p=preview
To simulate retina manually, it seems that you can zoom in the browser, it will increase window.devicePixelRatio to a value over 1.
However, I haven't been able to either produce a reliable unit test for this, or to find the root cause of this issue with maxNativeZoom, as only maxZoom is mutated when retina is detected. My best guess is that somewhere, maxNativeZoom is compared to maxZoom and the mutation of maxZoom in retina mode makes it slightly wrong.

@eric-burel Replace detectRetina: true, in your code with detectRetina: (L.Browser.retina ? true : false), and remove code maxNativeZoom: L.Browser.retina ? 11 : 12. Perhaps this will solve your issue.


Add OpenPGP binary signatures .sig

Analogous to the ASCII armored OpenPGP signatures provided now.

Added in 1ae5d113eb


TERMINAL auto-pasting out-of-control !

When I ctrl+c and ctrl+v on another side ( Google Translate ) then I want to use the terminal, it starts to paste automatically on the Terminal? I don't know if it's Keyboard issue or VS-code issue ?

It was an issue in the keyboard.


spec: proposal for terminology

@axic, @chfast, and @poemm, I've tried to specify the terminology we've discussed. Need feedback on the EVMC bullet point, and on the overall naming of things.

EVMC is defined and explained here github.com/ethereum/evmc .
More generally, it seems that we want Clients and VMs to both be swappable by each exposing only an API. I can envision three common cases, which follow.

Client <--API--> VM
The VM provides all computation required by the system, and can communicate over the two-way API exposed by both the client and VM. This is the case with EVM.

Client <--API--> Client VM Interface <--API--> VM
The VM is can't subsume all behavior desired by the client, or it can't call/expose the API. Then it needs an interface glued on which can do this. This the case with Wasm, since Wasm exposes a embedding API and can call host functions in the interface.

Client <--API--> VM+interface
This is a mixture of the two above cases. The VM alone does not include all desired behavior/interfaces, but it can be easily brought to a state in which it does. This is the case for Wasm with an EEI module instantiated, and which exposes the Wasm embedding API to the client.

@ehildenb Do your current names reflect this two-way API? One API provided by the Client and the other on the VM-side, The VM's API may be provided by the VM directly, or by the VM's interface (with another API needed between the interface and VM). Perhaps you don't need all of these details in your model.

Note, I think we have agreed prior to call the actual underlying computational thing the "execution engine", and the combination of that + the client the "VM".
So, I would say it's closer to:
Client + EEI method implementations <--EEI + EVMC--> execution engine

A comment which may confuse the conversation. Feel free to ignore.
When someone reads "Ethereum Environment Interface", it needs explanation. "Ethereum Client-VM Connector API" is more self-explanatory, but the word "Connector" is unnecessary and adds the confusing "C" into the acronym.
Generalizing the convention from EVMC, maybe we can consider using Client API for the Execution Engine, Execution Engine API for the Client, and Execution Engine Extension for the Client. Then we can substitute specific cases like Ethereum API for Wasm, EVM API for Ethereum, and Wasm Extension for Ethereum. Then we can say: EVMC implements the union of Ethereum API for EVM and Ethereum API for Wasm, and EEI implements Wasm Extension for Ethereum.
This convention can include versions, e.g. Ethereum2.0 API for Wasm1.1.
I know these names need work, but they are more self-explanatory and future-proof.

I like what @poemm says here because: https://gist.github.com/klaaspieter/12cd68f54bb71a3940eae5cdd4ea1764


[SPARK-29224][ML]Implement Factorization Machines as a ml-pipeline component

What changes were proposed in this pull request?
Implement Factorization Machines as a ml-pipeline component

loss function supports: logloss, mse
optimizer: GD, adamW

Why are the changes needed?
Factorization Machines is widely used in advertising and recommendation system to estimate CTR(click-through rate).
Advertising and recommendation system usually has a lot of data, so we need Spark to estimate the CTR, and Factorization Machines are common ml model to estimate CTR.
References:

S. Rendle, “Factorization machines,” in Proceedings of IEEE International Conference on Data Mining (ICDM), pp. 995–1000, 2010.
https://www.csie.ntu.edu.tw/~b97053/paper/Rendle2010FM.pdf

Does this PR introduce any user-facing change?
No
How was this patch tested?
run unit tests

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Jenkins, retest this please

Jenkins, retest this please

retest this please

@srowen I don't know how to change PR target branch, so I open a new PR. I have checkout branch base master(spark 3.0.0), and implement FM python api.
@zhengruifeng I plat the convergence curves use normal GD and adamW. https://issues.apache.org/jira/browse/SPARK-29224

In practice I am using FM/FFM, and IMHO SSP or ASYNC solvers (like Difacto/PS-lite) seems more efficient than mini-batch solvers.
I'm wondering whether it is possible to include a simple PS framework(like glint ) in the future.

I already resolved change requested. And I splited FM to FMClassifier and FMRegressor.

I still doubt whether existing testsuite is enough.

1, I suggest to add several testsuites to check whether FMClassifier and FMRegressor can learn the intercept correctly.
Like '// Test if we can correctly learn Y = 0.1 + 1.2X1 - 1.3X2 + 20X1X2' in https://github.com/apache/spark/pull/5591/files
For example, we generate Y=Y = 0.1 + 1.2 X1 - 1.3 X2 + 20 X1 X2, and we can check whether 20 * X1 * X2 can be learned by checking  dot(V1, V2) ~== 20.
2, I suggest to add some testcases with fitBias==false or/and fitLinear==false

I still doubt whether existing testsuite is enough.

1, I suggest to add several testsuites to check whether FMClassifier and FMRegressor can learn the intercept correctly.
Like '// Test if we can correctly learn Y = 0.1 + 1.2X1 - 1.3X2 + 20X1X2' in https://github.com/apache/spark/pull/5591/files
For example, we generate Y=Y = 0.1 + 1.2 X1 - 1.3 X2 + 20 X1 X2, and we can check whether 20 * X1 * X2 can be learned by checking dot(V1, V2) ~== 20.
2, I suggest to add some testcases with fitBias==false or/and fitLinear==false

for FMRegressor:
I already add testcases to cover above situation. The generateFactorInteractionInput function would random generate model weights then generate X correspondingly, FMRegressor need fit the weights correctly (include fitBias==false or/and fitLinear==false case).
for FMClassifier:
It is difficult to generate a dataset that FMClassifier fit perfectly. I generate weights randomly, then put in sigmoid function, it can't get 0/1 perfectly. If I want to generate 0/1 perfectly, the rawPrediction will very huge/small (sigmoid close to 1/0), but FMClassifier will fit the dataset using other model weights (the logloss still close to 0). So I only check the logloss correctness in FMClassifier.

Looking reasonable to me. @zhengruifeng ?

LGTM.  @mob-ai You can open another ticket for doc & examples, after this pr get merged.

LGTM. @mob-ai You can open another ticket for doc & examples, after this pr get merged.

ok, "another ticket" means "another PR"?

LGTM. @mob-ai You can open another ticket for doc & examples, after this pr get merged.

ok, "another ticket" means "another PR"?

You can make another PR for the same JIRA, or really, just add it here.

add examples and docs

@mob-ai  There seems still some comments from @srowen  has not been resolved ?

@mob-ai There seems still some comments from @srowen has not been resolved ?

All comments are resolved...I think...
Should I click all "resolve conversation" button? I realized just now...

https://github.com/apache/spark/pull/26124#issuecomment-565390130
I think it'd be worthwhile to at least include a section in the MLlib docs on this new component. It can happen here rather than separately, if you're going to do it.

I added a new section for FM to describe the background of FM. And FM examples are placed in classification section and regression section.

update fm docs

Merged to master

Ack, wait, this didn't pass tests after the last commit. Let me monitor

all the PR builders are broken now, with pyspark ML test failures. I'm reverting it to unblock other PRs. Please re-open it, thanks!

Thanks, all!

Ah OK that's the reason of pyspark failure. Nice finding and thanks for the quick action!

@srowen I used following command to run pyspark tests. And I fixed FM python doc error.
python/run-tests --modules pyspark-ml

I'm very sorry about this.
I added a new commit, but not display in this PR. What should I do?

@mob-ai
No worries. You can create a new PR with same content (title/description/commits) + additional commit.

@mob-ai
No worries. You can create a new PR with same content (title/description/commits) + additional commit.

thanks!

@cloud-fan yep this was entirely my mistake - looked at the wrong PR tab open in my browser to see if it had passed and merged it when it had not. My bad, I meant to go check and revert if needed this morning but you beat me to it


[Feature Request] implement the Metrics methods

Thanks for the advice! I saw you also posted a feature request in the discussion, so I'll close this for now.


Command History scrolling

Once multi-line support is implemented, the Up and Down arrow keys should be used to scroll through command history.

done bf902e787a93e7d5350c9d13abf3603dd46d9df9


Fix missing apiVersion in manifest

The first line containing the apiVersion of the list of yamls was appended to the previous line -> malformed yaml manifest
the app is not installable if this policy is enabled:
k describe app kyverno-policies-connectivity -n giantswarm | grep -A1 Reason:                                                                                ○ gmc-admin@gmc
    Reason:         resource mapping not found for name: "kyverno-policies-connectivity-check-wc-cp-ip" namespace: "" from "": no matches for kind "ClusterPolicy" in version ""
ensure CRDs are installed first

before:
helm template . -f ~/workspace/config/installations/gmc/apps/kyverno-policies-connectivity/configmap-values.yaml.patch | grep -A3 "apiVersion: kyverno.io/v1"
# THIS FILE IS GENERATED WITH 'make generate' - DO NOT EDIT MANUALLYapiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: release-name-check-wc-cp-ip

after (w/ this change):
helm template . -f ~/workspace/config/installations/gmc/apps/kyverno-policies-connectivity/configmap-values.yaml.patch | grep -A3 "apiVersion: kyverno.io/v1"
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: release-name-check-wc-cp-ip

Checklist

[x] Update changelog in CHANGELOG.md.

Jiri is AFK for a couple of weeks now - I'm going to merge this on his behalf


[Relay][Quantization] Per-Channel FQ2I

This extend the FQ2I pass to support per-channel quantization needed for a number of TF models I've run into recently.
Many thanks to @jwfromm for help finding and fixing issues in the QNN ops with per-channel quantization.
cc @masahi @anijain2305 @elvin-n

just to dblcheck assumptions for this PR - we allow to have per-channel scales on the weight inputs only, right? Other stuff like binary op is only a helper for this main purpose?

Yeah, the way the math works out, we can only really do per-channel quantization on weights and still end up with an integer conv/dense op, if we have per-channel quantization on the data going into one of these ops the lowering breaks.
All the binary stuff is to help with fusing ops that show up in the graph after the contraction but before the requantize, i.e., things we want to fuse into the contraction.


Fixed problem setting deployment Id

It appears the intention was to use the Commit Id when running this task from a build, and the Release URI when running from a release.  The problem is the logic was a little off.  It was assuming the build.sourceVersion would be empty when running from a release, but that's not true (at least not if you have a release definition that is linked to a build).
Changed it to first check if releaseUri is set and if so use that for deploymentId (this should not be set in a build context), and if not then use the build.sourceVersion as the deployment Id.
Related to Issue #1311

Hi @dylan-smith, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Adding @yaananth who know this flow better for sign-off.

The idea is the that the deployment has to have something unique, now if the same build/release is being deployed multiple times with out really changing the code ( and hence the same source version ), I guess we need to create multiple deployment entries, or we could say it's the same code, so no update is being done there and show a warning instead. Either way works I think.
Originally what we have is just a fall back, if just in case source version isn't available we try to fetch other things.

The scenario is see most if you have a multi-step deployment, and something after the web deploy fails, so you might run the deployment again - only now you'll get warnings on the web deploy step that you didn't get the first time.

Made the change to use BuildUri, also tweaked the message used in the deployment to use the buildUri instead of the sourceVersionMessage, figured that made more sense if we're not using the sourceVersion for deploymentId anymore.
I rebased off master, and ran the L0 tests and they all pass.

signing off.

hi @dylan-smith using releaseURL or buildURL  to update deployment status on kudu server fails with  "No route registered for '/deployments/vstfs:/ReleaseManagement/Release/3'" because url becomes complex using buildurl or releaseurl, so we should instead used buildId or releaseID in url to update status and message we can keep same using buildUrl n releaseUrl ?

@kmkumaran adding muthu to take appropriate action.

I had noticed the same warning yesterday during a workshop.  I assume this change went live recently.  the code had previously used ReleaseUri, so I had assumed that was safe.  But apparantly not.


Openapi with a query param with name 'type' is incorrect generated

Package Name:  @autorest/typescript
Package Version:  6.0.0-rc.3
Operating system: MacOS
[ x ] nodejs

version: v16.18.1

[  ] browser

name/version:

[  ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
I think that when a query parameter called 'type' appears in an openapi.yaml file the code generated has an issue.
To Reproduce
Given the next openapi  file:
openapi: 3.0.3

info:
  title: Test
  version: '1.0'

servers:
  - url: 'https://api.example.com/v1.0'
    description: Live environment

paths:
  /echo:
    get:
      summary: 'summary'
      operationId: requestEcho
      parameters:
        - name: type
          in: query
          schema:
            type: string
      responses:
        '200':
          description: description.
          content:
            application/json:
              schema:
                type: object
                properties:
                  prop1:
                    type: string

And the following autorest configuration:
v3: true
typescript: true

input-file: ./openapi.yaml
output-folder: ./generated

openapi-type: data-plane
add-credential: true
package-name: 'example'
package-version: '0.0.1'

generate-metadata: false
generate-test: false
generate-sample: false
hide-clients: true

use-extension:
  '@autorest/typescript': '6.0.0-rc.3'
  '@autorest/modelerfour': '4.25.0'

modelerfour:
  seal-single-value-enum-by-default: false

When generating the code, the type query param is named typeParam in the related interface:
/** Optional parameters. */
export interface RequestEchoOptionalParams extends coreClient.OperationOptions {
  typeParam?: string
}

But then the mapper is wrong:
export const typeParam: OperationQueryParameter = {
  parameterPath: ['options', 'type'],
  mapper: {
    serializedName: 'type',
    type: {
      name: 'String',
    },
  },
}

Due to in the interface the query parameter is typeParam but then when must be used to build the final URL the parameter path used is ['options', 'type'], with this the REST library never will add it to the URL.
Expected behavior

The parameter is added to the URL
The attribute added to the related interface, in this case, RequestEchoOptionalParams is type instead of typeParam

Screenshots
Additional context

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Cosmos:0.32226473,Storage:0.07049318,Service Bus:0.052659698'


Automatic unrestricting of videos (play automatically, hide limited state element)

I think there's one bug left that I want to check out where videos will sometimes loop at the beginning but otherwise works very well

Before Dissenter

After Dissenter


wired-progress bar color not work

dependencies  : roughjs fillPolygons api not update to weird-lib.js
it will encounter error : undefined fillPolygon

Please see #179


can't this be hosted on a website?

Hello,
It would be nice if people can have a quick look without having to install anything.
Regards,
F.

Hello!
Thank you for your feedback!
As for now, we suggest to use Binder to host the repository and all needed dependencies (and updated our usage instructions accordingly).
That way you do not need to install anything locally.
You can follow this link ...
https://mybinder.org/v2/gh/volkamerlab/TeachOpenCADD/master
... and both the repository and packages are set up for you.
Note 1: Using Binder only works for talktorials T1-7 (T8-T10 are not stand-alone Jupyter notebooks, but also use PyMOL).
Note 2: I experienced that the setup is often pretty fast, however in other cases it takes too long.
So this solution might not be always useful for a quick look, but when working it is a very convenient way to circumvent local installation.
For a quick non-interactive look, you can also use GitHub to display the Jupyter notebooks (however admittedly also here sometimes the notebooks are not loaded immediately).
Kind regards,
Dominique

Cool, thanks!


Update anonymous-read-access-configure.md

AllowBlobPublicAccess should be changed to AllowBlobAnonymousAccess in the entire document as this display name is already changed in Azure Portal but the document the not updated with AllowBlobAnonymousAccess
Currently there are so many places in the document which needs to be changed with AllowBlobAnonymousAccess instead of AllowBlobPublicAccess

@Ramyaharinarthini  - looks like the system doesn't have a signed CLA for you. please see the instructions here: https://github.com/MicrosoftDocs/azure-docs/pull/115865#issuecomment-1758613104
@akashdubey-ms - after the CLA is signed, can you review?
NOTE: a quick glance shows a number of disallowed or odd formatting changes that will need to be fixed before we can merge, and including the validation warnings in the Validation comment above.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

still holding on this until the CLA is signed

I'm closing this PR because the CLA has not been signed.


node-open opens Safari even though Chrome is my default browser in mac

I found this issue when running Yeoman server

FWIW, when you use sudo, then open is probably going to use Root's default browser, which if it hasn't been set, is safari.

Ah, makes sense, thx!
9 nov. 2016 kl. 05:53 skrev mrstux <notifications<EMAIL_ADDRESS>FWIW, when you use sudo, then open is probably going to use Root's default browser, which if it hasn't been set, is safari.

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/pwnall/node-open/issues/4#issuecomment-259333699, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACdMRbG-NheTLrKR3geFOlzOIx_7R8l5ks5q8VG_gaJpZM4ARTEf.

Seeing the same issue on osSierra 10.12.1. When I do open('http://localhost:${port}', 'chrome') nothing opens up in chrome. I looked at the code and it had it as google-chrome but trying that still does not open my page in chrome.


question about reference in spanish

For changing the header text on the reference page in Spanish
https://p5js.org/es/reference/
I modified the file dist/es/reference/assets/js/reference.js
That allowed me to change the header text, but it still says "Reference"
and I can't figure out how to translate the subtitles, such as "Creating & Reading"

I pushed a temporary fix but I think the ref build in general needs to be rethought in dealing with translations. The file you want to edit is src/es/reference/assets/js/reference.js

sorry, I wasn't very clear. to translate the section titles, just add entries as shown here with the english version and spanish version and they will auto-replace.

@montoyamoraga does this resolve the issue?

yes! sorry I thought there was still an issue, tried it just now and it worked perfectly, thanks @lmccart !


Feature/custom email headers

Codecov Report

Merging #42 into master will increase coverage by 1.64%.
The diff coverage is 75%.

@@             Coverage Diff             @@
##             master     #42      +/-   ##
===========================================
+ Coverage     82.96%   84.6%   +1.64%
  Complexity      258     258
===========================================
  Files            27      27
  Lines           851     851
  Branches        111     111
===========================================
+ Hits            706     720      +14
+ Misses           68      55      -13
+ Partials         77      76       -1

Impacted Files
Coverage Δ
Complexity Δ

...imov/springboot/mail/utils/EmailToMimeMessage.java
73.07% <75%> (ø)
12 <2> (ø)
:x:

...ice/defaultimpl/PriorityQueueSchedulerService.java
80.76% <0%> (+5.38%)
49% <0%> (ø)
:x:

Continue to review full report at Codecov.

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


New Updates Broken Again

The Arrows to Scroll through Newly Updated Anime broke.
Also KissAnime now uses https.

The style should be fixed now. I don't know what might cause the arrows to break though.

KissAnime loves arrows apparently, lol


Support for Azure AD Pod Identity in the Helm Chart

This pull request adds support for the Azure AD Pod Identity authentication in the Helm Chart deployment.
It fixes issue #33

Looks good.  Couple things:

Update the Readme.md section on Aad Pod Identity to only show the pod identity info.
Run make gen-deploy to generate the deploy/adapter.yaml file and delete the deploy/adapter-aad-pod-identity.yaml file.  This will make the circle ci build pass.


Smax fo iniilalizationt of params for PDM soil bucket.

This implementatation is corrected by setting the cmin and cmax for all Hrus. For PDM the Smax is calculated based upon pdf and bsoil cmin cmax params. PDF setted by the thos params they explain the smax


DBZ-4987 Propagate up all exceptions from LCR handler

https://issues.redhat.com/browse/DBZ-4987

@Naros Applied, thanks


conventions

some syntax-related things should be searchable that are not auto-parsed from the reader table.  The clojure cheatsheet categorizes these as special characters.

, comma (whitespace)
/ namespace separator
*foo* earmuffs (enforced naming convention for dynamic vars)
foo# auto gensym
foo? predicate naming convention
foo! side-effecting (unsafe?) naming convention

conventions are syntax-related, so I added them to syntax entries


Async HTTP client fails after downloading 15709 bytes (IDFGH-11191)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
5.1.1
Espressif SoC revision.
ESP32-D0WD-V3 (revision v3.1)
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32 ESP-WROOM-32
Power Supply used.
USB
What is the expected behavior?
The HTTP client should download and read 48000 bytes into the buffer.
What is the actual behavior?
When is_async is set to true, the download always stops after 15709 bytes with the error transport_base: esp_tls_conn_read error, errno=No more processes. I tried increasing the timeout to a very large number (500000 ms), but the result is the same.
Steps to reproduce.
main.c:
#include <freertos/FreeRTOS.h>
#include <freertos/event_groups.h>
#include <freertos/task.h>
#include <freertos/queue.h>

#include <esp_log.h>
#include <esp_netif.h>
#include <esp_system.h>
#include <esp_wifi.h>
#include <esp_tls.h>
#include <esp_http_client.h>

#include <nvs_flash.h>
#include <sys/param.h>
#include <driver/gpio.h>

#define MAXLEN 48000

#define WIFI_SSID       CONFIG_ESP_WIFI_SSID
#define WIFI_PASSWORD   CONFIG_ESP_WIFI_PASSWORD
#define WIFI_MAX_RETRY  CONFIG_ESP_MAXIMUM_RETRY

#define WIFI_CONNECTED_BIT  BIT0
#define WIFI_ERROR_BIT      BIT1

extern const char git_srht_cert_pem_start[] asm("_binary_git_srht_cert_pem_start");
extern const char git_srht_cert_pem_end[]   asm("_binary_git_srht_cert_pem_end");

static const char* TAG = "app";

static esp_http_client_handle_t http_client;

static esp_err_t http_evt_handler(esp_http_client_event_t *evt)
{
	static int read_len;

	switch(evt->event_id) {
		case HTTP_EVENT_ON_HEADER:
			ESP_LOGI(TAG, "HTTP_EVENT_ON_HEADER, key=%s, value=%s",
			              evt->header_key,
			              evt->header_value);
			break;
		case HTTP_EVENT_ON_DATA:
			int copy_len = 0;
			if (evt->user_data) {
				copy_len = MIN(evt->data_len, (MAXLEN - read_len));
				if (copy_len) {
					memcpy(evt->user_data + read_len, evt->data, copy_len);
					read_len += copy_len;
				}
				ESP_LOGI(TAG, "HTTP response size = %d bytes", read_len);
			}
			break;
		case HTTP_EVENT_ON_FINISH:
			ESP_LOGI(TAG, "HTTP_EVENT_ON_FINISH");
			read_len = 0;
			break;
		case HTTP_EVENT_DISCONNECTED:
			ESP_LOGI(TAG, "HTTP_EVENT_DISCONNECTED");
			int mbedtls_err = 0;
			esp_err_t err = esp_tls_get_and_clear_last_error((esp_tls_error_handle_t) evt->data,
			                                                 &mbedtls_err,
			                                                 NULL);
			if (err != 0) {
				ESP_LOGE(TAG, "Last esp error code: 0x%x", err);
				ESP_LOGI(TAG, "Last mbedtls failure: 0x%x", mbedtls_err);
			}
			read_len = 0;
			break;
		default:
			break;
	}
	return ESP_OK;
}

static int wifi_retry_num = 0;
static EventGroupHandle_t wifi_evt_group;

static void wifi_evt_handler(void *arg, esp_event_base_t eb, int32_t id, void *data)
{
	if (eb == WIFI_EVENT && id == WIFI_EVENT_STA_DISCONNECTED) {
		if (wifi_retry_num < WIFI_MAX_RETRY) {
			esp_wifi_connect();
			wifi_retry_num++;
			ESP_LOGI(TAG, "trying to connect to AP...");
		} else {
			ESP_LOGE(TAG,"connection to AP failed");
			xEventGroupSetBits(wifi_evt_group, WIFI_ERROR_BIT);
		}
	} else if (eb == IP_EVENT && id == IP_EVENT_STA_GOT_IP) {
		ip_event_got_ip_t* evt = (ip_event_got_ip_t*) data;
		ESP_LOGI(TAG, "connected to AP with ip:" IPSTR, IP2STR(&evt->ip_info.ip));
		wifi_retry_num = 0;
		xEventGroupSetBits(wifi_evt_group, WIFI_CONNECTED_BIT);
	}
}

static inline void wifi_connect(void)
{
	wifi_evt_group = xEventGroupCreate();
	esp_netif_create_default_wifi_sta();

	wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
	ESP_ERROR_CHECK(esp_wifi_init(&cfg));

	esp_event_handler_instance_t any_id;
	ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT,
	                                                    ESP_EVENT_ANY_ID,
	                                                    &wifi_evt_handler,
	                                                    NULL,
	                                                    &any_id));

	esp_event_handler_instance_t got_ip;
	ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT,
	                                                    IP_EVENT_STA_GOT_IP,
	                                                    &wifi_evt_handler,
	                                                    NULL,
	                                                    &got_ip));

	wifi_config_t wifi_config = {
		.sta = {
			.ssid = WIFI_SSID,
			.password = WIFI_PASSWORD,
			.threshold.authmode = WIFI_AUTH_WPA2_PSK
		},
	};

	ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA));
	ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_STA, &wifi_config) );

	ESP_ERROR_CHECK(esp_wifi_start());
	ESP_ERROR_CHECK(esp_wifi_connect());

	xEventGroupWaitBits(wifi_evt_group,
	                    WIFI_CONNECTED_BIT | WIFI_ERROR_BIT,
	                    pdFALSE,
	                    pdFALSE,
	                    portMAX_DELAY);

	ESP_LOGI(TAG, "wifi station initialized");
}

void app_main(void)
{
	esp_err_t rc = nvs_flash_init();
	if (rc == ESP_ERR_NVS_NO_FREE_PAGES || rc == ESP_ERR_NVS_NEW_VERSION_FOUND) {
		ESP_ERROR_CHECK(nvs_flash_erase());
		ESP_ERROR_CHECK(nvs_flash_init());
	}

	ESP_ERROR_CHECK(esp_event_loop_create_default());
	ESP_ERROR_CHECK(esp_netif_init());

	wifi_connect();

	uint8_t *buf = malloc(sizeof(buf[0]) * MAXLEN);

	esp_http_client_config_t config = {
		.url = "https://git.sr.ht/~sadeep/epd-test-docs/blob/master/doc-1.ebm",
		.is_async = true,
		.timeout_ms = 5000,
		.user_data = buf,
		.event_handler = http_evt_handler,
		.cert_pem = git_srht_cert_pem_start
	};

	http_client = esp_http_client_init(&config);

	for(;;) {
		rc = esp_http_client_perform(http_client);
		if (rc != ESP_ERR_HTTP_EAGAIN)
			break;
		vTaskDelay((TickType_t) 100 / portTICK_PERIOD_MS);
	}

	if (rc == ESP_OK)
		ESP_LOGI(TAG, "HTTPS Status = %d, content_length = %"PRId64,
		              esp_http_client_get_status_code(http_client),
		              esp_http_client_get_content_length(http_client));
	else
		ESP_LOGE(TAG, "page download error: %s", esp_err_to_name(rc));
}

Debug Logs.
I (7554) app: connected to AP with ip:<IP_ADDRESS>
I (7564) app: wifi station initialized
D (7564) HTTP_CLIENT: Begin connect to: https://git.sr.ht:443
D (7574) esp-tls: host:git.sr.ht: strlen 9
D (7584) esp-tls: [sock=54] Resolved IPv4 address: <IP_ADDRESS>
D (7584) esp-tls: [sock=54] Connecting to server. HOST: git.sr.ht, Port: 443
D (7594) esp-tls: connecting...
I (7954) wifi:<ba-add>idx:1 (ifx:0, 9c:53:22:fc:16:20), tid:4, ssn:0, winSize:64
D (7974) esp-tls: handshake in progress...
D (7974) HTTP_CLIENT: Connection not yet established
D (8074) HTTP_CLIENT: Begin connect to: https://git.sr.ht:443
...
D (9634) HTTP_CLIENT: Begin connect to: https://git.sr.ht:443
D (9634) esp-tls: handshake in progress...
D (9634) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:1 posted to loop 0x3ffbb1d8
D (9634) HTTP_CLIENT: Write header[3]: GET /~sadeep/epd-test-docs/blob/master/doc-1.ebm HTTP/1.1
User-Agent: ESP32 HTTP Client/1.0
Host: git.sr.ht
Content-Length: 0
D (9654) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:2 posted to loop 0x3ffbb1d8
E (10004) transport_base: esp_tls_conn_read error, errno=No more processes
W (10004) HTTP_CLIENT: Connection timed out before data was ready!
E (10324) transport_base: esp_tls_conn_read error, errno=No more processes
W (10324) HTTP_CLIENT: Connection timed out before data was ready!
E (10584) transport_base: esp_tls_conn_read error, errno=No more processes
W (10584) HTTP_CLIENT: Connection timed out before data was ready!
D (10944) HTTP_CLIENT: on_message_begin
D (10944) HTTP_CLIENT: HEADER=Server:nginx
I (10944) app: HTTP_EVENT_ON_HEADER, key=Server, value=nginx
D (10944) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (10954) HTTP_CLIENT: HEADER=Date:Thu, 05 Oct 2023 00:04:11 GMT
I (10964) app: HTTP_EVENT_ON_HEADER, key=Date, value=Thu, 05 Oct 2023 00:04:11 GMT
D (10974) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (10984) HTTP_CLIENT: HEADER=Content-Type:application/octet-stream
I (10984) app: HTTP_EVENT_ON_HEADER, key=Content-Type, value=application/octet-stream
D (10994) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11004) HTTP_CLIENT: HEADER=Content-Length:48000
I (11014) app: HTTP_EVENT_ON_HEADER, key=Content-Length, value=48000
D (11014) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11024) HTTP_CLIENT: HEADER=Connection:keep-alive
I (11034) app: HTTP_EVENT_ON_HEADER, key=Connection, value=keep-alive
D (11044) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11054) HTTP_CLIENT: HEADER=Content-Disposition:attachment; filename=doc-1.ebm
I (11054) app: HTTP_EVENT_ON_HEADER, key=Content-Disposition, value=attachment; filename=doc-1.ebm
D (11064) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11074) HTTP_CLIENT: HEADER=Cache-Control:no-cache
I (11084) app: HTTP_EVENT_ON_HEADER, key=Cache-Control, value=no-cache
D (11094) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11104) HTTP_CLIENT: HEADER=Content-Security-Policy:upgrade-insecure-requests; sandbox; frame-src 'none'; media-src 'none'; script-src 'none'; object-src 'none'; worker-src 'none';
I (11114) app: HTTP_EVENT_ON_HEADER, key=Content-Security-Policy, value=upgrade-insecure-requests; sandbox; frame-src 'none'; media-src 'none'; script-src 'none'; object-src 'none'; worker-src 'none';
D (11134) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11144) HTTP_CLIENT: HEADER=X-Clacks-Overhead:GNU Terry Pratchett
I (11154) app: HTTP_EVENT_ON_HEADER, key=X-Clacks-Overhead, value=GNU Terry Pratchett
D (11164) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11174) HTTP_CLIENT: HEADER=Strict-Transport-Security:max-age=31536000; includeSubDomains; preload
I (11174) app: HTTP_EVENT_ON_HEADER, key=Strict-Transport-Security, value=max-age=31536000; includeSubDomains; preload
D (11194) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11204) transport_base: remain data in cache, need to read again
D (11204) HTTP_CLIENT: HEADER=Permissions-Policy:interest-cohort=()
I (11214) app: HTTP_EVENT_ON_HEADER, key=Permissions-Policy, value=interest-cohort=()
D (11224) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11234) HTTP_CLIENT: HEADER=Content-Security-Policy:default-src 'none'; style-src 'self' 'unsafe-inline'; img-src * data:; script-src 'self' 'unsafe-inline'
I (11244) app: HTTP_EVENT_ON_HEADER, key=Content-Security-Policy, value=default-src 'none'; style-src 'self' 'unsafe-inline'; img-src * data:; script-src 'self' 'unsafe-inline'
D (11264) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:3 posted to loop 0x3ffbb1d8
D (11274) HTTP_CLIENT: http_on_headers_complete, status=200, offset=676, nread=676
D (11284) HTTP_CLIENT: http_on_body 349
I (11284) app: HTTP response size = 349 bytes
D (11284) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:4 posted to loop 0x3ffbb1d8
D (11294) HTTP_CLIENT: content_length = 48000
D (11304) HTTP_CLIENT: data_process=349, content_length=48000
D (11304) transport_base: remain data in cache, need to read again
D (11314) HTTP_CLIENT: http_on_body 512
I (11314) app: HTTP response size = 861 bytes
...
D (12204) HTTP_CLIENT: data_process=15197, content_length=48000
D (12214) transport_base: remain data in cache, need to read again
D (12224) HTTP_CLIENT: http_on_body 512
I (12224) app: HTTP response size = 15709 bytes
D (12234) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:4 posted to loop 0x3ffbb1d8
D (12244) HTTP_CLIENT: data_process=15709, content_length=48000
E (12244) transport_base: esp_tls_conn_read error, errno=No more processes
D (12354) HTTP_CLIENT: data_process=15709, content_length=48000
E (12354) transport_base: esp_tls_conn_read error, errno=No more processes
D (12454) HTTP_CLIENT: data_process=15709, content_length=48000
E (12564) transport_base: esp_tls_conn_read error, errno=No more processes
D (12664) HTTP_CLIENT: data_process=15709, content_length=48000
E (12874) transport_base: esp_tls_conn_read error, errno=No more processes
D (12974) HTTP_CLIENT: data_process=15709, content_length=48000
D (14894) transport_base: remain data in cache, need to read again
...
D (14894) HTTP_CLIENT: data_process=15709, content_length=48000
V (19914) transport_base: poll_read: select - Timeout before any socket was ready!
D (20014) HTTP_CLIENT: data_process=15709, content_length=48000
V (25024) transport_base: poll_read: select - Timeout before any socket was ready!
D (25124) HTTP_CLIENT: data_process=15709, content_length=48000
D (87554) HTTP_CLIENT: data_process=15709, content_length=48000
D (88944) HTTP_CLIENT: data_process=15709, content_length=48000
D (88944) HTTP_CLIENT: Read finish or server requests close
I (88944) app: HTTP_EVENT_ON_FINISH
D (88944) event: no handlers have been registered for event ESP_HTTP_CLIENT_EVENT:5 posted to loop 0x3ffbb1d8
I (88954) app: HTTPS Status = 200, content_length = 48000
I (88964) main_task: Returned from app_main()

More Information.
If I set is_async to false in the exact same code above, it works (downloads the full 48000-byte file).

Hello @smadurange
Apologies for the delayed response. I have created a patch to fix this issue. Can you please try with the following patch and let me know if it solves the issue for you.
Thanks!
IDFGH_11191.txt

Hello @smadurange
Any updates on this issue? Does the patch I shared works for you?

@hmalpani I do not have access to the chip at the moment. I will test this next week and get back to you.

@hmalpani I tried with the patch, now I get the full 48KB file. However, the HTTP_EVENT_ON_DATA event doesn't seem to stop firing after downloading 48KB. I continue to see the log line I (19828) app: HTTP response size = 48000 bytes. I'm guessing the rc != ESP_ERR_HTTP_EAGAIN condition doesn't evaluate to true in the following for loop in the main function:
for(;;) {
    rc = esp_http_client_perform(http_client);
    if (rc != ESP_ERR_HTTP_EAGAIN)
        break;
    vTaskDelay((TickType_t) 100 / portTICK_PERIOD_MS);
}

Hello @smadurange
I think the file you are downloading have size greater than 48KB. In that case, client will continue to download the file. If you want to download only 48KB, you can use partial download. Or you can handle the 48KB downloaded chunk in the event handler. Hope this helps.

Hello @smadurange
I think the file you are downloading have size greater than 48KB. In that case, client will continue to download the file. If you want to download only 48KB, you can use partial download. Or you can handle the 48KB downloaded chunk in the event handler. Hope this helps.

Yes, you are right. Used the wrong file. So, this patch fixes my original issue. Thanks!


continuing training when dora_wd is enabled remains unfixed.

use --network_weights
RuntimeError: a leaf Variable that requires grad is being used in an in-place operation.

algo=loha

2.3.0.dev10 should fix this issue
use
pip install -U --pre lycoris-lora>=2.3.0.dev10 to install latest dev

请问青叶佬，2.3.0是目前最新版吗？我也出现了同样的问题

I am encountering the same issue discussed previously and wanted to confirm if the current solution is indeed to update to the latest version 2.3.0 of lycoris-lora to address this problem? I wish to make sure I'm taking the correct steps to avoid any further unnecessary complications. Thank you for your time and assistance!

I am encountering the same issue discussed previously and wanted to confirm if the current solution is indeed to update to the latest version 2.3.0 of lycoris-lora to address this problem? I wish to make sure I'm taking the correct steps to avoid any further unnecessary complications. Thank you for your time and assistance!

2.3.0 is now in dev
It is not actual "solution" and need users' confirmation on "if it is working"

Since there is no updates, I will close this issue at first.
Reopen if this is still not resovled


Update record.rst

Fixed the wording of the documentation. It should explains it better and remove the label context of the document, since it is not truly relavent.

All comments have been addressed in the new commit.


[flutter_tools] create NotifyingLogger at the top level when running flutter run --machine or flutter attach --machine

Description
Removes dependency on injecting additional logger with zones

Does this fix a bug?

Yes, we're currently missing a notification from the web devices when they output their web socket URI. This broke when I moved logger injection out of the Zone, since I missed that IDEs actually use flutter run --machine and not flutter daemon.


Question about 【composite type="particle】

Hello.
I would like to use composite type="particle" to display multiple spheres in a simulation environment.
If I use "particle", I would consider all the spheres as an aggregate and define the xml file as follows for example
<mujoco model="mug with balls">
  <worldbody>
    <composite type="particle" count="5 5 5" spacing="0.011" offset=".005 .003 .15">
      <geom size=".005" rgba=".8 .2 .1 1" solref=".005 1"/>
    </composite>
  </worldbody>
</mujoco>

My question is,
if I use composite type="particle", can I specify the position of each individual sphere?
Also, I think the joints of the spheres are only SLIDE and not rotated.
Is it possible to set the joints?
Screencast from 2022年12月10日 18時56分06秒.webm
Thank you in advance.

Hi @miyukin73,
It is unfortunately not possible at the moment to set the position of each individual particles. A possible workaround would be to load the model you proposed, then save it from MuJoCo and edit the positions by hand. When you save it, you will see that the composite is expanded into each individual particle. Does that make sense?
Yes it's possible to set the joints, see https://github.com/deepmind/mujoco/blob/main/model/composite/particle_free.xml and  https://github.com/deepmind/mujoco/blob/main/model/composite/particle_free2d.xml


Rename onResponse to onAfterResponse (breaking change in Elysia 1.1)

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
The latest version of Elysia renamed the lifecycle method onResponse to onAfterResponse
Here is the diff that solved my problem:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index de71b96..11912dd 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -114,7 +114,7 @@ function into(this: Logger, options: ElysiaLoggerOptions = {}) {
       .onRequest((ctx) => {
         ctx.store = { ...ctx.store, startTime: performance.now() };
       })
-      .onResponse({ as: "global" }, (ctx) => {
+      .onAfterResponse({ as: "global" }, (ctx) => {
         const log = getLog(ctx);

         if (log.level == "silent") {

Let me if know if I should open a PR to fix this issue.

actually, i just noticed there's a new version of elysia-logger
for anyone coming here you should just upgrade to the latest version(0.1.1 as of the writing of this comment).
i do not plan to migrate yet so i'm sticking with ^0.0.22 and this patch.
again, appreciate the good work the author has done on this project.

Hi 👋
Thank you for tracking this issue down and reporting it!
I don't currently plan to support older versions of elysia, but I am considering making one (LTS) for version 1 when version 2 (major) is released.
You'll have to stick with 0.0.22 for now


System.ArgumentException: An item with the same key has already been added. Key:

Microsoft PowerToys version
0.51.00
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 12/1/2021 12:15:26 PM
Exception:
System.ArgumentException: An item with the same key has already been added. Key: B4D3B69656E14D44865C8D818EAE47C4
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
   at PowerLauncher.SettingsReader.UpdateSettings(PowerLauncherSettings settings)
   at PowerLauncher.SettingsReader..ctor(PowerToysRunSettings settings, ThemeManager themeManager)
   at PowerLauncher.App.<>c__DisplayClass14_0.<OnStartup>b__0()
   at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
   at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

✔ Expected Behavior
I expected it to install
❌ Actual Behavior
It did not install
Other Software
No response

Duplicate of #14701

What method did you use for the original installation? Windows Store?
Could you please send a bug report?
Right-click on the PowerToys icon in the tray menu and select Report Bug

Drag and drop report into a GitHub comment.
After sending the bug report, so we can analyze what's going on, there's something you can do to fix this:
1 - Uninstall PowerToys.
2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually.
3 - Install PowerToys. (Please use the Github release for this)
Please let us know if this works for you.

@crutkas I installed a long time ago via the Github release.
Had this error when I updated via the settings
I uninstalled it.
The C:\Program Files\PowerToys directory remained after uninstalling.
Installed a new download from Github (the .exe version)
Reinstalled and received the same issue
The was generated from the bug report:
PowerToysReport_2021-12-01-23-24-19.zip
.

Great to know and help us track down a theory

@jaimecbernardo github previously and has a up to date log.

Duping this against the other issue but thank you for the logs and we will be investigating further

@jaimecbernardo github previously and has a up to date log.

We had issues with older versions that had this sort of error on not removing on uninstall before, as in https://github.com/microsoft/PowerToys/issues/11916. It's not clear why this was the case, though.
This does mean that it might have been some issue related to how the installer registered these components at install time.


feat(bridge-ui): Update disabled for ChainSelector

Before update:
Select opens but the change is not active which looks like a bug.

After the update:

Before update: Select opens but the change is not active which looks like a bug.

After the update:


kubernetes: 1.23.8 -> 1.23.9

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#changelog-since-v1238
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg eval

Not sure what the issue is with the test failure, I can't reproduce it.


v3-rc0: Ionic View doesn't work

What version of the CLI are you using? Output of ionic --version
3.0.0-rc0
Short description of the problem:
Apps uploaded using the v3 CLI are not visible in Ionic view and trying to load them using their App ID gives the error message "PLEASE ENTER A VALID APP ID".
What behavior are you expecting?
Apps show up and can be added via their App ID.
Post the output of ionic info below please
global packages:
@ionic/cli-utils : 1.0.0-rc.0
Cordova CLI      : 6.5.0
Ionic CLI        : 3.0.0-rc.0

local packages:
@ionic/app-scripts              : 1.3.6
@ionic/cli-plugin-cordova       : 1.0.0-rc.0
@ionic/cli-plugin-ionic-angular : 1.0.0-rc.0
Ionic Framework                 : ionic-angular 3.1.1

System:
Node       : v6.10.2
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

@piotrowski I am going to be releasing the next RC without resolving this issue. Neither myself nor a coworker were able to reproduce this issue. Could you please try again?

As we tested with rc1 canary this seems to have been caused by the broken ionic upload on Windows.

I experienced the same issue.  After testing it I realized there is a new ionic view app which needed to be download that shows the apps in my Pro account.


one question about clip

In the original paper of wasserstein gan, the weight has to be clipped between [-c, c]
However, I see in the code. The gradient has been clipped. Why could be gradient not weight?
Thank you in advanced.
self.gradients = gradients = tf.gradients(loss, self.network.var_list)
clipped_gradients = hgail.misc.tf_utils.clip_gradients(
gradients, self.grad_norm_rescale, self.grad_norm_clip)
self.global_step = tf.Variable(0, name='critic/global_step', trainable=False)
self.train_op = self.optimizer.apply_gradients([(g,v)
for (g,v) in zip(clipped_gradients, self.network.var_list)],
global_step=self.global_step)

Where in the code are you referring to? I clip the weight of the discriminator here, and I set the clip range here.
WGAN-GP is an improved version of WGAN, which applies a penalty term on the gradient instead of doing weight clipping. The following blog post should be helpful in showing the difference.
https://medium.com/@jonathan_hui/gan-wasserstein-gan-wgan-gp-6a1a2aa1b490


Error while using --real-time-html

I have used this command to generate the html
sudo goaccess /var/log/nginx/access.log -o report.html --real-time-html
Once the html is served via nginx rocket.js is blocking to load the html rendering
I am using cloudflare for hosting
Note: The html generated without --real-time-html works good
May i know the reason and some way to fix this
PFA, the console log for reference

I was noticing that problem today.  If you look at the debugger, you might find that it's hitting an access error.
Are you serving your site over https?  If so, you will have to specify --ws-url=wss://[domain] to goaccess, as Firefox wants to connect using "wss://" when viewing https sites.

@xobs as you said i have added --ws-url and generated the html file, but still same stuff exist

In your browser's console, what output are you getting? Please make sure port 7890 is opened and that you are using the latest version of goaccess. (As of this post, v1.2)

@allinurl 7890 is opened, also i am at the latest version 1.2

@niranjfantain In your browser's console, what output are you getting?

@allinurl and @xobs  now i am able to get the reports realtime, i have added --ssl-cert and --ssl-key


genesis: configuration updates for v1.0.2

ledger from https://github.com/spacemeshos/wiki/wiki/Genesis-ledger
updated max num units to max uint32, as node expects non-zero number there

bors merge


Fix cuda kernel for Pascal & Cuda 6/6.1

When I left the other functions to use normal atomic add it seemed like a small speedup. 4.79 it/s vs 5.23 it/s
It works by just changing the parameter to _half though.

Thanks you!

@Ph0rk0z @johnsmith0031
Is line 634 supposed to say
atomicAdd(&mul2[n_cols * height * 8 + n_rows], res);

rather than
atomicAddHalf(&mul2[n_cols * height * 8 + n_rows], res);

?

Yes just fixed it.

Ooops!


For heavy RPC functions, Implement some go routines to speed up the queries.

#32 should help with this


  They are plain text files with the first line serving as a filename.  How can I import them into farmerbb/Notepad under Android 8 Oreo?  I've connected the new phone to the PC via USB.  I can see the Android's file structure, but don't see a data directory for Notepad.

Update: Copying these plain-text memo files to the Android's Download folder, then using the "import notes" item in the dot-dot-dot menu actually brought them into Notepad, however these files weren't moved out of the Download folder, which I'll probably want to leave empty for other uses.  Is there another folider I can move them to?  Can I create a folder than Notepad will look for?

I don't think this is an issue, please close.
You wanted to import and did that.
After that, you manually delete from Download and if needed export to where you want.
Notes are in app data, export is optional.

I don't think this is an issue, please close.
You wanted to import and did that.
After that, you manually delete from Download and if needed export to where you want.
Notes are in app data, export is optional.

NotePad did not create a folder under Phone\Android\data...    Notes remain in Phone\Download, so it’s still an issue.
From: gitgt<EMAIL_ADDRESS>Sent: Wednesday, January 27, 2021 2:08 AM
To: farmerbb/Notepad<EMAIL_ADDRESS>Cc: Debbahadur<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [farmerbb/Notepad] Importing (#90)
I don't think this is an issue, please close.
You wanted to import and did that.
After that, you manually delete from Download and if needed export to where you want.
Notes are in app data, export is optional.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/farmerbb/Notepad/issues/90#issuecomment-768177930 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIY5A45IVG2BAMSGK4JZR3S37QZ3ANCNFSM4VKWZRWQ .  https://github.com/notifications/beacon/ASIY5A5A42M54LO2UDQYVXDS37QZ3A5CNFSM4VKWZRW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXEXOCQ.gif

NotePad did not create a folder under Phone\Android\data...    Notes remain in Phone\Download, so it’s still an issue.
From: gitgt<EMAIL_ADDRESS>Sent: Wednesday, January 27, 2021 2:08 AM
To: farmerbb/Notepad<EMAIL_ADDRESS>Cc: Debbahadur<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [farmerbb/Notepad] Importing (#90)
I don't think this is an issue, please close.
You wanted to import and did that.
After that, you manually delete from Download and if needed export to where you want.
Notes are in app data, export is optional.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/farmerbb/Notepad/issues/90#issuecomment-768177930 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASIY5A45IVG2BAMSGK4JZR3S37QZ3ANCNFSM4VKWZRWQ .  https://github.com/notifications/beacon/ASIY5A5A42M54LO2UDQYVXDS37QZ3A5CNFSM4VKWZRW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXEXOCQ.gif


Configuration

Credentials and corp/sites config should be broken into its own file and not committed to versioning so that updates from git are more streamlined -- and secure.

Hi @darrow, thanks for highlighting this, it's a great point. The script does also read config/credentials from environment variables as an alternative to hard coding them in the script itself. But adding support for a config file and depricating the in-script varaibles makes sense.

Finally made this happen. See this release https://github.com/signalsciences/SigSciApiPy/releases/tag/0.1.0


Bank Charges, Conversion Rate, Conversion Rate Diff fields is accepting character as input

Describe the bug
When invoice payment is recieved and it's status is changed to Paid, then some fields have to be filled with data manually.
Following fields should only accept digits as input, but they  are also accepting character as input.

Bank Charges
Conversion Rate
Conversion Rate Diff

Refere screenshot for reference

To Reproduce

Go to Finance
Click on Invoices
Click on Add  Invoice, fill the form and select Amount currency as US dollar, click on Save button
Click on the Project available under Project column
Change status fro sent to paid

Expected behavior
The fileds Bank Charges, Conversion Rate, Conversion Rate Diff should only accept  number with decimal values.

The issue has been fixed plese refer screenshot


AMBARI-24673 The operation 'Install HDP-{$version} version' change name after ending and page reloading

How was this patch tested?
21817 passing (31s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4038/
Test PASSed.


documentation slightly outdated for drizzle setup

Currently following the instructions to use this library with drizzle.
the schema example is:
import { sqliteTable, int, text } from 'drizzle-orm/sqlite-core';

export const groceries = sqliteTable('groceries', {
	id: int('id').primaryKey({ autoIncrement: true }),
	name: text('name').notNull(),
});

But in the latest version of drizzle this gives you a deprecated warning.  The new way to do this would be:
export const groceries = sqliteTable(
	'groceries',
	{
		id: int().primaryKey({ autoIncrement: true }),
		name: text().notNull()
	},
	() => []
);

Thanks for writing this library it looks cool!

Thanks for the heads-up. Would you mind opening a pull request with these changes?

I'm not seeing any deprecation warnings when testing the current example. Could you make a fork of sqlocal-drizzle-hello-world that demonstrates the problem?


Add Reset support to the simulator

This adds support for reset operations to the simulator.  In doing so, it also removes the restriction that classical bits can only be written once.
This change is necessary to support the tests for wire cutting.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

36 of 36 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 88.106%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
2052

Relevant Lines:
2329

💛  - Coveralls


also scrub guid, date, and time string keys

fixes #1096

I think that it still does not work 100% as expected. I think many of the scrubbing works on the JSON level, so if you have a custom type that works like a date (e.g. Node.Instant), it works as expected. In my case it is a DomainId that can be a Guid.
But in the contract resolver it works on the CLR types.

@SebastianStehle if u can share a failing test as a PR i can check if it is feasible to work OOTB

Sure, I can do that after Christmas. I think the use case would he a type that is serialized to a string and either represents a datetime or guid. Especially value types that are convertible to strings seem to be handled by argon already

does ScrubInlineGuids work for you ?https://github.com/VerifyTests/Verify/blob/main/docs/guids.md#inline-guids


[verilog] Extend section on comments with header-style

This PR adds guidance on how header-style comments should look like in SystemVerilog.

Ok I added some examples. Let me know if you have other suggestions or feel that one of them is too restrictive.

LGTM.   (Is it poor form to volunteer a review?)

LGTM. (Is it poor form to volunteer a review?)

Not at all, it's much appreciated.

Ok, I added a few more examples that are permissible. PTAL...

Ok, another round up for review.

Thanks for your comments, seems like we converged on this one. I continue and merge this in now.


make private method protected

This is useful when you want to override this method, for example when used with imagecache to set it to look for images in AWS S3 as well.

Thanks.


ACME_PRIVATE_KEY format

Hi there!
I'm trying to create some new certs with an existing LE account and I'm unable to get this work.
The following error message I got every time:
Reusing existing ACME account
lemur_1     | [2021-03-16 23:04:15,158] ERROR in service: {'message': 'Exception minting certificate', 'issuer': 'R3', 'cn': 'lemur-test.mydomain.com'}
lemur_1     | Traceback (most recent call last):
lemur_1     |   File "/opt/lemur/lemur/certificates/service.py", line 365, in create
lemur_1     |     cert_body, private_key, cert_chain, external_id, csr = mint(**kwargs)
lemur_1     |   File "/opt/lemur/lemur/certificates/service.py", line 315, in mint
lemur_1     |     cert_body, cert_chain, external_id = issuer.create_certificate(csr, kwargs)
lemur_1     |   File "/opt/lemur/lemur/plugins/lemur_acme/plugin.py", line 242, in create_certificate
lemur_1     |     return acme_dns_challenge.create_certificate(csr, issuer_options)
lemur_1     |   File "/opt/lemur/lemur/plugins/lemur_acme/challenge_types.py", line 191, in create_certificate
lemur_1     |     acme_client, registration = self.acme.setup_acme_client(authority)
lemur_1     |   File "/opt/venv/lib/python3.8/site-packages/retrying.py", line 49, in wrapped_f
lemur_1     |     return Retrying(*dargs, **dkw).call(f, *args, **kw)
lemur_1     |   File "/opt/venv/lib/python3.8/site-packages/retrying.py", line 212, in call
lemur_1     |     raise attempt.get()
lemur_1     |   File "/opt/venv/lib/python3.8/site-packages/retrying.py", line 247, in get
lemur_1     |     six.reraise(self.value[0], self.value[1], self.value[2])
lemur_1     |   File "/opt/venv/lib/python3.8/site-packages/six.py", line 703, in reraise
lemur_1     |     raise value
lemur_1     |   File "/opt/venv/lib/python3.8/site-packages/retrying.py", line 200, in call
lemur_1     |     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
lemur_1     |   File "/opt/lemur/lemur/plugins/lemur_acme/acme_handlers.py", line 162, in setup_acme_client
lemur_1     |     regr = messages.RegistrationResource.json_loads(existing_regr)
lemur_1     |   File "/opt/venv/lib/python3.8/site-packages/josepy/interfaces.py", line 180, in json_loads
lemur_1     |     loads = json.loads(json_string)
lemur_1     |   File "/usr/lib/python3.8/json/init.py", line 341, in loads
lemur_1     |     raise TypeError(f'the JSON object must be str, bytes or bytearray, '
lemur_1     | TypeError: the JSON object must be str, bytes or bytearray, not dict
My lemur.conf.py contains:
(I changed the sensitive data for this example)
ACME_URL = "https://acme-v02.api.letsencrypt.org"
ACME_EMAIL =<EMAIL_ADDRESS>ACME_DIRECTORY_URL = "https://acme-v02.api.letsencrypt.org/directory"
ACME_REGR = {"body": {}, "uri": "https://acme-v02.api.letsencrypt.org/acme/acct/11111111"}
ACME_PRIVATE_KEY = """
{
"kty": "RSA",
"n": "yr1qBwHizA7ME_iV32bY10ILp.....",
"e": "AQAB",
"d": "llBlYhil3I.....",
"p": "-5LW2Lewogo.........",
"q": "zk6dHqHfHksd.........",
"dp": "qfe9fFIu3mu.......",
"dq": "cXFO-loeOyU.......",
"qi": "AfK1sh0_8sLTb..........."
}
"""
All of my values come from letsencrypt regr.json and private_key.json
I've also tried different format like ACME_PRIVATE_KEY = '{}' or ACME_PRIVATE_KEY = {} but always the same error msg.
The certificate generation works fine if I'm not defining the ACME_ values in the lemur.conf.py however my goal is to use an existing LE account.
Any help is appreciated!
Thanks,
JK

Hi @kojraai<
I suspect ACME_REGR might be causing this, since it is expected to be a string, not dict.
consider:
ACME_REGR = `{}`
ACME_PRIVATE_KEY = '{}'

All the best of luck.


Implement PrivateMessageCommand.cs

Possibly running into the same issues as the /nudge command. Not confident that Clients.Users is working.


Add 3 New Projects

This MR adds three new projects found on GitHub.com.

Thanks @carlewis ! Good typo find 👍 .

@carlewis You able to check this?

@carlewis You able to check this again please?

No problem, approved


Sanitize x-forwareded-for header for edge proxies

Fixes #7679

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-dashboard.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-dashboard

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-dashboard.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-dashboard

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-dashboard.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-dashboard

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-dashboard.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-dashboard

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-mixer-no_auth

prow/e2e-bookInfoTests-v1alpha3.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-dashboard.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-dashboard

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-mixer-no_auth

prow/e2e-bookInfoTests-v1alpha3.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
d3c6a530f34349274a0b7e837c1b130733a29970
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

As discussed with @PiotrSikora , setting xff_num_trusted_hops does not strip/sanitize the x-forwarded-for header, it just tells Envoy which client ip address to trust. We need an Envoy config to strip this header, possibly other malicios header.
Will hold this until 1.0.2.

Was this ever going to be done? How do I get my containers to see the user's IP? There are a ton of open issue asking for this basic functionality, preserving XFF from the edge is a no-brainer. I had to pull my entire k8s cluster because we lost basic logging information about our users. I know envoy has the option to do this, but I've yet to see Istio support it. This was supposed to be an easy add as per https://github.com/istio/old_issues_repo/issues/22#issuecomment-305446536 back in June 2017.

Hi Michael,
For some reason I cannot see your post on github. I am not sure I
understand, do you need to strip or to preserve? What is your topology. I
need more details.
Thanks,
Andra
On Thu, Oct 18, 2018 at 9:02 AM Michael P. Johnson<EMAIL_ADDRESS>wrote:

Was this ever going to be done? How do I get my containers to see the
user's IP? There are a ton of open issue asking for this basic
functionality, preserving XFF from the edge is a no-brainer. I had to pull
my entire k8s cluster because we lost basic logging information about our
users. I know envoy has the option to do this, but I've yet to see Istio
support it. This was supposed to be an easy add as per istio/old_issues_repo#22
(comment)
https://github.com/istio/old_issues_repo/issues/22#issuecomment-305446536
back in June 2017.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/8001#issuecomment-431066026, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKYSOFsDb4hXtk69DgLpArguCKx4_vVYks5umKX6gaJpZM4WAmz7
.


Add github actions

This contains the work of #436 with minor fixes. Moving this into a PR from a local branch causes the github actions to execute even though this isn't merged yet.
Resolves #436

We can use https://github.com/taiki-e/pin-project/pull/117/files#diff-3515bd2b4297af2de6456cf6df7c9f4cR1-R10 to integrate GA with bors.

Appveyor is lagging behind but should finish eventually, I think I'm still not able to merge this until travis is removed though. Preferably only bors would be required.

I think we might have to nuke t he CI and merge this directly rather than fixing the CI

I agree with @Dylan-DPC. The whole point of the original PR is to switch from stuck CI to GA. There are PRs that are waiting for TravisCI status for weeks.

I think the problem are the branch protection rules that are defined on github and not part of the repo:

I don't have a repo with recent builds to demonstrate this unfortunately, but there should be a list of checks that are mandatory and somebody with admin access can remove travis and appveyor from there.

bors: r+

I removed Travis and appveyor from the list.
On Sat, 24 Oct 2020 at 14:56, Roman Proskuryakov<EMAIL_ADDRESS>wrote:

bors: r+
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sodiumoxide/sodiumoxide/pull/439#issuecomment-715911186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ5KBPYAFCSGHVSVGZBAJTSMLFJNANCNFSM4S5ESL6A
.

well you can remove them, but they are still in bors configuration i guess which makes things a mess.

I'm going to assume that this is configured properly (there's no way we can verify it without testing) so I will merge it manually and if any issue persists we can fix it after that. Bors won't work for this because it uses the existing configuration.

judging by results on another pr I think the config was done properly

bors is still stuck on Expected — Waiting for status to be reported at #435 and #438, I'm not sure if our bors config is matching the github actions names correctly.

Continuing this in #441


feat(referrers): API endpoint

Continuation of #415

gRPC and REST API endpoint for referrer discovery by content digest
basic (preview) CLI implementation

Business logic
The API will look for the referrers that are part of an organization to which the logged_in user has access.
Consumption examples
CLI
The CLI currently returns JSON
$ chainloop discover -d sha256:29da604ade4ddc9e35f675c7b7fc6355d0b381ca23fab5d1a0614a8ea10ea425

{
  "digest": "sha256:29da604ade4ddc9e35f675c7b7fc6355d0b381ca23fab5d1a0614a8ea10ea425",
  "kind": "ATTESTATION",
  "downloadable": true,
  "createdAt": "2023-11-09T10:46:50.497831Z",
  "references": [
    {
      "digest": "sha1:cb798c19caec6932684aa97e279318dc64265c98",
      "kind": "GIT_HEAD_COMMIT",
      "downloadable": false,
      "createdAt": "2023-11-09T10:45:14.354807Z",
      "references": []
    },
    {
      "digest": "sha256:a23fb6ede2e10cbce94cdecbf6091848ffeb76cfe62d53dd90af6fd908fa23b8",
      "kind": "CONTAINER_IMAGE",
      "downloadable": false,
      "createdAt": "2023-11-09T10:45:14.356221Z",
      "references": []
    },
    {
      "digest": "sha256:ebe2e6ffab93f4b2e2743d3557bd094427ea059adc78cfe2cd330a72f61731e8",
      "kind": "SBOM_CYCLONEDX_JSON",
      "downloadable": false,
      "createdAt": "2023-11-09T10:45:14.353328Z",
      "references": []
    }
  ]
}

gRPC endpoint (controlplane.v1.ReferrerService.Discover)
grpcurl -H "authorization: Bearer $TOKEN_S" -d '{"digest": "sha256:29da604ade4ddc9e35f675c7b7fc6355d0b381ca23fab5d1a0614a8ea10ea425"}' localhost:9000 controlplane.v1.ReferrerService.Discover

{
  "result": {
    "digest": "sha256:29da604ade4ddc9e35f675c7b7fc6355d0b381ca23fab5d1a0614a8ea10ea425",
    "kind": "ATTESTATION",
    "downloadable": true,
    "references": [
      {
        "digest": "sha1:cb798c19caec6932684aa97e279318dc64265c98",
        "kind": "GIT_HEAD_COMMIT",
        "createdAt": "2023-11-09T10:45:14.354807Z"
      },
      {
        "digest": "sha256:a23fb6ede2e10cbce94cdecbf6091848ffeb76cfe62d53dd90af6fd908fa23b8",
        "kind": "CONTAINER_IMAGE",
        "createdAt": "2023-11-09T10:45:14.356221Z"
      },
      {
        "digest": "sha256:ebe2e6ffab93f4b2e2743d3557bd094427ea059adc78cfe2cd330a72f61731e8",
        "kind": "SBOM_CYCLONEDX_JSON",
        "createdAt": "2023-11-09T10:45:14.353328Z"
      }
    ],
    "createdAt": "2023-11-09T10:46:50.497831Z"
  }
}

HTTP endpoint (/discover/[digest])
$ curl -s -H "Authorization: Bearer $TOKEN_S" http://localhost:8000/discover/sha256:29da604ade4ddc9e35f675c7b7fc6355d0b381ca23fab5d1a0614a8ea10ea425

{
  "result": {
    "digest": "sha256:29da604ade4ddc9e35f675c7b7fc6355d0b381ca23fab5d1a0614a8ea10ea425",
    "kind": "ATTESTATION",
    "downloadable": true,
    "references": [
      {
        "digest": "sha1:cb798c19caec6932684aa97e279318dc64265c98",
        "kind": "GIT_HEAD_COMMIT",
        "downloadable": false,
        "references": [],
        "createdAt": "2023-11-09T10:45:14.354807Z"
      },
      {
        "digest": "sha256:a23fb6ede2e10cbce94cdecbf6091848ffeb76cfe62d53dd90af6fd908fa23b8",
        "kind": "CONTAINER_IMAGE",
        "downloadable": false,
        "references": [],
        "createdAt": "2023-11-09T10:45:14.356221Z"
      },
      {
        "digest": "sha256:ebe2e6ffab93f4b2e2743d3557bd094427ea059adc78cfe2cd330a72f61731e8",
        "kind": "SBOM_CYCLONEDX_JSON",
        "downloadable": false,
        "references": [],
        "createdAt": "2023-11-09T10:45:14.353328Z"
      }
    ],
    "createdAt": "2023-11-09T10:46:50.497831Z"
  }
}

Ask for a given piece of evidence
You can for example find all the attestations associated with a given commit ID
chainloop discover -d sha1:cb798c19caec6932684aa97e279318dc64265c98

{
  "digest": "sha1:cb798c19caec6932684aa97e279318dc64265c98",
  "kind": "GIT_HEAD_COMMIT",
  "downloadable": false,
  "createdAt": "2023-11-09T10:45:14.354807Z",
  "references": [
    {
      "digest": "sha256:165a6baf2eaaa8a7aab40d2a691bdcf4fa5502c9c1a7a2d0853b9bdead89cdf3",
      "kind": "ATTESTATION",
      "downloadable": true,
      "createdAt": "2023-11-09T10:46:02.815334Z",
      "references": []
    },
    {
      "digest": "sha256:29da604ade4ddc9e35f675c7b7fc6355d0b381ca23fab5d1a0614a8ea10ea425",
      "kind": "ATTESTATION",
      "downloadable": true,
      "createdAt": "2023-11-09T10:46:50.497831Z",
      "references": []
    },
    {
      "digest": "sha256:3970baaaa13318fd96836bc06d49be243804de3fdeeeed2712ab5dcbbe6d041a",
      "kind": "ATTESTATION",
      "downloadable": true,
      "createdAt": "2023-11-09T10:45:14.355553Z",
      "references": []
    },
    {
      "digest": "sha256:aa5758666b2a00f1dd8c2a7afd2455370e416c5b1044c35827c9d0ce8131f866",
      "kind": "ATTESTATION",
      "downloadable": true,
      "createdAt": "2023-11-09T10:45:42.929311Z",
      "references": []
    }
  ]

cc/ @jotadrilo

LGTM. This is a great start. What I still need is to get attestation by providing she. I will need to use chainloop download and parse the file. We get attestations today via workflow run id.

Added here https://github.com/chainloop-dev/chainloop/pull/425


Event handlers are corrupted in memory.

@nathan130200 commented on Tue Apr 07 2020
When i declare:
public Action MyEvent; first time i add an handler to event, works fine, the second and other handles that i try to add, corrupt event handler, and i cannot raise and manage this event. In debugger displays "Failed to ready memory" when i point cursor over event. An workaround i created List of event handlers manually to handle that. I need manually add EventHandlerList each event by key? Or is supposed to compile automatically generate protected field with EventHandlerList and add/remove in this?

Detalhes do documento
⚠ Não edite esta seção. É necessário para a vinculação do problema do docs.microsoft.com ➟ GitHub.

ID: caf84f7a-743b-867a-2ac5-2ab815f10c45
Version Independent ID: 9b1d1a8a-5151-8e4d-2365-7c859e1bacd8
Content: Manipulando e acionando eventos
Content Source: docs/standard/events/index.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @gewarren
Microsoft Alias: gewarren

@srvbpigh commented on Tue Apr 07 2020
Hello, @nathan130200
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

@nathan130200 commented on Tue Apr 07 2020
Note: i'm using .net core 3.1
SDK do .NET Core (refletindo qualquer global.json):
 Version:   3.1.200
 Commit:    c5123d973b

Ambiente de runtime:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.200\

Host (useful for support):
  Version: 3.1.2
  Commit:  916b5cba26

.NET Core SDKs installed:
  3.0.100 [C:\Program Files\dotnet\sdk]
  3.1.200 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

I created an example code to demostrat the problem:
using System;
using System.Diagnostics;

namespace EventHandlerCorruption
{
	static class Program
	{
		static void Main(string[] args)
		{
			var example = new ExampleEventClass();

			example.AddFirstHandler();
			Debugger.Break();

			example.AddMoreHandlers();
			Debugger.Break();
		}
	}

	public class ExampleEventClass
	{
		public event Action MyEvent;

		public ExampleEventClass()
		{

		}

		public void AddFirstHandler()
		{
			this.MyEvent += this.ExampleEventClass_MyEvent;
		}

		public void AddMoreHandlers()
		{
			this.MyEvent += this.ExampleEventClass_MyEvent1;
			this.MyEvent += this.ExampleEventClass_MyEvent2;
			this.MyEvent += this.ExampleEventClass_MyEvent3;

		}

		private void ExampleEventClass_MyEvent()
		{

		}

		private void ExampleEventClass_MyEvent1()
		{

		}

		private void ExampleEventClass_MyEvent2()
		{

		}

		private void ExampleEventClass_MyEvent3()
		{

		}
	}
}

First Debugger.Break all fine (Watch window in VS 2019):

Second Debugger.Break got problem (i added more handlers to MyEvent event):

Now i cannot fire this event anymore.

This is an error in the Visual Studio watch/debugger.

The code works, if you add a method in your class to trigger the event, all four methods are triggered:
public void TriggerEvent() => MyEvent?.Invoke();

If you use VSCode you can add it to the watch and it doesn't get corrupted and you can debug it.

This makes me think it's a bug in Visual Studio. I would file a feedback item with them


Notes not shown in outlook

The notes are not shown in outlook. Only the heading are shown
I have attached a screen shot of it.
Is it possible to have the outlook layout more like the IE?

sharp corners
complete icon
stacked lanes
due date in the header

It didn't show the notes in already exsisting task until i edit the text and saved the task