[BUG] Otel / data-prepper 404 error with metrics pipelines

Describe the bug
When metrics are exported from OTEL to data-prepper the following 404 error es received:

0tel-collector    | 2022-08-12T20:18:18.517Z	error	exporterhelper/queued_retry.go:183	Exporting failed. The error is not retryable. Dropping data.	{"kind": "exporter", "data_type": "metrics", "name": "otlp/http", "error": "Permanent error: rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/plain; charset=utf-8"", "dropped_items": 173}

To Reproduce
Steps to reproduce the behavior:

I launch data-prepper with OpenSearch as a sink for thre pipelines: "raw-pipeline" ,"service-map-pipeline" and "metrics-pipeline":

I launch Oel with the following config:

For metrics, I've tried the exporters otlp, otlp/http, otlp/2 and otlp/data-prepper. All unsuccesfully.

I instrument a Java Application

Expected behavior
Metrics traces sould be imported into OpenSearch. Just to mention, the traces pipeline works OK
Environment (please complete the following information):

OS: Ubuntu 20.04 LTS
otel/opentelemetry-collector-contrib:latest
opensearchproject/data-prepper:latest

@jinfanzon Thanks for your interest in Data Prepper!
I see in the data prepper configuration for otel_metrics_source, port was not specified. When port is not specified, the default port is 21891.
Can you update the OTel exporter configuration to use the endpoint: data-prepper:21891 and retry running OTel exporter ?

Thanks @dinujoh  - I have the following issue, as you may see both traces and service-map are exported otlp/2 (http). after checking the documentation you provided for metrics, it only uses otlp/grpc, so I've modified the otel configuration adding a otlp/grpc exporter:

And when I run data-prepper I get the following error Invalid record type. OpenSearch sink only supports String and Events:

data-prepper      | 2022-08-16T13:36:48,975 [otel-metrics-pipeline-sink-worker-2-thread-1] ERROR com.amazon.dataprepper.pipeline.common.PipelineThreadPoolExecutor - Pipeline [otel-metrics-pipeline] process worker encountered a fatal exception, cannot proceed further
data-prepper      | java.util.concurrent.ExecutionException: java.lang.RuntimeException: Invalid record type. OpenSearch sink only supports String and Events
data-prepper      | 	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
data-prepper      | 	at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
data-prepper      | 	at com.amazon.dataprepper.pipeline.common.PipelineThreadPoolExecutor.afterExecute(PipelineThreadPoolExecutor.java:70) ~[data-prepper.jar:1.5.1]
data-prepper      | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1131) ~[?:?]
data-prepper      | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
data-prepper      | 	at java.lang.Thread.run(Thread.java:832) ~[?:?]
data-prepper      | Caused by: java.lang.RuntimeException: Invalid record type. OpenSearch sink only supports String and Events
data-prepper      | 	at com.amazon.dataprepper.plugins.sink.opensearch.OpenSearchSink.getDocument(OpenSearchSink.java:178) ~[data-prepper.jar:1.5.1]
data-prepper      | 	at com.amazon.dataprepper.plugins.sink.opensearch.OpenSearchSink.doOutput(OpenSearchSink.java:130) ~[data-prepper.jar:1.5.1]
data-prepper      | 	at com.amazon.dataprepper.model.sink.AbstractSink.lambda$output$0(AbstractSink.java:38) ~[data-prepper.jar:1.5.1]
data-prepper      | 	at io.micrometer.core.instrument.composite.CompositeTimer.record(CompositeTimer.java:89) ~[data-prepper.jar:1.5.1]
data-prepper      | 	at com.amazon.dataprepper.model.sink.AbstractSink.output(AbstractSink.java:38) ~[data-prepper.jar:1.5.1]
data-prepper      | 	at com.amazon.dataprepper.pipeline.Pipeline.lambda$publishToSinks$4(Pipeline.java:231) ~[data-prepper.jar:1.5.1]
data-prepper      | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
data-prepper      | 	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
data-prepper      | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
data-prepper      | 	... 2 more

Thanks @jinfanzon for updating the configuration. While we try to reproduce this issue, can you try out stdout sink and check what data you see. Ip possible can you share an example metrics data of how it looks?
We noticed that the otel-metrics-pipeline has metrics-pipeline pipeline as a sink. And from the traceback provided error was caused by otel-metrics-pipeline which doesn't have OpenSearch sink.

Hi @asifsmohammed  - FI was able to send metrics to sink stdout. Please check my pastebin
This is my config:
Data-Prepper:

Otel:

So as soon as I change to sink to opensearch I get again the issue:

Hi - I was missing config:
  processor:     - otel_metrics_raw_processor:
I've also added a required field: index.
I'm wondering if there is any documentation of how to visualize the processed metrics in OpenDashboard

We do not have any special visualization plugins specifically tailored for OTEL metrics. This is something I believe the OpenSearch Dashboards project is working on as we do want to support traces, logs and metrics in the dashboards. @anirudha maybe able to provide more clarity here.


[DATA-2065] Make data required in file upload

@purplenicole730 is on vacay, so pinging @stuqdog instead


Request for simpler examples on how to use Albumentations

📚 Documentation
Hi there,
I'm new to albumentations. It took me a while to figure out how to actually implement any transformations to my image data. Could I suggest that a simple example be put into the documentation before any more complex examples are used. The compose function isn't intuitively obvious to use at first, could I suggest that an example like the following be used?
from albumentations import VerticalFlip
import cv2
img= cv2.imread("test.jpg")
aug = VerticalFlip(p=1)
img= aug.apply(img)
img= cv2.imwrite("test_v.jpg",img)
Many thanks for all the hard work that has gone into this. It's a really nice package to use once you understand how it works.

That explanation helped me, thanks!

There is also a problem with apply method it is not allways contain "image" world as an argument, it sometimes "img".


change-version.mjs should also change content aliases links

Maybe we need to bring back globby in this script and look for /docs/${SHORT_VERSION}/ in .md|.html files. Globby was removed in #38983.

Is this the same issue as that the older documentation doesn't link to the latest anymore?
Example, Modal docs for 5.2 says "Latest (5.2.x)", should be 5.3: https://getbootstrap.com/docs/5.2/components/modal/

Same Modal docs for 5.3  says "Latest (5.3.x)": https://getbootstrap.com/docs/5.3/components/modal/#exampleModalPopovers

That's unrelated and probably will never be fixed.


Support for Firefox?

Hi, is there any plan to support firefox?

Hi, is there any plan to support firefox?

I'm very sorry to tell you that only Dependabot is maintaining this project as of now. I only worked on the UI of this extension, it is very unlikely that the owner @VarthanV is available to add features.


Visualizer bars not working

Description
Hi there,
So I recently downloaded and installed monstercat, but everything except for the visualizer bars are working. Song information, cover art, progress bar etc. are all working fine. but the bars aren't budging at all.
I've maxed out the sensitivity in settings, tried uninstalling then re-installing rainmeter, spotify, and monstercat. I've tried hitting refresh all multiple times. I've ensured that all my drivers (Realtek) are updated. I've tried uninstalling Realtek, but then sound just completely doesn't work, and I don't know of any other drivers I can use. I read somewhere that removing Sonic Studio worked, but I tried it myself and still nothing.
Versions

Rainmeter Version: 4.2.0 beta r3011
OS Version:
Skin Version: 1.8.1
Spotify Version: <IP_ADDRESS>

Additional notes/images

