Logs keep generating with errors on Cluster Delation

Logs keep generating with errors on Cluster Delation
Steps:

Provisioned rancher (Docker Linode)
Created downstream cluster (Linode)
Created a project
Delete cluster
Check for the error messages in logs

Actual:

Cluster got deleted successfully
PRTBs got delated
LOGs keep generating errors with
Did not see any error messages related to crtb or prtb like earlier but seeing errors related to project as below.
--

2023/09/28 16:28:56 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:29:10 [ERROR] error syncing 'c-m-jltz97cf/p-sbdrz': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:29:26 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
W0928 16:29:39.595609      33 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2023/09/28 16:29:56 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:30:26 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing

2023/09/28 16:30:56 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:31:10 [ERROR] error syncing 'c-m-jltz97cf/p-sbdrz': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:31:26 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:31:56 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
W0928 16:32:24.674168      33 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2023/09/28 16:32:26 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:32:56 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:33:10 [ERROR] error syncing 'c-m-jltz97cf/p-sbdrz': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:33:26 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
W0928 16:33:36.414612      33 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
W0928 16:33:47.426984      33 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2023/09/28 16:33:56 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:34:26 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:35:11 [ERROR] error syncing 'c-m-jltz97cf/p-sbdrz': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing
2023/09/28 16:36:26 [ERROR] error syncing 'c-m-47gk986g/p-9q79m': handler mgmt-project-rbac-remove: failed to remove finalizer on controller.cattle.io/mgmt-project-rbac-remove, requeuing

https://github.com/rancher/rancher/issues/42754

The problem is due to the following sequence of events.

Cluster gets marked for deletion by kube-apiserver and the .deletionTimestamp field is set on the cluster object.
The Project controller sees the cluster is being deleted and deletes the systemProject, which sets the .deletionTimestamp  field on the system project.
The other project lifecycle controller see the project is being deleted and attempts to remove the finalizer set on the project.
Webhook rejects the request to remove the finalizer because when it attempts to find a valid clusterName the cluster does not exist.

Thus, the project lifecycle controller is never able to proceed.
This theory is valid only if objects are removed from the cache when their deletion timestamp is set, which may or may nor be true.

Validation Template
Root Cause
The clusterName field in the project spec had validation (on create and update) which ensured that it referred to a valid cluster. When a cluster was deleted, this triggered a process to remove all projects for that cluster. By the time that the project was ready to remove, rancher was unable to make changes to the project, since it referred to a non-existent cluster.
What was fixed, or what change have occurred

Project.Spec.ClusterName now only needs to refer to an existing cluster on create (i.e. we only check for cluster existence on create)
To prevent people from changing this value to something invalid on update, this field is now immutable.

Areas or cases that should be tested
Creating a project with an invalid cluster name. These cases should fail, like before, including:

Creating a project which is in a different namespace than the cluster that it is for (i.e. namespace doesn't match spec.ClusterName)
Creating a project which refers to an invalid cluster (i.e. creating a project in the default namespace).

Updating a project to refer to an invalid cluster. Users should not be able to change the spec.ClusterName of a project.
What areas could experience regressions
Creating/Updating a project (specifically with regard to the spec.ProjectName field and the spec.ResourceQuota fields - quota validation should happen just like before).
Are the repro steps accurate/minimal?
Yes. They are included on the issue.

Validated this issue on v2.8-fc12e7d779577d10ded1a8e249f51727848b878e-head. This issue got fixed and all the test cases around clusterName validations are passed.
I am closing this card.
Test cases:

Cluster Name : Null -- deny
Cluster Name : Invalid -- Deny
Cluster Name : Valid but No access - Deny
Cluster Name : Valid & NameSpace matches-- Accept
Cluster Name : Valid but Namespace NULL) -- Deny
Cluster Name : Valid but NameSpace Invalid -- Deny

I've noticed this issue in v2.9.1
2024/09/04 12:39:48 [ERROR] error syncing 'p-qtqd8/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-zqkf4" not found, requeuing
2024/09/04 12:39:48 [ERROR] error syncing 'p-b74w9/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:39:48 [ERROR] error syncing 'p-xql9s/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:39:48 [ERROR] error syncing 'p-db9vm/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-9k5vn" not found, requeuing
2024/09/04 12:39:48 [ERROR] error syncing 'p-8tv5c/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:39:52 [ERROR] error syncing 'c-bmt57/crtb-5kt6s': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:39:52 [ERROR] error syncing 'c-bmt57/creator-cluster-owner': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:39:52 [ERROR] error syncing 'c-9k5vn/creator-cluster-owner': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-9k5vn" not found, requeuing
2024/09/04 12:39:52 [ERROR] error syncing 'c-zqkf4/creator-cluster-owner': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-zqkf4" not found, requeuing
2024/09/04 12:39:58 [ERROR] error syncing 'p-b74w9/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:39:58 [ERROR] error syncing 'p-qtqd8/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-zqkf4" not found, requeuing
2024/09/04 12:39:58 [ERROR] error syncing 'p-8tv5c/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:39:58 [ERROR] error syncing 'p-db9vm/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-9k5vn" not found, requeuing
2024/09/04 12:39:58 [ERROR] error syncing 'p-zjmqp/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-zqkf4" not found, requeuing
2024/09/04 12:39:58 [ERROR] error syncing 'p-v5d6f/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-9k5vn" not found, requeuing
2024/09/04 12:39:58 [ERROR] error syncing 'p-xql9s/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:40:02 [ERROR] error syncing 'c-bmt57/crtb-5kt6s': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:40:02 [ERROR] error syncing 'c-bmt57/creator-cluster-owner': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:40:02 [ERROR] error syncing 'c-9k5vn/creator-cluster-owner': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-9k5vn" not found, requeuing
2024/09/04 12:40:02 [ERROR] error syncing 'c-zqkf4/creator-cluster-owner': handler mgmt-auth-crtb-controller: clusters.management.cattle.io "c-zqkf4" not found, requeuing
2024/09/04 12:40:08 [ERROR] error syncing 'p-qtqd8/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-zqkf4" not found, requeuing
2024/09/04 12:40:08 [ERROR] error syncing 'p-8tv5c/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:40:08 [ERROR] error syncing 'p-zjmqp/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-zqkf4" not found, requeuing
2024/09/04 12:40:08 [ERROR] error syncing 'p-b74w9/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:40:08 [ERROR] error syncing 'p-xql9s/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-bmt57" not found, requeuing
2024/09/04 12:40:08 [ERROR] error syncing 'p-v5d6f/creator-project-owner': handler mgmt-auth-prtb-controller: clusters.management.cattle.io "c-9k5vn" not found, requeuing


Protecting your database.

URL for relevant page?
N/A
What products and version are you using?
InfluxDB 1.3
Where did you look before opening the issue?
FAQ, scanned contents for anything regarding configuration, or security.
Reading the documentation, I'm getting the feeling that InfluxDB has no inherent security mechanisms of it's own, and thus shouldn't be accessible over any networks by default.
It would be good to see this mentioned somewhere if true, with a link to any relevant guides on securing an influx database.

Found it eventually.


fix: Remove workflow controller as unused

@rawlingsj Please can you rebase and fix the conflicts? Thanks!

@rawlingsj I've created a PR to remove the deprecated jx controller workflow from the main jx binary. But I think this may need to be merged first.
Any chance we could merge this PR in the near future?

We should close this in favour off #7048

/close


Gcode tool with not accounted for

STOCK D6
TOOL ROUND R0.1 L1.5
L3 DS0 DE6 CONV
L3 DS6 DE0 CONV
L2 D3
L3 DS3 DE6

You've specified round tool with a very small radius, did you mean to use a RECT tool?

Yes, I am ssorry thats my fault.

No worries, I need to make it show an error when L is specified for a round tool and when tool is smaller than the pass width. Also showing the tool in UI would help.

I am using excel to tweek the final gcode. Changes in the editor is not vizible in grafic display?

Wow, that's very smart 🤓 You can preview any gcode on sites like ncviewer.com

Yes I just paste the code in column A and calculate absolute coordinates in columns E(Z) and F(X)

@KyrreKnive this tool might help you https://festivejelly.github.io/LatheGcodeVisualiser/ I made it to help me tweak my gcode. Supports absolute and relative co ordinates.


Add a Github path handler

Closes #9

Codecov Report

Merging #10 (8297cb4) into main (3de267c) will increase coverage by 0.13%.
The diff coverage is 68.59%.

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   54.08%   54.21%   +0.13%
==========================================
  Files          93       94       +1
  Lines        6997     7038      +41
  Branches     1361     1366       +5
==========================================
+ Hits         3784     3816      +32
- Misses       2869     2874       +5
- Partials      344      348       +4

Flag
Coverage Δ

unittests
54.21% <68.59%> (+0.13%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

meddlr/utils/cluster.py
79.67% <ø> (+6.27%)
:arrow_up:

meddlr/utils/path.py
68.33% <68.33%> (ø)

meddlr/utils/__init__.py
100.00% <100.00%> (ø)

meddlr/engine/hooks.py
30.38% <0.00%> (ø)

Continue to review full report at Codecov.

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


fix: change target to es5 for ie 11

Not supporting ie11. tinycolor2 will continue to work or transpile this dependency


Add Code for review

Add code from Todo List

Add proper readme file
Add all working Code from Todo List repo

Hi @Ginohmk ,
Great work on your project 👍🏼
To Highlight 🥇
No Linter errors ✔
Your project works as expected, keep rocking 🚀
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

To make your HTML more semantic separate your header and main tags you can refer to this link for more details.

Thank you for your feedback, i will do just that 👍

Status: Approve 🍾 👍 🎊
Hi @Ginohmk ,
Congratulations! 🎉 Project Approved ✅
Your project is complete! There is nothing else to say other than... it's time to merge it 💯


Extraction failure when trying to install an extension

Issue Type: Bug
Try to Install Python Extension in VScode in my Linux environemnt. Get below error:
[2022-04-06 17:32:13.572] [renderer1] [error] invalid distance too far back: Extract: invalid distance too far back
at i.extractAtLocation (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:209942)
at async i.extractUserExtension (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:206768)
at async D.extract (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:220738)
at async D.doRun (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:221679)
Extension version: 1.21.0
VS Code version: Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5, 2022-03-30T05:50:41.156Z)
OS version: Linux x64 4.14.268-205.500.amzn2.x86_64
Restricted Mode: No

