SIGSEGV (Signal 11) When Running PalWorld Server on ARM via Box64

Environment

OS: Debian GNU/Linux 12 (bookworm)
Kernel: 6.6.51+rpt-rpi-v8
CPU: Cortex-A72 @1.80 GHz
RAM: 8GB
Box64 Version: [Your Box64 Version]
Game: PalWorld Dedicated Server
UE Version: 5.1.1-0+++UE5+Release-5.1

Description
When running PalWorld dedicated server through Box64 on ARM architecture (Raspberry Pi), the server crashes with Signal 11 (SIGSEGV). This appears to be a memory access violation occurring during the emulation process.
Crash Log
Signal 11 caught.
Malloc Size=262146 LargeMemoryPoolOffset=262162
Malloc Size=131160 LargeMemoryPoolOffset=393352
Malloc Size=131160 LargeMemoryPoolOffset=524536

Steps to Reproduce

Install Box64 on Raspberry Pi
Setup PalWorld dedicated server
Launch server using default configuration
Server crashes with Signal 11 error

Additional Information

The error occurs while running UE5-based game server
System is installed on USB drive
Server is launched with default parameters
No custom configuration or modifications

Expected Behavior
Server should run stably without SIGSEGV crashes.
Actual Behavior
Server crashes with Signal 11, indicating memory access violation during x86_64 instruction translation.
Attempted Solutions

System has sufficient swap space
Running with default Box64 configuration
No memory limits set

Any additional information or logs needed, please let me know.

Workaround for now is to install Box64 version 2.7 064eb3c


Fix scope for multiple forms file inputs

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

If there are multiple forms on a page (of the same model and with the same formName) and these forms contain file input, than JS validation will affect only file input of the first form and will ignore all the other.

This could be a wider issue.
If you have two forms with the same model the input fields will have the same id which is against the HTML spec.

@Alex-Code you're right. This problem is listed in our plan for 2.1. Currently you have to take care of input IDs by yourself.
@uaoleg thank you for the PR

Changelog: https://github.com/yiisoft/yii2/commit/c9f500b3ed198812fc75d6278640481bdac0b751


usee cross-env to set env vars

Found this "bug" where you can't build on windows on a fresh clone because it doesn't recognize that you're trying to set an env var. This should work cross-platform

Thanks!


Fix the document: Task Level Comp Res is beta

Task-level Resource Requirements are beta. taskruns.md  says it is alpha. https://github.com/tektoncd/pipeline/blob/main/docs/additional-configs.md#beta-features correctly specify as beta.
Fixes #8005

Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] pre-commit Passed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/assign @chitrangpatel @vdemeester

/lgtm


polkadot: 0.9.6 -> 0.9.7

Motivation for this change
Bump.
Things done

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 128307 run on x86_64-linux 1

1 package built:

polkadot

@SuperSandro2000 excellent point. No, I was trying to use it with the features introduced in https://github.com/NixOS/nixpkgs/pull/122158, but that didn't work (one of the hashes in the Cargo.lock seems to be too short for Nix), so I went back to the usual approach.
Removed it, thanks for the thorough review!
/cc @danieldk in case you've seen errors like this one before.


request for status failed: Error: HTTPError: Response code 400 (Bad Request)

Hi,
I try to add a digital pin 14 like a button.
the Blynk api url look like this : http://<IP_ADDRESS>/token/get/14
Blynk server respond "Wrong pin format."
The right digital pin name need 'D' like this:  http://<IP_ADDRESS>/token/get/D14
Is any config on add-in setting can change the pin name to make it has 'D'
Thanks,

Thanks for the detail, I completely left of the type of pin from the request.


disentangle grpc deps from skywalking data definition

Introduce disentanglement grpc deps from skywalking data definition to overcome that envoy could build with unexpected Google Grpc dependency. For more detail, https://github.com/envoyproxy/envoy/pull/14493#discussion_r561511471

@lizan Please make sure that bazel build //source:cpp2sky_data_lib won't build Google Grpc

@lizan Please make sure that bazel build //source:cpp2sky_data_lib won't build Google Grpc

Make sense to separate them, especially for Envoy case. Let's wait for Lizan's review.

Make sense to separate them, especially for Envoy case. Let's wait for Lizan's review.


cmd: add error handling

Ⅰ. Describe what this PR did
add error handling in cmd/dfget
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #925 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #925      +/-   ##
==========================================
+ Coverage   46.75%   46.76%   +<.01%
==========================================
  Files         112      112
  Lines        6651     6653       +2
==========================================
+ Hits         3110     3111       +1
- Misses       3291     3293       +2
+ Partials      250      249       -1

Impacted Files
Coverage Δ

cmd/dfget/app/server.go
48.83% <0%> (-2.39%)
:arrow_down:

supernode/daemon/mgr/scheduler/manager.go
22.6% <0%> (+0.68%)
:arrow_up:

Continue to review full report at Codecov.

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

Why you open 3 PR? Can you finish your work in #925 ?

Why do you open 3 PR? Could you please finish your work in #924 ?

@yeya24
because they are in different folder.
I don't know if they should handle together.

@yeya24
because they are in different folder.
I don't know if they should handle together.

This codes are in the same purpose so it is OK to put in one PR.

@yeya24
I will Make up for this mistake.

@yeya24
I merged them to #924 .
And I will close this PR and #927


[Issue] azd pipeline config for azdo fails "ERROR: ensuring git remote: Looking for repository: The resource cannot be found."

Output from azd version
azd version 1.5.0 (commit 012ae734904e0c376ce5074605a6d0d3f05789ee)
Describe the bug
The command:
azd pipeline config --provider azdo --principal-name sp-EntraAssessDev --debug

Results in the error:
ERROR: ensuring git remote: Looking for repository: The resource cannot be found.

To Reproduce
Outside of my environment, not sure.
Expected behavior
The pipeline is configured or a detailed error message is returned.
Environment
Information on your environment:
* Windows 11
* PowerShell 7.4.0
Additional context
I can commit and push changes from the command line. So I'm not sure why it can't find the repository. Any help is appreciated. 😀
DebugOutput.txt

Also, I'm not sure if I am recalling this correctly or not but isn't there some instructions on manually configuring an AZDO pipeline for AZD somewhere?

Also, I'm not sure if I am recalling this correctly or not but isn't there some instructions on manually configuring an AZDO pipeline for AZD somewhere?

This might be useful: https://github.com/Azure/azure-dev/blob/main/cli/azd/docs/manual-pipeline-config.md

@jasontaylordev , what do you get if you run git remote -v ?
IIRC, if the remote is using ssh, azd won't work for azdo...  there was a pending issue to fix.
https should be fine

@jasontaylordev , what do you get if you run git remote -v ?

~#@❯ git remote -v
origin<EMAIL_ADDRESS>(fetch)
origin<EMAIL_ADDRESS>(push)
Thanks for looking into this @vhvb1989 😀

I have now manually configured the pipeline and it is working well. I did not identify the root cause, but can still reproduce the error locally by running azd pipeline config --provider azdo --principal-name sp-EntraAssessDev --debug.
I'm happy to keep troubleshooting this issue; let me know what you would like to try next.
If not, feel free to close as I am no longer blocked.

Also having this issue

@jasontaylordev , what do you get if you run git remote -v ?
IIRC, if the remote is using ssh, azd won't work for azdo... there was a pending issue to fix. https should be fine

Feature is tracked via #1896 closing this as a duplicate.

@rajeshkamal5050 This issue still exists under https ?
Commands:
  (✓) Done: Checking current directory for Git repository

ERROR: ensuring git remote: Looking for repository: The resource cannot be found.
PS C:\FOLDER\> git remote -v
origin<EMAIL_ADDRESS>(fetch)
origin<EMAIL_ADDRESS>(push)
PS C:\FOLDER\>

azd version 1.9.5

@pbusfield , we have an open PR which should fix this. See: https://github.com/Azure/azure-dev/pull/4104
Can you try installing azd from that PR to validate your use case?

Excellent, Thank you, I will give it a go.
Thanks
Peter
On Thu, Aug 1, 2024 at 4:34 PM Victor Vazquez @.***>
wrote:

@pbusfield https://github.com/pbusfield , we have an open PR which
should fix this. See: #4104 https://github.com/Azure/azure-dev/pull/4104
Can you try installing azd from that PR to validate your use case?
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-dev/issues/3037#issuecomment-2262161445,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU6FQJU332OMEGHPL774USTZPHJIPAVCNFSM6AAAAABAAJSYUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRSGE3DCNBUGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@vhvb1989 @rajeshkamal5050  No, this version didn't fix my issue, I still got the same error.
PS C:\FOLDER\APPNAME> azd pipeline config --provider azdo -e test

Configure your Azure DevOps pipeline

You need an Azure DevOps Personal Access Token (PAT). Create a PAT by following the instructions here https://aka.ms/azure-dev/azdo-pat
(skip this prompt by setting the PAT to env var: AZURE_DEVOPS_EXT_PAT)
? Personal Access Token (PAT): ****************************************************
  (✓) Done: Checking current directory for Git repository

ERROR: ensuring git remote: Looking for repository: The resource cannot be found.

I confirm the .git folder is in the C:\FOLDER\APPNAME location.

@pbusfield , can you run the command with debug, like azd pipeline config --debug  and share the logs?
The error there is coming after trying to fetch the git remote repository from the Azdo Org/project and it is not found.  We need to check the http response from the debug to see if it is unauthorized (your PAT has no access to read repos) or if it is a 404 (the git repo does not exists)