Sorry for the late response!
Did you try out all the different steps in the Troubleshooting AudioLevel plugin forum post?
If yes, please send a screenshot from the debug log of Rainmeter (https://docs.rainmeter.net/manual/user-interface/about/) and post it in here.


Switch from Bootstrap to Bourbon?

The Problem
The site currently uses Bootstrap to do a majority of the styling. That's well and good, but I feel like Bootstrap has been getting in the way of mobile optimizing the site. For the life of me, I cannot figure out the incantations to get the container to not force everything to be super tiny on mobile.
Furthermore, Bootstrap sort of mucks up the HTML/ERB, and results in things like:

  ...

Which must be copied-and-pasted to every darned thing you want to look like that.
The Solution
I have, a number of times, used Bourbon and Neat as an alternative to Bootstrap. Bourbon leverages Sass to allow you compose it's built-in functions to create new components.
For example, take the above code. The Bourbon equivalent would be:

  ...

/* app/assets/stylesheets/_components.scss */
.centered-panel {
  @include span-columns(4);
  @include shift(4);

  @include media($mobile) {
    @include span-columns(10);
    @include shift(1);
  }
}

While it's more code, it's better code. And besides, to make another element look just like that one, all you have to do is set class="centered-panel" on that element.
All in all, I think it's a worthwhile tradeoff. I'd love to hear what you think @3ygun @JohnSimerlink.

  I have extended / used built in bootstrap to build my own classes in the past, I don't see why you couldn't build your 'centered-panel' class using sass and bootstrap as well...or at least trying that first before switching to an entirely new platform?  One way or another, refactoring the css stuff will take time but I'd think it'd take less time to refactor bootstrap than to switch to something entirely new.
Plus Bootstrap 4 might solve some of the issues your having with the responsiveness?

Hello @jemagee!
I agree that a possible combination of the 2 might be a better option then a complete rip-out and replacement. However, then again right now there aren't that many pages/that much CSS so I don't think it would be that much of a problem. And I'm open to learning more new stuff!: D

@jemagee Hey there! I'm glad you found us. I'm, of course, always welcome to suggestions and contributions.
I did a little googling about leveraging Bootstrap's Sass port to do the same sorts of stuff, but I wasn't able to find any great documentation on it. I did see a few bits on doing it with Bootstrap's Less implementation. Do you have a link you could share so I could look into it further?
@3ygun I believe, if I am not mistaken, that we are talking about using Bootstrap to do the same sort of thing I was talking about doing with Bourbon+Neat, but with Bootstrap alone, not mixing the two. I'm afraid that having two layout systems would cause all sort of muck.

@J3RN when I said "mixing of the 2" I meant following @jemagee 's idea of further defining scss stuff for our current Bootstrap styles. However if, as you said, there isn't good documentation for way of doing things I'm fine with transitioning to Bourbon+Neat

I’m mostly a back end guy and i have successfully integrated sass stuff into bootstrap in the past.
It seems to me like you just need to use @extend a lot within your custom field definition to pull in all the bootstrap column settings.  I’d try that first
On Mar 14, 2016, at 11:41 AM, David Soller<EMAIL_ADDRESS>wrote:

@J3RN when I said "mixing of the 2" I meant following @jemagee 's idea of further defining scss stuff for our current Bootstrap styles. However if, as you said, there isn't good documentation for way of doing things I'm fine with transitioning to Bourbon+Neat
—
Reply to this email directly or view it on GitHub.

I can try a quick experiment to see if this works for you. I'm still in the, what I call, intermediate beginner range and working on a few of my own processes, but I'll give this a shot tonight after work (I'm in California) and see if it works out.

@jemagee Sounds good! :+1:

Not really sure it's worth a pull request - but it seemed to work for me.
Put this in your application.scss file
.centered-panel {   @extend .panel, .panel-default, .devise-panel, .col-md-4, .col-sm-10, .col-md-offset-4, .col-sm-offset-1 }
Alter the new session view and it should still work the same way (tested using my imac/firefox and resizing the window).  It's pretty simple (when I found the fact that you could use @extend on numerous classes at once by separating them with the commas.
And of course, then you could use @extend on .centered-panel if you wanted to add a bit more to something else (background, different buttons, anything)

Excellent! I should have looked into @extend earlier. In that case, I'd be happy to go on using Bootstrap. Closing this issue.


Add the policy evaluation results in the tracing data of the policies running in monitor mode

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
While I was working in the issue 260 I wondered if we should not change where we send the traces to Jaeger. Or at least, add other fields in the traces. The traces sending to Jaeger happen after the validation_response_with_constraints call. This means that we lost the information about the actual policy evaluation.  In the end, we will always get accepted requests traces in the Jaeger. But we do not know if the request would be reject in the protected mode and the reason of that.
Expected Behavior
The user should be able to see the actual policy evaluation results in the traces of policies running in monitor mode
Steps To Reproduce
No response
Environment
Any

Anything else?
No response

Furthermore, I think we should decoder the patch created by the mutating policies in monitor mode and add it in the jaeger entry. This away, user can check how the mutating policies will work in protect mode.

I think we have a problem, if I understand the code correctly...
Let's assume we have a policy that is put in monitor mode, this policy is rejecting a request.
With the current code the validation response is going to be changed by the Worker::validation_response_with_constraints function. The validation response will be accept.
A trace event about this change is going to be emitted. When looking at the whole policy evaluation (from the time the request is received, to the final response) this log is going to be shown into the whole evaluation tree.
However, the prometheus metrics are going to be wrong. We will emit a metric that states that this policy in monitor mode has accepted a request (which is the final outcome), but we have lost the critical information for policies in monitor mode: how many requests would be rejected by them.
I think the code has to be changed so that:

https://github.com/kubewarden/policy-server/blob/ece48e94bedfa9478720c30a371c7c84bd022466/src/worker.rs#L236-L237 we save the evaluation result into vanilla_validation_response
vanilla_validation_response is taken here instead: https://github.com/kubewarden/policy-server/blob/ece48e94bedfa9478720c30a371c7c84bd022466/src/worker.rs#L248
We use vanilla_validation_response fields in here: https://github.com/kubewarden/policy-server/blob/ece48e94bedfa9478720c30a371c7c84bd022466/src/worker.rs#L274-L284


Resource name sanitization

This PR adds sanitization for the identifiers of AWS resources specified for creation via Klotho's IAC layer. This change should not change any happy path identifiers (resource names or Pulumi URNs)
Resource names are generated using tagged string templates as in the following examples using the sanitized() tag function:
let appName = 'my-very-long-app-name'
let resourceId = 'my-load-balancer'

// ensure that the output is a valid load balancer name
// from left to right, hash appName and then resourceId if the name is too long
sanitized(loadBalancer.nameValidation())`${h(appName)}-${h(resourceId)}-lb`
// 2d958-my-load-balancer-lb

// prioritize hashing resourceId before appName since its priority is 1 (default is 100)
sanitized(loadBalancer.nameValidation())`${h(appName)}-${h(resourceId, 1)}-lb`
// my-very-long-app-name-0ea7a-lb

When shortening resource names, raw text or template expressions of type string are not modified. Expressions of type Component are shortened from left to right based on priority (default priority is 100) using the Component instance's configured ShorteningStrategy. In the examples above, the h() function returns a Component with a ShorteningStrategy that converts the supplied text into a 5 character truncated SHA256 hash.
The process of generating a valid resource name is as follows:

Shorten Components from left to right ranked by priority until the name's length <= maxLength.
Sanitize the generated string in one or more passes (up to 5 passes by default):

Truncate the string if it's longer than max length (arguably, we might want this to be an error).
Throw an error if the string is shorter than the min length.
Apply the supplied SanitizationRules and capture any violations.
For any violations, sequentially apply the violated rules' supplied FixFunc (if present) to resolve any issues.
Revalidate the string if it's been fixed
Return the valid string or start another pass if the string is still invalid

return the sanitized result or throw an exception if any constraint violations are present in the result.

Standard checks

Unit tests: Any special considerations? We don't have a pattern for testing IAC-related code at the moment, but we should really figure that out.
Docs: Do we need to update any docs, internal or public? No
Backwards compatibility: Will this break existing apps? This PR aims to avoid changing "happy path" resource names so there should be no issue there.

rebased and squashed old commits

First pass, looks good in general. I think general comments

seems like for every new entity that we support we'll need to add that set of rules. Seems like the right way to do it but yeh definitely a lot of bloat to the compiled dir since i believe these will end up there.

That's true. Ideally, this functionality will move into the compiler at some point. Another option is running it through a build tool to merge all the sanitization files into a single file that we include in the output.

What do we do if we have like multiple clusters and install a controller on both. Is it on the plugin to label that resourceId cluster-resource?

yeah, LGTM and if the test are passing definitely a good starting point. The name issue looks to be resolved but we can continue to remove those if we find more


chore(*) bump Kong CE to 0.13.1

@thibaultcha Let's please rebase on top of master to include curl in 0.13.1.

Doesn't seem like a rebase is necessary here, I don't see any conflict with master?

Oops, you're right! No need for a rebase.


Synthesis Error in TOP_MODULE of generated VHDL

Synthesis of examples in sample config folder results in following errors in TOP_MODULE.vhd (using Xilinx ISE and Xilinx Vivado):
ERROR:HDLCompiler:432 - Line 114: Formal <en_loc_stream_1> has no actual or default value.
ERROR:HDLCompiler:854 - Line 91: Unit < behavior > ignored due to previous errors.
In the GUI, vhdl generated using: storage type = hardcoded constants
Synthesizing without TOP_MODULE works correctly.

Please refer to this #3
You have to write your own TOP_MODULE


Update armeria, armeria-grpc, ... to 1.14.0

Updates

com.linecorp.armeria:armeria
com.linecorp.armeria:armeria-grpc
com.linecorp.armeria:armeria-scalapb

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.linecorp.armeria" } ]

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

Superseded by #165.


add some missing database setup

I've run into a couple of issues related to the database when setting up a developer environment:

Uploading a replay fails with:

SQLSTATE[HY000]: General error: 1364 Field 'deleted' doesn't have a default value
(SQL: insert into `replays` (`fingerprint`, `game_type`, `game_date`, `game_length`,
`game_map_id`, `game_version`, `region`, `filename`, `size`, `updated_at`, `created_at`)
 values (7c8acf54-e0d1-7642-d1e3-219c21251628, UnrankedDraft, 2019-10-28 21:59:10,
 1138, , <IP_ADDRESS>893, 2, 7c8acf54-e0d1-7642-d1e3-219c21251628, 1311216,
2019-12-26 13:38:51, 2019-12-26 13:38:51))

Uploading also fails when there is no enum for StormLeague on game_type in the replays table.
Parsing replays fail because there is not a starting value for parsed_id.

I did test this with default `deleted`` migration being absent in the migrations table and artisan seemed to complete without error. If you want to be on the safe side, you could run the following sql query on the db after merging this PR:
INSERT INTO migrations (migration, batch)
  SELECT '2019_12_26_134611_add_default_value_for_deleted', MAX(batch) + 1
  FROM migrations;


Please, clarify the conformance of math functions

The description for dart:math package ( https://api.dartlang.org/stable/1.15.0/dart-math/dart-math-library.html ) reads:

Mathematical constants and functions, plus a random number generator.

Please, clarify the level of conformance of provided math functions.

How the used algorithms and calculated results correspond with certain published algorithms?
Should the functions return the same results across all supported platforms?

For example, the following test
import "dart:math" as Math;

main() {
  print(Math.acos(-0.74603174603174605000));
}

produces different results on linux 2.4128792028463875 and windows 2.412879202846388 platforms
Is it normal behavior?

The transcendental functions in cmath are not defined to return exact results, only (very good) approximations.  Therefore, they will not always return the same values on different platforms.  The tests should allow at least a 1 or 2 ulp difference.

I think it is a subject of specification to define the degree of the approximation. Otherwise it is not possible to create correct test. There will always be some implementation which gives greater ulp difference than the test expects.

We have no plan to specify the precision.
The results are provided by platform functions that we have no control over, so we can only promise to give as precise a result as we have available.
If Dart implemented its own trigonometric functions, we could decide what the precision is.
Since we are not, we'll have to make do with what we have available, including what arbitrary JavaScript engines include.
For interesting reading: https://bugs.chromium.org/p/v8/issues/detail?id=3006, https://bugzilla.mozilla.org/show_bug.cgi?id=967709.


Added documentation

files edited: LatLng.java, SettingsActivity.java, CompatTextView.java, HtmlTextView.java, OverlayDialog.java
code left unchanged

Codecov Report

Merging #1028 into master will not change coverage.
The diff coverage is 30.92%.

@@          Coverage Diff           @@
##           master   #1028   +/-   ##
======================================
  Coverage    3.71%   3.71%
======================================
  Files         104     104
  Lines        5143    5143
  Branches      489     489
======================================
  Hits          191     191
  Misses       4939    4939
  Partials       13      13

Impacted Files
Coverage Δ

...a/fr/free/nrw/commons/ui/widget/OverlayDialog.java
0% <ø> (ø)
:arrow_up:

.../fr/free/nrw/commons/ui/widget/CompatTextView.java
0% <0%> (ø)
:arrow_up:

...va/fr/free/nrw/commons/ui/widget/HtmlTextView.java
0% <0%> (ø)
:arrow_up:

...main/java/fr/free/nrw/commons/location/LatLng.java
52.77% <52.77%> (ø)
:arrow_up:

...fr/free/nrw/commons/settings/SettingsActivity.java
61.11% <61.11%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Please ask for review so that I can approve the task, thanks! :-)


Update numpy to version 1.21 or later in poetry.lock file

Summary
This is needed so that developer installs with poetry resolve to a version of numpy that has patched known issue:
https://github.com/numpy/numpy/issues/18939
Steps to Reproduce it
Following whylogs development setup, after running
poetry install

note the version of numpy is 1.19 which is in the range of vulnerable numpy versions
What is the expected correct behavior?
poetry install should result in numpy install of version 1.21 or later
Relevant logs and/or screenshots
See https://github.com/advisories/GHSA-6p56-wp2h-9hxr

@jamie256 Hi! Can I take up this issue?

Hi @sp6370 ! Cool to see your interest in helping. This one might be blocked because we don't want to deprecate support for python 3.6 in whylogs yet, and the versions of numpy with the patch (1.21 and higher) are not compatible. I was hoping we might see a backport of the vulnerability to numpy 1.19.x and there is a commit for this: https://github.com/numpy/numpy/pull/20801 but not released yet?
But if you have ideas on how to navigate this we could discuss.

numpy no longer a direct requirement in v1.


GH-35287: [C++][Parquet] Add CodecOptions to customize the compression parameter

Rationale for this change

Based on https://github.com/apache/arrow/issues/35287, we'd like to add a CodecOptions to make more compression parameters (such as window_bits) customizable when creating the Codec for parquet writer.
Authored-by: Yang Yang<EMAIL_ADDRESS>Co-authored-by: Rambacher, Mark<EMAIL_ADDRESS>What changes are included in this PR?

Add CodecOptions and replace compression_level when creating the Codec. The design is basically based on previous discussions.
Are these changes tested?

Yes
Are there any user-facing changes?

Yes, when user creates the WriterProperties

Closes: #35287

cc @pitrou @wgtmac

@yyang52 There are Python test failures on CI.
Also, is it possible to pass a base CodecOptions when a derived class exists? (e.g. for gzip). Ideally it should be supported.

@yyang52 There are Python test failures on CI.
Also, is it possible to pass a base CodecOptions when a derived class exists? (e.g. for gzip). Ideally it should be supported.

Yes, I think it supports that (as checked in TEST(TestCodecMisc, SpecifyCompressionLevel) to pass base CodecOptions to different Codecs)

Addressed most comments with most CI checks passed (2 fails seem also happening on other PRs). One left thing is hardcoding window_bits in CodecOptions may easily be out-of-sync with third-party dependency, as mentioned by @wgtmac. Do you have any suggestions/thoughts on that? Please also have a look at other changes I made and see if any other improvements needed. Thanks! @pitrou @mapleFU @wgtmac

https://github.com/apache/arrow/actions/runs/5367297586/jobs/9737382909?pr=35886
There seems to be lint error.

https://github.com/apache/arrow/actions/runs/5367297586/jobs/9737382909?pr=35886
There seems to be lint error.

Doing some fixes, could you help to re-trigger other checks? Thanks!

May you help to review the code change as well as trigger the remaining CI checks? Thanks! @mapleFU @pitrou @wgtmac

There're 6 failing checks, but seems like not introduced by this PR?

Hi, may I know if there is any change needed or concerns regarding this PR? Thanks!
@mapleFU @pitrou @wgtmac

I'm a little busy these days, I'll take a look tonight

I'm a little busy these days, I'll take a look tonight

Sure, take your time. Just let me know if more actions needed, thanks!

@yyang52 We're busy preparing a release right now. You might start by merging/rebasing from main to get a more passing CI.

@yyang52 We're busy preparing a release right now. You might start by merging/rebasing from main to get a more passing CI.

Sure, no rush! I will rebase from main and re-run CI checks.

May you help to review the code change as well as trigger the remaining CI checks?

May you help to trigger the remaining CI checks again? Thanks! @pitrou

@yyang52 There are a couple of comments left to address, can you take a look?

Doing some fix, may you help to take a look and trigger remaining CI checks? Thanks! @pitrou

@github-actions crossbow submit -g cpp

Thanks a lot for your contribution @yyang52 ! I hope you didn't mind the delays.

Thanks for your kind support! It's a pleasure to make contribution to Arrow community! @pitrou @mapleFU @wgtmac


Random Password generator

AS AN employee with access to sensitive data
I WANT to randomly generate a password that meets certain criteria
SO THAT I can create a strong password that provides greater security

The password generates and is complete and works.


fix: plugins dir

Description
Path to plugins dir was hard coded to the path of the project plugin - store plugins are installed in the Engine plugins dir. Also updates BugSplat.bat to not upload symbols for Editor builds.
Fixes #51 Fixes #50
Checklist

[ ] Tested manually
[ ] Unit tests pass with no errors or warnings
[ ] Documentation updated (if applicable)
[ ] Reviewed by at least 1 other contributor

 Unreal Plugin / Submission to Unreal Store


Add support for Google Tests on CMake

Google Tests
Hello, It would be nice if the test explorer could support Google Tests in a CMake project.
Maybe process the output of the ctest command?

Have you tried the CMake Test Explorer?

Hello, yes I had tried it, without positive results. I finally found C++ TestMate and it worked.
Thanks for your help!


[BUGFIX] removed unused grunt clean task

Please also adjust the gruntfile in the SuluGeneratorBundle: https://github.com/sulu-cmf/sulu/blob/develop/src/Sulu/Bundle/GeneratorBundle/Resources/skeleton/sulu/other/Gruntfile.js.twig

ACK


Bug: 'In file search': If note is 'pinned', return/mouseclick on search result item opens a duplicate note

First: Thanks for the great 'In file search'-Feature!
One problem/bug: If I search in a 'pinned' note, return/mouseclick on search result item opens a duplicate note  in a new tab.
Thanks in advance!

Thank you for your report, @avirosso :)
That consideration had been overlooked. Given that it is named 'In file search', it should indeed be corrected 👍

@avirosso
Released it in v11.0.0-beat1 🚀
If you use BRAT, I would appreciate it if you could check it out before the official release.

@avirosso
Released in v11.0.0 🚀

Great - thank you very much!

Hi,
I don't find a 'reopen' button/command, so I comment:
I had tested that in Version 11.0.0 and it worked.
But now - in Version 11.2.1 - it no longer works: If I use the command 'In file search' in a pinned Note, the following happens:

No search modal opens
Instead a new, empty tab opens
The following error message is in DevTools:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getValue')
    at InFileModal.indexingItems (plugin:obsidian-another-quick-switcher:5263:52)
    at InFileModal.init (plugin:obsidian-another-quick-switcher:5183:16)
    at showInFileDialog (plugin:obsidian-another-quick-switcher:5540:15)
    at Object.checkCallback (plugin:obsidian-another-quick-switcher:5624:9)
    at Jq (app.js:1:1792093)
    at e.executeCommand (app.js:1:1793657)
    at e.onTrigger (app.js:1:1155885)
    at e.handleKey (app.js:1:748623)
    at e.handleKey (app.js:1:748736)
    at t.handleKey (app.js:1:748945)

Hi. @avirosso
Could you please create a new issue for this?

OK - I have opened a new issue (#231)


Adding compiler flag to exclude RequestAccessEmail from 15 builds

Adding compiler flag to exclude RequestAccessEmail from 15 builds... othewise the build fails

thx Ole, we should have had that there from day 1... thanks for catching it.


Documents for struct tag syntax and parameters?

The README.md only has an example of struct tags, any chance to have a list of all struct tags with parameters and the description of its syntax, like how to only specify fields field using csv?

Sorry i dont follow what your talking about. Can you send me an example of what your talking about?

I mean technically you could put all the params needed for a csv or sql but I wouldn't recommend it for struct tags.


Add some tags

It will be easier to find this repo with some useful tags, like i18n, cocos2d-x, c++, lua, and some other.

thx for u fixed

There a still no any tags...


Issue 178 - "Invalid status code provided" while processing the Http Re…

Discussion:
https://github.com/zendframework/zend-http/issues/178

Thanks, @roypalacios!


fix(deps): refresh dependencies

Description
Refreshes dependencies, fixing a security issue with golang.org/x/net
Related Tickets & Documents
Dependabot security alert
Steps to Verify
End-to-end and unit tests pass

Dependency for golang.org/x/net not bumped


Tesla Clone

Project title
Tesla Clone
Project Description
In this, you can see all the Tesla cars, their specs, and the accessories of the vehicles.
Doc Domain

[] Solidity , Html, Css , JavaScript , Web3.js / Ether.js
[] Solidity , ReactJs /NextJs , Web3.js /Ether.js
[] Solidity , Python3 , Web3.py
[] Other , feel free to mention below

Are you contributing under any open-source program ?
Yes
Please Assign this under SSOC

@dontwike closing this issue as this is already present in the repository. Please come back to us with some new ideas. Thankyou!


Removing entries from MDC

when iterating over saved spans during span closing we can apply a function that should be executed on each iteration.
fixes #248

not quiet sure if this is too much a hammer for the job (ex MDC removal is innocent, but a function could do anything). regardless, maybe a test that shows what the MDC use case is..

Note that it's package scope so we're protecting ourselves a bit.
Sure, a test makes sense. I'll add it

ahh I didn't notice the package protection. good point

thx for the test! 👍


'Greater or equal' interpreted as 'greater'

Hi,
When willing to remove all packages which have version<=0.1.102 it seems that it actually removed all packages which have version<0.1.102
root@utility01:~# sudo -u aptly -H  aptly repo remove  nico_prod 'Name (% nico-backend*), $Version (<= 0.1.102)'
Loading packages...
[-] nico-backend_0.1.83.f381a9a1f26b_all removed
[-] nico-backend_<IP_ADDRESS>ee46eb95c9_all removed
[-] nico-backend_<IP_ADDRESS>610c47dbf_all removed
[-] nico-backend_<IP_ADDRESS>a11ae3934af_all removed
[-] nico-backend_0.1.92.b1d70d8bb711_all removed
[-] nico-backend_0.1.79.dd001b7639ae_all removed
[-] nico-backend_<IP_ADDRESS>8262ae3279_all removed
[-] nico-backend_<IP_ADDRESS>750e6d4c8f_all removed
[-] nico-backend_0.1.85.f90cc7e34b9d_all removed
[-] nico-backend_<IP_ADDRESS>ad968e730_all removed
[-] nico-backend_0.1.76.e0c837a107cb_all removed
[-] nico-backend_<IP_ADDRESS>b39a8687de1_all removed
[-] nico-backend_<IP_ADDRESS>8aff21fed7_all removed
[-] nico-backend_0.1.77.ec22d9ed5a9b_all removed
[-] nico-backend_<IP_ADDRESS>b989986ef75_all removed
[-] nico-backend_<IP_ADDRESS>eac3ad0c01a_all removed
[-] nico-backend_<IP_ADDRESS>42a289a6b_all removed
[-] nico-backend_<IP_ADDRESS>d587a1fba4_all removed
[-] nico-backend_<IP_ADDRESS>780bfecf69_all removed
[-] nico-backend_<IP_ADDRESS>cc97f4519b_all removed
[-] nico-backend_0.1.101.d7eb6f3041d4_all removed
[-] nico-backend_0.1.95.fd2fb31ea5e0_all removed
[-] nico-backend_<IP_ADDRESS>065842321_all removed
[-] nico-backend_0.1.100.ffd6a26f0699_all removed
[-] nico-backend_<IP_ADDRESS>a2eaf38eeb_all removed
[-] nico-backend_0.1.91.cd0d7af2c396_all removed
[-] nico-backend_0.1.80.a3df957b3dbd_all removed
[-] nico-backend_<IP_ADDRESS>f7048552dd_all removed
root@utility01:~#
root@utility01:~#
root@utility01:~#
root@utility01:~# sudo -u aptly -H  aptly repo show -with-packages nico_prod
Name: nico_prod
Comment:
Default Distribution: trusty
Default Component: main
Number of packages: 37
Packages:
  dummy_0.1_all
  nico-backend_0.1.102.d13fea606fd8_all
  nico-backend_<IP_ADDRESS>f9e3ec3faf4_all
  nico-backend_<IP_ADDRESS>dad8d3ec97b_all
  nico-backend_0.1.105.ccb4f152cdf6_all
  nico-backend_<IP_ADDRESS>728900891f_all
  nico-backend_<IP_ADDRESS>0feed72f5b_all
  nico-backend_0.1.108.cdfbe54be6e1_all
  nico-backend_0.1.109.c2e3718e0a21_all
  nico-backend_0.1.110.cec424a5631e_all
  nico-backend_0.1.111.eb25eaaf9cd6_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>825fcd2988_all
  nico-backend_0.1.120.fb58ccd17485_all
  nico-backend_<IP_ADDRESS>a6888b3c49_all
  nico-backend_0.1.122.dc40980b1de5_all
  nico-backend_0.1.123.cf0a0f1ca3e6_all
  nico-backend_<IP_ADDRESS>adcb1ea4f25_all
  nico-backend_<IP_ADDRESS>adcb1ea4f25_all
  nico-backend_<IP_ADDRESS>e88e52178d2_all
  nico-backend_<IP_ADDRESS>fb866bc7812_all
  nico-backend_<IP_ADDRESS>4eefc339ee_all
  nico-backend_0.1.129.ba7c18620d37_all
  nico-backend_<IP_ADDRESS>addf6cd3a87_all
  nico-backend_<IP_ADDRESS>2d0335edb6_all
  nico-backend_<IP_ADDRESS>2d0335edb6_all
  nico-backend_<IP_ADDRESS>99c5d7b49f_all
  nico-backend_0.1.137.e40dd32270ed_all
  nico-backend_<IP_ADDRESS>efb3f36841_all
  nico-backend_<IP_ADDRESS>6034693ed8_all
  nico-backend_0.1.140.c392f831b899_all
  nico-backend_<IP_ADDRESS>b6976461f3e_all
root@utility01:~#

Using Aptly 0.9 package on Ubuntu.

Hi!
aptly is following Debian version comparison rules (https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version).
So 0.1.102 < 0.1.102.d13fea606fd8.
Probably you need to filter for $Version (< 0.1.103)

Understood.
Sorry for the noise
On Thu, Mar 5, 2015 at 9:52 PM, Andrey Smirnov<EMAIL_ADDRESS>wrote:

Hi!
aptly is following Debian version comparison rules (https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version).
So 0.1.102 < 0.1.102.d13fea606fd8.
Probably you need to filter for $Version (< 0.1.103)
Reply to this email directly or view it on GitHub:
https://github.com/smira/aptly/issues/215#issuecomment-77449042


Stack traces not showing up for the test package with ddk in 2.5.0-dev.2.0

To repro you need to run a failing test with build_runer and ddk, you will get no output in the console other than telling you what test failed.
It is hitting some sort of internal error in the stack_trace package when trying to fold the traces.
Reproduction instructions:

Clone the build repo.
Checkout the fix-failing-tests branch of the build repo (this will enable local debugging of the test which makes it easier).
Run pub run build_runner serve test and load  http://localhost:8080/hello_world_test.debug.html in your browser.
Click the button on the page to run the tests.

I would recommend setting it to pause on all exceptions, and then hitting continue until you get inside this function:
dart.gbind = function gbind(f, ...typeArgs) {
    let type = f[dart._runtimeType];
    type.checkBounds(typeArgs);
    let result = (...args) => f.apply(null, typeArgs.concat(args));
    return dart.fn(result, type.instantiate(typeArgs));
  };

In here type ends up being undefined and f is a raw function with no dart information attached which seems to be the problem.

@jakemac53 - is this a regression within ddk or from ddc?  Do you know if this affects internal as well?  (I.e., thinking of whether to mark as D25)

I haven't tests in DDC or internal. I can try internal since that covers both but I don't know if we have updated to the version that would have these issues.

I have a repro of the issue locally - it's a DDK problem for sure. Looking into it.

I also confirmed that it is still working with ddc/internal

Confirmed this is fixed now


dragSource method and hover occasionally freezing, not defined.

I’m a bit stuck debugging this issue when removing/moving the dragSource from between targets. It's not happening every time.
You can view the code here.  https://codesandbox.io/s/82vrzym869. It’s not throwing an error, it's just freezing on the hover (the component stay red) and doesn't call the removeQuestion method on it's parent, dropTarget component.  It’s not handling the action after several interactions. It’s occasionally working, which you’ll see.
In my local environment, the interaction and outcome is the same, but it’s throwing props.moveQuestion is not a function or props.moveQuestion is not a function  in the console.
It’s occasionally not hitting these two functions here:
QuestionWrapper.js
const questionSource = {
  beginDrag (props){
    const question = props.question
    return {
      index: props.index,
      id: question.id,
      question: question,
      formId: props.formId
    }
  },
  endDrag(props, monitor) {
    const item = monitor.getItem()
    const id = props.id;
    const dropResult = monitor.getDropResult();
  /// check component ID and to remove question from previous list

    if (dropResult && dropResult.formId !== item.formId) {
      console.log('endDrag remove item.index', item.index)
      console.log('endDrag remove props index', props.index)
      props.removeQuestion(props.index)
    }
  }
};

I’m trying to figure out whether it’s my code and/or combination of the HTML5Backend that’s buggy.
I know that I technically shouldn’t be passing props to the initial state, but it’s my only solution since the parent will make the API call to load the initial form data. The docs state,

However, it’s not an anti-pattern if you make it clear that the prop is only seed data for the component’s internally-controlled state.

Any help or better debugging advice would be great!
Thanks

Hey Caitlin,
It looks like in FormBuilder.js, line 132 you're not setting the removeQuestion prop, but you are setting removeCard.
removeCard={this.removeCard}

if you change this to
removeQuestion={this.removeQuestion}

then the function is defined and it appears to work as expected

Thanks so much @darthtrevino . That's what I get for not going line-by-line first after renaming my functions 🙄


toPrivateComponents?

I see you have an operation to generate the key from components.
ursa.createPrivateKeyFromComponents(modulus, exponent, p, q, dp, dq, inverseQ, d)
How would one go about turning the key into components?
I see a few functions here, but not all 8 listed above.

getExponent()
getPrivateExponent()
getModulus()

I would need this feature as well for OpenPGP.js

You could add in these i suppose? For example i quickly added getInverseq See https://github.com/quartzjer/ursa/compare/master...mwain:private-components
Work would need to be done when trying to extract them from a public key, as these wouldn't exist


Release v2<IP_ADDRESS> [skip pd_pr]

Release Note:

Fix slowquery detail page shows "No database selected" error (#1114)
Ignore overrided TiDB endpoint to profile the correct target (#1118)
Refine manual profiling, including add README in the download pack, support download text profiling result (#1112)

Codecov Report

:exclamation: No coverage uploaded for pull request base (release@b2c4a04). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             release   #1120   +/-   ##
=========================================
  Coverage           ?   7.05%
=========================================
  Files              ?      32
  Lines              ?    1943
  Branches           ?       0
=========================================
  Hits               ?     137
  Misses             ?    1795
  Partials           ?      11

Flag
Coverage Δ

be_integration_test_v4.0.1
7.05% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out 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 b2c4a04...657db8d. Read the comment docs.

Find an issue:

the tikv doesn't distrofy, let me fix it.

Fix it in https://github.com/pingcap/tidb-dashboard/pull/1121

Let's wait and merge together with https://github.com/pingcap/tidb-dashboard/pull/1099


Arithmetic issues and metronome clicks

Hi !
I did some tweaks to avoid #2 and changed the metronome sound to smoother one (Ardour meters did not like it much for example, as it had a very strong high frequency content). The metronome is not perfect but probably good enough for the purpose. I was wondering if it made sense to have it on a separate output maybe?

Hi and thanks very much for this contribution - I appreciate the cleanups and this metronome does sound better. Just a couple of things:

my idea for the click was to have it only during the recording of the first loop, to make it easier to get that first loop in sync when starting a new session/song

9cd9bbddb55592b0719301a4fd8ccd64defb8a13 doesn't seem to compile for me: I get alo.c:619:52: error: invalid conversion from 'float*' to 'uint32_t {aka unsigned int}' [-fpermissive]
click(self, self->ports.output, 0, sample_offset);

Hi and thanks very much for this contribution - I appreciate the cleanups and this metronome does sound better. Just a couple of things:
* my idea for the click was to have it only during the recording of the first loop, to make it easier to get that first loop in sync when starting a new session/song

OK so if you have any loop in store then no click should be heard? Or if we're recording a solo loop (no other active loops)?

* [9cd9bbd](https://github.com/devcurmudgeon/alo/commit/9cd9bbddb55592b0719301a4fd8ccd64defb8a13) doesn't seem to compile for me: I get alo.c:619:52: error: invalid conversion from 'float*' to 'uint32_t {aka unsigned int}' [-fpermissive]
  click(self, self->ports.output, 0, sample_offset);

Yes I messed up this commit apparently there is a mismatch between the function prototype and the calls in run().
I can rebase the tree if you want to keep the history compiling.
I wonder if I messed up something in the timing code since I can't seem to have it properly sync to a full bar at the moment.

OK so if you have any loop in store then no click should be heard? Or if we're recording a solo loop (no other active loops)?

Yes - the click should stop as soon as any loop finishes recording - see https://github.com/devcurmudgeon/alo/blob/master/source/alo.c#L527 (seems I messed up indentation there)

So should the click also only apply for when the loop is armed?

Sorry for the delay. Ideally yes the click would only happen when loop is armed, but what you've done is already a clear improvement so I'm merging it. Thanks again!


Enum in Amplify Resource and Utilities

Amplify seemed to not always be able to resolve the import. Try to diagnose.

Currently, two separate Enums being used, which seems to work. But seems non-ideal.


Mattermost Support Chatbot trained via official docs

Please implement a ChatGPT or other chatbot that ingests the entirety of https://github.com/mattermost/docs source and can have conversations on how to perform Mattermost tasks and facilitates definitive answers readily. It would be quite useful to have such a chatbot to be able to get authoritative answers on how to accomplish various tasks vs resorting to forums and search since often times these other options cannot compose or synergizes information in a way that makes sense in some contexts.

Thank you, @ylluminate, for logging this great feedback. Are you open to creating an issue against the https://github.com/mattermost/mattermost-plugin-ai Engineering repository? It's a better fit for this issue where more eyes will see it.

@ylluminate - Introducing a new chatbot trained on Mattermost Product Documentation that's capable of providing product answers is something our AI Engineering team would be interested to hear more about. Would you agree, @azigler?


permission denied changing hostname

When I try to give the virtual machine a hostname my vagrant crashes, saying permission denied. I had to  manually change the permissions of C:\Windows\System32\drivers\etc\hosts to writable before it worked. I did it for all group and user names since I was not sure which one I needed. Do you have an easier way of doing this? thought you should at least now this.

You only need to do that for the used you are trying to run vagrant under.
As far as I've been able to find out, this is the only solution to the issue.
This is potentially a dublicate of https://github.com/cogitatio/vagrant-hostsupdater/issues/89

The documentation talks about using UAC here: https://github.com/cogitatio/vagrant-hostsupdater#windows-uac-prompt
This should get around the issue.


remove 'web access control' from spec

alan karp said in today's meeting that it doesn't afford for delegation. dmitri encouraged this PR

Thanks @gobengo!
(Since I was the one who insisted on putting WebACL on that list initially, I'm gonna go ahead & merge this PR -- if anybody objects, leave a comment, we'll revisit.)


players disconnected right after joining

hosting a modded world and players are disconnected a few seconds after joining. the world is rendered for players and inventory occasionally appears, but players are disconnected after a few seconds. using multimc, logs are included
https://mclo.gs/oizpGaU

duplicate of #19


Deno task cp wildcard does not work correctly

Hey,
I want to recursively copy all .html files from ./src/client/ to ./dist/. For this I wanted to use the following task command:
cp -r ./src/client/**/*.html ./dist/

This command should normally (in my opinion) copy all files ending with .html recursively to ./dist/. However, only the first file ending with .html is copied to ./dist/.
Is this how it is meant to be?

Short summary

Command used:

cp -r ./src/client/**/*.html ./dist/

Expected behavior:
All files ending with .html and located in .src/client/ are copied to ./dist/ with the same folder structure.

Deno Glob Expansion Reference
# match .ts files in the current and descendant directories
echo **/*.ts

Actual behavior:
Only the file which ends with .html and is in the first directory level will be copied to ./dist/.

This seems to be the behaviour I see on linux:
# turn on globstar
$ shopt -s globstar

$ echo src/client/**/*.html
src/client/other/test2.html src/client/test.html
$ cp -r ./src/client/**/*.html ./dist/
$ echo **/*.html
dist/test.html dist/test2.html src/client/other/test2.html src/client/test.html

Now if I execute the following:
$ rm dist/test.html dist/test2.html
$ echo **/*.html
src/client/other/test2.html src/client/test.html
$ deno task copy
Task copy cp -r ./src/client/**/*.html ./dist/
$ echo **/*.html
dist/test.html dist/test2.html src/client/other/test2.html src/client/test.html

So it seems to be working as expected?

Okay thanks for checking. Is there a command for the thing that I want to achieve?

Is there some way of using xargs to solve this?

I have found a solution to just copy my html files. Since I use ESBuild in my project anyway, I can also use the build-in copy loader of ESBuild:
deno run -A<EMAIL_ADDRESS>--loader:.html=copy --outdir=dist/ ./**/index.html


Add option for column filtering

This enhancement closes #48 .

-c flag added, which should be followed by a comma separated list of integers as the argument.
List consists of the desired field numbers expected in the output.
Indexing for the list starts at 1.  Any number in the list less than 1 will also be ignored.
The list can be provided in any order, however the fields will still be output in the order in which they appear in the input (it might be cool to specify the order of the output fields, but that will have to be later).
If a number in the list is larger than the number of fields in the row, it will be ignored.
There will be no leading padding on the first field WRITTEN instead of the first field from the input (this avoids leading padding if the first field is excluded from the filter list)

No rush whatsoever @briandowns .


Windows test build broken since 938db3ebc3cc36da6ea7830036188ed61ba2d17f?

cargo build seems to work on Windows on current master, 63a5d1c110307dab73e28e5bb5a4187e2762b69f as of this issue. But ever since 938db3ebc3cc36da6ea7830036188ed61ba2d17f cargo test has not worked on Windows.
The problematic packages seem to be rexpect and pty-process, not sure how the latter one gets included though.
Should Windows builds and tests be added to CI?

Should Windows builds and tests be added to CI?

If possible, yes.

Both of the mentioned dependencies are from Triton TUI and are used exclusively in integration tests.[^1] We can make compilation of the integration tests conditional on the target platform.
[^1]: Those tests are currently ignored because they do not play ball with cargo tarpaulin, the code coverage tool we use.


buildDir

Hi,
Has anyone got buildDir option working? I have got the following options set in my config file but it has no effect. nuxt run build still stores it in the .nuxt/dist/ directory. I need it be outside the .nuxt folder as thats in .gitignore.
Couldn't find the buildDir option in the docs anymore either (used to be there as far as I can remember).
  srcDir: 'src/',
  buildDir: 'dist/'

Did you managed to get it working? I have the same issue.


fix lb output descriptions

Description

This PR changes the output descriptions for lb_arn and lb_id so that they are clearly explained, instead of being duplicates of each other.
Motivation and Context

This change clarifies the description of the outputs so that it is less confusing.

Breaking Changes

No breaking changes.
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This is currently following what the provider docs show (albeit slightly different wording) https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb#attribute-reference

I see. That's a bit confusing to me--why they would choose the same description for 2 different values. Unless they mean id and arn are the same thing.
I'll close this since you're just following the official docs.

id is on every resource because its the unique ID in the Terraform state map. Its commonly duplicated with other outputs such as name or arn if there are no other candidates for a unique identifier


UI issue in Company page

Describe the bug
When head is checked all the row checkbox should check if any row checkbox will uncheck then head checkbox should uncheck

this issue is in company list, service list

Expected behavior
If any row checkbox is unchecked head checkbox should uncheck
Screenshots

service list in company

add service in company

It should work like this https://www.jqueryscript.net/demo/check-all-rows/ @mitulpanch @dharmendraecb


panel value for mesmer object segmentation

I did not find a document on how to define deepcell values in the panel.csv!

https://bodenmillergroup.github.io/steinbock/specs/file-types/
https://bodenmillergroup.github.io/steinbock/cli/segmentation/#deepcell

I saw the docs, but there is no specification; like 1 for nuclei and 2 for cytoplasm? or 1 for both?

From https://bodenmillergroup.github.io/steinbock/specs/file-types/:

Column
Description
Type
Required?

deepcell
Group label for DeepCell segmentation  (if column is absent, all channels are used separately)
Numeric or empty
no

From https://bodenmillergroup.github.io/steinbock/cli/segmentation/#deepcell:

Depending on the application, DeepCell requires images of specific dimensions. For example, in the case of cell segmentation using Mesmer, DeepCell expects two-channel images as input, where the first channel must be a nuclear channel (e.g. DAPI) and the second channel must be a membrane or cytoplasmic channel (e.g. E-Cadherin).

If a deepcell column is present in the steinbock panel file, channels are sorted and grouped according to values in that column to generate the required input for DeepCell [...]

So yes, you can use 1 for nuclei and 2 for cytoplasm

First, thank you for raising this issue here on GitHub! I hope you find my previous reply helpful.

I did not find a document on how to define deepcell values in the panel.csv!

In general, if you think the documentation is not clear enough, you're welcome to kindly ask for clarification or to submit a pull request. This is an open source project made available to the community free of charge in the spirit of open research, and keeping to a respectful and mindful style of interaction goes a long way with the community (and the authors :innocent:)


Error: Can not push to remote repository. Message: IndexError: No item found with id 'master'

My actions before raising this issue

[yes] Read/searched the docs
[yes] Searched past issues

Steps to Reproduce (for bugs)

Declare a new task
Set a Dataset repository URL to my private github repo
Provide my github account with the prompt public key

Context
I would like to use the provided functionality of attaching a repository to store annotations there. However, when I click the Synchronize button, I am getting an error: Error: Can not push to remote repository. Message: IndexError: No item found with id 'master'.
Your Environment

Git hash commit (git log -1): 7a4980619ccb1c8896ba1a0b948225ffd3864195
Docker version docker version (e.g. Docker 17.0.05): 20.10.6
Operating System and version (e.g. Linux, Windows, MacOS): Linux 18.06

Hi @loukbabi
Does the attached repository have master branch?

Thank you for your response. Yes, it does.

@loukbabi
Could you please also attach an output of docker logs cvat. There should be exception error with a stack. Try to collect it after the error occurs on UI.

No response, so I will close the issue for now. If you still have it, do not hesitate to reopen it.

I get the same error when pushing to a local GitLab repository. By default, the first branch is named "main", however I created the branch master and it is visible in the web interface. The relevant output of docker logs cvat is the following:
INFO - 2021-11-15 15:56:40,609 - dataset_repo - User config initialization..

2021-11-15 15:56:40,634 DEBG 'rqworker_default_1' stderr output:
[2021-11-15 15:56:40,633] ERROR cvat.server.task_4: push to remote repository errors occured
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 881, in __getitem__
    return getattr(self, index)
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 874, in __getattr__
    return list.__getattribute__(self, attr)
AttributeError: 'IterableList' object has no attribute 'master'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 401, in push
    _git.push(user, scheme, host, db_task, db_task.updated_date)
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 237, in push
    self._pull()
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 198, in _pull
    self._rep.head.reference = self._rep.heads["master"]
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 883, in __getitem__
    raise IndexError("No item found with id %r" % (self._prefix + index)) from e
IndexError: No item found with id 'master'

2021-11-15 15:56:40,634 DEBG 'rqworker_default_1' stderr output:
ERROR - 2021-11-15 15:56:40,633 - dataset_repo - push to remote repository errors occured
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 881, in __getitem__
    return getattr(self, index)
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 874, in __getattr__
    return list.__getattribute__(self, attr)
AttributeError: 'IterableList' object has no attribute 'master'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 401, in push
    _git.push(user, scheme, host, db_task, db_task.updated_date)
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 237, in push
    self._pull()
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 198, in _pull
    self._rep.head.reference = self._rep.heads["master"]
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 883, in __getitem__
    raise IndexError("No item found with id %r" % (self._prefix + index)) from e
IndexError: No item found with id 'master'

2021-11-15 15:56:40,636 DEBG 'rqworker_default_1' stderr output:
DEBUG - 2021-11-15 15:56:40,636 - worker - Handling failed execution of job git.push.4

2021-11-15 15:56:40,638 DEBG 'rqworker_default_1' stderr output:
ERROR - 2021-11-15 15:56:40,638 - worker - Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 881, in __getitem__
    return getattr(self, index)
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 874, in __getattr__
    return list.__getattribute__(self, attr)
AttributeError: 'IterableList' object has no attribute 'master'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 411, in push
    raise ex
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 401, in push
    _git.push(user, scheme, host, db_task, db_task.updated_date)
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 237, in push
    self._pull()
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 198, in _pull
    self._rep.head.reference = self._rep.heads["master"]
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 883, in __getitem__
    raise IndexError("No item found with id %r" % (self._prefix + index)) from e
IndexError: No item found with id 'master'
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 881, in __getitem__
    return getattr(self, index)
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 874, in __getattr__
    return list.__getattribute__(self, attr)
AttributeError: 'IterableList' object has no attribute 'master'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 411, in push
    raise ex
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 401, in push
    _git.push(user, scheme, host, db_task, db_task.updated_date)
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 237, in push
    self._pull()
  File "/home/django/cvat/apps/dataset_repo/dataset_repo.py", line 198, in _pull
    self._rep.head.reference = self._rep.heads["master"]
  File "/opt/venv/lib/python3.8/site-packages/git/util.py", line 883, in __getitem__
    raise IndexError("No item found with id %r" % (self._prefix + index)) from e
IndexError: No item found with id 'master'

Hmm, maybe it is related with the fact, that default master branch was renamed to main
https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/

Maybe, I just tested deleting the main branch, just keeping master as the default branch. However, the error stays the same.

Ok, I just tried again today and the error was, that I did not include a filepath. The format has to be something like: http://server.xyz/user/repo [annotations/labels.zip] it is not enough to just put http://server.xyz/user/repo. Somehow I thought the path in the brackets was optional. Anyways, this should be documented or at least a more descriptive error should be raised.

This issue may be related to GitLab. When using GitHub, it works without the filepath. I think a different behavior is not desired here and the issue should be reopened.


OSX: "make deploy" doesn't work

I have successfully compiled bitcoind/-cli from source on OSX, but I am have having problems compiling the qt client, as well as making the install disk image. In short, the make procedure listed below does not make the bitcoin-qt client (which is usually in src/qt), and when I type make deploy (which used to work fine before), I get the following errors
% make deploy
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src qt/bitcoin-qt
  OBJCXXLD qt/bitcoin-qt
clang: warning: argument unused during compilation: '-pie'
Undefined symbols for architecture x86_64:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [qt/bitcoin-qt] Error 1
make: *** [src/qt/bitcoin-qt] Error 2

For info, here is I how I compiled everything: I really wish that the devs would include this info in the osx_build docs! I have never been able to get bitcoin to compile using brew!
./autogen.sh
cd depends/
./config.guess
make HOST=x86_64-apple-darwin15.4.0
cd ..
./configure --prefix=`pwd`/depends/x86_64-apple-darwin15.4.0
make HOST=x86_64-apple-darwin15.4.0
make deploy

If you ever figure out how to build on MacOS, please update the docs.  In the mean time I suggest developing on Linux.


chore: update azure storage blob version

Dependency changes
azure-storage-blob 12.14.2->12.14.4
AB#1877299

/azp run

Codecov Report

Merging #1563 (4fff696) into master (2304b52) will decrease coverage by 73.86%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #1563       +/-   ##
==========================================
- Coverage   83.55%   9.68%   -73.87%
==========================================
  Files         305     276       -29
  Lines       15776   14490     -1286
  Branches      732     732
==========================================
- Hits        13181    1404    -11777
- Misses       2595   13086    +10491

Impacted Files
Coverage Δ

...m/src/main/scala/com/microsoft/lightgbm/SWIG.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/com/microsoft/azure/synapse/ml/stages/udfs.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/spark/ml/LimeNamespaceInjections.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...m/microsoft/azure/synapse/ml/vw/VectorZipper.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...rg/apache/spark/injections/BlockManagerUtils.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

.../microsoft/azure/synapse/ml/io/binary/Binary.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

.../microsoft/azure/synapse/ml/lime/BreezeUtils.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

.../microsoft/azure/synapse/ml/param/ModelParam.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...microsoft/azure/synapse/ml/codegen/Wrappable.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...microsoft/azure/synapse/ml/train/AutoTrainer.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 269 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 2304b52...4fff696.


Docker url is wrong

Page: https://shenyu.apache.org/projects/shenyu/shenyu-set-up/
The docker url is dromara/shenyu-admin which is wrong. The correct one is dromara/soul-admin. The same problem with dromara/shenyu-bootstrap.
Since the name of the project has changed, maybe someone should pull a new docker image instead of modifying the url in the document.

May be I reference the wrong document since the latest version has not released.
For someone has the same question, please see the 2.3.0's version.


Add basic requirements for prod and tests

https://github.com/nexB/vulnerablecode/blob/develop/requirements.txt


Getting strange linker warning when running cabal

I opened this here: https://ghc.haskell.org/trac/ghc/ticket/10454#comment:1
in case its not minghc specific.
ghc.exe: warning: _tzset from msvcrt is linked instead of __imp__tzset
ghc.exe: warning: WSACleanup from ws2_32 is linked instead of __imp_WSACleanup
ghc.exe: warning: WSAStartup from ws2_32 is linked instead of __imp_WSAStartup
ghc.exe: warning: WSACleanup from ws2_32 is linked instead of __imp_WSACleanup
ghc.exe: warning: accept from ws2_32 is linked instead of __imp_accept
ghc.exe: warning: inet_ntoa from ws2_32 is linked instead of __imp_inet_ntoa
ghc.exe: warning: getnameinfo from ws2_32 is linked instead of __imp_getnameinfo
ghc.exe: warning: getaddrinfo from ws2_32 is linked instead of __imp_getaddrinfo
ghc.exe: warning: freeaddrinfo from ws2_32 is linked instead of __imp_freeaddrinfo
ghc.exe: warning: LeaveCriticalSection from kernel32 is linked instead of __imp_LeaveCriticalSection
ghc.exe: warning: EnterCriticalSection from kernel32 is linked instead of __imp_EnterCriticalSection
ghc.exe: warning: DeleteCriticalSection from kernel32 is linked instead of __imp_DeleteCriticalSection
ghc.exe: warning: DeleteCriticalSection from kernel32 is linked instead of __imp_DeleteCriticalSection
ghc.exe: warning: InitializeCriticalSection from kernel32 is linked instead of __imp_InitializeCriticalSection
ghc.exe: warning: InitializeCriticalSection from kernel32 is linked instead of __imp_InitializeCriticalSection

Is there a quick example of what you're building with this? I've seen this in ghci but I don't recall seeing it from GHC directly. That might because I use cabal for everything usually. You must be building a raw file then.

I am running cabal test on https://github.com/prowdsponsor/esqueleto
a hello world compiled with ghc directly does not create the linking warnings.

You might want to change your GHC trac ticket to say that, since "anything" would include a "hello world" program, but that's not causing any issues.

updated, guess I got to narrow it down some more, how could I isolate this problem more?

I did a cabal init and  cabal install ,  the most simplest package did not reproduce the warning messages.

Not sure about the critical sections, but I'll bet many of those come from building network. You could try building network by itself.

For the GHC ticket, you might also want to add what version of Windows you're using and what architecture.

See this: https://ghc.haskell.org/trac/ghc/ticket/8918

Looks like later versions of network have fixed this. So it could be that your dependencies rely on an old version of network or there is some other library working with MSYS2 to get it's socket handling.

I just ran into this with a "hello world" program.

We now advise people use Stack instead, MinGHC is no longer supported.


User receives error msg when requesting feedback on a plan

When I click the button to request feedback on a plan in the Share tab, I get the error message below. The plan is submitted, however, and appears in the Admin menu Plans table as expected (screenshot 2). The Request feedback button is also grayed out as expected (screenshot 3).
The bug appears to lie with the error message, which should instead be a success message. Also the admin does not receive an email notification that the plan was submitted.

This seems to be working now. I could submit a plan for feedback. I received the correct notice message and the email was distributed. Closing out.


strkey: IsValidEd25519PublicKey check encoded key length (32 bytes)

Implements #1769

Thank you! Could you also add a check to IsValidEd25519SecretSeed function?

I have commited a few changes.
IsValidEd25519PublicKey first checks the public key length (56), then checks the length of the decoded byte array (32).
IsValidEd25519SecretSeed now also checks if the decoded byte array is 32 bytes long.

Do you still want to pursue this or shall we close it?

I think the checks this adds are worth pursuing, but maybe we should pursue them another way. @2opremio @ire-and-curses @bartekn Maybe something for the Horizon team to make a decision on if this is really needed or not?

@2opremio I'm going to close this because it seems the PR is abandoned. Issues #1804 and #1809 still exist and can continue to track the desire for this feature. This PR will still be here if anyone decides to come back and resurrect it.


Update README.md

Here, the file needs to be read as a raw buffer, and there is no need to specify the encoding parameter.

Hi, @laoshu133. You're totally right — it makes no sense to force an encoding for binary image data. Thanks for contributing a fix!


Google Summer of Code 2022 (Idea List)

Abstract
We are pleased to announce that Apache Dubbo has been accepted as an independent project to attend GSoC 2022, aka Google Summer of Code 2022. Notice that this year's event is open to both college students and graduates who have been working already, you can attend as long as you are interested in Open Source and Coding.
We are still working on the Idea List that we want contributors from GSoC to work on now and they are expected to be available very soon and will be posted to this issue page. Please keep tuned. We hope to provide ideas of as many levels and kinds as possible so contributors of different levels can find a suitable one to participate.
Idea Lists:

Proxyless Mesh
Thin SDK for Proxy Mesh
Observability
Tasks Demo Design and Implementation
Rust language implementation

Notices on Applications.

Application instruction from Apache：https://community.apache.org/gsoc.html#prospective-asf-mentors-read-this
Please make sure you leave comments below the Github Issue you are interested in before applying。
Official website to apply: https//summerofcode.withgoogle.com/

Other GSoC projects of Dubbo side projects
Click here to learn about more GSoC projects from some other side projects of Dubbo.
基本说明
我们很高兴地宣布 Apache Dubbo 将正式作为独立项目参加 GSoC 2022，既2022 谷歌编程夏令营。需要注意的是，今年的活动同时对在校大学生、毕业生开放，也就是说，只要你对开源和编码感兴趣就可以报名参加。
我们仍在制作 Ideas List，我们希望提供尽可能多的不同程度的 Idea，以便不同层次的贡献者能够找到合适的项目参与其中。请持续关注此 issue，我们将随时在此更新进展。
题目列表

Proxyless Mesh
Thin SDK for Proxy Mesh
可观测性
服务治理用例设计与实现
Rust 语言实现

报名须知

请务必详细阅读指引：https://community.apache.org/gsoc.html#prospective-asf-mentors-read-this
请务必在感兴趣的项目 Github Issue 下方留言。
Google 官方报名地址：https://summerofcode.withgoogle.com/

其他生态项目 GSoC 题目
要了解 Dubbo 生态更多议题，请点击此查看

FYI, Google Summer of Code is a global, online program focused on bringing new contributors into open source software development. GSoC Contributors work with an open-source organization on a 12+ week programming project under the guidance of mentors.

Please notice that the application phase has ended and we are now working on the evaluation of all the proposals.

Hi, I found that I missed the application phase. Is there any other way to join this event?


minimum spanning tree (MST)

Maybe we can use this as a reference; https://github.com/gunrock/gunrock/tree/v0.5.1/gunrock/app/mst


[logs] These changes are due to the imposition of Vxx symmetric - [merged]

In GitLab by @cmastalli on Apr 10, 2019, 09:51
Merges topic/patch-log-changes-due-vxx-symm -> devel
In previous commit (095cbe4f6689afc1af019066), there is added a numerical trick in order to impose symmetric in $V_{xx}$. With long number of action, numerical rounding produces non-symmetric matrix and the solver struggles to find a solution.
It's difficult to quantify how much this numerical trick is affecting the ground-truth values. Previous values cannot be considered ground-truth neither, they were reported with a code that was generated non-symmetric $V_{xx}$ matrices.
For c++ release we can properly address the imposition of symmetric (reported in #159). And after that, we will be able to get ground-truth values.

In GitLab by @nmansard on Apr 10, 2019, 10:20
Ok, the values are acceptable.
Just for confirmation: could you assert that these new log files have been generated with the 095cbe commit (and not with e.g. devel head f0aa5cc)?

In GitLab by @cmastalli on Apr 10, 2019, 10:29
Yes, I confirmed you that. I manually checked (using meld) that 095cbe4f changed the log files. I also checked that a commit before that (i.e. 975e94d5553ed9903c156) is was working well.

In GitLab by @nmansard on Apr 11, 2019, 16:25
merged

In GitLab by @nmansard on Apr 11, 2019, 16:25
mentioned in commit 5ce975fc3f0801a455c9790bae720661efc118ae


Cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX

I can not use these both flutter plugins together:
cloud_firestore: ^0.9.0+2
barcode_scan: ^0.0.8
When run, error occured:
D8: Program type already present: android.arch.core.util.Function
*********************************************************
WARNING: This version of cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https: //goo.gl /CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
*********************************************************
FAILURE: Build failed with an exception.
it compiled and runned on Android phone when I remove one of them. But both can not go together. How to fix?

@Laysros does it help?
https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility#avoiding-androidx
maybe if you use cloud_firestore: 0.8.2+3 you wouldn't have this error

Published 1.0 to pub with this fix


Typo "sepc" -> "spec" in Deployment YAML file

There's a typo in the Deployment YAML file
...
 resources:
        requests:                 # you can sepc the container resource according your need
...

I think it should be "spec" and not "sepc"

Thanks @xaviatwork, this was fixed!


move the new record pop up up in the window

currently the activity subtype gets cut off.

@micheal-w-wells  i think you completed this one right?


Extend riscv-compliance description

Include all tests in the description which can be executed for Ibex and
riscv-compliance.

Thanks!


Adds ResourceGroupPathManifestReader

Adds ManifestReader which generates a ResourceGroup custom resource during path Read().
Updates Kptfile to add Inventory parameters.
Currently not hooked up into kpt.

/assign @mortent


what is this http://b/18228951 , i can not find it

Click to expand!
Issue Type
Support
Source
source
Tensorflow Version
2.7
Custom Code
No
OS Platform and Distribution
no
Mobile device
no
Python version
3.7
Bazel version
no
GCC/Compiler version
no
CUDA/cuDNN version
no
GPU model and memory
111
Current Behaviour?
http://b/18228951,i find there are many http://b  in tflite code。But I can not find the url,do you send it?

Standalone code to reproduce the issue
111111

Relevant log output
1111

@chenliang110,
I tried to access the provided link and facing an access issue. I suspect it is not related and accessible.
In order to expedite the trouble-shooting process, could you please provide a minimal code snippet and the TensorFlow version you are using. Thank you!

b/numbers is an internal link to Google resources. The contents are private to google.

b/numbers is an internal link to Google resources. The contents are private to google.
Hello，in tflite2.9 has following code:
size_t TfLiteIntArrayGetSizeInBytes(int size) {
static TfLiteIntArray dummy;

size_t computed_size = sizeof(dummy) + sizeof(dummy.data[0]) * size;
#if defined(_MSC_VER)
// Context for why this is needed is in http://b/189926408#comment21
computed_size -= sizeof(dummy.data[0]);
#endif
return computed_size;
}
and
typedef struct TfLiteIntArray {
int size;
#if defined(_MSC_VER)
// Context for why this is needed is in http://b/189926408#comment21
int data[1];
....
But in tflite 2.7 has not above parts。 I want to know why in 2.9 make a difference for _MSC_VER,  what is this reason. is it a bug for  _MSC_VER?

@chenliang110,
In order to expedite the trouble-shooting process, could you please provide a minimal code snippet you are using. Thank you!


Hotbar push

Hi! Nice job with this module.
Can you make possible to send a hotbar configuration?

Thank you.

Ooh, fantastic idea, I hadn't thought of that!
I'll see what I can do, thanks for the feedback


Framework doesn't allow Combo-boxes to offer a  "blank" selection item

Issue Details
Type of Issue  (check one with "X")
[ ] Bug Report => Please search GitHub for a similar issue or PR before submitting
[X ] Feature Request => Please ensure feature is not already in progress
[ ] Support Request => Please do not submit support requests here, instead see: https://discourse.oss.antheminc.com/

Current Behavior
Some HIP NICU combo boxes do not require a value to be selected.   On update, it is currently not possible to select a blank value from the combo box.
Expected Behavior
For combo boxes that are not required, the user should be able to select a blank value from the drop down list.
How to Reproduce the Issue
Steps to Reproduce
Test example can be provided by the scrum team.
Code Snippet

Environment Details

Nimbus Version:

Browser:

@pkanthem Who are you?  Can you message me in Sococo


Depends on old broken version of lru

I am working on enabling the compiler to detect misuse of uninitialized memory (https://github.com/rust-lang/rust/pull/71274), and this crate came up as being affected by that detection. If my analysis is correct, this is caused by a dependency on an old version of lru that does not yet include https://github.com/jeromefroe/lru-rs/pull/62. Any chance you could update that dependency? Then hopefully the compiler change will go smoothly. :)

Which version did you test? Which crate is affected (we use a monorepo here).
The dependency was removed entirely from cosmwasm-vm in https://github.com/CosmWasm/cosmwasm/pull/405, which was released as 0.9.0.

Here's the logfile. Looks like it was version 0.7.2 of the crate cosmwasm-vm. The run was back in April, but it took a while to go through all the results.
If the dependency has been removed since then, great. :) I think the issue can be closed then.

Alright, thanks. Happy for more of those reports but I think this one is covered.


frame-benchmarking: Macros should not force a particular env

The macros in frame-benchmarking relied on having all the macros imported, which isn't a behavior for a proper macro :D This pr fixes this by making all internal macro usages absolute.
Required for: https://github.com/paritytech/cumulus/pull/2072

bot merge


Adds child quizzes in section page

Added child quizzes in section

@dannyparsons added child quizzes in section as discussed before.


Game executable icon

We'll need to draw a custom icon for the game executable.
We cannot use the original icon because of the copyright issues, so let's invent our own!
It would be preferable to have the icon in SVG format, for us to scale it for different resolutions, and maybe reuse in some places in the game.

One candidate for this (SVG) is in #68.


Test generation is not canceled when user tries to stop it at building phase

Description
For big projects build phase could take noticeable amount of time if user tries to cancel test generation at the moment UBTot still proceeds with test generation.
To Reproduce
Steps to reproduce the behavior:

Open utbot project
Invoke test generation on some class, on org.utbot.examples.strings.StringExamples for example
Quickly click on cancel while UTBot still at building phase

Expected behavior
Generation of tests stopped
Actual behavior
UTBot stops (or try to stop building) but then procced with reading classes and test generation.

This issue duplicates #1100 and can be closed as obsolete (see revision 53c3b3f8)


fix: 节点选中框位置错误问题 (#3198)

Description

Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Enhancement (changes that improvement of current feature or performance)
[ ] Refactoring (changes that neither fixes a bug nor adds a feature)
[ ] Test Case (changes that add missing tests or correct existing tests)
[ ] Code style optimization (changes that do not affect the meaning of the code)
[ ] Docs (changes that only update documentation)
[ ] Chore (changes that don't modify src or test files)

Self Check before Merge

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Dom.remove(box) 删除元素时，会更新this.$boxes数据，导致后续for循环拿到的新添加的元素。


fix cf_app_discovery deployments

The concourse pipeline (in
prometheus-aws-configuration-beta/pipeline.yml) broke when we upgraded
to concourse 5.7.0.  There are various problems:

we use the default cf resource rather than pinning a specific
version in resource_types :(

and it's hard to find out what the old version we were using
even was D:

we specify the path parameter on our resource update
we have multiple apps in our manifest

A recent update to the concourse cf-resource changed how we push
apps, so that when you specify path it adds a -p . parameter to
the cf command line.  The cf cli then barfs with the error:
Incorrect Usage: Command line flags (except -f and --no-start) cannot be applied when pushing multiple apps from a manifest file.

If we remove the path, it still fails, because it can't find the
code.
The fix is to specify the path as . in the manifest in the
cf_app_discover repo, then update the pipeline (here) to remove the
path parameter.

see also https://github.com/alphagov/cf_app_discovery/pull/45


[Feature][Install] upgrade add sub_process

#6597

Codecov Report

Merging #6845 (9a297a3) into dev (4114cb0) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #6845      +/-   ##
============================================
+ Coverage     33.15%   33.17%   +0.02%
- Complexity     1622     1624       +2
============================================
  Files           433      433
  Lines         14296    14296
  Branches       1427     1427
============================================
+ Hits           4740     4743       +3
+ Misses         9106     9101       -5
- Partials        450      452       +2

Impacted Files
Coverage Δ

...dolphinscheduler/remote/future/ResponseFuture.java
81.35% <0.00%> (-1.70%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
53.52% <0.00%> (+1.40%)
:arrow_up:

...org/apache/dolphinscheduler/remote/utils/Host.java
40.00% <0.00%> (+2.22%)
:arrow_up:

...er/master/dispatch/host/assign/RandomSelector.java
83.33% <0.00%> (+5.55%)
:arrow_up:

Continue to review full report at Codecov.

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


fix fix union all instance number

pick from https://github.com/apache/doris/pull/39999

run buildall


⚠ Processors has degraded performance

In 857b3ad, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 36 ms

Resolved: Processors performance has improved in 96342ef.


✨ feat: exposed freezed union objects (#600)

1. Description

1.1. Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

1.3. Related Issues

Codecov Report

Merging #665 (95c3994) into main (863ec23) will increase coverage by 6.01%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #665      +/-   ##
==========================================
+ Coverage   80.56%   86.58%   +6.01%
==========================================
  Files         224       10     -214
  Lines        2702      231    -2471
==========================================
- Hits         2177      200    -1977
+ Misses        525       31     -494

see 214 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Where did the custom build with Ninja physics enabled go?

I understand the physics engine is not included by default, but it seems somewhere during Phaser 2.3 the custom build folder no longer contains a build with ninja physics. Is it gone now, not coming back? And why?

Not sure, but I was using Ninja Physics and found so many bugs in there  I just switched to p2 and never looked back :)  I think it might have been removed or forgotten about from the compiling process based on it's poor performance

I am pretty sure I read that the original authors kind of gave up on it and so it was removed for the above reason. Although do not quote me.

So I guess you could say the ninja physics implementation was by no means a viable engine to use for game development?

I don't intend to include a pre-built version of it any more, no. It's easy enough to use the custom build option to make one with it in imho.


Support for SourceSecurityGroupId under SecurityGroupEgress in AWS::EC2::SecurityGroup

cfn-lint version: (cfn-lint --version)
cfn-lint 0.7.3
Description of issue.
For some reason I get:
E3002 Invalid Property Resources/LaServiceEndpointSecurityGroup/Properties/SecurityGroupEgress/0/SourceSecurityGroupId
template.yml:1483:9

for
  LaServiceEndpointSecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupName: LaServiceEndpointSecurityGroup
      GroupDescription: Security Group for VPC endpoints in the Lambda subnets
      SecurityGroupEgress:
      - IpProtocol: tcp
        FromPort: 443
        ToPort: 443
        SourceSecurityGroupId:
          Fn::GetAtt: [LambdaCanCallLaServiceSecurityGroup, GroupId]
      SecurityGroupIngress:
      - IpProtocol: tcp
        FromPort: 443
        ToPort: 443
        SourceSecurityGroupId:
          Fn::GetAtt: [LambdaCanCallLaServiceSecurityGroup, GroupId]
      VpcId:
        Ref: VPC
      Tags:
        - Key: Name
          Value: LaServiceEndpointSecurityGroup
        - Key: Stage
          Value: {Ref: Stage}

The odd part is it doesn't complain about SourceSecurityGroupId under SecurityGroupIngress only SecurityGroupEgress

Actually what is odd is that I should be using DestinationSecurityGroupId for Egress according to : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html
But deployment passes anyways with SourceSecurityGroupId under SecurityGroupEgress >____>

@cmmeyer can you take this one?  Looks like another case of weirdness with the documentation/spec/API.
@Hamitamaru we rely on the CloudFormation spec a lot for this.  I cut and pasted the appropriate section below for reference and that property isn't specified.
Looks like the documentation matches the spec.
So the API may take SourceSecurityGroupId.  My guess is you should be using DestinationSecurityGroupId but something is still allowing SourceSecurityGroupId which isn't documented?
    "AWS::EC2::SecurityGroup.Egress": {
      "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html",
      "Properties": {
        "CidrIp": {... },
        "CidrIpv6": { ... },
        "Description": { ... },
        "DestinationPrefixListId": { ... },
        "DestinationSecurityGroupId": { ... },
        "FromPort": { ... },
        "IpProtocol": { ... },
        "ToPort": { ... }
      }

Hi, @Hamitamaru
It looks like this is behaving as expected.  It's weird because there is a generic "EC2 Security Group Rule Property Type" but the valid properties are different based on whether you are using it as an Ingress rule or an Egress rule:
From the CloudFormation doc (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html):

DestinationSecurityGroupId (SecurityGroupEgress only)
SourceSecurityGroupOwnerId (SecurityGroupIngress only)

This makes sense, since for an Egress Rule, your "source" would always be the current security group. I'm not sure why your provisioning is working -- are the rules showing up as expected?

Ok, that's so WEIRD -- I ran it myself and it looks like the CloudFormation workflow is treating the SourceSecurityGroupId as a DestinationSecurityGroupId.  This kind of makes sense since the underlying API (AuthorizeSecurityGroupEgress) doesn't differentiate and simply has a parameter called "GroupId".
I'm going to cut a ticket with the CloudFormation team.  Seems silly to have differentiated properties on the CFN side if they're just going to lump them together on the API side, but I would say in general this is behavior as expected within the linter.
Are you ok with changing your template to use DestinationSecurityGroupId per the docs/spec for now and we'll treat this a CloudFormation issue?

I have since changed SourceSecurityGroupOwnerId to DestinationSecurityGroupId under SecurityGroupEgress and deployment worked. I agree that if anything this is a "bug"/"feature" on the AWS CloudFormation side and not a bug of cfn-pthon-lint.
@cmmeyer , will you update this Issue with updates from your ticket with the CloudFormation team?

Will do!

@cmmeyer is this something we should "patch"?

I could patch the spec to enforce the xSecurityGroupOwnerId be correct (Source/Destination) to make templates more readable, but it doesn't impact the workflow engine and could throw errors for templates that actually work.
Perhaps instead of updating the spec we add a warning level error?

Experiencing a similar issue for AWS CodeBuild:
I have a codebuild project that uses the filter groups feature like so:
Triggers:
Webhook: true
FilterGroups:
- - Type: EVENT
Pattern: PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
- Type: BASE_REF
Pattern: ^refs/heads/master$
However the project linting fails for the FilterGroups property. This is despite it being correct syntax. The error is:
E3002 Invalid Property Resources/BuildProject/Properties/Triggers/FilterGroups
This is despite the file being actually valid! Any ideas what can be done about this?

@theslloyd what version are you using? There have been some back and forth on this property and it’s support in the CloudFormation spec. I believe the most recent version should have this covered though.

@kddejong using:
[Container] 2019/02/28 11:59:05 Running command cfn-lint --version
cfn-lint 0.13.0

I've found out that the fix was merged 10 days ago, and the latest version release was 8 days ago, so the issue should included with v0.14.1 of cfn-lint. Apologies for the waste of notifications...

@kddejong we can still see this issue:
$ cfn-lint --version
cfn-lint 0.20.1

🤔

@tanisdlj there are two issues together here?
You talking about this one?
E3002 Invalid Property Resources/LaServiceEndpointSecurityGroup/Properties/SecurityGroupEgress/0/SourceSecurityGroupId
template.yml:1483:9

Closing the original issue.  We can re-open or create any new issues as needed.


bump gitea-react-toolkit: fix multiple file loads

Syntax updates and a few tweaks while debugging to figure out what was causing files to reload a dozen times.

This change is

before:

after:

@klappy thank you!
I would like to check it out


Consider IOS usage scenarios

Upgrade to server 5.0.
In the traccar manager client under server 5.0 the new modern interface is drawn.  When rendering on the screen unit access is not immediately available.  To access a unit a user must click the menu, select the unit, then the back arrow.  This makes it very hard on a mobile standpoint to scroll through units in an efficient fashion.
Practical example - we use traccar to follow ambulances across a county.  In the pre 5.0 version a table of units was drawn on the screen.  This allows a someone operating a supervisors vehicle to very quickly navigate between units and see their location on the map and follow them if it became necessary.
Suggestions:
When selecting unit from the menu immediately return to the map.
Enable the expanded table as the full web interface has.

We were thinking of second click on a selected device returns back to the map. Does that work?

Thanks for the quick response.
It would not be a bad start - but I think the option to pin the device list woudl still be helpful with single click navigation.
Imagine operating and emergency vehicle and needing to be able to quickly and dynamically change the resource your tracking or looking for.  Clicking a menu / double clicking a unit / adds additional key strokes not necessary in the older interface.
In our case we have both iphones and ipads - the larger real estate screens on the ipads would allow us to pin the devices table just like the full web interface.

@dkyeremeh any thoughts on this?


Reusable queries

Provide the ability to store and later execute a query, without having to specify it in detail each time.

Completed.


⚠ Bofrost.at has degraded performance

In 1348e4d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1590 ms

Resolved: Bofrost.at performance has improved in c04f970 after 13 minutes.


cuda version

Is cuda11.0 ok？

what pytorch versionare you using?

Other versions of python/cuda have not been fully tested, but I think they should work as well.