Can you please provide following log too?

F1 > Open View... > Log (Shared)

Please find the shared logs below:
[2022-04-06 17:32:10.323] [sharedprocess] [info] Getting Manifest... ms-python.python
[2022-04-06 17:32:10.355] [sharedprocess] [info] Installing extension: ms-python.python
[2022-04-06 17:32:10.704] [sharedprocess] [info] Getting Manifest... ms-toolsai.jupyter
[2022-04-06 17:32:10.776] [sharedprocess] [info] Getting Manifest... ms-toolsai.jupyter-keymap
[2022-04-06 17:32:10.786] [sharedprocess] [info] Getting Manifest... ms-toolsai.jupyter-renderers
[2022-04-06 17:32:10.793] [sharedprocess] [info] Getting Manifest... ms-python.vscode-pylance
[2022-04-06 17:32:11.016] [sharedprocess] [info] Installing extension: ms-toolsai.jupyter
[2022-04-06 17:32:11.016] [sharedprocess] [info] Installing extension: ms-toolsai.jupyter-keymap
[2022-04-06 17:32:11.016] [sharedprocess] [info] Installing extension: ms-toolsai.jupyter-renderers
[2022-04-06 17:32:11.016] [sharedprocess] [info] Installing extension: ms-python.vscode-pylance
[2022-04-06 17:32:11.490] [sharedprocess] [info] Downloaded extension: ms-python.python /home/ila4229/.config/Code/CachedExtensionVSIXs/ms-python.python-2022.4.0
[2022-04-06 17:32:11.491] [sharedprocess] [info] Downloaded extension: ms-toolsai.jupyter-keymap /home/ila4229/.config/Code/CachedExtensionVSIXs/ms-toolsai.jupyter-keymap-1.0.0
[2022-04-06 17:32:11.492] [sharedprocess] [info] Downloaded extension: ms-toolsai.jupyter-renderers /home/ila4229/.config/Code/CachedExtensionVSIXs/ms-toolsai.jupyter-renderers-1.0.6
[2022-04-06 17:32:11.548] [sharedprocess] [info] Removed the extension from uninstalled list: ms-toolsai.jupyter-keymap
[2022-04-06 17:32:11.574] [sharedprocess] [info] Removed the extension from uninstalled list: ms-toolsai.jupyter-renderers
[2022-04-06 17:32:11.593] [sharedprocess] [info] Removed the extension from uninstalled list: ms-python.python
[2022-04-06 17:32:11.982] [sharedprocess] [info] Downloaded extension: ms-toolsai.jupyter /home/ila4229/.config/Code/CachedExtensionVSIXs/ms-toolsai.jupyter-2022.3.1000901801
[2022-04-06 17:32:13.384] [sharedprocess] [error] Error while installing the extension: ms-toolsai.jupyter
[2022-04-06 17:32:13.446] [sharedprocess] [info] Rollback: Uninstalled extension ms-toolsai.jupyter-keymap
[2022-04-06 17:32:13.447] [sharedprocess] [info] Rollback: Uninstalled extension ms-toolsai.jupyter-renderers
[2022-04-06 17:32:13.447] [sharedprocess] [info] Rollback: Uninstalled extension ms-python.python
[2022-04-06 17:32:13.447] [sharedprocess] [error] Failed to install extension. ms-python.python
[2022-04-06 17:32:13.447] [sharedprocess] [error] Extract: invalid distance too far back
at i.extractAtLocation (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:209942)
at async i.extractUserExtension (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:206768)
at async D.extract (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:220738)
at async D.doRun (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:221679)
[2022-04-06 17:32:13.788] [sharedprocess] [info] Detected extension removed from another source ms-python.python
[2022-04-06 17:32:13.788] [sharedprocess] [info] Detected extension removed from another source ms-toolsai.jupyter-keymap
[2022-04-06 17:32:13.788] [sharedprocess] [info] Detected extension removed from another source ms-toolsai.jupyter-renderers

I am wondering if this is related to VS Code set up.

Are you seeing this error when installing other extensions too?
How did you install/set up VS Code?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

@sophiakhan-uniteus

Are you seeing this error when installing other extensions too?
How did you install/set up VS Code?

@alexdima I see that there was a similar error in remote and you fixed it - https://github.com/microsoft/vscode/issues/134429
Do you have any insights about this error and why this would have occurred?

@sandy081 I am able to download other microsoft extensions, except for python and c#.
I installed from the file found here: https://code.visualstudio.com/docs/?dv=darwinarm64

Above link seems to be the installer for VS Code, do you intend to share the location from where you are installing the extensions?

I see that there was a similar error in remote and you fixed it - https://github.com/microsoft/vscode/issues/134429
Do you have any insights about this error and why this would have occurred?

I encountered this error when decompressing a zlib stream which had bytes missing. So in this case I think this indicates that an archive file is corrupt.

@sandy081  I am installing from Chicago, US

@sophiakhan-uniteus Sorry, I meant the link you used to download the extension. Can you please try to reproduce it by using fresh user-data directory. You can do it by

Open command line
Run this command code --user-data-dir <new_temp_folder> --extensions-dir <new_extensions_folder>

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Azure Portal get a bad request when turn on System Assigned Identity for a User Assigned Identity only Container App

API: Microsoft.App/containerApps@2023-11-02-preview
We have an ACA using User Assigned Identity to authorize ACR to deploy images. Now we are trying with System Assigned Identity, we turn it on but get an error.
Re-produce
Step 1: Create resources

1 Entra ID Group.
1 User Identity in Mangage Identity which will attach to ACA and is a member of the above Group.
1 ACR: Grant pulls image permission to the above Entra ID Group.
1 ACE: which will contain the below ACA.
1 ACA: Attach to the above ACE, and use the above User Identity as an identity to pull the image from ACR.

The manifest of ACA should look like this.
{
    "type": "Microsoft.App/containerApps",
    "properties": {
        "provisioningState": "Succeeded",
        "runningStatus": "Running",
        "workloadProfileName": "Consumption",
        "configuration": {
            ...
            "registries": [
                {
                    "server": "debugacrdev.azurecr.io",
                    "username": "",
                    "passwordSecretRef": "",
                    "identity": "/subscriptions/<uuid>/resourceGroups/acr-test-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-acr"
                }
            ]
        },
        "template": {...}
    },
    "identity": {
        "type": "UserAssigned",
        "userAssignedIdentities": {
            "/subscriptions/<uuid>/resourcegroups/acr-test-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-acr": {
                "principalId": "<uuid>",
                "clientId": "<uuid>"
            }
        }
    }
}

Step 2: PATCH the Bad Request
Portal

Navigate to ACA on Portal.
On blade Identity.
System assigned status should be off, turn it on and save.
The error should occur

CURL
This can be simulated by sending a similar request that sent by Portal.
curl 'https://management.azure.com/subscriptions/<uuid>/resourceGroups/acr-test-group/providers/Microsoft.App/containerApps/d-ca1-ne-are144-debug?api-version=2023-11-02-preview' \
  -X 'PATCH' \
  -H 'x-ms-command-name: Microsoft_Azure_ManagedServiceIdentity.' \
  -H 'Accept-Language: en' \
  -H 'x-ms-effective-locale: en.en-us' \
  -H 'Content-Type: application/json' \
  -H 'Accept: */*' \
  -H 'Referer;' \
  -H 'x-ms-version: 2.1.8905.0' \
  --data-raw '{"identity":{"type":"systemassigned,userassigned"}}'

and you should get this error:
{
  "error": {
    "code": "FailedIdentityOperation",
    "message": "Identity operation for resource '/subscriptions/<uuid>/resourceGroups/acr-test-group/providers/Microsoft.App/containerApps/debug' failed with error 'Failed to perform resource identity operation. Status: 'BadRequest'. Response: '{\"error\":{\"code\":\"BadRequest\",\"message\":\"The request format was unexpected : Request requires identities to be assigned.\"}}'.'."
  }
}

Expected behavior
I expect Azure Portal to help me avoid Client-side errors caused by users when they manually send the request and will never get a Bad Request error. So I expected when I turn System Assigned Identity on, it just goes on.
Workaround
For those who struggle with this like me:
As I guess, the PATCH endpoint will try to replace the identity property with the provided one which is:
{
  "identity": {
    "type": "systemassigned,userassigned"
  }
}

However, this doesn't seem right because there are no userAssignedIdentities to use when it needs user-assigned. Besides that, it is not System Assigned Identity to generate. And the error (might come from another service): Request requires identities to be assigned.
So the way to temporarily workaround this is to include what you have in the manifest with the PATCH request to bypass the validation and make it work. So the new body I sent is:
{
  "identity": {
    "type": "UserAssigned,SystemAssigned",
    "userAssignedIdentities": {
      "/subscriptions/<uuid>/resourcegroups/acr-test-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-acr": {
        "principalId": "<uuid>",
        "clientId": "<uuid>"
      }
    }
  }
}

It worked!

@vanviethieuanh
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

Hi @AjayBathini-MSFT,
I do not intend to follow any document to do it. Since the issue just happened when we were working with Azure Portal.  But if there is any document I reference to reproduce the issue of the API or notice that, then it thanks to Microsoft.App containerApps 2023-11-02-preview.
I think Microsoft.App containerApps 2023-11-02-preview API has that issue but because I don't know where I should report it, I post it here and hope that somebody will look at it and fix it.
Thanks 😁

@vanviethieuanh
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.


Support for SHA256 code signing