I gave the PAT full access to make sure this wasn't the issue.
These are the logs:
PS C:\ORG\REPO> azd pipeline config --debug
2024/08/02 10:09:20 main.go:56: azd version: 1.10.0-beta.1-pr.3987584 (commit 29a1b6244357a139e52c47f6dfbde67e6afb8b2b)
2024/08/02 10:09:20 main.go:217: ignoring cached latest version, it is out of date
2024/08/02 10:09:20 main.go:239: fetching latest version information for update check
2024/08/02 10:09:20 project.go:120: Reading project from file 'C:\ORG\REPO\azure.yaml'
2024/08/02 10:09:20 middleware.go:108: running middleware 'debug'
2024/08/02 10:09:20 middleware.go:108: running middleware 'ux'
2024/08/02 10:09:20 middleware.go:108: running middleware 'experimentation'
2024/08/02 10:09:20 assignment.go:87: could not read assignment from cache: cache expired
2024/08/02 10:09:20 main.go:50: Retry: =====> Try=1
2024/08/02 10:09:20 main.go:50: Request: ==> OUTGOING REQUEST (Try=1)
GET https://default.exp-tas.com/exptas49/b80dfe81-554e-48ec-a7bc-1dd773cd6a54-azdexpws/api/v1/tas
Accept: application/json
User-Agent: azsdk-go-variantassignment/0.0.1 (go1.21.0 X:loopvar; Windows_NT)
X-ExP-Parameters: REDACTED
X-Exp-Sdk-Version: REDACTED
2024/08/02 10:09:20 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/270.4291ms, OpTime=271.6239ms) -- RESPONSE RECEIVED
GET https://default.exp-tas.com/exptas49/b80dfe81-554e-48ec-a7bc-1dd773cd6a54-azdexpws/api/v1/tas
Accept: application/json
User-Agent: azsdk-go-variantassignment/0.0.1 (go1.21.0 X:loopvar; Windows_NT)
X-ExP-Parameters: REDACTED
X-Exp-Sdk-Version: REDACTED
RESPONSE Status: 200 OK
Content-Length: 233
Content-Type: application/json; charset=utf-8
Date: Fri, 02 Aug 2024 00:09:19 GMT
Etag: 941858517_1546953650
X-Cache: REDACTED
X-Content-Type-Options: REDACTED
X-Exp-Trackingid: REDACTED
X-Msedge-Ref: REDACTED
2024/08/02 10:09:20 main.go:50: Retry: response 200
2024/08/02 10:09:20 main.go:50: Retry: exit due to non-retriable status code
2024/08/02 10:09:20 experimentation.go:42: assignment context: 0g5ad841:76970;
2024/08/02 10:09:20 middleware.go:108: running middleware 'telemetry'
2024/08/02 10:09:20 telemetry.go:43: TraceID: 64639cc31033b20fbae78e1c7682b753
2024/08/02 10:09:20 project.go:120: Reading project from file 'C:\ORG\REPO\azure.yaml'
2024/08/02 10:09:21 command_runner.go:307: Run exec: 'git -C C:\ORG\REPO rev-parse --show-toplevel' , exit code: 0
-------------------------------------stdout-------------------------------------------
C:/ORG/REPO
2024/08/02 10:09:21 pipeline_manager.go:659: Loading project configuration from: C:\ORG\REPO\azure.yaml
2024/08/02 10:09:21 project.go:120: Reading project from file 'C:\ORG\REPO\azure.yaml'
2024/08/02 10:09:21 pipeline_manager.go:664: Loaded project configuration: &{RequiredVersions: Name:REPO ResourceGroupName:{template:} Path:C:\ORG\REPO Metadata: Services:map[app:0xc0004b8240] Infra:{Provider: Path:infra Module: IgnoreDeploymentState:false} Pipeline:{Provider: Variables:[] Secrets:[]} Hooks:map[] State: Platform: Workflows:map[] Cloud: EventDispatcher:0xc00061a230}
2024/08/02 10:09:21 pipeline_manager.go:674: Using persisted provider from environment: azdo
2024/08/02 10:09:21 project.go:120: Reading project from file 'C:\ORG\REPO\azure.yaml'
2024/08/02 10:09:21 importer.go:127: using infrastructure from C:\ORG\REPO\infra directory
2024/08/02 10:09:21 pipeline_manager.go:791: Checking for provider files for: azdo
2024/08/02 10:09:21 pipeline_manager.go:820: YAML path: C:\ORG\REPO.azdo\pipelines\azure-dev.yml
2024/08/02 10:09:21 pipeline_manager.go:821: Directory path: C:\ORG\REPO.azdo\pipelines
2024/08/02 10:09:21 pipeline_manager.go:832: Checking if directory C:\ORG\REPO.azdo\pipelines is empty
2024/08/02 10:09:21 pipeline_manager.go:857: Provider files are present for: azdo
2024/08/02 10:09:21 pipeline_manager.go:747: Using pipeline provider: Azure DevOps
2024/08/02 10:09:21 importer.go:127: using infrastructure from C:\ORG\REPO\infra directory
2024/08/02 10:09:21 command_runner.go:307: Run exec: 'C:\Users\MYNAME.azd\bin\bicep.exe --version' , exit code: 0
-------------------------------------stdout-------------------------------------------
Bicep CLI version 0.28.1 (ba1e9f8c1e)
2024/08/02 10:09:21 bicep.go:97: bicep version: 0.28.1
2024/08/02 10:09:21 bicep.go:111: using local bicep: C:\Users\MYNAME.azd\bin\bicep.exe
|=      | Initialize bicep provider2024/08/02 10:09:22 main.go:296: updated cache file to version 1.9.5 (expires on: 2024-08-03T00:09:22Z)
|       | Initialize bicep provider2024/08/02 10:09:24 command_runner.go:307: Run exec: 'C:\Users\MYNAME.azd\bin\bicep.exe build C:\ORG\REPO\infra\main.bicep --stdout' , exit code: 0
-------------------------------------stdout-------------------------------------------
{
"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
"contentVersion": "<IP_ADDRESS>",
"metadata": {
"_generator": {
"name": "bicep",
"version": "<IP_ADDRESS>646",
"templateHash": "373355230523436896"
}
},
"parameters": {
"environmentName": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"metadata": {
"description": "Name of the environment that can be used as part of naming resource convention, the name of the resource group for your application will use this name, prefixed with rg-"
}
},
"location": {
"type": "string",
"minLength": 1,
"metadata": {
"description": "The location used for all deployed resources"
}
},
"principalId": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Id of the user or app to assign application roles"
}
}
},
"variables": {
"tags": {
"azd-env-name": "[parameters('environmentName')]"
}
},
"resources": [
{
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2022-09-01",
"name": "[format('rg-{0}', parameters('environmentName'))]",
"location": "[parameters('location')]",
"tags": "[variables('tags')]"
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2022-09-01",
"name": "resources",
"resourceGroup": "[format('rg-{0}', parameters('environmentName'))]",
"properties": {
"expressionEvaluationOptions": {
"scope": "inner"
},
"mode": "Incremental",
"parameters": {
"location": {
"value": "[parameters('location')]"
},
"tags": {
"value": "[variables('tags')]"
},
"principalId": {
"value": "[parameters('principalId')]"
}
},
"template": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "<IP_ADDRESS>",
"metadata": {
"_generator": {
"name": "bicep",
"version": "<IP_ADDRESS>646",
"templateHash": "11585549932300993993"
}
},
"parameters": {
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "The location used for all deployed resources"
}
},
"principalId": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Id of the user or app to assign application roles"
}
},
"tags": {
"type": "object",
"defaultValue": {},
"metadata": {
"description": "Tags that will be applied to all resources"
}
}
},
"variables": {
"resourceToken": "[uniqueString(resourceGroup().id)]"
},
"resources": [
{
"type": "Microsoft.App/managedEnvironments/dotNetComponents",
"apiVersion": "2024-02-02-preview",
"name": "[format('{0}/{1}', format('cae-{0}', variables('resourceToken')), 'aspire-dashboard')]",
"properties": {
"componentType": "AspireDashboard"
},
"dependsOn": [
"[resourceId('Microsoft.App/managedEnvironments', format('cae-{0}', variables('resourceToken')))]"
]
},
{
"type": "Microsoft.ManagedIdentity/userAssignedIdentities",
"apiVersion": "2023-01-31",
"name": "[format('mi-{0}', variables('resourceToken'))]",
"location": "[parameters('location')]",
"tags": "[parameters('tags')]"
},
{
"type": "Microsoft.ContainerRegistry/registries",
"apiVersion": "2023-07-01",
"name": "[replace(format('acr-{0}', variables('resourceToken')), '-', '')]",
"location": "[parameters('location')]",
"sku": {
"name": "Basic"
},
"properties": {
"adminUserEnabled": true
},
"tags": "[parameters('tags')]"
},
{
"type": "Microsoft.Authorization/roleAssignments",
"apiVersion": "2022-04-01",
"scope": "[format('Microsoft.ContainerRegistry/registries/{0}', replace(format('acr-{0}', variables('resourceToken')), '-', ''))]",
"name": "[guid(resourceId('Microsoft.ContainerRegistry/registries', replace(format('acr-{0}', variables('resourceToken')), '-', '')), resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', format('mi-{0}', variables('resourceToken'))), subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '7f951dda-4ed3-4680-a7ca-43fe172d538d'))]",
"properties": {
"principalId": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', format('mi-{0}', variables('resourceToken'))), '2023-01-31').principalId]",
"principalType": "ServicePrincipal",
"roleDefinitionId": "[subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '7f951dda-4ed3-4680-a7ca-43fe172d538d')]"
},
"dependsOn": [
"[resourceId('Microsoft.ContainerRegistry/registries', replace(format('acr-{0}', variables('resourceToken')), '-', ''))]",
"[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', format('mi-{0}', variables('resourceToken')))]"
]
},
{
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2022-10-01",
"name": "[format('law-{0}', variables('resourceToken'))]",
"location": "[parameters('location')]",
"properties": {
"sku": {
"name": "PerGB2018"
}
},
"tags": "[parameters('tags')]"
},
{
"type": "Microsoft.App/managedEnvironments",
"apiVersion": "2024-02-02-preview",
"name": "[format('cae-{0}', variables('resourceToken'))]",
"location": "[parameters('location')]",
"properties": {
"workloadProfiles": [
{
"workloadProfileType": "Consumption",
"name": "consumption"
}
],
"appLogsConfiguration": {
"destination": "log-analytics",
"logAnalyticsConfiguration": {
"customerId": "[reference(resourceId('Microsoft.OperationalInsights/workspaces', format('law-{0}', variables('resourceToken'))), '2022-10-01').customerId]",
"sharedKey": "[listKeys(resourceId('Microsoft.OperationalInsights/workspaces', format('law-{0}', variables('resourceToken'))), '2022-10-01').primarySharedKey]"
}
}
},
"tags": "[parameters('tags')]",
"dependsOn": [
"[resourceId('Microsoft.OperationalInsights/workspaces', format('law-{0}', variables('resourceToken')))]"
]
},
{
"type": "Microsoft.Authorization/roleAssignments",
"apiVersion": "2022-04-01",
"scope": "[format('Microsoft.App/managedEnvironments/{0}', format('cae-{0}', variables('resourceToken')))]",
"name": "[guid(resourceId('Microsoft.App/managedEnvironments', format('cae-{0}', variables('resourceToken'))), parameters('principalId'), subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b24988ac-6180-42a0-ab88-20f7382dd24c'))]",
"properties": {
"principalId": "[parameters('principalId')]",
"roleDefinitionId": "[subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b24988ac-6180-42a0-ab88-20f7382dd24c')]"
},
"dependsOn": [
"[resourceId('Microsoft.App/managedEnvironments', format('cae-{0}', variables('resourceToken')))]"
]
}
],
"outputs": {
"MANAGED_IDENTITY_CLIENT_ID": {
"type": "string",
"value": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', format('mi-{0}', variables('resourceToken'))), '2023-01-31').clientId]"
},
"MANAGED_IDENTITY_NAME": {
"type": "string",
"value": "[format('mi-{0}', variables('resourceToken'))]"
},
"MANAGED_IDENTITY_PRINCIPAL_ID": {
"type": "string",
"value": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', format('mi-{0}', variables('resourceToken'))), '2023-01-31').principalId]"
},
"AZURE_LOG_ANALYTICS_WORKSPACE_NAME": {
"type": "string",
"value": "[format('law-{0}', variables('resourceToken'))]"
},
"AZURE_LOG_ANALYTICS_WORKSPACE_ID": {
"type": "string",
"value": "[resourceId('Microsoft.OperationalInsights/workspaces', format('law-{0}', variables('resourceToken')))]"
},
"AZURE_CONTAINER_REGISTRY_ENDPOINT": {
"type": "string",
"value": "[reference(resourceId('Microsoft.ContainerRegistry/registries', replace(format('acr-{0}', variables('resourceToken')), '-', '')), '2023-07-01').loginServer]"
},
"AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID": {
"type": "string",
"value": "[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', format('mi-{0}', variables('resourceToken')))]"
},
"AZURE_CONTAINER_APPS_ENVIRONMENT_NAME": {
"type": "string",
"value": "[format('cae-{0}', variables('resourceToken'))]"
},
"AZURE_CONTAINER_APPS_ENVIRONMENT_ID": {
"type": "string",
"value": "[resourceId('Microsoft.App/managedEnvironments', format('cae-{0}', variables('resourceToken')))]"
},
"AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN": {
"type": "string",
"value": "[reference(resourceId('Microsoft.App/managedEnvironments', format('cae-{0}', variables('resourceToken'))), '2024-02-02-preview').defaultDomain]"
}
}
}
},
"dependsOn": [
"[subscriptionResourceId('Microsoft.Resources/resourceGroups', format('rg-{0}', parameters('environmentName')))]"
]
}
],
"outputs": {
"MANAGED_IDENTITY_CLIENT_ID": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.MANAGED_IDENTITY_CLIENT_ID.value]"
},
"MANAGED_IDENTITY_NAME": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.MANAGED_IDENTITY_NAME.value]"
},
"AZURE_LOG_ANALYTICS_WORKSPACE_NAME": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.AZURE_LOG_ANALYTICS_WORKSPACE_NAME.value]"
},
"AZURE_CONTAINER_REGISTRY_ENDPOINT": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.AZURE_CONTAINER_REGISTRY_ENDPOINT.value]"
},
"AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID.value]"
},
"AZURE_CONTAINER_APPS_ENVIRONMENT_NAME": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.AZURE_CONTAINER_APPS_ENVIRONMENT_NAME.value]"
},
"AZURE_CONTAINER_APPS_ENVIRONMENT_ID": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.AZURE_CONTAINER_APPS_ENVIRONMENT_ID.value]"
},
"AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN": {
"type": "string",
"value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, format('rg-{0}', parameters('environmentName'))), 'Microsoft.Resources/deployments', 'resources'), '2022-09-01').outputs.AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN.value]"
}
}
}
-------------------------------------stderr-------------------------------------------
C:\ORG\REPO\infra\resources.bicep(51,34) : Warning BCP081: Resource type "Microsoft.App/managedEnvironments@2024-02-02-preview" does not have types available. Bicep is unable to validate resource properties prior to deployment, but this will not block the resource from being deployed.
C:\ORG\REPO\infra\resources.bicep(69,28) : Warning BCP081: Resource type "Microsoft.App/managedEnvironments/dotNetComponents@2024-02-02-preview" does not have types available. Bicep is unable to validate resource properties prior to deployment, but this will not block the resource from being deployed.
|==     | Initialize bicep provider2024/08/02 10:09:25 main.go:50: Retry: =====> Try=1
|===    | Initialize bicep provider2024/08/02 10:09:25 main.go:50: Request: ==> OUTGOING REQUEST (Try=1)
GET https://graph.microsoft.com/v1.0/me
Authorization: REDACTED
Client-Request-Id: REDACTED
User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; Windows_NT),azdev/1.10.0-beta.1-pr.3987584 (Go go1.21.0 X:loopvar; windows/amd64)
|====   | Initialize bicep provider2024/08/02 10:09:25 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/363.9955ms, OpTime=365.6135ms) -- RESPONSE RECEIVED
GET https://graph.microsoft.com/v1.0/me
Authorization: REDACTED
Client-Request-Id: REDACTED
User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; Windows_NT),azdev/1.10.0-beta.1-pr.3987584 (Go go1.21.0 X:loopvar; windows/amd64)
RESPONSE Status: 200 OK
Cache-Control: no-cache
Client-Request-Id: REDACTED
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Fri, 02 Aug 2024 00:09:25 GMT
Odata-Version: REDACTED
Request-Id: 75d1218e-9f38-4518-b3e2-c4a32541bcce
Strict-Transport-Security: REDACTED
Vary: REDACTED
X-Ms-Ags-Diagnostic: REDACTED
X-Ms-Resource-Unit: REDACTED
2024/08/02 10:09:25 main.go:50: Retry: response 200
2024/08/02 10:09:25 main.go:50: Retry: exit due to non-retriable status code
Configure your Azure DevOps pipeline
You need an Azure DevOps Personal Access Token (PAT). Create a PAT by following the instructions here https://aka.ms/azure-dev/azdo-pat
(skip this prompt by setting the PAT to env var: AZURE_DEVOPS_EXT_PAT)
? Personal Access Token (PAT): ****************************************************
|       | Checking current directory for Git repository2024/08/02 10:10:07 command_runner.go:307: Run exec: 'git -C C:\ORG\REPO remote get-url origin' , exit code: 0
-------------------------------------stdout-------------------------------------------
<EMAIL_ADDRESS>|=      | Checking current directory for Git repository2024/08/02 10:10:07 command_runner.go:307: Run exec: 'git -C C:\ORG\REPO branch --show-current' , exit code: 0
-------------------------------------stdout-------------------------------------------
az-pipelines
(✓) Done: Checking current directory for Git repository
ERROR: ensuring git remote: Looking for repository: The resource cannot be found.

