✨Export to markdown and HTML

Feature Proposal
We can easily export the document to markdown or html.
We could add 2 buttons, "Copy to markdown" and "Copy to html" that will copy the editor in your clipboard to paste it where you want.
See: https://www.blocknotejs.org/docs/editor-api/converting-blocks

I would like to implement this.
Can it be assigned to me?

The feature was implemented, it is ready for review

Finally was able to run the tests locally without issues.
For future tickets, i now know what to look for and what conventions are in place.
You may review.
Thanks!


No URL Showing

Ok... i see this happens when set up like:

Is your network mode set to "nat"?


Create code samples file and finish index related samples.

Partially completes issue #20. I would love to hear some feedback on my work so far.

@alallema Could you look at the samples that I marked "//Unsure"? These were samples where I was unsure if they were implemented or I did not know how to use it.

Alright, I think I have fixed all my mistakes.

bors merge


Assertion with multiple sigs fails all but the first one.

On the SamlTool.com web site at https://www.samltool.com/generic_sso_res.php  you present an example of a Response with a signed Message and a signed Assertion.
In the second pass through the loop at line 90 of https://github.com/onelogin/dotnet-saml/blob/master/App_Code/Saml.cs the Microsoft furnished CheckSignature method returns false. (On the first pass it returns true).
This doesn't seem right.

I am also having this issue. Poked at the Java toolkit to see if they addressed it there, and the Java one doesn't appear to actually check the sigs, just how many there are.

Same issue here...

Created pull request #6 with fix.

This is a bug in .Net's XML signature handling.   See my comment to Neil's commit.

Thank you for digging in to this issue for me.


Update crypto dependency

@chalcolith can you take a look? seems like something changed with building after our update for windows to new libressl.


Job running UI has some visual artifacts due to refresh

https://github.com/elsa-data/elsa-data/assets/1973827/09fed652-58a9-4657-bd6e-a98f465052dc
Presumably because of the way we do the timed refresh of the status - it causes the CSS animations to continuously trigger.
I presume this just needs a bit of a restructure of the React tree..

There is also a mechanism to literally tell daisy to not animate buttons etc - so I guess that is also possible. I'm not particularly fussed that the button animations remain


Use sync storage

I know it's just two text fields, but have you considered storing the texts in the sync data https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync
That way, when someone reinstalls firefox and logs in with their account, it'll auto sync the settings (in this case those two text fields)

I do use sync though: https://github.com/virtulis/substitoot/blob/main/src/options.ts
But i haven't checked whether it actually syncs. Maybe there's something more I need to do for it to happen.


JobDispatcher error with custom jobs_table_name

This error is returned when attempting to dispatch jobs with a custom jobs_table_name config:
[error] GenServer Rihanna.JobDispatcher terminating
** (ArgumentError) The Rihanna jobs table must be upgraded.

The easiest way to upgrade the database is with Ecto.

Run `mix ecto.gen.migration upgrade_rihanna_jobs` and make your migration look
like this:

    defmodule MyApp.UpgradeRihannaJobs do
      use Rihanna.Migration.Upgrade
    end

Now you can run `mix ecto.migrate`.

    (rihanna) lib/rihanna/migration.ex:267: Rihanna.Migration.raise_upgrade_required!/0
    (rihanna) lib/rihanna/job_dispatcher.ex:31: Rihanna.JobDispatcher.handle_info/2

The check here:  https://github.com/samphilipd/rihanna/blob/master/lib/rihanna/migration.ex#L234
is looking for the wrong primary key index.  For example, with:
config :rihanna, jobs_table_name: "background_jobs",

The generated primary key index name is background_jobs_pkey vs.rihanna_jobs_pkey  resulting in the error above.

Thanks for the report @onomated

Thanks for the report @onomated. I don't have time for this right now but other maintainers may be able to. A PR would also be accepted.

I can take a pass at it.  Only challenge may be generating a test for it, but I'll look through the tests you have.  Thanks!

Don't worry too much about a test.


How Feign Client to request  https instead of HTTP?

My service is configured to https , registered on Eureka server.
when I use @FeignClient(value = "my-service-name")  it is always request serves over http how to change it to Https
Sample output :
[POST] to [http://consumer-service/oty/consumer/tracesByApis]    ----Actual
[POST] to [https://consumer-service/oty/consumer/tracesByApis]   ------Expectation

If I use @FeignClient(name =  "my-service-name" , url = "https://localhost:5012") then I get https


How to use lateral with this package?

I have a query:
SELECT * FROM products p, LATERAL ( SELECT jsonb_agg(     jsonb_build_object('location',     jsonb_build_object('timestamp', locations.timestamp, 'lat', st_x(locations.point), 'lon', st_y(locations.point))                       )    			)          FROM locations          WHERE locations.product_id = p.id          ) t2 ( location )
I failed to find how it would look while using dbx.

There's no direct support for this. The simplest way is to use dbx.NewQuery and pass in the above SQL. If you want to use query builder, you may build the the SELECT queries and then combine them into the final SQL, although I don't quite recommend in this case.


error

error when npm start is typed in termux

error when npm start is typed in termux

Fixed! Please pull the repo again


IC | IRS Maintenance & Bug Fixing

Overview
The open source version IRS is used by many use cases. It might be necessary that minor adaptions are needed for the upcoming release. With this issue we want to make it possible that these minor updates can be done. This could be security updates like the trufflehog introduction or removal of dependencies.
Explain the topic in 2 sentences
Adaptions to IRS to keep its usability, no additional features.
What's the benefit?
We want to make sure that IRS can still be used by other FOSS solutions.
What are the Risks/Dependencies ?
Knowledgable developers have to be available.
Detailed explanation
Not yet available. will come as general requirements.
Current implementation
Proposed improvements
Feature Team
Contributor

Contributor 1
Contributor 2

Committer

Committer 1
Committer 2

User Stories

Issue 1, linked to specific repository
Issue 2, linked to another specific repository

Acceptance Criteria

[ ] Criteria 1
[ ] Criteria 2
[ ] Criteria 3

Test Cases

Test Case 1

Steps

Do something
Click something
Add something

Expected Result

Expectation
Expectation
Expectation

Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented:

[x] This feature aligns with our current architectural guidelines

Data Sovereignty: All data sharing activities across company boundaries follow the Catena-X Regulatory Framework, in particular the Data Exchange Governance, and the Dataspace Protocol via a compliant Connector (like the tractusx-edc or similar, see Connector KIT)

[ ] CX-0010 Business Partner Number
[ ] CX-0013 Identity of Member Companies
[ ] CX-0018 Data Space Connectivity (EDC)
[ ] CX-0049 DID Document Schema
[ ] CX-0050 Framework Agreement Credential
[ ] CX-0149 Verified Company Identity

Interoperability: Digital Twins are used (compliant to the Digital Twin KIT and the Industry Core KIT)

[ ] CX-0001 EDC Discovery API
[ ] CX-0002 Digital Twins in Catena-X
[ ] CX-0018 Data Space Connectivity (EDC)

Data Format:

[ ] The data model is based on a published Semantic Model

[x] The impact on the overall system architecture has been assessed. The Feature does not require changes to the architecture or any existing standard? Please have a look here on the overarching architecture
[x] Potential risks or conflicts with existing architecture has been assessed

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)
Additional information

[x] I am aware that my request may not be developed if no developer can be found for it. I'll try to contribute a developer (bring your own developer)

Duplicate to https://github.com/eclipse-tractusx/sig-release/issues/939


The evaluation result is not good.

I run the commad:
python Expr.py --config configs/UACANet-L.yaml

However, the result listed as follows:

The official result of UACANet-L mentioned at README is
dataset              meanDic    meanIoU    wFm     Sm    meanEm    mae    maxEm    maxDic    maxIoU    meanSen    maxSen    meanSpe    maxSpe
-----------------  ---------  ---------  -----  -----  --------  -----  -------  --------  --------  ---------  --------  ---------  --------
CVC-300                0.910      0.849  0.901  0.937     0.977  0.005    0.980     0.913     0.853      0.940     1.000      0.993     0.997
CVC-ClinicDB           0.926      0.880  0.928  0.943     0.974  0.006    0.976     0.929     0.883      0.943     1.000      0.992     0.996
Kvasir                 0.912      0.859  0.902  0.917     0.955  0.025    0.958     0.915     0.862      0.923     1.000      0.983     0.987
CVC-ColonDB            0.751      0.678  0.746  0.835     0.875  0.039    0.878     0.753     0.680      0.754     1.000      0.953     0.957
ETIS-LaribPolypDB      0.766      0.689  0.740  0.859     0.903  0.012    0.905     0.769     0.691      0.813     1.000      0.932     0.936

Why is the result I run so bad? I didn't change any configuration file.

Can you tell me your device setup? Also, please try our checkpoint from this URL.

Can you tell me your device setup? Also, please try our checkpoint from this URL.

pytorch: 1.8
cuda:11.0
GPU: RTX3090

I think it's pretty much not the device problem, but I also didn't have much experience with RTX3090. Also, I personally experienced poor results occasionally but it wasn't that often, so you can try another experiment with same settings. Please reopen this issue if you still have problem.

I run the commad:
python Expr.py --config configs/UACANet-L.yaml

However, the result listed as follows:

The official result of UACANet-L mentioned at README is
dataset              meanDic    meanIoU    wFm     Sm    meanEm    mae    maxEm    maxDic    maxIoU    meanSen    maxSen    meanSpe    maxSpe
-----------------  ---------  ---------  -----  -----  --------  -----  -------  --------  --------  ---------  --------  ---------  --------
CVC-300                0.910      0.849  0.901  0.937     0.977  0.005    0.980     0.913     0.853      0.940     1.000      0.993     0.997
CVC-ClinicDB           0.926      0.880  0.928  0.943     0.974  0.006    0.976     0.929     0.883      0.943     1.000      0.992     0.996
Kvasir                 0.912      0.859  0.902  0.917     0.955  0.025    0.958     0.915     0.862      0.923     1.000      0.983     0.987
CVC-ColonDB            0.751      0.678  0.746  0.835     0.875  0.039    0.878     0.753     0.680      0.754     1.000      0.953     0.957
ETIS-LaribPolypDB      0.766      0.689  0.740  0.859     0.903  0.012    0.905     0.769     0.691      0.813     1.000      0.932     0.936

Why is the result I run so bad? I didn't change any configuration file.

hello,sorry to bother you.
I just run the code as you say in the readme. But the rusult is also not that good. The only thing I changed is the batchszie,which is 8 in my code.The following is the evaluation result. So I don't know where is the problem.

Hi, thank you for having more question about our work.
After I've got your email I run on my own machine with TITAN RTX (24GB) and got these results.
Expr - UACANet-L              100%|██████████████████████████████████████████████████| 5/5 [49:08<00:00, 589.76s/it]
dataset              meanDic    meanIoU    wFm     Sm    meanEm    mae    maxEm    maxDic    maxIoU    meanSen    maxSen    meanSpe    maxSpe

CVC-300                0.902      0.835  0.884  0.933     0.972  0.006    0.975     0.906     0.838      0.962     1.000      0.992     0.995
CVC-ClinicDB           0.932      0.884  0.931  0.945     0.979  0.007    0.982     0.935     0.888      0.946     1.000      0.992     0.996
Kvasir                 0.905      0.851  0.896  0.915     0.947  0.025    0.950     0.907     0.853      0.909     1.000      0.985     0.989
CVC-ColonDB            0.762      0.690  0.755  0.842     0.874  0.034    0.876     0.765     0.692      0.771     1.000      0.931     0.934
ETIS-LaribPolypDB      0.714      0.645  0.691  0.829     0.845  0.016    0.847     0.717     0.647      0.760     1.000      0.905     0.909
Results shows some difference between the results from my paper but overall, plausible while yours aren’t.
Here’s what I thought. Polyp Segmentation task has small number images to train according to PraNet, the original work of mine. So, it varies the results quite a lot. I’d personally did almost 10 different experiments with the same setting to obtain best results from the paper.
However, since you’d run the same setting of mine twice and got similar results which are seems to be quite different than mine when it comes to the paper results or my very recent experiment shown above, I think it’s the number of batch sizes then. I would recommend you to change the number of batch size into at least 16. I will also do some more experiments to make sure that the problem comes from batch size and let you know the results.
Best,
Taehun
On Sep 22, 2021, at 9:32 PM, Frank Wu<EMAIL_ADDRESS>wrote:
I think it's pretty much not the device problem, but I also didn't have much experience with RTX3090. Also, I personally experienced poor results occasionally but it wasn't that often, so you can try another experiment with same settings. Please reopen this issue if you still have problem.
I run the commad:
python Expr.py --config configs/UACANet-L.yaml
However, the result listed as follows:
[Screenshot from 2021-08-11 22-05-30]https://user-images.githubusercontent.com/37359271/129044058-c820b10d-7e0b-438a-a025-58c62c4f5a1f.png
The official result of UACANet-L mentioned at README is
dataset              meanDic    meanIoU    wFm     Sm    meanEm    mae    maxEm    maxDic    maxIoU    meanSen    maxSen    meanSpe    maxSpe

CVC-300                0.910      0.849  0.901  0.937     0.977  0.005    0.980     0.913     0.853      0.940     1.000      0.993     0.997
CVC-ClinicDB           0.926      0.880  0.928  0.943     0.974  0.006    0.976     0.929     0.883      0.943     1.000      0.992     0.996
Kvasir                 0.912      0.859  0.902  0.917     0.955  0.025    0.958     0.915     0.862      0.923     1.000      0.983     0.987
CVC-ColonDB            0.751      0.678  0.746  0.835     0.875  0.039    0.878     0.753     0.680      0.754     1.000      0.953     0.957
ETIS-LaribPolypDB      0.766      0.689  0.740  0.859     0.903  0.012    0.905     0.769     0.691      0.813     1.000      0.932     0.936
Why is the result I run so bad? I didn't change any configuration file.
hello,sorry to bother you.
I just run the code as you say in the readme. But the rusult is also not that good. The only thing I changed is the batchszie,which is 8 in my code.The following is the evaluation result. So I don't know where is the problem.
[result]https://user-images.githubusercontent.com/73341348/134343768-5c57812e-0e08-4a4a-a45e-131b37b13038.png
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/plemeri/UACANet/issues/2#issuecomment-924886047, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJXFXTDBWNQZFWWYDUK5O6LUDHEFVANCNFSM5B6TV6XA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi, I had two additional experiments with batchsize 16 and 8 and here are the results.
[batchsize 16]

[batchsize 8]

I never knew that small batchsize would affect ETIS dataset this much, but turns out it does.
Let me know if you still have problems after increasing the batch size. Until then, I'll reopen this issue for convenience

Thank you a lot for the help. I just dive into this area for a while. Due
to the limitation of my device, I can only run the code if the batch size
is 8.
   I want to check it again
with the same condition.
Again, thank for your help.
Taehun Kim @.***> 于2021年9月24日周五 上午10:08写道：

Reopened #2 https://github.com/plemeri/UACANet/issues/2.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/plemeri/UACANet/issues/2#event-5353351382, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPRTJAKVCMQED2ESZXO2VLUDPMRJANCNFSM5B6TV6XA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

 Here is  the result.

It seems it improved somewhere.
Thanks again.

Hi,
In place of email, I am writing my comment here (others can also take advantage)[as I am also facing the same problem like above comments]. Now, I am running three experiments with (1) batch size 32, 24 GB RAM, titanrtx, total nodes=3 (2) batch size 32, 24 GB RAM, titanrtx, total node=1) (3) batch size 32, 24 GB RAM, titanx, total node=2). I will update you on the results soon.

Following are the results:
dataset              meanDic    meanIoU    wFm     Sm    meanEm    mae    maxEm    maxDic    maxIoU    meanSen    maxSen    meanSpe    maxSpe

CVC-300                0.909      0.846  0.895  0.937     0.977  0.005    0.980     0.913     0.850      0.960     1.000      0.992     0.996
CVC-ClinicDB           0.923      0.878  0.926  0.938     0.971  0.007    0.974     0.927     0.881      0.931     1.000      0.993     0.997
Kvasir                 0.898      0.844  0.891  0.910     0.941  0.028    0.944     0.901     0.847      0.899     1.000      0.974     0.978
CVC-ColonDB            0.741      0.672  0.734  0.829     0.856  0.038    0.859     0.743     0.674      0.759     1.000      0.914     0.918
ETIS-LaribPolypDB      0.684      0.617  0.659  0.812     0.863  0.019    0.865     0.686     0.619      0.733     1.000      0.849     0.853
dataset              meanDic    meanIoU    wFm     Sm    meanEm    mae    maxEm    maxDic    maxIoU    meanSen    maxSen    meanSpe    maxSpe

CVC-300                0.909      0.846  0.895  0.937     0.976  0.005    0.979     0.912     0.849      0.958     1.000      0.992     0.996
CVC-ClinicDB           0.933      0.886  0.933  0.943     0.981  0.006    0.984     0.936     0.889      0.946     1.000      0.992     0.996
Kvasir                 0.901      0.847  0.890  0.910     0.947  0.028    0.950     0.904     0.850      0.907     1.000      0.981     0.985
CVC-ColonDB            0.756      0.687  0.749  0.837     0.872  0.036    0.875     0.758     0.689      0.766     1.000      0.911     0.914
ETIS-LaribPolypDB      0.713      0.641  0.690  0.829     0.857  0.012    0.859     0.715     0.644      0.751     1.000      0.888     0.891
These are still not as claimed on paper (however, there is an improvement with batch size 32).


Millions of DNS requests looking up mongo-1

Have you read a contributing guide?

[X] I have read CONTRIBUTING.md
[X] I have searched the existing issues and didn't find any that were similar
[X] I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior
After the app runs for a while, it starts making millions of DNS requests to my main DNS server and the logs become filled with the following. My AnyType client still appears to be fully functional.
any-sync-node-3-1         | 2024-05-15T22:50:55.564Z	WARN	node.nodespace.spacedeleter	periodic call error	{"error": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }", "errorVerbose": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }\n\tstorj.io/drpc/drpcwire.UnmarshalError:26\n\tstorj.io/drpc/drpcstream.(*Stream).HandlePacket:230\n\tstorj.io/drpc/drpcmanager.(*Manager).manageReader:250"}
any-sync-node-2-1         | 2024-05-15T22:50:56.135Z	ERROR	node.nodespace.spacedeleter	deletion process failed	{"error": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }", "errorVerbose": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }\n\tstorj.io/drpc/drpcwire.UnmarshalError:26\n\tstorj.io/drpc/drpcstream.(*Stream).HandlePacket:230\n\tstorj.io/drpc/drpcmanager.(*Manager).manageReader:250"}
any-sync-coordinator-1    | 2024-05-15T22:50:56.134Z	INFO	rpcLog		{"totalDur": 30.000558081, "addr": "yamux://<IP_ADDRESS>:40300", "error": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }", "app": "v0.3.25", "peerId": [redacted], "identity": "[redacted], "rpc": "coordinator.deletionLog", "peerVersion": "any-sync-node:v0.3.32/any-sync:v0.4.13"}
any-sync-node-2-1         | 2024-05-15T22:50:56.135Z	WARN	node.nodespace.spacedeleter	periodic call error	{"error": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }", "errorVerbose": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }\n\tstorj.io/drpc/drpcwire.UnmarshalError:26\n\tstorj.io/drpc/drpcstream.(*Stream).HandlePacket:230\n\tstorj.io/drpc/drpcmanager.(*Manager).manageReader:250"}
any-sync-coordinator-1    | 2024-05-15T22:50:57.948Z	INFO	coordinator.acl	GC: removed 0; cache size: 0
any-sync-filenode-1       | 2024-05-15T22:50:58.511Z	WARN	filenode.deletionLog	periodic call error	{"error": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }", "errorVerbose": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }\n\tstorj.io/drpc/drpcwire.UnmarshalError:26\n\tstorj.io/drpc/drpcstream.(*Stream).HandlePacket:230\n\tstorj.io/drpc/drpcmanager.(*Manager).manageReader:250"}
any-sync-coordinator-1    | 2024-05-15T22:50:58.510Z	INFO	rpcLog		{"totalDur": 30.000372531, "addr": "yamux://<IP_ADDRESS>:56196", "error": "server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongo-1:27001, Type: Unknown, Last error: dial tcp: lookup mongo-1 on <IP_ADDRESS>:53: no such host }, ] }", "app": "v0.3.25", "peerId": [redacted], "identity": [redacted], "rpc": "coordinator.deletionLog", "peerVersion": "any-sync-filenode:v0.6.5/any-sync:v0.4.10"}

Expected Behavior
The above error does not occur -- or if it does -- it does not generate millions of DNS requests.
Steps To Reproduce
docker-compose.override.yml:
services:
  mongo-1:
    volumes:
      - ./storage/mongo-1/:/data/db
      - /root/anytype-backup-mongo/:/data/backup
    healthcheck:
      test: echo "rs.initiate({_id:'${MONGO_REPLICA_SET}',members:[{_id:0,host:\"mongo-1:${MONGO_1_PORT}\"}]}).ok || rs.status().ok" | mongo --port ${MONGO_1_PORT} --quiet
      interval: 900s

Note: I changed the interval in hopes that it would help solve this issue but it did not help.
Environment
- OS: Linux 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

Anything else?
No response

I cannot reproduce this.
Can you determine which daemons (or from which containers) are generating this DNS traffic?

It seems to be any-sync-consensusnode (or -- it stops when stopping the consensus node. Stopping any other container doesn't seem to make a difference).

Can you show me the logs of mongo-1 and any-sync-consensusnode at the moment of the problem?
docker-compose logs mongo-1
docker-compose logs any-sync-consensusnode

and also ouput this commands:
docker compose exec any-sync-consensusnode getent hosts mongo-1

Sorry for the delay on this. It turns out that the MongoDB instance is actually shutting down and not restarting. I'm not sure what's sending it the signal to shut down though. Here's the log:
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:29:04.284+00:00\"},\"s\":\"I\",  \"c\":\"STORAGE\",  \"id\":22430,   \"ctx\":\"WTCheckpointThread\",\"msg\":\"WiredTiger message\",\"attr\":{\"message\":\"[1717759744:284833][1:0x7f3ae4d23700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 19186, snapshot max: 19186 snapshot count: 0, oldest timestamp:<PHONE_NUMBER>, 1) , meta checkpoint timestamp:<PHONE_NUMBER>, 1) base write gen: 124169\"}}\n","stream":"stdout","time":"2024-06-07T11:29:04.285002854Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:29:56.863+00:00\"},\"s\":\"I\",  \"c\":\"NETWORK\",  \"id\":22943,   \"ctx\":\"listener\",\"msg\":\"Connection accepted\",\"attr\":{\"remote\":\"<IP_ADDRESS>:42548\",\"connectionId\":331,\"connectionCount\":13}}\n","stream":"stdout","time":"2024-06-07T11:29:56.863331392Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:29:56.863+00:00\"},\"s\":\"I\",  \"c\":\"NETWORK\",  \"id\":51800,   \"ctx\":\"conn331\",\"msg\":\"client metadata\",\"attr\":{\"remote\":\"<IP_ADDRESS>:42548\",\"client\":\"conn331\",\"doc\":{\"application\":{\"name\":\"MongoDB Shell\"},\"driver\":{\"name\":\"MongoDB Internal Client\",\"version\":\"4.4.29\"},\"os\":{\"type\":\"Linux\",\"name\":\"Ubuntu\",\"architecture\":\"x86_64\",\"version\":\"20.04\"}}}}\n","stream":"stdout","time":"2024-06-07T11:29:56.863883533Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:29:56.869+00:00\"},\"s\":\"I\",  \"c\":\"REPL\",     \"id\":21356,   \"ctx\":\"conn331\",\"msg\":\"replSetInitiate admin command received from client\"}\n","stream":"stdout","time":"2024-06-07T11:29:56.869886194Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:29:56.873+00:00\"},\"s\":\"I\",  \"c\":\"NETWORK\",  \"id\":22944,   \"ctx\":\"conn331\",\"msg\":\"Connection ended\",\"attr\":{\"remote\":\"<IP_ADDRESS>:42548\",\"connectionId\":331,\"connectionCount\":12}}\n","stream":"stdout","time":"2024-06-07T11:29:56.873223696Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:04.327+00:00\"},\"s\":\"I\",  \"c\":\"STORAGE\",  \"id\":22430,   \"ctx\":\"WTCheckpointThread\",\"msg\":\"WiredTiger message\",\"attr\":{\"message\":\"[1717759804:327809][1:0x7f3ae4d23700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 19201, snapshot max: 19201 snapshot count: 0, oldest timestamp:<PHONE_NUMBER>, 1) , meta checkpoint timestamp:<PHONE_NUMBER>, 1) base write gen: 124169\"}}\n","stream":"stdout","time":"2024-06-07T11:30:04.327977934Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.633+00:00\"},\"s\":\"I\",  \"c\":\"CONTROL\",  \"id\":23377,   \"ctx\":\"SignalHandler\",\"msg\":\"Received signal\",\"attr\":{\"signal\":15,\"error\":\"Terminated\"}}\n","stream":"stdout","time":"2024-06-07T11:30:06.63750487Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.636+00:00\"},\"s\":\"I\",  \"c\":\"CONTROL\",  \"id\":23378,   \"ctx\":\"SignalHandler\",\"msg\":\"Signal was sent by kill(2)\",\"attr\":{\"pid\":0,\"uid\":0}}\n","stream":"stdout","time":"2024-06-07T11:30:06.637554041Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.640+00:00\"},\"s\":\"I\",  \"c\":\"CONTROL\",  \"id\":23381,   \"ctx\":\"SignalHandler\",\"msg\":\"will terminate after current cmd ends\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.643749122Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.643+00:00\"},\"s\":\"I\",  \"c\":\"REPL\",     \"id\":4784900, \"ctx\":\"SignalHandler\",\"msg\":\"Stepping down the ReplicationCoordinator for shutdown\",\"attr\":{\"waitTimeMillis\":10000}}\n","stream":"stdout","time":"2024-06-07T11:30:06.644203248Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.644+00:00\"},\"s\":\"I\",  \"c\":\"COMMAND\",  \"id\":4784901, \"ctx\":\"SignalHandler\",\"msg\":\"Shutting down the MirrorMaestro\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.645004389Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.644+00:00\"},\"s\":\"I\",  \"c\":\"REPL\",     \"id\":40441,   \"ctx\":\"SignalHandler\",\"msg\":\"Stopping TopologyVersionObserver\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.645024635Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.670+00:00\"},\"s\":\"I\",  \"c\":\"REPL\",     \"id\":40447,   \"ctx\":\"TopologyVersionObserver\",\"msg\":\"Stopped TopologyVersionObserver\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.671023172Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.670+00:00\"},\"s\":\"I\",  \"c\":\"SHARDING\", \"id\":4784902, \"ctx\":\"SignalHandler\",\"msg\":\"Shutting down the WaitForMajorityService\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.671063454Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.684+00:00\"},\"s\":\"I\",  \"c\":\"CONTROL\",  \"id\":4784903, \"ctx\":\"SignalHandler\",\"msg\":\"Shutting down the LogicalSessionCache\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.685776668Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.691+00:00\"},\"s\":\"I\",  \"c\":\"NETWORK\",  \"id\":20562,   \"ctx\":\"SignalHandler\",\"msg\":\"Shutdown: going to close listening sockets\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.691264825Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.692+00:00\"},\"s\":\"I\",  \"c\":\"NETWORK\",  \"id\":23017,   \"ctx\":\"listener\",\"msg\":\"removing socket file\",\"attr\":{\"path\":\"/tmp/mongodb-27001.sock\"}}\n","stream":"stdout","time":"2024-06-07T11:30:06.692398477Z"}
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.695+00:00\"},\"s\":\"I\",  \"c\":\"NETWORK\",  \"id\":4784905, \"ctx\":\"SignalHandler\",\"msg\":\"Shutting down the global connection pool\"}\n","stream":"stdout","time":"2024-06-07T11:30:06.695686185Z"}

...shutdown messages continue
The relevant line is:
{"log":"{\"t\":{\"$date\":\"2024-06-07T11:30:06.633+00:00\"},\"s\":\"I\",  \"c\":\"CONTROL\",  \"id\":23377,   \"ctx\":\"SignalHandler\",\"msg\":\"Received signal\",\"attr\":{\"signal\":15,\"error\":\"Terminated\"}}\n","stream":"stdout","time":"2024-06-07T11:30:06.63750487Z"}

This is a fresh Docker install and AnyType is the only thing running. None of the other containers are killed.

could you please collect the debug information?

system info:cat /proc/cpuinfo
free -m

check the system logs for OOM (Out of Memory) issues:dmesg -T | grep -i oom

show the output of the "inspect" command after the MongoDB container stops unexpectedly:docker inspect <mongo_container_id>

It was indeed an OOM, and totally unrelated. Thank you for looking into it.

@greyivy
I would be very grateful if you could share the parameters of your system.
At the moment, we are investigating the issue of "minimum requirements" for cluster operation, and this data will be very helpful to us.

Sure thing!
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 156
model name	: Intel(R) Celeron(R) N5095 @ 2.00GHz
stepping	: 0
microcode	: 0x24000024
cpu MHz		: 1996.800
cache size	: 4096 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 27
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 cx16 pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand hypervisor lahf_lm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms rdseed smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves arat umip waitpkg gfni rdpid movdiri movdir64b md_clear arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid shadow_vmcs pml tsc_scaling
bugs		: spectre_v1 spectre_v2 spec_store_bypass swapgs srbds mmio_stale_data rfds bhi
bogomips	: 3993.60
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual

               total        used        free      shared  buff/cache   available
Mem:            1962         515         108          17        1539        1447
Swap:              0           0           0

