[bug]: LND not resolving DNS Seed

Prerequisites

[X] I have searched for existing issues that already report this problem.

Server Hardware
raspi CM4, 4GB RAM, 1TB nvme SSD
StartOS Version
0.3.4~3
Client OS
Linux
Client OS Version
N/A
Browser
Firefox
Browser Version
N/A
Current Behavior
Getting

2023-08-22T11:16:15-04:00  2023-08-22 15:16:14.996 [INF] BTCN: Server listening on [::]:9735
2023-08-22T11:16:15-04:00  2023-08-22 15:16:14.999 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:16:15-04:00  2023-08-22 15:16:15.021 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:16:25-04:00  2023-08-22 15:16:25.183 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:16:27-04:00  2023-08-22 15:16:27.184 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:16:27-04:00  2023-08-22 15:16:27.795 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:16:27-04:00  2023-08-22 15:16:27.798 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:16:31-04:00  2023-08-22 15:16:31.799 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:16:34-04:00  2023-08-22 15:16:34.455 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:16:34-04:00  2023-08-22 15:16:34.472 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:16:42-04:00  2023-08-22 15:16:42.476 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:16:42-04:00  2023-08-22 15:16:42.485 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:16:43-04:00  2023-08-22 15:16:43.353 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:16:59-04:00  2023-08-22 15:16:59.355 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:16:59-04:00  2023-08-22 15:16:59.362 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:17:06-04:00  2023-08-22 15:17:06.404 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:17:15-04:00  2023-08-22 15:17:15.284 [ERR] BTCN: Unable to parse IP network for peer vjmphnidm7oy5ct4jawbxkba2ltsmjz2qnxdu7sei57itdl3xxj35iqd.onion:8333: unsupported IP type
2023-08-22T11:17:15-04:00  2023-08-22 15:17:15.285 [ERR] BTCN: Unable to parse IP network for peer 4jm7oyewtld2vci3m2tuurf54lrufif4zlmntmqwwt3yltwcmdtnq6id.onion:8333: unsupported IP type
2023-08-22T11:17:38-04:00  2023-08-22 15:17:38.731 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:17:47-04:00  2023-08-22 15:17:47.033 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:17:47-04:00  2023-08-22 15:17:47.192 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:18:47-04:00  2023-08-22 15:18:47.209 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:18:47-04:00  2023-08-22 15:18:47.441 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:18:52-04:00  2023-08-22 15:18:52.530 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:19:53-04:00  2023-08-22 15:19:52.886 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:19:53-04:00  2023-08-22 15:19:53.182 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:19:58-04:00  2023-08-22 15:19:58.805 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:20:59-04:00  2023-08-22 15:20:59.018 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:20:59-04:00  2023-08-22 15:20:59.281 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:21:05-04:00  2023-08-22 15:21:05.699 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:21:15-04:00  2023-08-22 15:21:15.641 [INF] BTCN: New valid peer <IP_ADDRESS>:8333 (outbound) (/btcwire:0.5.0/btcd:0.21.0/)
2023-08-22T11:21:15-04:00  2023-08-22 15:21:15.653 [INF] BTCN: Lost peer <IP_ADDRESS>:8333 (outbound)
2023-08-22T11:21:15-04:00  2023-08-22 15:21:15.656 [ERR] BTCN: Unable to parse IP network for peer vjmphnidm7oy5ct4jawbxkba2ltsmjz2qnxdu7sei57itdl3xxj35iqd.onion:8333: unsupported IP type
2023-08-22T11:21:15-04:00  2023-08-22 15:21:15.658 [ERR] BTCN: Unable to parse IP network for peer v3n47flocbreasjf6ismj2iu7gbtata7v3j3cmqiofbpe5nnmi7zizqd.onion:8333: unsupported IP type
2023-08-22T11:21:50-04:00  2023-08-22 15:21:50.233 [ERR] BTCN: Unable to parse IP network for peer v3n47flocbreasjf6ismj2iu7gbtata7v3j3cmqiofbpe5nnmi7zizqd.onion:8333: unsupported IP type
2023-08-22T11:21:51-04:00  2023-08-22 15:21:51.122 [ERR] BTCN: Unable to parse IP network for peer v3n47flocbreasjf6ismj2iu7gbtata7v3j3cmqiofbpe5nnmi7zizqd.onion:8333: unsupported IP type
2023-08-22T11:21:51-04:00  2023-08-22 15:21:51.135 [INF] BTCN: New valid peer v3n47flocbreasjf6ismj2iu7gbtata7v3j3cmqiofbpe5nnmi7zizqd.onion:8333 (outbound) (/Satoshi:25.0.0/)
2023-08-22T11:22:05-04:00  2023-08-22 15:22:05.759 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:22:12-04:00  2023-08-22 15:22:12.761 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:22:12-04:00  2023-08-22 15:22:12.893 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:23:12-04:00  2023-08-22 15:23:12.915 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:23:13-04:00  2023-08-22 15:23:12.988 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:23:20-04:00  2023-08-22 15:23:20.400 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:24:20-04:00  2023-08-22 15:24:20.401 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:24:20-04:00  2023-08-22 15:24:20.531 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:24:31-04:00  2023-08-22 15:24:31.220 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:25:31-04:00  2023-08-22 15:25:31.355 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:25:31-04:00  2023-08-22 15:25:31.628 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:25:46-04:00  2023-08-22 15:25:46.251 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:26:46-04:00  2023-08-22 15:26:46.306 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:26:46-04:00  2023-08-22 15:26:46.556 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:26:59-04:00  2023-08-22 15:26:59.415 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:27:59-04:00  2023-08-22 15:27:59.416 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:27:59-04:00  2023-08-22 15:27:59.493 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:28:08-04:00  2023-08-22 15:28:08.703 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:29:08-04:00  2023-08-22 15:29:08.704 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:29:17-04:00  2023-08-22 15:29:17.974 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:29:17-04:00  2023-08-22 15:29:17.980 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:30:17-04:00  2023-08-22 15:30:17.982 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:30:27-04:00  2023-08-22 15:30:27.198 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:30:27-04:00  2023-08-22 15:30:27.330 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:31:27-04:00  2023-08-22 15:31:27.508 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:31:40-04:00  2023-08-22 15:31:40.644 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:31:40-04:00  2023-08-22 15:31:40.682 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:32:41-04:00  2023-08-22 15:32:41.055 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:32:50-04:00  2023-08-22 15:32:50.949 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:32:51-04:00  2023-08-22 15:32:51.094 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:33:51-04:00  2023-08-22 15:33:51.250 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:33:51-04:00  2023-08-22 15:33:51.386 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:34:01-04:00  2023-08-22 15:34:01.881 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:35:01-04:00  2023-08-22 15:35:01.940 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:35:13-04:00  2023-08-22 15:35:13.834 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:35:13-04:00  2023-08-22 15:35:13.966 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:36:14-04:00  2023-08-22 15:36:14.044 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:36:14-04:00  2023-08-22 15:36:14.170 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:36:23-04:00  2023-08-22 15:36:23.385 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:37:23-04:00  2023-08-22 15:37:23.394 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:37:23-04:00  2023-08-22 15:37:23.535 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:37:33-04:00  2023-08-22 15:37:33.329 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:38:33-04:00  2023-08-22 15:38:33.331 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:38:33-04:00  2023-08-22 15:38:33.565 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:38:42-04:00  2023-08-22 15:38:42.756 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:39:42-04:00  2023-08-22 15:39:42.803 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:39:43-04:00  2023-08-22 15:39:43.018 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:39:52-04:00  2023-08-22 15:39:52.257 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:40:52-04:00  2023-08-22 15:40:52.289 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:40:52-04:00  2023-08-22 15:40:52.655 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:41:03-04:00  2023-08-22 15:41:03.422 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:42:03-04:00  2023-08-22 15:42:03.463 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:42:12-04:00  2023-08-22 15:42:12.705 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:42:12-04:00  2023-08-22 15:42:12.727 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found
2023-08-22T11:43:12-04:00  2023-08-22 15:43:12.791 [INF] DISC: Attempting to bootstrap with: Authenticated Channel Graph
2023-08-22T11:43:12-04:00  2023-08-22 15:43:12.945 [INF] DISC: Attempting to bootstrap with: BOLT-0010 DNS Seed: [[nodes.lightning.directory soa.nodes.lightning.directory] [lseed.bitcoinstats.com ]]
2023-08-22T11:43:22-04:00  2023-08-22 15:43:22.181 [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found

I'm trying to use Use the light bitcoin backend built into LND, Neutrino. for Type in the config. Not sure if that has anything to do with the problem. I don't think I've changed any other settings in the LND config.
Expected Behavior
It works.
Steps to Reproduce

Install LND
Use Neutrino mode
wait for the blockchain to be quickly processed
DNS Seeds don't work.
Health checks says "Synced, Syncing to graph".

Anything else?
I'm wondering if the seed DNS servers are just down? What is the proper dig command to test?

Unable to retrieve initial bootstrap peers

I think this is going to be an upstream problem (and one of centralization of LND bootstrap peers).  We have filed this in the past, but no steps seem to have been taken to distribute this vital infrastructure.
Closing for now as not a StartOS issue


add a parameter for 4k screens

Thanks for this easy to use tool.
As I have a 4k screen, I suggest you add an option to add this parameter in the alias
GDK_DPI_SCALE=0.5
My screenshots don't show the difference too well, but the 1st one (without GDK_DPI_SCALE=0.5) has really big fonts

With GDK_DPI_SCALE=0.5: much better display:

Ryujinx will deprecate GTK in favor of Avalonja Ui, I suggest that we wait.

Sure. Thanks.


[ERROR] Multiple website accounts with same Instagram account

Anyone have this problem? I am using it just to login with Instagram, but it does not work.
If I login with Instagram X ir will create a user X, until here ok.
But after you try to login in your account thought Instagram again, it will not login, it will create a new user X_1...
I found it on wsl_authentication.php
// if no associated user were found in wslusersprofiles, create new WordPress user
if( ! $wordpress_user_id )
{
$user_id = wsl_process_login_create_wp_user( $provider, $hybridauth_user_profile, $requested_user_login, $requested_user_email );
$is_new_user = true;
}else{
$user_id = $wordpress_user_id;
$is_new_user = false;
}
}
It should enter in the else, but it is entering always in the if state.
I couldn't solve this, I don't know how to check wslusersprofiles, and also don't know where it gets the wordpress_user_id value (0 when user don't exist, 1 when it does, but it always give 0)