thank you @pbusfield .  Can you tell the steps you followed to clone or get your project?  Did you start from a local folder (w/o a git remote) or did you clone the project from some existing repo with either azd init -t ...  or git clone ... ?
The error you are getting is b/c azd is not finding the git repo in the Azdo Org/Project. But the remote is already set in your project (like if you previously clone the project from the Org/Project git repo or something).
This can happen, for example, if you:

Start your project locally, then run azd pipeline config and make azd to create a new Azdo Project and Git Repo.  Then the Git repo is deleted from the Project.
The git remote is manually set running something like git remote add origin https://repo-address and the Azdo project exists but not the git repo.

You can, for example, remove the git remote from your project by running git remote remove origin , then if you run azd pipeline config, azd will not try to fetch an existing remote. Instead, azd will ask you if you want to create a new repository or pick an existing one. If you select pick one, azd will list all the repositories from the project and let you choose from there.
Hope this can help to figure what's happening with your project config

@vhvb1989
Thanks for your reply.
I originally cloned the repo through Visual Studio. I.e New Project -> Clone => paste Git remote repository url (which is in Azure Devops).
This project was an existing Aspire project. I then ran:
zd auth login => (Successfully logged in)
azd init => (Successfully created azure.yaml file and md file).
azd infra synth => (Created Infra folders successfully)
azd up (Successfully deployed all projects to Azure Portal)
azd pipeline config --provider azdo -e test => Generated PAT, then this is where I got the error.
What is the best way to fix this? (or do it another way?)

