[Mac]An error "Cannot create .NET debug configurations. The active C# project is not within folder" occurred when run or debug the project after install the C# Dev Kit.

Environment data
VS Code version: 1.81.1
C# Extension version: v 2.1.2
C# Dev Kit: v 0.5.2
Steps to reproduce

Install the VsCode (1.81.1)
Install the C# Dev kit (v 0.5.2) with C# extension (v2.1.2)
Create a new project by following code

mkdir Razor
cd Razor
dotnet new razor

code . to open the project.
F5 to run the project, then select .NET 5+ and .Net Core, the VsCode not respond.
When I try to create a launch.json file, will meet the error

Note

This issue only repro on Mac OS.
This issue does not repro on Linux/Windows OS.
This issue does not repro if I only install the C# extension (v 2.1.2).

Actual behavior

Expected  behavior
When I debug or run the project, it could create the configurations file successfully.

I'm having the same problem

I'm having the same problem

So do I... Can't even use the intellisense

Unfortunately I'm not able to repro this myself - @v-Judy (or anyone else) - please include the full contents of the C# output window here (ideally with dotnet.server.trace set to Trace).
Typically this is a symptom of the project failing to load.

While I can't repro the specific error message- I can say that F5 -> select .NET 5+ and .Net Core does nothing for me (on both windows and mac) when devkit is installed.  Without devkit it generates assets.
@WardenGnaw I'm moving this over to you as I don't think the Roslyn server has any involvement in F5 here (since we're not generating assets?)

F5 to run the project, then select .NET 5+ and .Net Core, the VsCode not respond.

This expected. If you have C# Dev Kit installed. >NET 5+ and .NET Core will not work. You will want to use the C# option.
See https://code.visualstudio.com/docs/csharp/debugging#_debug-with-f5

Unfortunately I'm not able to repro this myself - @v-Judy (or anyone else) - please include the full contents of the C# output window here (ideally with dotnet.server.trace set to Trace).

The C# output windows' content show as below:
 C# outputVersion:1.0
StartHTML:000000096
EndHTML:000024784
StartFragment:000000186
EndFragment:000024770
dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.Remote.Workspaces.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.CSharp.Workspaces.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.CSharp.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.Razor.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.Scripting.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.Elfie.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.CSharp.Features.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.Workspaces.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.AnalyzerUtilities.dll added to workspace.

dbug: LanguageServerWorkspaceFactory[0]
  Solution-level analyzer at /Users/vs/.vscode/extensions/ms-dotnettools.csharp-2.1.2-darwin-x64/.roslyn/Microsoft.CodeAnalysis.Features.dll added to workspace.

[Info  - 3:47:25 PM] [Program]Language server initialized
[LanguageServerHost][07:47:25.862][Start]initialize
[LanguageServerHost][07:47:25.867][Start]Initialize
[LanguageServerHost][07:47:26.604][End]Initialize
[LanguageServerHost][07:47:26.947][End]initialize
[LanguageServerHost][07:47:26.988][Start]initialized
[LanguageServerHost][07:47:27.427][End]initialized
[LanguageServerHost][07:47:27.574][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: , source: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost][07:47:27.839][Start]serviceBroker/connect
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.RemoteBrokeredServiceManifest (0.2).
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.GlobalBrokeredServiceContainer.MissingServiceDiagnostics (1.0).
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.ServiceHub.Framework.AuthorizationService.
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1), Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService, Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1), Microsoft.CodeAnalysis.LanguageServer.ManagedHotReloadLanguageService (0.1).
[Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.BrokeredServiceBridgeProvider]Setting up brokered service bridge
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Warning: 3 :
[BrokeredServiceTraceListener]Brokered service "helloServiceHubDotNetHost (0.1)" has no proffering source and no package registered to load.
[BrokeredServiceTraceListener]ServiceBroker Warning: 2 :
[BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is declined: ServiceFactoryNotProffered.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.Dispose() (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Listening for events from Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.AvailabilityChanged to raise notification.
[BrokeredServiceTraceListener]ServiceBroker Information: 3 :
[BrokeredServiceTraceListener]Listening started.
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":2,"method":"handshake"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":2,"processArchitecture":1,"runtime":2,"runtimeVersion":"7.0.10"}}]}
[BrokeredServiceTraceListener]ServiceBroker Information: 6 :
[BrokeredServiceTraceListener]Received request "2" for method "handshake".
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "availabilityChanged" -> _proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_aa24b9e3-ca9b-4ac6-9528-7b0003ecda75.OnAvailabilityChanged(BrokeredServicesChangedEventArgs) (_proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_aa24b9e3-ca9b-4ac6-9528-7b0003ecda75)
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.
[BrokeredServiceTraceListener]ServiceBroker Information: 3 :
[BrokeredServiceTraceListener]Listening started.
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]OtherProcessOnSameMachine proffered brokered service(s): Microsoft.CodeAnalysis.LanguageClient.SolutionSnapshotProvider (0.1), Microsoft.VisualStudio.Debugger.ManagedHotReloadService (0.1), Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1), helloServiceHubDotNetHost (0.1), vs-intellicode-base-models (0.1).
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine
[BrokeredServiceTraceListener]ServiceBroker Information: 9 :
[BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]handshake
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]handshake
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":2}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {"jsonrpc":"2.0","id":2,"result":null}
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":2,"method":"handshake"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"Multiplexing, IpcPipe","localServiceHost":{"operatingSystem":2,"processArchitecture":1,"runtime":2,"runtimeVersion":"8.0.0"}}],"traceparent":"00-179fd03d98ef1648834b5e3ff364c0a5-97c9aa2cd272ec4e-01"}
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":2}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {"jsonrpc":"2.0","id":2,"result":null}
[BrokeredServiceTraceListener]ServiceBroker Information: 11 :
[BrokeredServiceTraceListener]Received result for request "2".
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest","version":"0.1"},{"clientCulture":"en-US","clientUICulture":"en-US"}]}
[BrokeredServiceTraceListener]ServiceBroker Information: 6 :
[BrokeredServiceTraceListener]Received request "3" for method "requestServiceChannel".
[BrokeredServiceTraceListener]ServiceBroker Information: 9 :
[BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]requestServiceChannel
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=e8c694ae-57ed-48dc-8bc5-0c99e02a01ca
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" will be fulfilled by SameProcess
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=abd73fdf-6c5a-46fc-84b8-a1a9ddc31203
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=e8c694ae-57ed-48dc-8bc5-0c99e02a01ca
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" is Fulfilled by SameProcess: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=faa60882-b8c9-4dbf-b404-1d4233a1bfb9
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]requestServiceChannel
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":3}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {"jsonrpc":"2.0","id":3,"result":{"requestId":"d23770f3-1bb9-4cc8-96c6-09053a4e29ca","pipeName":"/var/folders/qq/x4z1t1j926n6lhfxqys16_qm0000gn/T/085f0d86831148df99a5a04c56bda88f"}}
[Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.BrokeredServiceBridgeManifest.BrokeredServiceBridgeManifest]Proffered services: Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1),Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService,Microsoft.CodeAnalysis.LanguageServer.ManagedHotReloadLanguageService (0.1)
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"helloServiceHubDotNetHost","version":"0.1"},{"clientCredentials":{},"clientCulture":"en-US","clientUICulture":"en-US"}],"traceparent":"00-179fd03d98ef1648834b5e3ff364c0a5-5463078fa524234c-01"}
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":3}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {"jsonrpc":"2.0","id":3,"result":{"requestId":"9fe93f6f-8adc-422c-a931-8d6a858bd983","multiplexingChannelId":3}}
[BrokeredServiceTraceListener]ServiceBroker Information: 11 :
[BrokeredServiceTraceListener]Received result for request "3".
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.HelloWorld.RemoteHelloWorldProvider]Response from remote: Hello, C#! - with love from ServiceHub running on .NET
[LanguageServerHost][07:47:29.728][End]serviceBroker/connect

Typically this is a symptom of the project failing to load.

This is indeed a symptom that the project cannot be loaded. The log information of the project is as follows:
 Project logVersion:1.0
StartHTML:000000096
EndHTML:000010607
StartFragment:000000186
EndFragment:000010593
2023-09-12 15:42:41.182 [error] (/Users/vs/RazorNoAuth/RazorNoAuth.csproj): SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" failed while attempting to resolve the SDK "Microsoft.NET.Sdk.Web". Exception: "System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.CachingWorkloadResolver.Resolve(String sdkReferenceName, String dotnetRootPath, String sdkVersion, String userProfileDir, String globalJsonPath)
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.WorkloadSdkResolver.Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory)
at Microsoft.Build.BackEnd.SdkResolution.SdkResolverService.TryResolveSdkUsingSpecifiedResolvers(IList1 resolvers, Int32 submissionId, SdkReference sdk, LoggingContext loggingContext, ElementLocation sdkReferenceLocation, String solutionPath, String projectPath, Boolean interactive, Boolean isRunningInVisualStudio, SdkResult& sdkResult, IEnumerable1& errors, IEnumerable`1& warnings)""
2023-09-12 15:42:41.327 [info] Project system initialization finished. 0 project(s) are loaded, and 1 failed to load.
2023-09-12 15:42:41.347 [error] Failed to load project '/Users/vs/RazorNoAuth/RazorNoAuth.csproj'. One or more errors occurred. (SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" failed while attempting to resolve the SDK "Microsoft.NET.Sdk.Web". Exception: "System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.CachingWorkloadResolver.Resolve(String sdkReferenceName, String dotnetRootPath, String sdkVersion, String userProfileDir, String globalJsonPath)
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.WorkloadSdkResolver.Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory)
at Microsoft.Build.BackEnd.SdkResolution.SdkResolverService.TryResolveSdkUsingSpecifiedResolvers(IList1 resolvers, Int32 submissionId, SdkReference sdk, LoggingContext loggingContext, ElementLocation sdkReferenceLocation, String solutionPath, String projectPath, Boolean interactive, Boolean isRunningInVisualStudio, SdkResult& sdkResult, IEnumerable1& errors, IEnumerable`1& warnings)""  /Users/vs/RazorNoAuth/RazorNoAuth.csproj)
2023-09-12 15:47:31.038 [error] (/Users/vs/RazorNoAuth/RazorNoAuth.csproj): SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" failed while attempting to resolve the SDK "Microsoft.NET.Sdk.Web". Exception: "System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.CachingWorkloadResolver.Resolve(String sdkReferenceName, String dotnetRootPath, String sdkVersion, String userProfileDir, String globalJsonPath)
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.WorkloadSdkResolver.Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory)
at Microsoft.Build.BackEnd.SdkResolution.SdkResolverService.TryResolveSdkUsingSpecifiedResolvers(IList1 resolvers, Int32 submissionId, SdkReference sdk, LoggingContext loggingContext, ElementLocation sdkReferenceLocation, String solutionPath, String projectPath, Boolean interactive, Boolean isRunningInVisualStudio, SdkResult& sdkResult, IEnumerable1& errors, IEnumerable`1& warnings)""
2023-09-12 15:47:31.151 [error] Failed to load project '/Users/vs/RazorNoAuth/RazorNoAuth.csproj'. One or more errors occurred. (SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" failed while attempting to resolve the SDK "Microsoft.NET.Sdk.Web". Exception: "System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.CachingWorkloadResolver.Resolve(String sdkReferenceName, String dotnetRootPath, String sdkVersion, String userProfileDir, String globalJsonPath)
at Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.WorkloadSdkResolver.Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, SdkResultFactory factory)
at Microsoft.Build.BackEnd.SdkResolution.SdkResolverService.TryResolveSdkUsingSpecifiedResolvers(IList1 resolvers, Int32 submissionId, SdkReference sdk, LoggingContext loggingContext, ElementLocation sdkReferenceLocation, String solutionPath, String projectPath, Boolean interactive, Boolean isRunningInVisualStudio, SdkResult& sdkResult, IEnumerable1& errors, IEnumerable`1& warnings)""  /Users/vs/RazorNoAuth/RazorNoAuth.csproj)
2023-0

Thanks for the logs - that indeed confirms its a project loading issue.  I'm transferring this issue over to the devkit side since they're responsible for the project load.
Issue here - https://github.com/microsoft/vscode-dotnettools/issues/551


(#412) (ENGTASKS-3461) Add Support for CCM

Description Of Changes
This modifies and adds support to choco-theme to
allow generation of JS and CSS on CCM. This also
brings in a handful of accessibility updates that
all Chocolatey websites will benefit from.
Motivation and Context
Going forward, choco-thme will be used on CCM, and styles and packages need added to support it.
Testing

Run yarn build and it complete successfully
From other repository, run yarn choco-theme and it complete successfully

Operating Systems Testing
n/a
Change Types Made

[ ] Bug fix (non-breaking change).
[x] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
[x] Documentation changes.
[ ] PowerShell code changes.

Change Checklist

[x] Requires a change to the documentation.
[x] Documentation has been updated.
[ ] Tests to cover my changes, have been added.
[x] All new and existing tests passed?
[ ] PowerShell code changes: PowerShell v3 compatibility checked?

Related Issue

412
ENGTASKS-3461

This is in draft because this is still being added to. I PR was put up so others can start looking at changes.


Fix PCV

Some fixes on the pressure control valve:

Add missing substance balance
Update documentation and connector description

closes #148 and #150

All regression tests passed.


End-to-end testing

Conduct final testing of all features using only Named Credentials authorization. Pay special attention to obtaining the JSON structure of the file stored in Google Workspace.

A bug was found and fixed in scope #28. Testing continues.

No other problems were found.


Mar 3, 2024 Debit MONOKAI, AMSTERDAM, 00000 1% Cash Back -$13.56.  Why is VS Code requesting a purchase

<!--
Thanks for contributing to Swift Collections!
Before you submit your issue, please replace each paragraph
below with the relevant details for your bug, and complete
the steps in the checklist by placing an 'x' in each box:

- [x] I've completed this task
- [ ] This task isn't completed

-->
Replace this paragraph with a short description of the incorrect behavior.
(If this is a regression, please note the last version of the package that exhibited the correct behavior in addition to your current version.)
Information

Package version: What tag or branch of swift-collections are you using?
Platform version: Please tell us the version number of your operating system.
Swift version: Paste the output of swift --version here.

Checklist

[x] If possible, I've reproduced the issue using the main branch of this package.
[x] I've searched for existing GitHub issues.

Steps to Reproduce
Replace this paragraph with an explanation of how to reproduce the incorrect behavior.
Include a simple code example, if possible.
Expected behavior
Describe what you expect to happen.
Actual behavior
Describe or copy/paste the behavior you observe.

Molokai is still requesting a purchase WHY
Mar 3, 2024
Debit
MONOKAI, AMSTERDAM, 00000
1% Cash Back
-$13.56


Update tdr-auth-utils to 0.0.150

About this PR
📦 Updates uk.gov.nationalarchives:tdr-auth-utils from 0.0.145 to 0.0.150
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "tdr-auth-utils" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives", artifactId = "tdr-auth-utils" }
}]

labels: library-update, early-semver-major, semver-spec-patch, commit-count:1

No files changed.


Remove OrchestrationStack#update_stack_queue

As per our gitter conversation, let's remove OrchestrationStack#update_stack_queue since it has no callers.
As per @himdel, the last caller was https://github.com/ManageIQ/manageiq-ui-classic/pull/1533/files#diff-acb3eba381d9b978014c502289714644L202, and it's not entirely clear that this method would have worked as intended anyway.
Originally part of https://github.com/ManageIQ/manageiq/issues/19543

@miq-bot add_reviewer @agrare


Deprecated description for Send ERC-20 Token

https://github.com/skywinder/web3swift#send-erc-20-token
When send ERC-20 Token not needed line - "options.value = amount" because method "transfer" in erc20ABI is not "payable"

Generally speaking ALL transactions need a value, even if not payable. So if the transaction has no value, set value to 0. The requirement for it to be set in options is there because value is a required field for a transaction on the chain.


In aggregation, do not use cis pairs separated by less than a given distance

close in favor of #67


fix for changed rustc directory layout

This fixes xargo to work with https://github.com/rust-lang/rust/pull/73265.
We should wait until the next nightly is released so that CI tests a nightly with the new directories.

bors r+


Changed github badges to style plastic.

Style change of the GitHub Shield to Style Plastic in main README.

Merge into main.


wasi: env initialization fix

Closes #261

Thanks for the help and sorry about the construction debris. We're trying to finish major api breaks this weekend.

Nothing to be sorry about! Was about to contribute Environment support but happy to see someone did it before me!

ps if you are using something besides tinygo and/or need a WASI API not defined here, please pipe up in the issue https://github.com/tetratelabs/wazero/issues/271


Lateral Movement Content Update #1

New Detections

Windows Service Creation on Remote Endpoint
Windows Service Initiation on Remote Endpoint
Scheduled Task Initiation on Remote Endpoint
Scheduled Task Creation on Remote Endpoint using At
Remote Process Instantiation via WinRM and Winrs

Updated Detections

Schtasks scheduling job on remote system
Remote Process Instantiation via WMI

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Remote Process Instantiation via WinRM and Winrs :x:

diskUsage: 487424
runDuration: 1.869s
scanCount: 2

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Scheduled Task Initiation on Remote Endpoint :white_check_mark:

diskUsage: 602112
runDuration: 4.292s
scanCount: 4045

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Scheduled Task Creation on Remote Endpoint using At :white_check_mark:

diskUsage: 499712
runDuration: 3.791s
scanCount: 3537

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Remote Process Instantiation via WinRM and Winrs :white_check_mark:

diskUsage: 602112
runDuration: 4.104s
scanCount: 3726

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Windows Service Creation on Remote Endpoint :white_check_mark:

diskUsage: 438272
runDuration: 3.923s
scanCount: 3526

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Windows Service Initiation on Remote Endpoint :white_check_mark:

diskUsage: 430080
runDuration: 3.793s
scanCount: 3526

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Remote Process Instantiation via WMI :white_check_mark:

diskUsage: 614400
runDuration: 5.655s
scanCount: 6575

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Schtasks scheduling job on remote system :white_check_mark:

diskUsage: 520192
runDuration: 5.2620000000000005s
scanCount: 6286


Monitoring Deployment fails

The monitoring component when doing the Greenfield deployment is failing to deploy with the following error:
{"code":"DeploymentFailed","target":"/subscriptions/xxxxxx/providers/Microsoft.Resources/deployments/AVS-tmekt3hzpov2a-Monitoring","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The resource 'Microsoft.Insights/metricAlerts/mike-sddc-CPU' at line '1' and column '2807' is defined multiple times in a template. Please see https://aka.ms/arm-syntax-resources for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":1,"linePosition":2807,"path":"properties.template.resources[0]"}}]}]}
Greenfield lite deployed.

@vivalada Can you please take a look at this issue?

Sure, @michielvanschaik.

Issue was solved on PR #327.


Update node installation method

This PR moves away from installing Nodejs from the NodeSource repository because they don't provide earlier versions preferring, instead, to install from binary.

This PR shouldn't be merged until the rest of the Spectre services have their Rakefile and cookbooks refactored to install Nodejs the same way.

See https://github.com/rapid7/propsd/pull/234 and https://github.com/rapid7/tokend/pull/102 for the other Spectre PRs.


Input arguments and return values

Functions currently do not support input arguments or return values, which significantly limit their usefulness.
Function definitions should optionally include required input arguments or keyword arguments, e.g.
define function my_function taking arg1 and arg2 as {
...
}

Function calls should optionally include passed arguments, e.g.:
call my_function for arg1

Working implementation available since commit 911ce3591cc77e1293360d96c056f4d3930d29d1.


Add transfer precompile design doc

Description
Bring Celo's transfer precompile to OP-stack to allow Token Duality (native token via ERC20) without requiring an op-geth fork.
Additional context

Token Duality description in Celo L2 spec

I think this could make sense given the chain operator could turn on/off the smart contract that is authorized to interact with the predeploy. There is a non zero chance that an existing application has a bug due to this, so chains that want to be more conservative in adopting this would be able to not use it. Then chains that do want this feature could turn it on


NEXT-33706 - Fix old links to old documentation and repository

1. Why is this change necessary?

We should avoid dead or old links in documentation

2. What does this change do, exactly?

Use newer links instead of old and dead links (old repository name or Shopware 5 docs)

3. Describe each step to reproduce the issue or behaviour.

Click on „Contributing“ link in README files of core, storefront or elasticsearch.

4. Please link to the relevant issues (if any).

https://issues.shopware.com/issues/NEXT-33706

5. Checklist

[ ] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change

no tests needed for docs

[ ] I have created a changelog file with all necessary information about my changes

maybe not relevant for a changelog entry?

[x] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Timon Freitag seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your contribution! :)


No way to detect if a Model has animations associated with it

Previously, Model.gltf could be used to determine if a model has animations associated with it, as well as a number of other bits of useful information. Since we removed these properties, it's now impossible to detect if a model has animations.
This is important for use cases where you may be writing a generic loader/viewer for model files. You may want to show additional information, such as the list of animations and enabling a user to play them.

Thanks @mramato. Just confirm my understanding, you are looking for something like model.gltf.animations to return a list of animation indices so that they can be played with
model.activeAnimations.add({
              index: 0,
             ....
            });

Is that correct?

A few cents:

a list of animation indices

I think that list would only be the range [0,numAnimations), with numAnimations being the information that is sufficient for running a particular one. But looking at the examples for add, there also seems to be the option to add an animation by name.
In view of

show additional information, such as the list of animations and enabling a user to play them.