The error is because the function function wsl_store_hybridauth_user_profile( $user_id, $provider, $profile ), is not creating a profile in the wslusersprofiles database. But I can't figure out why...
Summarizing:
Facebook creates a new wslusersprofile
Instagram don't


Read directly from numpy 2d array, or a list of lists.

Does this feature exist? Currently we have read_csv, read_csv_file and read_pandas. However read_pandas is not useful for testing since pandas is not a requirement. Instead, we should have read_numpy_array or read_list rather than worry about marshaling datasets back and forth to csv.
List of lists is probably better than numpy since the latter is not a formal dependency
(although any reasonable user will have it, since crosscat is a requirement).

I think we can read from a dataframe now?
https://github.com/probcomp/bayeslite/blob/master/src/read_pandas.py


Add Angola

Coverage remained the same at 95.918% when pulling 0c3bf8b4e51ff6390f542a29294e3d8805baba2a on addAngola into b4c8c4fb71b1f3caa9d0f12c8a4343cfb12aa0ec on main.


Is it possible to make this a web application?

just curious

Hello @Cipher-GF,
I'm afraid It won't be possible for me to make a web version of this. You can try to make your own web version of this. :D


Interactive mode doesn't offer "yaml" as a valid value for the output format

Describe the bug
Interactive mode doesn't offer "yaml" as a valid value for the output format. Drop-down list after typing --output or -o shows only json, jsonc, table, tsv.
To Reproduce
az interactive
az account list -o<SPACE>

Expected behavior
'yaml' is expected as a valid value for the output format.
Environment summary
az version: 2.0.58
On Ubuntu (WSL) and on PowerShell.

add to Backlog


End-to-End Training

Hi, the author note that his paper is in an end-to-end approach, but your code seems to be in a tripe stage.  I'm confused and wondering how it works in the original paper? Looking forward to your reply.

According to the paper, there is two phases in the algorithm. For efficiency issues, we implement feature map calculation as a single phase.

Many thanks. I re-read the paper and found that the author's description in the Introduction section misunderstood me. Thanks for your reply.


Unable to parse invoice

Hi
I am trying to use invoice2data for parsing some invoices, but i am facing following error:
from invoice2data import extract_data
result = extract_data('XYZ.pdf')
Output :
ReaderError: unacceptable character #x0082: special characters are not allowed
in "", position 312
*I am not trying any template format.

Solved by 6ab31047386a ("Treat all YAML templates files as UTF-8 encoded")
Make sure your .yml template file is UTF-8 encoded.
See https://github.com/invoice-x/invoice2data/pull/449


Imagens cortadas em telas ultrawide

raparei que as imagens dos banners dos games ficam cortadas em telas ultrawide

Good

Do you guys have any suggestion on how to place the image in this case? We can left black borders on the sides or stretch the image to fit the space, both seems bad to me, but there is not third one.


Add jitter over nodes TTL

Tell us about your request
Add jitter over nodes TTL.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

When I start new payload, Karpenter order new nodes to handle it.
Since nodes were ordered at the same time, they go away at the same time, too.
So payload goes down, too.
Then cycle repeats.

Are you currently working around this issue?
Right now I occasionally Drain random nodes at random moments of time to de-synchronize the cycle.
Additional context
Seem to be good idea to add optional jitter parameter to let user make process a little bit more random and thus evade issues.
Example pseudo manifests:
provisioner1
spec:
  nodesTtl: 3h
  jitter: 30m

---
provisioner2
spec:
  nodesTtl: 7d
  jitter: 12h

Attachments
Nope.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Hey @agrrh, this is related to this, but isn't quite captured in the larger issue. Jitter is definitely a way to solve this, as it would give a little more leeway and likely reduce concurrent disruptions.
Some considerations:
For large values of jitter (let's say 12h), this could make node disruptions happen at any random point in the day. For small values of jitter (let's say 15m), this might be too small to actually change any concurrent disruptions depending on if there are PDBs configured and how tight they are.
Some added benefits/(consequences?):
With long-term usage of jitter, this could naturally spread out disruptions to a basically random occurrence. For instance, take a node that expired 6 hours earlier due to jitter that could also expire 6h earlier the next time it expires. Assuming some "no jitter" expiration, this would node would now be 12h off of the original "no jitter" expiration. This could continue for every node in varying degrees.
This could be beneficial to users that don't want to think about node rolling and have a tolerant-disruption cluster. But it could also be detrimental to users that want to maintain a good schedule of when disruptions will happen.
Alternatively this could be supplemented by Maintenance Windows or Node Disruption Budgets. Including this in the larger issue.

@njtran Thank you!
Jitter was the first idea and it solves my personal situation. But knowing it is probably quite specific, Node Disruption Budgets sounds great to me as more preferred solution.
Just thinking out loud.

Closing in favor of #1738


Release notes for 1.0-rc1

As of cockroachdb/cockroach@18aaa37d38
This is still missing any mention of backup/restore and enterprise functionality, and awaiting resolution on whether distsql is making the cut.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/89524b625cb2e46fe372d12052acfb154f4cd16a/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/91d9a18e0d1526511ad7e71c96128e944657f9ec/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ae986c6ce15a36ef0ef8cf0d6b66360ceef05c25/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0252adb00c650bcf28ebe9f4b87b8e31d4a940d9/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/556c940cc9afd29c96691b62f16f80972d93848c/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/b4ed16bbd2476a44420766732a8039192d9c74be/

Added a new commit covering the latest updates to the RC, including a brief mention of distsql (which we may want to expand)

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/750485a883c7eec7df9c6abca53b2b20f026ba55/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ecc021a3b9f8daecff30df93f0fd722336bbb4d5/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9e7ff2d8364ea9205355294f923038e5b09096e3/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/8ac2ced96bf2d8257a259caff52f2ac7bffb2057/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f716677226e8fab22ce6dac04a85f1fdc6bc1bb4/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d9c467a285c223c7d5851718d3dd23cb2743fde6/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a91d91a4ed765c7d53c304a535ab98447862a910/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/df122062ef217a73c9ef22680f06677518eb5087/


Update to Node JS 16

We are using this action in several repositories and the GitHub workflows are currently throwing this warning:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: vimtor/action-zip

Would it be possible to update the action?

Pinging repository owner for visibility @vimtor

+1

@vimtor for when a release of a V2 with node 16?

Yes, @vimtor, as I mentioned here https://github.com/vimtor/action-zip/pull/20#issuecomment-1288446144, a release is needed to solve these issues in other repositories consuming this action. Please consider doing a new release.

Yes, @vimtor, as I mentioned here #20 (comment), a release is needed to solve these issues in other repositories consuming this action. Please consider doing a new release.

+1

Done! Sorry for the delay

Done! Sorry for the delay

Thanks @vimtor!! Maybe also tag v1 to point to v1.1? Just a suggestion. Feel free to choose to do it or not


Fix tests to properly test ps behavior for command output

I couldn't get the tests to pass before I created #7, so I had a fun time trying to edit them.
We need to modify the tests to verify the behavior of ps rather than pgrep to complete the functional changes I made.
I'm short on time right now, so I'm marking this as "help wanted" until I'm able to get around to it.

I just submitted #9 to allow tests to again run.


Authentication to self-hosted registry with password having special characters results in error

Bug description
When you add repository to portainer registry having special characters in password results in failure when pulling images.
Expected behavior
Ability to pull image from self-hosted repository and having special characters in password.
Steps to reproduce the issue:

Create account in your self-hosted repository having specials characters in password: some_.-?passwORD
Add repository into registries
Go to images and try to pull some image.

Technical details:

Portainer version: 2.0.0 (occurs even in all older versions like 1.24.1)
Docker version: 19.03.13 (API: 1.40)
Platform: linux x86_64 CentOS Linux 7 (Core)
Command used to start Portainer: sudo docker run --restart unless-stopped --name portainer -d -p <IP_ADDRESS>:9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
Browser: Firefox v80

Additional context
Result of behavior depends on entering password into repository configuration in registries.

If you enter correct password without special characters in it, the image is pulled successfully.
If you enter correct password with special characters, error notification:

Failure
Get https://myserver.com/v2/nginx/manifests/latest: no basic auth credentials

If you enter wrong password (on purpose), error notification:

Failure
unauthorized: authentication required

Hi @SpiReCZ ,
I'm unable to reproduce that issue on my own lab, using Portainer 2.0.
Firstly create docker registry using image registry:2.7.0 image with basic auth. With user testuser and password some_.-?passwORD
$ docker run --entrypoint htpasswd registry:2.7.0 -Bbn testuser some_.-?passwORD > auth/htpasswd