@pbusfield , when you cloned the repo using Visual Studio, the git remote (for your project locally) is set to that repository, which you might not be the owner. In that case, you need to disconnect from that repo and connect a repo you own.
To disconnect from the template's repository (after doing a manual clone with VS or using git directly), you can run git remote remove origin.
If you initially run azd init -t <git remote repository url> (instead of using VS to clone the git remote repo url), azd takes care of cloning the repository and disconnecting your project from the template's repo.
Once disconnected, running azd pipeline config will help you to connect your local repo to a new or existing repo where you are the owner (where your PAT has access to).

Thanks @vhvb1989
I did what you said, and ran azd init -t <git remote repository url>
It successfully cloned my repo.
I noticed that only a azure.yaml file was created in the root, and no next-steps.md? The content of the azure.yaml file is different to previous runs:
new content:
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json

name: APPName

original content:
name: APPName
services:
  app:
    language: dotnet
    project: .\APPName.AppHost\APPName.AppHost.csproj
    host: containerapp

It didn't pick up my Aspire host under services?
Also, then when I run:
azd up
I get an error:
ERROR: error executing step command 'provision': initializing provisioning manager: failed to compile bicep template: failed running bicep build: exit code: 1, stdout: , stderr: An error occurred reading file. Could not find a part of the path 'C:\ORG\APP\infra\main.bicep'.
So then I try to synthesize the infrastructure:
azd infra synth (because this is how I created the infra folders in earlier runs)
and get the error:
(x) Failed: Synthesizing infrastructure
ERROR: this project does not contain any infrastructure to synthesize.
Any ideas? Thanks in advance.

@pbusfield , it looks like the repository you are cloning (the template) does not have an azure.yaml on the root.  Can you check if the azure.yaml is inside the AppHost folder?
Aspire projects supports having the azure.yaml at the root of you repo or directly inside the AppHost project.
I've created this issue https://github.com/Azure/azure-dev/issues/4171 b/c azd init -t repo-url is not handling correctly the scenario where the azure.yaml is not at the root.
As a workaround, please manually delete the azure.yaml file from the root.  If there is an azure.yaml inside the AppHost folder, cd to the AppHost folder and run azd from there.
If there is not azure.yaml in AppHost folder, run azd init from the root to let azd to auto-detect the Aspire project and self-create a valid azure.yaml file.

@vhvb1989
Hi Victor,
I did run azd init -t <git remote repository url> from the root.
It clones the repo, and creates the azure.yaml at the root of the project (and only the root directory). There is no azure.yaml file in the AppHost directory (which is not the root directory). App.AppHost and App.ServiceDefaults folders both sit in the root, same folder as the .SLN file. The contents of the azure.yaml file in the root is only this:
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json

name: APPName

Peter


[1/3] fix: add license and improve readme

main

#1 👈

#2

#3

main

#1 👈

#2

#3


Debugger causes slowdown when model contains a large list

When an app's model contains a large list, the debugger (specifically its 'expando' functionality) seems to traverse the entire list after every update, which for sufficiently large lists can cause a noticeable performance hit (or a stack overflow for very large lists). On my machine (Windows 10 64-bit, Chrome 57, Elm 0.18), building and running the following code as a standalone (non debug mode) HTML file runs fine (60 FPS) but running it using Elm Reactor slows down to about 8 FPS:
module Main exposing (..)

import Html exposing (Html)
import AnimationFrame
import Time

type alias Model =
    { numbers : List (List Int)
    , fps : Float
    }

type Msg
    = Tick Float

init : ( Model, Cmd Msg )
init =
    ( { numbers = List.repeat 1000 (List.range 1 1000), fps = 0 }, Cmd.none )

update : Msg -> Model -> ( Model, Cmd Msg )
update (Tick delta) model =
    ( { model | fps = Time.second / delta }, Cmd.none )

view : Model -> Html Msg
view model =
    Html.text (toString model.fps ++ " fps")

subscriptions : Model -> Sub Msg
subscriptions model =
    AnimationFrame.diffs Tick

main : Program Never Model Msg
main =
    Html.program
        { init = init
        , update = update
        , view = view
        , subscriptions = subscriptions
        }

(I used nested lists since that resulted in enough data to cause a significant slowdown without causing a stack overflow - using a single flat list like List.range 1 20000 causes a stack overflow instead.)
This code is also available in a GitHub repository; just git clone, elm package install and then either elm reactor to see the performance hit or elm make --output Main.html Main.elm and open the result to see that performance is fine without the debugger.
Evan, you mentioned lazy evaluation in the debugger as a potential solution, but could a simpler (perhaps temporary) fix be to have the debugger basically do a List.take 100 on any list it finds, then just display ... if the list is longer than that? I think it's reasonable that the debugger would only show you the first 100 items in any given list.
If it helps anyone, I posted a workaround you can use for this issue - basically just 'hide' the problematic value inside a function, since the debugger will not attempt to introspect functions.
I suspect this is related to #80 and #86.

Tracking in #98. Thanks for the report!


Update Bitsong chain.json by 🔥STAVR🔥

Please be more descriptive in your titles in the future. Like "Add STAVR endpoints to Bitsong"


[vue table] support for reactivity in Vue-adapter in version 8.20 broke reactive for the old getter get data() style

TanStack Table version
8.20.3
Framework/Library version
vue 3.4.31
Describe the bug and the steps to reproduce it
Steps to reproduce: (see the provided codesandbox)

Go to the basic example: https://tanstack.com/table/latest/docs/framework/vue/examples/basic
Replace the rerender function with this code:

const rerender = () => {
  data.value = [{
    firstName: 'tanner',
    lastName: 'linsley',
    age: 24,
    visits: 100,
    status: 'In Relationship',
    progress: 50,
  }]
}

Click on the "Rerender" button, and notice the table does not update.

It works as expected if I pass the data ref into the useVueTable option.
const table = useVueTable({
  data: data, // <= updated
  columns,
  getCoreRowModel: getCoreRowModel(),
})

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://codesandbox.io/p/devbox/competent-khayyam-lstt95?file=%2Fsrc%2FApp.vue
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

@OlaAlsaker it's looking like it does not work exactly as before with the additional functionality


Module parse failed

I do not know where I can is missing it. I do not know if it's a bug, or if any of my fault.
I'm trying to add the bootstrap icons, but I can not load svg files, and t, woff and others.
    loaders: [       { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&minetype=application/font-woff" },       { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file-loader" },     ],
I installed file-loader and url-loader as dev in my npm.
Error:
ERROR in ./~/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.eot
Module parse failed: /home/daniel/manga-online/node_modules/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.eot Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss 6:4261-4364 6:4387-4490
@ ./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss
@ ./src/App.vue
@ ./src/main.js
@ multi main
ERROR in ./~/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
Module parse failed: /home/daniel/manga-online/node_modules/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff Unexpected character '' (1:4)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss 6:4680-4784
@ ./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss
@ ./src/App.vue
@ ./src/main.js
@ multi main
ERROR in ./~/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2
Module parse failed: /home/daniel/manga-online/node_modules/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 Unexpected character '' (1:4)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss 6:4542-4647
@ ./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss
@ ./src/App.vue
@ ./src/main.js
@ multi main
ERROR in ./~/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf
Module parse failed: /home/daniel/manga-online/node_modules/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss 6:4816-4919
@ ./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=data-v-7eb508b8!./~/sass-loader!./src/assets/sass/app.scss
@ ./src/App.vue
@ ./src/main.js
@ multi main

+1 I have the same problem..

@danielsalles Still got this regression ? if please provide more info about your current config

@michael-ciniawsky I solved this problem already. What has happened is that the configuration mode of the vuejs is a bit different from that usually taught. The part where you put the loaders is different. I do not remember the exact solution now, but it's very simple to solve.

@danielsalles Open a new issue if still any regressions regarding file-loader 😛  Closing this one


Graphs missing legends

Hi,
There is a problem with my Graphite running on CentOS 6.6.
Grapes are needed with data, but no values in Y and X axises.
Also legends are not shown as well.
Is someone familiar with it?

Is it possible your theme is using a white font against a white background?

Thanks for quick response, obfuscurity.
I found the problem. In 6.5 there was no issues, but after upgrading to 6.6, there is fonts related RPM missing, dejavu-sans-fonts.
When i changed font to courier, i saw legends and values.
I installed dejavu-sans-fonts and graphs look great with sans(font).
Thanks,
Avner

Awesome, glad to hear it. I suspected it might have been a fonts issue (this seems to be common with Red Hat systems) but I figured we'd start with the easy stuff. :wink:


Auto corrected by following Lint Ruby Layout/ClosingHeredocIndentation

Auto corrected by following Lint Ruby Layout/ClosingHeredocIndentation
Click here to configure it on awesomecode.io

Coverage remained the same at 77.536% when pulling abb65e9f3af8585ffd733de4ce9d97f4beaccd14 on awesomecode-lint-ruby-layout-closingheredocindentation-48707 into 7a4e192445d5a9bd58ae92ba9ca59685952a127f on master.