As of 1st January Microsoft no longer accepts SHA1 certificates for code signing.
The existing Sign code does not support SHA256 signing and timestamps.
The required options are:
/fd File digest algorithm
/tr RFC 3161 compatible time stamp server
/td Timestamp digest algorithm
/as Append signature (to enable signing for XP and Vista)

I have the same problem.
Even appening the required argument via the ArgumentBuilder isn't possible because the order of the arguments passed to signtool matters.
A valid command line for signing a file with SHA256 looks like this:
signtool.exe SIGN /sha1 "<THUMBPRINT>" /fd sha256 "File.exe"
A possible workaround is to prepare the correct argument string manually and call signtool.exe directly.

@swanitzek You can slso return a new ProcessArgumentBuilder from the ArgumentCustomization lambda and rewrite all parameters that way.

@patriksvensson, mind if I take a stab on this one? Needed to sign using sha256 today, and doing the ArgumentCustomization dance was a ugly workaround.

@mholo65 Perfect I've assigned this issue to you.

Big thanks to @mholo65 for implementing this!


fix(ingress): add ingressClassName to IngressProps (#2964)

Backport
This will backport the following commits from k8s-27/main to k8s-26/main:

fix(ingress): add ingressClassName to IngressProps (#2964)

Questions ?
Please refer to the Backport tool documentation

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3765

Questions ?
Please refer to the Backport tool documentation


Build and Publish wifi-connect-ui

use custom publish action for building and publishing the ui
update react-scripts to v5.x to be compatible with NodeJS 20.x otherwise builds fail with Error: error:0308010c:digital envelope routines::unsupported [Node Error Solved]
Update Dockerfile.template to download pre-built wifi-connect-ui

The GHA/Flowzone changes look good to me!

@rahul-thakoor @klutchell any idea when this will be merged?

What's missing for this PR to  get merged?

What's missing for this PR to get merged?

You can just fork it and use it in your project if you want. That's what we did.


az vm list returns empty, even though there are VMs in the RG

This is autogenerated. Please review and update as needed.
Describe the bug
az vm list shows zero results, even though there are VMs in the rg
Command Name
az vm list
Errors:
![image](https://user-images.githubusercontent.com/157768/201040619-1a7c5392-1921-4165-b790-e60dad678684.png)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az vm list -g {} --debug

Expected Behavior
Should show the VMs I have in the resource group
Environment Summary
Linux-5.4.0-1094-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.14
Installer: RPM

azure-cli 2.42.0

Extensions:
ai-examples 0.2.5
ml 2.10.0
ssh 1.1.3

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

@zhoxing-ms for awareness

@fitzgeraldsteele Could you please send the debug log (add --debug) to me by email? My email address is<EMAIL_ADDRESS>


MEDS v0.3 Compatibility

[x] Renaming timestamp to time
[x] Renaming numerical_value to numeric_value
[x] Renaming subject_id to patient_id
[x] #72
[x] Binarize all predicates extracted for labels

Please do add anything else that you believe is applicable for ACES in v0.3 @mmcdermott!

[ ] Binarize all predicates extracted for labels

Closed in #80


Admin Test Suite

Creates all of the Admin tests we laid out except ones related to downloading files, and refreshing the akamai cache.

Additions
Tests In the Wagtail admin for

A few representative existing pages can be opened and edited
The images library works
The documents library works
Snippet libraries work
Mortgage constants and metadata work
Regulations work
Existing regulations can be edited
A new copy of an existing regulation can be created
Mega menu can be edited
TDP activity data can be opened and edited
Job listing data can be opened and edited
Custom settings work
Flags can be enabled and disabled
Block inventory works
External link reporter works
Link to the Django admin works

How to test this PR

Run cypress suite locally

Screenshots

Notes and todos

Lets discuss admin page layout, do we like collecting all the content stuff within a single page or do we want to extract these sections into logical groupings and use an inheritance model to pass basic admin page interactions to these children classes.

Checklist

[ ] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code follows the standards laid out in the CFPB development guidelines
[ ] Future todos are captured in comments and/or tickets
[ ] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

Lets discuss admin page layout, do we like collecting all the content stuff within a single page or do we want to extract these sections into logical groupings and use an inheritance model to pass basic admin page interactions to these children classes.

I think this makes sense as it is for now, to me because I do tend to think of "the admin" as one thing, verses all of the other discrete things we are testing here.
I do think it'd be nice to be able to break out tests of the admin for some of our Wagtail libraries to run with them, rather than here, but that's like... not even a goal, just a long-term wish right now.
So, what you have makes sense to me.


Did you use a generator for this project ?

Hello,
It's just for a technical question, I wonder if your example project uses a yeoman generator and if yes, which one ?
Thanks :)

no, I have not used any generators for this project. This project has been created from scratch


Improvement on RxSet: don't refresh() when adding an already present value

The reactive Set implementation should not update the Stream when adding an already present value. Since the Set remains the same, no new changes should be notified.
The change is very minimal and only affects the get_rx library, with no impact on any tests.
Pre-launch Checklist

[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or @jonataslaw said the PR is test-exempt.
[x] All existing and new tests are passing.

This makes perfect sense, thanks for your contribution.
I will merge soon.


[Feature] Extend MTRCertificates to return fabric ID for given node operational certificate

Feature description
...
Sometimes clients might need to find out fabric ID associated with given NOC. It would be helpful if class MTRCertificates provides a way to achieve that.

Platform
darwin
Platform Version(s)
No response
Anything else?
No response

Need node id as well.
Basically, expose something like ExtractNodeIdFabricIdFromOpCert (which works on TLV certs).


Feat/electric power system

Hi Maxime,
I added some concepts to the seas ontology according to some needs expressed by  potential  users.
Could you please check the consistency of the ontology.
Thank you,
Kind regards
Lynda

Hello Maxime,
Oui, je pense que c'est ok de spécialiser un sous concept de Evaluation.
MaximumEvaluation, MinimumEvaluation.
Lynda


Compatibility fix for newer node versions

This PR helps compatibility with newer nodeJS versions.
Just a quick fix, may lead to other problems in the future

download this version and run:
npm install
npm link
to install the package globally


Add some Area of effects attacks

So that enemies surrounding you doesnt make you feel weak

This is being covered in #82 closing this


Negative number of lost ZMQ messages

I noticed this negative number of lost messages. Maybe the formula isn't completely correct.
root@indexd:/indexd# forever index.js
warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
2017-10-28T12:08:15.260Z index Initializing blockchain connection (for testnet)
2017-10-28T12:08:15.350Z index starting API server
2017-10-28T12:08:15.357Z index App listening on port 18432
2017-10-28T12:23:43.160Z zmq -494 messages lost
2017-10-28T12:23:43.451Z zmq 493 messages lost

For some context, this is

For some context here, this is from running:
https://github.com/CounterpartyXCP/indexd-server
But the code is almost a direct copy-and-paste from https://github.com/bitcoinjs/indexd/blob/master/example/service.js.

To quote @laanwj from https://github.com/bitcoin/bitcoin/pull/7762#issuecomment-212895281

sequence number goes to 0 (and wasn't at 0xffffffff) -> bitcoind restarted
sequence number skips a beat -> send buffer was full

If the number displayed is negative,  from ${sequence - lastSequence - 1} messages lost,  then it means sequence was probably 0.
This might mean that bitcoind restarted unexpectedly.

I'll have to repeat this exercise, but I think I get more than just one pair of those.
Could it be that RPC request queue full errors trigger these?
Please don't close this just yet. Although it's a cosmetic issue it'd be good to know why it happens.

@unsystemizer use tmux or screen?
I have no idea what state the programs will be in if you are dropping connections sporadically, but lost messages seems like the least of your issues.

I use just Putty to SSH to the server and then SSH to the container (all on local LAN). I did notice a lot of these yesterday as well when I didn't have any disconnects (I ran a full reindex of testnet to compare time vs. addrindexd), but lets keep this closed. I suspect it's a matter of overloading the system.

@unsystemizer I read somewhere (can't find it now) that you were hitting the RPC work depth,  so I patched yajrpc to handle how bitcoind handles that error to ensure the error is thrown properly and not interpreted as a null result.
Let me know if that error isn't clear in future.

@dcousens at first yes, because in indexd-server's default .env it's set to 32, and Core defaults to 16. I changed that 12 on both sides, hoping to put less pressure on the system. Maybe I should also lower the batch size or try to make some other adjustments, but seeing that Core still has 2 active RPC related bugs (crash/freeze), I gave up on this until they fix those bugs.

2 active RPC related bugs (crash/freeze)

Link?
I haven't experienced this in production.

I haven't either, but they seem reproducible & real.
There's one for valid and one for invalid (spam) calls:
https://github.com/bitcoin/bitcoin/issues/11368
https://github.com/bitcoin/bitcoin/issues/11322
I just deleted all indexd data, updated to 0.8.2, lowered RPCBATCHSIZE in indexd app from 500 to 200, and increased rpcthreads to 8 (my number of cores). With dbcache 8G and rpcworkqueue depth of 12 (both indexd and bitcoin), that makes this particular system lightly loaded and I'm saw lost messages error just once and it was 2088 messages (whereas before I'd see 17000 or more).
I should run it for longer, but in all likelihood "less aggressive settings = fewer timeouts" seems reasonable. I'll do one more run with rpcworkqueue depth of 8 (I'll leave bitcoind at 12) and RPC batch size of 100 and edit this comment later.

Mystery solved, it seems. Well, at least on my system.  This is with indexd 0.8.2 and bitcoind 0.15.1rc1, but I've been seeing this all along. Luckily, not a big deal.


[BUG] Unexpected behavior of SumSegmentTree Resulting in Invalid Slices in PrioritizedSliceSampler.sample()

In PrioritizedSampler.sample(), _sum_tree.scan_lower_bound() sometimes generates index greater than len(storage).
The test code is as follows:
import torch
from torchrl._torchrl import SumSegmentTreeFp32
import numpy as np

def test_sum_tree():
    torch.manual_seed(0)
    np.random.seed(0)
    sum_tree = SumSegmentTreeFp32(500)

    # repeat to ensure the bug happens
    for _ in range(1000):
        # update priority
        index = torch.arange(0,100, dtype=torch.long, device=torch.device("cpu"))
        priority = torch.rand(100, device=torch.device("cpu"))
        sum_tree[index] = priority+1e-8 # 1e-8 are not essential, w/o 1e-8, bug still happens

        # sample
        p_sum = sum_tree.query(0, 100)
        mass = np.random.uniform(0.0, p_sum, size=1000000) # sample a lot to ensure the bug happens.
        scanned_index = sum_tree.scan_lower_bound(mass)
        if scanned_index.max()>=100:
            print("Unexpected index! p_sum:{}, mass.max():{}, scanned_index.max():{}".format(p_sum, mass.max(),scanned_index.max()))

test_sum_tree()

In PrioritizedSampler.sample(), this unexpected behavior is handled by index.clamp_max_(len(storage) - 1), but it still causes unexpected behavior in PrioritizedSliceSampler.sample().
This occurs because, although the sample at index = len(storage) - 1 is covered by preceding_stop_idx, it can still be sampled as start index, leading to cross-trajectory sampling.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)
[x] I have provided a minimal working example to reproduce the bug (required)

This occurs because, although the sample at index = len(storage) - 1 is covered by preceding_stop_idx, it can still be sampled as start index, leading to cross-trajectory sampling.

Is this also the case with the patch in #2228?
How can the start be equal to len(storage)-1 if this is masked?

It's a new issue due to _sum_tree, I think it can't be solve with #2228.
In PrioritizedSampler.sample() we have:
def sample(...)
    ...
    index = self._sum_tree.scan_lower_bound(mass)
    ...
    index.clamp_max_(len(storage) - 1)
    weight = torch.as_tensor(self._sum_tree[index])
    ...
    return index, {"_weight": weight}

For some unknown bug in _sum_tree, we randomly get an index greater than len(storage). Then it's clamped to len(storage) - 1, which is why we get the wrong start index.

cc @xiaomengy any idea why we get out-of-bound samples from the PRB?


Bug: Karma score/AJAX voting bug

How to produce: By continuously clicking on either "Up arrow" or "Down arrow", you will notice that the karma points for the OP increase or decrease as the user clicks.
Expected: It is only expected for the karma point to be incremented or decremented once per user.

I can't reproduce this at all.

You can only do it on others' posts. Not your own posts.

Yes I tried that - can you try and look into it further and determine what the cause is? That will better reveal whether there actually is a bug or not.

Forgive me for I am still a novice in using Django, Mezzanine and AJAX. But I am trying hard to figure out the problem. My guess is this line of code only caters to stop the OP from bumping up their own karma score ?
if rating.user != content_object.user:
@receiver(post_save, sender=Rating)
def karma(sender, **kwargs):
    """
    Each time a rating is saved, check its value and modify the
    profile karma for the related object's user accordingly.
    Since ratings are either +1/-1, if a rating is being edited,
    we can assume that the existing rating is in the other direction,
    so we multiply the karma modifier by 2.
    """
    rating = kwargs["instance"]
    value = int(rating.value)
    if not kwargs["created"]:
        value *= 2
    content_object = rating.content_object
    if rating.user != content_object.user:
        queryset = Profile.objects.filter(user=content_object.user)
        queryset.update(karma=models.F("karma") + value)

I'm sorry I misread your original message as allowing the voting score to change - you're right the karma changes multiple times when it shouldn't.
Thanks


Absorbing boundary layer

It would be nice to support x/y absorbing boundary conditions, so that non-periodic structures could be modeled.
Unfortunately, this seems to be a bit involved, since u-PML would require magnetic, anisotropic materials. The implementation could be relatively straightforward for the basic "FFT" formulation of the FMM, but it would be good to make this available also for the vector formulations.
If this were implemented, there would also be an opportunity to simplify the layer eigensolve code, which currently has several different functions to handle e.g. uniform, patterned, isotropic, anisotropic cases.

We should be able to add scalar absorbing boundary layers without too much hassle, right? They won't converge as quickly as PML (which will require larger domains and consequently more Fourier orders) but they seem like a quick and dirty solution.

(might be good to replace "boundary condition" with "boundary layer" to avoid ambiguity)

We should be able to add scalar absorbing boundary layers without too much hassle, right? They won't converge as quickly as PML (which will require larger domains and consequently more Fourier orders) but they seem like a quick and dirty solution.

Yes, that would be a viable alternative. There would be no changes to the core code in this case, it would just be a matter of providing a permittivity array that includes the absorbing material.

There would be no changes to the core code in this case, it would just be a matter of providing a permittivity array that includes the absorbing material.

Cool. It might still be worth it to provide an API so the user doesn't have to worry about this. Specifically, we can create a function like
def pad_with_conductivity(length, strength):
    # does the hard stuff

which takes care of the appropriate padding and scaling etc.

This has been addressed by https://github.com/facebookresearch/fmmax/pull/29


Armworkloadssapvirtualinstance 0.1.0 test 0322

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to module CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run go - armworkloadssapvirtualinstance - ci


Rich Text Formatting in Composer: Fonts, Sizing, Quotes, Styles, Colors, Headings, Tables, etc.

This is a commonly requested feature to add rich text formatting options to the composer.
This will likely take the form of a separate plugin to add this functionality. We believe the stock N1 composer should be a minimal, simple, and clean editor.

is this plugin available ?

Now that we have Markdown, I think a number of these items have been addressed. However, true rich text formatting, with features like font face, color and size (outside of headers) are still absent. Should this thread be modified to reflect that update?

@rasterbate where's markdown ?

What I would like to see is a Google web fonts plug-in, or similar.
As most people are online these days and with so many fonts available this does not rely on the receiving client having the font installed.
Not sure if this is particle but worth looking at.

Having web fonts embedded doesn't sound like such a good ideia, I could be wrong.
What bothers me is that due to the lack of font control, sending from mac to windows, the message gets displayed in Times New Roman on the windows side. That is quite ugly. Would be really helpful here if we could have some basic control over safe fonts, color and size.

Web fonts are not embedded, from what I understand they are referenced in html and displayed:
Add this code to your website:
<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
Integrate the fonts into your CSS:
font-family: 'Ubuntu', sans-serif;

If you paste this into one of your N1 signature text boxes in the 'Edit RAW html' mode and the gently click on 'Edit live preview'.  if by magic you get your Signature in Ubuntu font:
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">

<text>

This is my email signature

</text>

You can also play with font styles:
text-shadow: 2px 2px 3px #aaa;

I composed a new email and  it looks just fine.
When I opened the received email in N1 it looked fine.
When I looked at the email on my iPhone it also looked OK.

I'm no coder myself but I think this should prove that using web fonts is a viable way forward.

And using multiple fonts and effects:
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto+500">

<text>

Your Name

Mobile:   Your mobile

Linkedin: Your url

</text>

Im curious how will that work out with email clients such as Gmail and Outlook.
For me personally the way it my messages are shown in Outlook is much more of problem than a nice to have custom font solution.
To illustrate the problem, here's how the messages are displayed:

To be fair this is not exclusive to N1. Apple Mail has the same problem and one way to get around it is by installing a plugin that adds the font formatting on sending emails. Hopefully though, this is something that can be solved natively in N1.

Having experimented some more N1 needs to have some dedicated  so the user can use multiple web fonts in their sig.  I think this would also need to be adopted if the user is to use multiple fonts in the body of the email message sometime in the future.
The problem I encountered was sigs are being duplicated when I composing a new email and selected to send from a different account.  So I think this is a bug cuz N1, maybe connected with my defining some  and the way N1 handles switching between different sending account.
To recreate this just copy & paste the second html code into multiple email account signatures and compose a new email, then switch the sending email account.
I'm using Windows10

Outlook accepts HTML email, right now I don't have access to Outlook so it's simple for someone with Outlook to test.
Note: Outlook has always been very poor at handling html email.  Of course it is possible to know what email client someone is using once you have an email from them.  The email client being used is encoded into the email itself.
If someone where to spend some time (and lots of effort) is maybe possible to adapt emails being sent to Outlook clients to look better.  And further it maybe possible to create a lookup table for all popular email clients so N1 do some substitution to make your email to retain as much look & feel as possible.

@rasterbate mentioned with a recent release there is now Markdown support. I'm not seeing that anywhere in settings, or in the plugin list. Is it true that Markdown is supported, and if so, how can I enable it?

+1

draftjs.com

It was there, but doesn’t seem to work anymore in the current version. Has this been removed?

@enoversum We've never had full Markdown support, but the issue with the bullets/numbering (#1973) is fixed and should be released soon!

@jackiehluo Oh well, at least lists were working, :blush: .

Not so fussed about complete Rich Text formatting but a definite +1 for color formatting. Make in-line replies much easier to compose as well as referencing previous emails etc.

Can anyone at Nylas give a rough estimate of if/when this feature is likely to be released?

Before complete rich text editor , can nylas provide minimal text coloring like thunderbird. I think that would be a good start instead of caring lot about fonts.

Another request: https://nylas.zendesk.com/agent/tickets/4517

One last thing, I'd love a format option, so as to give size and color to the
text. I know not every uses it, but it is common for me and many people to
answer emails that present questions or many topics with the phrase "see my
answers in red", and write the answer in color below each of the points that
the other person in bringing up. Since I switched to Nylas N1, I cannot do
that anymore, or, when we're discussing something and everyone is doing that,
I have to power up the Mac to participate in the conversation.

At least a "remove all formatting" button is a priority. I experience serious bugs when copy-pasting stuff into e-mail body. The issue is claimed to be closed and "fixed in 0.3.29", but it often makes writing messages impossible for me, forcing me to resort to Inbox/Gmail.
Mainly an e-mail signature from about.me misbehaves 'oribbly, creates invisible tables when trying to delete it, creates unremovable invisible lines, even interferes with other parts of the text. Most 'orrible thing I experienced was random letters in an active URL being changed color after every key stroke.
To overcome these serious issues, I propose that at least the "remove formatting", or "edit message HTML" should be provided with priority.

Another request for custom fonts from Zendesk

Another request: https://nylas.zendesk.com/agent/tickets/5189

Another request: https://nylas.zendesk.com/agent/tickets/5617

Another request: https://nylas.zendesk.com/agent/tickets/5887

It would be nice to have a partial text quoting feature, so that I mark some amount of the text and press a button to wrap it in my reply field.

another request: https://nylas.zendesk.com/agent/tickets/6832

I must admit this email client is great already, but fonts need some sort of improvement.
A basic clear formatting button, and an option to convert between html and text is a must.
Changing a default font and default size is also much needed for everyone... is there a way we can change it by editing some config file?

+1

+1 to the 'clear formatting' button, if nothing else.

+1


Stable API (strict) migration issue

When using stable API (https://www.mongodb.com/docs/manual/reference/stable-api/) in strict mode, we run into trouble with the migration:
 ---> Hangfire.Mongo.Migration.MongoMigrationException: Migration failed in Hangfire.Mongo.Migration.Steps.Version09.CreateSignalCollection
 ---> MongoDB.Driver.MongoCommandException: Command create failed: BSON field 'create.size' is not allowed with apiStrict:true..

Hangfire.Mongo v1.10.4
Is there any plan on supporting stable API?

Hi @espjak,
I didn't know about the stable API. Let me try it out.
Thanks

@espjak,
I cant reproduce, could you please share your config, I used:
var mongoUrlBuilder = new MongoUrlBuilder("mongodb://localhost:27017/?readPreference=primary")
                {
                    DatabaseName = "hangfire"
                };
                var uri = mongoUrlBuilder.ToMongoUrl();
                var settings = MongoClientSettings.FromUrl(uri);
                settings.ServerApi = new ServerApi(ServerApiVersion.V1);

                var mongoClient = new MongoClient(settings);

                var storageOptions = new MongoStorageOptions
                {
                    MigrationOptions = new MongoMigrationOptions
                    {
                        MigrationStrategy = new MigrateMongoMigrationStrategy(),
                        BackupStrategy = new CollectionMongoBackupStrategy()
                    },
    SlidingInvisibilityTimeout = TimeSpan.FromSeconds(5),
   CheckQueuedJobsStrategy = CheckQueuedJobsStrategy.Poll
};

//config.UseLogProvider(new FileLogProvider());
config.SetDataCompatibilityLevel(CompatibilityLevel.Version_180);
config.UseColouredConsoleLogProvider(LogLevel.Trace);
config.UseMongoStorage(mongoClient, mongoUrlBuilder.DatabaseName, storageOptions);

thanks

@espjak,
You could also try to set "SupportsCappedCollection" to false

@espjak,
I am able to reproduce using the "strict" option.
You need to use following settings:
var storageOptions = new MongoStorageOptions
{
    MigrationOptions = new MongoMigrationOptions
    {
        BackupStrategy = new NoneMongoBackupStrategy()
    },
    CheckQueuedJobsStrategy = CheckQueuedJobsStrategy.Poll,
    SupportsCappedCollection = false
};
`

You might be able to use the default "CheckQueuedJobsStrategy" setting "Watch" if you are using a cluster, but I didnt check.
Also I need to make an adjustment to the MonitoringApi as the stable API does not support the "distinct" method. I can do a $group instead. I will patch as soon as possible

The provided settings seems to work (except the dashboard/MontioringApi as stated).
As we have been using capped collection before, do we have to do anything now that we set SupportsCappedCollection to false?
Thanks for quick feedback!

@espjak,
I would expect that wouldnt work for the stable API as this will require setting a max size of the collection, which was original issue?
Setting SupportsCappedCollection to false means hangfire.mongo will poll for queued jobs
Thanks

It seems we can use "Watch" as well, along with SupportsCappedCollection = false, which is a better fit for us.
In the comments it says, "Will still poll using 'QueuePollInterval', what does this mean? It also states this with "TailNotificationsCollection", but we have not noticed any extra polling going on with it, at least not to the extend that the "Poll" strategy does.
Do you have any ETA on a fix for the MonitoringApi distinct issue?

@espjak,
Yes you can use watch. the capped collection is mainly for single node mongo instances with the need for low latency enqueuing.
"Watch" is the default setting.
MongoDB will still poll for enqueued jobs even though you use settings "Watch". But only if no jobs are enqueued and the semaphores are not signaled.
I plan to release this weekend

With the new release we can use stable API (strict) with "Watch" and SupportsCappedCollection = false.
We also had issues with migrations and expected null values, but i see that there is already commited a fix for this in master :)
Thanks for the help!


expressionMutantPlacer could not place mutants with type(s): "MethodExpression"

Summary
Stryker could not mutate the following statement and fully exits:
initialNodes.filter((n) => n.id === "tiptilt")[0].className = tiptiltState

Stryker config

{
  "$schema"<EMAIL_ADDRESS>  "_comment": "This config was generated using 'stryker init'. Please take a look at: https://stryker-mutator.io/docs/stryker-js/configuration/ for more information.",
  "packageManager": "npm",
  "reporters": [
    "html",
    "clear-text",
    "progress"
  ],
  "testRunner": "vitest",
  "testRunner_comment": "Take a look at https://stryker-mutator.io/docs/stryker-js/vitest-runner for information about the vitest plugin.",
  "coverageAnalysis": "perTest"
}

Test runner config
Nothing special here
Stryker environment

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>
Test runner environment

# vitest

Your Environment

software
version(s)

node
v20.13.1

npm
10.8.0

Operating System
macos 14.5

Add stryker.log
stryker.log

Thanks for reporting! This should be an easy fix.


SH1106 OLED screen does not function on Waveshare RP2040-Zero on 0.7.6-RC2

Prerequisites
Please check the following before posting an issue / bug report.

[x] I am running the latest version of the firmware found HERE
[x] I have checked the documentation HERE and found no answer
[x] I checked to make sure that this issue has not already been filed HERE
[x] I am reporting the issue to the correct repository

Context
Please provide all relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Firmware Version: 0.7.6-RC2
Name of device: Waveshare RP2040-Zero, DIYmalls 1.3" inch OLED Display Screen Module I2C 4pin 128x64 SH - 1106 3.3V-5V IIC Address 0x3C White for Arduino U NO Mega-2560 Nano ESP8266 NodeMCU ESP32
Link to where you purchased the device: https://www.amazon.com/dp/B0BZ8D4CJM, https://www.amazon.com/dp/B0CCL88VTG
Is this a custom build?: Yes
Operating System: Windows 10
Browser: Vivaldi 6.4.3160.44

Expected Behavior
Please describe the behaviour you are expecting.
The OLED screen functions as it does in 0.7.5, with the screen configured to block i2c1 with SDA and SCL set to pins 26 and 27.
Current Behavior
What is the current behaviour?
The screen does not turn on in 0.7.6-RC1 or 0.7.6-RC2.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Connect the SH1106 screen to pins 26 and 27.
Install latest 0.7.6 RC to Waveshare RP2040-Zero and configure the peripheral settings to use pins 26 and 27.
Reboot and check the screen.
Reverting to 0.7.5 corrects the issue with the screen without a config reset or flash-nuke necessary.

Screenshots & Files
Please include any relevant screenshots or files here.  If you are having issues with a board please include images of the front and back of the board.
n/a

What I found after running into the same problem and running some tests:
Using the same i2c block as what is specified in the board config under I2C_BLOCK works fine.
Using the other i2c block appears to cause problems.
With Pico as an example, running the default uf2, OLED will work when connected to 0, 1.
Changing pins to 4, 5 will also work.
But changing pins to 2, 3 won't.
Running a uf2 where the only change is I2C_BLOCK set to i2c1 and OLED pins set to say 26, 27 OLED will work.
Changing pins to 2, 3 will also work.
But changing pins to 0, 1 won't.

The screen appears to be working in 0.7.6 final, though a minor bug remains when upgrading directly from 0.7.5: If the I2C peripheral was enabled in 0.7.5, the pins for i2c0 and i2c1 are marked as reserved by addon in the Pin Mapping page, even if their respective i2c block is disabled. To fix this, it is necessary to temporarily enable the block in question, unset the pins, and then disable the block.

After building another controller with Waveshare RP2040-Zero, I've discovered that there's an issue with the default i2c0 mappings. Because i2c0 is mapped to pins 0 and 1 by default, they conflict with the default mappings for S1 and S2, which can prevent them from being recognized and therefore locking out the web config. In order to use the screen with i2c1, it is necessary to first enable i2c0, reboot to the web config, unset the i2c0 pins, and then enable i2c1 and ensure S1 and S2 are mapped.

This should be resolved now after the config cleanup


Bump helm-charts

Issue

https://github.com/epinio/epinio/issues/1398

Bumping helm-charts to get the HelmController if not exists.
WIP: waiting for

https://github.com/epinio/helm-charts/pull/199

Codecov Report

Merging #1442 (d46957c) into main (27a9827) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #1442   +/-   ##
=====================================
  Coverage   9.06%   9.06%
=====================================
  Files         78      78
  Lines       7504    7504
=====================================
  Hits         680     680
  Misses      6778    6778
  Partials      46      46

Flag
Coverage Δ

unittests
9.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Schedule releases(tags)

A bot similar to dependabot could listen for a ping on a PR from a repository moderator that would either tell it to release by pushing a specified tag on the commit in the new branch once the PR was merged or to schedule a release with a tag and a datetime.

The Scheduled Tags bot (link may be dead right now as the project is currently private) is now available in the repository to complete this function.


Not working now

依範例執行出現錯誤
MacOS 12.4
Python 3.10

the issue here.
I've sent a PR to fix it. - https://github.com/TLYu0419/facebook_crawler/pull/27


The property '#/' contains additional properties ["w3c"] outside of the schema when none are allowed in chromeOptions

What are you trying to achieve?
Run tests like in 4.6
What do you get instead? (Actual behavior)
An exception:
The property '#/' contains additional properties ["w3c"] outside of the schema when none are allowed in chromeOptions
How could the issue be reproduced? (Steps to reproduce)
https://github.com/phpmyadmin/phpmyadmin/issues/15324
Details

Php-webdriver version: 4.7.0
PHP version: 7.2
Selenium server version: ? (browserstack)
Operating system: linux
Browser used + version: Google Chrome

cc @OndraM

Just additional info: This is problem mainly (and only) for BrowserStack provider. I assume there is some modification of protocol on BrowserStack side.

Yes, BrowserStack for some reason does not accept "w3c" key inside "chromeOptions" (or "goog:chromeOptions" capability.
There is in no reason for this - content of vendor specific capabilities does not have any limitation according to the standard. Please contact BrowserStack support and ask them to fix (ie. relax) their schema validation.
But in order to not break things for you, I implemented workaround - if your remote selenium server contains "browserstack" as part of its URL, the w3c capability for chrome is not triggered. However, this workaround may not work on 100%, its kind of dirty hack, and won't be kept permanently. So I urge you to contact browserstack and let them know about the issue in their schema validation ASAP.

So I urge you to contact browserstack

Done


Add example code for languages

First of all I have to say how amazing this project is! I already like the project itself but the fact that it has a free api which doesn´t even have the requirement to sign up for a key just blows my mind so thank you for that!
Now for my issue which is actually just a suggestion:
The runtimes endpoint currently returns some information about each language and my idea was to add another optional parameter to return which contains an example for a hello world programm in this language. So in javascript this would return console.log("Hello, World!"), in python print("Hello, World!")  and in brainfuck -[------->+<]>-.-[->+++++<]>++.+++++++..+++.[->+++++<]>+.------------.---[->+++<]>.-[--->+<]>---.+++.------.--------.-[--->+<]>.
I´d love to add this myself but when I was reading through the code I got a little confused. My plan was to add a variable called hello_world (could also be something different I´m not familiar with the naming conventions of node) which would default to an empty string. The only place I found where the class Runtime is instantiated is in load_package which reads the information from a file called "pkg-info.json" from the package directory. However I was not able to find a file called "pkg-info.json" anywhere in this repo

I can't exactly see the use case for this, we already include a test for each language which outputs "OK", which should be enough?

The use case for my idea would not be to test if the language is working but to give a user of the api a way to get a short demo of what the language looks like. This could be useful for anyone who uses piston to make some kind of code editor where you can select multiple languages since you can just paste the example code when the user changes the language.
Of course the example code that gets send doesn´t have to output hello world so you could just use the code used for testing if that´s what you mean

Querying a URL such as
https://raw.githubusercontent.com/engineer-man/piston/master/packages/brainfuck/2.7.3/test.bf
you can get the content of a script which outputs OK, and therefore I still can't see a need for this sort of feature.

There is no way to find this url since you can´t get the file extension from the api so no that´s not a solution

You can, the list of aliases contains one of the extensions - usually the shortest one.

That doesn´t always work for example with bash where the only alias is sh but the name of the file which should be test.sh is actually test.bash.sh
I actually just wanted to contribute to this project and I felt like this would have been a useful feature to add but it seems like contributions like this aren´t welcome

Its not that contributions aren't welcomes, its that the need for this features if very limited, and if we fill the API with bloat, it over time will lose its speed to feature creep.


typography - no easy way to adjust it

font-size, line height an margin are hardcoded with 'px' values.
can't we go with em's ?

Nope. Pixels it is.


First step to have a typed structure of the timeline

The timeline is now draw through the function Timeline with the different parts of the component:

TimelineHeader: which display flows hours and flows type on top of the timeline
TimelineFooter: which display the time of the day (from user start of day to user end of day) split by half hour at the bottom
TimelineFlows: which display all the TimelineFlow (depending on the display user choice, i.e: single flat line, expand lines)
TimelineNotes: which display the notes on top of the flows for the given time and handle the event to open / close a modal with the note content.
to draw the timeline call timeline.draw() (call multiple time timeline.draw() or timeline.draw(f => f.flowType) will only draw the flows inside the timeline (and keep the notes displayed))
to draw the notes call timeline.drawNotes(notes)

Next to come:

draw the command
draw the summary
still wondering about:

moving the different functions in their own js file (will have a cost on visibility but will ease the reading of the current file)
moving the different objects from function to class is valuable

@bbougon I don't understand why this is not merged, sorry for that. Can you resolve the conflicts and I will merge it asap?

I'll do it asap (hope today) ;).
FYI, the bug we talked about a long time ago (notes overlapping in top on one another), I did not reproduce it


[Bug]: Teleporters do not preserve velocity on linux servers

Describe the bug.
When exiting a teleporter on a linux server, the player does not retain their velocity from when they entered. On a comparable windows server, the velocity is maintained.
Note that a linux-specific crash related to teleporters and velocity was reported by us back in 2020. That crash has definitely been fixed, but I'm curious if something related to that fix causes this velocity discrepancy.
Video with description for the original crash bug here:  https://www.youtube.com/watch?v=DD-cUaDTBFA
Version
rev15
What server did this occur on?
Locally hosted servers, SCG
Reproduction steps
1. Run a Windows server
2. Enter a teleporter (ie. on dm_darkzone)
3. Notice that your velocity is maintained when exiting.

4. Run a Linux server
5. Enter a teleporter  (ie. on dm_darkzone)
6. Notice that your velocity is not maintained when exiting.

Which operating systems have you used?
Linux
Expected behavior
Teleporter exit velocity is maintained the same on both operating systems.
Relevant log output
No response
Additional context
No response

We have created a plugin that works around this issue here: https://github.com/SouthernCrossGaming/of-teleporter-velocity-fix

What the hell

Fixed by sappho


fix: save() on windows (tweaks and CI test runner)

This PR addresses potential issues when using GT.save() on a windows machine. It removes an unnecessary tmp dir being used when initiating NamedTemporaryFile (which could cause bizarreness), and adds a windows runner to our CI.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.71%. Comparing base (14ce2c5) to head (dee0377).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #300      +/-   ##
==========================================
- Coverage   81.71%   81.71%   -0.01%
==========================================
  Files          41       41
  Lines        4321     4320       -1
==========================================
- Hits         3531     3530       -1
  Misses        790      790

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Okay, the remaining test failures are all related to paths in our fmt_image snapshot tests!


ARROW-1239: [JAVA] upgrading git-commit-id-plugin

Currently used version of the git-commit-id-plugin maven plugin (2.1.9) doesn't work with recent git structures. This is for majority of the users not manifested since Arrow has the java maven root in the project subdirectory  (/java) instead of top level so this plugin normally doesn't kick in if maven is executed from the subdirectory (usual case - ie cd java; mvn install - works fine) as the plugin doesn't see the .git directory but it does kick in and fail if executed from the main arrow top level dir as mvn -f java/pom.xml install (where the .git sits):
$ mvn -f java/pom.xml package
...
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.9:revision (for-jars) on project arrow-java-root: Execution for-jars of goal pl.project13.maven:git-commit-id-plugin:2.1.9:revision failed: Bare Repository has neither a working tree, nor an index -> [Help 1]

Simple fix is upgrading the plugin to recent version (the minimal working version appears to be 2.1.13).
This is required for seamless integration with Jenkins (ARROW-1234).

Thanks @antonymayi!


Fatal Python error: deallocating None

By using Python after 14 000 - 30 000 frames got from RTSP it raises that error
GVA is used in Docker container

This was fixed in a patch release:
https://github.com/opencv/gst-video-analytics/releases/tag/v1.0.1

does this fix us included into docker image "openvino/ubuntu18_runtime:latest" or not?

I do not believe so - you can check the version though using gst-inspect-1.0, element should indicate 1.0.1 if it has the fix vs 1.0.0 which doesn't.
vaserving@nnshah1-NUC8i7BEH:/home/video-analytics-serving$ gst-inspect-1.0 gvadetect
Factory Details:
  Rank                     none (0)
  Long-name                Object detection (generates GstVideoRegionOfInterestMeta)
  Klass                    Video
  Description              Object detection (generates GstVideoRegionOfInterestMeta)
  Author                   Intel Corporation

Plugin Details:
  Name                     videoanalytics
  Description              Video Analytics elements
  Filename                 /opt/intel/openvino/data_processing/dl_streamer/lib/libgstvideoanalytics.so
  Version                  <IP_ADDRESS>bc5e376
  License                  MIT/X11
  Source module            gst-video-analytics
  Binary package           GStreamer Video Analytics elements
  Origin URL               https://github.com/opencv/gst-video-analytics

Thank U
I m trying to make a new docker image )

I try to compile and make the new Docker image.
Step 92/128 : COPY l_openvino_toolkit_p_${OpenVINO_VERSION}.tgz . is failed.
the right (2020.2.120) image is in Downloads but is not seen....

I believe the image (zip) needs to be in the root of the docker build context (root of the cloned repo) -

Thank U


Answer to deserialize(null) is not as expected

Note to myself: Look into the response of (de)serializing undefined or null

I'm bumping this because I just spent 2 hours trying to find out why my property marked as optional was throwing an error on deserialising when it wasn't present - only to find out that it was present with a null value which is apparently different than "not present at all". The reason ("Given value is null.") doesn't explain the difference between the expected behaviour, namely all non-values (undefined, null, property not present) deserialising normally, and the actual behaviour, namely only undefined and property not present deserialising normally.
I think a simple note along the lines of "explicit null values are treated as value, not as empty values" in the deserialisation message would already help.

Interesting. But yes, null values are treated as values. Optional means, as you said, that if it is present, it has to match the given type.
It doesn't necessarily throw an exception then. It depends, whether you allow null values. If you use the mode ValueCheckingMode.ALLOW_NULL, json2typescript will allow what you want. But then null is always allowed for all properties.

Thanks for the quick reply! I think including info on the ValueCheckingMode in the error message would also be helpful, but a general mention of the treatment of null values would definitely improve debuggability.
The ValueCheckingMode can only be set globally, correct? It might be interesting to allow or disallow null values for different objects, e.g. depending on which external API returns them. At the moment I'm fixing my own API so null isn't returned, though, so I don't need the feature right now.

Yes, I will note it down.
The checking mode is set per instance of JsonConvert. You can set up multiple instances for different objects, if you want to. Or you can write a wrapper that changes the checking mode before doing requests for certain objects.

Oh, that sounds very useful! I'll keep it in my should I ever need it.

In general I would still recommend to use JsonConvert as a singleton, it's easier to just have one instance of it in the whole project.
There is an actual reason why we decided to treat null not the same as not present. null is often used in databases when no relation is wanted. But it still can mean that the user has selected not to have a relation, while removing the property could mean that the relation has not been defined yet:

null = chosen not to have a relation
int = foreign key id
undefined/non-present = not chosen yet

This problem should be fixed, see also #69.


NPE: Cannot invoke "java.net.URL.toExternalForm()" because "url" is null

Describe the bug
I have Eclipse IDE For Java Developers v4.32.0 linked with Ghidra using GhidraDev that came with the latest release of Ghidra as of this post. I am working on a Java Ghidra Script and when I right click -> Debug As -> Ghidra, while the loading splash screen is up, the Eclipse debugger breaks on line 120 of GhidraHelpService.class String asString = url.toExternalForm();. Once I continue past that break, the follow exception is displayed in the console:
NullPointerException - Cannot invoke "java.net.URL.toExternalForm()" because "url" is null (SwingExceptionHandler) java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "url" is null
	at ghidra.base.help.GhidraHelpService.mapHelpToModule(GhidraHelpService.java:120)
	at ghidra.base.help.GhidraHelpService.findHelpSetsByModule(GhidraHelpService.java:104)
	at ghidra.base.help.GhidraHelpService.loadHelpSets(GhidraHelpService.java:85)
	at ghidra.base.help.GhidraHelpService.<init>(GhidraHelpService.java:60)
	at ghidra.base.help.GhidraHelpService.install(GhidraHelpService.java:51)
	at ghidra.GhidraRun.lambda$launch$1(GhidraRun.java:83)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Aside from the obvious, I don't know the cause of this or how to fix it. I did read #5327 and #3374 which seem related, but the circumstances are different. I am not creating an extension, I am working on a GhidraScript and additionally, I did not download the sources, but I downloaded/installed the release. Furthermore, I have not been able to locate any file named base_map.xml anywhere in the ghidra directory. Last, I saw some comments about "deleting the build directory", and am unsure what that would be in this case, I didn't knowingly create a build directory and haven't seen one in eclipse-workspace/GhidraScripts/bin for example.
To Reproduce
Steps to reproduce the behavior:

Open Eclipse IDE
Create a new GhidraScript or open an existing one
Right click in the script, click Debug As -> Ghidra
See error

Expected behavior
Ghidra starts up normally and I debug the script.
Environment (please complete the following information):

OS: Fedora 38
Java Version: 21.0.3 and 17.0.11
Ghidra Version: 11.1.2
Ghidra Origin: [e.g. official GitHub distro, third party distro, locally built]

Additional context
This only occurs when debugging with Eclipse, not when running Ghidra normally via ./ghidraRun.

The comments relating to the build directory relate to having run a gradle command(s) in your installation.   If you have not run any gradle commands, then I don't think this will apply to you.   Have you run any gradle commands in your installation?

base_map.xml is a help artifact that gets built for the distribution (or when you build help via gradle).   The installation you are using should contain base_map.xml inside of the Base.jar located in:
{ghidra install dir}/Ghidra/Features/Base/lib

If you are not doing any building from the command-line using gradle, then you do not need to worry about this file, as it will be in the distribution.

I believe there had been a change related to the eclipse GhidraDev plugin that fixed the issue for #3374.
@ryanmkurtz may be able to confirm the correct usage of the GhidraDev plugin.

No.

base_map.xml is a help artifact that gets built for the distribution (or when you build help via gradle). The installation you are using should contain base_map.xml inside of the Base.jar located in:
{ghidra install dir}/Ghidra/Features/Base/lib

If you are not doing any building from the command-line using gradle, then you do not need to worry about this file, as it will be in the distribution.
Ok, I'm sure it's there.

If you are willing to try to debug the issue, then I can tell you where to put a breakpoint and what to check.   Place a breakpoint inside of:
resources.ResourceManager.java at line 81
The method should look like this:
	public static URL getResource(String filename) {
		URL url = classLoader.getResource(filename);
		if (url != null) {
			return url;
		}

		url = getResource(getTestSearchPaths(), filename);
		return url;
	}

Line 81 should be this:
url = getResource(getTestSearchPaths(), filename);
When you try to run Ghidra again, hitting this breakpoint should mean there is a resource being requested that cannot be found.   I'd like to know the value of filename at this point.
Presumably there is an entry(ies) on your classpath that should not be there.  Knowing the value of filename should help.

@dragonmacher Sure! The filename is help/Base_HelpSet_en_US.hs.

I'm seeing that entry too.   This method is called from multiple places, some of which handle the null case correctly.
For my setup, I'm seeing the following list of files that are not queried from the problematic code.  These files do not exist and the null value returned is handled:
 help/Base_HelpSet_en_US.hs
 help/Base_HelpSet_en.hs

This list is a sample of files that should all have a non-null return value from getResources():
 help/Base_HelpSet.hs
 help/Dummy_HelpSet.hs
 help/Jython_HelpSet.hs
 help/FileFormats_HelpSet.hs
 help/VersionTrackingBSim_HelpSet.hs
 help/ProgramGraph_HelpSet.hs
 help/ProgramDiff_HelpSet.hs
 help/Base_HelpSet.hs
 help/Docking_HelpSet.hs
 help/FunctionGraph_HelpSet.hs
 help/GraphServices_HelpSet.hs
 help/GraphFunctionCalls_HelpSet.hs
 help/Decompiler_HelpSet.hs
 help/VersionTracking_HelpSet.hs
 help/sample_HelpSet.hs
 help/PDB_HelpSet.hs
 help/Debugger_HelpSet.hs
 help/ByteViewer_HelpSet.hs

If you are willing, I'd like to see what filenames are returning null that are not part of the first group that I listed.  You should be able to keep pressing play every time your breakpoint is hit, noting the filename that you see each time.
I'm curious to know a handful of the filenames that are returning null for you.

@dragonmacher I'll go do this in a few mins; btw do you know a temporary workaround for me to get Ghidra fired up for debugging? I was thinking maybe I could replace some value somewhere to get it to continue, but am unsure as I'm pretty new to Ghidra development and also Java isn't exactly my forte.

The SampleTablePlugin is an extension that we ship in a build.   Do you know if you installed that extension?
You can try removing it from the installation.  With Ghidra closed,

Open a filesystem browser and find {Ghidra install dir}/Extensions/Ghidra
There should be a file named ghidra_{version}_SampleTablePlugin.zip
Move that file out of the installation (or simply delete it)

Restart Ghidra to see if that fixes the issue.

@dragonmacher Yes, I had just recently enabled that extension. I simply disabled it in the File -> Install Extensions menu of the Project window and I was able to enter Ghidra in debug mode. Thank you!    I will investigate to see if I can reproduce that myself.


reporters: add timestamp to log in describe() func

When debugging flaky tests that may be caused by timing
issues, it's handy to have a timestamp of everything that
was going on in the test when it failed.

My internet at home is down so it will be a day or two before I can publish a build with these changes. Sorry 🙁

No worries, no rush needed, thanks!

Thank you for the contribution! You can download the latest package with your changes here: https://www.nuget.org/packages/canopy/1.0.6


refactor get-terraform-dir to remove duplication between jobs

get-terraform-dir should use a single file type list that is used to populate both jobs so that changes are only required in one place. This isn't urgent, because the likely hood of the terraform file types changing is low.

We might not be using this action now because terraform-docs uses the native find feature and we are currently testing trunk-io code quality which would replace the lint workflow.


feat(devtools): devtools to draw dependency graphs in page

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

100 of 100 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
1455

Relevant Lines:
1455

💛  - Coveralls


Travis webhook verification

https://github.com/abiosoft/caddy-git/blob/7c37f04cfac86475f954286aa1b7e7aba0fa1ca9/travis_hook.go#L81
Is the handleSignature function correct? The Travis documentation seems to imply the code should check the Signature header against Travis’ public key.
It seems like the Authorization header is an old method of authenticating Travis requests phased out in November 2016.

Oops, thanks for reporting this.
Unfortunately I do not have time to work on this at the moment, it may take a week or two.


update Operators.md

make some changes as follows:

\s+ replace to single space.
import { filter, map } from 'rxj'; package path error.

To clean the pr list up a bit, I will close this issue, if you want to update your changes, feel free to submit a new pr


Use bullet character for ul instead of middle-dot

The middle dot looks very small, the bullet seems like a better choice. Visually it is more appealing, and matches standard markdown renderers like in GitHub readmes.

thx

I noticed this has not been released and I changed it manually, styling would need to be changed for the bullet to show in the middle of the text.
lineHeight

What happened to this commit? The old character (\u00B7") is still used in master.


Inmemory cache does not save all data

I have 2002 users in my database. If I start the server with inmemory cache and guest enabled and run time curl localhost:8000/rest/users/user/, I have to wait for about 11 or 12 secs. Before the first run in utils/collection.py line 317 I run print(len(missing_ids)) and got 2002. A second run returns about 1790.
I do not know why my users aren't saved to the cache after the first run.
@ostcar Can you reproduce this?

It was really hard to reproduce it. I used the current master with a fresh settings and fresh db and updated all requirments. First I ran into this one, so I switched to postgres: https://github.com/OpenSlides/OpenSlides/issues/2812
This I ran into this one: #2829, so I installed the current version of twisted
Then I could reproduce you error and find the django config value MAX_ENTRIES: https://docs.djangoproject.com/en/1.10/topics/cache/#cache-arguments
You can set this to a higher value in our config. But I would not recommend it. the inmemory cache is not build for big assemblies. If you have an assembly with 2000 users, then you should use the big mode with the redis cache.

Ok. This needs discussion. What should be our default for small assemblies. I can imagine an assembly with only some managers and no active participants (Präsentationsmodus) but with 200 motions and 200 imported participants. The the cache should be able to handle this. What is the disadvantage of a high MAX_ENTRIES number? (Of course assemblies with more than 20 active users should use the big mode, that is not the question. Or do we also recommend the big mode for events with more database objects?)

I have no interest in discussing this. I think the real discussion is, if we can make redis an hard requirement. If we do so, then this issue can be closed.
the inmemory cache is a python dict. So the only problem with a big mx_entries seems to be, that it will use more memory. max_entries is a feature that will removed old cache values and keeping the needed memory at a fix state.

Ok. An itermediate solution would be to increase the number to a realitic value for small assemblies with medium amount of data: 1000 entries per app -> 10000 objects are no problem for memory I think.

Ok, I'll set it to 10000.


gem install ecdsa -v '1.2.0'  ERROR

i using bundle install to install it ,  i got error  ;
An error occurred while installing ecdsa (1.2.0), and Bundler cannot continue. Make sure thatgem install ecdsa -v '1.2.0'succeeds before bundling.
im try gem install ecdsa -v '1.2.0'
i got error  ERROR:  Error installing ecdsa:         ecdsa requires RubyGems version >= 2. Try 'gem update --system' to update RubyGems itself.
and
gem update --system ERROR:  While executing gem ... (RuntimeError)     gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported way to update rubygems is through apt-get, using Debian official repositories. If you really know what you are doing, you can still update rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please remember that this is completely unsupported by Debian.
now what am i doing ?

i fixed that now i got new Error :
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency.rb:308:into_specs': Could not find 'bundler' (>= 0) among 1 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/root/.gem/ruby/1.9.1:/usr/lib/ruby/gems/1.9.1', execute gem env for more information
from /usr/local/lib/site_ruby/1.9.1/rubygems/dependency.rb:320:in to_spec'         from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_gem.rb:65:in gem'
from /usr/local/bin/bundle:22:in <main>'

do a "sudo gem install bundler" and then "sudo bundle install" again


Marker's onPress doesn't return nativeEvent.position on iOS

Summary
The event from onPress for a Marker doesn't return the position field that's supposed to be inside e.nativeEvent on iOS. This is returned only on Android.
This bug is further evinced on Stack Overflow.
Reproducible sample code
<Marker
  ...
  onPress={(event) => {
   console.log(event.nativeEvent)
  }}
/>

Steps to reproduce

Use this project on iOS.
Specify an onPress for a Marker
See that the event's nativeEvent does not return a position, only coordinates. (it should return both, per the docs)

Expected result
nativeEvent should return a position value.
Actual result
nativeEvent does not return a position value on iOS.
React Native Maps Version
1.10.3
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.72.4
What version of Expo are you using?
SDK 48
Device(s)
iPhone 15 Po
Additional information
No response

Hi @melyux, thanks for reporting this. I think this is a mistake in the documentation because this marker uses GMSMarker underneath and his position property type is CLLocationCoordinate2D. This type has only latitude, longitude and animatableData.
Sources:
https://developer.apple.com/documentation/corelocation/cllocationcoordinate2d
https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_marker#property-documentation

I have reproduced and encountered the same issue on an iPhone 15 simulator. Here are the details of my environment:
React Native Version: 0.71.14
Device: iPhone 15 simulator
The other fields in the bug report are the same as those in my environment.

Still relevant

Still relevant

I added this lines to AIRMapMarker.m file and then nativeEvent returns position as well:
diff --git a/ios/AirMaps/AIRMapMarker.m b/ios/AirMaps/AIRMapMarker.m
index adac6a3..81681bd 100644
--- a/ios/AirMaps/AIRMapMarker.m
+++ b/ios/AirMaps/AIRMapMarker.m
@@ -264,13 +264,19 @@ NSInteger const AIR_CALLOUT_OPEN_ZINDEX_BASELINE = 999;
     }

     // the actual marker got clicked
+    CGPoint touchPointReal = [recognizer locationInView:self.calloutView];
     id event = @{
                  @"action": @"marker-press",
                  @"id": marker.identifier ?: @"unknown",
                  @"coordinate": @{
                          @"latitude": @(marker.coordinate.latitude),
                          @"longitude": @(marker.coordinate.longitude)
+                         },
+                 @"point": @{
+                         @"x": @(touchPointReal.x),
+                         @"y": @(touchPointReal.y),
                          }
                  };

The diff which I committed to my fork as a possible solution: AIRMapMarker.m

@abdullahbayram Thanks for solving this paşam. But there's a problem: on iOS, the returned field is now called point while it's called position in Android.

@melyux You're welcome, Praefectus digitalucus :). I’ve made a new follow-up pull request to fix it.


Add portfolio assets sorting

Reported by @pietrograndi.

Hi @leonardoarcari, did you thought about what sorting implement and how? Glad to help with the FE work if needed :D

I propose a sort by:

name
target weight
actual weight
quantity

what do you think?
Mockup

Makes completely sense to me.

Good stuff @corradopetrelli! Looks good to me 👍 I'm not sure sorting by Quantity makes much sense as it's not really a comparable unit between assets. Also, we should have a "No sorting" option to restore the original insertion ordering


Setup script has a permission error on Mac

Describe the bug
there is a bug in curl script on MacOS 14.1
To Reproduce
run curl command in a terminal
Expected behavior
script installs
Screenshots
» curl -sSL https://raw.githubusercontent.com/warpy-ai/tgs/main/install.sh | bash

No version specified, using latest: v0.2.9
Downloading https://github.com/warpy-ai/tgs/releases/download/v0.2.9/tgs-v0.2.9-aarch64-apple-darwin.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2051k  100 2051k    0     0  2038k      0  0:00:01  0:00:01 --:--:-- 10.8M
Extracting...
x inference_model.py
x model/
x model/tokenizer_config.json
x model/special_tokens_map.json
x model/config.json
x model/generation_config.json
x model/spiece.model
x model/pytorch_model.bin
x tgs
Installing...
mv: rename /var/folders/wf/htd4zs9j0sb4xvhl3hxl02700000gn/T/tmp.r8j7AHrG9T/tgs to /usr/local/bin/tgs: Permission denied

Desktop (please complete the following information):

OS: [e.g. iOS] --> macOS Sonoma 14.1
Terminnal : [sh , zsh]  --> zsh

Additional context
I also tried giving sudo privileges but still hit the same error.
Looks like a great tool, excited to check it out :)

@mmc102 Thank you for the report, I'll update the script

Yup, same issue:
tgs
dyld[39149]: symbol not found in flat namespace '_PyBytes_AsString'
zsh: abort      tgs

Hello @jucasoliveira! I'm facing the same issue mentioned in the previous reply, and I wanna offer my help with debugging and fixing this issue if you would like. I have no understanding of what's going on here, but if you point me in a direction I'd be happy to give it a shot :)
I'm running Sonoma 14.5 on an M1 MacBook Pro, and I'm using zsh.


Detroit - Listings Finder Q4 Accessibility

As a resident
I want might want to specify accessibility features I'm interested in
So that I can filter down the options available to me
Acceptance Criteria

When I click Next From Q3 Rent, then I will see the question for how much rent I can afford to pay
When I select the options, then it will filter the listing results accordingly
When I click Next after having chosen options, then it will take me to the disclaimer and then the filtered view that will factor all of the questions I've inputted up until now

Notes
Designs
https://www.figma.com/file/pIlN9vqLwUgOZYq6I5oM9l/bloom-public-eligibility-wizard?node-id=737%3A7208
Product Brief
https://docs.google.com/document/d/1KIECKEDJljxPq3l0PYRe-XerWdEDjqkf1KEm8e9-KeE/edit#heading=h.z2we68wtdnff
QA Notes
See #1445

@ColinBuyck looks good


The console.redhat.com site currently has no top-level OpenShift link or menu.

The console.redhat.com site currently has no top-level OpenShift link or menu.

Thanks! Merging


Something went very very wrong

It told me to post https://mclo.gs/pqjqWmA here.

Thansk for the report! I think the issue here is that you're got the 1.18.2 version of Oh The Biomes You'll Go, when you actually need the 1.19.2 version - try this file instead? https://www.curseforge.com/minecraft/mc-mods/oh-the-biomes-youll-go-fabric/files/4027262

Thanks for the report! I think the issue here is that you're got the 1.18.2 version of Oh The Biomes You'll Go, when you actually need the 1.19.2 version - try this file instead? https://www.curseforge.com/minecraft/mc-mods/oh-the-biomes-youll-go-fabric/files/4027262

fixed that. Then I got https://mclo.gs/YPndIYv

Closing this. You can get help for support questions like this one on either our forum or Discord server.


[Github App] AAGithub event I can hit a review API.

Description:
We need a webhook url to supply to the github app in github. This URL should be apigateway /postReview and forward on the request to the review Lambda.
Validation:
install the app in an example repo. Make a PR and see that the review lambda is triggered (going into it's own ticket)

[ ] Screenshot of postman 200 response

Tech steps:

[x] create API gateway in API stack
[x] make post method postReview
[x] lambda integration to the review lambda.
[x] deploy and and get the URL.
[x] test in postman
[x] then give URL to matt to add to github app.

Validation: