Create pipeline-issue-report.md

This PR creates an issue template for pipeline editor or pipeline execution issue reports.
The issue collects information about the deployment and runtime environment and is automatically tagged with pipeline related tags that are already defined in this repository.
Closes https://github.com/elyra-ai/elyra/issues/1213
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

You can try the template in another repo without breaking anything

You can try the template in another repo without breaking anything

Incorporated the feedback. New preview -> https://github.com/ptitzler/issuetemplates/issues/new/choose

Incorporated the feedback. New preview -> https://github.com/ptitzler/issuetemplates/issues/new/choose


Font size

Font size for post content should be changeable in the settings

added in https://github.com/wp-net/WordPressUWP/commit/a1916e223bca13375e3e50e8c0702f3808dc5728


Healthcheck probes "hangs up" too fast

Hi,
In some circumstances, it looks like the healthcheck probe closes connection too quickly. Traefik-wise, this poses no problem as the 200 code is registered and the backend is set healthy. On the other side though, this triggers huge backtraces in our Spring-boot application, along the lines of:
Jul 19 11:53:52 leg-node4 stack_b_admin_3_1[1748]: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer
Jul 19 11:53:52 leg-node4 stack_b_admin_3_1[1748]: #011at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)
Jul 19 11:53:52 leg-node4 stack_b_admin_3_1[1748]: #011at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
Jul 19 11:53:52 leg-node4 stack_b_admin_3_1[1748]: #011at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
Jul 19 11:53:52 leg-node4 stack_b_admin_3_1[1748]: #011at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
Jul 19 11:53:52 leg-node4 stack_b_admin_3_1[1748]: #011at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)

Tcpdump of the conversation between traefik and the backend shows:

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Improve Insert Azure Resource Command

We still have an ask out for https://github.com/microsoft/vscode-azureresourcegroups/issues/139 but I was thinking about ways we could simplify the command. Right now users generally have to go all the way to the azure portal, navigate into their specific resource group, and find where the resource ID of that Azure resource lives.
Since we are leveraging the Azure SDK, there may be a better way.
Suggested flow:

The user selects Insert Resource Command
We ask which file with the active editor default to first choice (current behavior)
They are given an option of Enter value (current behavior) wherein they can paste the URL of the Azure Resource, or Search (new behavior).
If user selects "Search" we ask for Subscription (or if they only have one subscription we would skip)
We ask for resource group
Then we provide a drop down of the available resources (that are translatable to bicep) in their resource group
User selects a resource and BOOM, it gets pasted in the file they chose

investigate using resource groups extension w/ bicep


⚠ Jenkins Plugins Artifactory has degraded performance

In 035d109, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1217 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 3187cd5 after 46 minutes.


Release URL required but optional in docs

Hey there,
Thanks for providing this action with the pattern feature, it's an absolute life-saver!
I ran the following action: https://github.com/kunalnagar/encrypt0r/actions/runs/126946823
Notice how it says that the required-url is needed? In the README documentation for this action, it says that it's optional.
Maybe I'm missing something? Cheers!

If this release is triggered on a "release" event, the url can automatically be detected. However, if it is chained the release-url will need to be passed in from the previous steps.


Request

I am curating the Windows Subsystem for Linux topic and can I get a "Windows ❤ Linux" logo?
I need to add more content and I thought I should have an image as well
/cc @craigloewen-msft

We do not have an official logo for WSL, or any official logo of "Windows ♥ Linux" to provide you unfortunately! However, I think it would be very easy to make your own image for this effort using PowerPoint or Figma :)

Hey @craigloewen-msft
Can I use/get the Windows logo?

Sorry for bothering you 😅

I'm not the best subject matter expert here for that question, unfortunately the best I can do is link you to some online documentation for it! Use of Copyrighted content


[feat]: Create stepper component for unidirectional user flow

Feature description
Sometimes, when we have a complex flow that requires from us to split it into several steps to help the user understand on which step he/she is.
I wanted to use to breadcrumb but it is not the right component in the right context.
MUI has already implemented this component:

Affected component/components
No response
Additional Context
Additional details here...
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

https://github.com/damianricobelli/shadcn-stepper
You can check this...

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


router.push error Uncaught (in promise) RangeError: Maximum call stack size exceeded

Vue version
3.3.4
Link to minimal reproduction
test-qr.kalyonhost.com/
Steps to reproduce
When I log in, I get this error in the router.push command when I redirect to the panel component. What's this problem solutions?
What is expected?
When I log in, I get this error in the router.push command when I redirect to the panel component. What's this problem solutions?
What is actually happening?
When I log in, I get this error in the router.push command when I redirect to the panel component. What's this problem solutions?
System Info
No response
Any additional comments?
No response

Hey @kallavi, it looks like your link is not a minimal reproduction, could you provide one?


Single master server takes a long time to start up

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Report issues here. Ask questions here https://stackoverflow.com/questions/tagged/seaweedfs
Please ask questions in https://github.com/seaweedfs/seaweedfs/discussions
example of a good issue report:
https://github.com/seaweedfs/seaweedfs/issues/1005
example of a bad issue report:
https://github.com/seaweedfs/seaweedfs/issues/1008
Describe the bug
I would like to use seaweedfs for testing so the current startup speed is an issue for me. Starting the master server on a single node takes quite a long time (~20s). For example:
$ mkdir tmp
$ weed master -mdir $(readlink -f tmp) -ip localhost -port 9333
I0314 11:41:10.886451 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0314 11:41:10.887853 master.go:268 current: localhost:9333 peers:
I0314 11:41:10.887920 master_server.go:127 Volume Size Limit is 30000 MB
I0314 11:41:10.888133 master.go:149 Start Seaweed Master 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 at localhost:9333
I0314 11:41:10.888407 raft_server.go:119 Starting RaftServer with localhost:9333
I0314 11:41:10.903295 raft_server.go:168 current cluster leader:
I0314 11:41:28.904858 master_server.go:215 [localhost:9333]  - is the leader.
W0314 11:41:28.905130 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.master failed: pemfile: at least one credential file needs to be specified
I0314 11:41:28.907455 master.go:200 Start Seaweed Master 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 grpc server at localhost:19333
I0314 11:41:30.408553 masterclient.go:155 No existing leader found!
I0314 11:41:30.408613 raft_server.go:190 Initializing new cluster
I0314 11:41:30.408659 master_server.go:174 leader change event:  => localhost:9333
I0314 11:41:30.408689 master_server.go:177 [localhost:9333] localhost:9333 becomes leader.
I0314 11:41:33.911888 master_grpc_server.go:349 + client .master@localhost:9333

The startup process hangs for ~18s between 11:41:10.903295 and 11:41:28.904858. I had a quick dig through the code and it looks like it's something to do with the leader election and Raft. As far as I can tell there isn't a way to configure this startup timeout when running in a single node configuration.
System Setup

List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount".
weed master (see above)
OS version
Ubuntu 20.04
output of weed version
version 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 linux amd64
if using filer, show the content of filer.toml
N/A

Expected behavior
It would be great if there was a flag / configuration option to enable master server start up without waiting for leader election.
Screenshots
N/A see logs above.
Additional context
As mentioned above, I would love to use this in a testing environment for code that would usually hit a Cloud hosted blob/object store like AWS S3.

Using the hashicorp raft server makes things a bit better with the master being logged as up within 6 seconds, though it is still quite slow.
$ weed master -mdir $(readlink -f tmp) -ip localhost -port 9333 -raftHashicorp -electionTimeout 1s
I0314 11:55:32.318879 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0314 11:55:32.320291 master.go:268 current: localhost:9333 peers:
I0314 11:55:32.320435 master_server.go:127 Volume Size Limit is 30000 MB
I0314 11:55:32.321461 master.go:149 Start Seaweed Master 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 at localhost:9333
I0314 11:55:32.328770 master_server.go:215 Node at localhost:9333 [Follower]  - is the leader.
W0314 11:55:32.328913 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.master failed: pemfile: at least one credential file needs to be specified
I0314 11:55:32.330408 master.go:200 Start Seaweed Master 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 grpc server at localhost:19333
I0314 11:55:37.332711 masterclient.go:266 updateVidMap ignore short heartbeat: volume_location:{leader:"localhost:9333"}
I0314 11:55:37.332816 masterclient.go:223 .master masterClient failed to receive from localhost:9333: EOF
I0314 11:55:38.334761 master_grpc_server.go:349 + client .master@localhost:9333