Renames returning empty placeholders are not handled correctly

The below code creates a rename provider that returns an empty string as its placeholder. It's not clear if this is valid or not (I think it should be, because that could support "renaming" things that have no aliases to have one, for example imports), but even if it's not this behaviour seems incorrect.
Right now, the edit box is populated with the text from the range that's provided (rather than being empty, as the placeholder defines):

However, changing the field and pressing <enter> never calls the provideRenameEdits function. It just silently does nothing.
Either, it should call provideRenameEdits, or it should never have opened the edit field in the first place. It doesn't make sense to prompt the user for a new name and then throw it away and never let an extension handle it.
My preferred behaviour would be:

open the edit box with an empty placeholder (as returned by the extension)
pass the new name to the extension in provideRenameEdits

This supports languages that want to allow renaming items that currently have no name as a way to add one. For example:
import 'foo';

Could be renamed to give it a name:
import 'foo' as foo;

Which would also update all uses of symbols from that library. While this could also be achieved with a code action, LSP does not support interacting with the user (asking for a new name) so that would rely on custom extension code. It would be much better if rename supported (it feels like an unnecessary restriction to not).
Alternatives fixes could be:

don't open the edit label at all if the placeholder is an empty string (assuming VS Code deems this invalid)
open the edit label populated with the text from the Range, but then do call provideRenameEdits

export async function activate(context: vscode.ExtensionContext) {

	context.subscriptions.push(vscode.languages.registerRenameProvider({ scheme: "untitled" }, {
		async provideRenameEdits(document, position, newName, token): Promise<vscode.WorkspaceEdit | undefined> {
			vscode.window.showInformationMessage("this is never called");
			return undefined;
		},
		prepareRename(document, position, token) {
			return {
				range: document.getWordRangeAtPosition(position)!,
				placeholder: "a",
			};
		},
	}));

	const doc = await vscode.workspace.openTextDocument(vscode.Uri.parse("untitled:foo"));
	const editor = await vscode.window.showTextDocument(doc);
	editor.edit((edit) => {
		edit.insert(new vscode.Position(0, 0), "renameme");
	});
}

When you invoke the rename, VS Code pops open the edit box (and does not show a "you can't rename this" message):

In current testing, it seems that the rename does work now (above I said it never finished the rename).. however, it still ignores the empty range, so you still end up with weird behaviour when adding an alias for example:
https://github.com/user-attachments/assets/c133caa2-8381-4d05-8304-2a45171896a9


Tag

Default Atom have Suntax Them - One Dark, when you click on tag he have backlight and solid underline like on screenshot, please create this on your Material Syntax.

Done! Check for updates.

Thank)


Bump to 0.71.0; update changelog

Rendered
Proposal: two new sections
Before, we usually just highlight user-facing changes. However, there are more and more documentation updates and internal infrastructure PRs today. To make contributors feel a part of a release, I propose to have two new section “Documentation improvements” and “Internal improvements”.
To provide some data points, both Rust Analyzer and Intellij Rust get an “Internal improvements” section.

#11817 is merged, so this hopefully will pass CI once rebased

@bors r+
Assuming the problem is fixed by the PR

:pushpin: Commit 60df49d6e4306017996e5fad98e51f518b3e4702 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 60df49d6e4306017996e5fad98e51f518b3e4702 with merge 754b79c03746bbd7a49e73a4ff28fa9cfa1ca7fd...


About apollo finite state machine in planning

Hi,
From https://github.com/ApolloAuto/apollo/blob/master/modules/planning/README.md, we know that there is finite state machine in planning, but no document about it. I have searched all source code and have no idea.
Do you have any explanation for FSM or any hint I can start?
Thanks.

@panpgg these are different planners at high level, and only one would be selected and in use.
StdPlanning (now called OnLanePlanning) is the default one.
NaviPlanning is the a navigation mode which doesn't requires HD Map.
OpenSpacePlanning is a mode to handle open space parking and etc.
There's no FSM or state switching among them.
Hope our answer resolved your question. We will close the issue for now. If you have any additional question, please feel free to open a new issue. Our engineer team are more than happy to help that.
Thank you for supporting Apollo!


[flutter_tools] experiment with skipping process resolution

I believe that some part of the package:process resolution will fail if an executable is located somewhere without complete permissions. To test this, add an opt-in method of calling a process that bypasses the package:process resolution and sanitzation.

@zanderso should I hold this for the branch cut? My gut says this isn't a risky change

@zanderso should I hold this for the branch cut? My gut says this isn't a risky change

First candidate for the branch cut is already https://github.com/flutter/flutter/commit/384b4d1b83c0a5b7364ab7bcc5ce85f60d05e4a6, but either way I agree landing this is low risk.

First candidate for the branch cut is already https://github.com/flutter/flutter/commit/384b4d1b83c0a5b7364ab7bcc5ce85f60d05e4a6, but either way I agree landing this is low risk.

Looks like this change is incorrectly getting flagged by a g3 lint.

Looks like this change is incorrectly getting flagged by a g3 lint.

This will need to wait until a g3 lint is updated.

This will need to wait until a g3 lint is updated.

cl/353914423

cl/353914423

Google3 opt out landed, will re-run tests

Google3 opt out landed, will re-run tests

Google test is a flake


Update compatibility settings

Summary
With the new compatibility settings infrastructure, we need to update our existing compatibility settings and other behavior changes to make our philosophy for how these should work.
Here's a most-wanted list of our settings and progress:

[ ] MvcOptions.AllowBindingUndefinedValueToEnumType
[ ] MvcOptions.InputFormatterExceptionModelStatePolicy
[ ] MvcOptions.SuppressJsonDeserializationExceptionMessagesInModelState
[ ] RazorPagesOptions.EnableAreas
[ ] MvcOptions.CombineAuthorizationFilters (in PR)
[ ] Then re-enable the CompatibilitySwitchIntegrationTest tests

MvcOptions.AllowBindingUndefinedValueToEnumType
This already has the right default. We need to change the value in 2.1 and update the docs for this.
MvcOptions.InputFormatterExceptionModelStatePolicy
This already has the right default. We need to change the value in 2.1 and update the docs for this.
MvcOptions.SuppressJsonDeserializationExceptionMessagesInModelState
This already has the wrong default. We need to change the value in 2.0 and update the docs for this.
MvcOptions.CombineAuthorizationFilters
Once this is merged we need to add the compatibility switch, update docs and then add it to tests
RazorPagesOptions.EnableAreas
This needs a compatibility switch and related infrastructure. Per naming guidelines this should be renamed to AllowAreas. This also needs to be added to tests

@kichalla had a dope idea about whether or not all of these should be enums instead of booleans. Let's plan to discuss this when we're all back in the office after new years.


Added error handling to response object in parseURL method

Encountered an unhandled error due to a missing '>' in a feed I was trying to pull. This lets the parser continue.

Ok. Collapsed that empty function and switched the tabs over to spaces.

Thanks!


Setting strokeWidth in one line layer affects all other line layers

Actual Result
Using deck.gl 6.0.0-rc
both lines have strokeWidth 60
https://codepen.io/kenns29/pen/MByvOj?editors=0001
Expected Result
Only 'line-2' should have strokeWidth of 1,
Reproduce Steps
https://codepen.io/kenns29/pen/MByvOj?editors=0001
Code Example
To Do List

[ ] Add label and assign to milestone
[ ] Coding
[ ] Test

Fixed in 6.3.0


[BEAM-6916] Create "Beam SQL: Calcite support" page

This page describes the Calcite SQL dialect supported by Beam SQL.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @melap @kennknowles @amaliujia

I can see error message as following:
- ./generated-local-content/documentation/dsls/sql/calcite/index.html
  *  390:11: ERROR: Unexpected end tag : tr (line 390)
  *  390:16: ERROR: Unexpected end tag : td (line 390)
  *  390:21: ERROR: Unexpected end tag : tr (line 390)
  *  390:6: ERROR: Unexpected end tag : td (line 390)
rake aborted!

wondering is there some nice tool to check html format?

This looks a lot like this page: https://github.com/apache/beam/blob/master/website/src/documentation/dsls/sql/select.md

Did large overhaul, will open a new PR


Extract personal development environment configuration

This MR generalizes the devcontainer dockerfile such that it is easier to use by other developers that want to make use of the prepackaged devcontainer that is hosted here on Github.
Configuration is handled by VSCode, which provides a setting to pull your dotfiles into the base container.

See https://code.visualstudio.com/docs/devcontainers/containers#_personalizing-with-dotfile-repositories for more info on how to configure that.

See https://code.visualstudio.com/docs/devcontainers/containers#_personalizing-with-dotfile-repositories for more info on how to configure that.


Update Config to have a single field alignment option

This could look like:
pub struct Structures {
    /// Align fields of user defined structures to a threshold.
    pub field_alignment: FieldAlignment,
    /// Put small struct literals on a single line.
    pub struct_lit_single_line: bool,
}

pub enum FieldAlignment {
    AlignFields(usize),
    Off,
}

This would reduce the clutter in Config, remove the need for extra constants and take away the need for the user to input the same number for each type of alignment.

Hmm, that looks good but in doing so wouldn't we block people from selecting which type to align (with different thresholds)? For example, would there be a case where a user wants to align enums and structs but not storage fields?

One thing mentioned before is that we don't want to make swayfmt "fully customizable" like rustfmt. I don't really see a user in the future that would want one aligned but not the other, but if those users do arise it's an easy fix. In the mean time it makes the use case much clearer and cleaner in the code itself.


pointer not working

