Create Exporter for Spring Boot Metrics

Spring Boot applications by default supports the /metrics endpoint exposing JVM and application metrics, http://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-metrics.html
However the response is not compatible with Prometheus.
I know about the JMX Exporter but it would be great to have an official SpringBootExporter that works out of the box.

:+1: I've made a start but it's stalled a bit due to other things. See https://github.com/jimmidyson/spring-boot-prometheus - really happy for contributions to get it working nicely.

The general idea would be to write a simpleclient collector that'd proxy the metrics, giving them good labels where possible.
I note that Spring counters are not compatible with Prometheus counters, as they have a decrement method.

I had to use a Prometheus gauge in place of spring counters. Was going to do the same as dropwizard spring metrics implementation & use metrics prefixes to create counters & summaries as required.

There's nothing to be done here on the Prometheus side, if there's anything on the client_java side please open up an issue there.


Create new GitHub repository UNopenGIS/77 for DWG7 Objective 7

https://github.com/UNopenGIS/7/wiki/Project-Document#objective-7-core
New objective, UNopenGIS DWG7 Objective 7: Core has announced at project document above and introduced to Co-Chairs of UNopenGIS.
So I propose to create a repository like UNopenGIS/77 for Objective 7.
That is similar to repositories below.

https://github.com/UNopenGIS/74
https://github.com/UNopenGIS/76

I can think of many tasks I would like to list about Objective 7.
I would like some place to write them down.
Also I would like to request to triage them to @smellman, Objective Owner of Objective 7.
Please let me know if you ( @hfu ) have any concerns about doing this.
For example, "It is still too early to do."

For reference, I would like to list the following tasks

Understand and document of the activities of key organizations involved in OSS GIS

There seem to be a great number of organizations. I think this is confusing for everyone. I would like a brief overview of these.
They seem to be creating their own learning content. It would be worthy just to understand these and introduce them appropriately to meet the demand.

Understand of examples of vector tile map construction workflows

For large scale cases
For small scale cases
Document the industry standard software used there

Thanks for the suggestion!
I created https://github.com/unopengis/77 and invited @smellman, @yuiseki, @ubukawa, and @hfu as its admin!


Update create-new-customer-engagement-offer.md

added note to clarify that re-publish is needed to reflect changes

@BrianLevenson : Thanks for your contribution! The author(s) have been notified to review your proposed change.

did this directly rather than private repo by accident


Automatic update of the tzdata package.

Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary
This is an automatically generated pull request.
REQUIRES A MANUAL TEST BUILD!
Automated update of the tzdata package.
Change Log

Updated the tzdata package to the latest version.

Does this affect the toolchain?
No.
Test Methodology

None. Requires a separate, manual build check.

Kicking off buddy builds for this.
x86_64: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=249951&view=results
aarch64: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=249955&view=results


form adjustments

@king-Alex-d-great

Hey Winnie

Please add the various toasts based on what the flow I shared with you
The Button State is still inconsistent. It should keep showing submitting until the flow is done
Remove feed page totally from the nav bar. Place the evidence form as part of the vertical Navigation on the Feed page
So when a user clicks on Evidence form they are taking to the Evidence form tab
The application should throw an Error when the User isn't Connected to Internet
A user shouldn't be able to select a date that is in the future
Add tooltip to tell user the type of file to upload
Errors are also still not handled


I cant run it

I tried to run pine.py, but it print("Do not run this file directly."), so what is the correct step to run
note: I use pycharm 2022.2.4 (python 3.10)

Don't run it within Pycharm!
Open a terminal/command prompt window in that directory and use "python pine.py" to run the application.


Migrate to local: pal are cloned

All pals that worked in the bases before migration, are still working inside base + a cloned pal is inside the pal box. In this screen, the both chickens are duplicated.

How, somehow they may have the same UUID, because the worker symbol from the worked pal is synced with the wal from the box. Including for pals across all bases.

can u provide the file that before migrate and with the uuid for you to migrate?

Save Game: 6EE886BC41FB3023717E0D9DB323E1C5.zip
UUID: A6A3014D000000000000000000000000

fixed on 0.7.2

Wenn do you plan to release it?
https://github.com/magicbear/palworld-server-toolkit/releases


Include AWS CloudWatch Logs reciever

Request
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.102.0/receiver/awscloudwatchreceiver to be included in Alloy.
Use case
I need to get logs from CloudWatch into Loki. In addition I need autodiscovery of log groups with some prefix.
Existing solution of CloudWatch Logs -> Firehose -> Alloy is too complex and costly to maintain. Also this solution must be reconfigured every time new log group is added or removed, which makes whole solution not viable for my case.

I agree, this would be a great addition.
I'm currently setting up a lambda-promtail Terraform module as a workaround but that lacks autodiscovery which is a real pain.

I need to get logs from CloudWatch into Loki. In addition I need autodiscovery of log groups with some prefix.
is there any update on this ??

@z0rc Any updates on this? Firehose -> Alloy seems to have the issue that the alloy endpoint has to be public - is that right?

@lieberlois what makes you think, that I can provide an update on this?

@z0rc I didn't mean to offend you, I just thought you might have found a solution by now and maybe can provide the solution

@lieberlois solution is to use otel-collector with linked reciever. It was solution prior to creation of this ticket and still is a valid solution.


Replace MetricCard change from 0 to =

Today I happened to see the following:

At first glance the labeling is confusing – there is no clear indication that the small number is relative, whether with sign or color. While comparing to other cards in the row explains the intention, it's still unclear when confusing on the single metric.
I think it would be a better UX to display an equals sign when there is no change.
If the change is accepted, I'd be glad to submit a PR. Would the following be correct approach, or am I missing something?
// MetricCard.js

-   {~~change === 0 && {format(0)}}
+   {~~change === 0 && =}

A better solution may be to not show anything at all when it's equal.


Resetting Sequence

Hi,
I have a factory that defines a property like this:
duration: Factory.sequence(function(n) { return n }),
I create multiple sets of objects
await factory.createManyAsync('object', 200 )
await factory.createManyAsync('object', 200,{ref:hardcoded_id} )

Now for the second set I like the duration sequence to start from the beginning again, how can I do that? I that possible?
Best,
Stan

Solved it this way, the name of specific sequence 'createdAtSequence' can be passed in via buildOptions.
...
createdAt: factory.sequence(buildOptions.createdAtSequence||'createdAt', n=>
{ return  moment().add(parseInt((n-1)/buildOptions.per_day||100),'days').toDate() }
)
...


ansiCodesSupported regression in 1.0.0-RC2

(See the guidelines for contributing, linked above)
steps
Create a test project (run in shell):
mkdir -p rainbows/project
cd rainbows
echo 'sbt.version=1.0.0-RC2' > project/build.properties
cat > build.sbt <<EOF
val rainbows = taskKey[Boolean]("rainbows")
rainbows := streams.value.log.ansiCodesSupported
EOF
sbt 'show rainbows'

problem
Value of streams.log.ansiCodesSupported is false on the last line of:
[info] Loading settings from build.sbt ...

[info] Set current project to rainbows (in build file:/private/tmp/rainbows/)

[info] false

expectation
It should be true like in 0.13.
notes
sbt version: 1.0.0-RC2.

Fixed in https://github.com/sbt/util/pull/101


E2E tests not running by default

PR https://github.com/submariner-io/submariner/pull/228/ modified e2e.sh so
it only runs the E2E tests if 'status=keep' and thus the tests no longer run
with 'status=onetime', which is the default via 'make ci e2e' as documented.
Therefore modified e2e.sh to also check for 'status=onetime'.
Signed-off-by: Tom Pantelis<EMAIL_ADDRESS>

This change is


Error: image dockerfile/java:latest not found

I just did
$ docker pull dockerfile/java
Using default tag: latest
Pulling repository docker.io/dockerfile/java
Error: image dockerfile/java:latest not found

seems like that repository has been removed

any updates on where the latest repository exist?

I've also tried it but its seems like the repo is down and out ,


Add code coverage with istanbul

Current coverage is 95.51%

Branch #6 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.


Recaptcha not working on Login Screen

Therefore, it is impossible to connect

https://github.com/Lacro59/playnite-indiegala-plugin/commit/13536217457ee0e30b7b4795fc64129b8f645506


Test import folder with authors, parent, data-mgmt, and giving

Developer
Secrets

[ ] All new secrets have been added to Pantheon tiers
[ ] Relevant secrets have been updated in Github Actions
[ ] All new secrets documented in README

Documentation

[ ] Project documentation has been updated
[ ] No documentation changes are needed

Accessibility

[ ] ANDI or Wave has been run in accordance to
our guide and
all issues introduced by these changes have been resolved or opened as new
issues (link to those issues in the Pull Request details above)

Stakeholder approval

[ ] Stakeholder approval has been confirmed
[ ] Stakeholder approval is not needed

Dependencies
YES | NO dependencies are updated
Code Reviewer

[ ] The commit message is clear and follows our guidelines
(not just this pull request message)
[ ] The changes have been verified
[ ] The documentation has been updated or is unnecessary
[ ] New dependencies are appropriate or there were no changes

Closing this PR - no longer needed


Conflict computation: take into account relations with profiles

We will be storing profile ids instead of email addresses for represent relations in profiles. The tools function to get profile info should get the profile ids for all the relations in order to find a match between relations.
For example:

My profile id is ~Melisa_Bok1 and my alternate name is ~Melisa_M_Bok1.
Celeste added ~Melisa_M_Bok1 as a relation.

There should be a conflict detected.

This issue depends on https://github.com/openreview/openreview-api/issues/277
Because email sections will be removed, we need to update the tools function accordinly:
https://github.com/openreview/openreview-api/issues/283

Fixed here: https://github.com/openreview/openreview-py/pull/1910


Extract all unique links from a MediaWiki markup

Fixes #245.

I went for deduplicated Vectors instead of HashMaps, but let me know if HashMap is a better choice after all.

I rebased and merged. Thanks @yandexx


SameDiff profiler JSON format issue + performance issue

https://github.com/eclipse/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/listeners/profiler/data/TraceEvent.java#L43
Should be String cat not List<String> categories to comply with the chrome profiler format
https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit

It might be useful to make SameDiff profiler available in API for re-usage and inheritance in another modules. There's useful basic implementation of async file writer.

This component of the code also needs to be fixed - we don't want the delay/overhead of sleep/flush in the master thread.
https://github.com/KonduitAI/deeplearning4j/blob/88d3c4867fb87ec760b445c6b9459ecf353cec47/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/listeners/profiler/ProfilingListener.java#L159-L175


sym.Pose3.position() read/write data types inconsistency

Describe the bug
Since v0.6.0, the type of sym.Pose3.t has changed from a 1d array ndarray(1,3) to a vertical array, ndarray(3,1)
Now in v0.6.0, reading Pose3.t produces such a vertical array, but writing into Pose3.t requires a single horizontal array.
To Reproduce
pose = sym.Pose3.identity()
position = pose.t
pose2 = sym.Pose3(t=position, R=pose.R)
display(pose2.to_storage())

>>>
[0.0, 0.0, 0.0, 1.0, array([0.]), array([0.]), array([0.])]

and any operation on pose2 now fails.
How am I supposed to deal with such positions without going into ugly code such as the one below?
pose = sym.Pose3.identity()
position = pose.t
pose2 = sym.Pose3(t=position.transpose()[0], R=pose.R)
display(pose2.to_storage())

Expected behavior
pose = sym.Pose3.identity()
position = pose.t
pose2 = sym.Pose3(t=position, R=pose.R)
display(pose2.to_storage())

>>>
[0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0]

Screenshots

Environment (please complete the following information):

OS and version: Both Ubuntu 20 and MacOS
Python version 3.10
SymForce Version 0.6.0 -- as compared to 0.5.0

Agree this is quite confusing - we should definitely make these compatible.  Probably what should happen is that the sym.Pose3 constructor should do the same thing the generated functions do and accept either T.Union[T.Sequence[float], np.ndarray] and allow the ndarray to either be flat or a column vector.  No matter what though you should be able to take one pose.t and pass it to the constructor of sym.Pose3, we should add a unit test that checks this specifically (probably same for the rotation component).
Yes, the workaround for now would be something like that ugly transpose and indexing

Hi Aaron. I see! Well, what I did, I got rid of all instances of sym.Pose3 and use instead sf.Pose3.  The reason why I used sym comes back to another old issue you probably remember about copying Pose3 objects, but this is now solved.
Thanks again! Keep up the good work!


velero plugins

New Image Pull Request Template

Image Size

[ ] The Image is smaller in size than its common public counterpart.
[ ] The Image is larger in size than its common public counterpart (please explain in the notes).

Notes:
Image Vulnerabilities

[ ] The Grype vulnerability scan returned 0 CVE(s).
[ ] The Grype vulnerability scan returned > 0 CVE(s) (please explain in the notes).

Notes:
Image Tagging

[ ] The image is not tagged with version tags.
[ ] The image is tagged with :latest
[ ] The image is not tagged with :latest (please explain in the notes).

Notes:
Basic Testing - K8s cluster

[ ] The container image was successfully loaded into a kind cluster.
[ ] The container image could not be loaded into a kind cluster (please explain in the notes).

Notes:
Basic Testing - Package/Application

[ ] The application is accessible to the user/cluster/etc. after start-up.
[ ] The application is not accessible to the user/cluster/etc. after start-up. (please explain in the notes).

Notes:
Helm

[ ] A Helm chart has been provided and the container image can be used with the chart.  If needed, please add a -compat package to close any gaps with the public helm chart.
[ ] A Helm chart has been provided and the container image is not working with the chart (please explain in the notes).
[ ] A Helm chart was not provided.

Notes:
Processor Architectures

[ ] The image was built and tested for x86_64.
[ ] The image could not be built for x86_64 (please explain in the notes).
[ ] The image was built and tested for aarch64.
[ ] The image could not be built for aarch64. (please explain in the notes).

Notes:
Functional Testing + Documentation

[ ] Functional tests have been included and the tests are passing.  All tests have been documnted in the notes section.

Notes:
Environment Testing + Documentation

[ ] There has not been a request and/or there is no indication that this image needs tested on a public cloud provider.
[ ] The container image has been tested successfully on a public cloud provider (AWS, GCP, Azure).
[ ] The container image has not been tested successfully on a public cloud provider (AWS, GCP, Azure) (please explain in the notes).

Notes:
Version

[ ] The package version is the latest version of the package.  The latest tag points to this version.
[ ] The package version is the not the latest version of the package (please explain in the notes).

Notes:
Dev Tag Availability

[ ] There is a dev tag available that includes a shell and apk tools (by depending on 'wolfi-base')
[ ] There is not a dev tag available that includes a shell and apk tools (by depending on 'wolfi-base') (please explain in the notes).

Notes:
Access Control + Authentication

[ ] The image runs as nonroot and GID/UID are set to 65532 or upstream default
[ ] Alternatively the username and GID/UID may be a commonly used one from the ecosystem e.g: postgres
[ ] The image requires a non-standard username or non-standard GID/UID (please explain in the notes).

ENTRYPOINT

[ ] applications/servers/utilities set to call main program with no arguments e.g. [redis-server]
[ ] applications/servers/utilities not set to call main program with no arguments e.g. [redis-server] (please explain in the notes)
[ ] base images leave empty.
[ ] base image and not empty (please explain in the notes).
[ ] dev variants is set to entrypoint script that falls back to system.
[ ] dev variants is not set to entrypoint script that falls back to system (please explain in the notes).

CMD

[ ] For server applications give arguments to start in daemon mode (may be empty)
[ ] For utilities/tooling bring up help e.g. –help
[ ] For base images with a shell, call it e.g. [/bin/sh]

Environment Variables

[ ] Environment variables added.
[ ] Environment variables not added and not required.

SIGTERM

[ ] The image responds to SIGTERM (e.g., docker kill $(docker run -d --rm cgr.dev/chainguard/nginx))

Logs

[ ] Error logs write to stderr and normal logs to stdout. Logs DO NOT write to file.

Documentation - README

[ ] A README file has been provided and it follows the README template.

I've tested these plugins in a local Kind cluster, installed velero, and pushed backups to AWS S3:
[14:04:22|24-03-27] jamon@ham: ~/chainguard/wolfi-os>>
  130 % aws s3 ls velero-plugin-test/backups/test-pv-backup4/
2024-03-27 11:36:45         29 test-pv-backup4-csi-volumesnapshotclasses.json.gz
2024-03-27 11:36:45         29 test-pv-backup4-csi-volumesnapshotcontents.json.gz
2024-03-27 11:36:45         29 test-pv-backup4-csi-volumesnapshots.json.gz
2024-03-27 11:36:45         27 test-pv-backup4-itemoperations.json.gz
2024-03-27 11:36:45       9334 test-pv-backup4-logs.gz
2024-03-27 11:36:45         29 test-pv-backup4-podvolumebackups.json.gz
2024-03-27 11:36:45       1478 test-pv-backup4-resource-list.json.gz
2024-03-27 11:36:46        179 test-pv-backup4-results.gz
2024-03-27 11:36:45         27 test-pv-backup4-volumeinfo.json.gz
2024-03-27 11:36:45         29 test-pv-backup4-volumesnapshots.json.gz
2024-03-27 11:36:45      38337 test-pv-backup4.tar.gz
2024-03-27 11:36:46       3314 velero-backup.json

The readmes should link to the official plugin pages on the velero site for reference.


Tables within cards overflows card on mobile

When viewed on Note 8 in portrait mode, Table escapes the card as so:

Likely just needs an overflow:auto or overflow:scroll added to parent.

Hi, really good point.
Thanks to you, I fixed overflow problem in my RC-2 upgrade available here : https://github.com/djibe/material/tree/master/css
Latest material look is applied to tables : https://material.io/components/data-tables/
You may try my new class : .data-table instead of .card as container.
Enjoy. Keep me informed about bugs.

Fix is available here : https://djibe.github.io/material/docs/4.4/material/data-tables/
See the docs and play with tables.

Looks good!


Migrate channel, clean and a few other commands to null safety

Part of #71511.

Google testing is mad https://github.com/flutter/flutter/pull/92871 isn't yet rolled.


pyproject: switch to setuptools legacy backend

I need stop being picky and just drop poerty as it doesn't make that much sense for this project. Maybe in the future...

Nothing made it unusable. It was another place to maintain metadata.

I meant why not drop setuptools over poetry 😅

Ah, because I want it to be easily bootstrapable.


HttpClientHandler System.ObjectDisposedException on client side (C#)

Versions of Server-Side NuGet Packages: Microsoft.AspNetCore.App 2.1.1
Versions of Client-Side NuGet/NPM Packages: Client for ASP.NET Core SignalR 1.0.3
Are you using the C# client or the JavaScript client: C# Client
The Server you are using (Kestrel/HttpSysServer/IIS/IIS Express/Azure Web App/etc.): IIS Express
The Operating System on the Server (Windows/Linux/macOS): Windows
The Operating System on the Client (Windows/Linux/macOS): Windows

I have simple HttpClientHandler
public class WrappedHttpMessageHandler : HttpClientHandler
    {
        protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
        {
            //request.Headers= ;
            var response = await base.SendAsync(request, cancellationToken); //System.ObjectDisposedException
            return response;
        }
    }

Used in HubConnectionBuilder
handler = new WrappedHttpMessageHandler{};

connection = new HubConnectionBuilder().WithUrl("http://localhost:50741/ChatHub", op =>{
    op.HttpMessageHandlerFactory = h => handler;
}).Build();

Getting System.ObjectDisposedException at reconnecting or whenever calling below line second time.
await connection.StartAsync(); //System.ObjectDisposedException

Whitout HttpMessageHandler in HubConnectionBuilder reconnection is working fine.

Can you show the entire stack trace? Can you provide a repro project? Did you call dispose on anything?

Not calling any dispose anywhere.
Stacktrace ObjectDisposedException.txt

Repos:
Server AspNetCoreSignalrTest1.zip
Client WpfApp1.zip

Ah good! That code is correct.
The simple fix is the create the handler in the handler factory instead of reusing it.
connection = new HubConnectionBuilder().WithUrl("http://localhost:50741/ChatHub", op =>{
    op.HttpMessageHandlerFactory = h => new WrappedHttpMessageHandler();
}).Build();

Will likely work. The reason it's a handler factory instead of an instance.

I need an access of WrappedHttpMessageHandler object. I need to change header of httpRequest for some reason.

You can already change headers without having a custom message handler.  Your samples doesn't really show what you're trying to accomplish. Regardless, you need to create the handler during handler creation in the factory, this might mean that you have to do something more convoluted to pass state into the handler that will later read that state.

How can I change authentication header without creating new hubconnection object?
Currently in old signalr if my user needs to login with other account I am stopping the connection changing the authentication header and starting the connection again. Without re registering any methods or creating new hubconnection.
How can I archive this?

Also we need to access httpresponse status code.

How can I change authentication header without creating new hubconnection object?

https://docs.microsoft.com/en-us/aspnet/core/signalr/authn-and-authz?view=aspnetcore-2.1
You can use the AccessTokenProvider to set the access token for an API.

Also we need to access httpresponse status code.

Can you write up a sample of exactly what you want to do?

Can you write up a sample of exactly what you want to do?

Sure.
Our app uses Basic Authentication (ex. Username and Password)
public class WrappedHttpMessageHandler : HttpClientHandler
    {
        public string UserName;
        public string Password;
        public event EventHandler<ArgsProfileInfo> AccountConflict = delegate { };

        protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
        {
            request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "UserNameAndPassword");

            var response = await base.SendAsync(request, cancellationToken);
            if (response.StatusCode == HttpStatusCode.Conflict)
            {
                AccountConflict(this, new ArgsProfileInfo(UserName));
            }
            return response;
        }
    }

App has option for adding multiple accounts (ex. like Multiple email accounts). So user can switch between them.
For this we don't need to close the and hence we are not creating new hubconnection for it as well.
We just Stop() the connection and swap the AuthenticaionHeader and Start() the connection.
request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "UserNameAndPassword");

Users cannot access account from multiple locations. For this at the time of authentication on server we check for other active connection or that user. If user has any active connection we set the HttpRespose StatusCode to Conflict.
var response = await base.SendAsync(request, cancellationToken);
            if (response.StatusCode == HttpStatusCode.Conflict)
            {
                AccountConflict(this, new ArgsProfileInfo(UserName));
            }

So the problem is:
HttpClientHandler is call for first request only second request is not getting authorize. Header parameters are missing on second request.
Releated Issue https://github.com/aspnet/SignalR/issues/686 https://github.com/aspnet/SignalR/issues/1039
But it solves changing of authorization token only. Not for changing Basic Authentication and does not return HttpStatusCode

If you just need to update the Auth header, you can do that without wrapping the handler. The HttpConnectionOptions type has a Headers list on it and you can simply update it there:
var headers = new Dictionary<string, string>();
var connection = new HubConnectionBuilder()
    .WithUrl(url, op => {
        op.Headers = headers;
    })
    .Build();

headers["Authorization"] = $"Basic {authCredentials}"
await connection.StartAsync();

// When you need to change credentials:
await connection.StopAsync();
headers["Authorization"] = $"Basic {updatedAuthCredentials}"
await connection.StartAsync();

If you set your own dictionary to the Headers property, you can modify it it in between the StopAsync and StartAsync calls and we'll use the updated values when restarting.
If you still need to use wrapping HttpHandler, you'll need to use a factory that creates a new instance of your handler each time, but you can have that factory access a shared value to get the latest auth credentials so that when you re-start it, it gets an updated credential. Use code like this (where AuthenticationManager.GetCurrentUserCredentials() is code you provide in some component):
var connection = new HubConnectionBuilder()
    .WithUrl(url, op => {
        op.HttpMessageHandlerFactory = h => new WrappedHttpMessageHandler(AuthenticationManager.GetCurrentUserCredentials(), h);
    })
    .Build();

I think this will work for me. If I get any issues I will reopen it.
Thanks @anurse @davidfowl Your great.


✨ Feature/webhook create

fix #109

add webhook_http_create for creating webhooks using webhookSubscriptionCreate with callback_url
add happy path and user error tests

Questions:
just checking before I proceed

I just put the payload in the method right now. Do you have a better way to put it, e.g. in a file like we do in other repos?
I added the placeholders for the webhook create methods for the aws event bridge and the google cloud pubsub ones. I plan to implement them like webhook_http_create using eventBridgeWebhookSubscriptionCreate, pubSubWebhookSubscriptionCreate and . Do you have on mind any other plan for their implementation?
I am thinking to copy our most used webhook topics into the enum from the Shopify list here. OR do you suggest to just copy all?

I ran brunette with option --skip-string-normalization to reformat the files locally but it didn't change anything. Not sure what's wrong in the tests, do you guys know?

I ran brunette with option --skip-string-normalization to reformat the files locally but it didn't change anything. Not sure what's wrong in the tests, do you guys know?

I wonder if it has issues on python 3.10 - I can look into it next week

Could we do a bit of scraping to get all the topics?
We will have to rerun it every time there is a new API version though ...
Maybe it's better to handle the API error for a wrong topic instead of hard coded them? :thinking:

I ran brunette with option --skip-string-normalization to reformat the files locally but it didn't change anything. Not sure what's wrong in the tests, do you guys know?

I wonder if it has issues on python 3.10 - I can look into it next week

This is resolved by adding --skip-string-normalization to the tox brunette command
https://github.com/SatelCreative/spylib/blob/feature/webhook-create/tox.ini#L40
@hillairet @qw-in any concern about this?

@lishanl I'll migrate us to blue asap. It seems more stable


Link overflow (React)

When I use a showcase from the README on Sample app react, the internalLink resolution overflow to content to sibling mark.

Data for rich text: https://deliver.kontent.ai/975bf280-fd91-488c-994c-2f04416e5ee3/items/coffee_beverages_explained
Implementation: https://github.com/kontent-ai/sample-app-react/blob/59be982471515c8a4ca97fa0ccfc97333cf94486/src/Components/RichText.tsx#L99-L106

@pokornyd -> Also I have updated the definition for portableTextComponents to be defined as const portableTextComponents: Partial<PortableTextReactComponents> from the package ``
import React from 'react';
import {
 ElementModels,
 Elements,
} from '@kontent-ai/delivery-sdk';
import { PortableText, PortableTextReactComponents, toPlainText } from '@portabletext/react';
import { browserParse, resolveTable, transform } from '@pokornyd/kontent-ai-rich-text-parser';

// ...
const portableTextComponents: Partial<PortableTextReactComponents> = {
// ...

I added the showcase: https://github.com/kontent-ai/sample-app-react/commit/5b13c248e849409e0bb3f77253cacf7a60e29b0e

problem was with the mergeSpansAndMarks method. the links array was only cleared when a block was encountered in the array to be merged. this resulted in some spans being incorrectly annotated with the link. added a childCount property for link marks to only apply the link annotation to a set number of spans.

Coo, cover the use case by test :)

use case covered by a unit test


⚠ ClamAV has degraded performance

In 7862deb, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in 51b31f5.


how-tos: add more cluster profile instructions

Based on recent changes in ci-tools which tried to make this process as
simple as possible.  This area has been kept intentionally obscure but,
with no immediate plan for deprecation, there's no reason to make users
(and dptp-helpdesk, by extension) suffer.
/hold
To be merged after all ci-tools changes.

[ ] https://github.com/openshift/ci-tools/pull/2751
[x] https://github.com/openshift/ci-tools/pull/2752
[x] https://github.com/openshift/ci-tools/pull/2753
[ ] https://github.com/openshift/ci-tools/pull/2756

Github is really aggressive today even with no request concurrency =(

/hold cancel
/retest

/retest


Does not exist (perhaps a typo or a missing channel).

Hi @yanecc thank you for making this plugin, the version manager is very handy.
Do you know why this error might be happening when installing Ruby (bit older version)?
Davids-MacBook-Pro-2> vfox install<EMAIL_ADDRESS>Preinstalling<EMAIL_ADDRESS>Downloading... 100% [========================================================================] (3.9 MB/s)
error    libmamba Could not solve for environment specs
    The following package could not be installed
    └─ ruby 2.6.6**  does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
Failed to execute command: /Users/xxx/.version-fox/cache/ruby/v-2.6.6/conda/micromamba create -yqp /Users/xxx/.version-fox/cache/ruby/v-2.6.6/ruby-2.6.6 -r /Users/xxx/.version-fox/cache/ruby/v-2.6.6/conda ruby=2.6.6 -c conda-forge

As the error suggests, there are no pre-built packages of some certain versions for macos-aarch64.
And you could view all of the packages provided here.
So to use certain versions, you need to compile it, using:
vfox install<EMAIL_ADDRESS>
The compilation installation should work for all Ruby versions

Aha, awesome, thank you for the explanation!


Wrong MAX_VERSION_CODE for android

Build/Submit details page URL
No response
Summary
Maximum versionCode for android (MAX_VERSION_CODE) is set to<PHONE_NUMBER> but according to official Google Documentation the actual maximum is<PHONE_NUMBER>.
Managed or bare?
both
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.2.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 6.14.16 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7784292
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
npmPackages:
babel-preset-expo: ~9.2.0 => 9.2.0
expo: ^46.0.0 => 46.0.10
react: 18.0.0 => 18.0.0
react-dom: 18.0.0 => 18.0.0
react-native: 0.69.5 => 0.69.5
react-native-web: ~0.18.7 => 0.18.9
npmGlobalPackages:
eas-cli: 2.1.0
expo-cli: 6.0.5
Expo Workflow: managed
Error output
AssertionError: Invalid versionCode<PHONE_NUMBER>
Code: ERR_ASSERTION
Reproducible demo or steps to reproduce from a blank project

set versionCode for android in app.json to<PHONE_NUMBER>
enable autoIncrement for android to eas.json
run eas build

You might wonder why it might be important to raise max versionCode here. When we initially started we encoded the current date in version code as we did not know better and it worked fine for iOS. Knowing the limitations at one point we started incrementing it only for android but as you can not lower versionCode we are now stuck with a version code higher than<PHONE_NUMBER> but lower than<PHONE_NUMBER>.

Will be fixed in the next release.


Update orientdb-graphdb to 3.0.40

Updates com.orientechnologies:orientdb-graphdb from 3.0.39 to 3.0.40.
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.orientechnologies", artifactId = "orientdb-graphdb" } ]

labels: library-update, early-semver-patch, semver-spec-patch

Superseded by #2339.


Clarify that palette IDs are off by one

According to the spec,
* <NOTICE>
* color [0-254] are mapped to palette index [1-255], e.g :

the palette IDs are off by one, so you need to minus one from them to get to the right colour, e.g:
let voxel = &vox.models[0].voxels[0];
let colour = vox.pallete[voxel.i - 1];

I'm sure i'm not the only one that will get tripped up by this. Do you think you could clarify it in the documentation?

Finally managed to get some to address this.
Having had a think on this, I've decided that expecting users to -1 from color palette indices is pretty poor on my part, so instead of documenting this, I've made the indices match the in-memory representation of the palette. This has also affected materials as the id field maps to a color palette entry.
As this is a breaking change, I've taken this opportunity to also fix the spelling of palette throughout the library, and bumped the version to v1.0.0.
Should be published to cargo momentarily.
Thanks again for the report.

... add a few hours onto when its published to cargo, ran out of time this morning :( Aim to publish it this afternoon, somewhere around 5pm UTC.

Now published. https://crates.io/crates/dot_vox

Thank you!


how to use transaction

I would like to apply transaction inside my sql query.
try{
        ctx.conn.beginTransaction()
       ......
} catch (err) {
        logger.error(err)
        ctx.conn.rollback()
    }

However, it throw error "ctx.conn.rollback is not a function"
I use ctx.conn.query(...)  in many place and works fine.
How can I use transaction methods mysql js provided?
Thanks

Or should I directly call
connection.query('START TRANSACTION')
.....
connection.query('COMMIT')

It should work how you're trying to use it, same as in #34. Without seeing the rest of your code I can't tell you why it's not working.

Thanks for your rapid reply!
When I replace conn. beginTransaction() to conn.query('START TRANSACTION'), it works properly.
I can't find out where goes wrong.

Just found something. You'll need to get a connection from the pool using .getConnection() before doing the transaction using that connection

It works.
Thanks a lot. please close this issue


[Maven] "Too many open files" during compilation (mvn clean package)

Hi.
I was trying to introduce error-prone to our project (almost 17000 source files).
Running it on my local machine (windows) went fine.
But when I tried to run build on our teamcity server (linux agents) I'm getting "Too many open files".
Even when we raised the file limit to "500 000" the run just survived for a bit longer.
Without error prone it works fine even with a lot lower limit.
My maven compiler configuration:
`

    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.2</version>
    <configuration>
      <compilerId>javac-with-errorprone</compilerId>
      <forceJavacCompilerUse>true</forceJavacCompilerUse>
      <encoding>ISO-8859-1</encoding>
      <source>1.8</source>
      <target>1.8</target>
      <fork>true</fork>
      <maxmem>256m</maxmem>
    </configuration>
      <dependencies>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-compiler-javac-errorprone</artifactId>
          <version>2.8.2</version>
        </dependency>
          <dependency>
          <groupId>com.google.errorprone</groupId>
          <artifactId>error_prone_core</artifactId>
          <version>2.1.1</version>
        </dependency>
      </dependencies>
  </plugin>`

Hi.
I've found the configuration working for me:
`

        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-compiler-javac-errorprone</artifactId>
          <version>**2.8**</version>
        </dependency>
          <!-- override plexus-compiler-javac-errorprone's dependency on
               Error Prone with the latest version -->
          <dependency>
          <groupId>com.google.errorprone</groupId>
          <artifactId>error_prone_core</artifactId>
          <version>**2.0.10**</version>
        </dependency>

`
With those versions compilation does not cause "too many open files" errors and passes nicely. But that prevents me from updating to more recent version of a plugin, so still please help.

Oh.. and Also I tried version of "error_prone_core" 2.0.5, 2.0.13, 2.0.19 of which none worked

Today I was albe to pinpointed  the bug to this commit: 567a2f4e3fc9fa0fceb9afbac2ccc938d9be4419
Upgrade from:1.9.0-dev-r2973-2 to 9-dev-r3297-1
Causes the issue on my side (Too many open files during compilation)

Thank you for the detective work!  This may be a problem in upstream javac 9; the commit you pinpointed the bug to updates the version of javac we are using to a newer revision of javac 9.
Could you try installing an Early Access build of Java 9 and using that to compile your project, without Error Prone?

@eaftan : That might be a challange. Because our project is not really ready for java
Also the problem does not occur on my dev machine (Windows) but only on our teamcity agent machines (linux and I don't have a way to install anything there). I will try.
In the mean time Id' like to try something else:

adding most recent java 9 classes to error-prone

Can you suggest how can I try this? (is there a list of jars/class files that I might include as a dependency instead of "com.google.errorprone:javac" or maybe you could provide me with most recent version of this artifact?

Let's try applying http://file-leak-detector.kohsuke.org/ to Error Prone and see if we are leaking file handles.

@monku Thanks for your detective work.
You can configure the maven-compiler-plugin to use a different javac executable (instead of replacing it with the specific compiler-id): https://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html
I think you can get the EA build of javac9 and move your maven build to point at that executable and get the behavior you're looking for within maven.
To be clear: is this a single bulk compile of ~17,000 source files, or a number of compiles of modules that total ~17,000 sources? Is the source available for reproducing? I'll see what I can do with the leak detector in the meantime on the source available to us.

@eaftan I tried that on my windows machine and got no leakage during build with error-prone (but on my local this does not happen)
One thing that just came to my mind is that our teamcity uses different JDK (1.8u73 or something around that, and my local is 1.8u131), I need to investigate if change of that will help.
@nglorioso I tried running maven with javac9 compiler and failed the compilation on some maven error
and currently I cannot spend much more time on this. I will try to get back to this next week.
There are multiple modules, the biggest one is around 3000 source files, but as far as I remember we are not getting there yet when the error is happening. The software is a closed source project that I work during my day job and I cannot share it. If I could I would share it in my first entry here :-)

@monku I understand, no worries.
I was unable to reproduce the too many file described with a local ant-style build with our JDK and ~50,000 dummy empty classes (ulimit of 32k). I haven't tried setting this up with Maven.
https://confluence.jetbrains.com/display/TCD10/Reporting+Issues#ReportingIssues-"Toomanyopenfiles"Error might have more about reporting something specific to TeamCity

@nglorioso , @eaftan : I just checked and it looks like maven/teamcity is not closing connections to dependencies. Formal build:
13 /opt/.m2/com/google/guava/guava/16.0.1/guava-16.0.1.jar
Faulty build:
440 /opt/.m2/com/google/guava/guava/16.0.1/guava-16.0.1.jar
I just checked the build on our jenkins server and it was success. So I guess there is a problem with teamcity agent here.
Thanks for your time investigating that! I will try reporting an issue to Teamcity.

Thanks for the update.  Closing this issue.


Soft Lockup - CPU#0 stuck for x

Hi, I have been trying to get Metasploitable to work on my M2 Macbook air. Everytime I try to run the vm tho, it tells me BUG: Soft Lockup - CPU#0 stuck for x s after the Getting ready prompt.
Configuration

UTM Version: 4.2.5 (81)
macOS Version: Ventura 13.3.1
Mac Chip: M2

Debug log
Running:  -L /Applications/UTM.app/Contents/Resources/qemu -S -spice "unix=on,addr=/Users/jones/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/859F44D9-56DD-4648-A76A-C204BABC063E.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -chardev spiceport,id=org.qemu.monitor.qmp,name=org.qemu.monitor.qmp.0 -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device e1000,mac=B6:A7:25:E4:00:34,netdev=net0 -netdev vmnet-host,id=net0 -device virtio-vga -smp cpus=1,sockets=1,cores=1,threads=1 -machine q35,vmport=off -accel tcg,tb-size=1024 -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 4096 -audiodev coreaudio,id=audio0 -device intel-hda -device hda-duplex,audiodev=audio0 -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device nec-usb-xhci,id=usb-controller-0 -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device ide-hd,bus=ide.0,drive=driveD3E2A72C-2E72-455A-9521-EEB537AC9215,bootindex=0 -drive "if=none,media=disk,id=driveD3E2A72C-2E72-455A-9521-EEB537AC9215,file=/Users/jones/Library/Containers/com.utmapp.UTM/Data/Documents/Metasploitable 2.utm/Data/MetasploitableM1.qcow2,discard=unmap,detect-zeroes=unmap" -device virtio-serial -device virtserialport,chardev=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -chardev spiceport,id=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -name "Metasploitable 2" -uuid 859F44D9-56DD-4648-A76A-C204BABC063E -rtc base=localtime -device virtio-rng-pci audio: Failed to create voice 'adc' qemu-x86_64-softmmu: warning: global PIIX4_PM.disable_s3=1 not used

Also have been having this exact issue.
Followed the steps from a comment on a Reddit post linked here:

Set up homebrew if you haven't already.
Install qemu by running this in a terminal:

brew install qemu

Download UTM and install it by putting it in your applications.
Download Metasploitable from rapid7 and extract the zip somewhere.
Run this command in a terminal from the directory you extracted MS to. It will convert the vmdk disk image to qcow2.

qemu-img convert -O qcow2 -c Metasploitable.vmdk Metasploitable.qcow2

In UTM, create a new VM. Chose "Emulate," "Other," "Skip ISO boot."
For hardware, leave it as is. Lower the RAM if you want, it only needs like 512M (maybe less).
For the rest of the options just next, next, next... until you get to the "summary" page.
On the summary page, select "open vm settings" then "save."
The VM settings will open. You can change the name at the top if you want.
Go to "qemu" in the settings and uncheck "UEFI Boot."
If you want the VM "on the network" with its own (probably) 192.168... address, go to "network" in the settings and select "bridged."
Under "drives" select "IDE Drive" and delete it.
Click new drive -> import, and select the qcow2 file you created in step 5.
Click save and start the VM.

Did a rough job here copying and pasting the comment contents.
This is what I followed along to and got this result:

I have exact issue

I was able to resolve my issue. the issue is coming from ram allocation.. ensure the total ram allocated to vms on your utm are not totaling to the exact ram on your host machine, that should solve it.

Yes I can confirm that the same solution worked for me, I figured this out soon after posting this from a colleague.
RAM: 1024 MB or 1GB
CPU Cores: 1
Architecture: x86_64

Teloshav

Reduced RAM from 4096 to 1024 solved the issue for me as well (even though I have 16 GB of ram and no other machine was running). Thanks!

Reduced RAM from 4096 to 1024 solved the issue for me as well (even though I have 16 GB of ram and no other machine was running). Thanks!

Worked. Thanks a lot.


Create maurol.dariii

Thank you deposit to $wsballafellaz cashapp Mauro L. Dar III

Please deposit @ cashapp $wsballafellaz for any donations Mauro L. Dar III


Does not work with webpack

Hi! Thanks for the library.
When i import the library:
import MdEditor from 'md-editor-rt';

I get this error:
Error [ERR_REQUIRE_ESM]: require() of ES Module
 /node_modules/md-editor-rt/lib/md-editor-rt.umd.js from
 /frontend/dist/node/main.f03825b9eeeb38c3ede5.js not supported.
md-editor-rt.umd.js is treated as an ES module file as it is a .js
file whose nearest parent package.json contains "type": "module"
which declares all .js files in that package scope as ES modules.

Instead rename md-editor-rt.umd.js to end in .cjs, change the requiring code to use
dynamic import() which is available in all CommonJS modules, or change
"type": "module" to "type": "commonjs" in /node_modules/md-editor-rt/package.json to
treat all .js files as CommonJS (using .mjs for all ES modules instead).

Can you please provide .cjs version of the library? Thanks.

I'll optimize this in the next version.

2.10.0 has published, have a try

Thanks. Everything is working.


Too many repetitions occurs in one-back block

In testing period, sometimes one number occurs 4 times. Is this a problem?

One number occurring 4 times means that subjects need to response 'yes' 3 times. Maybe reducing the occurrence times to 3 where subjects need to response 'yes' twice continuously is ok and necessary. Because if there is not a situation where subjects response samely twice, then subjects will generate the prediction that two consecutive reactions must be different. We don't want that happen, right?

It is okay. I will make sure "target" does not repeat more than two times.

This seems trivial and not so influential.


[Rule Migration] react/no-access-state-in-setstate ·········-> @eslint-react/hooks/no-access-state-in-setstate

Duplicate of #318 and is closed by #319.


Add multicontainer and regular pnnl dopf

~Currently the multicontainer download fails~ Fixed.

cvxpy is not included in requirements.txt so oedisi build fails for the regular scenario.
the scenario file includes an "existing_feeder_file" which doesn't have a fallback by the feeder federate if it doesn't exist.
docker compose up doesn't work from the project directory and needs to be called from build to work. It should default to build and only need specification if you build to a different folder.
There is a PORT environment variable that causes the oedisi broker container to fail.

cvxpy is not included in requirements.txt so oedisi build fails for the regular scenario.

Fixed. Plus I switched to a nested requirements.txt

* the scenario file includes an "existing_feeder_file" which doesn't have a fallback by the feeder federate if it doesn't exist.

I changed this to downloading instead. I do want to warn that the PV power in the gadal_ieee123 right now is still messed up.

* docker compose up doesn't work from the project directory and needs to be called from build to work. It should default to build and only need specification if you build to a different folder.

I don't really have a solution to this since we sort of need the yaml file to be with the build folders

* There is a PORT environment variable that causes the oedisi broker container to fail.

I think this is part of Aadil's updates on his image. Using --pull=never should probably work, and I think --build on docker compose up should work too.

@AadilLatif I just copied all that code from https://github.com/pnnl/oedisi_dopf, so I'm not sure about fixing it up...

To myself: add a CI test.


Handle Non-Bidders Appropriately

As an instructor, I want the bidding algorithm to handle non-bidders appropriately so that all students are assigned topics fairly.
Tasks

[ ] Adjust the bidding algorithm to exclude non-bidders.
[ ] Implement logic to assign leftover topics to non-bidders.
[ ] Update ReviewBidsController and helpers accordingly.
[ ] Write tests to ensure non-bidders are handled correctly.

Acceptance Criteria

[ ] The bidding algorithm must identify and exclude participants who have not placed any bids.
[ ] Non-bidders should not influence the allocation of topics to bidders.
[ ] any unassigned or leftover topics should be automatically allocated to non-bidders after the bidding process.
[ ] The assignment should ensure that each non-bidder receives one topic, preventing multiple non-bidders from being assigned the same topic unless intentionally designed.
[ ] Modify the ReviewBidsController to integrate the updated bidding algorithm for non-bidders.
[ ] Ensure all helper functions support the exclusion of non-bidders and the assignment of leftover topics.
[ ] Maintain clear separation between bidder and non-bidder logic within the controller and helpers.
[ ] Implement a fair distribution mechanism for assigning leftover topics to non-bidders, such as random assignment or based on predefined criteria (e.g., alphabetical order).
[ ] Ensure that no participant, bidder or non-bidder, is assigned more than one topic unless the system allows multiple topic assignments.
[ ] Verify that the bidding algorithm correctly identifies and excludes non-bidders.
[ ] Ensure that only bidders' preferences influence the initial topic assignments.
[ ] Confirm that excluded non-bidders do not appear in bidder-related processes or views.
[ ] Validate that leftover topics are assigned to non-bidders once the bidding process is complete.
[ ] Check that each non-bidder receives one unique topic.
[ ] The number of leftover topics is less than, equal to, or greater than the number of non-bidders.
[ ] All topics are bid on, leaving no leftovers for non-bidders.
[ ] No non-bidders are present.
[ ] Ensure that the ReviewBidsController correctly integrates the new logic for handling non-bidders.
[ ] Test the controller's response when processing assignments involving both bidders and non-bidders.
[ ] Verify that helper functions perform as expected, supporting both bidder exclusion and topic assignment.
[ ] Ensure that appropriate error messages are displayed if there are more non-bidders than leftover topics.
[ ] Ensure that appropriate error messages are displayed if there are no leftover topics to assign to non-bidders.
[ ] Ensure that appropriate error messages are displayed if any unexpected issues arise during the assignment process.

@gavint7 there isn't an updated URL. We just have to mock bidding_data to test.


Add template to show on the login page

Coverage increased (+0.02%) to 87.493% when pulling c720d0d735b179f4b4de16834f3d2be846b88914 on stable/1.0/feature/login-template into c8a45680b38de0b9475bca681014b34201f6fbc0 on v1.0.


Configuration Options not working

Describe the bug
"Configuration Options" drop down menu options not working, except "Reset to Clean Install"; can't Delete, Disable or Re-Enable.

To Reproduce
Select addons, try to Delete.
Additional context
I have tried multiple folders, executing as administrator and redownloading.
(i couldn't find configs with .yaml or .ini, it was .xml)
(changed to .txt cause it won't let me upload)
config.txt

Sadly this has been broken for a while: #95


Ansible can't run ssh-keygen because user isn't named

Bug Report

What did you do?
I created an ansible task that depended on the ssh-keygen command to be run on the operator image.
What did you expect to see?
I wanted to see a key generated that I could then use to build a secret for git repo interactions.
What did you see instead? Under which circumstances?
The key failed to be created. I then tried from the ansible container terminal and received this error.
sh-4.2$ ssh-keygen
No user exists for uid<PHONE_NUMBER>

Environment

operator-sdk version:
operator-sdk version: v0.8.2, commit: 28bd2b0d4fd25aa68e15d928ae09d3c18c3b51da

go version:
go version go1.10.4 linux/amd64

Kubernetes version information:

oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://ose.my.com:8443
openshift v3.11.135
kubernetes v1.11.0+d4cacc0

Kubernetes cluster kind:
OpenShift 3.11.135

Are you writing your operator in ansible, helm, or go?
Ansible

Possible Solution
The entrypoint.sh command in the image appears to have code that would accomplish creating the user so that commands like ssh-keygen depending on that would not error out. It appears to not be running for some reason.
Additional context
sh-4.2$ ansible-runner --version
1.2.0
sh-4.2$ ansible --version
ansible 2.7.10
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/usr/share/ansible/openshift']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
sh-4.2$ pwd
/
sh-4.2$ cat entrypoint.sh
#!/usr/bin/env bash

# In OpenShift, containers are run as a random high number uid
# that doesn't exist in /etc/passwd, but Ansible module utils
# require a named user. So if we're in OpenShift, we need to make
# one before Ansible runs.
if [ `id -u` -ge 500 ]; then
    echo "runner:x:`id -u`:`id -g`:,,,:/runner:/bin/bash" > /tmp/passwd
    cat /tmp/passwd >> /etc/passwd
    rm /tmp/passwd
fi
ansible-runner run /runner
sh-4.2$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
sh-4.2$ ssh-keygen -t rsa -f /tmp/ssh_host_rsa_key
No user exists for uid<PHONE_NUMBER>
sh-4.2$ ssh-keygen
No user exists for uid<PHONE_NUMBER>

I found that the ansible-operator image has a new version (0.10.0). After updating build/Dockerfile to quay.io/operator-framework/ansible-operator:v0.10.0 and installing openssh so it has ssh-keygen, this still occurs. I did notice that the entrypoint.sh script is no longer present.

Hi @flickerfly,
Shows that it is working as should be for you in version 0.10? Am I right?
Also, see that we upgrade the versions for the image which was released in the 0.11.0 as the ENTRYPOINT.   So, please could you let us know if has anything else that should be done here or if we can close this one?
Really thank you for you collaboration 🥇

Yeah, I think we're good. 0.10.0 didn't come with ssh-keygen installed because it doesn't have openssh installed anymore, but that's probably fine if not supporting the modules that come out of the box needing that is expected. Only action might be to document how to install dependencies for modules not supported out of the box.
I'll be testing 0.11.0 with the operator I'm building this week.

Really thank you and please feel free to raise any new issue that you mind need as to collab by doing PRs to docs and etc .. it would be very nice and great have if you think that something that could be improved.


I can't render my animations

Description of bug / unexpected behavior

I have already installed Manim. I have also installed the Manim Side View extention (VS code), but it won't render the test script.
I have tried reinstalling it a few times, changing the extension's default manim path, running a command to try rendering it without the extention and nothing.
The output to the command checkhealth is this:
Fatal error in launcher: Unable to create process using '"C:\Python311\python.exe"  "C:\tools\Manim\Scripts\manim.exe" checkhealth': O sistema nÒo pode encontrar o arquivo especificado.
(last line is in portuguese - "system could not find the specified file")
Expected behavior

Manim SV should render the animation as soon as I clicked the "set a side view" icon on top right, or when I inputed the terminal commad.
from manim import *

class CreateCircle(Scene):
    def construct(self):
        circle = Circle()  # create a circle
        circle.set_fill(PINK, opacity=0.5)  # set the color and transparency
        self.play(Create(circle))  # show the circle on screen

Can you please write the command you were using to run manim?

Select your Manim interpreter in vscode, or try run this
"C:\tools\Manim\python.exe" "C:\tools\Manim\Scripts\manim.exe"

Select your Manim interpreter in vscode, or try run this
"C:\tools\Manim\python.exe" "C:\tools\Manim\Scripts\manim.exe"

Sorry for the late response...
When any module is called from python using python {module}, python tries treating it as a .py file instead. So, to run manim, you would need to use the -m flag like so, python -m maim [manim flags] filename.py


[AMBARI-23134] Install wizard revision

What changes were proposed in this pull request?
The back end team made changes to server behavior affecting the registry and mpacks. This updates the install wizard to accommodate these changes.
How was this patch tested?
All tests passing:
20402 passing (40s)
46 pending

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


RWA-275 wa system user

https://tools.hmcts.net/jira/browse/RWA-275

These 4 FTs fail because of a dependency with the CCD def PR: https://github.com/hmcts/ia-ccd-definitions/pull/396

Looks good to me We will need to create the users and add them to the vault in other environments


Review output data

Sure, creating a workflow to post-process and summarize test results can be a helpful way to efficiently analyze and present the information. Here's a step-by-step workflow you can consider:
Workflow: Post-processing and Summarizing Test Results

Data Input: Collect the test results data in a structured format, similar to what you provided earlier.

Text Parsing:

Extract the relevant parts of each response (the generated text) using appropriate rules.
Remove any formatting tags, model names, or metadata present in the response.

Noise Removal:

Identify and remove repetitive or irrelevant content.
Filter out system-generated status codes and descriptions.

Summarization:

Utilize extractive or abstractive summarization techniques to condense the processed text.
Retain the core ideas and arguments presented in the response.
Ensure the summary is coherent and captures the main points.

Metadata Extraction:

Extract key metadata such as model names, timestamps, and user IDs from the input.

Task Generation:

Create a task entry for each summarized test result.
Include the original prompt, the processed response, and relevant metadata.

Database or Storage:

Store the summarized results, original prompts, and metadata in a database or structured storage.

Visualization and Reporting:

Generate visualizations or reports to present an overview of test results.
Include statistics like the number of successfully processed responses, model performance, etc.

Automation:
Automate the workflow using scripting or programming. Libraries like Python's Natural Language Toolkit (NLTK) or spaCy can be helpful for text processing. You might also consider using regular expressions for text extraction.
Iteration and Optimization:
As you work with more test results, continuously refine the rules and techniques used in each step. This will help you improve the quality of summaries and the efficiency of the workflow.
Remember that the effectiveness of the workflow depends on the quality of text processing, noise removal, and summarization techniques used. It's also important to keep track of any patterns or issues you encounter during the post-processing to adjust your rules accordingly.
Feel free to adapt the workflow to suit your specific needs and tools. If you have any further questions or need more detailed assistance with any step, please let me know!

Certainly, applying rewrites can help streamline the multi-layered review process and enhance the quality of the content. Here are a few concrete examples of replacements and rules you can consider:

Repetitive Information:

Rule: Identify and remove redundant sentences or phrases.
Example: If a review mentions the same point multiple times, consider keeping only the most comprehensive instance.

Long-winded Explanations:

Rule: Shorten lengthy explanations while retaining the core idea.
Example: Replace a paragraph explaining a concept with a concise summary of the concept.

Overuse of Jargon:

Rule: Replace technical jargon with layman's terms when possible.
Example: Replace a complex technical term with a more accessible explanation.

Unnecessary Details:

Rule: Remove unnecessary details that don't contribute to the main message.
Example: If a review includes specific time-based references that are not essential, omit them.

Fluff and Filler:

Rule: Remove sentences that don't add value to the review's core message.
Example: Eliminate generic phrases like "In my opinion" or "It's important to note that."

Passive Voice:

Rule: Reword sentences from passive voice to active voice for clarity.
Example: Change "The issue was identified by the user" to "The user identified the issue."

Merging Sentences:

Rule: Combine two related sentences into one to improve readability.
Example: Merge "The system encountered an error. This error disrupted the workflow." into "The system encountered an error that disrupted the workflow."

Splitting Long Sentences:

Rule: Divide long sentences into shorter, coherent ones.
Example: Split "The interface is user-friendly, but some users might find it overwhelming due to its complexity" into "The interface is user-friendly. However, some users might find it overwhelming because of its complexity."

Synonym Replacement:

Rule: Replace repetitive words with synonyms to maintain variety.
Example: Replace "effective" with "efficient" or "productive."

Remember that the effectiveness of these rules will depend on the context and the specific review content. You can create a rule-based system or even explore machine learning techniques to automate some of these rewrite processes. As you test and refine these rules, you'll likely find the right balance between making content intelligent, concise, and coherent.

https://github.com/jmikedupont2/https-lablab.ai-event-llama-2-hackathon-with-clarifai-introspector/commit/88f411431be3b0e7273704b8661e28274200ec07

Understood! It sounds like you're dealing with a complex scenario where you're generating multiple reviews of the same input using different prompt models, and you want to harmonize these diverse perspectives into a coherent and unified output. This approach can yield valuable insights and a more comprehensive understanding of the content. Here's how you could approach harmonizing these perspectives:

Review Generation with Multiple Models:
Generate multiple reviews for the same input using different prompt models. Each model will provide a unique perspective or interpretation of the content.

Collect and Organize Reviews:
Gather all the generated reviews and organize them by input. This will allow you to analyze and compare different perspectives on the same content.

Identify Common Themes:
Analyze the reviews to identify common themes, ideas, or sentiments that are shared across different models. These commonalities could serve as foundational points to build upon.

Extract Key Ideas:
Extract the key ideas or main points from each review. This could involve using natural language processing techniques to identify and prioritize important concepts.

Harmonization Process:
Develop a harmonization process that combines the extracted key ideas from different reviews. This could involve:

Integrating similar ideas from different reviews into a unified statement.
Addressing conflicting viewpoints by acknowledging the differences and presenting them as different perspectives.

Summarization and Synthesis:
Summarize the harmonized content to create a concise and coherent output that captures the essence of the various perspectives. This summary should reflect a balanced representation of the different reviews.

Quality Assessment:
Establish criteria for evaluating the quality of the harmonized output. This could involve assessing whether the output effectively captures the essence of the different reviews and provides a holistic view.

Iteration and Refinement:
Iterate on the harmonization process based on feedback and observations. Refine the approach to ensure that the harmonized output maintains the integrity of the original reviews while offering a unified perspective.

User Input:
Consider incorporating user feedback into the harmonization process. Users may provide insights into which harmonization approaches are most valuable and relevant.

Testing and Validation:
Test the harmonization process on a diverse set of inputs and reviews to validate its effectiveness. Make adjustments as needed to handle different content and models.

The goal is to create a harmonized output that provides a richer and more comprehensive understanding of the input content by leveraging the diverse perspectives generated by different prompt models. This process will require careful planning, effective natural language processing techniques, and a well-defined approach to merging and presenting the content.


Only install Tuist if is not already installed

When running a bitrise workflow locally tuist always attempts to install itself, which requires root access and asks for the user's password, which besides being annoying, causes users that thought had left a workflow running to return and find it never started.
For the time being we are disabling the tuist step out of CI, but this runs the risk of producing different results, i.e. if the user had made changes to the already generated Xcode project.
To fix this I'm proposing only installing tuist if is not already installed.

Just adding a small comment that this PR is not only useful for running locally but also when running multiple tuist steps on the CI: only the 1st step invocation will install tuist


.forChild({}) is not loading anything

Hello.
I'm facing an issue with loading translations. The thing is only main is loading, but everything else is not.
What I'm doing wrong?
translate.loader.ts
import { TranslateLoader } from '@ngx-translate/core';
import { Observable, from } from 'rxjs';

export class TranslateLoaderFactory {
  static forModule(module: string): any {
    console.log('module', module); // calls for each feature
    return class LazyTranslateLoader implements TranslateLoader {

      getTranslation(lang: string): Observable<any> {
        console.log('module for ' + lang, module); // calls only for main translations (from AppModule)
        return from(import(`assets/i18n/${module}/${lang}.json`));
      }
    };
  }
}

app.module.ts
@NgModule({
  imports: [
    StoreModule.forRoot({
      ...
    }),
    EffectsModule.forRoot([
      MainEffects  // here's  an effect that call: `.setDefaultLang('en')` and `.use('en')`
    ]),
    TranslateModule.forRoot({
      extend: true,
      isolate: false,
      loader: {
        provide: TranslateLoader,
        useClass: TranslateLoaderFactory.forModule('main'),
        deps: [HttpClient],
      },
      compiler: {
        provide: TranslateCompiler,
        useClass: TranslateMessageFormatCompiler,
      },
    }),
    ... // other modules
  ]
})
export class AppModule {}

shared.module.ts
@NgModule({
  imports: [TranslateModule], // other modules as well
  exports: [TranslateModule], // other modules as well
})
export class SharedModule {}

feature1.module1.ts
@NgModule({
  imports: [
    TranslateModule.forChild({
      extend: true,
      isolate: false,
      loader: {
        provide: TranslateLoader,
        useClass: TranslateLoaderFactory.forModule('feature1'),
        deps: [HttpClient],
      },
      compiler: {
        provide: TranslateCompiler,
        useClass: TranslateMessageFormatCompiler,
      },
    }),
    ... // other modules
  ]
})
export class Feature1 {}

Duplicate of #1266 ? This seems to be old problem because we couldn't manage forChild to work when there was a need, so we just went with single json file per project (actually we have 2 files, but loading both on app init).
Also, this library seems to be abandoned as its creator joined Angular team to work on native angular i18n library.

Hello,
I did workaround to this problem and using small function it does work as below.

In lazy loading module,

TranslateModule.forChild({
      loader: {
        provide: TranslateLoader,
        useFactory: HttpLoaderFactory,
        deps: [HttpClient]
      },
      extend: true
    })

export function HttpLoaderFactory(http: HttpClient) {
  return new TranslateHttpLoader(http, './path-to-child-json/', '.json');
}

in root component of the child module

constructor(
    private translate: TranslateService
  ) {
    // Calls when module initialize first time
    this.changeLanguage(this.translate.currentLang);
    // Calls when user changes language manually
    this.translate.onLangChange.subscribe((event: LangChangeEvent) => {
      this.changeLanguage(event.lang);
    });
  }

  changeLanguage(lang: string) {
    if (this.currentLang === lang) {
      return;
    }
    this.currentLang = lang;
    this.translate.currentLang = '';
    this.translate.use(lang);
  }

For lazy-loaded modules with different translation loaders (loading .json from different files) it seems to be either (in the case of the lazy-loaded):

(LazyModule isolate: false, extend: true) React to parent module translation events automatically without having to connect anything, just as they say, but cannot load the lazy loaded specific files.
(LazyModule isolate: true, extend: true) We have to propagate changes to parent's translation event changes to the lazy child ourselves, and we can have our specific translations working! But the parent's translation won't work.

It's like I can't blend the two.
https://stackblitz.com/edit/translations-and-lazy-loading?file=README.md

@vladkasianenko @docwhite @kunjan343 @liesahead @peterblazejewicz
I found the best workaround to make it works is to force the loading of the translation in the constructor of your lazy module: 	constructor(private translateService: TranslateService) {
this.translateService.getTranslation(yourCurrentLang);
}


[response-cache] document path for using SDL directive annotations for caching

Apollo Server supports the @cacheControl(maxAge: 10) directive.
We can provide an optional path for users that use an SDL first flow.

Do we provide field level caching ? I don't find it in the documentation.


Arduino supported version required

Dear Team
Can we have a Arduino supported version of this library, Or how we can use this in arduino IDE.
Please suggest.

Hi.
Please see https://github.com/aZholtikov/zh_network/issues/3
Use ZHNetwork version for Arduino.
Or I can mail you the branches with the arduino version of zh_network removed from the repository, but they are not recommended for use.

Dear Alexy
I will be grateful if you can share the branches with the arduino version
of zh_network.
On Sun, Mar 3, 2024 at 9:47 AM Alexey Zholtikov @.***>
wrote:

Hi.
Please see #3 https://github.com/aZholtikov/zh_network/issues/3
Use ZHNetwork version for Arduino.
Or I can mail you the branches with the arduino version of zh_network
removed from the repository, but they are not recommended for use.
—
Reply to this email directly, view it on GitHub
https://github.com/aZholtikov/zh_network/issues/4#issuecomment-1975015935,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWERL375QCRADDV6QJ4IP5LYWKP6LAVCNFSM6AAAAABEDJJOHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGAYTKOJTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Please send me any message to<EMAIL_ADDRESS>I will reply.

In the attachment. But without any support now or in the future. Versions are not stable and not recommended for use.
esp32.zip
esp8266.zip


feat!: add deprecation message to version 1.x.x README

We are moving dialogflow v 1.x.x to @google-cloud/dialogflow v 0.1.0, this PR adds a deprecation warning at the top of the README, and leave it in for a few versions to help people navigate the change.

Any feedback is valued here, about the deprecation message. @bcoe, @JustinBeckwith , @alexander-fenster
Synthtool also updates some proto files in this PR.
For my understanding, after this PR, we will publish old package with the deprecation warning message and then we will publish the new version of @google-cloud/dialogflow


Without member manage function

There is still having Member manage and invite member function with Android version 1.3.9.

But It seems without these function since v2.0.

This should be available in 2.1, which should be already available in the stores. Can you confirm?

The member list should be available.
Adding new members is not still available, but you can add members by @mention them.

@larkox So when is that going to go live, do you have an approximate timeframe?

Target would be 2.3 in april unless something else changes the priority.
That said, as our team is dealing with many different things, I wonder if there is anyone wanting to contribute the feature in that timeframe :)

@enahum It looks like 2.3.0 hasn't added this feature yet. Do you have any idea when this will be added?

As far as I'm aware is included


[CONTROLLER/DB] reverts resource model tag change

This PR is for:

Server

reverts resource model tag change
Checklist

[ ] Added unit test.

Backport to branches

main

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


The test plan has "SHALL NOT: bits that are not reflected in this YAML.  File a followup issue, please, add a comment in the YAML pointing to it.

Many .yaml test cases don't seem to account for the "SHALL NOT" include values when testing AttributeList, EventList, AcceptedCommandList, and GeneratedCommandList.
Originally posted by @bzbarsky-apple in https://github.com/project-chip/connectedhomeip/pull/28023#discussion_r1274099041

@abpoth Since we have no support for checking the range of values of lists via yaml, we perform this verification step through a manual prompt step. We have opened a ticket while ago in SDK repo for the same https://github.com/project-chip/connectedhomeip/issues/26570
CC @raju-apple @cjandhyala

Considering this not a cert-blocker for now - we are working on better range verification (I believe we had a "manual step", working on automation). #28902 is the original PR regarding this.


Enable feature for actor 100% of the time

I am trying to enable a feature 100% of the time for the Actors that it's assigned to.
At this times it changes every time I refresh

@mzaragoza can you be more descriptive? If you could provide the steps you are taking along with what happens and what you expect to happen that would help? I'm closing this out as insufficient steps to reproduce, but with more info I'd be happy to keep digging/helping.


Failed to resolve: com.bennyhuo.kotlin.reflect:deepcopy-reflect:1.5.0

api("com.bennyhuo.kotlin.reflect:deepcopy-reflect:1.5.0")
Failed to resolve: com.bennyhuo.kotlin.reflect:deepcopy-reflect:1.5.0
Show in Project Structure dialog
Affected Modules: app

I forgot to publish reflect artifact to Maven Central after the sunset of jcenter. You may try the snapshot version:
com.bennyhuo.kotlin:deepcopy-reflect:<IP_ADDRESS>-SNAPSHOT

with the snapshot repo:
https://oss.sonatype.org/content/repositories/snapshots/

If you wanna use the reflect lib only, you can also copy the code into your project ,it's pretty simple.

好的，十分感谢


Make HeightMap and Chunk iterators work with const

for (const int height : heights); does not work if heights is const.
I believe function overloading can be used to create both a const and non-const iterator for HeightMap and Chunk.
I will attempt a PR when I get time.

Will be closed if #106 is merged.

Fixed in #106


AI Assist doesn't parse document schemas' readOnly function correctly

Describe the bug
Given the schema:
defineField({
  name: 'simpleDocument'
  type: 'document',
  fields: [
    {
      name: 'title',
      type: 'string',
    },
  ],
  readOnly: () => false
  // 👆 not read-only, but AI Assist will not allow to modify this document
})

Even though the document ISN'T read-only, whatever AI instruction you try to run on any field will return Instruction failed. The document is read-only for Al Assist.

Which versions of Sanity are you using?
@sanity/cli (global)                   3.30.1 (latest: 3.32.0)
@sanity/assist                          2.0.1 (up to date)
@sanity/document-internationalization   2.1.0 (up to date)
@sanity/vision                         3.30.1 (latest: 3.32.0)
sanity                                 3.30.1 (latest: 3.32.0)

What operating system are you using?
MacOS, apple silicon
Which versions of Node.js / npm are you running?
10.4.0
v20.11.0
Additional context
My hunch  is that @sanity/assist is only checking if documentSchema.readOnly is truthy, hence accepting functions as true instead of executing it and parsing the proper read-only value.

The same applies for "hidden" fields as well.


Rails/DeprecatedActiveModelErrorsMethods reported for files that aren't AR models

We're using https://github.com/dry-rb/dry-validation in our codebase and this cop reports an offence on results of those validations. Lines like MyContract.new.call({}).errors.to_h get picked up where MyContract is a dry-validation contract, not an ActiveModel instance.

Expected behavior
The error should not be reported on classes that aren't ActiveModel instances.
Actual behavior
Error was reported on a dry validation contract instance.
Steps to reproduce the problem
RuboCop version
bash-5.0$ bundle exec rubocop -V
1.42.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.24.1, running on ruby 2.6.6) [x86_64-linux-musl]
  - rubocop-rails 2.17.4

Rails/DeprecatedActiveModelErrorsMethods' safety is already marked unsafe.
https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsdeprecatedactivemodelerrorsmethods
The reason is stated below, unfortunately there is no way to prevent such false positives.

This cop is unsafe because it can report errors manipulation on non-ActiveModel, which is obviously valid. The cop has no way of knowing whether a variable is an ActiveModel or not.

Thanks @koic and apologies, should have read the docs first.

If I understand correctly, when working with Dry::Validation the solution is to disable the cop (at least for selected code blocks)? I'm sorry about reviving closed issue but this seems like it'll be a problem for all users of dry-validation.
In my case this Cop improperly marks this code as an offense:
if self.class.constants.include? :Validation
  result = self.class.const_get(:Validation).call(params)

  return Failure(result.errors.to_h) if result.failure?
end

# where the Validation is an instance of Dry::Validation::Contract


Empty window when trying to open a file on Android

Description of the bug
I'm trying to make an image upload to my android game. When I check everything in Unity, everything works fine - a file selection window opens and the files are successfully uploaded. But when building on android, something strange happens: an empty window opens with a single "Cancel" button and nothing else happens. At the same time, the message is displayed in the logs for the first time: "Timeout while trying to pause the Unity Engine.", and all subsequent times nothing is output, while the game continues to work calmly.

Here is my code:
    public void LoadFile(System.Action<string> callback, System.Action<bool> success)
    {
        string FileType = NativeFilePicker.ConvertExtensionToFileType("image/*");

        NativeFilePicker.Permission permission = NativeFilePicker.PickFile((path) =>
        {
            if (path == null) success.Invoke(false);
            else
            {
                _path = path;
                SaveLoadedFile();
                callback.Invoke(LocalPath);
                success.Invoke(true);
                Debug.Log("Picked file " + path);
            }
        }, new string[] { FileType });
    }

    public void SaveLoadedFile()
    {
        string fileExtension = Path.GetExtension(_path);
        LocalPath = Path.Combine(Application.persistentDataPath, "sticker" + fileExtension);

        PlayerPrefs.SetString("StickerExtension", fileExtension);

        var bytes = File.ReadAllBytes(_path);

        File.WriteAllBytes(LocalPath, bytes);
    }

Platform specs

Unity version: e.g. 2021.3.18f1
Platform: Android
Device: Xiaomi MI 12T, Android 13
How did you download the plugin: Asset Store

Additional info
Timeout while trying to pause the Unity Engine.

Please use string FileType = "image/*"; instead (Android only).


HDFS-16819. Remove the redundant write lock in FsDatasetImpl#createTemporary

Description of PR
HDFS-16819. Remove the redundant write lock in FsDatasetImpl#createTemporary
public ReplicaHandler createTemporary(StorageType storageType,
    String storageId, ExtendedBlock b, boolean isTransfer)
    throws IOException {
  long startTimeMs = Time.monotonicNow();
  long writerStopTimeoutMs = datanode.getDnConf().getXceiverStopTimeout();
  ReplicaInfo lastFoundReplicaInfo = null;
  boolean isInPipeline = false;
  do {
   try (AutoCloseableLock lock = lockManager.writeLock(LockLevel.BLOCK_POOl,
       b.getBlockPoolId())) { //the writeLock here maybe to remove
     ReplicaInfo currentReplicaInfo =
         volumeMap.get(b.getBlockPoolId(), b.getBlockId());
     if (currentReplicaInfo == lastFoundReplicaInfo) {
       break;
     } else {
       isInPipeline = currentReplicaInfo.getState() == ReplicaState.TEMPORARY
           || currentReplicaInfo.getState() == ReplicaState.RBW;
       /*
        * If the current block is not PROVIDED and old, reject.
        * else If transfer request, then accept it.
        * else if state is not RBW/Temporary, then reject
        * If current block is PROVIDED, ignore the replica.
        */
       if (((currentReplicaInfo.getGenerationStamp() >= b
           .getGenerationStamp()) || (!isTransfer && !isInPipeline))
           && !isReplicaProvided(currentReplicaInfo)) {
         throw new ReplicaAlreadyExistsException("Block " + b
             + " already exists in state " + currentReplicaInfo.getState()
             + " and thus cannot be created.");
       }
       lastFoundReplicaInfo = currentReplicaInfo;
     }
    }

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
12m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 54s

trunk passed

+1 :green_heart:
compile
1m 38s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 32s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 17s

trunk passed

+1 :green_heart:
mvnsite
1m 39s

trunk passed

+1 :green_heart:
javadoc
1m 19s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 37s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 48s

trunk passed

+1 :green_heart:
shadedclient
23m 25s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 24s

the patch passed

+1 :green_heart:
compile
1m 24s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 24s

the patch passed

+1 :green_heart:
compile
1m 21s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 21s

the patch passed

+1 :green_heart:
blanks
0m  1s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 58s

the patch passed

+1 :green_heart:
mvnsite
1m 30s

the patch passed

+1 :green_heart:
javadoc
0m 56s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 27s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 27s

the patch passed

+1 :green_heart:
shadedclient
23m 39s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
246m 10s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m 12s

The patch does not generate ASF License warnings.

370m 15s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestObserverNode

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5074/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5074

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 6b1ee7d6161a 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 09dacd784a24311952ddbb90b8b76af17f95f5b1

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5074/1/testReport/

Max. process+thread count
2966 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5074/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m  9s

trunk passed

+1 :green_heart:
compile
1m 33s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 36s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 18s

trunk passed

+1 :green_heart:
mvnsite
1m 38s

trunk passed

+1 :green_heart:
javadoc
1m 16s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 43s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 39s

trunk passed

+1 :green_heart:
shadedclient
23m 12s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 20s

the patch passed

+1 :green_heart:
compile
1m 23s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 23s

the patch passed

+1 :green_heart:
compile
1m 22s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 22s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  2s

the patch passed

+1 :green_heart:
mvnsite
1m 24s

the patch passed

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 32s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 21s

the patch passed

-1 :x:
shadedclient
19m 46s

patch has errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
243m 29s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m  6s

The patch does not generate ASF License warnings.

350m 23s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5074/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5074

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 07ccbf3b6197 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 77cc37d29a0014c4dc5d6e74d42d19192df839fd

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5074/2/testReport/

Max. process+thread count
3078 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5074/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Hi @Hexiaoqiao , could you please also take a look? Thanks.

I discussed with @haiyang1987 yesterday, this PR doesn't make sense. There are some bugs in the createTemporary method.
@haiyang1987 Will you modify this PR to describe and fix them?

I discussed with @haiyang1987 yesterday, this PR doesn't make sense. There are some bugs in the createTemporary method.
@haiyang1987 Will you modify this PR to describe and fix them?

Sure, I will improve it later.
Thanks @ZanderXu @tomscut help to review.


Feedback for: engine/installation/linux/fedora.md Fedora 25 lacks support

File: engine/installation/linux/fedora.md
The section on creating a dnf|yum repo for docker on fedora 25 does not work, because there is not a 25/ folder at this url currently.
https://yum.dockerproject.org/repo/main/fedora/
Fix by adding the folder and the appropriate contents or by mentioning that support for Fedora 25 isn't available yet.

@thaJeztah WDYT about this?

The top of that same page mentions

Docker is supported on Fedora version 22, 23, and 24.

Fedora 25 support is added in docker 1.13, as it was not released yet when docker 1.12.3 was released.

I'll repurpose this issue to remind myself to document Fedora 25 support in the vnext-engine branch.

Closed via #1159


A strange bug of happymh 嗨皮漫画

Source information
1.4.12
Source language
Chinese
Steps to reproduce
click a chapter and read
Expected behavior
Load the comic like normal
Actual behavior
Only can bypass cloudflare some chapters
Mihon/Tachiyomi version
0.17.0
Android version
14
Other details
https://github.com/user-attachments/assets/b555ed17-7d49-4a20-a518-49f52c04b8a5
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Add a :+1: reaction to issues you find important.

It kinds of strange cause I can still read it on webview

When I use webview,this happened.

Message "無法繞過Cloudflare" is not correct, pageListRequest returns 403, because query string changed.

@alan0507 that's unrelated to the issue. It's an ad/app redirect that can't go anywhere, ignore that page. Back out of WebView and click carefully next time

I created a pull request, note that chapter url is changed, you have to refresh manga chapter list after updating extension.

same problem. pls help

請大家看看百漫谷，6漫畫的插件，之前可以看漫畫，現在看不了出現錯誤了。
Please see the plug in of baimangu，6manhua，before those  can watch comics，now we cannot as it appear trouble

請大家看看百漫谷，6漫畫的插件，之前可以看漫畫，現在看不了出現錯誤了。
Please see the plug in of baimangu，6manhua，before those  can watch comics，now we cannot as it appear trouble
有其他插件需求，請去開新的議題
If you have other plug-in requirements, please open a new topic.

救命，我開不了空白議題

幫幫我把這條問題發出去好嗎，thanks


Mastodon for 0.3.0 - missing curl in the docker container

Health checks reports the error after Mastodon starts:
/usr/local/bin/check-federation.sh: line 5: curl: command not found Starting up. This may take a few minutes if this is the first time you've started Mastodon.

After manually adding the curl to the container, everything is fine.
docker exec -it mastodon.embassy /bin/bash

apk add curl

Fixed by 179dfe7e52480211b0963fdc5203c69a1edc9ee4