$ docker run -d -p 5000:5000 --restart=always  --name registry -v "$(pwd)"/auth:/auth -e "REGISTRY_AUTH=htpasswd" -e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" -e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd registry:2.7

Test login with docker login
$ docker login -u testuser -p some_.-?passwORD <IP_ADDRESS>:5000
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

Then add registry to Portainer.

Testing re-tag alpine:latest image and push to my own docker registry.

Delete image <IP_ADDRESS>:5000/alpine:latest and pull it again.

Image pulled successfully with auth password which having special character.

@ametdoohan I tried to replicate the issue on Nexus repository (which we use) and in docker registry (used by you).
Results for password:
some_.-?passwORD - pwd i thought would not work, but worked (my bad)

docker registry OK

nexus OK

aABO3_.-?22CDefe - pwd that really gave me problem (after changing just few characters for anonymization)

docker registry OK

nexus ERR

Failure
Get http://localhost:8082/v2/a/manifests/b: no basic auth credentials

aABO3_.-?22CDefe works with other applications like with docker, skopeo but not with portainer.

How to setup nexus environment:
docker run -d -p 8081:8081 -p 8082:8082 --name nexus -v nexus-data:/nexus-data sonatype/nexus3
docker run -it --rm -v nexus-data:/nexus-data sonatype/nexus3 /bin/sh -c "cat /nexus-data/admin.password; echo -e '\n'"
login with admin and given password from previous command
...

Enter Settings
Goto Repositories
Create repository - HTTP port 8082