the driver works fine, mostly. It detects clicks and long clicks, but it doesn't move my pointer. and xinput_calibrator doesn't seem to register any touches, even though evtest does.  any idea what could be causing this?

That sounds like the nwfermi daemon is not running. Are you sure it's up?

Having exactly the same problem. Did you solve it Daemon show as running with instanceid 2.
Not sure how all this hangs together so fining it a little hard to debug.
I am running Xubuntu on debian buster

Just noticed the following errors id Xorg.0.log
Nextwindow Fermi Touchscreen: Read error: Resource temporarily unavailable
One line every time I move on the touch screen

I don't have access anymore to the touchscreen I used to test and after 3 years my knowledge got a bit rusty, but if it might help:

The nwfermi kernel driver should register a new device driver under /dev/input/, you should be able to test this with evtest (or even strings /dev/input/<inputX>)
The nwfermi_daemon can be started in debug / foreground mode if I remember correctly, you can use this to verify driver and daemon work ok

Read error: Resource temporarily unavailable makes me suspect you have multiple nwfermi_daemons running, but that's just a guess.
Hope this helps and good luck debugging.

Same issue here: touchscreen react to touch events but always on the mouse pointer position...
I cannot move the pointer using touch.
evtest found my touchscreen and react to touch events. Daemon is running.
I am using ubuntu 22.04 on a Sony Vaio VPCL12M1E
Any idea ?
Thanks for your work !

I've validated the procedure on Ubuntu 22.04 with the Dell Touchscreen I have available. Everything still seems to work for me.
Some more idea's:

Can you check as which ID the touchscreen is recognized ? lsusb should list 1926:XXXX.
Make sure you are not using Wayland, set WaylandEnable=false in /etc/gdm3/custom.conf
Make sure both your actual username as gdm user are part of input group
Check your Xorg log in /home/<username>/.local/share/xorg, for reference here is mine with working touchscreen, please check if you see differences:

$ grep -i fermi /home/glorang/.local/share/xorg/Xorg.1.log
[    52.662] (II) config/udev: Adding input device Nextwindow Fermi Touchscreen (/dev/input/event9)
[    52.662] (**) Nextwindow Fermi Touchscreen: Applying InputClass "libinput pointer catchall"
[    52.662] (**) Nextwindow Fermi Touchscreen: Applying InputClass "Nextwindow Fermi Touchscreen"
[    52.662] (II) Using input driver 'nextwindow' for 'Nextwindow Fermi Touchscreen'
[    52.662] (**) Nextwindow Fermi Touchscreen: always reports core events
[    52.662] (**) Nextwindow Fermi Touchscreen: always reports core events
[    52.662] (II) Nextwindow Fermi Touchscreen: Using device /dev/input/event9.
[    52.662] (II) Nextwindow Fermi Touchscreen: Using touch help.
[    52.718] (II) XINPUT: Adding extended input device "Nextwindow Fermi Touchscreen" (type: UNKNOWN, id 16)
[    52.718] (**) Nextwindow Fermi Touchscreen: (accel) keeping acceleration scheme 1
[    52.718] (**) Nextwindow Fermi Touchscreen: (accel) acceleration profile 0
[    52.718] (**) Nextwindow Fermi Touchscreen: (accel) acceleration factor: 2.000
[    52.718] (**) Nextwindow Fermi Touchscreen: (accel) acceleration threshold: 4
[    52.718] (II) Nextwindow Fermi Touchscreen: On.
[    52.718] (II) config/udev: Adding input device Nextwindow Fermi Touchscreen (/dev/input/js0)
[    52.718] (**) Nextwindow Fermi Touchscreen: Applying InputClass "Nextwindow Fermi Touchscreen"
[    52.718] (II) Using input driver 'nextwindow' for 'Nextwindow Fermi Touchscreen'
[    52.718] (**) Nextwindow Fermi Touchscreen: always reports core events
[    52.718] (**) Nextwindow Fermi Touchscreen: always reports core events
[    52.718] (II) Nextwindow Fermi Touchscreen: Using device /dev/input/js0.
[    52.718] (II) Nextwindow Fermi Touchscreen: Using touch help.
[    52.770] (II) XINPUT: Adding extended input device "Nextwindow Fermi Touchscreen" (type: UNKNOWN, id 17)
[    52.770] (**) Nextwindow Fermi Touchscreen: (accel) keeping acceleration scheme 1
[    52.770] (**) Nextwindow Fermi Touchscreen: (accel) acceleration profile 0
[    52.770] (**) Nextwindow Fermi Touchscreen: (accel) acceleration factor: 2.000
[    52.770] (**) Nextwindow Fermi Touchscreen: (accel) acceleration threshold: 4
[    52.770] (II) Nextwindow Fermi Touchscreen: On.
[    52.770] (II) config/udev: Adding input device Nextwindow Fermi Touchscreen (/dev/input/mouse3)
[    52.770] (**) Nextwindow Fermi Touchscreen: Applying InputClass "Nextwindow Fermi Touchscreen"
[    52.770] (II) Using input driver 'nextwindow' for 'Nextwindow Fermi Touchscreen'
[    52.770] (**) Nextwindow Fermi Touchscreen: always reports core events
[    52.770] (**) Nextwindow Fermi Touchscreen: always reports core events
[    52.770] (II) Nextwindow Fermi Touchscreen: Using device /dev/input/mouse3.
[    52.770] (II) Nextwindow Fermi Touchscreen: Using touch help.
[    52.826] (II) XINPUT: Adding extended input device "Nextwindow Fermi Touchscreen" (type: UNKNOWN, id 18)
[    52.826] (**) Nextwindow Fermi Touchscreen: (accel) keeping acceleration scheme 1
[    52.826] (**) Nextwindow Fermi Touchscreen: (accel) acceleration profile 0
[    52.826] (**) Nextwindow Fermi Touchscreen: (accel) acceleration factor: 2.000
[    52.826] (**) Nextwindow Fermi Touchscreen: (accel) acceleration threshold: 4
[    52.826] (II) Nextwindow Fermi Touchscreen: On.

Thanks for your answer! Very appreciated ! Wil test this tomorrow and post results here.

Ran out of time and put this job aside, will try and fire it up again

I've just released a new procedure that will install nwfermi v7 based on a more recent HP driver compared to latest v6 that was available in Ubuntu Launchpad . I'm pretty confident this should fix this issue.
I'll close this for now but feel free to open a new issue after you attempted the new procedure to install v7.


sap_swpm: New functionality to push SUM through the manual steps

This will push SUM through the manual steps in order to fully automate the installation of the system when sap_swpm_sum_start is enabled.
If SWPM is in observer mode, it will not do anything as SWPM waits for SUM to complete.
Updated code (correcting for whitespace in HTTP Response Body) from Shell script for SUM provided by @sean-freeman in https://github.com/sap-linuxlab/community.sap_install/issues/738#issuecomment-2116975646

@rob0d Thanks for this contribution, this looks really cool and seems to be nice additional functionality without adding too much complexity. Will soon have some time for testing.

@rob0d - I'd ran a first test but it timed out in task Checking the status of SUM after 60 retries. Can you please explain which SAP software you used and if and how you prepared the test? I will then try to use the same scenario for my next test.