(Note that I tried with 3GB and 4GB as well with no change, but I was running other memory-intensive processes on the machine at the time. I'll give it another shot again in the future when I can dedicate more time to troubleshooting.)


Integrationtest exercise

Description
Add integration testing to the exercise- and session endpoints.
Resolved Issue
Fixes #102
Changes

Adds integration tests for all exercise endpoints.
Adds integration tests for all session endpoints.
Modifies CheckAnonUserExistsInSessionAsync of SessionRepository to also include session id as parameter, to validate that user exists in that specific session, and not just any session.

Checklist

[X] I have added test cases for my additions
[X] New and old tests passed
[ ] Documentation is updated

The removal of code irrelevant to individual test cases have not been performed in this PR, but may come in a later PR.


Please considering removing non-determinism from bon's macros

Hello! Would you be willing to remove the non-determinism in the proc macros? Part of my job is supporting Rust at Facebook, which builds the code using Buck. Buck strongly depends on deterministic builds in order to cache intermediate artifacts and produce correct binaries, but this non-determinism blocks my colleagues and I from upgrading to bon 3.1.
(As a previous example where non-determinism is problematic for Buck—and I assume Bazel—see: https://github.com/yaahc/displaydoc/pull/52.)
As an alternative, I think a #[doc_hidden] could be supplant rust's lacking macro hygiene—rust-analyzer will not complete #[doc_hidden] items, which should prevent most accidental usage of bon's internals.

A note for the community from the maintainers
Please vote on this issue by adding a 👍 reaction to help the maintainers with prioritizing it. You may add a comment describing your real use case related to this issue for us to better understand the problem domain.

Hi, thank you for creating the issue!
I suspected, this non-determinism could cause some trouble, although I didn't know what exactly, so I was waiting for an issue like this to convince myself that removing randomness would be important. Given your explanation, I'm okay with changing the private fields to use static identifiers.
It was my experimental way to ensure "hygiene" as you mentioned, which I thought would be very important given that the generated code internally uses unwrap_unchecked, that could otherwise be unsound if the users mess with the builder's internal fields. That unwrap_unchecked could be made into just unwrap, but that isn't always optimized out by the compiler according to my benchmarks.
Anyway, I guess this precaution isn't worth the headache of non-determinism that you found. I think it's enough for the fields to be marked with #[doc(hidden)], #[deprecated = "don't use this"] and begin with the __private word.
Just a followup question. How did you discover this problem? Did you stumble with repeated cache misses when building with Buck or did you pre-audit the code before upgrading to 3.1?

Removed non-determinism. If users ever try to access the private fields of the builder, they'll get this warning:
warning: use of deprecated field `FooBuilder::__unsafe_private_phantom`: this field should not be used directly; it's an implementation detail, and if you access it directly, you may break some internal unsafe invariants; if you found yourself needing it, then you are probably doing something wrong; feel free to open an issue/discussion in our GitHub repository (https://github.com/elastio/bon) or ask for help in our Discord server (https://bon-rs.com/discord)
 --> crates/sandbox/src/main.rs:9:5
  |
9 |     Foo::builder().__unsafe_private_phantom;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default

(also added unsafe into field names to make it clear that using them may break internal unsafe invariants).

Some crates failed to build with E0460:

Thank you for the pointer to the error. I'll keep that in mind in the future. Hopefuly, this problem wasn't too much of a headache to debug. Sorry, for breaking your CI 😳
I've released a patch 3.1.1 with the fix for this.

Some crates failed to build with E0460:

Thank you for the pointer to the error. I'll keep that in mind in the future.

I honestly don't know how generalizable the E0460 trick actually is. I've mostly pattern matched on previous examples of non-determinism in Buck and this error was the common detail. I assume Bazel would also run into this error, but I don't know if, for example, Nix would report this error or if it'd just have suspiciously longer build times.
(It'd be cool if rustc could tell if a proc macro was non-deterministic or if there was a cargo tool that did this, but ah well.)

Hopefuly, this problem wasn't too much of a headache to debug. Sorry, for breaking your CI 😳

Don't worry about it! This took us about 5 minutes to debug, if that. I spent more time writing up this issue 😀. Besides, this broke the tests before the Phabricator diff/PR landed. Even if CI was broken after landing, CI is meant to be broken and it would've been automatically bisected and reverted by a bot. There is no need to apologize at all. I'm just really thankful over how quickly you fixed this problem and how much you communicated about the why behind the original decision!

I've released a patch 3.1.1 with the fix for this.

Thank you so much for the quick fix! We'll get on it right away.


OSGi integration testing

Summary
AssertJ support in OSGi is pretty good. However, due to the funky classloading tricks that it uses (particularly with assumptions and soft assertions) you can sometimes run into issues. Searching the issues for "OSGi" will reveal a number of them (some of them still open). In the osgi-test project, we have recently hit a similar issue (osgi/osgi-test#118).
This suggestion has been made before (https://github.com/joel-costigliola/assertj-core/issues/1290#issue-348166619) that we include integration tests in AssertJ that exercise the OSGi nature of AssertJ to guard against regressions and catch problems early. I think it would be nice to capture this in a dedicated issue.
Example
Nothing concrete yet, but in osgi-test we are going to try and achieve it by migrating the tests for our custom AssertJ assertions to leverage the Bndtools M2E integration for running integration tests inside an OSGi framework (osgi/osgi-test#121). If it works well, perhaps we consider adding this in some form to the AssertJ build.

It would be really great to have regression tests for OSGi, contributions welcome because we don't have the bandwith and the expertise to write this kind of tests.

This is a difficult problem.
I started to work on this based upon how we do integration testing in https://github.com/osgi/osgi-test. To resolve the bndrun files, we put the necessary dependencies in the pom so that they are visible to the Bnd plugins as a set of possible bundles since the test execution in the OSGi runtime will need all the necessary JUnit bundles installed.
https://github.com/osgi/osgi-test/blob/0c16eefbbc79b5e8d2fee7d0fe4f122af0c93993/org.osgi.test.assertj.framework/pom.xml#L116-L120
To run JUnit Platform in an OSGi runtime, we need to use the Bnd JUnit Platform Tester which defines a JUnit test engine for OSGi. However, when the biz.aQute.tester.junit-platform dependency is visible in the test scope to the maven-surefire-plugin, it will include the BundleEngine in the "plain" JUnit execution and the BundleEngine will fail because it is being using in a non-OSGi environment.
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 s <<< FAILURE! - in Bnd JUnit Platform Bundle Engine
[ERROR] Initialization Error  Time elapsed: 0.004 s  <<< ERROR!
org.junit.platform.commons.JUnitException: BundleEngine must run inside an OSGi framework
	at aQute.tester.bundle.engine.BundleEngine.discover(BundleEngine.java:59)
	at org.junit.platform.launcher.core.DefaultLauncher.discoverEngineRoot(DefaultLauncher.java:181)
	at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot(DefaultLauncher.java:168)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

So we have a problem here where we need biz.aQute.tester.junit-platform as dependency for the OSGi test resolution and execution and we also cannot have biz.aQute.tester.junit-platform as a test scoped dependency for plain JUnit execution.
Some other ideas are needed here. We may need to refactor the repo into multiple projects where one project is the current single project (building and plain JUnit testing assertj-core) and a peer project which does the OSGi integration testing. Then each project can configure the dependencies as needed.
For now I am going to put this work item down. I just wanted to record my progress so far.

I believe there is a way to configure JUnit Platform (in a non OSGi environment) to turn off engine autodiscovery and explicitly specify which engine you want to run. That would be the easiest  fix to this problem.

Actually, i don't think it's necessary to have biz.aQute.tester.junit- platform as a test dependency - the embedded repo supplies it. In osgi test we simply specified junit-platform-launcher and junit-jupiter-engine in -runrequires and it works.

Actually, i don't think it's necessary to have biz.aQute.tester.junit- platform as a test dependency - the embedded repo supplies it.

Excellent observation! With this I was able to run OSGi integration tests. PR to come.

I believe there is a way to configure JUnit Platform (in a non OSGi environment) to turn off engine autodiscovery and explicitly specify which engine you want to run.

I do not think this is true. I did not see anything in the platform configuration docs about this. https://junit.org/junit5/docs/current/user-guide/#running-tests-config-params

I do not think this is true. I did not see anything in the platform configuration docs about this. https://junit.org/junit5/docs/current/user-guide/#running-tests-config-params

This point is now moot to an extent, as we have our other workaround, but for posterity:
Within JUnit platform's launcher API, there are explicit mechanisms for filtering test engines from the launcher request:
https://github.com/junit-team/junit5/blob/68bb2e3124da100ff00608c44fcd75dd3061f593/junit-platform-launcher/src/main/java/org/junit/platform/launcher/LauncherDiscoveryRequest.java#L61-L70
...and for turning off autoregistration altogether:
https://github.com/junit-team/junit5/blob/68bb2e3124da100ff00608c44fcd75dd3061f593/junit-platform-launcher/src/main/java/org/junit/platform/launcher/core/LauncherConfig.java#L156-L168
These are the mechanisms I had in mind originally. However, it seems that you are right in that these APIs are not exposed by the surefire plugin, so there's no way to configure them from surefire.
But I dug a little further and realised that Surefire provides an alternative mechanism to achieve the same result: see (Select engine and use multiple APIs.)
In summary, the Surefire solution is to not include the test engines as project test dependencies, but as dependencies of the maven-surefire-plugin. This usually works because your test code typically ought not to link directly to the test engine implementation(s), so there's no need for them to be on the test compile path at all - they only need to be on the classpath when the tests are running. You can then be selective about which engines you're going to include (which in turn makes surefire selective about which tests it will run).


docs: remote comment ResourceTemplate flags example

Text ahead of example explains it, and the comment is in the wrong place for YAML. I was confused by the error I got when copying the example code into my workflow, and it simply said No Workflow found in given files -- with the closing bracket commented out, it was no longer a valid Workflow
Checklist:

[x] My organization is added to USERS.md.

Tips:

Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.

@StephenWeber Please fix the build 'codegen`

@StephenWeber can you fix the codegen "make codegen -B"?


Support for accessing HttpData from ParsingErrorInfo

In icann_rdap_client::query::request::rdap_request function, icann_rdap_common::cache::HttpData is only accessible if a response received from an upstream is a valid JSON. See this code snippet:
https://github.com/icann/icann-rdap/blob/8b8478cd9b03c7b2a1fa24124aae4b3b7391aa02/icann-rdap-client/src/query/request.rs#L40-L71
This makes it challenging to retrieve HTTP response status and redirection location when running with follow_redirects=true from ClientConfig (e.g. when using a rdap_bootstrap_server project to determine authoritative RDAP server for a given request per RFC7484). See this:
https://github.com/icann/icann-rdap/blob/8b8478cd9b03c7b2a1fa24124aae4b3b7391aa02/icann-rdap-common/src/client.rs#L30-L31
It would be nice to be able to access icann_rdap_common::cache::HttpData as part of icann_rdap_client::ParsingErrorInfo that is inside icann_rdap_client::RdapClientError::ParsingError.
The easiest way to achieve it would be to move lines 43-55 in icann_rdap_client::query::request::rdap_request outside of if let Ok(rdap_json) = json { condition and make it a separate field as part of icann_rdap_client::ParsingErrorInfo (which would make fields text, content_length, content_type, url redundant).
Would this be something that the maintainers be willing to accommodate? I am open to create a pull request that makes the necessary changes if needed.

Yes, this sounds like a very good idea, and a PR would be welcome. Please PR against the 'dev' branch.
Also, you may be interested to know that the icann-rdap-srv crate included in this project can now act as a redirect server using the IANA bootstrap files.


Add command for starting up an instance

remote control

https://click.palletsprojects.com/en/8.1.x/

On #1 it's just remote


Website will not start unltil you "hit" the endpoint

I spent hours trying to figure this out. I wanted to test a new docker image w/ a new docker-compose config. I pushed up my new images, updated the config, and re-started the website. I watched the logs to see if there were any issues during the restart.
I didn't see any new logs (not in logstream, not in "advanced tools" docker logs, nowhere). I tried re-starting multiple times. Nothing. I then tried updating my docker-compose config, removing piece by piece, to see what was causing the problem. I got down to the most basic config, an stock nginx image running on port 80.
I even tried creating a new webapp with the simple nginx config. Same thing. NO LOGS.
After hours of troubleshooting, I randomly loaded up the endpoint. It took a few seconds to load, but to my surprise I saw the default nginx page. I went back to the logs and sure enough it started.
NOWHERE in the docs does it say you have to actually send a request to the endpoint to start it. This is counter-intuitive, and the Azure portal and Azure CLI seem to make it seem as if the deploy went well. Requesting a "restart"  does not truly START the app. The ONLY thing that will start it is by loading up the endpoint.

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

ID: 8d9d9048-6577-c19b-5989-fef8beffd6f6
Version Independent ID: b01b315d-2cf8-f1ec-215a-4bf1c220d840
Content: Tutorial: Create a multi-container app - Azure App Service
Content Source: articles/app-service/tutorial-multi-container-app.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@bendavis78
Thanks for your feedback! We will investigate and update as appropriate.

@bendavis78 Thanks again for reaching here! Since on repro I didn't found same, i would like to investigate this further. Could you please reach out to us by sending an email with subject line “Attn:Sneha |thread title” to AzCommunity[at]microsoft[dot]com referencing this thread.

@bendavis78 Since this need deep investigation, Please send us email. We will now proceed to close this thread here, will update here, accordingly.


gam create guardianinvite Error: 403

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki
Full steps to reproduce the issue:
1. gam create guardianinvite<EMAIL_ADDRESS><EMAIL_ADDRESS>Expected outcome (what are you trying to do?):
Send a guardian invite to the parent of the student
Actual outcome (what errors or bad behavior do you see instead?):
ERROR: 403: The caller does not have permission - forbidden
Following other advise I have revoked OAuth token and rerun the command, ensuring all scopes have been enabled. Many other commands work, including printing course info, however gam create guardianinvite is always 403ing.

You've reversed the student and guardin email addresses:
gam create guardian|guardianinvite|inviteguardian

gam create guardianinvite<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Ross
--
<EMAIL_ADDRESS>

On Sep 30, 2018, at 12:12 AM, christbate<EMAIL_ADDRESS>wrote:
I have upgraded to the latest GAM release from https://git.io/gamreleases https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki https://github.com/jay0lee/gam/wiki
Full steps to reproduce the issue:

gam create guardianinvite<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Expected outcome (what are you trying to do?):
Send a guardian invite to the parent of the student

Actual outcome (what errors or bad behavior do you see instead?):
ERROR: 403: The caller does not have permission - forbidden
Following other advise I have revoked OAuth token and rerun the command, ensuring all scopes have been enabled. Many other commands work, including printing course info, however gam create guardianinvite is always 403ing.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/797, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L8hH7TSDzvxIqOTjGN91bg442T3Qks5ugG7kgaJpZM4XA2Yt.


[Distributed] prevent remote distributed actor's from running deinit bodies

Deinit bodies should not run for remote distributed actors since they have no state at all, and any such user defined deinit will be wrong.
Resolves: rdar://96980182
Reported in https://forums.swift.org/t/pitch-distributed-actor-runtime/54045/15

@swift-ci please smoke test

@swift-ci please smoke test and merge


ARROW-4969: [C++] Set RPATH in correct order for test executables on OSX

Running otool -l debug/arrow-scalar-test:
Before:
Load command 17
          cmd LC_RPATH
      cmdsize 56
         path /Users/krisz/.conda/envs/arrow36/lib (offset 12)
Load command 18
          cmd LC_RPATH
      cmdsize 64
         path /Users/krisz/Workspace/arrow/cpp/build/debug/ (offset 12)

After:
Load command 17
          cmd LC_RPATH
      cmdsize 64
         path /Users/krisz/Workspace/arrow/cpp/build/debug/ (offset 12)
Load command 18
          cmd LC_RPATH
      cmdsize 56
         path /Users/krisz/.conda/envs/arrow36/lib (offset 12)

Codecov Report

Merging #3986 into master will increase coverage by 0.81%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3986      +/-   ##
==========================================
+ Coverage   87.82%   88.64%   +0.81%
==========================================
  Files         732      598     -134
  Lines       90147    80516    -9631
  Branches     1252        0    -1252
==========================================
- Hits        79176    71370    -7806
+ Misses      10854     9146    -1708
+ Partials      117        0     -117

Impacted Files
Coverage Δ

cpp/src/arrow/csv/column-builder.cc
95.12% <0%> (-1.83%)
:arrow_down:

go/arrow/math/uint64_amd64.go

go/arrow/memory/memory_avx2_amd64.go

js/src/enum.ts

go/arrow/array/builder.go

js/src/Arrow.node.ts

js/src/schema.ts

go/arrow/type_traits_boolean.go

js/src/ipc/node/writer.ts

js/src/visitor/vectorloader.ts

... and 125 more

Continue to review full report at Codecov.

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


Claim application validate

Jira: https://issues.redhat.com/browse/APPSVC-1297

lgtm

@filariow There was a unit test failure. I have corrected it with these changes. I also removed some cruft.
diff --git a/api/v1alpha1/serviceclaim_webhook_test.go b/api/v1alpha1/serviceclaim_webhook_test.go
index 79521e0..16c1bb9 100644
--- a/api/v1alpha1/serviceclaim_webhook_test.go
+++ b/api/v1alpha1/serviceclaim_webhook_test.go
@@ -50,7 +50,6 @@ var _ = Describe("Webhook tests", func() {
                                        WithLists(&ServiceClaimList{}).
                                        Build(),
                        }
-                       _ = validator
                        scacc := ServiceClaimApplicationClusterContext{}
                        serviceClaim := newServiceClaim("spam", "eggs",
                                ServiceClaimSpec{
@@ -76,7 +75,6 @@ var _ = Describe("Webhook tests", func() {
                                        WithLists(&ServiceClaimList{}).
                                        Build(),
                        }
-                       _ = validator
                        serviceClaim := newServiceClaim("spam", "eggs",
                                ServiceClaimSpec{
                                        EnvironmentTag:            "",
@@ -101,14 +99,14 @@ var _ = Describe("Webhook tests", func() {
                                        WithLists(&ServiceClaimList{}).
                                        Build(),
                        }
-                       _ = validator
                        as := ApplicationSelector{
                                Name:     "some-name",
                                Selector: &metav1.LabelSelector{},
                        }
                        serviceClaim := newServiceClaim("spam", "eggs",
                                ServiceClaimSpec{
-                                       Application: as,
+                                       Application:    as,
+                                       EnvironmentTag: "prod",
                                },
                        )


Add Redis JSON w/VSS examples

These examples show how to use the Redis JSON data structure with OpenAI embeddings for VSS.

cc @colin-jarvis this one is good to go from our end. Thanks @joeywhelan !


product module: refactor public accessors into functions and rename functions

Originating from #272 and discussed in Nov 29 refinement.

Refactor public accessors into functions.
If needed, rename functions to be short and into context
i.e. productService.get() instead of productService.getProduct()
Avoid redundancy.
Additionally we are allowed to not mirror the commerce platform.

There is a follow up ticket for facades to load once in the store (epic/loadonceinstore).

All facades work will be tested with one ticket, #6.

PR: GH-547

Please resolve the conflicts on the PR.

I resolved the conflicts


Add string version for SimpleMap methods

Currently, all methods of SimpleMap get in a []byte then convert it to string as key. This is ok for GET/DELETE operation, since when the compiler can optimize map lookup to not allocate new string in string([]byte) conversion.
For Set operation, which involve map assign, the string([]byte) conversion will allocate new string. If we instead do the conversion in the caller side, and pass in the string, the we can save allocation.
I did a quick version:
func (sm *SimpleMap) SetString(key string, value []byte) error {
	sm.m[key] = value
	return nil
}

For following benchmarks:
package smt

import (
	"testing"
)

func BenchmarkSimpleMap_Set(b *testing.B) {
	sm := NewSimpleMap()
	s := "foobar"
	bs := []byte(s)

	for i := 0; i < b.N; i++ {
		sm.Set(bs, bs)
	}
}

func BenchmarkSimpleMap_SetString(b *testing.B) {
	sm := NewSimpleMap()
	s := "foobar"
	bs := []byte(s)

	for i := 0; i < b.N; i++ {
		sm.SetString(s, bs)
	}
}

The result:
name                   time/op
SimpleMap_Set-8        18.0ns ± 0%
SimpleMap_SetString-8  8.98ns ± 0%

name                   alloc/op
SimpleMap_Set-8         8.00B ± 0%
SimpleMap_SetString-8   0.00B

name                   allocs/op
SimpleMap_Set-8          1.00 ± 0%
SimpleMap_SetString-8    0.00

cc @odeke-em

Note that only the SetString matter, the DeleteString and GetString are just the same as Delete and Get, but for completeness of APIs, better to introduce the string version for all methods.
If we don't care about backward-compatible, then we can just change the current methods signature, and also un-export SimpleMap, too, as it's highly coupled to internal use.

The provided SimpleMap only exists so users can use the library with no external dependencies, e.g. for testing or prototyping purposes. It's absolutely not means to be used in production; in production, a k-v store like RocksDB will be used that implements the MapStore interface, and for that it's important that the key used is a byte slice []byte since the key will be a hash or something.
https://github.com/celestiaorg/smt/blob/85c78b7e80b8c70342a662f0b2fd9f883fd59057/mapstore.go#L8-L12
TL;DR: no, the MapStore interface should not be changed to use a string as the key. And SimpleMap should not be removed if we want to allow users to start using the library with no external dependencies to at least prototype.
Also, your new benchmark is highly synthetic as they use the same key over and over. In practice, that won't be the case. Instead, every operation will use a different key. And each key being different means allocating a new slice each time, something that your benchmark omits. If you allocate a new (different) string each iteration, you'll probably see the benchmarks be much closer together.

Hmm, my bad, as SimpleMap is only used for testing.


Cut-down the adapter size to 30MB or other

Description
A brief description of the issue.
As @leecalcote  said, that the Meshery adapter for Kuma is 300MB currently,
Expected Behavior
A brief description of what you expected to happen.
We need to cut down the adapter size to 30MB
Screenshots
Add screenshots, if applicable, to help explain your problem.
Enviroment:

OS: [e.g. Ubuntu]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]
Device: [e.g. laptop, iPhone 8]

[Optional] To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

[Optional] Additional Context
Add any other context about the problem here.

@Aisuko thanks for this. 👍
I think we're good to go now given an update that @kushthedude made recently - https://hub.docker.com/repository/docker/layer5/meshery-kuma/tags?page=1


Swap out Sphinx for mkdocs

Sphinx is really good for projects where documentation lives in docstrings in the code. Mkdocs is easier to write from scratch, style, and deploy.
Also, I've got a preference for writing markdown over RST

Agreed (especially on MD vs rST :sweat:), but per our discussion yesterday I think there might be two separate use cases - not sure Mkdocs actually replaces Sphinx for code documentation. (Some limited discussion here: mkdocs/mkdocs#20)
As a counterargument, do we really expect people to write full-on docstrings in most data science code? Most of the time I'd probably choose lightweight set of doc pages like (approach, dev setup, deployment) over heavy duty Sphinx docs.
My vote is actually to allow either as a cookiecutter option.

Mkdocs do not generate PDF from MD. Sphinx can generate PDF from MD  http://www.sphinx-doc.org/en/stable/markdown.html


Can you change the ++++ after Level to +4

Can you change the ++++ after Level:to +4.
I know there is no way to get that many +'s after Level: in general, but it would prevent the tooltip from being fully displayed.

I could add this as option in client config in next 1.18 build.

This is very good


The name `CoreComponentIds' does not exist in the current context

The PoolsGenerator generates code, that won't compile.
Assets/Generated/Pools/Pools.cs(11,72): error CS0103: The name 'CoreComponentIds' does not exist in the current context

I released a patch release 0.18.1p1 to temporarily fix this issue. A proper fix will follow soon...


Doing an advanced search with specified date(s) returns all dates

Using the advanced search form, if you specify an exact date/timestamp or if you specify a start and/or end date, results for all dates of that URL are returned.

After creating this issue, I noticed it overlaps (or could be wholly the same problem (not sure)) #190.
This advanced search issue would be partially fixed by PR #225 , but it would only fix the case where you do an advanced search that includes both a start and end date. With #225 PR incorporated, exact date search or a search with only a start or an end date starts returning a 404 instead of all dates.
I haven't dug into the code at this point.


Maybe replace qrcode

Only replace with qrcode.react if size gets <= after production build

wont be doing it

qrcode is I think not for browser. check gh repo name


Add engineering.fb.com

I pasted it into all the files that had fb.com references, let me know if I've missed any.

might want to also add research.fb.com to the list as well...

might want to also add research.fb.com to the list as well...

@kilderkin i'd happily merge a PR to my branch, so they can be reviewed in one go, if you're willing to take the reins on those.

@kilderkin i'd happily merge a PR to my branch, so they can be reviewed in one go, if you're willing to take the reins on those.


Presenting stufy, standalone cli written in go to manage statusfy

I've made a standalone cli (understand without nodejs stack) to manage incidents and scheduled tasks. It can also directly manage them directly from a git repository without have git installed on your machine.
it can be found here: https://github.com/ArthurHlt/stufy
If owner of statusfy is interested to have the ownership of this cli, i could give it :)
BTW, thanks for statusfy
Presentation
Stufy is a standalone cli for managing statusfy deployment.
You will able to create incident events and scheduleds tasks and managed them without having nodejs stack installed.
statusfy has the good idea to let you deploy status page as a static webpage by simply pushing commits on a git repository and be available as gitlab/github pages. With this in mind, with this cli you could directly create/update/delete incidents and scheduleds tasks by simply set a git repo as a target. You don't even need git installed on your machine.
Important: For now stufy only support config file in yaml format.

Hello, @ArthurHlt. It's awesome what you did with Stufy 😎 . We're can make a reference in the docs but we can't take the ownership of the project, we're just focused on improving Statusfy the way it is.
Thank you for your contribution 👍


⚠ Bofrost.lu has degraded performance

In 9526fd9, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2091 ms

Resolved: Bofrost.lu performance has improved in 1e5a144.


Find Free Time Function, and Google Tasks Service

Fully developed and tested the find_times function which finds and returns all available time slots on a specific date for the given duration, excluding busy periods, from a given start time (in milltary hours) to end time.
Also, implemented the Google Tasks service, which can be used to retrieve the Google Tasks that we will be using with our Gcal API.
PS: When running it first time, you may need to delete the token.json file and re-run it to give it the required permissions, which I have enabled.

Great work @agrawal-prakhar and thanks for sharing your thoughts as well @AidenTag! I just did an initial pass through this, added some suggestions, and responded to some vital points. Hope this helps!
Looking forward to the future iteration of this PR containing more clear division of labor between deterministic and LLM API call paradigms!

Sure, This PR is still mainly deterministic, and the idea is to now use the LLM API calls to use these deterministic functionalities established as the next step.


Add max concurrent streams setting

What does this do for you? Force clients to create more h2 connections because they can't just infinitely multiplex a single one?

@mightyguava  yeah, jetty was picking 128 by default, and I believe we can force okhttp with http2 to create more sockets by picking a sufficiently low value


Attach task queue name as metric label

Is something like this possible? Is that information included in the task's/event's metadata?

Looking at the Task class I see at least a queue field. Not sure if this contains the information you're looking for in all situations, though. Sadly, I currently don't have enough time to look into it, but I've added it to my todo list 😄

I think this can safely be closed as a duplicate of #31.

Agreed 🙂


[stdlib] Tweak callback for pthread_create to avoid signature issues.

Use a wrapper closure to infer the correct argument and result type; continue using an IUO for the result type to allow implicit conversion.

@swift-ci Please test

Looks unrelated, but I'd like to get it clean anyway.
@swift-ci Please test

@swift-ci Please test


Update to Rails <IP_ADDRESS>

Announcement
http://weblog.rubyonrails.org/2016/1/25/Rails-5-0-0-beta1-1-4-2-5-1-4-1-14-1-3-2-22-1-and-rails-html-sanitizer-1-0-3-have-been-released/
CVEs
CVE-2015-7576 Timing attack vulnerability in basic authentication in Action Controller.
https://groups.google.com/d/msg/rubyonrails-security/ANv0HDHEC3k/mt7wNGxbFQAJ
CVE-2016-0751 Possible Object Leak and Denial of Service attack in Action Pack
https://groups.google.com/d/msg/rubyonrails-security/9oLY_FCzvoc/w9oI9XxbFQAJ
CVE-2015-7577 Nested attributes rejection proc bypass in Active Record.
https://groups.google.com/d/msg/rubyonrails-security/cawsWcQ6c8g/tegZtYdbFQAJ
CVE-2016-0752 Possible Information Leak Vulnerability in Action View
https://groups.google.com/d/msg/rubyonrails-security/335P1DcLG00/OfB9_LhbFQAJ
CVE-2016-0753 Possible Input Validation Circumvention in Active Model
https://groups.google.com/d/msg/rubyonrails-security/6jQVC1geukQ/8oYETcxbFQAJ
CVE-2015-7581 Object leak vulnerability for wildcard controller routes in Action Pack
https://groups.google.com/d/msg/rubyonrails-security/dthJ5wL69JE/YzPnFelbFQAJ
CVE-2015-7578 Possible XSS vulnerability in rails-html-sanitizer
https://groups.google.com/d/msg/rubyonrails-security/uh--W4TDwmI/JbvSRpdbFQAJ
CVE-2015-7579 XSS vulnerability in rails-html-sanitizer
https://groups.google.com/d/msg/rubyonrails-security/OU9ugTZcbjc/PjEP46pbFQAJ
CVE-2015-7580 Possible XSS vulnerability in rails-html-sanitizer
https://groups.google.com/d/msg/rubyonrails-security/uh--W4TDwmI/m_CVZtdbFQAJ

Looks good to me. Wanted to double-check that you don't think there'll be any issue with the following, as don't look directly related to the rails upgrade:

nokogiri <IP_ADDRESS> -> <IP_ADDRESS>
mini_portile 0.6.2 -> mini_portile2 (2.0.0 rc2)
mime-types 2.6.2 -> 2.99

That new Nokogiri version pulls in a bunch of security fixes to libxml so it's probably worth it (and mini_portile2 appears to be a dependency of that new nokogiri so we can't have patched nokogiri without it).  Not sure why mime-types gets a bump though (but as one of the rails vulns is about mime types maybe this helps?).

The mime-types may just have been a consequence of doing bundle update rails - can't see anything that forces it to 2.99. If you want we can keep it at 2.6.2 but there are minimal changes between 2.6.2 and 2.99: https://github.com/mime-types/ruby-mime-types/compare/v2.6.2...v2.99
There was also an issue with sprockets and sprockets-rails updates triggering asset digesting in test mode that broke a couple of specs so those I removed from the Gemfile.lock updates.

Needs a rebase then we'll merge.


added colours

it doesn't look like this changed anything?
it is also a PR from your develop branch, and you should be creating a feature branch for each contribution.


Datapoint source redundancy

Motivation
One datapoint source unavailability should not stop an oracle from posting datapoints.
Implementation details
Allow multiple datapoint sources. The posted datapoint value might be a mean of all fetched and normalized datapoints from all sources.

From discorg:

https://www.livecoinwatch.com/price/Ergo-ERG & CMC


The stable diffusion model file is missing

FileNotFoundError: Text embedding file .threestudio_cache/text_embeddings/a9b6c71b5fe715822ad3d0c99b7e8225.pt for model /mnt/data/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1-base/ and prompt [An astronaut, riding a horse, wearing a white space suit, carrying a red backpack on the back] not found.
Can the missing documents be provided? Thank you so much

Actually if these text embeddings are not in your cache, they will be extracted automatically. So I need the output information of your issue to make sure what happens, plz paste them here : )

I close this issue now, and if you encounter any other problems, plz reopen it.


k6-debug-api module is missing

k6-debug-api module was deleted today from npm repository by mistake.
Due to npm's publishing policy, republishing is only possible within 24 hours.
You can download and install it manually:
k6-debug-api.zip
npm install /path/to/k6-debug-api

k6-debug-api v. 1.1.2 has been published


Attribute routing - optional guid in url shows up as mandatory on Swagger ui

I have the following controller
[Route("{id:guid?}")]
        [HttpPost]
        [CustomAuthorize(roles:AzureAdGroups.IotAdmin)]
        public async Task<IHttpActionResult> Post([FromBody] CreateApplicationModel model, Guid? id = null)
        {
        ...

However, in Swagger UI, the id attribute is shown as required. What am I doing wrong?
Thanks!

Given that it uses path (sans query string) to uniquely identify operations, Swagger does not support the notion of optional "path" parameters. Have you considered putting the optional parameter in the query string?
Alternatively, you could split into two separate actions. It's worth noting that this wouldn't change your API contract. It just puts a different spin on it - instead of an operation with an optional path parameter, you have two seperate operations (or in REST terms "resources"). IMO this is a little more in line with REST and in particular the concept of Unique Resource Identifier (URI)

@domaindrivendev  thanks for helping with my noob question
I took the second approach and have split my action into two.


tf 2.4?

why == in requirements.txt and not >=?  does leaf-audio really not work with tf 2.4 and numpy 1.20?
numpy==1.18.2
tensorflow==2.3.1
tensorflow-gpu==2.3.1

Hi, this was necessary for compatibility with lingvo but now lingvo 0.9.0 handles newer versions of tensorflow, our latest commit makes Leaf compatible with tf 2.5.


ImportError: cannot import name 'openai_object' from 'openai'

Traceback (most recent call last):
File "/content/ChatDoctor/train.py", line 25, in
import utils
File "/content/ChatDoctor/utils.py", line 15, in
from openai import openai_object
ImportError: cannot import name 'openai_object' from 'openai' (/usr/local/lib/python3.10/dist-packages/openai/init.py)
Traceback (most recent call last):
File "/content/ChatDoctor/train.py", line 25, in
import utils
File "/content/ChatDoctor/utils.py", line 15, in
from openai import openai_object
ImportError: cannot import name 'openai_object' from 'openai' (/usr/local/lib/python3.10/dist-packages/openai/init.py)
Traceback (most recent call last):
File "/content/ChatDoctor/train.py", line 25, in
import utils
File "/content/ChatDoctor/utils.py", line 15, in
from openai import openai_object
ImportError: cannot import name 'openai_object' from 'openai' (/usr/local/lib/python3.10/dist-packages/openai/init.py)
Traceback (most recent call last):
File "/content/ChatDoctor/train.py", line 25, in
import utils
File "/content/ChatDoctor/utils.py", line 15, in
from openai import openai_object
ImportError: cannot import name 'openai_object' from 'openai' (/usr/local/lib/python3.10/dist-packages/openai/init.py)
[2024-02-09 11:04:21,257] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0 (pid: 14644) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/local/bin/torchrun", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 346, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 806, in main
run(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 797, in run
elastic_launch(
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 264, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
/content/ChatDoctor/train.py FAILED
Failures:
[1]:
time      : 2024-02-09_11:04:21
host      : 10ca0fca3068
rank      : 1 (local_rank: 1)
exitcode  : 1 (pid: 14645)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
time      : 2024-02-09_11:04:21
host      : 10ca0fca3068
rank      : 2 (local_rank: 2)
exitcode  : 1 (pid: 14646)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
time      : 2024-02-09_11:04:21
host      : 10ca0fca3068
rank      : 3 (local_rank: 3)
exitcode  : 1 (pid: 14647)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
Root Cause (first observed failure):
[0]:
time      : 2024-02-09_11:04:21
host      : 10ca0fca3068
rank      : 0 (local_rank: 0)
exitcode  : 1 (pid: 14644)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

更换openai的版本，我的问题就这样解决了
pip install openai==0.28.0


refactor: improve consistency of BitVec lemmas

Ensure all lemmas about toNat/toFin applied to an operation take their arguments explicitly.
It was pointed out in #636 that the new toFin_ lemmas had inconsistent argument implicitness, which brought to light also the inconsistency of existing related toNat_ lemmas. Both are addressed with the current PR.

awaiting review

awaiting-review


Get / Each single layers recursively (no addition to base class)

This PR is a more simple version of PR #4776.
For the record, here is the corresponding description:
Following discussion in #4461, added the 2 methods to Layer Group that seem the most useful:

getSingleLayersRecursive(): extract all non-group (i.e. single) layers from this Layer Group and from all its child Layer Groups recursively. When the method encounters a Layer Group, it re-applies itself on it and appends the result in place in the resulting array, instead of the Layer Group. However the final layers order is not necessarily guaranteed as it loops through child layers according to the ascending order of _leaflet_id, not to insertion order. This could replace Leaflet.markercluster internal _extractNonGroupLayers() method (if ready to loop twice).
eachSingleLayerRecursive(): similar but applying a method and optionally a context. This should be directly usable by leaflet-search and leaflet-pip to replace eachLayer().

I added corresponding test cases.

I think we can postpone this until 1.1. Now that we're at 1.0.0-rc3, it's time to focus on the remaining bugs and not on new features.

You are absolutely right, this small feature is just a convenient tool anyway, to facilitate usability of plugins that could have implemented it themselves (as already done in Leaflet.markercluster BTW).


Feat toast no icon

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow DiDi's contributing guide.
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

#316

Codecov Report

Merging #317 into dev will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##              dev     #317   +/-   ##
=======================================
  Coverage   92.89%   92.89%
=======================================
  Files         131      131
  Lines        2801     2801
  Branches      418      418
=======================================
  Hits         2602     2602
  Misses        105      105
  Partials       94       94

Impacted Files
Coverage Δ

src/components/toast/toast.vue
86.95% <66.66%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


When using only ldap the vhost file for postfix is only set with the mailserver domain

When you use only mail users from the ldap with multiple email domains the vhost is only filled with the mailserver domain itself.
Therefore when you receive email on a alias domain or other domain it does not accept it.
It should check the ldap if the domain is defined and accept email for it.
It seems that the table for defining domains in the ldap is missing. What is the correct solution:

Expand the ldap postfixbook scheme and add it to the virtual domain lookup?
Create a tool that reads all mail addresses from the ldap to retrieve the domain?

I have made a quick patch so that my mail setup will work.
https://github.com/johansmitsnl/docker-mailserver/commit/c6d763aa671e6fc6e86b86ad60100f159b398bf2
Suggestions as asked above?

@johansmitsnl Can you make a PR for this. Would be a great improvment!

@alinmear just created the pull request #642 that I use in my environment.
Not sure it the tests pass.


Fix CircleCI tests for GCP module

This is a WIP. Waiting for the CircleCI build to pass.
Changes

terraform_gcp_example_test.go: Move logic for checking labels to a retry loop.

@brikis98 can we try and execute this change on your CI environment somehow?

It doesn't look like there's any way to manually trigger a build with CircleCI for a single PR... Perhaps if I open an identical PR from your fork, it will trigger the build, as I'm in the gruntwork-io org.

Hm, looks like I might have to close this PR to open one myself. Closing now to experiment!


Create a new API for the JobService

Let's get some consensus on the API for the JobService.
The AC for this issue will be a PR that gets approved for a new api.
The PR will contain:

A API definition
Modifications to generate the go files
Committed go files for the new jobservice

https://github.com/G-Research/armada/pull/1136


RouteDataAssertions is not compatible with the latest version of FluentAssertions

Hi,
My project uses nuget package <IP_ADDRESS> of FluentAssertions.MVC5.  I've just upgraded to v3.3.0 of FluentAssertions and I notice there are some breaking changes in Fluent Assertions.
When running a test that uses the RouteDataAssertions:
routeData.Should()
.HaveController("Customer")
.HaveAction("Edit")
.HaveValue("Id", 123);
I receive the following MissingMethodException:
System.MissingMethodException: Method not found: 'Boolean FluentAssertions.Execution.AssertionScope.FailWith(System.String, System.Object[])'.
Looks like Fluent Assertions has changed the signature to this method to be:
public Continuation FailWith(string message, params object[] args)
(ref: https://github.com/dennisdoomen/fluentassertions/commit/2cf13d4db65b1867f6b3e4e950edc049d6a2d11a)
Rik

I just pushed version 0.6.0-beta1 to Nuget which is built against Fluent Assertions v3.3.0.  I think that should fix your issue.  Can you try that version and confirm?  Thanks!

Hi @kevinkuszyk
The beta package appears to have fixed the issue.
Thanks!
In what sort of timeframe will this be pushed to live?
Rik

Version 0.6.0 is up on NuGet now.


Troubles on xiaomi Mi devices

🐛 Bug Report
Hi,
I have a strange bug on some samsung (s8) and Xiaomi (mi a2) devices.
In my app I use an external lib that handle the camera. When I try to call the camera and if I have geolocation activated my camera freeze randomly... When I kill the app and relaunch it and try again to launch the camera, again, it freeze...but when I deactivate in the system the gps and relaunch it and try again my app, that's work, my camera not freezing anymore until I take the shot and recall again the camera...then it's freeze....have you got any idea about what's the problem?
Expected behavior
I expected that in any case the camera with geolocation not freezing anymore. Or maybe have any response about how to solve this kind of problem.
Reproduction steps
Explained in Bug Report section
Configuration
My Xiaomi is with androidone not with MIUI.
[✓] Flutter (Channel beta, 1.26.0-17.8.pre, on macOS 11.2.1 20D74 darwin-x64, locale en-CH)
• Flutter version 1.26.0-17.8.pre at /Users/angelus/Downloads/flutter
• Framework revision 044f2cf560 (8 days ago), 2021-02-24 13:02:05 -0800
• Engine revision 042c82b02c
• Dart version 2.12.0 (build 2.12.0-259.16.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/angelus/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.20.0
[✓] Connected device (2 available)
• Mi A2 (mobile) • 13ce2c6 • android-arm64  • Android 10 (API 29)
• Chrome (web)   • chrome  • web-javascript • Google Chrome 89.0.4389.72
Version: 1.x
Same issue with stable channel.
Flutter 1.26.0-17.8.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 044f2cf560 (8 days ago) • 2021-02-24 13:02:05 -0800
Engine • revision 042c82b02c
Tools • Dart 2.12.0 (build 2.12.0-259.16.beta)
Platform:

[ ] :iphone: iOS
[ x ] :robot: Android

Thank you.

Hi @angelschnider,
This is an interesting issue, the geolocator plugin is really not involved with accessing the camera so it's hard for me to believe the geolocator is the reason for this issue. The only thing I can imagine is that the camera (or the camera library) also wants to access the location services to add the location meta data with the photo but is blocked because the geolocator is already accessing them (which is still strange because GPS data is ofter requested by multiple services at the same time).
Could you tell me the version of the geolocator plugin you are using and which camera library (including version)?
Without this information it would be nearly impossible to reproduce the issue.

@mvanbeusekom and @angelschnider i have same issue when i try with samsung M 20 then Camera will work fine and API had respond but when i try with Redmi phone camera is open but API haven't respond.
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.13.6 17G14033 darwin-x64, locale en-IN)
• Flutter version 2.0.3 at /Users/appleto/Desktop/Work/flutter
• Framework revision 4d7946a68d (2 weeks ago), 2021-03-18 17:24:33 -0700
• Engine revision 3459eb2436
• Dart version 2.12.2
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/appleto/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (2 available)
• Redmi 4A (mobile) • 17f064397ce4 • android-arm64  • Android 7.1.2 (API 25)
• Chrome (web)      • chrome       • web-javascript • Google Chrome 89.0.4389.114

Anyone solve this problem? I'm testing on Poco M2(MIUI 12.0.4)
await Geolocator.getCurrentPosition(forceAndroidLocationManager: true, desiredAccuracy: LocationAccuracy.low)
is not working. Stuck on this line forever.
But desiredAccuracy: LocationAccuracy.best works instantly.
Anyone help me on this problem?


Webpack [url/file-loader] is not resolving the Relative Path of URL

Do you want to request a feature or report a bug?
I have already put up the question on Stackoverflow, but looks like there is some issue with the Webpack itself. So posting the issue here :
http://stackoverflow.com/questions/41306822/webpack-url-file-loader-is-not-resolving-the-relative-path-of-url
Here is the Code-Repo URL for the simulated issue :
https://github.com/raviroshan/webpack-build-issue/tree/master/WorkSpace
Steps to reproduce.

Download the Repo.
Browse inside Project_B folder, and do a NPM install.
run 'webpack'. It would build correctly as Relative Image URL code is commented out.
Now remove the commented line : https://github.com/raviroshan/webpack-build-issue/blob/master/WorkSpace/Project_A/assets/stylesheets/index.scss#L27

Webpack will throw an error :

'File / dir not found in Workspace/Project-B/Source/Stylesheets'.

Exact Error Block :

ERROR in ./src/assets/stylesheets/index.scss
Module build failed: ModuleNotFoundError: Module not found: Error: Cannot resolve 'file' or 'diWorkSpace\Project_B\src\assets\stylesheets

What is the expected behavior?
Webpack should able to resolve the Relative Path of Image URL kept inside another folder [separate project] instead of searching inside the current project.
Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.
OS : Windows 10 (64-bit)
node version : 6.9.2
npm version : 3.10.9
"webpack": "^1.13.3",
"webpack-dev-server": "^1.16.2"

--display-error-details should show more info

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.

@sokra : I have updated the ticket with the issue template. Also provided the Stackoverflow and Code Repo URL for further details.
You can open the ticket now.

The problem seems to be related to how SCSS concatenates partials. It assumes urls point to paths in a server, but webpack expects them to point to real files.
I don't know if there is a way to make SCSS transform relative path in the URLs, but other solutions are to use paths starting with / (always treated as being a server path), or to disable url handling in css-loader.

@Kovensky : Thank you for your inputs. As  suggested by you, using a path starting with / is not breaking the build BUT not solving the issue either.
Basically  '/'  is ignoring the respective image and further url-loading or file-loader is not acting on it. [Not able to copy the file to the output folder].
Looking for a solution where the Image/Fonts/other assets can be copied instead of just solving the webpack build issue.


Try fix local storage batch create hosts fail

for https://github.com/zstackio/issues/issues/2604

wrong fix


site request Muenchen.tv

please add support for Muenchen.tv
their m3u8 wowsa url keeps on changing so it would be great to be able to watch / record this via livestreamer:
year around live stream. starting today is their special daily 3h live show (and 24h on repeat) from the Oktoberfest in Munich from inside a beer tent. this will be on for the next 2 weeks.
https://www.muenchen.tv/livestream/
and they have two webcam streams, one pointing towards the band, hopefully with sound:
https://www.muenchen.tv/mediathek/videolivestream/wiesn-webcam-im-hofbraeu-festzelt/
and one to the street inbetween beer tents and joy rides:
https://www.muenchen.tv/mediathek/videolivestream/wiesn-webcam-auf-die-wirtsbudenstrasse/
cheers

Like last year you can find the URLs inside the site's source code:
https://streams.muenchen.tv/streams/muenchentv.stream_1/jwplayer.m3u8 (Main stream)
https://streams.muenchen.tv/wiesncam/wiesencam2.stream_1/jwplayer.m3u8 (Festzelt)
https://streams.muenchen.tv/wiesncam/wiesencam1.stream_1/jwplayer.m3u8 (Wirtsbudenstraße)
You can play these by using livestreamer hlsvariant://"{URL}" best
You can also use ".stream_2" and ".stream_3" instead of ".stream_1" if you want use the lower quality streams.


Add support for AZ64 encoding

Source: https://github.com/snowplow/iglu/pull/496
/cc @miike

Missed it. Pushing back.


Multiple pom related updates

Initiator of these changes was that oss-parent is deprecated. Reasioning for this is that This project leaked SCM, URL and other details.
I included everything that was in the oss-parent pom into our own one. Profiles stay the same, sonatype-oss-release for deployment on ossrh.
I took this oppurtinity to clean the pom up a bit, by moving the plugin versions to the properties sections, and some other settings there.
I also fixed all of the current javadoc errors. They were just ignored before (property maven.javadoc.failOnError).
Mockito was updated to the newest core version. The core versions don't include hamcrest and objenesis anymore, making dependency management a bit easier.
junit-addons was removed in favour of using guava methods, and a normal assert.

@AnEmortalKid @who What is currently blocking acceptance of this PR?

@postremus
Since I’m not a maintainer I can’t press the green button. But these changes look good to me as well!


Deep merge config files

Why?
While current config loading support hierarchy:
// The hierarchy is as follows from lowest to highest
//
//   base.yaml
//       env.yaml   -- environment is one of the input params ex-development
//         env_az.yaml -- zone is another input param

It will replace entire config block found in the most specific configuration, but not merge it. As our config blocks are rather large, this means duplicating them in many config files for different environments. This make config files harder to maintain.

What changed?
Instead use go.uber.org/config library that natively supports deep merging multiple configuration sources.
Also updated our development_*.yaml files for different persistence stores to only include minimal set changes compared to development.yaml.

How did you test it?
Updated unit tests, to test deep merging.
I have tried starting Cadence locally with different zones (CADENCE_AVAILABILTY_ZONE), to pickup different config files, and output their value to console for inspection.

Potential risks
Cadence could fail to start on some particular environment if it is configured incorrectly.

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 70febf3b-4a5a-4c03-9aae-2f6ae472115b

7 of 10 (70.0%)  changed or added relevant lines in 1 file are covered.
20 unchanged lines in 9 files lost coverage.
Overall coverage increased (+0.03%) to 59.795%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/config/loader.go
7
10
70.0%

Files with Coverage Reduction
New Missed Lines
%

common/config/loader.go
1
92.98%

common/task/weightedRoundRobinTaskScheduler.go
1
89.64%

host/signalworkflowTest.go
1
95.53%

common/membership/rpServiceResolver.go
2
73.58%

common/task/fifoTaskScheduler.go
2
85.57%

common/task/parallelTaskProcessor.go
2
92.48%

service/history/shard/context.go
2
62.38%

service/matching/taskListManager.go
2
74.72%

service/history/queue/processor_base.go
7
61.82%

Totals

Change from base Build dc576523-957d-4d63-b0f9-ef111290e3e1:
0.03%

Covered Lines:
87953

Relevant Lines:
147090

💛  - Coveralls

Note: We should add release notes to let users update their config for this change

Note: We should add release notes to let users update their config for this change

Thanks. I have updated the change log.


Add example of how to set apheleia-formatter value in .dir-locals.el to README.md

I need to specify different set of formatters for some projects (specifically (isort black) for python mode). The current documentation suggests that this is possible but (probably due to my lack of emacs-lisp) I have not been able to figure this out. Would be great to have an example or two.

Does
((python-mode . ((apheleia-formatter . (isort black)))))

work?
Also, see https://github.com/radian-software/apheleia/commit/01f2f0da561e29b75c6b12933943a40850cf704c

Does
((python-mode . ((apheleia-formatter . (isort black)))))

work?
It works on macOS  and Windows with Emacs 30, Thanks.