one could consider different options for the information that is supposed to be exposed here. Specifically: The animation name might not be known at compile-time, and it might be desirable to allow users to select animations (from a UI component) based on their name.
(I don't know what model.sceneGraph.components.animations actually is. If these are just the glTF animation objects, then they may not have a name. Otherwise, one could consider to offer getAnimationNames() { return model.sceneGraph.components.animations.map(a => a.name); }, returing the names, and with that (implicitly) the numAnimations that determines the valid indices. Whether or not there is further information that is worth exposing (like startTimeS or durationS) has to be considered)

ModelAnimationCollection assumes the user knows exactly what animations are in the model, and only contains the active animations (i.e. animations the user has actually added). We could expand the API so that it reports how many animations there actually are, e.g. model.activeAnimations.totalAnimationsInGltf, though that makes the name activeAnimations confusing.
But this issue raises a question of scalability. We removed model.gltf because the new Model implementation converts the glTF into the ModelComponent system. We didn't consider the importance of making the original glTF accessible to the user. So in the future, if it seems like we'll need more information from the glTF, we may require a way to expose or retrieve the original glTF contents.

So in the future, if it seems like we'll need more information from the glTF, we may require a way to expose or retrieve the original glTF contents.

One possible short-term option here would be to have an option to the constructor that simply keeps the glTF after loading. Then the client can access the glTF just like it did previously. You could also augment this with a way to "clear" the glTF when the client is done with it to avoid keeping it in memory for the lifetime of the model.
Another option (that I think I like better) would be to have a callback/event that simply passes the glTF as part of the load process so the client can do whatever it wants with it.
I don't know enough about the refactored Model class to know how easy/hard the above is, but could be a great compromise.


Identifying web socket streams when dealing with multiple clients

Hello, I am using streaming_server.py file as the server, is there any way to identify the individual clients that connect to my server to differentiate their streams and possibly give them a unique id.
Thanks.

Yes, please see
https://github.com/k2-fsa/sherpa-onnx/blob/e31f9e48c2932385c62d31f8d77829574b222909/python-api-examples/streaming_server.py#L605
You can get the client IP and port from socket.
Please refer to the documentation of websockets about how to do that.

Hello, thanks for the reply.

Please refer to the documentation of websockets about how to do that.

This refers to websockets official documentation or websocket section in sherpa-onnx documentation

Please refer to the python package websockets.


Retry transient server errors automatically

Sometimes, the Firebase APIs will return an HTTP 500 or 503 server error for temporary or transient errors. Retrying the same request can help prevent these one-off errors from failing a whole CI build.
This patch also centralizes Faraday configuration so it matches between real life and the test suite rather than being duplicated.
As an example of the kind of issue this resolves, the following error:
D, [2020-11-17T14:40:30.351373 #1153] DEBUG -- request: POST https://firebaseappdistribution.googleapis.com/app-binary-uploads?app_id=1%3Ascrubbed
D, [2020-11-17T14:40:31.696651 #1153] DEBUG -- response: Status 503
D, [2020-11-17T14:40:31.696739 #1153] DEBUG -- response: Service Unavailable

would previously result in a Fastlane failure:
Faraday::ServerError: [!] the server responded with status 503
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb:34:in `on_complete'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/response.rb:12:in `block in call'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/response.rb:65:in `on_complete'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/response.rb:11:in `call'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday_middleware-1.0.0/lib/faraday_middleware/response_middleware.rb:36:in `call'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb:153:in `build_response'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/connection.rb:492:in `run_request'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/connection.rb:279:in `post'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-plugin-firebase_app_distribution-0.2.4/lib/fastlane/plugin/firebase_app_distribution/client/firebase_app_distribution_api_client.rb:127:in `upload_binary'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-plugin-firebase_app_distribution-0.2.4/lib/fastlane/plugin/firebase_app_distribution/client/firebase_app_distribution_api_client.rb:159:in `upload'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-plugin-firebase_app_distribution-0.2.4/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:31:in `run'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
  Fastfile:41:in `distribute_build'
  Fastfile:154:in `block (2 levels) in parsing_binding'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/lane.rb:33:in `call'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/commands_generator.rb:352:in `run'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/gems/fastlane-2.162.0/bin/fastlane:23:in `<top (required)>'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/bin/fastlane:23:in `load'
  /Users/distiller/project/vendor/bundle/ruby/2.7.0/bin/fastlane:23:in `<top (required)>'

@googlebot I signed it!

Thanks for making this change! Left a couple of comments.

Updated! Let me know if you need me to squash.


Feature request: i18n / localization

Thanks for this great library.
It would be awesome if error messages could be localized.

+1

Is the idea that translated error messages would be helpful to developers using this package or for end users of an application using this package?

The latter of course. The idea is we should have some way to translate the messages for end users without having to fork the project or parse the errors ourselves.

Error messages provide the property, failing constraint, and constraint details in a consumable format independent of any given language/locale.
For an end-user application I am curious how the user would find value in schema validation error messages over specialized messages focused on the user experience. Printing what in some cases are cryptic messages wouldn't be very helpful to an end user unless the application was a json schema validator like jsonschema.net, but that is my opinion.
If we introduced translated/localized messages, who provides those translations, and what languages/locales would be appropriate? If the language you need is not available, a PR would still be unavoidable, and no PR would be accepted unless all strings were translated.
I believe there are bigger fish to fry for this package, and that there are adequate facilities present in the package to provide package consumers with the ability to integrate validation error into their localized end-user application. That being said, PRs are always welcome.

I agree with @bighappyface that translated/localized messages doesn't belong into the schema. A solution for the problem can be to attach unique error codes to the constraint errors (the current English messages will be untouched). so the library user can map the error codes to there own translated/localized messages. @bighappyface what do you think this as a solution?

Great Input @jojo1981  I was thinking something along those lines, not actually providing error strings on different languages, just a more happy way to parse and interface with the schema errors.

@Lube I believe these facilities already exist:
https://github.com/justinrainbow/json-schema/blob/61a95a151aac86eaa9bbd31311d3d12a78c971b8/src/JsonSchema/Constraints/Constraint.php#L85-L89

@bighappyface You are absolutely correct, the symfony bundle I used, didn't expose the constraints, thanks for taking the time to answer this.

@Lube When the answer is sufficient enough, can you please close this issue? Thanks in advanced.

I would but I don't think I can, I didn't open this issue.

@Reggino When the answer is sufficient enough, can you please close this issue? Thanks in advanced.

Closing as part of clean up.


In elements.polymer-project.org/elements/iron-ajax, clicking on "Demo" takes you to a strange video feed

If you go to http://elements.polymer-project.org/elements/iron-ajax, clicking on "Demo" takes you to a strange page with a list of videos rather than a demo.
What's even stranger, at least two videos in the feed seem to be about Polymer Clay figures rather than Polymer itself (as in, the software).
Sorry to pollute the main issue list, but I just couldn't find the right spot for this report... the iron-ajax repo doesn't seem to be at fault, and I cannot find the repository for elements.polymer-project.org!

That is the demo :) It's a .json free from the YouTube API.

Oh my, I feel so so so so so so so so so so stupid!!!!!


Preferences dialog must be always on top

@cpauya & @aronasorman this fixes #236

Looks good, merging.


Repackage - Legacy IOC based TP ,Web Shells TP

Change(s):

Repackaging

Reason for Change(s):

Tagged for dependent solutions for deployment

Version Updated:

Web Shells Threat Protection - 3.0.2
Legacy IOC based Threat Protection - 3.0.4

Testing Completed:

Done

closing this PR because it has an unnecessary commit.


Requs compiler should not consider CRLF line endings as error when running in Windows

Following #65, I would appreciate the tip of how to change my Git settings on a Windows machine (I use TortoiseGIT, but I assume that the same issue appears when using CLI git interface) to avoid requs compiler errors like this:
ERROR] 1:52 don't use Windows line-endings: [Hoster is "a an owner of a web server, who wants to

and this:
ERROR] 35:26 always use space after comma: [    repo-s? as Repository,

These errors appeared after last requs update (v. 1.10.1)

@davvd assign someone else pls

@davvd assign someone else pls

@yegor256 -30 points to your rating

@davvd assign someone else pls

@yegor256 right, I'll try to find someone else for this task


Typo Fix: Fix typo in chapter 3.2 about vector.

Change vetcor to vector in 3.2-chinese.md

In original post, this part is:
For those of you who aren’t aware of the issue, consider a stack<vector<int>>. Now, a vector is a dynamically sized container, so when you copy a vector the library has to allocate some more memory from the heap in order to copy the contents.

So I think it's vector rather than vetcor.

感谢勘误！这的确是个笔误


Staging chunks is undocumented & undiscoverable?

This package claims it can be used to stage chunks, but I can find no documentation nor UI options for doing so.

Came here just a few hours after you for the exact same question (from the note in the README: The method for staging individual patches isn't the best interface.. It's #101 that helped me figure it out. To stage hunks / chunks / patches (i.e. only part of a file) :

In the unstaged section,
Arrow up or down to the file you want to partially commit,
Hit tab to open the diffs,
Arrow down and up to the hunk / chunk / patch you want to stage,
Hit Shift-S to stage, continue to arrow and hit Shift-S.
GOTCHA (cf isn't the best interface) Hit R to refresh
Now you should see the changes in the unstaged area. (you might need to arrow down).

The same thing works for unstaging, just use Shift-U once you've tabbed into the diffs (and also hit R to see the changes.


task authorization

Task access should use some sort of ACL, differentiating the owner from those who can access them. Initially, carte blanche access at the list level is sufficient; the part is that multiple users can access a list, and it's managed per-list by the list owner.

this is implemented and merged as of #25


Specified key was too long; max key length is 767 bytes

Microsoft.EntityFrameworkCore.Database.Command:Error: Failed executing DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE UNIQUE INDEX UserNameIndex ON AspNetUsers (NormalizedUserName);
MySql.Data.MySqlClient.MySqlException (0x80004005): Specified key was too long; max key length is 767 bytes ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Specified key was too long; max key length is 767 bytes
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
at MySqlConnector.Core.ResultSet.d__1.MoveNext() in C:\projects\mysqlconnector\src\MySqlConnector\Core\ResultSet.cs:line 43
at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet(ResultSet resultSet) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 92
at MySql.Data.MySqlClient.MySqlDataReader.d__65.MoveNext() in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 297
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MySql.Data.MySqlClient.MySqlDataReader.d__64.MoveNext() in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 287
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MySqlConnector.Core.TextCommandExecutor.d__3.MoveNext() in C:\projects\mysqlconnector\src\MySqlConnector\Core\TextCommandExecutor.cs:line 70
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MySqlConnector.Core.TextCommandExecutor.d__1.MoveNext() in C:\projects\mysqlconnector\src\MySqlConnector\Core\TextCommandExecutor.cs:line 25
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlCommand.cs:line 60
at Microsoft.EntityFrameworkCore.Storage.Internal.MySqlRelationalCommand.d__3.MoveNext()
引发的异常:“MySql.Data.MySqlClient.MySqlException”(位于 System.Private.CoreLib.dll 中)
“MySql.Data.MySqlClient.MySqlException”类型的异常在 System.Private.CoreLib.dll 中发生，但未在用户代码中进行处理
Specified key was too long; max key length is 767 bytes

How long is the username here?

I found this reply by searching for "Max key length is 767 bytes": https://stackoverflow.com/questions/1814532/1071- Specified-key-was-too-long-max-key-length-is-767-bytes
In identity, the default field length for username and Normalizedusername is 256, so I'll change the length of the field to 200 in the migration file. If you use UTF8MB4, it is estimated that you want to change the length of the field to a smaller size.
In IdentityServer4, the default maximum length of a field is 200, so there is no problem.


Make listening endpoint configurable

The listening endpoint being used was hardcoded, which can lead to a number of problems in a production system. With this change, we allow users to configure what the listening address will be.
Fixes: #379

Small fix here @Molter73 cargo +nightly fmt Should be the remedy.

Small fix here @Molter73 cargo +nightly fmt Should be the remedy.

Yeah, I need to get myself some hooks for checking before pushing, sorry!

So I was trying to figure out why kubernetes-integration-tests were failing. Something changed recently but I haven't pin-pointed why it worked before. There is an existing bug in the all the configfile processing logic. So this is what a bpfd,toml file looks like:
[tls] # REQUIRED
  ca_cert = "/etc/bpfd/certs/ca/ca.pem"
  cert = "/etc/bpfd/certs/bpfd/bpfd.pem"
  key = "/etc/bpfd/certs/bpfd/bpfd.key"
  client_cert = "/etc/bpfd/certs/bpfd-client/bpfd-client.pem"
  client_key = "/etc/bpfd/certs/bpfd-client/bpfd-client.key"

[grpc.endpoint]
  address = "::1"
  port = 50051

Fields cert and key are for bpfd certs and client_cert and client_key are for the clients (bpfctl, go counter examples, bpfd-agent). So in bpfd-operator/internal/bpfd-client-helpers.go, the default client paths are setup properly:
const (
	:
	DefaultClientCertPath  = "/etc/bpfd/certs/bpfd-client/tls.crt"
	DefaultClientKeyPath   = "/etc/bpfd/certs/bpfd-client/tls.key"
	DefaultPort            = 50051
)

But they are improperly assigned to  cert and key instead of client_cert and client_key:
func LoadConfig() ConfigFileData {
	config := ConfigFileData{
		Tls: Tls{
			CaCert: DefaultRootCaPath,
			Cert:   DefaultClientCertPath,
			Key:    DefaultClientKeyPath,
		},
		Grpc: Grpc{
			Endpoint: Endpoint{
				Port: DefaultPort,
			},
		},
	}

And in LoadTLSCredentials(), when pulling the Client Certs, it's using cert and key instead of client_cert and client_key:
	clientCert, err := tls.LoadX509KeyPair(tlsFiles.Cert, tlsFiles.Key)

So the only reason I can think it worked before is that bpfd-agent didn't have a valid bpfd.toml file, so when it failed to read it, it was using the defaults for cert and key. Now it has a valid bpfd.toml, and it trying to read client certs from the wrong directory.
So the fix is:
$ git diff bpfd-operator/internal/bpfd-client-helpers.go
diff --git a/bpfd-operator/internal/bpfd-client-helpers.go b/bpfd-operator/internal/bpfd-client-helpers.go
index c53c205..87c6137 100644
--- a/bpfd-operator/internal/bpfd-client-helpers.go
+++ b/bpfd-operator/internal/bpfd-client-helpers.go
@@ -45,6 +45,8 @@ const (
        bpfdMapFs              = "/run/bpfd/fs/maps"
        DefaultConfigPath      = "/etc/bpfd/bpfd.toml"
        DefaultRootCaPath      = "/etc/bpfd/certs/ca/ca.crt"
+       DefaultCertPath        = "/etc/bpfd/certs/bpfd/tls.crt"
+       DefaultKeyPath         = "/etc/bpfd/certs/bpfd/tls.key"
        DefaultClientCertPath  = "/etc/bpfd/certs/bpfd-client/tls.crt"
        DefaultClientKeyPath   = "/etc/bpfd/certs/bpfd-client/tls.key"
        DefaultPort            = 50051
@@ -53,9 +55,11 @@ const (
 var log = ctrl.Log.WithName("bpfd-internal-helpers")

 type Tls struct {
-       CaCert string `toml:"ca_cert"`
-       Cert   string `toml:"cert"`
-       Key    string `toml:"key"`
+       CaCert     string `toml:"ca_cert"`
+       Cert       string `toml:"cert"`
+       Key        string `toml:"key"`
+       ClientCert string `toml:"client_cert"`
+       ClientKey  string `toml:"client_key"`
 }

 type Endpoint struct {
@@ -74,9 +78,11 @@ type ConfigFileData struct {
 func LoadConfig() ConfigFileData {
        config := ConfigFileData{
                Tls: Tls{
-                       CaCert: DefaultRootCaPath,
-                       Cert:   DefaultClientCertPath,
-                       Key:    DefaultClientKeyPath,
+                       CaCert:     DefaultRootCaPath,
+                       Cert:       DefaultCertPath,
+                       Key:        DefaultKeyPath,
+                       ClientCert: DefaultClientCertPath,
+                       ClientKey:  DefaultClientKeyPath,
                },
                Grpc: Grpc{
                        Endpoint: Endpoint{
@@ -117,7 +124,44 @@ func LoadTLSCredentials(tlsFiles Tls) (credentials.TransportCredentials, error)
        }

        // Load client's certificate and private key
-       clientCert, err := tls.LoadX509KeyPair(tlsFiles.Cert, tlsFiles.Key)
+       clientCert, err := tls.LoadX509KeyPair(tlsFiles.ClientCert, tlsFiles.ClientKey)
        if err != nil {
                return nil, err
        }

Similar changes are needed in the go examples directory.

Thanks for looking into the errors @Billy99! I'll add a commit with the fix ASAP.


Map scrapers to new common model

We could output a nice scraper.json file containing the metadata from this process -> feed into CLI which takes {info.json, scraper.json (optional) and the tidy-csv.csv} and outputs the CSV-W.
We probably want this functionality to output a scraper.json file which is fed into the CLI developed in Issue #108.
We should map the scraper to the CatalogMetadata model (or similar from csvwlib). This could then be directly passed to the Cube in a python script, or serialised to a scraper.json for use with the CLI in #108.
You should start making changes to the code in gss-utils.

[ ] Install the csv-qb package as a dependency in gss-utils
[ ] Alter the (gss-utils) scraper class with a new method which maps itself into a CatalogMetadata (in csvqb) model. ++ do some behave tests in gss-utils here.
[ ] Provide easy functionality to read/write the CatalogMetadata from/to JSON.
[ ] Augment the CLI from #108 so that it takes a metadata-overrides argument which specifies the location of the CatalogMetadata JSON file. It should load this data in and take it in preference to any configuration from the info.json. ++ alter the behave tests in the csvqb lib.

I've spent some time today refactoring the gss-utils project to accept a more modern verison of rdflib (it was pinned at 4.2.2 - which is pretty old now)... https://github.com/GSS-Cogs/gss-utils/pull/316


Add issue created_at and updated_at fields. resolves #218

Hey @smalley, thank you, this looks super useful. We'll review it and put it up on staging next week.

@tmaybe Thanks for the opportunity to contribute. Definitely happy to patch up anything that shakes out in the review or rebase if you guys decide to merge #264 first.
By the way, do you guys generally prefer that commits be squashed before being submitted as pull requests (a couple of those commits I have there are pretty small).

Thanks @smalley – I'll let you know if we need a rebase. And nah no need to squash your commits.

Hi @smalley, we just merged #264 and yes, we need a rebase for this PR, if you don't mind. If you have problems I can help.

@tmaybe okay I think I've got this rebased on top of the current head. I'm a little iffy on the db migration script post merge though.

Thanks @smalley, reviewing it now.

Merged! @smalley, thanks for your help!


Support for shared modules between NativeScript and Web

One of the recommended way to build shared modules between NativeScript and Web is to use build time solution with conditionally using moduleName.module.tns.ts for NativeScript and moduleName.module.ts for web.
This is particularly needed in the scenarios when we share commonly used set of UI Components. E.g. we might wanna have a unified layer of components like: my-datepicker, my-button, my-table which are implemented by e.g. ng-semantic on web and hand coded for NativeScript but they have the same data contract and therefore other vertical cross platform feature modules can import them consistently on both platforms. I can only think of that build time solution to support AOT compilation.
Same approach is used by this seed project https://github.com/TeamMaestro/angular-native-seed
Do you have any plans to support this scenario? Pottentially be able to generate shared module using cli?

I don't think that would fit very well with the way nx works.
Nathan posted a suggestion on the angular-seed-advanced project, that I think would be more fitting:
https://github.com/NathanWalker/angular-seed-advanced/issues/474

I see.. Basically that basically leeds to a desing like that:

Which might be just ok.  Thanks for pointing me out to that issue.


Password rest not working

Hi,
I'm a rookie in djnago, I tried to implement password rest using this lib. I'm getting a custom link in my mail but the uid and token that i got is not working. When i send those uid and token it says invalid uid.
URLS.py
``urlpatterns = [
path('password-reset/confirm///',TemplateView.as_view(), name='password_reset_confirm'),
path('login/', CustomLoginView.as_view()),

path('logout/', LogoutView.as_view()),

path('register/', RegisterView.as_view()),

path('verify-email/', VerifyEmailView.as_view(), name='rest_verify_email'),

path('account-confirm-email/', VerifyEmailView.as_view(), name='account_email_verification_sent'),

path('account-confirm-email/<str:key>/', ConfirmEmailView.as_view()),

re_path(r'^account-confirm-email/(?P<key>[-:\w]+)/$',VerifyEmailView.as_view(), name='account_confirm_email'),

path('user-profile/', UserProfileView.as_view()),

path('google/connect/', GoogleLogin.as_view(), name='google_connect'),

path('dj-rest-auth/google/connect/', GoogleLogin.as_view(), name='github_connect'),

path('review/',ReviewAddAPI.as_view(),name='user_review_add'),

path('review/list/',ReviewListAPI.as_view(),name='get_all_reviews'),

path('password-reset/', PasswordResetView.as_view(),name='rest_password_reset'),

path('password-reset-confirm/', PasswordResetConfirmView.as_view(), name='rest_password_reset_confirm'),

]``
when i post the UID and TOKEN to password-reset-confirm url it says invalid uid. I tried everything after reading the comments still not working. Can someone help me. I'm literally stuck in here.

I got the solution :)

What is the solution?

What is the solution?

https://github.com/iarsham/RestApi-Blog/blob/main/code/Config/urls.py#L32#L36
Thanks to iarsham for the solution.


Fix: never compare equality of floating numbers

single and double floats use an especial arithmetic that uses a trade-off of being super big/small, but not very precise.
Eventually, 100f - 10f might result in 90.000000001 instead of pure 90f, so when comparing if 2 floats are the same, we need actually to check if they are close enough. Doing the pure comparison might result in weird behaviors.

[ ] decide a max difference that will still be considered the same numbers (the code uses 0.0001f)
[ ] create a threshold number (Application.FloatEqualThreshold ?)
[ ] convert all float number tests to use this constant (generally, get the absolute difference and check if is smaller)

instead of a threshold maybe create a custom comparison check? That uses Application.FloatEqualThreshold

[ ] Math.FloatIsEqual(floatValue, comparedTo)
[ ] Math.FloatIsGreater(floatValue, comparedTo)
[ ] Math.FloatIsLesser(floatValue, comparedTo)

instead of a threshold maybe create a custom comparison check? That uses Application.FloatEqualThreshold

[ ]  Math.FloatIsEqual(floatValue, comparedTo)
[ ]  Math.FloatIsGreater(floatValue, comparedTo)
[ ]  Math.FloatIsLesser(floatValue, comparedTo)

This is a good point Unity has Mathf.ApproximatelyEquals, Since our goal is to sorta mimic Unity's API to make transitioning as seamless as possible, it makes sense to recreate that idea.

I agree with all comments:

Bepu: the new check does not add much calculation. Also, pure equality might create weird physic bugs, very had to track
Mathf.ApproximatelyEquals: good option. Also, I've arbitrarily chosen 0.0001f. It would be nice to check the value selected by Unity
Math.* methods make it more readable. a* what about using Mathf.*? b* A operator == override (for floats and doubles)?

I've created Mathf.ApproximatelyEquals because it's the same method name used for MathD.
Also, I replaced several Epsilon comparisons with the Mathf.Epsilon and MathD.Epsilon


Parse true/false/null to python type True/False/None

Passing true, false, and null into arguments should return a parsed value that is equivalent to their appropriate types (bool or None) and not a string. Otherwise, the user has to translate it and cannot tell the difference between true and "true" inputs.

Sorry, I wasn't sure how to hide the previous commits that have already been merged in #8.


Bump abacus in broker

Signed-off-by: Plamen Doychev<EMAIL_ADDRESS>

Coverage remained the same at 88.731% when pulling bcbcb4829cbb78e547a15b3fa9399268a9dc368c on SAP:bump_cc into 072778f6ae9a2ac5f482276d06509e7466136f0e on cloudfoundry-incubator:master.


Safari Bug: Anchor position gets inaccurate on longer pages

I've found that Safari (V. 10) moves the "offset" of an animation anchor up the longer a page get.
So on very long pages a bottom anchor can move from bottom to top. Strange...

Hey @Jugibur I tried to reproduce this problem, but with no luck.. It was probably caused by too early initialization of AOS. It might be solved with:
window.addEventListener('load', AOS.refresh)

If this problem still occurs, feel free to reopen this issue and provide an example codepen that replicates it.


Shapefile import via geotools

Shape file reader :

Abstract shapefile reader
Implementation for OSM shape files
Basic test case on small sample shapefile
graphhopper.sh modifications

Run it via :  ./graphhopper.sh web - asia_india.shp

Hi Vikas,
thanks for this PR! Shapefiles are very valuable, especially to import or handle proprietary data. Is there a special format expected or certain attributes? E.g. how is the speed value per vehicle guessed? Or will it just import the topology and handling other attributes will be done elsewhere?
In order to integrate this we need to do some work like #450. This is already planned and creates a separate osm-import module. Then we need an additional refactoring separating OSM stuff from FlagEncoders. See also the discussion and the available refactoring in #277, maybe there are even some valuable refactorings which can be used here?
Recently I had the pleasure with playing with shp files on my own (maybe I'll blog about this) and geotools is just too huge to be included in the normal distribution or even in core. But after these refactorings we should be able to put the geotools stuff into a separate module like shp-import which then provides an implementation of DataReader, identical to what then OSM will provide.
The unit tests looks good. Additionally we need a stronger validation here e.g. ensuring that certain networks exists and the location lookup works, plus a simple Dijkstra run.

Run it via : ./graphhopper.sh web - india-latest.osm

Do you mean india-latest.shp here instead? When doing the import: how large is the shp file and how much RAM is used for the import? Also after the necessary refactorings the shp files should work directly like osm or pbf files:
./graphhopper.sh web india-latest.shp

Yes ! ./graphhopper.sh web india-latest.shp

I have abstracted out the logic to handle shape file handling and building graph.
And processJunctions and proccessRoads methods need to be implemented by the
ShapeFile reader depending on the data.
One implementation I have provided for, is for files at : http://download.geofabrik.de
Different vendors have different schemes, who can create their shape file reader by implementing above methods.
Vehicle speeds are not explicitly calculated. For now just using 'maxspeed' in shape file, if not present an Average Speed is used. This will need improvements, which will again depend on the "schema of shape file".

Interesting implementation and useful too for proprietary data.

we should be able to put the geotools stuff into a separate module like shp-import

:+1:
Like Peter mentioned, it's better to not not mix the various import modules.
Probably a core module and extensions like the osm-import or shp-import with their own dependencies is probably the best way.

@karussell there is gc overhead in one build, should increase the maven memory in this case ?

And processJunctions and proccessRoads methods need to be implemented by the
ShapeFile reader depending on the data. One implementation I have provided for, is for files at : http://download.geofabrik.de

Ah, okay!
How do you determine if something is a junction vs. a bridge?

Vehicle speeds are not explicitly calculated. For now just using 'maxspeed' in shape file, if not present an Average Speed is used. This will need improvements, which will again depend on the "schema of shape file".

Perfect!

@karussell there is gc overhead in one build, should increase the maven memory ?

Hmmh, what do you mean here? I was asking about memory usage just because of comparison to OSM importer.
Regarding the refactoring: I'll try to implement #450 in the next weeks and then it shouldn't take much to change this PR to be merged. What do you think?

Hmmh, what do you mean here? I was asking about memory usage just because of comparison to >OSM importer.

Please check attached log for asia_india.shp , for zip of ~300 MBs with RAM of 1G took about 5-6 minutes.
import.log.zip
The memory usage I was taking about was in the 'Tarvis CI build' on of its test instance is failing due to OOM.
I will take at look at #450 and other issues and see how much is to be done (refactoring,redesign, etc) and commit as per availability.

Just to let you know: this is not forgotten :) As this is important work I'm working on #450 in a new branch and will provide this soonish as a new pull request. Then this work needs to be refactored (into a new maven module) to integrate it better in the new structure.

@vvikas would you have a bit time to see if an integration of this PR is possible with the new separation done in #740?

Great , changes looks good. Will try to integrate with it. Should be done by end of July.

Thanks a lot for the feedback! Will then try to integrate this in the next weeks.

BTW: Merged the changes so this one here could be better separated too

Adaptions to this PR done in #874


0.5 problems ?

I want to rate 1.5, 2.5, etc.

Sorry, this rating cannot be used for fraction ratings, there should be only 5 emotions. But we can try to add more smileys in future. Thank you!


test: some improvements

We're having a lot of issues with tests randomly failing. I think the issue is in the in memory wallet being faster (espeically in closing etc..) and therefore the closing / shutdown after tests is now going wrong when we use message pickup.
This PR adds some small improvements, but I think the proper way to fix this is by keeping track of which pickup messages we have sent, and waiting for a response to the sent messages after stopMessagePickup has been called. That way we know for sure no more messages will be exchanged before we call shutdown on the agents.
Partially fixes https://github.com/openwallet-foundation/credo-ts/issues/1750 It moves more to in-memory. splits e2e from non-e2e, splits non-e2e into shards (2 at the moment) to speed up tests. And I made a first pass at using pre-generated anoncreds definitions in tests. The tests i did this for were significantly faster

Merging for now. Thanks for the feedback! We can improve the pickup finished handling in a follow up PR (if we add the right handles in the stopMessagePickup)


My Red Dead Redemption 2 Port - Can't get D3D12_Init to call

Hey! I absolutely love the idea behind this and I had something really similar in mind. However, I am not as good at writing in C++ as I am in C#. I am trying to port this over to Red Dead Redemption 2.
I've managed to find the viewport and applied some simple changes in hopes it would work.
struct CameraParams
{
	float FoV; //0x0
	float NearPlane; //0x4
	float FarPlane;  //0x8
};

//offset can be found by tinkering with in-game FOV slider.

auto mod = (uint64_t)GetModuleHandleW(L"RDR2.exe");
auto ptr1 = *((uintptr_t*)(mod + 0x3E806E0));
camParams = ((CameraParams*)(ptr1));

I am unable to get it to work correctly for some reason. The game refuses to load the DLL when named "nvngx.dll" but loads when named "d3d11.dll" but then the actual functionality of the DLL doesn't work with  D3D12_Init not being called. (tested by using print with console in DLL_PROCESS_ATTACH).
Tested in Cyberpunk and works flawless.
Do you have any ideas how I could make this work? I am very desperate haha.
Thank you, again.

Maybe the registry value for RDR2 is different that cyberpunk? I know that you need driver installed supporting the game to have dlss enabled in a particular game. I don't own an RTX gpu so I cant say it for sure.

Would love to know how nvngx.dll gets loaded in the first place because maybe I could force RDR2 to load it the way it should.

Oh wow, it is awesome that you are already working on this. I don't own the game so I can't help you directly but rdr2 might have some weird signature checks in addition to the ones from nvidia. I've been told that rockstar games generally have a lot of anti-debug systems and this might be part of it.
But yeah checking out how the real dlss works is always a idea. That's why me getting a rtx 3060 laptop helped a lot with troubleshooting the mod. If you still can't find any way to do it after debugging that part: Hooking LoadLibrary is always a last resort to this problem. I did the same in the beginning before I found out about the registry keys.

Yeah, Im started to feel that @imniko might be right about the registry keys being different. How did you find the registry keys anyway? Right now i got nvngx_dlss.dll open in IDA trying to find a string that might point me in the right direction.

The registry key part is in the game itself and part of the static library gamedevs get from nvidia (nvsdk_ngx_s.lib).
I didn't know about the registry keys in the beginning but I ran the game in x64dbg, tried to investigate why my nvngx didn't load and stumbled over some weird RegOpenKeyExW calls. You can't find them directly in IDA because they are hidden via GetProcAddress + Loadlibrary stuff but the function call OutputDebugStringW(L"*** WARNING - PE SIGNATURE VERIFICATION FAILED !!!\n*** Filename: "); should lead you to the right function.

cant seem to find it running on my AMD machine. Did you find it by running on your RTX laptop?

The registry key part is in the game itself and part of the static library gamedevs get from nvidia (nvsdk_ngx_s.lib). I didn't know about the registry keys in the beginning but I ran the game in x64dbg, tried to investigate why my nvngx didn't load and stumbled over some weird RegOpenKeyExW calls. You can't find them directly in IDA because they are hidden via GetProcAddress + Loadlibrary stuff but the function call OutputDebugStringW(L"*** WARNING - PE SIGNATURE VERIFICATION FAILED !!!\n*** Filename: "); should lead you to the right function.

You are referring to the GUID? Looks like {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}. That's what I'm currently trying to find, and RDR2 is very debug unfriendly. I have found the function you are on about in IDA (dumped the process with pe64), as well as in Cheat Engine and x64dbg. However, I can't find any obvious pointers to finding that GUID. I have tried hooking StringFromGUID2 but no luck, even manually calling the function that contains it.

Maybe games that have anti-tamper and anti-cheat DRM this DLL replacer method. wont work there. I have Horizon Zero Dawn, but have no knowledge on how to get the camera offset, also never worked with IDA or x64dbg or I would gave it a shot.

The latest scene release has this on the changelog

unpacked executable, it loads much faster than original

properly generated license in runtime that completely crushes their 4 stage license verification and anti-tamper scheme

perhaps debugging the cracked version would be easier and then you can apply your findings to the official one? Don't know how realistic that is though

Got it working!
For some reason, the game seems to check if you have a supported GPU before going ahead and loading nvngx.dll, whereas cyberbug loads it pretty much without question and then unloads it if its not needed. Took a lot of debugging but will fork this repo and apply my edits.
Thanks for the help dudes :)
Some performance stats (i7 8700k, 6700-xt, 32gb ram) :
native : 95
balanced : 120
ultra performance : 140

https://github.com/RealIndica/RDRFSR2

I wonder if at one point other versions of this mod could get merged into the original one, with one file with configurations for different games.
Do you think that could be possible, or you had to do changes in too many places?

https://github.com/RealIndica/RDRFSR2

Unfortunately, it does not work for me. I believe there can be different addresses for different versions of the game and between license/cracked vesions (also, I have an AMD gpu which can be the issue). Can you describe the way you found the view matrix and hardware support check addresses?

https://github.com/RealIndica/RDRFSR2

Unfortunately, it does not work for me. I believe there can be different addresses for different versions of the game and between license/cracked vesions. Can you describe the way you found the view matrix and hardware support check addresses?
EDIT: The problem is that there is no DLSS option in settings. Enabling it in system.xml changes nothing either.

I am using the legit version of rdr2. I will update to find the address by signature today so it shouldn't matter what version of rdr2 you have unless it's pre-dlss update.

For those who want to try it in not a legit one, the relative address for game version 1436.28 is 0x2729774

For those who want to try it in not a legit one, the relative address for game version 1436.28 is 0x2729774

Does not work for me for that version. Are you sure this is the address? How could I find the correct value?

For those who want to try it in not a legit one, the relative address for game version 1436.28 is 0x2729774

Does not work for me for that version. Are you sure this is the address? How could I find the correct value?

Just to make suke, you're running D3D12 version and replaced the '_GPU_CHK' address in RealIndica's nvngxLoader and not the _SIG_VER (it's actually not used here)? Also, make sure you compiled it in Release x64 configuration and copied the compiled 'd3d11.dll' file into the game directory, right next to 'nvngx.dll'. If all above is correct and it's still not working, write your email address and I'll try to explain the way I found it (cause I can't write it here due to as someone pointed out - "decompiling is illegal in many parts of the world").

For those who want to try it in not a legit one, the relative address for game version 1436.28 is 0x2729774

Does not work for me for that version. Are you sure this is the address? How could I find the correct value?

Just to make suke, you're running D3D12 version and replaced the '_GPU_CHK' address in RealIndica's nvngxLoader and not the _SIG_VER (it's actually not used here)? Also, make sure you compiled it in Release x64 configuration and copied the compiled 'd3d11.dll' file into the game directory, right next to 'nvngx.dll'. If all above is correct and it's still not working, write your email address and I'll try to explain the way I found it (cause I can't write it here due to as someone pointed out - "decompiling is illegal in many parts of the world").

Ah cheers I was in vulkan mode, gonna give this a try. Thanks a lot!

For those who want to try it in not a legit one, the relative address for game version 1436.28 is 0x2729774

Does not work for me for that version. Are you sure this is the address? How could I find the correct value?

Just to make suke, you're running D3D12 version and replaced the '_GPU_CHK' address in RealIndica's nvngxLoader and not the _SIG_VER (it's actually not used here)? Also, make sure you compiled it in Release x64 configuration and copied the compiled 'd3d11.dll' file into the game directory, right next to 'nvngx.dll'. If all above is correct and it's still not working, write your email address and I'll try to explain the way I found it (cause I can't write it here due to as someone pointed out - "decompiling is illegal in many parts of the world").

Ah cheers I was in vulkan mode, gonna give this a try. Thanks a lot!
Edit: it didn't work. I guess I'm probably not replacing the right variable with this address in the code? Or maybe there are more than one addresses that have changed.

Also, can you, please, describe - by not working you mean that there is no DLSS option in game settings or it is there but it just scales rendering resolution and doing nothing more? Cause in the second case you need to change value of 'Method' (under [View] section of ini-file) to 'config' (without quotation marks), otherwise it just gets wrong values for FarPlane, NearPlane and Fov.
Also, I just checked - it should work for both Vulkan and D3D12.

Yeah sorry, no DLSS option, looks like it never gets loaded. Could you put up a fork with your edited files? Or share the diff with me? I guess I'm doing something wrong since I have no idea what I'm doing 🥲

Sure. Download 'Release.zip' from here https://github.com/lnfecteDru/RDRFSR2/releases/tag/v1.3 and extract it into your game directory. Let me know if this worked for you.

Still didn't load, although your diff was quite different from mine (I had only changed _GPU_CHK, and had no deletions). I'm on version 1436.28

Still didn't load, although your diff was quite different from mine (I had only changed _GPU_CHK, and had no deletions). I'm on version 1436.28

I also forgot to put 'EnableSignatureOverride.reg' and 'DisableSignatureOverride.reg' to release zip-file. Can you download 'EnableSignatureOverride.reg' from the repository and run it? It allows to bypass DLSS signature check.

Still didn't load, although your diff was quite different from mine (I had only changed _GPU_CHK, and had no deletions). I'm on version 1436.28

I forgot to put 'EnableSignatureOverride.reg' and 'DisableSignatureOverride.reg' to release zip-file. Can you download 'EnableSignatureOverride.reg' from the repository and run it? It allows to bypass DLSS signature check.

That got it working! nice. Weird because the reg edit wasn't needed for me for the legit version.

Still didn't load, although your diff was quite different from mine (I had only changed _GPU_CHK, and had no deletions). I'm on version 1436.28

I forgot to put 'EnableSignatureOverride.reg' and 'DisableSignatureOverride.reg' to release zip-file. Can you download 'EnableSignatureOverride.reg' from the repository and run it? It allows to bypass DLSS signature check.

That got it working! nice. Weird because the reg edit wasn't needed for me for the legit version.

AFAICT he's patching result of signature verification so it returns success in any case (the address stored in _SIG_VER).


[Hub Generated] Review request for Microsoft.Easm to add version preview/2023-04-01-preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

/azp run unifiedPipeline

The resource type 'operations' could not be found in the namespace 'Microsoft.Easm' for api version '2023-04-01-preview'. The supported api-versions are '2022-04-01-preview'
I'm not completely sure how to resolve this api readiness check - it appears to be trying to use the api, but the manifest for our api can't be updated until this PR goes through
I'd appreciate any advice on the subject


worldEndsAfter doesn't work as described

For example:
"Hero Placeholder | Components | programming.Plans | worldEndsAfter" states "When not null, ends the world this many seconds after this Thang finishes its plans."
There is a drop down box with which to choose "null" or "number". If you choose "null", it works as expected. Choosing "number" and "1" works as one would expect. BUT, if you choose "number", and "0" the world does not end zero seconds after the plan finishes. This is one of those conceptual cases where "zero" is not "null".
This should either be changed so the code works as described or the description changed so that it reads "null or zero". Since the choice to choose "null or number" is given, it would seem that the intent was to have the world end zero seconds after Thang finished its plans (zero does not equal null) if zero was chosen. Having mentioned what would be the preferred/intended method, the question(s) becomes can the way the database was set up actually handle this distinction and how many levels were set up wrong (used zero when null was meant)....

Let's just change the description, since people have set up a bunch of levels with the 0 value.

Submitted patch to Plans: Changed description of worldEndsAfter to match how it works (0===null)


[BUG] No menu buttons

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.0
What problem did you encounter?
It seems like the new roblox UI made it impossible to go back to menu if using V1 only.

Bloxstrap Log
N/A

{
"FFlagFixReportButtonCutOff": "False",
"FFlagSettingsHubIndependentBackgroundVisibility": "False"
}

{ "FFlagFixReportButtonCutOff": "False", "FFlagSettingsHubIndependentBackgroundVisibility": "False" }

add these fflags

thanks man :) appreciated it


Update sbt-github-actions to 0.23.0

About this PR
📦 Updates com.codecommit:sbt-github-actions from 0.14.2 to 0.23.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.codecommit", artifactId = "sbt-github-actions" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.codecommit", artifactId = "sbt-github-actions" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-minor, artifact-migrations, commit-count:n:2

Superseded by #184.


Drive API triggers "quotaExceeded" after 27MB media file download

Many of my clients have noticed recently that they have quota issues with media files (specifically .mp4 videos). We use the .NET Google Drive API to download files.

The first time the user downloads the .mp4 format file, ~27MB (27,263,296 bytes) is downloaded, even if the file is longer than that.
Subsequent attempts result in the json error below "The download quota for this file has been exceeded"

{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "quotaExceeded",
"message": "The download quota for this file has been exceeded",
"locationType": "other",
"location": "quota.download"
}
],
"code": 403,
"message": "The download quota for this file has been exceeded"
}
}
My guess is that this is a server issue as the client code is unchanged, and used to work until around 2 weeks ago. Is there a way to check this, and a way to bypass the issue? 27MB download is hardly abuse.

An update on this. It seems like the issue is with the MediaDownloader for .NET
The MediaDownloader has a property called ChunkSize, which determines the size in bytes of the chunks to be downloaded.
I have noted in a few experiments that the download fails after the same number of chunks (53), not the number of bytes downloaded. The failure is the above usage limit one - quotaExceeded. It happens with mp3 and mp4 format files.

Closing as stale. Please re-open if this is still a problem.


PYIC-3066: replace existing start page with new document start page

Proposed changes
What changed

Changing existing start page with new document start page.

Why did it change

Issue tracking

PYIC-3066

Checklists
Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Documented in the README
[ ] Added to deployment repository
[ ] Added to local startup repository

Other considerations

[ ] Update README with any new instructions or tasks

Looks good but I think if this is going to be the last PR we merge to handle the switch over in prod, we need to handle the rerouting of check-existing-identity here too. Note on the ticket-

We need the reuse/F2F pending checks to take place BEFORE the new start page (currently they are after the existing start page). Can we rewire INITIAL_IPV_JOURNEY to go to CHECK_EXISTING_IDENTITY and CHECK_EXISTING_IDENTITY to go to the new start page?


[W4.5c][W14-A1] K Muruges

Added catch for situation when storage file become read-only whilst the program is running

@muruges95
Some comments added. Please ack & close the PR after reading comments.

Alright roger will take note of these


Bug: Incomplete Message Retrieval from SDK (Limit: 100 Messages)

Describe the bug
I have encountered a limitation with the SDK where it only returns a maximum of 100 latest messages from a chat, even if the chat contains more than 100 messages.
Expected behavior
No response
Steps to reproduce the bug
No response

Similar to my comment here: https://github.com/xmtp/xmtp-flutter/issues/70#issuecomment-1624174141
This is due to the query only fetching the first page. We'll need to make a call to an envelopes method (which may need to be written) that does a query through all of the pages. We recently fixed this in iOS and Android https://github.com/xmtp/xmtp-android/pull/88
I think this one is going to be a little more complicated because it makes use of the batch query method since it can take multiple conversations.
https://github.com/xmtp/xmtp-flutter/blob/main/lib/src/conversation/conversation_v2.dart#L231-L234
https://github.com/xmtp/xmtp-flutter/blob/main/lib/src/conversation/conversation_v1.dart#L139-L142


helper::throw_system_error_if and helper::to_utf8 should be inline to avoid linking errors

I'm using dir_monitor in a project and suddenly started getting linking errors once the project got bigger and the dir_monitor headers included in multiple places.
The main culprit was that helper::throw_system_error_if and helper::to_utf8 were getting defined multiple times.
Setting the two functions as inline seems to take care of this.

Thanks, I will update the code asap.