However, when starting master, filer etc. with the s3 frontend when using Hashicorp Raft the result is similar to before. Start up takes 23s similar to starting the master with the default raft server:
$ weed server -ip localhost -dir $(readlink -f tmp) -master.raftHashicorp -s3
I0314 12:01:12.910926 master.go:268 current: localhost:9333 peers:
I0314 12:01:12.912405 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0314 12:01:12.912488 master.go:268 current: localhost:9333 peers:localhost:9333
I0314 12:01:12.912529 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0314 12:01:12.912562 master_server.go:127 Volume Size Limit is 30000 MB
I0314 12:01:12.912705 master.go:149 Start Seaweed Master 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 at localhost:9333
I0314 12:01:12.913003 raft_server.go:119 Starting RaftServer with localhost:9333
I0314 12:01:12.913295 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:12.915925 raft_server.go:168 current cluster leader:
I0314 12:01:14.704211 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:14.913601 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:15.914877 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:16.495969 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:16.915960 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:17.917751 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:18.287069 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:18.918604 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:19.920704 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:20.078987 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:20.921993 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:21.870047 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:21.922782 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:22.923460 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:23.660965 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:23.924845 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:24.925998 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:25.452901 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:25.927136 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:26.928412 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:27.244250 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:27.929685 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:28.930669 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:29.035506 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:29.931675 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:30.826697 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc e
rror: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connect: connection
refused"
I0314 12:01:30.918301 master_server.go:215 [localhost:9333]  - is the leader.
W0314 12:01:30.918642 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.master failed: pemfile: at least one credential file needs to be specified
I0314 12:01:30.921059 master.go:200 Start Seaweed Master 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 grpc server at localhost:19333
I0314 12:01:30.932820 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:31.933334 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:32.422346 masterclient.go:155 No existing leader found!
I0314 12:01:32.422398 raft_server.go:190 Initializing new cluster
I0314 12:01:32.422448 master_server.go:174 leader change event:  => localhost:9333
I0314 12:01:32.422487 master_server.go:177 [localhost:9333] localhost:9333 becomes leader.
I0314 12:01:32.618569 disk_location.go:226 Store started on dir: /home/stewart/tmp with 0 volumes max 8
I0314 12:01:32.618631 disk_location.go:229 Store started on dir: /home/stewart/tmp with 0 ec shards
W0314 12:01:32.618745 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.volume failed: pemfile: at least one credential file needs to be specified
I0314 12:01:32.618790 volume_grpc_client_to_master.go:52 Volume server start with seed master nodes: [localhost:9333]
I0314 12:01:32.618833 volume.go:369 Start Seaweed volume server 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 at localhost:8080
I0314 12:01:32.619734 volume_grpc_client_to_master.go:109 Heartbeat to: localhost:9333
I0314 12:01:32.620201 node.go:225 topo adds child DefaultDataCenter
I0314 12:01:32.620232 node.go:225 topo:DefaultDataCenter adds child DefaultRack
I0314 12:01:32.620239 node.go:225 topo:DefaultDataCenter:DefaultRack adds child localhost:8080
I0314 12:01:32.620245 node.go:225 topo:DefaultDataCenter:DefaultRack:localhost:8080 adds child
I0314 12:01:32.620249 master_grpc_server.go:138 added volume server 0: localhost:8080 [762c6f5d-83f0-4657-838a-df79a6d27fb5]
I0314 12:01:32.620255 master_grpc_server.go:49 found new uuid:localhost:8080 [762c6f5d-83f0-4657-838a-df79a6d27fb5] , map[localhost:8080:[762c6f5d-83f0-4657-838a-df79a6d27fb5]]
I0314 12:01:32.934783 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:33.935558 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:34.920628 filer_server.go:140 default to create filer store dir in /home/stewart/tmp/filerldb2
I0314 12:01:34.920974 leveldb2_store.go:42 filer store leveldb2 dir: /home/stewart/tmp/filerldb2
I0314 12:01:34.920996 file_util.go:23 Folder /home/stewart/tmp/filerldb2 Permission: -rwxr-xr-x
I0314 12:01:34.922076 master_grpc_server.go:349 + client .filer@localhost:8888
I0314 12:01:34.936914 s3.go:177 wait to connect to filer localhost:8888 grpc address localhost:18888
I0314 12:01:35.018501 filer.go:131 existing filer.store.id = -176173386
I0314 12:01:35.018526 configuration.go:28 configured filer store to leveldb2
I0314 12:01:35.019219 master_client.go:20 the cluster has 1 filer
I0314 12:01:35.023042 filer.go:272 Start Seaweed Filer 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 at localhost:8888
I0314 12:01:35.023132 meta_aggregator.go:97 loopSubscribeToOneFiler read localhost:8888 start from 2023-03-14 12:00:35.019253638 -0700 PDT<PHONE_NUMBER>019253638
W0314 12:01:35.023205 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.filer failed: pemfile: at least one credential file needs to be specified
I0314 12:01:35.024239 meta_aggregator.go:194 subscribing remote localhost:8888 meta change: 2023-03-14 12:00:35.019253638 -0700 PDT, clientId:1723497737
I0314 12:01:35.024803 filer_grpc_server_sub_meta.go:279 + listener filer:localhost:8888@<IP_ADDRESS>:53928
I0314 12:01:35.024826 filer_grpc_server_sub_meta.go:106  + filer:localhost:8888@<IP_ADDRESS>:53928 local subscribe / from 2023-03-14 12:00:35.019253638 -0700 PDT clientId:-1723497737
I0314 12:01:35.024835 filer_grpc_server_sub_meta.go:119 read on disk filer:localhost:8888@<IP_ADDRESS>:53928 local subscribe / from 2023-03-14 12:00:35.019253638 -0700 PDT
I0314 12:01:35.024853 filer_grpc_server_sub_meta.go:138 read in memory filer:localhost:8888@<IP_ADDRESS>:53928 local subscribe / from 2023-03-14 12:00:35.019253638 -0700 PDT
I0314 12:01:35.923002 master_grpc_server.go:349 + client .master@localhost:9333
I0314 12:01:35.923342 masterclient.go:245 + .master localhost:9333 leader:false
I0314 12:01:35.923409 masterclient.go:245 + .master localhost:9333 leader:false
I0314 12:01:35.937627 s3.go:173 S3 read filer buckets dir: /buckets
I0314 12:01:35.937676 s3.go:180 connected to filer localhost:8888 grpc address localhost:18888
W0314 12:01:35.938259 auth_credentials.go:87 fail to load config: read S3 config: filer: no entry is found in filer store
I0314 12:01:35.938757 s3api_circuit_breaker.go:40 s3 circuit breaker not configured: read S3 circuit breaker config: filer: no entry is found in filer store
W0314 12:01:35.940500 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.s3 failed: pemfile: at least one credential file needs to be specified
I0314 12:01:35.940552 s3.go:257 Start Seaweed S3 API Server 30GB 3.43 3227e4175e2bf8df2ac8aeeff8cf73a819abc5a7 at http port 8333
I0314 12:01:35.941254 filer_grpc_server_sub_meta.go:279 + listener s3@<IP_ADDRESS>:53938
I0314 12:01:35.941281 filer_grpc_server_sub_meta.go:34  s3@<IP_ADDRESS>:53938 starts to subscribe /etc/ from 2023-03-14 12:01:35.940376535 -0700 PDT

I've found that a good chunk of time is spent in Topology.Leader():
https://github.com/seaweedfs/seaweedfs/blob/2268d382637e6ff3ce19d4ea9cd76ffd9e05b67e/weed/topology/topology.go#L98-L112
when starting up a fresh master & raft server there is no leader so this leader check fails by waiting "5 + 0 + 5 + 1 + 5 + 2 = 18s" before timing out.

By contrast to starting the master with default flags which results in https://github.com/seaweedfs/seaweedfs/issues/4307#issuecomment-1468918149 , running with -raftHashicorp leader selection occurs almost immediately.
Oddly as observed in https://github.com/seaweedfs/seaweedfs/issues/4307#issuecomment-1468675157 running with the Hashicorp Raft server via the server command results in slow startup again.

