RabbitMQ durable error when consuming

Search before asking

[X] I had searched in the issues and found no similar issues.

Environment
Mac
EventMesh version
master
What happened
I'm the event mesh with rabbitMQ as the store. Producing messages is working fine and it nicely appears in my RabbitMq dashboard. However when I try to consume messages via Apache Event Mesh (HTTP API call), then I'm seeing this error:
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception. com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)         at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]         at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]         at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]         at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.16.0.jar:5.16.0]         at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:1154) ~[amqp-client-5.16.0.jar:5.16.0]         at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicGet(AutorecoveringChannel.java:434) ~[amqp-client-5.16.0.jar:5.16.0]         at org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumerHandler.run(RabbitmqConsumerHandler.java:53) [eventmesh-storage-rabbitmq-1.9.0-release.jar:1.9.0-release]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Initially I had the RabbitMQ exchange configured as durable but I changed it to transient. However the problem is still there. Here is the config in RabbitMQ:

And the queue:

Anyone faced this issue before? I tried with multiple different settings but still no luck.
How to reproduce
Configure RabbitMQ as store. Consume a message via an HTTP API call.
Debug logs
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception.
com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:1154) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicGet(AutorecoveringChannel.java:434) ~[amqp-client-5.16.0.jar:5.16.0]
at org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumerHandler.run(RabbitmqConsumerHandler.java:53) [eventmesh-storage-rabbitmq-1.9.0-release.jar:1.9.0-release]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception.
com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:1154) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicGet(AutorecoveringChannel.java:434) ~[amqp-client-5.16.0.jar:5.16.0]
at org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumerHandler.run(RabbitmqConsumerHandler.java:53) [eventmesh-storage-rabbitmq-1.9.0-release.jar:1.9.0-release]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception.
com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:1154) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicGet(AutorecoveringChannel.java:434) ~[amqp-client-5.16.0.jar:5.16.0]
at org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumerHandler.run(RabbitmqConsumerHandler.java:53) [eventmesh-storage-rabbitmq-1.9.0-release.jar:1.9.0-release]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception.
com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:1154) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicGet(AutorecoveringChannel.java:434) ~[amqp-client-5.16.0.jar:5.16.0]
at org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumerHandler.run(RabbitmqConsumerHandler.java:53) [eventmesh-storage-rabbitmq-1.9.0-release.jar:1.9.0-release]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception.
com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:1154) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicGet(AutorecoveringChannel.java:434) ~[amqp-client-5.16.0.jar:5.16.0]
at org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumerHandler.run(RabbitmqConsumerHandler.java:53) [eventmesh-storage-rabbitmq-1.9.0-release.jar:1.9.0-release]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception.
com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:1154) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicGet(AutorecoveringChannel.java:434) ~[amqp-client-5.16.0.jar:5.16.0]
at org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumerHandler.run(RabbitmqConsumerHandler.java:53) [eventmesh-storage-rabbitmq-1.9.0-release.jar:1.9.0-release]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2023-11-30 13:01:35,309 ERROR [EventMesh-Rabbitmq-Consumer-1] RabbitmqConsumerHandler(RabbitmqConsumerHandler.java:71) - [RabbitmqConsumerHandler] thread run happen exception.
com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'eventmesh.default' in vhost '/': received 'true' but current is 'false', class-id=40, method-id=10)
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:258) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:341) ~[amqp-client-5.16.0.jar:5.16.0]
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:282) ~[amqp-client-5.16.0.jar:5.16.0]
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct *

https:///eventmesh/subscribe/local
This is the body I'm using:
{     "url": "https://webhook.site/6ab3a4ba-34a7-47b3-9ffd-fdea2576f2fe",     "consumerGroup": "TEST-GROUP",     "topic": [         {             "mode": "CLUSTERING",             "topic": "eventmesh.default",             "type": "ASYNC"         }     ] }

Ok so I got some good news. I was able to get it to work. The exchange/queue wasn't created automatically so I created it mysefl. Something must be wrong when doing so because that's where the error came from.
I discovered that the exchange/queue gets created automatically after sending a first message. And with that exchange/queue, there is no issue. I'm looking through it now to see if I can find out what parameter was causing it but they look identical at the moment.
Bram

nobody solve this problem？


Merge new documentation

Summary