Hi @berndfinger,
Can you check what was the response from ansible.builtin.uri on line 8 of  roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml?
It couldn't connect or the response wasn't  what it expected (tests on line 20)?
If it's still running or if you can restart it try connecting to the SUM URL and check what it says there.
Also did you provide stack file to SUM?
For SUM to start correctly and start executing  you need to set the following (at least this is what I set:
sap_swpm_mp_stack_path:
sap_swpm_mp_stack_file_name: .   #MP_Stack_{{ sap_system_sid }}.xml
sap_swpm_configure_tms: 'true'
sap_swpm_sum_prepare: 'true'
sap_swpm_sum_start: 'true'
sap_swpm_tmsadm_password:

Hi @berndfinger, Can you check what was the response from ansible.builtin.uri on line 8 of roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml? It couldn't connect or the response wasn't what it expected (tests on line 20)? If it's still running or if you can restart it try connecting to the SUM URL and check what it says there.

It couldn't connect, and the reply of a wget --no-check-certificate on the URL was:
HTTP request sent, awaiting response... 404 Not Found

But it is probably related to the missing parameters for SUM to start correctly. To prepare for this, I need more time for preparing and testing with a MP stack file. Unfortunately, I also have to work on some other open issues and PRs for this collection so I cannot immediately continue with testing this PR.
But maybe someone else can jump in and test the proposed code?
@rob0d Can you please provide more details about the software you configured in Maintenance Planner (e.g. product name, version, any additional selections)?

Hi @berndfinger,
It looks like the SUM wasn't started by SWPM due to the missing parameters.
The process in Maintenance Planner is something like this:

Create maintenance transaction in MP. I am using S/4 HANA 2023 with all current patches
Download the XML file
Download all the other files (or use Ansible role to do it)
Set the parameters above and point it at the XML file
Run SWPM, it should start SUM
SUM will run for a while until it stops for a prompt. This is the point the Ansible SUM script takes over. It keeps checking and waiting until SUM is in the correct phase then does a POST to move it to the next step.
The next step is the main upgrade which on our systems takes 8 hours (full S/4 HANA SP1 + all patches). Again Ansible script loops and waits until SUM reaches the end of the process
There is a prompt at this stage asking for SPAU processing. As this is a new install, we just tick the box and continue.
Finally ansible waits for SUM to complete the processing.

Git diff is misbehaving in this PR, only Ansible Task SAP SWPM Post Install - Control SUM if required is appended to /tasks/post_install.yml but the diff attempts to replace the entire file.
Test has begun for 1 new task + new task file with the updated v1.5.x codeline

@rob0d Why restriction to PAS or OneHost? Personally I'd only ever install from PAS, but it has been questioned before so unless there is a referenceable reason - restricting is not the best.
Also sap_swpm_sum_start is a boolean, so when condition == 'true' suffix is not required / will cause the Ansible Task to be skipped.

Git diff is misbehaving in this PR, only Ansible Task SAP SWPM Post Install - Control SUM if required is appended to /tasks/post_install.yml but the diff attempts to replace the entire file.
Test has begun for 1 new task + new task file with the updated v1.5.x codeline

Yes. I don't understand why.  It's showing a conflict even though there doesn't seem to be one. I am not able to resolve it as I don't have write access to the repo.

Git diff is misbehaving in this PR, only Ansible Task SAP SWPM Post Install - Control SUM if required is appended to /tasks/post_install.yml but the diff attempts to replace the entire file.
Test has begun for 1 new task + new task file with the updated v1.5.x codeline

Yes. I don't understand why. It's showing a conflict even though there doesn't seem to be one. I am not able to resolve it as I don't have write access to the repo.

@rob0d - I found:

The line:

# SPDX-License-Identifier: Apache-2.0

is missing at the top.

Changed Files shows that the when condition of the task `SAP SWPM Post Install - Firewall Setup' had:

"sap_swpm_setup_firewall | bool"

whereas the current dev tree has:
"sap_swpm_setup_firewall"

Maybe the easiest way to solve this is that you modify your files accordingly. If that doesn't help, you could of course also create a new PR based on the current dev tree (or I could do that - but I'd rather have your userid in the git commit history ;-) ).

Solves https://github.com/sap-linuxlab/community.sap_install/issues/919.

@rob0d As there was no reply from you, I will now try to resolve the conflicts using the Resolve conflicts button.

@rob0d Unfortunately, my attempt to resolve the merge conflict using the Resolve conflicts button of the web interface failed, and the result are now duplicate lines in file tasks/post_install.yml. Maybe I missed to remove one of the merge conflict indicators.
I will now try to roll back this change after cloning your repo. If this fails, can you please revert my changes?

@rob0d I failed removing my commit so I added one more commit for resolving the merge conflict. I also added one more commit for adding the missing SPDX identifier to file roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml.
Now trying to fix the ansible-lint and ansible-test sanity errors.

@rob0d Fixing the ansible-lint errors requires a code change in file tasks/post_install/sum_push_to_finish.yml, likely replacing the Ansible shell module by the command module. Also this task needs a change_when: false condition. So I cannot proceed with merging at this time because I don't want to interfere more with your work, and I would like you to review and decide how to solve the ansible-lint errors.

Hi @berndfinger,
Thanks for looking at it. I will have a look at the lint errors and fix them. I also have some further updates that I will add.


next tab button inconsistent, only appears on first tab

this has been pushed and is on server

Just need to restart server


make a class equivalent #1577

I made secondary energy carrier production an equivalent class by changing secondary energy production to be equivalent to a production and 'has physical output' some 'secondary energy carrier'
Type of change (CHANGELOG.md)
Updated

Updated a definition #

Workflow checklist
Automation
Closes #1577
PR-Assignee

[ ] 🐙 Follow the Pull Request Workflow
[ ] 📝 Update the CHANGELOG.md
[ ] 📙 Add #'s to term tracker item

Reviewer

[ ] 🐙 Follow the Reviewer Guide
[ ] 🐙 Provided feedback and show sufficient appreciation for the work done

Has already been solved in PR #1619.


Setup help

Hi, I really need your help for installing process I am kinda stuck at the DaVinci Bot and Your bot's implementation.

Well, If there is something unclear in the you can point it out and suggest a modification.

Sure, I couldn't understand the installation part, such as "How can I find the Davinci bot and how can I install into my discord server, also What is the Salai How can I add this bot into my discord server? and another question is Are you referring to Davinci from this link: https://github.com/ediziks/discord-GPT3-davinci-bot

It would be perfect if you record a quick video about the installation or more detailed guide on Readme.md

How can I find this token? you mean Midjourney API token ?
SALAI_TOKEN = [Token of the Account from which you paid MidJourney ]

The project requires understanding the basics of discord bots/API. Salai is a variable name of the token of your Discord account which is subsribed to MidJourney. In order to find that token I invite you to read this article. DaVinci is just a name I gave to a discord bot you should create from Discord developer portal which token will be passed afterwards to my program.
(Nothing related to davinci OpenAI  model)

I forgot to give an access to my midjourney channel. Finally everything works fine thanks bro. @Wildric-Auric

@batuhansevinc Can you show me some examples of these DAVINCI_TOKEN, SERVER_ID, SALAI_TOKEN, CHANNEL_ID. I don't know how they look like.


[istio.io testing] Need test for Ingress Control

Describe the feature request
We need to develop a test for the Ingress Control task in order to provide automated testing of the Istio.io website for future releases.
Example tests and the documentation for the framework can be found here: https://github.com/istio/istio/tree/master/tests/integration/istioio
A YouTube video describing the usage of the framework can be found here: https://www.youtube.com/watch?v=3y-z8NaVwr0
Please reach out to the Test and Release channel on the Istio Slack or Test and Release Discuss  with any questions.

@brian-avery Is someone working on this? If not, I can pick this up ?

Feel free to pick it up. Thanks! Let me know if you need any help.

Hi @hprateek43 Happy New Year! Are you still working on this? Any questions that I can answer?

Hi @brian-avery i would like to help with this or any of the istio.io tests, i'm trying to run this on minikube, is that a valid config to run this tests?

Hi @elieser1101 Thanks! Minikube is ok for almost all of the tasks on istio.io including this one.


Handle non array return values in Enumerable#flat_map

Fix for #3415. This is closer to the Ruby behaviour, which preserves elements not in arrays (including Enumerable objects). For example:
[[1, 2, 3], 4, {5 => 6}].flat_map { |x| x }
# => [1, 2, 3, 4, {5=>6}]

Hello @timcraft, perhaps you can add a spec that actually confirms the pull description? The example 3 only does flattening, but there is no example of a Hash inside the Array.
Thank you.

@luislavena Sure. I've added another example of an array containing hashes in ead6c60
The pull description is Ruby code (to demonstrate Ruby's behaviour).

@timcraft Thank you for this!


Custom Tooltip

I have used this successfully for my data visualization. Am using the d3 Visualization, but I cannot figure out how to edit the tooltips. Basically I want to have extra information on the tooltip which should be derived from the data I have in other columns of the csv which are not being displayed.  Is there a way to do that?

Are you using the d3 treemap visualization?

I am using d3 Stacked Bar Chart visualization

You mean C3 Stacked Bar Chart? I just need to know which specific thing is being used before being able to help :)

Ah.. my mistake when I said D3. It's actually Google Chart Renderers, as per the example here: http://nicolas.kruchten.com/pivottable/examples/gchart.html . I am using Stacked Bar Chart and regular Bar Chart and wanted to see if I can have custom tool tips here.

OK. I don't think this will be very easy, but you should refer to the Google Chart documentation to see if they allow you to inject a function as a tooltip handler, and go from there.

Hmm ok thanks .. I will dig into it to see if I can find something


Actor output the wrong size in CartPole using PPO

multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "D:\Anaconda\lib\multiprocessing\pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "D:\Anaconda\lib\multiprocessing\pool.py", line 44, in mapstar
return list(map(*args))
File "D:\papercode\RL\algorithm\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\utilities\Parallel_Experience_Generator.py", line 41, in call
return self.play_1_episode(exploration)
File "D:\papercode\RL\algorithm\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\utilities\Parallel_Experience_Generator.py", line 51, in play_1_episode
action = self.pick_action(self.policy, state, epsilon_exploration)
File "D:\papercode\RL\algorithm\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\utilities\Parallel_Experience_Generator.py", line 79, in pick_action
action_distribution = create_actor_distribution(self.action_types, actor_output, self.action_size)
File "D:\papercode\RL\algorithm\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\utilities\Utility_Functions.py", line 28, in create_actor_distribution
assert actor_output.size()[1] == action_size * 2, "Actor output the wrong size"
AssertionError: Actor output the wrong size

take a try to change file "\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\utilities\Parallel_Experience_Generator.py", line 19,
self.action_types = "DISCRETE" if self.environment.action_space.dtype ==int else "CONTINUOUS"
to
self.action_types = "DISCRETE" if self.environment.action_space.dtype in [int, 'int64'] else "CONTINUOUS"


Bug when hiding splitview while using minimum fractions

Hi,
I'm using a simple horizontal split set up like this:
@State private var minPFraction = 0.1 // 100 at default width of 1000

--snip--

           VStack {
                Split(primary: {
                    Color.teal
                }, secondary: {
                    Color.green
                })
                .constraints(minPFraction: minPFraction, priority: .left, dragToHideP: true)
                .fraction(fraction)
                .hide(hide)

                Button("Toggle Hide") {
                    withAnimation {
                            if(hide.side == .left) {
                                hide.toggle()
                            } else {
                                hide.hide(.left)
                            }
                    }
                }
            }

When I click hide to toggle hiding the left split it hides but the whole split narrows in width revealing the content below the split view on the right side:
https://github.com/stevengharris/SplitView/assets/1068753/ad8146b6-41c7-40eb-8bb0-736cbdcf11d8
On hiding the left split seems to resize to minPFraction. And when hiding by dragging to the left, that hidden state seems not to be in sync with whatever .hide() is using as clicking the hide button doesn't unhide the left split, but does what looks like another hide operation.
Is there something obvious I am missing? :)
Thanks!
PS
As an aside: it was a bit confusing to get the left split to hide! hide.toggle() always hides the right view, regardless of which one has priority (I expect in most scenario's the split having priority is the one to be hidden -- but I could be wrong). I did get it to work with the code above, but IMHO an API like .toggle(.left) would be cleaner.

To be clear: when I remove the minPFraction property, it works. So it looks like setting a minimum fraction is incompatible with hiding a split.

Yes, see https://github.com/stevengharris/SplitView/issues/30 for some details. Thanks for this and the other report. I am hoping to work on the cure open issues this week.

This should be fixed with https://github.com/stevengharris/SplitView/pull/33. Also, thanks to your suggestion, I added toggle(_ side: SplitSide? = nil) as a method on SideHolder. The default behavior of toggle() will remain the same, which is to operate on the .secondary side. I can see your point that this might couple logically to priority if you are specifying it, but I generally think of these things as orthogonal, and dreaded having to explain about how they were coupled only if you specified priority 🤪.
As a result, though, your example showing the problem now looks like this for me:
VStack {
    Split(primary: {
        Color.teal
    }, secondary: {
        Color.green
    })
    .constraints(minPFraction: minPFraction, priority: .left, dragToHideP: true)
    .fraction(fraction)
    .hide(hide)
    Button("Toggle Hide") {
        withAnimation {
            hide.toggle(.left)
        }
    }
}

and works properly.  Note that per https://github.com/stevengharris/SplitView/issues/30, the splitter is completely hidden (currently by design) when the minPFraction is specified. I'll be working on making that optional next.


Changing VNM screen size should be in menu

For people that only use the GUI, this might the only time when they need to run something in the terminal, and we don't want it. Also, it is cumbersome to run a command everytime you want to change screen size.

Dear @civier, this should be doable via a script in the menu of VNM, you should try to add it and propose a pull request: I would start here:
https://github.com/NeuroDesk/neurodesk/blob/master/vnm/Dockerfile

related to #24 and should be discussed there.


Workflow repositories step doesn't honor selected status of repositories

The selected status of an optional repository is resent when a user navigates back and forth within the submission workflow.

Progress through submission workflow
Deselect J10P repo
Click Next to persist repositories on submission
Click Back to reload the Repositories step
J10P is selected again

This may be tricky to handle for draft submissions because it may not have the all of the information present within the workflow. Some values are held in non-persistent variables, such as repository._selected

There are steps we can take to mitigate this bug, but I don't think it can be completely solved at this point.
For the scenario above, we could save the selection status in the in workflow.js which holds data through the workflow. This should address the repository selection navigating back and forth in the workflow.
However, there is the problem of loading a draft submission and going through the workflow. In this case, I don't think there is anything persisted with the submission that will tell us about the repository selection status with complete accuracy. We could attempt to infer the selection status, given enough information in the draft submission, such as saved repositories, policies, and the journal. This approach seems like it would be error-prone, though.

This has already been fixed for non-draft submissions.


Running scheduler script in background

Hi! I'm trying to use this package to run a task once every week. However, I have noticed that when I run my scheduler script (currently set to running the task every 2 minutes for debugging) in the background the job does not happen. Does the script need to be always running in the foreground for the task to be executed, or was this package intended to provide fire-and-forget functionality?
To further elaborate: suppose I run the scheduler script in the background, close the terminal, shut down my laptop and open it later can I still expect the weekly task to execute when Sunday comes around (just like cron can be relied on to behave so)?

the script needs to keep running and updating in order to get jobs executed...
for example:
schedule.every(2).minutes.do(job)

this will schedule a job to execute every 2 minutes, but to get jobs executed you need to keep updating the schedule:
while True:
    schedule.run_pending()
    time.sleep(1)

the run_pending function is the one that actually executes the scheduled jobs.

@WoLfulus Thanks a ton for the clarification! I have configured cron to run the script every time I start my laptop.


Update contact_form urls and spelling correction for Linda Sanchez

Looks good - mind making the change I noted, then commenting here to note that it's done? Happy to merge after that.

Ok, all done! Thanks!

Seems like these contact forms urls could be validated against what it says in the contact-congress repo, right?

@joelcollinsdc I haven't been involved with this part of it, but I think in theory we do:
https://github.com/unitedstates/congress-legislators/blob/master/scripts/contact_forms.py
Like all of the scripts in this repo, they're applied in an ad hoc fashion. We don't yet have any automation structure that runs them at regular intervals and submits PRs. Instead we rely on production integrators like @JoshData and others to do so at a strong enough rate to keep things high enough quality (with a big burst at session change). Automation would be an upgrade.

Looks like the Travis build failure is a Travis fluke:
3.4 is not installed; attempting download
/Users/travis/build.sh: line 229: lsb_release: command not found
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

Looks good to me, merging in!

Thanks for the merge! I'll take a look at the scripts later to see if there's a nice way to automate this process.


Config with prefix

Codecov Report

Merging #99 (bf72907) into main (b811ff2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   97.67%   97.67%
=======================================
  Files         232      232
  Lines        6659     6663    +4
=======================================
+ Hits         6504     6508    +4
  Misses        155      155

Impacted Files
Coverage Δ

ellar/common/routing/__init__.py
100.00% <100.00%> (ø)

ellar/core/conf/config.py
100.00% <100.00%> (ø)


Refactor ProviderBase, Test and Fetch classes to be generic

TL;DR
Refactors ProviderBase, Test, and Fetch classes to be generic and accept their configuration objects as type parameters. This allows provider authors to easily define and use their own custom types for each class without  sacrificing type safety.
🔎 Note for reviews: as this has also regenerated documentation; it's easier to view the commit which has the code changes and not the full change set of files.
Why?
While implementing the open-insights-provider-fastly I found myself often battling with the global TestConfiguration and SessionConfig interfaces (which by-design were overly simple/generic to accomodate many use-cases) and regularly casting them to the Fastly providers internal types in order to access known properties on the objects to keep the compiler happy such as: (testConfig as FastlyTaskData).customPropetc.  This felt painful as a provider author, so I thought about how we could move the abstraction layer back to the core library - I think TypeScript's generics are the correct solution to this problem.
How?
The ProviderBase class is now generic and accepts two type properties, SC i.e. the old SessionConfig and TC i.e. TestConfiguration. So it now has the signature:
abstract class ProviderBase<SC, TC> implements Provider

This allows the consumer to supply the config types to use, while still allowing us to maintain generic business logic for all providers in the core library that operates on those types.
The Provider interface has been refactored to use the type-safe version of any, unknown, wherever the SC or TC symbols are referenced. This allows you to have a list of different Provider[] interfaces and keep the compiler happy.
An example of how a provider author would use the class:
import { ProviderBase } from "open-insights/src/lib/providerBase"

type CustomSessionConfig {
  sessionId: string,
  // other props ...
}

type CustomTestConfig {
  type: string,
  id: string
  url: string
  // other props ...
}

// Note how we now pass the config types to the ProviderBase signature.
class CustomProvider extends ProviderBase<CustomSessionConfig, CustomTestConfig> {
  // provider implementation ...
}

The same pattern can now be applied to the Test classes so they can have generic TestConfiguration supplied by the provider author:
import Fetch from "open-insights/src/lib/fetch";

type CustomSessionConfig {
  sessionId: string,
  tasks: CustomTaskConfig[],
  // other props ...
}

type CustomTestConfig {
  type: string,
  id: string
  url: string
  // other props ...
}

class CustomProvider extends ProviderBase<CustomSessionConfig, CustomTestConfig> {
  //  ...

  function expandTasks(): Executable[] {
    return this.sessionConfig.tasks.map((t): Executeable => {
      // Note how we now pass the config type to the Fetch signature.
      return new Fetch<CustomTestConfig>(this, t)
    })
  }

  // ...
}

Notes:

To simplify the init logic I've also changed the signature of SessionProcessFunc to accept a list of executables Executable[] instead of the previous SessionConfig[] which no longer exists as a concrete type. However, I feel this is a cleaner implementation anyway.
I've had to refactor the tests to accommodate the new generics, so UnitTestProvider now has its own UnitTestSessionConfig and UnitTestTestConfig types.

Rebased with main to fix conflicts after #13 was merged.

Rebased with main to fix conflicts after #15 was merged.


Configure DTR shared storage after HA install

Current behavior
If you attempt to install DTR in HA mode and try to push an image when it is configured to just use the local filesystem, you will get an error like "block upload unknown"
https://docs.docker.com/datacenter/dtr/2.1/guides/install/
Expected behavior
As part of the HA instructions, make sure to describe that storage needs to be configured to use a shared storage backend.
Version affected
Docs referenced / affected
https://docs.docker.com/datacenter/dtr/2.1/guides/install/

@hinshun commented on Fri Nov 18 2016
Currently, we also have this warning when using filesystem:
Warning! You are using DTR with the filesystem driver in an HA setup. This will not work with non-clustered file systems. See the documentation for how to configure HA image storage.

This is mostly addressed


[WTD] Update to use gender-ambiguous name and gender-neutral pronouns

@erickson-doug : Thanks for your contribution! The author, @MicrosoftGuyJFlo, has been notified to review your proposed change.

#please-close
Already modified by another PR


Undefined behavior in main-less programs

The spec says:

If it defines a main function, this is considered the entry-point for the program.

however, the entry point of a program without a main function is undefined.

It's still undefined in the sense that it says they are libraries but not how to use libaries