Spent a bit more time figuring out what is going on and there looks like a problems with options configuration for the master server when starting it via the server command.
A global variable called m is used to setup options for the master.go module:
https://github.com/seaweedfs/seaweedfs/blob/f5854d13df2a46296c857005bb51e163fc20d4af/weed/command/master.go#L32-L34
This is initialized in https://github.com/seaweedfs/seaweedfs/blob/f5854d13df2a46296c857005bb51e163fc20d4af/weed/command/master.go#L60
When the master command starts the master server it parses options into m global:
https://github.com/seaweedfs/seaweedfs/blob/f5854d13df2a46296c857005bb51e163fc20d4af/weed/command/master.go#L122-L123
However, startMaster() - the function that actually starts the master server - takes a set of options, masterOption, to start the server but uses the global options m for some options including raftHashicorp:
https://github.com/seaweedfs/seaweedfs/blob/f5854d13df2a46296c857005bb51e163fc20d4af/weed/command/master.go#L170-L174
So when starting the master server via the master command all options specified on the command line are parsed and used correctly (they're stored in m). When starting the master server via the server command, some options referenced via m use their default values. So at a glance, it looks like the patch is to use masterOption for all options inside startMaster().

After patching the master flags issue, I started the server with:
weed server \
  -disableHttp \
  -master.electionTimeout 1s \
  -master.heartbeatInterval 100ms \
  -dir $(readlink -f tmp) \
  -ip localhost \
  -master.raftHashicorp

The server is up in ~6s which is better than where things started at ~20s https://github.com/seaweedfs/seaweedfs/issues/4307#issue-1624107169
I0315 10:23:06.175906 master.go:269 current: localhost:9333 peers:
I0315 10:23:06.179517 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0315 10:23:06.179685 master.go:269 current: localhost:9333 peers:localhost:9333
I0315 10:23:06.179746 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0315 10:23:06.180195 master_server.go:127 Volume Size Limit is 30000 MB
I0315 10:23:06.180441 master.go:150 Start Seaweed Master 30GB 3.43  at localhost:9333
I0315 10:23:06.181299 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:19333: connect: connection refused"
I0315 10:23:06.203782 master_server.go:215 Node at localhost:9333 [Follower]  - is the leader.
W0315 10:23:06.204085 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.master failed: pemfile: at least one credential file needs to be specified
I0315 10:23:06.207939 master.go:201 Start Seaweed Master 30GB 3.43  grpc server at localhost:19333
I0315 10:23:07.987460 disk_location.go:226 Store started on dir: /home/stewart/tmp with 0 volumes max 8
I0315 10:23:07.989781 disk_location.go:229 Store started on dir: /home/stewart/tmp with 0 ec shards
I0315 10:23:07.990195 volume_grpc_client_to_master.go:52 Volume server start with seed master nodes: [localhost:9333]
W0315 10:23:07.990403 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.volume failed: pemfile: at least one credential file needs to be specified
I0315 10:23:07.990870 volume.go:369 Start Seaweed volume server 30GB 3.43  at localhost:8080
I0315 10:23:07.994216 volume_grpc_client_to_master.go:109 Heartbeat to: localhost:9333
I0315 10:23:07.995514 node.go:225 topo adds child DefaultDataCenter
I0315 10:23:07.995648 node.go:225 topo:DefaultDataCenter adds child DefaultRack
I0315 10:23:07.995691 node.go:225 topo:DefaultDataCenter:DefaultRack adds child localhost:8080
I0315 10:23:07.995723 node.go:225 topo:DefaultDataCenter:DefaultRack:localhost:8080 adds child
I0315 10:23:07.995746 master_grpc_server.go:138 added volume server 0: localhost:8080 [c68bd16e-2ff7-4958-8779-939433f7bff6]
I0315 10:23:07.995778 master_grpc_server.go:49 found new uuid:localhost:8080 [c68bd16e-2ff7-4958-8779-939433f7bff6] , map[localhost:8080:[c68bd16e-2ff7-4958-8779-939433f7bff6]]
I0315 10:23:11.212745 masterclient.go:266 updateVidMap ignore short heartbeat: volume_location:{leader:"localhost:9333"}
I0315 10:23:11.213165 masterclient.go:223 .master masterClient failed to receive from localhost:9333: EOF
I0315 10:23:12.218125 master_grpc_server.go:349 + client .master@localhost:9333
I0315 10:23:12.218960 masterclient.go:245 + .master localhost:9333 leader:false

To recap, with https://github.com/seaweedfs/seaweedfs/pull/4309 applied, we've gone from ~20s+ to ~6s to startup a local instance. So now the question is where is the other 6s delay coming from?
I initially narrowed this down to tryConnectToMaster() which was waiting a long time for the KeepConnected RPC. I.e the last line of this block sees a delay:
https://github.com/seaweedfs/seaweedfs/blob/dd71f54c6b8355a35cda134173d9ebb76a53b62c/weed/wdclient/masterclient.go#L184-L198
After sprinkling some logs through the KeepConnected request handler a chunk of the delay is observed in informNewLeader, specifically Topo.Leader which leads us back to the same code from https://github.com/seaweedfs/seaweedfs/issues/4307#issuecomment-1468918149 where (5 + N) second delay occurs after each unsuccessful leader query. In this case since the server is just starting up the chance that we're going to hit a 5s delay is very high which makes me wonder why this doesn't use an exponential back-off instead starting with a much shorter delay for this cold start scenario? @chrislusf any concerns if I changed this code to start initially polling for a leader at a higher frequency than 20hz or make this poll rate configurable so that folks using this for testing scenarios can avoid this delay?

I locally plumbed exponential back-off into Topology.Leader using the https://pkg.go.dev/github.com/cenkalti/backoff/v4 (I have no idea whether this is ok, I'm not an every day golang coder).
I0315 17:15:18.943318 config.go:46 Reading : Config File "security" Not Found in "[/home/stewart/src/seaweedfs/weed /home/stewart/.seaweedfs /usr/local/etc/seaweedfs /etc/seaweedfs]"
I0315 17:15:18.945608 config.go:46 Reading : Config File "master" Not Found in "[/home/stewart/src/seaweedfs/weed /home/stewart/.seaweedfs /usr/local/etc/seaweedfs /etc/seaweedfs]"
I0315 17:15:18.945648 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0315 17:15:18.945696 master.go:269 current: localhost:9333 peers:
I0315 17:15:18.945798 master_server.go:335 [master.sequencer.type] : []
I0315 17:15:18.945828 master_server.go:127 Volume Size Limit is 30000 MB
I0315 17:15:18.945941 master.go:150 Start Seaweed Master 30GB 3.43  at localhost:9333
I0315 17:15:18.954700 master_server.go:215 Node at localhost:9333 [Follower]  - is the leader.
W0315 17:15:18.955010 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.master failed: pemfile: at least one credential file needs to be specified
I0315 17:15:18.957989 master.go:201 Start Seaweed Master 30GB 3.43  grpc server at localhost:19333
I0315 17:15:18.958158 masterclient.go:126 .master masterClient bootstraps with masters map[localhost:9333:localhost:9333]
I0315 17:15:18.958210 masterclient.go:171 .master masterClient Connecting to master localhost:9333
I0315 17:15:18.959622 masterclient.go:196 .master masterClient Connected to localhost:9333
I0315 17:15:18.960132 masterclient.go:199 . masterClient (localhost:9333) received KeepConnectedResponse volume_location:{}
I0315 17:15:18.960251 masterclient.go:267 updateVidMap ignore short heartbeat: volume_location:{}
I0315 17:15:18.960391 masterclient.go:224 .master masterClient failed to receive from localhost:9333: EOF
I0315 17:15:18.960467 masterclient.go:260 .master masterClient failed to connect with master localhost:9333: EOF
2023-03-15T17:15:19.100-0700 [WARN]  raft: heartbeat timeout reached, starting election: last-leader-addr= last-leader-id=
I0315 17:15:19.961379 masterclient.go:171 .master masterClient Connecting to master localhost:9333
I0315 17:15:19.962962 masterclient.go:196 .master masterClient Connected to localhost:9333
I0315 17:15:19.963103 master_grpc_server.go:349 + client .master@localhost:9333
I0315 17:15:19.963415 masterclient.go:199 . masterClient (localhost:9333) received KeepConnectedResponse cluster_node_update:{node_type:"master"  address:"localhost:9333"  is_add:true}

With #4318 applied (so we actually wait for the master selection) this results in the following output of the server command:
I0316 09:28:10.649194 master.go:269 current: localhost:9333 peers:
I0316 09:28:10.652131 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0316 09:28:10.652258 master.go:269 current: localhost:9333 peers:localhost:9333
I0316 09:28:10.652290 file_util.go:23 Folder /home/stewart/tmp Permission: -rwxr-xr-x
I0316 09:28:10.652375 master_server.go:127 Volume Size Limit is 30000 MB
I0316 09:28:10.652698 master.go:150 Start Seaweed Master 30GB 3.43  at localhost:9333
I0316 09:28:10.653547 volume_grpc_client_to_master.go:43 checkWithMaster localhost:9333: get master localhost:9333 configuration: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:19333: connect: connection refused"
I0316 09:28:10.663021 master_server.go:215 Node at localhost:9333 [Follower]  - is the leader.
W0316 09:28:10.663342 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.master failed: pemfile: at least one credential file needs to be specified
I0316 09:28:10.665761 master.go:201 Start Seaweed Master 30GB 3.43  grpc server at localhost:19333
I0316 09:28:10.995763 masterclient.go:266 updateVidMap ignore short heartbeat: volume_location:{leader:"localhost:9333"}
I0316 09:28:10.995871 masterclient.go:223 .master masterClient failed to receive from localhost:9333: EOF
I0316 09:28:11.998091 master_grpc_server.go:349 + client .master@localhost:9333
I0316 09:28:12.446677 disk_location.go:226 Store started on dir: /home/stewart/tmp with 0 volumes max 8
I0316 09:28:12.446726 disk_location.go:229 Store started on dir: /home/stewart/tmp with 0 ec shards
I0316 09:28:12.446773 volume_grpc_client_to_master.go:52 Volume server start with seed master nodes: [localhost:9333]
W0316 09:28:12.447137 tls.go:39 pemfile.NewProvider({   5h0m0s}) grpc.volume failed: pemfile: at least one credential file needs to be specified
I0316 09:28:12.447260 volume.go:369 Start Seaweed volume server 30GB 3.43  at localhost:8080
I0316 09:28:12.447713 volume_grpc_client_to_master.go:109 Heartbeat to: localhost:9333
I0316 09:28:12.448182 node.go:226 topo adds child DefaultDataCenter
I0316 09:28:12.448283 node.go:226 topo:DefaultDataCenter adds child DefaultRack
I0316 09:28:12.448304 node.go:226 topo:DefaultDataCenter:DefaultRack adds child localhost:8080
I0316 09:28:12.448323 node.go:226 topo:DefaultDataCenter:DefaultRack:localhost:8080 adds child
I0316 09:28:12.448336 master_grpc_server.go:138 added volume server 0: localhost:8080 [c68bd16e-2ff7-4958-8779-939433f7bff6]
I0316 09:28:12.448355 master_grpc_server.go:49 found new uuid:localhost:8080 [c68bd16e-2ff7-4958-8779-939433f7bff6] , map[localhost:8080:[c68bd16e-2ff7-4958-8779-939433f7bff6]]

So about 2 seconds to start up vs. 20s where we started.

@chrislusf again thanks for the speedy review, any chance you know when the next release is? I can build a binary from head for our purposes in the meantime but it would be great to use an official release instead.

@chrislusf thanks for cutting the 3.44 release !


Enhancement - search project dir by filename

currently if I open a dir with large # of files, I dont see a way to search for a file, I can only search inside open files,
lets say I want to find file named file68, i have to scroll all the way down, In this example its easy because of numerical naming, but in real examples I spend lot of time scrolling through hundreds of files to find the right file to edit, should be an easier way.

If you type F1 and then remove the angle bracket, you can search by filenames in the project.

@perfecto25 Did you know that Ctrl/Cmd + p allows you to find file patterns by typing parts of their names?

awesome thankx for the tip.

See tips above. Otherwise, this is a duplicate of #10026.


compare-experiments - Was 'bigram-experiment' supposed to be another tag?

I was going through the compare-experiments.md and I faced the following expected output:
$ dvc metrics show -T

baseline-experiment:
    auc.metric: 0.588426
bigram-experiment:
    auc.metric: 0.602818

But mine was:
$ dvc metrics show -T
Working Tree:
	auc.metric: 0.620421
master:
	auc.metric: 0.588765
baseline-experiment:
	auc.metric: 0.588765

Although the output shows an understandable message, I assume there might be a previous step to create the bigram-experiment due to the presented context.
I see two solving options here:

Adding the steps to create the bigram-experiment or
Updating the expected output from dvc metrics show -T

Looks like a minor bug in dvc metrics show -T. master should not be included.
There is a step that creates bigram-experiment. @ricardoserradas, please check the compare-experiments.md once again:
git commit -a -m "evaluate bigram model"
git tag -a "bigram-experiment" -m "bigrams"

I would rename Working Tree to just working tree along the way. It's not a title or something.


Eclipse OpenOCD Debugging plug-in expects mon reg cmd

I noticed that the OpenOCD Debugging plug-in for Eclipse issues a mon reg on starting a debugging session. I'm guessing this is the reason for the no-op reg command that was originally present in the source but removed by my last PR. This isn't high priority - I'm not sure yet how it effects debugging in Eclipse - I just wanted to document it.
Related to PR 211: https://github.com/mbedmicro/pyOCD/pull/211

Thanks for opening an issue to investigate this further.  I have been using Eclipse with the OpenOCD plugin after #211 and haven't seen any problems.  @flit , do you know what the mon reg command is used for, if anything?

Afaik, the only purpose for the "reg" command is to dump register values. I'm pretty sure it doesn't hurt compatibility with the OpenOCD plugin if it is not implemented.

Closing this issue since it isn't a problem.  If it becomes one please re-open.


cloudsql: Add Postgres sample

This is mostly copied from the existing SQL Server sample that was recently merged (#1390) but edited to use (pgx)[https://github.com/jackc/pgx] as a driver instead. Other changes include:

Allowing override of the default /cloudsql Unix socket path with an environment variable
Adding instructions to deploy to App Engine Flexible and Cloud Run

Other Postgres samples have used https://github.com/lib/pq. Is there a reason for this to use a different package? In general, I'd prefer to be consistent.

From the documentation for pq: "This package is effectively in maintenance mode and is not actively developed. Small patches and features are only rarely reviewed and merged. We recommend using pgx which is actively maintained."

Will wait for @dmahugh before merging.

sgtm. just updated the README to mirror some changes I made in a separate PR for the mysql sample.


Introduce arrow/array data types

Break down of the steps involved in switching to arrow/array data structures
Research best practices when working with Arrow
Prior to switching to Arrow arrays, do some research and / or ask questions on the Arrow mailing list for any best practices when transforming data to Arrow from a non-native data store.

Update array decoders

[ ] IntegerBatchDecodeAll
[ ] FloatBatchDecodeAll
[ ] BooleanBatchDecodeAll
[ ] StringBatchDecodeAll
[ ] TimeBatchDecodeAll

Update ArrayValues types

[ ] IntegerArrayValues
[ ] UnsignedArrayValues
[ ] FloatArrayValues
[ ] BooleanArrayValues
[ ] StringArrayValues

Review array block decoder implementation

[ ] DecodeIntegerArrayBlock
[ ] DecodeUnsignedArrayBlock
[ ] DecodeFloatArrayBlock
[ ] DecodeBooleanArrayBlock
[ ] DecodeStringArrayBlock

Review array TSMReader Read*ArrayAt implementation

[ ] ReadIntegerArrayBlockAt
[ ] ReadUnsignedArrayBlockAt
[ ] ReadFloatArrayBlockAt
[ ] ReadBooleanArrayBlockAt
[ ] ReadStringArrayBlockAt

Review array KeyCursor Read*ArrayBlock implementation

[ ] ReadIntegerArrayBlock
[ ] ReadUnsignedArrayBlock
[ ] ReadFloatArrayBlock
[ ] ReadBooleanArrayBlock
[ ] ReadStringArrayBlock

Cursor changes
Update tsm1.*(Ascending|Descending)BatchCursor types
Update API signature of storage.*BatchCursor generated types
Update storage.responseWriter to use updated Next APIs
Existing RPC interface will be unchanged, such that time and value slices will still be written to the same protocol buffer frame types.

One approach, according to Wes, per a mailing list post for passing Arrow objects between languages, is to pass the raw buffer pointers and reconstruct the data types on the other side. Using a similar approach, we can

use the <Type>Traits#BytesRequired API to determine the bytes required
use the Arrow allocator return appropriately aligned memory
use the <Type>Traits#CastFromBytes API to produce a Go slice for writing
use existing code to populate the slices where appropriate

for strings and booleans, we'll likely use the Builder types

Closing this research, as the detailed analysis and TODOs are found in #10116


Dicts validating

Decided against using the default values that are set in the schema since:

sub-dict parsing not so simple
potentially large effort reworking the input_schema.json if any of the defaults change; more flexible to provide these through input.json and overwrite the ones that are explicitly set

@np179 please fix code smell


test-branch/execute-job/quoted-authorization/10949427-3852-4103-a0d4-a6114a2aecbd

PR for testing 5d60bb2a48809f9f6fdbe6008923a3275be6c7dc

/canonical/self-hosted-runners/run-workflows 5d60bb2a48809f9f6fdbe6008923a3275be6c7dc


Feat: Add minAverageSellPrice for LO

Adds a new field for placing a limit order MinAverageSellPrice. This provides more control for users when placing a limit order and resolves a number of edge cases. Currently, we use limitSellPrice to set the highest tick we try to trade through, and as part of a final check to make sure the average trade price for the entire trade is above the limitSellPrice. MinAverageSellPrice is a new optional parameter that allows the user to set a limit for the final aggregate/average price different from what is specified by the limitSellPrice.

https://github.com/neutron-org/neutron-tests/actions/runs/11022369684

https://github.com/neutron-org/neutron-tests/actions/runs/11022369684


Java code for Binary Search in 2D arrays

Added a java code for doing a binary search in partially sorted 2D arrays. Please accept this PR

Add this file under java folder of searching folder

Added the file to its correct directory and also added one more question in the Leetcode section


Docs: incorrect names (3.50.0-beta.12)

Version

Phaser Version: 3.50.0-beta.12, e9d359c4d2b0ffc0422f8e6f9c8c22bea65a8bf3

Description
These names are in the API docs but don't exist at runtime.

Phaser.GameObjects.GetCalcMatrix
Phaser.Geom.Mesh.GeneraterGridVerts
Phaser.Renderer.Events
Phaser.Renderer.WebGL.Pipelines.UtilityPipeline
Phaser.Tilemaps.Orientation.FromOrientationString

Thanks, have fixed those, although Phaser.Geom.Mesh.GenerateGridVerts worked fine for me without any changes.

I think it must be misspelled in the docs (GeneraterGridVerts).

It is!


Bump version numbers after releases

@keybase/react-hackers

The commits b0cf409447cc...38f7956bf99e introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)


Add debug config file

We must add a sample config file to enable developers to run the controller(s) in debug mode. To begin with we can add a config file targeting VScode IDE.

Closing this in favor of enabling debug logging. please feel free to reopen if needed.


Minor improvements to user-count script

I noted that its helpful to lowercase author names before deduplication.
Also the repositories.txt file needs an empty line at the end (otherwise the last repository isn't processed).
I also noted that if a repository doesn't have any commits in the time frame specified (e.g. last 30 days) then the clone fails and the script exits. I couldn't see any easy fix for this.

@jprinet I am using WSL (Ubuntu 22.04.2 LTS) on Windows 10 Pro (22H2) for this.
I will see if I can get someone else to confirm this behaviour.

Just repeated on this on a Mac
Example of file with 2 repositories without final line break:
root@xxx:/mnt/c/Code/gradle-enterprise-sizing# ./user-count.sh
Counting commits from the last 30 days
No branch name specified, counting commits on default branch
...already cloned.sh://git@xxx.yyy.net:7999/repo/repo1.git

All cloned repositories available at .tmp/repos

Same file with final line break:
root@xxx:/mnt/c/Code/gradle-enterprise-sizing# ./user-count.sh
Counting commits from the last 30 days
No branch name specified, counting commits on default branch
...already cloned.sh://git@xxx.yyy.net:7999/repo/repo1.git
...already cloned.sh://git@xxx.yyy.net:7999/repo/repo2.git

All cloned repositories available at .tmp/repos

Hi @harrisric, sorry for the delay.
I could not reproduce the line ending issue with the CR / CRLF line ending, which I suspected to be the root cause.
We did not receive any feedback of such behavior; therefore, we won't add the extra line comment.
The ignore case is a nice improvement, though. Could you adjust your PR to provide this change only?
I can also update it if you prefer.

No problem @jprinet - done.

Thanks @harrisric 👍


Explicit surefire plugin version

Lets have defined explicit surefire plugin version to prevent usage of different versions on different environments.

This change doesn't really do much, as version is managed in jboss-parent in any case....
but it doesn't hurt


Shape properties tool does not initialize correctly when loaded from a new design tool

Steps to reproduce:

Clear the workarea of all tools
Open a new design
Select the 'construction' layer
The shape properties tool should open but causes a timeout exception

This did end up being a singleton lock synchronization deadlock problem. The locking logic has been simplified and the deadlock resolved.


[branch-2.1] pick some prs

Proposed changes
Issue Number: close #xxx
https://github.com/apache/doris/pull/38385 optimize parsing datetime
https://github.com/apache/doris/pull/38543 add some hint in sort node's explain string
https://github.com/apache/doris/pull/38978 make stream load failure message more clear and disable some error's stacktrace by default
https://github.com/apache/doris/pull/39255 fix random function coredump
https://github.com/apache/doris/pull/39324 fix function corr inconsistency with doc
https://github.com/apache/doris/pull/39449 check auto partitoin nullity when creating partition
https://github.com/apache/doris/pull/39695 make DynamicPartitionScheduler immediately know interval's change
https://github.com/apache/doris/pull/39754 Add some partition expr check on creating table

run buildall

run buildall

run buildall

run buildall

run buildall


I want to change only Y axis color. no gridline color... help me , please....

like above picture...

fixed


Task 2

Issue: #3
Made a Basic python program and run it in terminal

Hey @semicolon18
Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.
Thanks for contributing in OpenCode'24 ✨✨!

I have to change Issue: #3 since it was not cloning in my local as file name was not supported due to extra space

Hey @semicolon18
Your PR has been merged 🥳🥳 and you have earned 10 points.
Thanks for contributing in OpenCode'24 ✨✨


iptables entries only created for 1st name server in resolv.conf

using a suse based vagrant box I only get iptables for the 1st name server. Since my private box has options rotate set in the resolver this produces mixed results.

PR81 fixes this.


build(deps-dev): upgrade typescript-eslint related deps to 4.x

Summary

Upgrade typescript-eslint related deps to 4.x
Test plan

Green CI
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
N.A.

Pull Request Test Coverage Report for Build 6007

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.248%

Totals

Change from base Build 6004:
0.0%

Covered Lines:
1139

Relevant Lines:
1173

💛  - Coveralls


dotty: init at 0.4.0-RC1

Motivation for this change
Dotty is a platform to try out new language concepts and compiler technologies for Scala. The focus is mainly on simplification. The theory behind these constructs is researched in DOT, a calculus for dependent object types.
http://dotty.epfl.ch/
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks @yegortimoshenko for the feedback, this is my first new package so any help is appreciated. I'll come back with the fixes.

@GrahamcOfBorg build dotty

@disassembler Maybe this could be just squash and merged when ready?
With commit log dotty: init at 0.4.0-RC1.

based on @yegortimoshenko comments on this being a binary release and not source code, I merged and squashed. Thanks for the contribution!


unable to install dart while building from source

hello, i tried to install dart on arch by reading wiki and building form the source but i ran into python error. here are the error
➜  sdk ./tools/build.py --no-goma --mode release --arch x64 create_sdk Traceback (most recent call last):   File "/home/bwanso/Docs/dart-sdk/sdk/./tools/build.py", line 319, in <module>     sys.exit(Main())              ^^^^^^   File "/home/bwanso/Docs/dart-sdk/sdk/./tools/build.py", line 268, in Main     gn_py.RunGnOnConfiguredConfigurations(options)   File "/home/bwanso/Docs/dart-sdk/sdk/tools/gn.py", line 608, in RunGnOnConfiguredConfigurations     BuildGnCommand(args, mode, arch, target_os, sanitizer,   File "/home/bwanso/Docs/dart-sdk/sdk/tools/gn.py", line 582, in BuildGnCommand     raise Exception("Couldn't find the gn binary at path: " + gn) Exception: Couldn't find the gn binary at path: /home/bwanso/Docs/dart-sdk/sdk/buildtools/gn
➜  sdk ./tools/build.py --no-goma --mode release --arch ia32 create_sdk Traceback (most recent call last):   File "/home/bwanso/Docs/dart-sdk/sdk/./tools/build.py", line 319, in <module>     sys.exit(Main())              ^^^^^^   File "/home/bwanso/Docs/dart-sdk/sdk/./tools/build.py", line 268, in Main     gn_py.RunGnOnConfiguredConfigurations(options)   File "/home/bwanso/Docs/dart-sdk/sdk/tools/gn.py", line 608, in RunGnOnConfiguredConfigurations     BuildGnCommand(args, mode, arch, target_os, sanitizer,   File "/home/bwanso/Docs/dart-sdk/sdk/tools/gn.py", line 582, in BuildGnCommand     raise Exception("Couldn't find the gn binary at path: " + gn) Exception: Couldn't find the gn binary at path: /home/bwanso/Docs/dart-sdk/sdk/buildtools/gn
my python is 3.11.3

The only supported way to build Dart is https://github.com/dart-lang/sdk/wiki/Building.
Building purely from sources is tricky and not a currently supported use case. In your case, you'd need to get a version of depot_tools into your PATH and get the sources with fetch dart (depot_tools will provide fetch which will prepare a gclient solution and sync it which will provide the missing buildtools/gn).
Some related issues to bootstrapping from source (though this is probably easier because Arch is glibc-based):
https://github.com/dart-lang/sdk/issues/51788
https://github.com/dart-lang/sdk/issues/51642

thank you for reaching out


Revert "Optimised keyedColumn() and map() for MySQLQuery"

Reverts silverstripe/silverstripe-framework#6424
Sorry, this includes only-mysqlnd compatible API. =( It breaks libymsql driver.
http://php.net/manual/en/mysqli-result.fetch-all.php#refsect1-mysqli-result.fetch-all-mysqlnd

Sorry, in-github revert button creates a branch in the same repo by default.

can we create a query class for mysqlnd? Perhaps we can drop support for libmysql - it is deprecated as of php 5.5?

our minimum support for ss 4 is 5.5+ and I believe we are removing deprecated libs and APIs from SS4, so this should be acceptable?

Where is libmysql being deprecated? http://php.net/manual/en/mysqlinfo.library.choosing.php implies both are actively supported and have no EOL set.

This extension is deprecated as of PHP 5.5.0, and has been removed as of PHP 7.0.0.

http://php.net/manual/en/intro.mysql.php

Perhaps I am confused between mysql and libmysql

Oh right, this is the mysql library being deprecated in favour of mysqli, which is provided by both mysqlnd and libmyself. :)

Ah, ok.
So one solution is to make a mysqlnd only drive?

Yes, you could do that. Alternatively, have one driver which separate code paths for each of the two libraries.

@mikenz do you have any desire to create a DB driver for mysqlnd?


Use Callgrind instead of Cachegrind

Quick draft, willing to put the work in to making this PR prettier if this transition desired, @bheisler?
Using Callgrind makes the output even more stable, since we no longer need to do an initial calibration run, so any setup that the OS linker has to perform is never included in the output. This is especially important when using valgrind on macOS (see https://github.com/bheisler/iai/issues/25#issuecomment-1029462079), since the linker does more work at runtime there.
See Callgrind docs for more info.
Could also be part of fixing https://github.com/bheisler/iai/issues/7.

Future: Use the callgrind crate or similar to send "client requests" to Valgrind instead of the blunt --toggle-collect that we use now.


Board Review:  Azure Communication Services (SPOOL) - SIP routing

Contacts and Timeline

Responsible service team:

Main contacts:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Expected code complete date: N/A

Expected release date: N/A

About the Service

Link to documentation introducing/describing the service: https://docs.microsoft.com/en-us/azure/communication-services/concepts/telephony/direct-routing-provisioning
Link to the service REST APIs: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/communication/data-plane/SipRouting/preview/2021-05-01-preview
Link to GitHub issue for previous review sessions, if applicable:   https://github.com/Azure/azure-sdk-pr/issues/770

About the client library

Name of the client library: Phone Numbers
Languages for this review: C#, Python, Java, Javascript

Purpose of the library:
We are adding client allowing user to call two API endpoints for retrieving and setting the SIP routing configuration for a communication resource.
Description:

Each resource has exactly one SIP configuration, containing dictionary of trunks and list of routes. The API provides GET and PATCH endpoints for the whole configuration. The SIP configuration PATCH request may contain full SIP configuration(trunks and routes), or just trunks or just routes.
The trunks allow for partial updates, they are merged with the incoming trunk dictionary. The routes don’t allow for partial updates, the whole list is replaced by the incoming list (if it is present on PATCH request).
Our proposed SDK allows for changing, adding and deleting a trunk or route separately (separate functions for trunks/routes and operations performed on one item).
It also allows for retrieving all currently configured trunks/routes and replacing the trunks or routes configuration.
For trunks the identifier is its FQDN, for routes it is its Name.

Champion scenarios:

Retrieve trunks/routes - Returns list of currently configured trunks or routes.
Set trunk/route - Changes item in collection if exists, adds new one otherwise
Delete trunk/route - Removes specified trunk/route
Replace trunks/routes - Overwrites the collection of trunks/routes with the new collection

Artifacts required (per language)
Please read through “API Review” section here to understand how these artifacts are generated. It is critical that these artifacts are present and are in the right format. If not, the language architects cannot review them with the SDK Team’s API review tool.
.NET

APIView Link: https://apiview.dev/Assemblies/Review/b32afd45c457422992f506154f376d68#Azure.Communication.PhoneNumbers.SipRouting
Link to Champion Scenarios/Quickstart samples:

Java

APIView Link: https://apiview.dev/Assemblies/Review/300aa54ba60742b4890c4a0a0853fad9
Link to Champion Scenarios/Quickstart samples:

Python

APIView Link: https://apiview.dev/Assemblies/Review/77c3b1a482c54f5caab2cb2dd5900849
Link to Champion Scenarios/Quickstart samples: https://github.com/jiriburant/azure-sdk-for-python/blob/implementing-inputs-from-api-review/sdk/communication/azure-communication-phonenumbers/test/siprouting/champion_scenarios.py

TypeScript

APIView Link:
Link to Champion Scenarios/Quickstart samples:

ADO link: https://skype.visualstudio.com/SPOOL/_workitems/edit/2785757/

scheduled for 3/22 2-4pm pst

Recording (MS INTERNAL ONLY)


brew-create: add --tap option for creating formula in a specified tap

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Often enough I need to create a formula in a personal tap (usually because it's not notable enough and/or a personal project), and I love the convenience of brew-create, but it is only capable of creating formulae in the core tap, which means manually moving the formula around post-creation.
This commit adds a --tap option to the create command such that a user could create a formula in a specified tap instead of the core.
To facilitate this, a helper method tap_path has been added to the Formulary class (which is very different from the existing method tap_paths).
Note that I did not write new tests because

cmd/create.rb has no associated tests;
formulary.rb does have tests, but not for the peers of Formulary.tap_path (Formulary.core_path, Formulary.tap_paths, etc.).

I like the proposed feature, but have left a few code comments regarding some implementation details.

@UniqMartin Thanks for the review. I believe all of your suggestions have been incorporated.

Looks good to me! Will merge this later if nobody objects and after others had a chance to look at this.

LGTM 👍

Merged in cb711a2d39a9c76d40f43b4fe13564eba3424ea8. Thank you for another nice contribution to Homebrew, @zmwangx! :tada:


Machine Preview More Visible.

Another area that could be improved is the location of the preview window. I think a floating window that always stays on screen would be ideal (at least for non-mobile users) but the place I personally spent the most time messing with settings and wanting to see the changes are all the modifier options. The UI is rather chunky (not a judgement, just the best description I could think of) so not very many options fit on my screen at once, so frequent scrolling is necessary. Between options this isn't bad, but having to go to the top of the page to see the visual output of each modification I make gets very tedious fast.
Options could be:

Make the visual window float so it stays in the upper right of the webpage on the screen all the time.

Flip the visual window and the machine settings to make the window closer to the modifications options.

Thoughts and opinions from others user experiences?

Thoughts and opinions from others user experiences?
I'm not seeing other feedback like this from other users. If someone else would chime in, that would be appreciated.

The UI is rather chunky (not a judgement, just the best description I could think of)
One person's clunky is another person's spacious :).

the place I personally spent the most time messing with settings and wanting to see the changes are all the modifier options
Me too. Things are a little bigger than when I first laid this out. It used to all fit comfortably on the same screen. I would like to move the machine settings somewhere else, or maybe make two separate areas with independent scroll bars could help. I think seeing the preview whenever you're changing options is important to understand their function.

The machine settings also used to be on the top, but I didn't like that since after you set them to your machine, you never touch them again. Seems like a waste of valuable real estate.
Another option is to keep the tabs smaller. The front tab has grown a lot, and it makes it so you have to scroll on most screens. The track stuff is more advanced, or confusing, so maybe there's a way to make that go to another tab or a sub-tab and make the whole scrolling a non-issue.
Honestly though, I have no idea how to do any of this. I don't have a good sense of what's hard or easy. CSS and layout stuff is where I'm the least comfortable. I'd much rather work on the math than the UI.
I hope you don't mind, but I'm going to edit this issue to help me sort it in my list of issues.

Right now we see just the windowed pattern.  I suspect the patterns contain some interesting stuff outside the window...  What I'd like to see is some way to view the entire pattern with the rectangle representing the table overlayed.  Ideally, it would be nice to be able to move the table outline over the portion of the pattern that you want to put on the table.
It seems the patterns are always rotated around the center of the table (except when path is on).  If the above is too difficult to do, maybe just specifying the coordinates of the center of rotation would be OK so the pattern could be shifted through the window manually, by tweaking the X and Y coordinates.

Have you tried messing with the offsets?

Sandify 0.2.0 reorganizes everything, and I think bobnik has done a good job using the space we have in a productive way. I am going to close this issue, but if you still feel like it could use an improvement, please don't hesitate to say so.


Wikipedia Going further has only placeholders

Not sure how I reached this. Probably unfixable right now, and low impact

@teolemon I think it may happen due to slow internet connectivity or dead link mentioned Labels, Marques, etc. I've reproduced this issue but all seems to work just fine.


[PE-D] Add on to the issue Suggestion - message when listing

I realised that your app sorts ingredients based on expiration date. Maybe it would be good to add this into the UG.

Labels: type.DocumentationBug severity.Low
original: driip-ddrop/ped#16

Not sure why it is left open when the PR is merged. Closing by #238


In the encoder. Why not use pack_padded_sequence (embedded, input_lengths)

Whether the effect will be affected,if it's not pack_padded_sequence(embedded, input_lengths)

Not sure I understand the question, sorry.
Are you asking why we use pack_padded_sequences?

I have some different question in related to pack_padded_sequence..
What is batch_sizes in output of 'pack_padded_sequence? How is it calculated?

@yugaljain1999
We can try running some code to help us understand the packed sequences batching.
import torch
import torch.nn as nn

max_length = 10
batch_size = 3
emb_dim = 10

seqs = torch.zeros(max_length, batch_size, emb_dim)
lens = torch.LongTensor([10, 7, 5])

packed_seqs = nn.utils.rnn.pack_padded_sequence(seqs, lens)

print(packed_seqs.batch_sizes)
# prints: tensor([3, 3, 3, 3, 3, 2, 2, 1, 1, 1])

This is an example of if we had a batch of three sequences, one of length 10, one of length 7 and one of length 5. The tensor needs a length of 10 as this is the length of the longest sequence, the other two sequences must be padded until they are length 10.
If using packed sequences, we must pass the lengths of the sequences to pack_padded_sequence. Here we pass [10, 7, 5], as a tensor. We can then check the "batch sizes" of this tensor and see that we get [3, 3, 3, 3, 3, 2, 2, 1, 1, 1].
From this we can see that the first 5 elements of the packed sequence have a batch size of 3. This is because all of our sequences are at least length 5. The 6th and 7th elements have a batch size of 2 - this is because we no longer need to feed in the sequence with length 5 as we've gone beyond it's length. The last 3 elements have a batch size of 1, as we only have one sequence with a length greater than 7.


ModelArraySlice and slicing infrastructure

ModelArraySlice and slicing infrastructure
Fixes #735
Change Description
Adds a class to allow slicing ModelArrays in order to use part of the data within. Also includes the ArraySlicer::Slice class that provides the slicing syntax and an iterator class for accessing data.

Test Description
Several test cases that check that the slicing syntax is correctly interpreted and that making reasonable slices produces expected results. To fully test the slice syntax, a comprehensive suite of cases is defined. As far as possible, the class is designed to behave like the numpy Python library.

Documentation Impact
A section will need to be added to the eventual ModelArray developer documentation. As this does not yet exist, there is nothing to add as part of this PR.

just mentioning for future reference... If we move to c++23 we may wish to consider using mdspans. This would allow us to easily switch between 1D and N-D array views.


On iOS, Nested ScrollView is locking FlatList gestures after zoom out action released

Hello guys,
I’m trying to build a simple carousel gallery with (images or <View />) zoomable.
I have exactly, the same problem as https://github.com/facebook/react-native/issues/15216 but this one has been closed and locked without any help/answer.
Description
Gestures of parent container (which is FlatList or VirtualizedList) works as long as we don’t zoom in/out his children (which is a ScrollView).
Once we zoom in/out Scrollview, gestures of the parent container is immediately locked.
We have to wait (not touch screen until) 2 secondes before gestures is enabled again.
After that period, gestures of the parent container re-enabled again then swipe left/right works great.
React Native version
react-native info

info Fetching system and libraries information...
System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 44.50 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.18.1 - /usr/local/opt/node@10/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/opt/node@10/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
  IDEs:
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.5 => 0.61.5

Steps To Reproduce
1 - Swipe left and right, zoom in/out to feel how the swiper and zoom works.
2 - Zoom out to get an scale < 1 ( Like this http://d.pr/i/2Mr2W )
Once you stop zooming, you'll see that the image get's back to original size (scale=1)
3 - Immediately after release zooming action, try to swipe left/right
If the bug occurs, you should not be able to swipe right/left
It looks like ScrollView as children block gestures parents until I don't know...
4 - If you stop swiping and wait a few seconds (1 or 2 seconds) and you try, again you'll be able to swipe right/left
Expected Results
The user should be able to swipe left/right immediately after zoom out action, even if the zoom animation is not finished.

react-native info

info Fetching system and libraries information...
System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 44.50 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.18.1 - /usr/local/opt/node@10/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/opt/node@10/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
  IDEs:
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.5 => 0.61.5

👋


Tree structure is not enforced

It is possible with rctree to do the following:
let root = NodeRef::new(0);
root.append(NodeRef::new(1));
root.last_child().append(root);

Which means that this crate does not only acyclic directed graphs (trees), but directed graphs where a node can only have one edge pointing to it but many edges going out. In other words, this crate allows trees to be constructed which are not trees in the usual sense.
It probably is not intended, because it prohibits further use of root even if root.last_child().append(root.clone()) is used.
Maybe the append() should panic when it detects a circular reference.

Self-loops compile, and panic during execution, but could probably also use a better message.
let root = NodeRef::new(0);
root.append(root.clone);

Indeed, allowing cycles (when only considering first child and next sibling edges, otherwise there are many obvious cycles like x.first_child.parent == x) is not intended.
x.append(y) is intended to move not only y but also it's descendants (overall, the subtree rooted at y). So I think cycles can only be introduced if y is an ancestor of x (or is x). Unfortunately, detecting this take O(n) time (with n = number of ancestors of x) whereas append and friends were previously O(1). And since building a tree is usually based on calling append repeatedly, that becomes O(average depth × n nodes) instead of O(n nodes). Not quite quadratic, but still significant.
Is checking this in append worth the run-time cost?

In addition to algorithms not expecting it (the descendants iterator is implemented here would stop too early, another implementation might loop infinitely) creating cycles of first child or next sibling edges cause all nodes in the cycle and their descendants to be leaked unless the cycle is broken manually. (Rc’s strong reference count never reaches zero. The parent, last child, and previous sibling edges are rc::Weak internally to avoid this for "normal" trees.)

For what it’s worth, Python’s ElementTree does not protect against this:
import xml.etree.ElementTree as ET
import itertools

a = ET.Element('a')
b = ET.Element('b')
a.append(b)
b.append(a)

for elem in itertools.islice(a.iter(), 20):
    print elem.tag,

a b a b a b a b a b a b a b a b a b a b

But lxml does. The same program with lxml.etree instead of xml.etree.ElementTree raises an exception:
Traceback (most recent call last):
  File "a.py", line 8, in <module>
    b.append(a)
  File "src/lxml/lxml.etree.pyx", line 833, in lxml.etree._Element.append (src/lxml/lxml.etree.c:49649)
  File "src/lxml/apihelpers.pxi", line 1278, in lxml.etree._appendChild (src/lxml/lxml.etree.c:28541)
ValueError: cannot append parent to itself

The error message says "parent", but the code calls a function called _isAncestorOrSame that does what it says.

It seems to me that both cases are valid. If the tree is unpredictably manipulated, an append() should be used that checks is_ancestor_or_same(), but if the tree comes from a source that is known to be valid, for example a known-to-be-valid XML file, then append() can speed up by not using is_ancestor_or_same().
Would it be a good idea to create a new unsafe append_unchecked() and append() uses is_ancestor_or_same() (and after that calls append_unchecked() from an unsafe block)? It would have to be documented, but it works.
This solution smells a little, having twice almost the same function.

Yeah, that could work.
Regardless, this repository is where I published the results of some experiments, but I don’t intend to maintain it over time. If you’d like to make this code evolve I suggest copying it into your project and starting from there. It’s what I did in Kuchiki with a more specialized tree data structure.

I'll create a new repo, and add a reference to you.


add topics

I suggest adding topics such as tensorflow, fortran in the About section at https://github.com/Cambridge-ICCS/process_model.

Thanks, done.


Color values don't always roundtrip correctly

If you link an input field to the colorwheel and you input #aabbcc, the value will roundtrip as #aabacc
This is fixed by https://github.com/DmitryBaranovskiy/raphael/pull/977

Hi Bruno,
Thanks for the PR's.  I just moved across the country and am getting settled.  Once things calm down a bit I will take a look.  They look great, thanks.
John


Use with for file operations.

Use with blocks for file operations to ensure closure and avoid possible race conditions.

Thanks


Upgrade email sync with Imap

Handle read/unread
Handle labels

Labels : https://stackoverflow.com/questions/3285690/how-to-get-imap-flags


Spike: better understand the HF mechanism

Outcome: plan for an implementation in the indexer

What is special about the ledger the archive node barfs out? How to use it? Will we do a similar process with the indexer?

Summary ala https://minaprotocol.com/blog/minas-berkeley-upgrade-what-to-expect:
Hour 0:
Once the majority stake has upgraded, at a predetermined point the stop transaction slot will be reached. Starting from this slot, all the blocks produced by the upgraded stake will be empty and not include any transactions (payments, delegations, coinbase, etc) and blocks containing transactions will not be accepted, confirming behavior is as expected.

It is crucial for block producers to continue running at least one node until the stop network slot is reached so the network reaches consensus on which block to upgrade from. The team at o1Labs will also be collecting network data from these nodes for the post-upgrade release build. Note: as blocks during this period will be empty, block rewards will not be generated during the scheduled network downtime.

Hour 5:
5 hours after the stop transaction slot (equivalent to 100 slots), the stop network slot will be reached. At this point, block producers who have upgraded will no longer produce new blocks and no new blocks will be accepted, with chain density expected to drop.
Hours 5-11:
During this period, o1Labs will publish the post-upgrade package, the build that is planned to run post-fork, by exporting the state at the fork block. This state will be validated along with the ledger state and migrated archive node before the build is ready for release. In parallel, the team will be preparing to launch the network, and will deploy seeds, archive nodes and cron jobs to validate node and network health.

Note: A validation tool will be available for the node operators that wish to validate the new Berkeley-compatible ledger against the ledger from the fork block.

Post-Upgrade:
Hour 12: One hour after the post-upgrade release is available, the first Berkeley block is expected to be produced.
Network monitoring: Once the upgrade is complete, and the first Berkeley block has been produced, the teams will be conducting extensive network monitoring to ensure the chain quality is as expected, and the majority stake has been upgraded to the post-Berkeley build.

Last devnet block (height 296371) before slot_tx_end slot (445620): https://devnet.minaexplorer.com/block/3NKSvjaGSKiQuAt8BP1b1VCpLbJc9RcEFjYCaBYsJJFdrtd6tpaV

First devnet block (height 296372) afater slot_tx_end slot: https://devnet.minaexplorer.com/block/3NL93SipJfAMNDBRfQ8Uo8LPovC74mnJZfZYB5SK7mTtkL72dsPx

First devnet "berkeley" PCB (height 296373): https://devnet.minaexplorer.com/block/3NL3CmLeS91jp1cLgBST98YLX5RtDVWdddNGfEiXpABmDsBveAey

Hard fork package generation RFC
https://github.com/MinaProtocol/mina/blob/develop/rfcs/0053-hard-fork-package-generation.md


Update Nginx App Config

Change Summary
Summarise your changes in points

Update nginx config

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code refactoring (restructing existing code without changing any functionality)
[ ] This change requires a documentation update

Documentation/Release Plan

Problem Statement doc
Feature documentation
Release plan

Testing Checklist
Changes tested on

[ ] development
[ ] production
[ ] MABL Tests Link (if any)
[ ] Successful Workflow Links (if any)

/rebase

Your PR is not correctly rebased with staging base branch.
Hint: Resolve all conflicts manually, and push it.

/rebase

/rebase

Your PR is not correctly rebased with staging base branch.
Hint: Resolve all conflicts manually, and push it.

/rebase


A flag to output resource model

Collecting resources directly from the account takes time, but user may want to run multiple queries on the collected resources.
It therefore makes sense to collect the resources on the first query, then save the resource model for future queries.
Suggesting to add a new flag -dump-resources which takes a file name, and Marshals the resource model into this file.

do you want for this flag to also analyze this config or just marshal it?

The analyzer always analyzes 😺
If I just wanted to marshal, I would run the collector instead.


EDA Behavior Involvement and Behavior Response

Critical Changes
Changes
We are adding behavior involvement and behavior response objects to support behavior management.
Issues Closed
Fixes #875
New Metadata
Layouts:
Behavior_Involvement__c-EDA Behavior Involvement Layout.layout
Behavior_Response__c-EDA Behavior Response Layout.layout
Case-EDA Incident Layout.layout
Translation objects:
Behavior_Involvement__c-ca.objectTranslation
Behavior_Involvement__c-en_US.objectTranslation
Behavior_Involvement__c-es.objectTranslation
Behavior_Involvement__c-fr.objectTranslation
Behavior_Response__c-ca.objectTranslation
Behavior_Response__c-en_US.objectTranslation
Behavior_Response__c-es.objectTranslation
Behavior_Response__c-fr.objectTranslation
Objects:
Behavior_Involvement__c.object
Behavior_Response__c.object
BusinessProcess:
Case.Behavior Management
RecordType:
Case.Incident
Tabs:
Behavior_Involvement__c.tab
Behavior_Response__c.tab
Deleted Metadata
Testing Notes

@lifewithryan @robertbwatson thanks for your feedback! I will go ahead and fix:

Contact formula field on behavior response
Unmanaged Case record types and business process

Let me know if I missed anything!

Should be good now! @lifewithryan

@lifewithryan @robertbwatson should be good to go!

@xinnanlisf  Great work on this! I've approved but kept this assigned to @lifewithryan  since he also requested changes.

Hi @lianeyee we might need your help on the release note :)

This passes QA; pending PM/UAT review.

@xinnanlisf  Minor, but the latest round of description updates (https://github.com/SalesforceFoundation/EDA/pull/884/commits/d5f72636e48f0fef33430b8fec4e4dbf9b585504) didn't include the translation updates

@robertbwatson should be good now!


[UI]: Improve UI of Shlok on motivation.html page

Description
I can improve the UI of the Shlok on the Read a Shlok
Steps to Reproduce:

Add a box around Shlok and make it more eye-catching by styling.

Screenshots:

Program In which I am contributing
Girlscript Summer of Code 2023 (GSSoC'23)
Code of Conduct

[x] I follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES of this project.

Please assign me this issue under GSSoC'23.
Thanks

Hey @harmeetsingh11 if you have any suggestions regarding UI you can join our discord channel and after a proper discussion, u will be assigned.
You can also share, the expected behavior.

yeah sure @mnik7044 . It would look something like this.

Please assign me this issue under GSSoC'23.
Thanks

We are working on the folder structure right know @harmeetsingh11 wait a bit and the admin will assign you, do share the screenshot with description in the respective discord channel.

go for it also makesure that whatever content is there we can tweet that on clicking twitter button


dev: improve event testing

Add more scenarios to event test (inner calls, multi calls,...) and move tests related to events from invoke_tx.rs, declare_tx.rs, deploy_account_tx.rs and l1_message.rs into a separate file events.rs as to improve the test organisation.

👋


Cannot convert value of type 'CKQuery' to expected argument type 'Selector?'

Why can this error occur? 😓

PromiseKit does not provide a promise for the perform function.

Sorry was looking in CKContainer.swift.
Did you import PromiseKit and if necessary PMKCloudKit?

Did you import PromiseKit and if necessary PMKCloudKit?
Sure, PromiseKit imported. I have a project in Swift. So should I import PMKFoundation or PMKCloudKit?

In README written about PMKFoundation:

I installed PromiseKit/CloudKit and PromiseKit/Foundation via Cocoa Pods:
 pod 'PromiseKit' pod 'PromiseKit/CloudKit', '~> 6.0' pod 'PromiseKit/Foundation', '~> 6.0'
But I can't import it:

Try specifying the return type in firstly. See our TroubleShooting guide for more tips

Sorry, I had a mistake. Question solved 👍


[suggestion] jitter in report maps due to icons being on top of each other

The report shows multiple pokemon on top of each other so it's impossible to tell what pokemon spawned there too without prior knowledge. Is there a way to add jitter to the icons so that they kind of gather around the point?

^^^ agreed

Is there a library for Leaflet that does this out of the box?

@modrzew Seems too specific to already exist haha.
I'm thinking something like this:
-if there are <10 Pokemon in one point, write something to space them out a certain distance away from that point.
-if there are >10 then add something like a selection tool that allows to select a certain area of the /report map and bring up a "dialog/catalog" of the Pokemon in that area.
I might be sounding like a madman right now.
But I think it's doable.


Example of One-Step Delayed Parameter Update

I saw DPU is introduced in paper
But I can't find any related source code in repo.
Is there any example for using DPU rightly? Thanks.

Hi fumihwh,
The DPU code is not committed to the main branch. You can find it here: https://github.com/jren73/delay_param_update.git.
Best,
Minjia

@minjiazhang Thanks! I'll try it first.

@fumihwh Hi, did you manage to see the parallelization effect of weight update with forward&backward?