Goto Users
Create user docker with pwd aABO3_.-?22CDefe and role nx-admin (email<EMAIL_ADDRESS>

Add registry in portainer with pwd aABO3_.-?22CDefe

Try to pull some image (it doesn't have to exist, tested also on existing image on our LIVE Nexus repository)

Okay, confirmed. When Portainer registry use Nexus docker private registry using aABO3_.-?22CDefe got error Get http://<IP_ADDRESS>:8082/v2/alpine/manifests/latest: no basic auth credentials
I have test several password using special character, here is the list:
some_.-?passwORD success
aABO3_.-?22CDefe fail
12345678? fail
12345678_.- success
qwerty? success
_.-?qwerty success
_.-?qwerty1 success
qwerty1? success
qwerty12? fail
qwerty2? success
qwerty22? fail
qwerty?22 success

I have conclusion if password using 2 or more digit number and followed by special character (especially question mark "?") then got error like this issue.

@ametdoohan thanks for taking a time to investigate the cause of the issue.

I wonder if this is related to something in the frontend, in how we store the value, or how we send it to the other side. (and thus I wonder if it applies to more than just registries)


Adjust alpha of dimmer

While the spinner is showing the View Controller behind the spinner is almost completely blocked out. An option to adjust the alpha on this dimmer screen would be greatly appreciated.

there is no dimming of the screen, SwiftSpinner uses Apple's vibrancy effect view which doesn't have any settings to adjust the effect.


Roll Engine from 1d537824d6d2 to 89c8b6e0efcd (16 revisions)

https://github.com/flutter/engine/compare/1d537824d6d2...89c8b6e0efcd
2021-02-13<EMAIL_ADDRESS>Roll Dart SDK from 6eafd1856eb5 to e9693f1b2401 (1 revision) (flutter/engine#24394)
2021-02-13<EMAIL_ADDRESS>Windows: linker compatibility with AppContainer for winuwp target (flutter/engine#24318)
2021-02-13<EMAIL_ADDRESS>Roll Skia from ba4c3086ba80 to 4f065e286df6 (2 revisions) (flutter/engine#24393)
2021-02-13<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from WIqUEANCH... to yyQmi032P... (flutter/engine#24391)
2021-02-13<EMAIL_ADDRESS>Roll Dart SDK from add1eac3622c to 6eafd1856eb5 (1 revision) (flutter/engine#24390)
2021-02-13<EMAIL_ADDRESS>Roll Skia from 6e73404a782c to ba4c3086ba80 (3 revisions) (flutter/engine#24388)
2021-02-13<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from YMY-cajLa... to AjjJVX_95... (flutter/engine#24381)
2021-02-13<EMAIL_ADDRESS>[canvaskit] fix Path.from (flutter/engine#24382)
2021-02-12<EMAIL_ADDRESS>Roll Skia from 2494942f0d8d to 6e73404a782c (3 revisions) (flutter/engine#24383)
2021-02-12<EMAIL_ADDRESS>Roll Skia from 3354f8c4f8cb to 2494942f0d8d (4 revisions) (flutter/engine#24380)
2021-02-12<EMAIL_ADDRESS>Fix vulkan surface leaks. (flutter/engine#24372)
2021-02-12<EMAIL_ADDRESS>Roll Skia from 28698696f1b3 to 3354f8c4f8cb (2 revisions) (flutter/engine#24378)
2021-02-12<EMAIL_ADDRESS>Roll Dart SDK from 1e0fec6e48cf to add1eac3622c (1 revision) (flutter/engine#24375)
2021-02-12<EMAIL_ADDRESS>[canvaskit] support adding leaf layers w/o container layers (flutter/engine#24357)
2021-02-12<EMAIL_ADDRESS>Roll Skia from ec24154521f3 to 28698696f1b3 (4 revisions) (flutter/engine#24374)
2021-02-12<EMAIL_ADDRESS>Replace Flutter surface only after all platform views are destroyed (flutter/engine#24363)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from YMY-cajLa0mb to AjjJVX_95iiT
fuchsia/sdk/core/mac-amd64 from WIqUEANCHaur to yyQmi032P5KL
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Fixing the unvisible elements within the navbar when the collapsible part is higher then the window height.

The reordering is not a must, but looks better for me.
Adding the flex: 1 to the .collapse and the overflow-y: auto solved the problem. So I removed the absolute positioned collapse button.

Well, I had reasons for all the things you changed. :)

The markup order of the toggle button is how standard Bootstrap expects it to be and since the one of our goals is to work as seamlessly with standard Bootstrap conventions as possible, I just followed the standard markup and forced it to the bottom with CSS.

I really doubt the right answer to vertical overflow is to show a standard scrollbar. It doesn't look very good and it messed up the layout, especially in collapsed mode. It would probably be preferable to have some kind of scroll buttons at the top and bottom of the list that appear only when needed. However, that would require some Javascript to implement and I thought it might be out of scope. We also don't know what it should look like. So I was planning to discuss that point with Houshang.

I see, it is in IE and Edge. Good point, thanks. Let's discuss and have a solution for this browser too.

Well, I had reasons for all the things you changed. :)

The markup order of the toggle button is how standard Bootstrap expects it to be and since one of our goals is to work as seamlessly with standard Bootstrap conventions as possible, I just followed the standard markup and forced it to the bottom with CSS.
I really doubt the right answer to vertical overflow is to show a standard scrollbar. It doesn't look very good and it messed up the layout, especially in collapsed mode. It would probably be preferable to have some kind of scroll buttons at the top and bottom of the list that appear only when needed. However, that would require some Javascript to implement and I thought it might be out of scope. We also don't know what it should look like. So I was planning to discuss that point with Houshang.

Per our discussion with the team, we will support touch and mouse wheel scrolling without any scrollbars. Closing this PR.


SleetSlashCommands are only properly registered if at the top level

If you have
const subcommand = new SleetSlashSubcommand({
  name: 'subcommand',
  description: 'desc',
}, {})

const command = new SleetSlashCommand({
  name: 'command',
  description: 'desc',
  options: [subcommand],
}, {})

const module = new SleetModule({
  name: 'module',
}, {}, [command])

Sleet will put commands to Discord correctly (/command subcommand) but will fail to route it since the command map will be keyed as module/command instead of the expected command because of scoping

fixed


remove llb.SessionID from Host.Directory for now

This is causing container hostnames to change on every run, causing caches to bust.
We tried changing Container.WithExec to only set a hostname if the container exposes ports, but that breaks two use cases:

Calling WithExec before WithExposedPort.
Using a container as a service without explicitly exposed ports.

We could stomach temporarily breaking the latter case, but the former case is probably pretty common, since that's what our docs show.
The impact of this change on the other hand should be pretty minor, only breaking the unannounced dagger do command, which is already being completely rearchitected such that we can probably approach the intended fix here in a different manner. (#5415)

I really feel like it's worth a quick shot at removing the need to set the hostname directly in WithExec while retaining backwards compatibility in the current service API.
If we leave in setting the hostname for all execs based on the unresolved LLB digest then we're leaving in all the other pre-existing problems it caused in terms of extra cache invalidations and just kicking the can very slightly down the road since the need to set session ID in local LLB is not going away.
Options for getting rid of setting the hostname in WithExec and instead setting it only on service execs (that don't involve huge radical changes):

A pb.Definition can be turned back into an llb.Definition and then unpacked into the individual pb ops for each op type. We can then update the hostname setting there and remarshal back to pb. This is not exactly" fun", but it's explicitly supported and done in a few places in buildkit's own code. We'd be able to do this anytime after WithExec is called
We already have the cacheMap  util which allows us to map ids->anything, so we could use that to store the mapping of ContainerID -> llb.ExecState for the container and then retain the ability to only set the hostname in LLB in the methods that spin up the service container.

I realize time is limited, so I'm not opposed to this PR as is if we need to get a release out and/or none of the above works out.

@vito I'll defer the decision to you since you since you know this part of the codebase better :pray:

If we leave in setting the hostname for all execs based on the unresolved LLB digest then we're leaving in all the other pre-existing problems it caused in terms of extra cache invalidations and just kicking the can very slightly down the road since the need to set session ID in local LLB is not going away.

The hostnames are removed entirely in #5322 so this seemed like the most expedient way to fix the regression without rocking the boat too much. At that point I figured we can bring the session ID back, if we need to. I wasn't sure if it would still be necessary with the new architecture, but it sounds like it would be.
If we can't trust LLB digests to be stable across sessions anymore we're going to need a new way to generate content-addressed hostnames, or a new way for containers to address each other. If I run a service based on a Host.directory with stable content (e.g. server config), client call sites shouldn't have their caches busted every time because of the hostname changing.
Maybe we'll just need to compute a hash some other way, ignoring certain metadata fields like the session ID?
Either way, I can take a look at both of those alternative approaches on Monday; sounds kinda fun!

Closing in favor of #5474


Templatize imagePullSecrets for NATS

What this PR does / why we need it:
Templatizes the variable imagePullSecrets.
The settings were already present in the README and the values.yaml/values-production.yaml file, but the actual template for it was missing.

/assign @prydonius

/assign @carrodher

/ok-to-test

/retest

/lgtm

/assign juan131

/ok-to-test
/lgtm


Reference arb implementation

This PR implements the ideas in this paper [pdf] for Helios.
The owner of the DEX can specify a token to collect profit on, a beneficiary (an account that collects arb profits), and a short list of arbitrage opportunities (c.f. paper). If this list of opportunities is non-empty, after every swap the contract will evaluate the opportunities and choose the one that results in maximum profit. If the profit is greater than 0 then arb trades are executed as if a flashloan was obtained (i.e. the beneficiary, on behalf of whom the trades are made, does not need to have the upfront capital to do the trades).
Gas-optimizations will come at subsequent PRs.
Algorithmic improvements so that not all opportunities are investingated are a subject of research. For example, if our opportunities only involve tokens A, B, C, D, but a trade involves swapping from E to F the contract need not spend any gas searching its opportunities.

This is bundling prettier changes with the PR. I will merge prettier changes first then open this again.


Connector Promotion uses RequestOperationType Create

What happened?
When promoting a connector it creates the Request type as a 'Create' operation but it should be a 'Promote' operation.
What did you expect to happen?
It should use the promote operation. So that when promote specific logic is needed it is easy to separate out the two types of requests.
What else do we need to know?
This appears in Version 2.0.0
There is a number of places that the logic will need to be updated to accommodate the change to Promote so this is not a simple change.

This was resolved in PR https://github.com/aiven/klaw/pull/1253


Provided code + weights for Vistas

I can not reproduce the 0.53 result on the validation set of the Vistas dataset. Could you please verify?
                           IoU   |  iIoU  |
             animal--bird:  19.0% |   2.8% |
    animal--ground-animal:   0.0% |   0.0% |
    construction--barrier:  10.6% |
       construction--flat:  21.0% |
  construction--structure:  40.7% |
            human--person:   9.4% |   1.7% |
             human--rider:  15.4% |   1.5% |
 marking--crosswalk-zebra:   4.2% |   0.7% |
         marking--general:   3.2% |
         nature--mountain:  12.7% |
             nature--sand:  24.8% |
              nature--sky:  66.9% |
             nature--snow:  18.7% |
          nature--terrain:   6.8% |
       nature--vegetation:  36.7% |
            nature--water:  16.2% |
           object--banner:   6.2% |   1.0% |
            object--bench:   1.1% |   0.6% |
        object--bike-rack:   0.0% |   0.0% |
        object--billboard:  11.4% |   2.7% |
      object--catch-basin:   0.1% |   0.1% |
      object--cctv-camera:   0.3% |   0.2% |
     object--fire-hydrant:   0.5% |   0.4% |
     object--junction-box:  15.0% |   1.2% |
          object--mailbox:   0.4% |   0.5% |
          object--manhole:   0.3% |   0.2% |
      object--phone-booth:  18.3% |   4.2% |
          object--pothole:   0.0% |
     object--street-light:   3.2% |   0.5% |
          object--support:  15.7% |   2.6% |
    object--traffic-light:   6.3% |   1.8% |
     object--traffic-sign:  10.8% |   1.7% |
        object--trash-can:   3.8% |   1.1% |
          object--vehicle:  12.4% |
          void--car-mount:  39.3% |
        void--ego-vehicle:   3.2% |

                      Avg:  12.6% |   1.2% |

               |       animal | construction |        human |      marking |       nature |       object |         void |
       animal: |        8.37% |       42.59% |        2.38% |        0.00% |       27.93% |       18.74% |        0.00% |
 construction: |        0.00% |       53.39% |        0.68% |        0.89% |       35.31% |        9.67% |        0.05% |
        human: |        0.00% |       39.78% |       19.81% |        0.05% |       32.55% |        7.71% |        0.11% |
      marking: |        0.00% |       44.86% |        0.92% |        4.94% |       35.71% |       13.49% |        0.08% |
       nature: |        0.00% |        3.15% |        0.01% |        0.00% |       95.37% |        1.41% |        0.06% |
       object: |        0.00% |       25.29% |        0.35% |        0.06% |       47.20% |       26.99% |        0.11% |
         void: |        0.00% |       52.48% |        0.57% |        3.74% |       22.06% |       15.35% |        5.80% |

                IoU   |  iIoU  |
       animal:   6.0% |   0.9% |
 construction:  47.0% |
        human:  10.5% |   1.6% |
      marking:   4.1% |
       nature:  67.6% |
       object:  15.7% |
         void:   5.6% |

          Avg:  22.4% |   1.3% |

Another thing that bothers me is that I do not see how dilation parameter defined as a Tuple in this line
https://github.com/mapillary/inplace_abn/blob/master/test_vistas.py#L206
is used in the network definition
https://github.com/mapillary/inplace_abn/blob/master/models/wider_resnet.py#L101

@ternaus we are double-checking the scores that we get with the test script and come back to you once we reproduce and solve the issue.
As for your observation about the dilation parameter, our code is indeed neglecting the dilation tuple, for the model assumes a boolean parameter, which switches between x8 and x32 downsampling as reported in the documentation of the WiderResNetA2.

@ternaus we found a bug that was introduced by the transition from our internal repo to the public one, which basically crops the image, so the prediction and the original image do not match. We are fixing this. In the meanwhile, I am wondering why you were reporting results for 35 classes instead of 65.

@ternaus I have fixed the cropping issue. I haven't checked yet what we get on test data, but we get 68.2% on the validation set.

@ternaus I confirm that the model we provide reproduces the published scores on the test set. It actually delivers slightly better results: 53.42%.


Create default initializers

Implement a default initializer and integrate it into the starter projects.
The initializer to be set as default is available at: normalize_path.rs.
In each of the starter projects, the implementation should resemble the following:
async fn initializers(ctx: &AppContext) -> Result<Vec<Box<dyn Initializer>>> {
    let initializers: Vec<Box<dyn Initializer>> = loco::initializers::default();
    Ok(initializers)
}

@kaplanelad Would you mind assign this issue to me please?

I would like to work on this, unless @yinho999 already started or still wants to work on it.
I don't want to yoink someone's issue :P

I would like to work on this, unless @yinho999 already started or still wants to work on it.
I don't want to yoink someone's issue :P

Go ahead @van-sprundel , I am currently working on another issue. Feel free to contribute!


disable deleting of DDSDynamicDataTypeSupport since it hasn't been unregistered before

+1

+1

+1

+1


[apptools-windows-test] Fix indentation error in comm.py

BUG=CTS-1719

Thanks for the fixing @r0b5t4 , merged.


Contributers Page

Resolves
Resolves #1
Changes
Adds the page and adds css
Tests
Works fine

i did ;-;


Use a ListView instead a Spinner for the string IDs

I tried to open Stringlate for a already translated language (danish, in this case), but the drop down list doesn’t seem to contain all string IDs, like title_activity_game or app_name:

Interestingly enough, when I created a new locale (in this case Russian), all IDs were listed.

Furthermore, I couldn't access the English (or default) locale, since this wasn't offered in the drop Selected locale drop down list.

Just a extra suggestion, layout wise: wouldn't it make more sense to use most of the screen for the Current string IDs, by replacing the drop down list with list view? One could then move the locale selection up into the action bar, and reserve some space at the bottom for all the stuff related to actually translating the strings. I believe this layout would make more sense for a new user, and would give a better overview of what has and hasn't been translated.
In case my description was too vague or you couldn't imagine it for some other reason, I'd gladly make a sketch for you.

Whew, that's a long description. Let's answer one by one.

[...] the drop down list doesn’t seem to contain all string IDs

app_name probably has translatable="false". These strings are not shown. In the case of title_activity_game, it was probably translated already. Strings that are already translated are not shown. You can show all the strings by tapping on "Show translated strings". If you have this check box ticked and still happens, please reply back!

I couldn't access the English (or default) locale, since this wasn't offered in the drop Selected locale drop down list.

Yes, default (usually English), since that is the default locale, you can't choose to translate to it, but rather use it to translate it. Again, check "Show translated strings" if you want to see all IDs.

[...] use most of the screen for the Current string IDs, by replacing the drop down list with list view?

I think that would make the activity way too big. Some applications have hundreds of strings, imagine scrolling up and down all the time when changing the ID and then back to the translation field!

I believe this layout would make more sense for a new user

Could you do a sketch? Maybe I don't quite see your point.

[...] and would give a better overview of what has and hasn't been translated.

Next version comes with a new progress bar for that, no worries :)

I'd gladly make a sketch for you.

You actually mentioned this later 😆, yes please make a sketch.

app_name probably has translatable="false". These strings are not shown.

I took a closer look at the code I was testing this with, and realized that app_name was translated in some languages, and wasn't in others, since the app name doesn't change from app to app.

Strings that are already translated are not shown. You can show all the strings by tapping on "Show translated strings". If you have this check box ticked and still happens, please reply back!

Yeah, this solved it. But all in all, this seemed to be an unintuitive way to present the strings, or at least confused me. This was on of the reasons I thought the UI could be "improved".

I think that would make the activity way too big. Some applications have hundreds of strings, imagine scrolling up and down all the time when changing the ID and then back to the translation field!

One could use a alphabetical scroll-helper, like contact-book applications usually use.
That's why I suggested that the translation panel would stay at the bottom of the screen, while one could navigate the list.

Could you do a sketch? Maybe I don't quite see your point.

I hope this makes the idea more understandable.
The part below the big blue dashed box, would be fixed, and wouldn't move with the scroll view.

this seemed to be an unintuitive way to present the strings

I thought hiding the strings that already had a translation would make it easier to translate only those which don't have a translation. If any had a typo, you could always enable the "Show translated strings". Should I leave README.md clearer perhaps? Any other option?

That's why I suggested that the translation panel would stay at the bottom of the screen

Ah, you meant to let it be a "sticky" view. I wonder if this would cause issues on very large strings which make both the original string and translated string EditText's very large.

[Sketch]

What would happen when 1. the keyboard is shown and 2. you're translating a very long string? Without these two points, it does look nicer. A ListView like the one you drew being animated into a single item showing the current string when the keyboard is open would be a bit overkill, wouldn't it?

Should I leave README.md clearer perhaps? Any other option?

Either in the README or in some other introduction manual. Alternatively it could also be mentioned in a first-instalation popup, or something like that.

Ah, you meant to let it be a "sticky" view. I wonder if this would cause issues on very large strings which make both the original string and translated string EditText's very large.

the keyboard is shown

In this case, I'd imagine that the ListView would either "disappear" or just set it's hight to 0 (ie. the ListView would have some kind of a minimal hight). The result would be that while they keyboard is opened and the screen can't display both translation panel & string list, that only the translation panel would be shown.

you're translating a very long string

One could either make the translation panel scrollable, or (what I think would be the better idea), one could add a button to start a new translation activity just for this one strings. I'd imagine this button to be some kind of a "maximize" icon, in the upper-right corner.

A ListView like the one you drew being animated into a single item showing the current string when the keyboard is open would be a bit overkill, wouldn't it?

Generally yes, but I'd say it also depends on the screen dimensions. A tablet or a maybe even a bigger phone would maybe fit both on the screen.

I'll take some time to think how it could be done in a nice way.

If you still have doubts about how "Show translated strings" works @phikal, you can now check the new help section I've just added.

I would like to discuss this a bit more @phikal.
I was thinking that perhaps we could even animate some elements, such as the ListView itself, the EditText's, and let the other elements fade away when the keyboard is shown. However:

This animation would not be available on < 5.0 devices.
There is not a "real" way to detect the keyboard being shown. Solutions out there "cheat" by calculating the difference of height. Not so reliable. Also, some keyboards may have really weird shapes.
Due to the above point, maybe it was better to simply set some height value to determine when the layout should change. But what value should this be? Only one item visible on the ListView? What if it's one and half, which is annoying to scroll on? How shall it behave on screens with different dp's?
I'm not really sure how maintainable this would be, the Translate activity is already over 700 lines of code and there even isn't so many things in it! (700 might not be that much, but animating so many things doesn't sound easy anyway).
I personally don't like scrolling on EditText's, selecting text is a bit hard on phone devices.

Something else I wanted to do was to add the ability to search for a string ID, or maybe even its contents (say to fix a typo). Here is where a ListView would really come handy. And I did like your sketch.
How would it be to have another activity based on two fragments (just like the main activity), but without the tab names shown (to have more space). Left fragment as is, and right fragment your ListView + some search. All strings shown by default (maybe some different background color to indicate whether it's been translated). To change between the fragments, you would simply swipe. This is something users should discover, or maybe some hint for the first time (although I don't know where it could be shown).
Thoughts? Ideas? Thanks in advance!

Could you explain what exactly you mean with "animate"?

There is not a "real" way to detect the keyboard being shown. Solutions out there "cheat" by calculating the difference of height. Not so reliable. Also, some keyboards may have really weird shapes.

I'd say there is: checking if the EditText view has focus or not? Or could this go wrong?

But what value should this be? Only one item visible on the ListView? What if it's one and half, which is annoying to scroll on? How shall it behave on screens with different dp's?

One could maybe calculate the hight of the child views within the list (within the Java code that is), and then specify a minimal amount of items. Then you'd have something like if (heigh(listView) < 48dp * 3) ....
But if one would use the focus method, this question would rather be relevant in the opposite situation: how many elements should still fit on the screen, to display them even if the the keyboard it shown.

I'm not really sure how maintainable this would be, the Translate activity is already over 700 lines of code and there even isn't so many things in it! (700 might not be that much, but animating so many things doesn't sound easy anyway).

One could use Fragments or generally split the code into multiple classes/files. But I haven't looked at the code yet, so I can't really say anything for sure.
I believe the Focus method would require far less code and would cause less maintenance problems.

How would it be to have another activity based on two fragments (just like the main activity), but without the tab names shown (to have more space). Left fragment as is, and right fragment your ListView + some search.

Personally, I've never been to much of a fan of having tabs for connected a task like this, and I'm not sure if this would match the Android guidelines? Wouldn’t it make more sense to have an own activity (with swiping) or a quick pop-up? But that's just my opinion.

This is something users should discover, or maybe some hint for the first time (although I don't know where it could be shown).

Don't some application have this tutorial function when started for the first time, guiding the user through the usage? I've never found out what library they use for this, so I'm not sure how easily this could be done.

Could you explain what exactly you mean with "animate"?

By "animate" I mean a transition. Basically seeing the element move across the screen. Not letting it happen instantly.

checking if the EditText view has focus or not?

That's actually simpler, and it wouldn't really matter if the keyboard is not shown yet or whatever. EditText focused = more space.

I believe the Focus method would require far less code and would cause less maintenance problems.

Yes, agree, I like that.

I've never been to much of a fan of having tabs for connected a task like this

Think of it as a way to search for strings, rather than simply displaying available ones (which is already done on the Spinner).

or a quick pop-up?

Spinner is sort of a pop-up already; just that it doesn't fill the whole screen.

Think of it as a way to search for strings, rather than simply displaying available ones (which is already done on the Spinner).

Spinner is sort of a pop-up already; just that it doesn't fill the whole screen.

^^ I was referring to the whole setup, or at least they way I understood it (but I'm not sure I imagined in correctly, but nevermind). I also think a search function + the list view would help the user to orient themselves.

(but I'm not sure I imagined in correctly, but nevermind)

alwaysmind, here you go:

Ah, ok this makes sense. I thought you were thinking of tabs like in the main activity. Meaning that one would have to swipe left and right all the time. I suppose that on tablets or bigger screens one would then be able to place both next/under eachother?
And can I ask what the three squares are representing on the

I thought you were thinking of tabs like in the main activity.

I did, just not showing the tab names (so that part is hidden).

I suppose that on tablets or bigger screens one would then be able to place both next/under eachother?

I have never worked on "dual" layouts for both phone and tablet, but I've seen Telegram screenshots for tablet devices and the ListView could be on the left being the right side for the translation process.

And can I ask what the three squares are representing on the

Previous, Save and Next buttons. Didn't fill in the labels.

@phikal feedback?

I tried to convert the Translate activity to a fragment. It works. But it's been a pain and if I rebased the changes then I would have to fix quite a few conflicts. If anyone wants to have a dual panel for tablet devices, then they can implement it; fragments are horrible!
This is going to be an Activity which gets fired when you press Search on the Translate activity. Then you can enter a search term, look for the string you want, select it and go back to the translation process.
Maybe a slightly larger font for the values?

feedback?

Overall it looks great, but I'll note two things that caught my eye:

The search area has something wierd to it... Maybe it's the magnifying glass, or the fact that there is no clear border towards the ListView/the action bar has no use (at least in this screenshot)... I personally would have used those search functions built into the action bar, but that would be weird in, since "This is going to be an Activity which gets fired when you press Search on the Translate activity". Maybe one could launch the search function with the activity itself?

The items withing the ListView either aren't using up their space efficiently, or should be centered vertically. The fact that there seems to be more padding on the top, than on the bottom, just seemed wired, and stuck out. Furthermore, how do these Items scale to longer translations? Finally, I'd question why the left hand translation "gives in" the the String ID? Some of these (like apps_repo_not_downloaded) could be using up too much space, while the original string can't be displayed.

fragments are horrible!

I know ^^

This is going to be an Activity which gets fired when you press Search on the Translate activity. Then you can enter a search term, look for the string you want, select it and go back to the translation process.

So what does the Translate activity contain as of now?

Maybe a slightly larger font for the values?

I don't think this is necessary, I'd rather try something like what I mentioned in the second point above.

or the fact that there is no clear border towards the ListView

Yeah it would look better with some margin.

I personally would have used those search functions built into the action bar

Nah, let's reserve that for a spinner containing the locales as you sketched. I liked it.

Maybe one could launch the search function with the activity itself?

What did you mean?

The fact that there seems to be more padding on the top, than on the bottom

The padding is now the same, more or less. I don't know why there is no such thing as ?attr/listPreferredItemPaddingTop, as there is for Left and Right

Furthermore, how do these Items scale to longer translations?

It's a single line, so the text is trimmed and ... placed at the end.

why the left hand translation "gives in" the the String ID?

Maybe the string ID should be on the bottom below the translation and gravity="end"?

So what does the Translate activity contain as of now?

Same as before, but with a new super fancy white search button which you can tap as many times as you want!

Whew, those were big changes. I know this isn't exactly what you had in mind, but I'm happy with the result so thanks for the idea :)


Updating private link documentation for Azure Automation.

The Set public network access flags section needed the property publicNetworkAccess to be set to false instead of true.

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

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


⚠ Bofrost.de has degraded performance

In 7f1a7a1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2023 ms

Resolved: Bofrost.de performance has improved in 00b6fef after 309 days, 15 hours, 55 minutes.


Search function failed

Why can't I search?

but, http://localhost:1313/  can work well

Hi, @ilyusha71
This is the same issue as #214. Check their solution and it will fix it for you as well :)

Hi, @ilyusha71
This is the same issue as #214. Check their solution and it will fix it for you as well :)

thank u
I find the my mistake
and solved
my config.toml
baseURL = "http://ilyusha71.github.io/"
fix
baseURL = "https://ilyusha71.github.io/"
ref
https://segmentfault.com/q/1010000005872734

its better this baseURL="/"
work locally and online


deliver download_screenshots weird naming

why are the names like 1_iphone6_1? why do we need the sordOrder twice?
https://github.com/fastlane/fastlane/blob/master/deliver/lib/deliver/download_screenshots.rb#L19

it's not needed fastlane-bot. thanks though :)

an answer would be nice. unless Boone knows and we can simplify?

maybe I can do a pr to make it simpler.

This actually looks a bit like a bug. Before a rewrite 3 years ago, it looked like this:
https://github.com/fastlane/fastlane/blob/6023cf252e487c8836ca06fb854f0cd2f99464ee/lib/deliver/download_screenshots.rb#L18
Which was then changed to this:
https://github.com/fastlane/fastlane/blob/7319398ccd84e34e70d3a964f211244251946743/deliver/lib/deliver/download_screenshots.rb#L19-L21
in this commit: https://github.com/fastlane/fastlane/commit/181df092e92f5719613fbaa26d940941e9e55af6
Probably the new ITC mentioned in the commit message didn't include a useful original_file_name any more (Do you maybe remember @KrauseFx?) and while changing that, the sort order snuck in twice.
I think it would be great if you could create a PR @pvinis.

File.basename also doesn't return the extension, as the code implies - it return everything behind the last folder separator (/) which causes strange filenames like this:
1_iphone6Plus_1.ftl_403370b4ce0bf506dd2a492c323b4386_08e7e94336e2a3494e12589e0facdcd3.png

These super strange filenames when downloading seem to be from a specific era, recent screenshots have their nice filenames again like 3_ipadPro_3.iPad Pro (12.9-inch)-2-details.png.


ICSR (Interrupt Control and State Register) register is missing

This is effectivley preventing the use of PENDSV interrupts, which are quite commonly used by Real-time operating systems
See Interrupt Control and State Register

Fixed & released as 0.14.9


Remove usage of assume_checked()

Follow-up to #2356
Bitcoin v30 introduced the concept of checked and unchecked addresses. While migrating over from v0.29 to v0.30, I called assume_checked() wherever necessary to make the compiler happy. Now that the migration is complete, we should remove these calls and instead use require_network().
Edit: See this comment in the changelog for bitcoin v0.32.0 which indicates that the work here might not be that important.

@tvolk131 can you add more context to this, i want to work on it,
kindly assign

can you add more context to this

Sure! We currently rely on the rust bitcoin crate v0.30.2. In this version and all newer versions (for now), the Address type has a NetworkValidation generic parameter attached. The purpose of this is to ensure that bitcoin addresses from the wrong network are used (e.g. we don't want to accidentally send mainnet funds to a testnet address). Whenever addresses are deserialized (received over the wire, loaded from disk, etc...) they are unchecked. They can become checked either by calling assume_checked() or require_network(). Currently we're calling assume_checked() everywhere since it's easier. But it's unsafe since we're not actually verifying that the address belongs to the correct network. We should instead call require_network() to assert that all bitcoin addresses used belong to the same network that the federation is running on.
Let me know if there's any else I can help you with!

awesome, where is the require_network() function coming from ?

I linked to it in my earlier comment

i completed the work, everytime i try to add a commit message i get the following error
 .git/hooks/pre-commit: line 170: parallel: command not found
@tvolk131  can you help here

i completed the work

Awesome, thank you!

everytime i try to add a commit message i get the following error

It looks like your command terminal isn't running in Nix. Have you taken a look at the Local Development section in the README? You'll need to install Nix if you haven't already:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Then anytime you open up a command terminal you'll run nix develop to enter the nix environment in that terminal. The first time you run this will take a while (~1 hour IIRC).
Let me know if you run into any trouble. I'm happy to jump into a voice call and help debug!

@tvolk131 what does this mean
Skipping semgrep check: not available
     Locking 0 packages to latest compatible versions
note: pass `--verbose` to see 257 unchanged dependencies behind latest
Diff in /Users/macbookpro/Documents/bitcoin-open-source/fedimint/devimint/src/external.rs at line 221:
         let tx = self
             .wallet_client()
             .await?
-            .send_to_address(&bitcoin::Address::from_str(&addr)?.require_network(), amount)
+            .send_to_address(
+                &bitcoin::Address::from_str(&addr)?.require_network(),
+                amount,
+            )
             .await?;
         Ok(tx)
     }

the precommit stop at the first first file changes

The git precommit hook checks to see if the rust code is formatted properly. It's suggesting you turn the line with the - into the several lines with the +s. Likely you can run cargo fmt to fix this.

oh
cargo fmt
i see

@tvolk131
require_network()
require network to be pass as an argument in the function
can you point me to the Enum that contain all the different network, we currently support

@tvolk131
require_network()
require network to be pass as an argument in the function
can you point me to the Enum that contain all the different network, we currently support

i found this helpful
https://docs.rs/bitcoin/0.30.2/bitcoin/address/struct.Address.html#parsing-addresses

am getting the following errors when i ran
just check command

error[E0658]: use of unstable library feature 'lazy_cell'
  --> fedimint-bitcoind/src/lib.rs:14:22
   |
14 | use std::sync::{Arc, LazyLock, Mutex};
   |                      ^^^^^^^^
   |
   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
  --> fedimint-bitcoind/src/lib.rs:50:30
   |
50 | static BITCOIN_RPC_REGISTRY: LazyLock<Mutex<BTreeMap<String, DynBitcoindRpcFactory>>> =
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
  --> fedimint-bitcoind/src/lib.rs:51:5
   |
51 |     LazyLock::new(|| {
   |     ^^^^^^^^
   |
   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
  --> fedimint-bitcoind/src/lib.rs:51:5
   |
51 |     LazyLock::new(|| {
   |     ^^^^^^^^^^^^^
   |
   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

@tvolk131

Are you using an up to date (master) nix dev shell? The dev shell contains the rust toolchain of the correct version and a bunch of native dependencies and helper programs you'll need. This sounds a lot like you are using some other rust toolchain that you manually installed via rustup or your OS's package manager.


feat(ssr): allow session to be used in ssr

You can now use withSession in getServerSideProps functions, like this:
export const getServerSideProps = withSession(async function({ req, res }) {
  const user = req.session.get("user");

  if (user === undefined) {
    res.setHeader("location", "/login");
    res.statusCode = 302;
    res.end();
    return;
  }

  return {
    props: { user: req.session.get("user") }
  };
});

Hi @hoangvvo and @sandys, here's an example SSR page that can access the session data. I think it's pretty elegant the way it is, it's the same withSession from API routes but for SSR ✨
https://github.com/vvo/next-iron-session/pull/23/files#diff-fe519a57bbfeee4a8da7fe9b7db660bb
Before I move further, since you two were interested into this, let me know what you think!

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


LDPlayer Cant use FancyZones

Hello , i really love the powertoys
But when i use LDplayer for FancyZones , the zone is not appear and didnt resize or anything at all..
I already try with shift key and use non primary mouse button to activation but still didnt work..
and it works on other application like google chrome and other windows apps..
Please help and thank you

https://www.ldplayer.net/ is what you're talking about?

Yes it is , the resize toggle didnt appear.. Same as bluestack

@enricogior can we get someone to look at this in the 0.35 timeframe?

@crutkas
we can investigate it but I suspect it's the same problem we have with VMWare and Hyper-V.


Refactor NodeManager constructor

Currently NodeManager::create function takes 10 arguments. It's time to move those arguments into into one or few structures
https://github.com/build-trust/ockam/blob/92943069471cd6eface5bf0e64be5531394ded09/implementations/rust/ockam/ockam_api/src/nodes/service.rs#L136-L151

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels -  https://github.com/build-trust/ockam/labels/good first issue or https://github.com/build-trust/ockam/labels/help wanted

Hi, @SanjoDeundiak. Do you think this is a good-first-issue candidate? I'd like to give this a go if so.

@vncsalencar I think so. Go ahead an give it a try, if you get stuck, please don't hesitate to ask questions, we're here to help.


remove missing commands from being contributed to the command pallette

Was giving me warnings when opening the extension in debug mode.

After re-reading this, it looks like it was trying to suppress the context options from appearing in the command palette? If so then this should be fixed to list all 4, instead

Yes, I believe the intent was to suppress those commands according to this commit description. It seems the addition of OSSCS may have broken it and we should be listing all 4 commands.


changed go cdk enabled to true by default

PFS-182

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Can you adjust this file to use cdk?
https://github.com/pachyderm/pachyderm/blob/master/src/internal/kindenv/pachyderm-values.json
Test with bazel build //src/testing/pachdev push.
Also, CI uses minio, so that will need to be adjusted as well: https://github.com/pachyderm/pachyderm/blob/master/src/internal/minikubetestenv/deploy.go#L243


runtime/trace: Tracing error when catching SIGINT

What version of Go are you using (go version)?

$ go version
go version go1.19.4 windows/amd64

What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=auto
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\jeremies\AppData\Local\go-build
set GOENV=C:\Users\jeremies\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\jeremies\Documents\Perso\Trunk\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\jeremies\Documents\Perso\Trunk\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.19.4
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\jeremies\AppData\Local\Temp\go-build511942346=/tmp/go-build -gno-record-gcc-switches

What did you do?
I am trying to trace my golang program. Here is the code I used to produce the error
package main

import (
	"fmt"
	"os"
	"os/signal"
	"runtime/trace"
	"syscall"
)

func main() {
	f, err := os.Create("trace.out")
	if err != nil {
		panic(err)
	}
	defer f.Close()

	err = trace.Start(f)
	if err != nil {
		panic(err)
	}
	defer trace.Stop()

	// random stuff
	a := 0
	for i := 0; i < 10; i++ {
		a += i
	}
	fmt.Println(a)
	// end random stuff

	sigint := make(chan os.Signal, 1)
	signal.Notify(sigint, syscall.SIGINT)

	<-sigint // this creates the problem
}

Then I used the cmd/runtime tool but I get the following error :
$ go tool trace trace.out
2023/01/04 12:49:43 Parsing trace...
failed to parse trace: no consistent ordering of events possible

If I remove the signal catching part of the code, the tool works fine. Is this a normal behavior ? I find it weird that catching a sigint causes this. Is there a way to fix this ?
Thank you
EDIT: From what was tested, this problem only occurs on windows (i have tested it on windows 10 and 11). I also tried to use os.Interrupt, syscall.SIGTERM instead but it does not help.

/cc @mknyszek

Sorry for the lack of update. I am working on the tracer in general, and I'm keeping this issue in mind. I haven't looked into this problem specifically yet, but it's possible this will be resolved as part of other work on the tracer. I'll double-check this as I get further along. Thanks for your patience.


New generation on rebuild?

Describe the bug
I need to run nixos-rebuild switch --flake '/etc/nixos#myvm'  to get a new boot loader generation at boot.
To Reproduce

nix-shell
rebuild vm switch
here constat at boot there is no new generation (EFI boot loader != grub)

Expected behavior
I'm new to nixos, i try to understand all the mecanic. Using some simple receipe, give me a new generation at boot on each switch but with nixflk i feel i need to rebuild myvm switch and `nixos-rebuild switch --flake '/etc/nixos#myvm'.
Additional context
Is-it normal? Maybe i missunderstood something?
Thanks for this project 👍🏻

I haven't had this issue. What boot loader are you using?

Hi, I'm using bootctl, while, i find some others dotfiles using Nixflk where guys do the same, first use the 'rebuild host switch', then 'nixos-rebuild switch'.
Any idea ?
Thanks

The problem is the -E flag being passed to sudo in the shell.nix. I'm opening a pr to remove it and it should fix the issue.

Thanks you I will retry.


Figure out why none of the Kirby Superstar spc's play

This is super strange.

I'm actually suspecting it's because the echo unit is overwriting player code. Need to test thoroughly.

Seems to also be a problem with songs from Top Gear and Metroid Prime.

Interestingly enough, all of these tracks DO work in the original C++ version (however some kirby tunes actually crash the emulator, haha). I suspect it's a problem that crept in when porting the SMP code.
As for the kirby tracks (particularly the title track) crashing the origin C++ emu, I'll make sure to test thoroughly after this issue is fixed and make sure it doesn't happen in this project. My gut feeling is it won't :)


Why are the results of line_search_1 and those of line_search_2 different?

line_search_1 and line_search_2 returns different step size over the same input:
from scipy.optimize import rosen
from scipy.optimize import rosen_der
from scipy.optimize.linesearch import line_search_wolfe1
from scipy.optimize.linesearch import line_search_wolfe2
line_search_wolfe1(rosen, rosen_der, np.array([-1, 1]), np.array([4, 0]), np.array([-4, 0]))[0]
0.0016750668056533036
line_search_wolfe2(rosen, rosen_der, np.array([-1, 1]), np.array([4, 0]), np.array([-4, 0]))[0]
0.5
How can I parametrize line_search_2 to make the results equal to line_search_1?

These are not publicly-documented functions, so I'm afraid we can't offer official support. A maintainer familiar with these functions is welcome to respond, of course, but I don't think we need to keep the issue open.


[BUG]  enumType need be part of global symbols.

Describe the bug
Currently enum members are part of global symbols. But we need switch that logic. But still we need be sure that we have check for C for members.
To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

OS:
eRPC Version:

Steps you didn't forgot to do

[ ] I checked if there is no related issue opened/closed.
[ ] I checked that there doesn't exist opened PR which is solving this issue.

Additional context

Not an issue


Bug depreciation

Summary
Just forget to declare the logs_depreciation before using it ...
Details and comments

@IceKhan13 totally forget that ^^'


[SPARK-20281][SQL] Print the identical Range parameters of SparkContext APIs and SQL in explain

What changes were proposed in this pull request?
This pr modified code to print the identical Range parameters of SparkContext APIs and SQL in explain output. In the current master, they internally use defaultParallelism for splits by default though, they print different strings in explain output;
scala> spark.range(4).explain
== Physical Plan ==
*Range (0, 4, step=1, splits=Some(8))

scala> sql("select * from range(4)").explain
== Physical Plan ==
*Range (0, 4, step=1, splits=None)

How was this patch tested?
Added tests in SQLQuerySuite and modified some results in the existing tests.

Test build #75900 has started for PR 17670 at commit 18360ff.

Test build #75900 has finished for PR 17670 at commit 18360ff.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/75900/
Test PASSed.

I think the change should rather be here where the built-in table-valued function range is resolved.

@gatorsmile WDYT?

As @jaceklaskowski said, it would be good to fill numSlices in the rule ResolveTableValuedFunctions, if it is None.

okay, I'll fix soon. Thanks!

Looking around the related code, I think we cannot easily set defaultParallelism inside catalyst.plans.logical because there is no obvious way to access SQLContext there. So, IIUC, we cannot easily set the value at numSlice in ResolveTableValuedFunctions . Another approach to share the default Range numSlice of SparkContext APIs and SQL is that we do not set the default value in SparkSession and we set the default value in RangeExec for both cases. Thought? @jaceklaskowski @gatorsmile

Test build #75971 has started for PR 17670 at commit a65d5c6.

Ok, I am fine to keep the existing way.

LGTM except a comment.

Test build #75974 has started for PR 17670 at commit e940c6f.

better to open another pr to backport to v2.2?

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75974/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75971/
Test FAILed.

Jenkins, retest this please.

Test build #75975 has started for PR 17670 at commit e940c6f.

Test build #75975 has finished for PR 17670 at commit e940c6f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75975/
Test PASSed.

Merged build finished. Test PASSed.

ping

Thanks! Merging to master/2.2


Rename Leptos config options to kebab-case via serde, instead of replacing characters

Is your feature request related to a problem? Please describe.
My app is using a bigger config file, which contains a member of the leptos::LeptosOptions type. The config is serialized as a .toml, which adheres to the kebab-case naming convention. Since leptos::LeptosOptions does not use #[serde(rename_all = "kebab-case")], if I want to deserialize it, I would need to specify all Leptos options I set under the snake_case.
Describe the solution you'd like
Add #[serde(rename_all = "kebab-case")] to the leptos::LeptosOptions struct. This can be easily done by modifying the this line.
// ...
#[derive(TypedBuilder, Debug, Clone, serde::Deserialize)]
#[serde(rename_all = "kebab-case")]
pub struct LeptosOptions {
// ...

This would also lead to not needing to replace '-' characters in the entire config file.
Describe alternatives you've considered
Duplicating the Leptos config options in a struct I own, using the rename method and implementing From<T> to allow conversion to leptos::LeptosOptions. This seems however a bit meaningless, since Leptos already uses kebab-case, just not in a manner in which it could satisfy my use case.
Additional context
Example of my config.toml:
log-level = "Debug"
application-address = "<IP_ADDRESS>:3000"

# ...

[leptos]
output-name = "my-awesome-app"
# ...

My config.rs:
#[derive(Deserialize)]
#[serde(rename_all = "kebab-case")]
pub(crate) struct Config {
    #[serde(default = "default_application_address")]
    pub application_address: String,

    #[serde(
        default = "default_log_level",
        deserialize_with = "deserialize_log_level"
    )]
    pub log_level: Level,

    pub leptos: LeptosOptions,
}

Yes, I'd love to contribute! Should I have any concerns in mind while implementing this? Ie do any tests, other areas of serialization depend on the current behaviour?

If you run it against a couple of the examples directory or templates (say, examples/todo_app_sqlite and the start-axum-workspace template) with cargo-leptos build and it builds, it should be fine. But I'll make sure to do some testing on my end too.


Update Task Heartbeat to include Job_id

Summary of the Pull Request
What is this about?
I made some quick tweaks to include job_id in the task_heartbeat logging.
PR Checklist

[x] Applies to work item: #546
[ ] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Includes changes to the task_heartbeat struct to inlcude job_id.
Validation Steps Performed
How does someone test & validate?
Integration tests.

Running integration tests


Doc: Update readme

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 82.543%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1149

Relevant Lines:
1392

💛  - Coveralls


[Script sharing] Rephrasing sharing intro

Fixes #303.

Docs Build status updates of commit 1f175de:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/excel.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add/adjust for 3rd log sync group audit_data_users in the tfvar

audit_data_users is now the 3rd group that needs editing as a result of
I have a ready patch - I just need PR write access
https://github.com/canada-ca/accelerators_accelerateurs-gcp/blob/main/deployment-templates/Terraform/guardrails/1-guardrails/variables.tfvar.example#L1

working - PR eta - EOD


Add closed property to Line2D

Closes https://github.com/godotengine/godot-proposals/issues/4330
Also helps some of the use cases in https://github.com/godotengine/godot-proposals/issues/1126
Simplified Line2D's codebase a bit, as it reinvents a bunch of wheels for no reason (or maybe Line2D is very old and the wheels were invented later). This could help in a potential future rework of these files, which have lots of TODOs comments.

(the fact it's not representing the gradient properly is unrelated to my PR)
Test project I'm using
PuttingLine2DThroughIntenseTrials.zip

Looks like you referenced wrong issue👀

Ah, sorry, I put in an issue instead of a proposal. Bugsquad fixed it for me.

Added a test project I'm using.

Addressed the concerns, but this is a tougher nut to track than I thought. Putting as draft for now.

p.s. Can I please combine the line_builder and line_2d files? I don't see a reason to not have LineBuilder as a member of line, it's created on every redraw. Or even just as private methods in the Line2D.

Potentially a good idea but I'd suggest not complicating this PR and making it only add the new closed feature. Code refactoring could be done separately in another PR. Simpler for reviewing, tracking potential regressions, etc.

Well, aside from transparent stuff being all messed up in Bevel and Round joint mode, it works.

Yeah I pointed this problem out a little above, I'm actually trying to solve it again right now.

Transparency issue FIXED

Hmm, this is complex, unlike with gradients going suddenly from end to start, I can't just shrug off a sudden transition of the width curve and need to brainstorm some extra logic to make them work nicely.

While at it, I also want to try to somehow display the closure line when the Line2D is selected, maybe with a dashed line. But it's a bit challenging because it seems to be in the abstract polygon editor

Indeed it's not correct for bevel/round when using width curve:

no width curve
width curve

How do I even make sure they connect neatly? It's like meant to be a sharp transition from smol to huge.

Ah I think I figured out how.

Patched it up, I hope it's bug-free now.

Fixed the Line2D not being able to be selected via the closing segment

Patched it up, I hope it's bug-free now.

I've tested the latest revision of this PR and can still reproduce the issue I mentioned in my above review.

Can't reproduce it anymore, but I was testing it on my own project. I'll download yours now to see what's going on. According to my math, adding a quarter of the width difference to the end of the closing segment should've fixed all problems.

Downloaded it, and huh. Back to the drawing board.

The connection is now always done properly and I fixed my crash.

Yeah, I've made a test suite for this, and it seems like what I did addressed the exact issues in Calinou's and my test curve, and everything else is still upset.
I've made a test suite and I'll re-do my calculations later today, but at this rate I'm not terribly sure if I'll manage.

I'm close to figuring it out.
I actually can't believe I found use in the Ruler.

I got pretty close:
https://github.com/godotengine/godot/assets/85438892/cb030442-3746-4373-af4b-193d4d301732
Not quite there though.

Fixed!
 But with a width curve, this looks like a joint is hanging in the nothing, even though it's actually a continuation from the last line.
Looks like intended behavior to me, just it's pretty janky so I thought I'd point it out in case someone reports it. I'll push my fix in a lil' bit.

The fix is pushed.

OK, there's some more work to do then before this is passable. Will try again this evening.
Bevel and Round use the same logic essentially except for the joints, so I'll see what I need to change to address both.

Sharp is obviously bugged, but could you pass me a .tscn where you got your line to glitch out? @Calinou

See the two scenes in this project: test_pr_79182_2.zip

Fixed the sharp case.

OK! Fixed again. And I'm impressed by how well it works now.

It works great now, thanks :slightly_smiling_face:
There is a peculiar situation that can occur at extreme angles, but I'm not sure if it can be fixed:

In this example, it can be fixed by tweaking the width curve to be "seamless" by reducing the final point's width. Just something to point out, I don't think it's an issue with this PR.

This behavior looks correct.

Sharp joint mode is the absense of a joint; I think the first issue you've brought up surrounds something I basically threw on how to implement: Whether the joint that connects the last line to the first should be the first thing drawn or the last. I made it the first, although I'm now thinking maybe it should be the last.
What you point out to be a broken UV, if I understand you correctly, are actually the leftmost pixels of Godot.svg, since it's the first joint and the line has not yet started (?)

Sharp joint mode is the absense of a joint; I think the first issue you've brought up surrounds something I basically threw a coin on how to implement: Whether the joint that connects the last line to the first should be the first thing drawn or the last. I made it the first, although I'm now thinking maybe it should be the last.

What I'm suggesting is that the joint at the first point should be handled as half-joints at the start/end, not as the whole joint either at the start or end. So the start/end seam would go thought the first point / middle of such joint:

What you point out to be a broken UV, if I understand you correctly, are actually the leftmost pixels of Godot.svg, since it's the first joint and the line has not yet started (?)

Oh, my bad! It's already like what I've suggested as a potential meh-fix (:man_facepalming::smile:):

But what I'm suggesting with 2 half-joints is that the texture seem would go through the middle:

Well, I added the following to the docs of the new property:

Note: The joint between the closing segment and the first segment is drawn first and it samples the [member gradient] and the [member width_curve] at the beginning. This is an implementation detail that might change in a future version.

Performance is good and there are no regressions.

Nice catch, I didn't test if my changes fixed the above but I can't see why they wouldn't

Thanks, this PR was lots of fun! ~Except for the part where width curves bullied me~

Thanks!


Small update since there is a bower.json.

I'm guessing this should be part of it? I could be wrong, but figured I'd add this (also wanted to test my setup, so here we are).

Bower is mentioned in the package.json, so it should be getting installed as part of the npm install command. Were you seeing issues?
If bower is only installed in the local node_modules directory, and not globally, I know that you won't be able to run a bower command without referencing the full path, e.g. node_modules/bower/bin/bower install. My attempt to take care of this was to have the npm install also do a bower install.
If that's not sufficient, then this change is spot on.

You know, I think I just made an assumption based on the WWT environment about needing to pair a bower install with an npm install whenever you had a repo with both. Yay for learning experiences! More importantly, now I know how to contribute! Excellent.

Awesome! I'm looking forward to clicking the merge button on a PR from you!


How to get lat long of userlocation from mapbox

i just updated my {N} and now my project wont get my current location using {N} geolocation, which worked before updating, but Mapbox shows and tracks userlocation without location, but to set center or to animate camera is now a problem, am very positive it's got to do with {N} geolocation, Now how do i use Mapbox's own userlocation as latt and long?? @EddyVerbruggen

same request for me! now I'm using the geolocation in background for another use and then load the last position from db; but it could be nuce to have the lat/lon from mapbox if possible!


🚀 [Feature] Backend: Close BBB room

🚀 Feature
We want the backend to call the BigBlueButton API to close room, create mutation to close room.
🤖 ToDo

[ ] Create mutation to close BBB room

Is done by BBB with the garbage collector


Blague Elvige Pull Request

Humour

This change is

Hello Elvige glad to see, you're jumping into it.
Unfortunately, this is not a joke about animals, I can't accept it. But you seem to have master the whole process.
Take ideas in issues, if you want.


Reorder New Resource Fossil Collection Event list

[x] Start with Fossil Abundance
[x] Create Header "Collection Details"
[x] Under this, include Subheader Collection Year
[x] Move Collection End Year (Historical data only) into Historical Data
[ ] include Subheader Collectors
[ ] include Subheader Collection Event Location
[ ] include Subheader Collection Notes
[ ] Keep Header Collection Event Significance, but move up in the list
[ ] Next have Samples Collected
[x] End list with Historical Data

@LeannePyle - I'm a bit confused here. Are you saying we need to move Collection Year, Collectors, Collection Event Location, Collection Notes under a single card called "Collection Details?"?

I'm fine with how it looks currently, but thought we discussed nesting all the "details" such as year, Collectors, the location and notes as subheaders under "Collection Details" - maybe I mis-heard the suggestion

I very well may have.. it's been a while. I think it was about trying to get rid of the nodes with just one value in each. Thanks for the reminder.

There are ~ 450 rows with collect event start date lists (eg 1998, 1999 or 1961, 1981). We are no longer supporting date ranges for start-end date. Is it OK to put the second date in the Collection End Year which is now in the Historical Data card? If so, does this conversion need to be tracked anywhere?

Yes, just retain the first year and moving End Year into Historical is fine. I do not see a need to track this.


Bump loader.js

This bumps the loader.js dependency for this package to make it compatible with<EMAIL_ADDRESS>

You forgot to rebuild the build deps, so I did this myself. :P Thanks for all the help!