initial change
Update overview.md (#2979)
Update category.yml
Create managed_profiles.md
Create providers.md
Create overview.md
Create oss_integrations
Create trusty.md
Rename oss_integrations to oss_integrations.md
Create dependency_security.md
Create source_code_repo_security.md
Create actions_ci_cd_security.md
Create artifact_security.md
Update category.yml
Create user_roles.md
Create adding_users.md
Update adding_users.md
Create cli_configuration.md
Delete docs/docs/how-to/configuration.md
Delete docs/docs/tutorials directory
Delete docs/docs/getting_started/overview.md
Reference Minder SaaS documentantion
Fill in the integrations overview page (#3004)
Add OSS integration documentation (#3008)
Add Trusty Integration (#3011)
Create custom-profiles.md
Rename custom-profiles.md to custom-rules.md
Create writing-rules-in-rego.md
Change sample profile to use newer rule types (#3016)
Modify docs on providers (#3015)
Add contributing to Minder docs section (#3027)
Add docs content for writing custom rule types (#3028)
Update and rename oss_integrations.md to community_integrations.md

Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[x] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 48.18% (+0.01%) from 48.168%
when pulling 2f95a7689bddee7e798c92699080911c3b5c2e1e on docs-v2
into 6e21fc08480819079519b88ded0f6530d073935b on main.


As an Async Sender, I want a History Details API that returns a clean, well-formatted response from 'process' and 'receive'

As an Async Sender, I want a new History Details API endpoint that returns at least what I get when I do a synchronous submission, but with the fieldnames cleaned up.  Ignore the submission json response for now.
This is the beginning of implementing #2722.  All of #2722 is too much for one ticket, so I'm splitting it up, starting with this one.  This ticket covers creating a new SubmissionDetailedHistory object, and populating it from database data.   Initially, this approach ignores the fact that the action_response is old/different.
Acceptance Criteria

A call to to the History API /submissions/submission/{id} endpoint returns a json serialization of the SubmissionDetailedHistory object, as represented in the example below.

Only return data combined from the 'receive' and 'process' steps.

This works for data submitted by either sync and async method.   That is, either way, the History Details API response would contain the 'destinations' info.

Note that the field names in the example below are different from in the current action_response.  Here, the fieldnames are camelCase throughout.  In action_response there's a mix of camelCase and under_scores.

Release notes are written documenting all the changes.

Update the openapi spec as needed.

The JSON follows this example (the comments are not proper json):

{
  "id" : "123456",      // action.action_id.      Report_id is now relegated to second class citizen, so we can show errors better.
  "externalName":  "/foo/bar/baz/quux/mydata.csv",    // name given to us by the sender.  Could be any string.
  "submittedAt" : "2021-08-22T12:51:28.785706Z",     // action.created_at
  "submittedReportId": "abc123cd-07b1-4784-9907-e43c194abbb",  // was "id"
  "submitter" : "robust-tester-inc.default",          // was "sender"
  "topic" : "covid-19",
  "contentLength" : 44553,                        // action.content_length
  "httpStatus" : "201",                           // action.http_status
  "submittedItemCount" : 25,
  "warningCount" : 0,
  "errorCount" : 0,
  "errors" : [ ],
  "warnings" : [ ],
  "destinations" : [{
    "destination" : "Alabama Public Health Dept",  // was organization
    "destinationId" : "al-phd.elr",  // was organizationId and service.
   "itemCount": 25,
    // (if we want, we could include processed_at and batched_at timestamps too...)
    "plannedSendAt" : "2021-10-22T10:00-04:00",   // determined during routing.
   },
    {
      "itemCount": 0,
      "plannedSendAt": "never - all items filtered out",   // bad.   Mixing date and string datatypes.
      "destination": "Washington Department of Health",
      "destinationId": "wa-phd.elr_neg",
      "filteredItems": [   // change name from filteredReportRows
        "For wa-phd.elr-neg, filter isValidCLIA[testing_lab_clia, reporting_facility_clia] reduced the item count from 1 to 0.  Data with these IDs were filtered out: (F4677DE5-11B7-3AD7-801D-41A23D571167)"
      ]
    },
   <etc>
  }
}

Note the change from "send/sender" nomenclature to "submit/submitter".   "Send" is confusing:  does it mean sent to reportStream, or sent to the State.
Design Considerations
Here's what we need to build:

We get a Sender history query: /submissions/submission/{id}
We authenticate sender vs the id in the action and/or report
Do a descendant query
For all reports Grab the receive and process steps and get the details from REPORT_FILE and ACTION.
Populate a tree-of-history object
read from that object, massage, and create a SenderDetailedHistory object, and return it.

Note: While not in this ticket, its important to remember ultimate goals:

When all is done, we want info from the entire chain of descendants, not just 'receive' and 'process'
When all is done, we want the waters and reports submission responses to be identical to the History Details API response.

What's not in this ticket:

making the submission json response look like the above response.
Some of the complicated fields are still missing from the original #2722:
-- overallStatus
-- plannedCompletionAt
-- per-destination:  actuallySentAt
-- per-destination consolidated errors and warnings across all subsequent steps.
including the 'routing' info if verbose==true param is used in call.  For reference, the routing section looks like this:

  "routing": [
    {
      "trackingId": "ba5970a1-d047-4cfe-a385-d70163f50863",
      "reportIndex": 0,
      "destinations": [
        "al-phd.elr"
      ]
    },
  <etc>
 ]

Steps to completing #2722:

#3539 (this ticket): Write the new details API, ignore the old submission json for now.
#3534 : Replace the old submission json so its identical to #3539.
Wrap up by doing Batch and Send steps and related fields.

#3538 : keep the old filenames; just combine process/receive and return via new details API.

I've done a pass at trying to write queries to support the construction of the "tree of history" as mentioned above.
I ended up dividing this into three queries:

Given the action_id of a submission, get basic information on that submission
See if it has an associated submitted report.  This is the mother report.
Find detailed info about it and all its children.

To wit:

Get basic info on the submission, that might or might not have failed.

select
  A.action_id       as id,
  A.external_name   as externalName,
  A.created_at      as submittedAt,
  concat(A.sending_org, '.', A.sending_org_client) as submitter,
  A.content_length  as contentLength,
  A.http_status     as httpStatus
from action as A
where
  A.action_id = $action_id
  and A.sending_org is not null;

See if there is a mother report associated with this Action.  I'm doing this as a separate query because the LEFT OUTER JOIN didn't work, due to a quirk in our data.  (The quirk is that for non-async submission, the action has mutiple reports associated with it, and the only way right now to find the mother report is to search on sending_org is not null.  However, if we do that, then the query won't work in cases where the Action failed.   So I left out the LEFT OUTER JOIN)

select
  RF.report_id      as submittedReportId,
  RF.created_at
from action as A
join report_file as RF ON A.action_id = RF.action_id
where
  A.action_id = $action_id
  and A.sending_org is not null
  and RF.sending_org is not null;

  -- Stil missing these values:
  -- missing overall_status
  -- missing planned_completionAt
  -- missing warningCount, errorCount, errors[], warnings[]

Find detailed info about the mother of all reports, and all its descendants.

select
  RF.report_id as reportId,
  A.action_name as actionName,  -- report was created by this action
  string_agg(RL1.child_report_id::text, ',') as childReports,
-- SKIP PARENTS FOR NOW:   string_agg(RL2.parent_report_id::text, ',') as parents,
  A.action_id as actionId,
  A.created_at as createdAt,
  RF.item_count as itemCount,
  RF.receiving_org as receivingOrg,
  RF.receiving_org_svc as receivingOrgSvc,
  RF.next_action_at as nextActionAt,
  CASE
      WHEN A.sending_org is not null THEN substring(A.action_result,0, 8)
      ELSE A.action_result
  END as actionResult
  -- missing all error and warning details
from report_file as RF
join action as A ON A.action_id = RF.action_id
left join report_lineage as RL1 on (RF.report_id = RL1.parent_report_id)  -- used to find the children
-- SKIP PARENTS FOR NOW:  join report_lineage as RL2 on (RF.report_id = RL2.child_report_id)   -- used to find the parents
where RF.report_id in (select report_descendants('$report_id'))
group by   RF.report_id, A.action_id, item_count, A.action_name, receiving_org, receiving_org_svc
order by RF.created_at

@jimduff-usds Is this ticket being done in the current sprint? and do you expect it to be finished in 1 sprint?
cc: @rachelhanster @ahay-agile6


Document Falko API

Proposed Changes
Create Falko API documentation using the gem "apipie".
Solve #211
Type of Change
What kind of changes this Pull Request introduces to Falko?
x to what it applies

[ ] Bugfix
[x] New Feature

Checklist
xto what it applies. If not sure about some topics, don't hesitate to ask. We're here to help!

[x] Pull Request's name is self-explanatory and its in English.
[x] There are no Rubocop issues.
[x] Travis build has success (tests, code climate and codacy checks).
[x] Pull Request is linked to an existing issue.
[ ] Seeds have been created to the new User Stories.

@FilipeKN4 Nice work here! So much thanks! Just one question: Is there another way to document this endpoints? I mean, as much as I like having this, I would like to not have them inside the controllers ('cause this makes them big and hard to read the code itself). Is there another file or something where we could put this docs?

@MatheusRich I made the changes for the documentation stay out the controllers now.

@FilipeKN4 btw this is related to https://github.com/falko-org/Falko/issues/347. Nice work tho

@FilipeKN4 Nicely done. One last question: where the docs can be accessed? is there some specific route?

@FilipeKN4 Nicely done. One last question: where the docs can be accessed? is there some specific route?

@MatheusRich I think that by visiting http://localhost:3000/apipie according to this. Right @FilipeKN4 ? BTW your commits are not linked to your GH user.

@FilipeKN4 Nicely done. One last question: where the docs can be accessed? is there some specific route?

@MatheusRich I think that by visiting http://localhost:3000/apipie according to this. Right @FilipeKN4 ? BTW your commits are not linked to your GH user.

It's right, the docs can be acessed in http://localhost:3000/apipie. I linked my GH user for next commits, was a mistake.


Watch status change for services in docker ls

docker service ls can be improved by adding a watch flag. This will update the output of services as replicas are scaled up or down. This will simplify the interaction where the user will not have refresh the output.

How about watch docker service ls?

Is watch a standard Mac or Linux command? I could not find it on OSX.

Hm, I think its standard http://linux.die.net/man/1/watch, not sure about on OS X, but should be available through Homebrew https://github.com/Homebrew/homebrew-core/blob/e47584620498e0fa1cac90957c0a5c84521d054f/Formula/watch.rb

That can work but it would not know about state change within Docker. I think a global switch that monitors the state change within Docker and display only when necessary would be useful.

Yes, perhaps it's worth considering, not sure if that'll make it in 1.12
/cc @stevvooe

This would need #23827

I'm adding this to the 1.12 milestone; it's a "nice to have", I don't think it's a show-stopper for 1.12

Let me close this ticket for now, as it looks like it went stale.


Port the reflection code to TypeInfo.

First step for #404.

Code analysis complains about unused members (in the extension methods class). It would be easier to let them in and only remove them when the port is over (if we really don't use them).

This touches quite a few files, but the changes are trivial.

Thank you for your interest in contributing to AutoFixture. FTR, I'm currently travelling, and have only limited to time to evaluate pull requests. In due time, I'll work through my backlog, but it may take weeks :flushed: :sweat:

Thank you for this pull request. As you can see, I had a single question, but apart from that, it's looking good :+1:
Not only does it build on the CI server, but it also builds on my machine :wink:


lcrq: 0.2.1 -> 0.2.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/lcrq/versions.
meta.description for lcrq is: Librecast RaptorQ library
meta.homepage for lcrq is: https://librecast.net/lcrq.html
meta.changelog for lcrq is: https://codeberg.org/librecast/lcrq/src/tag/v0.2.3/CHANGELOG.md
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.3 in filename of file in /nix/store/5p2r2m9jv91x2b8d9gjvd789n7md4hmr-lcrq-0.2.3

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

lcrq
lcsync
librecast

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5p2r2m9jv91x2b8d9gjvd789n7md4hmr-lcrq-0.2.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lcrq https://github.com/r-ryantm/nixpkgs/archive/c823bfba616877c2670744b0a0f6515599ca3732.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c823bfba616877c2670744b0a0f6515599ca3732#lcrq

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5p2r2m9jv91x2b8d9gjvd789n7md4hmr-lcrq-0.2.3
ls -la /nix/store/5p2r2m9jv91x2b8d9gjvd789n7md4hmr-lcrq-0.2.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 3 packages built:

lcrq
lcsync
librecast

Maintainer pings
cc @albertchae @Chickensoupwithrice @DMills27 @jasonodoom @jleightcap for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


[ALLUXIO-1798] Add license to files in core/server/src/main/webapp

Can one of the admins verify this patch?

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8955/
Test PASSed.

LGTM.
Thanks for the patch!


Added normalized_units=False to csr1d_steady_state_kick_calc, for easy comparisons with 1D theory

Also added 3D CSR test in Bmad, with notebook.


the vehicles goes crazy

so, with ur psych engine the vehicles goes nuts
https://streamable.com/15q82s

psych engine?

ah shet sorry you know, the habit


remove logback RegexFilterAction, not supported any more.

RegexFilterAction blocks the upgrade of logback, and blocked logback upgrade blocks upgrade to slf4j-2.x. slf4j-2 additionally provides a fluent logging API.
the affected classes are used test logging and one real, facades/PC:
❯ git grep "include resource"
engine-tests/src/test/resources/logback-test.xml:  <include resource="org/terasology/engine/logback/setup.xml" />
engine-tests/src/test/resources/logback-test.xml:    <include resource="org/terasology/engine/logback/filter-reflections.xml" />
facades/PC/src/main/resources/logback.xml:  <include resource="org/terasology/engine/logback/setup.xml" />
facades/PC/src/main/resources/logback.xml:    <include resource="org/terasology/engine/logback/filter-reflections.xml" />
templates/module.logback-test.xml:  <include resource="org/terasology/engine/logback/setup.xml" />
templates/module.logback-test.xml:    <include resource="org/terasology/engine/logback/filter-reflections.xml" />

❯ git grep denyReg
engine/src/main/resources/org/terasology/engine/logback/filter-reflections.xml:    <denyRegex prefix="org.reflections" message="given scan urls are empty" />
engine/src/main/resources/org/terasology/engine/logback/filter-reflections.xml:    <denyRegex prefix="org.reflections"
engine/src/main/resources/org/terasology/engine/logback/setup.xml:    <!-- map <denyRegex> and <requireRegex> xml elements to RegexFilter -->
engine/src/main/resources/org/terasology/engine/logback/setup.xml:    <newRule pattern="*/appender/denyRegex" actionClass="org.terasology.logback.RegexFilterAction" />

❯ git grep requireReg
engine/src/main/resources/org/terasology/engine/logback/setup.xml:    <!-- map <denyRegex> and <requireRegex> xml elements to RegexFilter -->
engine/src/main/resources/org/terasology/engine/logback/setup.xml:    <newRule pattern="*/appender/requireRegex" actionClass="org.terasology.logback.RegexFilterAction" />

out of filter-reflections.xml :
    <!-- WONTFIX: gestalt routinely builds empty configs and then adds to them later. -->
    <denyRegex prefix="org.reflections" message="given scan urls are empty" />

    <!-- WONTFIX: these classes don't need to be reflected on,
             and they're only on the classpath during tests. -->
    <denyRegex prefix="org.reflections"
               message="could not get type for name org\.terasology\.benchmark" />

the test runs produce a sliht difference in size, but i cannot really make out any reasonable difference, on the default checkout, running like this, for branch default and [qa/remove-outdated-logback]
❯ gradle clean build --warning-mode=all -D sonar.gradle.skipCompile=true >filter.log 2>&1

❯ ls -la *.log
.rw-r--r-- 308k st  7 Dez 06:55 filter.log
.rw-r--r-- 313k st  7 Dez 06:11 nofilter.log

@soloturn You can have a look at https://github.com/MovingBlocks/Terasology/pull/5022 for some context and motivation.

removed now the usage in the logback.xml config files. still am not able to see the difference in the output with and without.

@soloturn This is something I'd like to discuss with the others first, they may recall more details about keturn's effort back then...
I'll put it on the agenda for our next meeting this Sunday.

what was the outcome of the meeting?

what was the outcome of the meeting @jdrueckert ?

@BenjaminAmos had a closer look at the custom implementation that keturn introduced and the built-in options available.
Based on this, we agreed that we can use the built-in options to achieve an equivalent configuration without the custom regex filter that currently blocks the upgrade. We also believe that the upgrade should not impact using the built-in functionality, so we decided that we're good to remove the custom implementation to unblock the upgrade and afterwards go for the upgrade.


Refactor

Refactor for better human interface, functionality and make it easier to extend :)
Use argparse to parse command line options.
Use setuptools to install the program.
TrackPoint part is NOT tested as my TrackPoint stopped working a while ago.

trackpoint.py line 157 int() should be str(). I will change it. Thank you so much for your contribution!


Run with Coverage no longer working in vscode

this works on the release/1.93 branch, but not on the main branch using the same vscode insiders version
this might be related to the ESM migration

https://github.com/user-attachments/assets/2add5a5e-db31-4fa4-a7e7-b8ddd07c3747
Version: 1.93.0-insider
Commit: 336db9ece67f682159078ea1b54212de7636d88a
Date: 2024-08-30T18:47:32.318Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.6.0

Very likely ESM related, when we moved to ESM, most of the files in test/unit got rewritten to support that. See how the "old" AMD variants are still preserved for as long as we support AMD (this month):

//cc @jrieken

Yes, it looks like coverage was just removed in the ESM branch


provider detail link points to codeplex

page links to "https://archive.codeplex.com/" (link is to https://go.microsoft.com/fwlink/?LinkId=142025 which redirects to https://www.codeplex.com/sqlhost/Wiki/View.aspx?title=Database Publishing Services&referringTitle=Home)
The Web service makes it easy for the Web hoster customers to publish their databases to the service by using the Generate and Publish Scripts Wizard. For more information about downloading the SQL Server Hosting Toolkit, see SQL Server Database Publishing Services.

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

ID: 307d009c-7ea0-5df6-c3d9-bccdd5ca0c6e
Version Independent ID: fc271120-d194-1340-ee4e-f3039da0038c
Content: Publish a Database (SQL Server Management Studio) - SQL Server
Content Source: docs/relational-databases/databases/publish-a-database-sql-server-management-studio.md
Product: sql
Technology: ****
GitHub Login: @stevestein
Microsoft Alias: sstein

Is this the link you are selecting:

@alexanderankin If you getting something else I am unable to reproduce that error.

@alexanderankin it appears that you may be looking for content that is no longer available. I will see if there are alternatives, but it is likely this page will be retired.

@cawrites yeah and thats fine, the link should probably just be removed from the page then.

@alexanderankin I am in agreement. This should be removed. We are in discussion about removing this content. We appreciate you taking the time to follow up.

@alexanderankin we appreciate your patience. We will be editing the content to remove the solution that is no longer available.


microsoft roblox

ok so i tried to install bloxstrap on the microsoft roblox and i couldnt for some reason, is it possible or not? if its possible i need to know asap

???

Bloxstrap does not support UWP Roblox.

Bloxstrap does not support UWP Roblox.

i got this weird error that doesnt let me play roblox

so i have to use the microsoft roblox

Bloxstrap does not support UWP Roblox.

i got this weird error that doesnt let me play roblox

Peep this

Bloxstrap does not support UWP Roblox.

i got this weird error that doesnt let me play roblox

Peep this

i tried everything but it doesnt work

Bloxstrap does not support UWP Roblox.

i got this weird error that doesnt let me play roblox

Peep this

i tried everything but it doesnt work

What is the error you are getting

Bloxstrap does not support UWP Roblox.

i got this weird error that doesnt let me play roblox

Peep this

i tried everything but it doesnt work

What is the error you are getting

it crashes when i try to open it whether its the website version or the desktop version

Bloxstrap does not support UWP Roblox.

i got this weird error that doesnt let me play roblox

Peep this

i tried everything but it doesnt work

What is the error you are getting

it crashes when i try to open it whether its the website version or the desktop version

You could make a bug report on devforum if you have the member role or try to get the member role and do that

Check if it's a Bloxstrap problem first by switching back to Roblox's bootstrapper for a moment. https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

it crashes when i try to open it whether its the website version or the desktop version

Check if it's a Bloxstrap problem first by switching back to Roblox's bootstrapper for a moment. https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

its not a bloxstrap problem

Oh, okay. Anyway, Bloxstrap doesn't support the Microsoft Store version of Roblox. It's completely separate. Sorry.


Could add a option to limit maximum width of 80 or 128  and use tab

For some reason, the xxx.pb.c and xxx.pb.h can be generator in compile time.
But the source code server will check the coding rule (linux kernel style),
Could add a option to reduce  linux width to 128  and use tab in pb.c and pb.h  in pb generator ?
Thanks

Nope, autogenerated files are only meant to be read, not edited. So tab vs. space shouldn't matter for any practical purpose. So I don't consider it worth the maintenance needed to support such a feature.
Maybe just add .pb.c and .pb.h to some "exclude" or "ignore" list in your code style checker? Otherwise I guess you can just use a separate program to convert the style, such as sed or indent.


recognizes "3" as date

fmt.Println(dateparse.ParseFormat("3")) // 3 nil

Thanks for the report, will look at this.


Validate or Mask a field when editing table.

How can i validate an input when editing a table, or put a mask, not enabling an user to insert some characters like letters and comma. I tried to validate as i used to validate inputs, but didn't work for me. Really need a help..

Hi, I added a mask by using a class after call the plugin, like this:
$('.tabledit-input').addClass('class-for-validation');


Added 'IS_PROD' flag

Added 'IS_PROD' flag to indicate whether the running environment is production or not. Resolves #1700.
Now it's easier to run 'debug-only' or 'production-only' functionality in the TypeScript code just by checking this flag.

really nice, was searching for this yesterday 😂

Or you can use it like this:
if (process.env.ENV === 'production') {
  console.log('Do some magic in prod build');
}

@bartholomej, IMHO, relying on hard-coded strings (the 'production' in this case) isn't a good practice. Therefore, a variable would come in handy (the name of the variable can be even more verbose, e.g. IS_PRODUCTION).

This functionality already exists. As @bartholomej has pointed out. process.env.ENV is less likely to collide with other variables than IS_PROD. Understand that the DefinePlugin performs a search and replace. So longer more unique identifiers are preferred.


Missing parent: [GO term] CAT tailing

GO term ID and label for which you request a new superclass
CAT tailing (GO:0140708)

New superclass (parent) suggested
add parent 	GO:0072344	rescue of stalled ribosome

Reference(s), if appropriate
The C-terminal elongation of 60S-anchored stalled nascent polypeptide chains with untemplated alanine and threonine tails (CAT tails). CAT tails participate in the recognition of stalled nascent chains by the ribosome quality control sytem. PMID:25554787 PMID:32934225

part_of rescue of stalled ribosome? (is_a seems an overstatement)

This is already 'part of' some 'ribosome-associated ubiquitin-dependent protein catabolic process' - these two terms seems redundant?


Poor HD Celeb cropping

I am using your code, I have done each step as specified but images produced are just stretched and noisy.

@mabdullahrafique  What command did you use?

What exactly is this stretch mark?

I meet the same issue that the face don't located in the image center.
I use the command "python align_kwai.py --img_dir ./ -crop_size_h 512 --crop_size_w 512 --order 4 --save_format jpg --n_worker 32"
@LynnHo

I meet the same issue that the face don't located in the image center.
I use the command "python align_kwai.py --img_dir ./ -crop_size_h 512 --crop_size_w 512 --order 4 --save_format jpg --n_worker 32"
@LynnHo

@ZYzhouya did you totally follow the README steps?

@ZYzhouya did you totally follow the README steps?


nixos/s3fs-fuse: init

Description of changes

This pull requests adds the module services.s3fs-fuse.
It is a systemd service based on the s3fs-fuse package.
The service configuration was inspired by a discourse discussion a couple years ago.
This module has been tested on my local system.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Haven't been doing much nixpkgs work lately, sorry. Maybe post on the discourse thread?
Copy paste from previous module PR, I think I'd like to review smaller ones at the moment.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1260

Haven't been doing much nixpkgs work lately, sorry. Maybe post on the discourse thread?
Copy paste from previous module PR, I think I'd like to review smaller ones at the moment.

Sorry, I didn't know, you came up as a suggested reviewer and I am not sure who to request reviews from. I have posted in the discourse and hope someone can review it, thanks for the link to the thread :)

Thanks for reviewing Sandro

Please follow the contributing guide when naming your commits.
Especially this should be a PR with one commit.


Python setup.py bdist_wheel broken

Description
Python package built with the scripts included in this repository is not functional. The libmxnet.so is not installed to the same place as with our Pypi packages.
It will be copied to mxnet/libmxnet.so  instead of lib/python3.8/site-packages/mxnet/libmxnet.so
It seems the destination path of package data is not set up correctly (cf https://www.python.org/dev/peps/pep-0427/#installing-a-wheel-distribution-1-0-py32-none-any-whl).
Error Message
RuntimeError: Cannot find the MXNet library.
To Reproduce
Steps to reproduce

git clone https://github.com/apache/incubator-mxnet/ mxnet; cd mxnet; git checkout v1.6.x; git submodule update --init --recursive
mkdir build; cd build; cmake -DUSE_CUDA=1 -DUSE_MKLDNN=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DBUILD_CYTHON_MODULES=1 ..
cd ..
pip install wheel
./tools/staticbuild/build_wheel.sh

Alternative, use my version:
pip install --user https://lllausen-data.s3.amazonaws.com/mxnet-1.6.0-py3-none-any.whl
Environment
MXNet 1.6 release branch.

CC @lanking520 @szha @zachgk @marcoabreu
Is there any public version of the scripts used for building the pypi release?

You should use tools/staticbuild/build_lib.sh for building the mxnet library. Refer to tools/staticbuild/README.md

This is unrelated to using tools/staticbuild/build_lib.sh for building the mxnet library. The point is that the libmxnet.so is not placed correctly into the wheel by setup.py bdist_wheel (which is run as part of tools/staticbuild/README.md). It seems there's some missing step in the public version of the scripts. Nevertheless I confirm that the bug is still present when following tools/staticbuild/README.md step-by-step.
Installing the released mxnet version from pypi yields:
/home/ubuntu/.local/lib/python3.8/site-packages/mxnet/libmxnet.so
Installing the version built with the scripts yields:
/home/ubuntu/.local/mxnet/libmxnet.so

I think you also had to replace python/setup.py with tools/pip/setup.py

Thanks @zachgk. Actually it seems we have to copy all contents of tools/pip to the folder that contains the mxnet git repository. For example, if mxnet is at ~/src/mxnet, then run cp -R ~/src/mxnet/tools/pip/* ~/src/; cd ~/src; python setup.py bdist_wheel. So the tools/staticbuild/build_wheel.sh is broken.
I'll open a PR to add documentation and maybe fix the scripts.
Besides, the scripts currently presume libgfortran.so.3. But on Ubuntu 18.04 and newer, we have libgfortran.so.4. So I'll update the scripts to support both.

The same question. Have you built the mxnet==1.6.0 manually successfully?

Yes. The description in https://github.com/apache/incubator-mxnet/issues/16933#issuecomment-561461776 should be sufficient to build the wheel.
If you're on a system with libgfortran.so.4, you simply have to replace any reference to libgfortran.so.3 in the tools/staticbuild folder with libgfortran.so.4.
Did you meet any problem? If you can create a PR to improve the script and Readme that would be great.

@leezu Wanna ask can I run build.sh on centos or ubuntu only?

@hkvision CMAKE_STATICBUILD=1 ./tools/staticbuild/build.sh cpu is also supported on OS X.

@leezu Thanks.
Another question is that when I run build.sh once and encounter failures, is there any flag to skip the successfully downloaded and built packages? If I don't delete the folder staticdeps, the program always asks me to keep/rename/... every single file on that folder... If I delete the folder, everything needs to be re-downloaded and it is time consuming.
Thanks so much!

@hkvision it will skip compiling the dependency iff it was compiled successfully before.
A PR to improve the situation in case of failure to compile dependency is of course welcome
As a workaround, I suggest you set up ccache on your machine, in which case recompilation amounts to cache lookups.

always asks me to keep/rename/... every single file on that folder
There should be an option "Overwrite All", usually invoked with "A" key.


Possible bug halting scan method when holding references to entries.

I know the library has the intention to be lock free. Now, this could be considered my doing and the library doesn't cover this.
Describe issue: The issue is when I hold a reference of an occupied entry in code that hasn't been dropped by the compiler. Whilst scanning the full entry using scan() method will block, because the reference to occupied entry hasn't dropped yet. I have published the code beneath. I didn't know until I dropped the issue as to my previous experience working with regular HashMap from std library.
I think this could be a possible bug or if it's just something that the library doesn't cover.
`
use scc::HashMap;
use std::sync::Arc;
#[derive(Clone, Debug)]
struct EntryMf {
key: u32,
value: String,
}
struct Person {
name: String,
todos: Arc<HashMap<u32, EntryMf>>,
}
impl Person {
fn new(name: String) -> Self {
Self {
name,
todos: Arc::new(HashMap::new()),
}
}
async fn add_todo(&self, id: u32, todo: String) {
let amount_tasks = 10;
let mut tasks = vec![];
for i in 0..amount_tasks {
let todo = todo.clone();
let id = id + i;
let todos = self.todos.clone();
tasks.push(tokio::spawn(async move {
todos
.insert(
id,
EntryMf {
key: id,
value: todo,
},
)
.unwrap();
println!("Added todo: {}", id);
}));
}
for task in tasks {
task.await.unwrap();
}
    // Mutate the 2nd element
    let mut retrieve_mut_slice = self.todos.get(&2).unwrap();
    println!("Mutating 2nd element");
    retrieve_mut_slice.get_mut().value = "Mutated".to_string();
    // drop(retrieve_mut_slice); //Uncommenting this will make the code work
    println!("Mutated 2nd element");
    println!("COunt of elements: {}", self.todos.len());
    let mut values: Vec<EntryMf> = vec![];
    let all_values = self.todos.scan(|_, v| {
        println!("Value: {:?}", v);
        values.push(v.to_owned());
    });
    println!("Map: {:?}", all_values);
}

}
#[tokio::main]
async fn main() {
let person = Person::new("John".to_string());
person.add_todo(1, "Buy milk".to_string()).await;
}
`

For some reason even with code highlighting github doesn't mark it...

Hi!
It’s by design that scc::HashMap is not lock-free as documented. scc::HashIndex provides several lock-free read methods, so I’d advise you use scc::HashIndex if iterating over entries is frequent.

Hi there,
Yes, which is true I saw it on docs.rs just yet. Unfortunately, I require mutability a lot of time during the course of this project I am working on. So, I think it's best if I use scoped {} for this so rust knows when to drop the variable.
I wouldn't possibly know how to else utilize parallel reading with mutability. As those methods for HashIndex are rendered unsafe. It's a websocket based tracker that uses a hashmap now SCC hashmap as it's storage in the upcoming version of it. If u have any tips that would be nice.
Operations are done as followed:
Insert & remove (usually).
Read (a lot of them, since it communicated with another service that sends message so it's being read and written from anywhere.) Now I use a standard HashMAP.
Updating existing values inside key by getting a mutable reference (which is ideal rather than reinserting the existing key)

Hi again!
It looks like that you need reading data while others are maybe modifying it; which is strictly prohibited by Rust if not protecting it with a mutex or the like. That’s why those HashIndex methods are marked unsafe.
If you are sure that the data is safe to read while being modified, then you can consider using scc::HashIndex<K, Arc>, getting mutable references of V using unsafe Arc methods like get_mut_unchecked.

I didn’t implement them because I thought that they were primarily needed for value modification. However, I have just realized that they can be used to maintain ownership of certain entries in the code.
-> I’ll add them when I have time; unfortunately, I’m super busy these days…
Until then, you can try HashMap<K, ()> since HashSet is merely an alias of it.

True, in the meanwhile I’ll fork this repo and implement it and push so u can see if the implementations are worth it. Is it possible for me to add a values() and keys() to Hashmap? Given that u said no iterators this kinda comes close to it. It isn’t an iterator per say just a cloned vector at this point.

Not sure if values() and keys() returning a Vec make sense since the same can be simply implemented using the scan method; I’d recommend that you implement those method outside this crate, e.g., as a helper function. On the other hand, you are welcome to implement the Entry API on your own and make a PR :-)

If you’re so busy, I’ll fork it make a PR and let u go over the changes. If I’m gonna do it, I’ll do it correct this instance and see how it works out. Helper functions sound nice but if I can integrate it into the library + finish some of the hashset methods that’d be great.


Add crew mode

Add crew mode. Adds the following commands:
!joincrewa
!joincrewb
!cb [crew] [stock] (this one actually already exists)
!smash mode cb (this one actually already exists)

Behavior for !win, !lose, !skip, !info, possibly !list will need to change as well. Details pending.

http://www.ssbwiki.com/Crew_battle describes the crew battle format

Okay let me summarize what we're looking at so far based on conversations with @Xiocious:
!newcrew apples -- creates a new crew called apples. The issuing user is the crew leader. This fails if the user is already in a crew, or if that crew already exists, or if the user is not indexed
!crewinvite joebob -- invites joebob to the issueing users crew. This fails if the issuing user is not a crew leader, or if joebob is not indexed
!joincrew apples -- adds the issuing user to a crew called apples. This fails if the user is already in a crew, or if apples does not exist, or if the user has not been invited
!transfercrew joebob -- makes the joebob the crew leader of the crew that the issuing user is the crew leader of. This fails if joebob is not in the crew, or if the issuing user is not a crew leader
!disbandcrew -- removes the crew that the issuing user is crew leader of. This fails if the issuing user is not a crew leader
!leavecrew -- removes the issuing user from his crew. This fails if the issuing user is a crew leader or is not in a crew
!smash startcrew apples oranges -- starts a crew battle between apples and oranges
!enter -- In crew mode this adds the issuing user to the crew's fight queue. This fails if the user is not in a crew, or is already in the queue(?)

We'll also need a new command for recording match results.


Maybe a misuse of plan_err

Describe the bug
https://github.com/apache/arrow-datafusion/blob/37d6bf08c948418fe6c72d072d988c2875d81e02/datafusion/physical-expr/src/sort_expr.rs#L64-L73
This function (PhysicalSortExpr::evaluate_to_sort_column()) is in the execution phase. Errors at this stage should be exec_err! rather than plan_err!, right?
I also see other places have similar behavior and open this ticket to confirm. I'll submit a patch to change them if so.
To Reproduce
No response
Expected behavior
No response
Additional context
No response

I agree this would be better as a execution_error


Fix a race condition by checking the presence of partitions

Wait for partitions to appear in /dev
Make sure they are block devices before running mkfs

This could fix #120 as I suspect mkfs was creating an OST as a file in /dev/ (before the partition appeared) and that caused persistent problems with those block devices. This may also be what we were seeing in #119 if the file system was actually on these "files" (not block devices) in /dev. At least, I haven't seen these issues since applying this fix.

This may need some more thought, as I just witnessed this:
brw-rw---- 1 root disk       259, 16 Jan 14 14:53 /dev/nvme7n1
-rw-r--r-- 1 root root<PHONE_NUMBER>240 Jan 14 13:55 /dev/nvme7n1p2

So something is still able to create an OST there (in /dev not on the block device) despite the "wait_for" and "test" clause before running mkfs.lustre.


Tree error from callstack

Testing https://github.com/Microsoft/vscode/issues/64003

Start debugging, pause
Focus a call stack frame
Press space
Data tree node not found: fulfilled ...

This is coming from the tree. And is happening if you press space on any tree, not just the call stack.
Forwarding to @joaomoreno
@roblourens great catch


Need to extract all attachments

Feature request:
Allow passing * to allow for all attachments not just int value

Good idea. I reviewed your pull request.

Good idea. I reviewed your pull request.

added in version 1.0.2 see commit 82977e719005bd50bd5f8773861e3e9ef162fc53


Max Grade

Record the highest scoring submission in the grade book instead of the latest submission.
[Optional] Possibly add an option at the course level for instructors who do want the latest submission to be graded.

Also, include an option to the export gradebook function to dump all submission grades (temp workaround but could be helpful for statistics)


Upgrade package and examples to latest 0.19 binaries

Hi! I've been using this package for a while and I've found it very helpful. With the pending release, I'm trying to help the dependencies for my project stay up to date. I hope this can help in some way!
The only change that interrupts this package is the removal of the Keyboard package. The new suggestion is to write it all individually. ohanhi has a nice package for it, but I just wrote the one function that we needed. The keyCode property is also deprecated now and I haven't dealt with it in this PR.
If it all looks good, the next steps would just be the bump and release process to get it to the alpha package site.

The author of this package was unavailable for quite a while. We at our company have done a fork and going to maintain it. The support fo 0.19 is coming soon. I'll update here with details.

We have moved it to GitHub and Elm package


Multi features to single

Hello,
I've been exploring your codebase and trying to comprehend how inter-relationships between features are leveraged to predict a singular output. However, my current understanding suggests that each feature is predicted independently from one another. Could you please provide clarification if my interpretation is incorrect?
Thank you for your assistance!

Hi, good question.
For most of the methods (except PatchTST and DLinear), they adopt a value embedding layer to project the multiple variates into deep features. During this process, all the variates will interact with each other.
For Crossformer, it adopts a specially designed cross-attention to communicate multiple variates.


Default HTML templates don't have links to JSON representation

After implementing #25 it will be possible to control the content-type of each resource in the api with a query parameter. It would be nice if the default HTML templates used by hakunapi would include a link to the JSON representation of the current resource. This is pretty common functionality in an OGC API Features implementation.

Implemented in #54 and included in release 1.1.0


Implemented in latest release

Implemented in latest release
Originally posted by @Ehesp in https://github.com/FirebaseExtended/flutterfire/issues/1942#issuecomment-677526783
not working for me, there is a constant recaptcha logo, that i an not able to remove

Hi @gauravmehta13
When opening an issue, please try to provide all of the information indicated in the template.
Closing this issue, since no information has been provided.
Thank you.


[Tests] add tests for StringCaseUtils

There are also kotlin compiler warnings on StringCaseUtils, which should be fixed too.


Action before Commit Message submitted caused lost of an entire commit source files.

While using the GitLens within Visual Studio Code, the code changes were being committed. Using the GUI, I entered a message in the window that popped up for the commit message. During that dialog I selected an uwanted SVG and clicked discard.

GitLens doesn't provide commit features -- they are provided by VS Code itself. So please open an issue there, especially if you can reproduce that issue.


class tab-selection needs some styling

We want to create a tab like style for the editing of the profile in different languages.
It is already working but we need a userfriendly styling that indicates "these are tabs, if you  can click, the corresponding part gets visible"
the class is applied here: views/shared/_profile_formfields.html.erb
#495

probabaly some inspiration here: https://css-tricks.com/better-tabs-with-round-out-borders/

in future - if we work on #496 it should look like this:


Rename {UV,MV}Polynomial to Dense{UV/MV}Polynomial

Description
needed due to https://github.com/arkworks-rs/algebra/pull/412

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[ ] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer

closed in https://github.com/arkworks-rs/poly-commit/pull/104


Add LICENSE to project

Hi there,
Thanks for providing a good implemetation of KCP for .NET!
Are you able to add a license to the project so that people can use it? By default a repository without a license is not usable without risk of legal action etc.
KCP is MIT licensed so it would be nice to follow suit, but obviously that is your choice!
Jamie

Thank you for your reminder. commit: 4d39631cffff8eb3a5678aaf6ad2630950f8302c

Much appreciated!


Add Eclipse

Add Eclipse cheat sheet to the editors section. Covers Eclipse 3.x and 4.x.

Good Job 👍


Get a specific public signature key

JWT tokens specify in the header the identifier of the key (kid) used to sign the payload. I want to be able to get the key easily, e.g. via a single method call.

Implemented as OpenIdDiscovery.get_key() method


Fix PLE1205

https://docs.astral.sh/ruff/rules/logging-too-many-args/

Please, rebase this branch.


fix: make ClientStorage generic for type-safety

Description
This is a minor and self-contained bit of cleanup that adds a generic to our ClientStorage class so we have a little more assurance of what we're getting out of it and can get rid of a few "any" type annotations.
In draft because it needs to be rebased on main once my other client-side type thing is merged; there really are only about 5-6 files being changed here, but that one needs to get in first.
Task Item
#minor

Coverage increased (+0.07%) to 54.581% when pulling a29f3d998f60492836e47782c7ce01bd13bab30c on beyackle/types_clientStorage into da63bc98db8ea8be00a96cb4c233365eae24e44d on main.

Rebasing turned this into a mess; I'll close and redo it (it definitely is not 71 files worth of change).


Retry GCE environment check for Application Default Credentials

Adapt fix from Apiary client libraries. Currently untested.
Addresses #109.

LGTM

When is the next scheduled release so that Apache Beam can incorporate these fixes?

This is the only update since the last release, but I wouldn't mind doing another. @lesv do you have any objection?


Gommitizen Hooks (similiar to git hooks)

Based on this .version.json example:
{
  "version": "1.1.0",
  "commit": "782e6159da012881298a09ce3f135854fbb0bcf7",
  "version_files": [
    "Chart.yaml:version"
  ],
  "tag_prefix": "prj1",
  "hooks": {
    "pre-commit": "echo 'pre-commit hook'",
    "post-commit": "echo 'post-commit hook'",
    "pre-bump": "echo 'pre-push hook'",
    "post-bump": "echo 'post-push hook'"
  }
}

Code function to manage the execution of script given by the hooks pre-commit, post-commit, pre-bump, post-bump. Currently, these four are on target.

Commit host will be delegated to git hooks. We are going to manage next hooks:
    "pre-bump": "echo 'pre-push hook'",
    "post-bump": "echo 'post-push hook'",
    "pre-changelog": "echo 'pre-changelog hook'",
    "post-changelog": "echo 'post-changelog hook'"


Disable spotify installation in install scripts

I focused on buster installation.
The stretch installation changes were only a quick fix.
Not tested yet.
Have no time for that right now. Can someone test it?

As #2064 is around the corner, I think we could close this PR, @Groovylein ?

Obsolete with implementation of #2315


Instruction to compute random linear combinations

Describe your changes
This PR addresses #869.
Checklist before requesting a review

Repo forked and branch created from next according to naming convention.
Commit messages and codestyle follow conventions.
Relevant issues are linked in the PR description.
Tests added for new functionality.
Documentation/comments updated according to changes.

@Al-Kindi-0 is this still being worked on?

We can probably close it now. Half of it is already integrated into the VM, the other half is to be decided once we finish the work on the virtual bus PRs.


Legion spy and legion disagree on cases where partition disjointness can be detected dynamically

I re-ran the randomized tests with the restriction that all region requirements have exclusive coherence and read write access. The number of errors reported by legion spy actually increased slightly over the tests with random privileges and coherences.
After looking through the tests for a simple case and presenting it to Sean, Wonchan, and Elliot it seems that the problem is that legion can dynamically detect when 2 partitions of an index space are disjoint, but legion spy does not realize this. I have attached a simple case that legion spy reports an error on when 2 partitions of the top level index space are disjoint, but which legion spy and legion agree on when the 2 partitions are overlapping.
Below is a link to a gist containing a (somewhat) simple test case and a fixed version of the same case:
https://gist.github.com/dillonhuff/19c4f57a73b1fc4a8c02

Assigning to Mike first.  The consensus here was that Mike should add a legion spy logging call for when
dynamic disjointness is detected, and then Wonchan should make legion spy do the right thing with that info.

Dynamic independence tests should be off when the runtime is compiled for Legion Spy:
https://github.com/StanfordLegion/legion/blob/master/runtime/legion/runtime.cc#L14778-L14784
Can you confirm that the dynamic tests are actually happening?  Once we understand how that is occurring, then I'll be happy to add in the logging calls later.  @magnatelee do you have any preferences for what they look like since you'll have to parse them?

We were able to change whether not the HLR reported a dependence between the two tasks by only changing the ranges that were colored in the two separate partitions of the parent region, so it seems like that boolean there isn't controlling everything it should be?

There are only two places where dynamic disjointness tests are performed.  Here they are and they are both guarded by the proper flag:
https://github.com/StanfordLegion/legion/blob/master/runtime/legion/region_tree.cc#L5683-L5684
https://github.com/StanfordLegion/legion/blob/master/runtime/legion/region_tree.cc#L6914-L6915
Can you guys run in a debugger and see if you are hitting either of those cases?  The only way that we could not be setting this flag properly would be if there was a race of the static initializer with the value being set when the runtime starts.

I don't have any preference but you can just print logs like 'Mapping Independence  <prev_op_id> <next_op_id>', assuming that the independence is implied by no dependence between any pairs of region requirements of the two tasks.

actually, sean and I just agree that the independence statement should be between two regions, not between two tasks. So, the syntax would be something like 'Mapping Independence [ctx] [prev_op_id] [prev_idx] [next_op_id] [next_idx]'.

When I run case7.cc on my local machine it passes just fine.  When I run in a debugger I'm not hitting either of the dynamic independence tests as long as I compile with -DLEGION_SPY.  My guess is that the start-up race with the static initializer and setting the value to false in the start-up of the runtime is going to be source of the problem, but it would be good for you guys to confirm that.
In terms of the logging statements, I was thinking more along the lines of reporting the actual results of the dynamic non-interference tests, so something along the lines of
'Dynamic Region Independence [index_space_name1] [index_space_name2]'
'Dynamic Partition Independence [index_partition_name1] [index_partition_name2]'
And then letting Legion Spy use that information as part of its analysis.

Dillon, can you double-check which branch/commit you're on, and if it's not a very recent version of master, try again with that?

This was my bad. The failure occurs on stable, not master. I just re-ran
the tests (with only READ_WRITE permissions and EXCLUSIVE coherence) and
the error does not occur with the version of master from Tuesday.
On Thu, Oct 8, 2015 at 4:18 PM, streichler<EMAIL_ADDRESS>wrote:

Dillon, can you double-check which branch/commit you're on, and if it's
not a very recent version of master, try again with that?
—
Reply to this email directly or view it on GitHub
https://github.com/StanfordLegion/legion/issues/68#issuecomment-146713949
.

Keep the bug open so we know we still need to add dynamic independence check support for Legion Spy.

I added support for logging the results of the dynamic independence tests here:
https://github.com/StanfordLegion/legion/blob/master/runtime/legion/legion_spy.h#L108-L120
Reassigning to Dillon and Wonchan to update Legion Spy to use the results of the dynamic independence tests in Legion Spy.  Once you guys have added support to Legion Spy, you can remove the switch that disables the dynamic independence tests for Legion Spy (below) and close the issue.
https://github.com/StanfordLegion/legion/blob/master/runtime/legion/runtime.cc#L14778-L14784


Polling

Added ability to poll endpoint on a per query basis
Per #145
Docs:
One way to create a reactive-esque query is to use polling. Apollo accepts a pollInterval on the WatchQueryOptions which is the interval that a forced refetch will be called.
const handle = client.watchQuery({
  query: `
    query getCategory($categoryId: Int!) {
      category(id: $categoryId) {
        name
        color
      }
    }
  `,
  variables: {
    categoryId: 5,
  },
  forceFetch: false,
  returnPartialData: true,
  pollInterval: 1000, // ms to poll
});

Some cases may call for the ability to dynamically stop or start a polling interval on an existing query. The subscription handle returned by handle.subscribe() includes stopPolling and startPolling methods. These can be used like so:

const handle = client.watchQuery({
  query: `
    query getCategory($categoryId: Int!) {
      category(id: $categoryId) {
        name
        color
      }
    }
  `,
  variables: {
    categoryId: 5,
  },
  forceFetch: false,
  returnPartialData: true,
});

const subscription = handle.subscribe();

subscription.startPolling(50) // 50 ms poll starting
subscription.stopPolling() // stop polling

Docs PR: https://github.com/apollostack/docs/pull/53

@stubailo I think this should be good to. I'll open a PR on the docs as well

@martijnwalraven @Urigo one thing I'm not sure about - should these helper functions be on the subscription handle, or the observable itself? It's a bit odd that refetch or startPolling will actually affect all subscribers, but the function is on the handle.. although it would be inconvenient to have to pass around two objects everywhere.

Filed a followup issue, this looks amazing though!

https://github.com/apollostack/apollo-client/issues/164


image preview don't support webp

MarkdownString cannot render webp image · Issue #144188 · microsoft/vscode

it will release in mext vscode version.


Connection hangs with incorrect credentials

When you set up a HttpClientFactoryBean with a username and password, if the username / password combination is incorrect then the client will hang (infinite loop in HttpClient) when trying to access a document instead of throwing out the 401 Unauthorized HTTP status.
Obviously in a properties file this is an unrecoverable application config error, however we want to use the basic authentication that is inbuilt in couchdb and hence wish to attempt to gain access to a document using HttpClientFactoryBean  to build a client using the users credentials from a logon form.. if the user supplies the wrong password this will hang in an infinite loop.

Actually, this is a bug with the HTTPClient library from apache, if the log level is not warnEnabled then the authentication exception catch block will not return. Anyway, I will raise an issue over at Apache.
Cheers,
Marcus.


Use "remove" instead of trashcan icon in enumerator view

User feedback from testing:

the trash can for removing enumerated entities isn't very obvious, should probably use a word e.g. "remove"

We should change that trash-can button to say "Remove", or at least have the trash can icon plus the word "Remove".

Closed by #1182


Provide better API access to the preprocessor

Currently, invocation of the RDL preprocessor is only officially supported via RDLCompiler.compile_file(), and there is no way to access the intermediate preprocessed text.
Add an officially supported method to invoke the preprocessor on its own without compiling:

Add an API method to only preprocess a file and access the preprocessed text
Provide a way to get a list of included files that were loaded during preprocessing. Users may want to build Makefile dependency graphs (like GCC's -M preprocessor flag)

Implemented in v1.20.0


Interface Repo Constantly Updating

Core showing these logs repeating constantly
level=DEBUG  time=2021-05-07T05:11:11Z source=place_os.resource message="resource event" type=PlaceOS::Model::Repository handler=PlaceOS::Core::Cloning action=Updated id=repo-H1lChX9WlNd
level=DEBUG  time=2021-05-07T05:11:11Z source=place_os.resource message="processing event" type=PlaceOS::Model::Repository handler=PlaceOS::Core::Cloning action=Updated id=repo-H1lChX9WlNd
level=INFO   time=2021-05-07T05:11:11Z source=place_os.resource message="processing skipped" type=PlaceOS::Model::Repository handler=PlaceOS::Core::Cloning action=Updated id=repo-H1lChX9WlNd

Repo page always showing Updated: Less than a minute ago

Closed by #22


Should aggregate_parameters include total population in the denominator?

Hi folks,
I have posted this issue because I think this is potentially a case of semantics creeping into the syntax.
In second-order mass balance equations, the semantics of infection are as follows:
$$S + I \xrightarrow{\beta} I + I$$
implies
$$\frac{dI}{dt} = \beta\frac{[S]\cdot[I]}{[S] + [I] + [R]}$$
where $[S] + [I] + [R]$ is the total population.
However, when running aggregate_parameters, it combines both the total population and the rate parameter into one aggregated parameter:  $\theta_{mira} = \frac{\beta}{[S]+[I]+[R]}$
Thus when applying the semantics of second-order mass balance, we end up dividing by the total population twice.
$$\frac{dI}{dt} = \theta_{mira}\frac{[S]\cdot[I]}{[S] + [I] + [R]}$$
Should we change the semantics of aggregate_parameters or change the semantics of second order equations?

For more information see https://github.com/ciemss/pyciemss/issues/160

I now notice that the rate law in my biomodel template is different from the rate law in the current biomodel  template:
From: https://github.com/indralab/mira/blob/2ffd949814f8a97ad776dc46fe73c0239e58248d/notebooks/ensemble/BIOMD0000000960_template_model.json#L1-L11
From:
https://github.com/ciemss/pyciemss/blob/b15d214c188d84d02bc64793679c88fea2030da1/test/models/april_ensemble_demo/BIOMD0000000960_template_model.json#L1-L10
{
 "templates": [
  {
   "rate_law":  "Infectious*ModelValue_5*Susceptible*beta_1_USA/(ModelValue_135*ModelValue_5 + 11000000.0)",

   "type": "ControlledConversion",
   "controller": {
    "name": "Infectious",
    "identifiers": {
     "ido": "0000511"
    },

Yes, the issue I described still applies here.  aggregate_parameters unwittingly aggregates the total population into the parameter, thus we "double divide" by the total population in the ODE.

I'm still not sure I understand the issue. Assume we have a rate law of the form
$$\frac{dI}{dt} = \beta\frac{[S]\cdot[I]}{N}$$
and $N$ is considered a static parameter, MIRA's aggregate_parameters make this
$$\frac{dI}{dt} = p[S]\cdot[I]$$
with $p := \frac{\beta}{N}$.
I checked specifically the model you linked to, and aggregate_parameters turns
Infectious*Susceptible*beta_1_USA/Total_pop_USA

with
beta_1_USA  = 0.303
Total_pop_USA  = 328200000.0

into
Infectious*Susceptible*mira_param_0

with
mira_param_0 =  9.23e-10

which seems to be the correct replacement.

Hi @bgyori ,
We both agree that aggregate_parameters includes Total_pop_USA as a parameter.  The question is whether it should.  With some models, $\beta/N$ is the parameter associated with infection, and with other models (such as SIRD models), $N$ isn't a constant, so you need something like $\frac{\beta[S][I]}{[S] + [I] + [R]}$ (where $[D]$ is not part of the denominator).
So from a consistency perspective, I would argue that it shouldn't be part of the parameter.
Also from a dimensional analysis perspective, the rate parameter should have units of $\frac{1}{day}$, but if we divide by population, then the rate parameter has units of  $\frac{1}{day\cdot person}$.
Thus, to be consistent across units and models, I would argue that including the total population in an opaque aggregated parameter is problematic.  With that said, if units are provided, that might be enough of a hint to treat the parameter properly, but as it currently stands, the only reason we noticed was that the mira_param_0 was much smaller than the other rate parameters.
Theq

To clarify, MIRA will not aggregate the total population if it is not a constant. In the model above, Total_pop_USA is a constant parameter and therefore gets aggregated. If a model uses something like [S]+[I]+[R] in the denominator, it will not be aggregated.

@djinnome I have an idea: I could implement an argument to aggregate_parameters that allows you to exclude specific parameters from aggregation. It might behave like this:
Input:
$$dx/dt = alpha \cdot beta \cdot gamma \cdot x \cdot y$$
call
aggregate_parameters(exclude={'beta'})

Output:
$$dx/dt = mira\textunderscore param\textunderscore 0 \cdot beta \cdot x \cdot y$$
This would allow you to select specific parameters that you choose to keep explicitly. What do you think?

Neat idea! I like it!

@bgyori , now that we have custom rate laws (almost) implemented and merged in (see https://github.com/ciemss/pyciemss/pull/201) we're no longer planning on relying on the aggregate_parameters method. We're still using it for now for some light version of backwards compatibility, but I believe that shift makes this issue a lower priority from our perspective.


Create User Registration Page and Mechanism

User Requirement: 03.01.01
Description: Create user registration XML page and activity (or fragment?). Ensure functionality works i.e. able to correctly add a new account to a database. Make sure can't add an already existing account.
Story Points: 3
Related Issues: #43

After refining Issue #43, we have decided to close this issue. Registration functionality/mechanism will be done in a simple button onClick method.


Color Palette Style Helper

Based on the colors present in the dark themes and light themes of the onboarding feature
Create a Helper data structure / entity that

[ ] can represent color values
[ ] plays nice with Dark and Light Mode
[ ] can serve a single source of truth for our color palette
[ ] can be used neatly  like .foregroundColor(theme.color.strongTitle) and the right color value is resolved (you implement this as you see it fit)

Thought on using Xcassets here with SwiftGen to generate the colors file?  SwiftGen has historically been a popular tool for this kind of thing in the past.

+1 on @adamstener approach from me, seems to hit all requirements:

can represent color values

xcassets gives us "Color Sets" which allow us to name colors UIColor(named: "primary")

plays nice with Dark and Light Mode

"Color Sets" contain light + dark colours and will be the appropriate one depending  on the current theme.

can serve a single source of truth for our color palette

As long as we stick to this as a convention 😄

can be used neatly like .foregroundColor(theme.color.strongTitle) and the right color value is resolved (you implement this as you see it fit)

SwiftGen will generate these for us 👍.

That's exactly right.  Thanks for specifically calling out each point! 🙌

Awesome! Yeah let's use this


How to use my own datasets to train this model？

I have a dataset which contains aboout 300 pictures, how can I use my one datasets to train this model?
And How can I load the pre-trained model?

Have you solved it？Can you share the method?


[DevOps] Enable running benchmarks on reference hardware for weight generation

Requires @jacobmfoley assistance for infrastructure setup
Once reference hardware is decided we need to run our benchmarks on that hardware and update all the weights files.
Partially Blocked by #279
Expected

Working with DevOps to get the Reference Hardware Spun Up
"Somehow" Trigger updating the weights on a branch
Update runs weights on the reference hardware and commits back to the branch the updated weights
User can then merge branch

Acceptance Criteria

[ ] As a developer I should be able to request that the weights be run
[ ] As the repo, I should block merging until I must have the weights updated as the last commit if anything changes that might change the weight (rust files?)

Tasks

[x] Contact @jacobmfoley to obtain AWS security credentials
[x] Read Substrate material on benchmarking
[x] Set up local to run benchmarks
[x] Create a proposed solution diagram
[ ] Collect and implement feedback on diagram
[ ] Implement solution

Helpful Links

https://docs.substrate.io/main-docs/test/benchmark/
https://medium.com/oak-blockchain/tutorial-benchmarking-for-parity-substrate-pallet-development-9cb68bf87ea2

@demisx I think we can just go with manual kickoff for now. We could likely create a glob that could do it, but then we would end up triggering it a lot of extra times.

@demisx I think in general that looks good. I think the only thing I wonder is if it is worth blocking the dev branch from additional commits instead of just watching for additional commits and stopping the runner if it finds any. I think watching is better, but it might just be easiest to get up and running by not blocking or watching, but instead just fail out if when commit time comes if the head has changed.
PR blocking can happen via a Commit status API: https://docs.github.com/en/rest/commits/statuses

@demisx One other thing. We should likely limit the commit to just LibertyDSNP org members. That way we can run them on forked PRs, but others cannot trigger it.

Do you mean limit running benchmarks to the LibertyDSNP org members only? In other words, parse the commit and ignore /run-benchmarks slash command in it unless this commit comes from one of the members.

Correct.

Great point. If understand correctly, you mean we can utilize the GitHub concurrency group here and have GH cancel running actions if newer commits are pushed to the same ref.

I wasn't sure if this was going to get kicked off as a GitHub action, but it it does, then that would work.

@demisx I've avoided adding AWS credentials to Github Actions and have the goal of eliminating all static IAM users  all together.
If using actions is a requirement, we can run self hosted actions runners on the required instance sizes.
If not, there is a spot fleet of Jenkins slaves with rust installed with the label "benchmark" ready to run jobs.

@demisx Reference hardware is confirmed: #279

Benchmarks are working via manual trigger with Jenkins.
Looking into self-hosted runners for it eventually: https://github.com/LibertyDSNP/frequency/issues/609

https://github.com/LibertyDSNP/frequency/wiki/Benchmarking


Improve detection of C complex.h

The existing check didn't really work (but I've left it...). I think it's based on the quote:

POSIX recommends checking if the macro _Imaginary_I is defined to
identify imaginary number support.

My reading is that this is a way to determine if a special imaginary type exists, but only after including the header. Until you've included complex.h the macro won't be defined anyway.
From C11 there's a feature macro to determine if complex.h exists so I've used that as the main way of detecting it.
In principle this could be backported to 0.29.x, but I don't think it should be.

Fixes https://github.com/cython/cython/issues/2513

The bug in "complex_int_T446" - neither C or C++ directly support complex integer types (practically C++ will probably work because it's just a template, but it isn't required to by the standard). Therefore I think Cython has to use its own definition for these. That requires a little restructure of the utility code (which can happen, but not immediately)

Similarly for complex_extern_GH1433 the issue is
typedef npy_float64 _Complex __pyx_t_npy_float64_complex;

It doesn't look like you can create a complex typedef of a complex (both GCC and clang agree on this) so again this is likely to have to fall back on the Cython utility code version here.


Authentication Issue with running app

After updating the client-id, client-secret, and issuer-url I get the following error.
Identity Provider: Unknown
Error Code: invalid_request
Description: The 'redirect_uri' parameter must be an absolute URI that is whitelisted in the client app settings.
I followed the instructions in the related blog post to create the Web Application in Okta.  Can you please give me any other debugging tips?  I have this gut feeling I'm missing something in the Okta configuration.
Note:  If I run the app without modifying the application.yml file I don't get the above error; but I am obviously not able to log into my Application since it is pointing to your Okta application.

Make sure your app has the following redirect URI:
http://localhost:8080/login/oauth2/code/okta
You should be able to see the redirect URI it’s trying to use as a parameter in the URL.

On Aug 22, 2018, at 20:39, Chris Caspanello<EMAIL_ADDRESS>wrote:
After updating the client-id, client-secret, and issuer-url I get the following error.
Identity Provider: Unknown
Error Code: invalid_request
Description: The 'redirect_uri' parameter must be an absolute URI that is whitelisted in the client app settings.
I followed the instructions in the related blog post to create the Web Application in Okta. Can you please give me any other debugging tips? I have this gut feeling I'm missing something in the Okta configuration.
Note: If I run the app without modifying the application.yml file I don't get the above error; but I am obviously not able to log into my Application since it is pointing to your Okta application.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Using Bitmap.Config.RGB_565 in Fresco.initialize and Postprocessor

I'm using such code for initialize Fresco:
SimpleProgressiveJpegConfig jpegConfig = new SimpleProgressiveJpegConfig();
        ImagePipelineConfig config = OkHttpImagePipelineConfigFactory.newBuilder(context, new OkHttpClient())
                .setProgressiveJpegConfig(jpegConfig)
                .setBitmapsConfig(Bitmap.Config.RGB_565)
                .setResizeAndRotateEnabledForNetwork(true)
                .build();
        Fresco.initialize(context, config);

BlurPostprocessor using Bitmap.Config.ARGB_8888 and this parameter  is hardcoded.
As result if user using not default Bitmap.Config in initialize - BlurPostprocessor would not work.
I have not checked other Postprocessor.
As a solution add to BlurPostprocessor constructor Bitmap.Config as parameter.
Any info log would be very useful.

i have same problem ,and don't use setBimapsConfig ,it is work ,but use this how to work ,do you have way?


Wrong agdc-example.conf content

Hi AGDC Team,
Since some agdc configuration file sections and keys have changed, the agdc-example.conf file no longer suits.
I think it should be:
[DATABASE]
...
database = datacube
username = cube_admin
password = cube_admin
...

The agdc-example.conf file is part of the "non-API" codebase and is used by thing like the stacker and ingester.  The question of how we handle an AGDC "config" is going to come back to the decisions around how we package all the different components (ingest, API, etc) - i.e. are they one thing or multiple independent things.

The config information (for the API) has been moved out of the code.

The API will now look for a configuration file in the following places in the following order:
  1.  $AGDC_API_CONFIG
  2.  $HOME/.datacube/config

This should contain something like:
[DATABASE]
host: <hostname or ip address>
port: <5432 or 6432>
database: <datacube>
username: <cube_user>
password: <cube_user>
schemas: agdc, public, gis, topology

Merged into develop - now requires either a config file pointed at by $AGDC_API_CONFIG or $HOME/.datacube/config.


Write with multiple values in influxdb using HTTP API

For the below command i am getting "total" and "used" like a string with double quotes and i dont want quotes.
I am using 0.13.0 Version influxdb
Query:
curl -i -XPOST 'http://influxdb:8086/write?db=metrics' --data-binary 'cpu,hostname=localhost,total=100,used=10 free=90'
Output:
select * from cpu
time	                                                           Hostname         Total	   Used	Free
2016-08-29T18:05:06.515298566Z	     "localhost"	"100"   "10"      90
Desired Output:
select * from cpu
time	                                                           Hostname         Total	   Used	Free
2016-08-29T18:05:06.515298566Z	     "localhost"	100      10       90

Any key-value pairs before the space are considered to be tags. Any pairs after the space are values.
You need to write your data as
cpu,hostname=localhost total=100,used=10,free=90
See https://docs.influxdata.com/influxdb/v0.13/write_protocols/write_syntax/

I think the above documentation explains this very well. Thank you @dswarbrick.
@viswa-devops947 if you have any further questions, please take them to the mailing list. The issue tracker is only for features and bug reports. Thanks.


  Would either of you like to have the commit bit to review/verify/merge this?

Sorry for the super late reposen! I'll make sure to review and test this changes this week! 👌

@esbanarango no worries Esteban! You've been doing so much work here over the years, I was hoping to help you catch a break. <3<3<3

Hi! how can I update to latest bootswatch-rails 3.3.7? This project still active?

@carlosgomez2 would you like to work on verifying and merging this?


[HTML5] Fix WM notifications not being called.

Regression from the library refactoring, binding and not calling is pretty useless 'o_o.
Fixes #47417.

Thanks!

Cherry-picked for 3.3.


SSL certificate installation fails

SSL certificate installation fails when using the SslCertifcate configuration node as documented in the wiki. Looking at the code, the node name is actually SslCertifcates. Both names are spelled incorrectly as it should be either SslCertif**i**cate or SslCertif**i**cates.
Please fix the spelling and update the documentation.

Closing this issue. Fixed with release v2.0.0!


invalid object name 'mix_culture'

I download master branch, and run the code always getting error "invalid object name 'mix_culture'" when connect to MSSQL remote server

I download master branch, and run the code always getting error "invalid object name 'mix_culture'" when connect to MSSQL remote server

I have the same issue and after debugging its almost like the MSSQL Migrations don't run. Tables for Messenger and Account are created by non of the Cms tables.

I download master branch, and run the code always getting error "invalid object name 'mix_culture'" when connect to MSSQL remote server

I have the same issue and after debugging its almost like the MSSQL Migrations don't run. Tables for Messenger and Account are created by non of the Cms tables.

Hi @aimanhub , @tjansevanvuuren ,
Please use the latest commit here https://github.com/mixcore/mix.core/commit/a93b876695a4eb517015ceec45d6c1f8cb29b20c and let us know the status. All of the issues should be fixed with this latest version.
Cheers!

Hi @aimanhub , @tjansevanvuuren ,
Please use the latest commit here https://github.com/mixcore/mix.core/commit/a93b876695a4eb517015ceec45d6c1f8cb29b20c and let us know the status. All of the issues should be fixed with this latest version.
Cheers!

Good day,
The MSSQL issue has been resolved, there is a shared context issue that may become a problem where the context has changed instance and doesn’t release it.
From: Huy Nguyen<EMAIL_ADDRESS>Sent: Wednesday, 20 January 2021 20:05
To: mixcore/mix.core<EMAIL_ADDRESS>Cc: Theunis Janse van Vuuren<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [mixcore/mix.core] invalid object name 'mix_culture' (#312)
Hi @aimanhubhttps://github.com/aimanhub , @tjansevanvuurenhttps://github.com/tjansevanvuuren ,
Please use the latest commit here a93b876https://github.com/mixcore/mix.core/commit/a93b876695a4eb517015ceec45d6c1f8cb29b20c and let us know the status. All of the issues should be fixed with this latest version.
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mixcore/mix.core/issues/312#issuecomment-763830554, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARGX6QXSDIQ6NJZQ5BESHZDS24LLBANCNFSM4WGP5DGA.

Good day,
The MSSQL issue has been resolved, there is a shared context issue that may become a problem where the context has changed instance and doesn’t release it.
From: Huy Nguyen<EMAIL_ADDRESS>Sent: Wednesday, 20 January 2021 20:05
To: mixcore/mix.core<EMAIL_ADDRESS>Cc: Theunis Janse van Vuuren<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [mixcore/mix.core] invalid object name 'mix_culture' (#312)
Hi @aimanhubhttps://github.com/aimanhub , @tjansevanvuurenhttps://github.com/tjansevanvuuren ,
Please use the latest commit here a93b876https://github.com/mixcore/mix.core/commit/a93b876695a4eb517015ceec45d6c1f8cb29b20c and let us know the status. All of the issues should be fixed with this latest version.
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mixcore/mix.core/issues/312#issuecomment-763830554, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARGX6QXSDIQ6NJZQ5BESHZDS24LLBANCNFSM4WGP5DGA.


Compilation failed

Hi,
when I run sbt after doing all the steps in your README, I get the stacktrace as in screenshot:

Please advise,
Igor

You didn't add android-gradle-build into project/plugins.sbt
--
Sent from my phone
On Dec 3, 2015 9:23 PM, "Igor Ganapolsky"<EMAIL_ADDRESS>wrote:

Hi,
when I run sbt after doing all the steps in your README, I get the
stacktrace as in screenshot:
[image: screen shot 2015-12-04 at 12 21 07 am]
https://cloud.githubusercontent.com/assets/201209/11582468/3b3e5092-9a1d-11e5-9069-127f8ac04fa4.png
Please advise,
Igor
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/protify/issues/11.

Thanks for the nice repo.  @pfn @changetip $1.

Hi @pfn, @IgorGanapolsky sent you a tip worth 2,775 bits ($1.00), and I'm here to deliver it ➔ collect your tip.
Learn more about ChangeTip


Show private ip alongside public ip in droplets list

In tugboat version 2.0.1 when calling
tugboat droplets

The output does not show the private ip for all the droplets. Is there a way to enable this?

@aeneaswiener Yep, that was added in 9c66967ab33b42e9b01388946fb4015ff89aea9b, but I foolishly forgot to add a spec for it so there's been a regression since the switch to API 2.0!
I'll see if I can whip up a PR with fix and get a release out before the end of the week :+1:


can GPU run  the Aleo snarkOS?and how about the effect?

💥 Proposal

(Write your proposal here)

Closing as inactive; as far as I'm aware, there are still plans to release a CUDA implementation.


Add ability to use webbpsf PSF model

[ ] 1. Add support for using PSFs from the webbpsf package
[ ] 2. Support both webbpsf 1.2.1 (which was used for RomanDESC OpenUniverse sims) and webbpsf 1.3 (and future)

So we need oversampled PSFs:
https://github.com/Roman-Supernova-PIT/phrosty/issues/30
Seems like webbpsf can do oversampled PSFs: https://webbpsf.readthedocs.io/en/latest/api/webbpsf.Conf.html