Unable to start Aspire when not connected to network / VPN

If I try to start an aspire app when I have no network connection, it fails to start with the below error.  The same error happens both when starting through Visual Studio, and dotnet run
Additionally, when starting in Visual Studio (Version 17.10.0 Preview 2.0), it pops up the following dialog box which before the Aspire app even starts

My company does have an always on VPN installed, which blocks internet connectivity when not connected to the VPN, so it's possible that is interfering here.  However even with that, I can still normally open and connect to ports running on localhost.
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
      Hosting failed to start
      System.Net.Http.HttpRequestException: An attempt was made to access a socket in a way forbidden by its access permissions. ([::1]:50373)
       ---> System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
         at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(QueueItem queueItem)
         at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
         at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
         at k8s.Kubernetes.SendRequestRaw(String requestContent, HttpRequestMessage httpRequest, CancellationToken cancellationToken)
         at k8s.AbstractKubernetes.ICustomObjectsOperations_CreateClusterCustomObjectWithHttpMessagesAsync[T](Object body, String group, String version, String plural, String dryRun, String fieldManager, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
         at k8s.AbstractKubernetes.k8s.ICustomObjectsOperations.CreateClusterCustomObjectWithHttpMessagesAsync(Object body, String group, String version, String plural, String dryRun, String fieldManager, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
         at Aspire.Hosting.Dcp.KubernetesService.<>c__DisplayClass10_0`1.<<CreateAsync>b__0>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 54
      --- End of stack trace from previous location ---
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 201
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 208
         at Aspire.Hosting.Dcp.ApplicationExecutor.StartDashboardAsDcpExecutableAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 216
         at Aspire.Hosting.Dcp.ApplicationExecutor.RunApplicationAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 86
         at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 68
         at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
         at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.AggregateException: One or more errors occurred. (An attempt was made to access a socket in a way forbidden by its access permissions. ([::1]:50373))
 ---> System.Net.Http.HttpRequestException: An attempt was made to access a socket in a way forbidden by its access permissions. ([::1]:50373)
 ---> System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at k8s.Kubernetes.SendRequestRaw(String requestContent, HttpRequestMessage httpRequest, CancellationToken cancellationToken)
   at k8s.AbstractKubernetes.ICustomObjectsOperations_CreateClusterCustomObjectWithHttpMessagesAsync[T](Object body, String group, String version, String plural, String dryRun, String fieldManager, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
   at k8s.AbstractKubernetes.k8s.ICustomObjectsOperations.CreateClusterCustomObjectWithHttpMessagesAsync(Object body, String group, String version, String plural, String dryRun, String fieldManager, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
   at Aspire.Hosting.Dcp.KubernetesService.<>c__DisplayClass10_0`1.<<CreateAsync>b__0>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 54
--- End of stack trace from previous location ---
   at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 201
   at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 208
   at Aspire.Hosting.Dcp.ApplicationExecutor.StartDashboardAsDcpExecutableAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 216
   at Aspire.Hosting.Dcp.ApplicationExecutor.RunApplicationAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 86
   at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 68
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Aspire.Hosting.DistributedApplication.RunAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/DistributedApplication.cs:line 133
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Aspire.Hosting.DistributedApplication.Run() in /_/src/Aspire.Hosting/DistributedApplication.cs:line 141
   at Program.<Main>$(String[] args) in <MY APP>\Program.cs:line 29

<MY APP>\bin\Debug\net8.0\MY APP.exe (process 17600) exited with code -532462766.

VS Info
Microsoft Visual Studio Enterprise 2022
Version 17.10.0 Preview 2.0
VisualStudio.17.Preview/17.10.0-pre.2.0+34707.107
Microsoft .NET Framework
Version 4.8.09032

Installed Version: Enterprise

ASP.NET and Web Tools   <IP_ADDRESS>07
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   <IP_ADDRESS>07
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools   <IP_ADDRESS>07
Azure Functions and Web Jobs Tools

C# Tools   4.10.0-3.24127.5+e3d617bc46b0f92c2d2438188b35e009b942d0d1
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Azure Tools for Visual Studio   2.9
Support for Azure Cloud Services projects

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager   6.10.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Razor (ASP.NET Core)   <IP_ADDRESS>5507+c5753a9c23d8422e24ed842c0ddad71e84d900d1
Provides languages services for ASP.NET Core Razor.

SQL Server Data Tools   <IP_ADDRESS>
Microsoft SQL Server Data Tools

TypeScript Tools   17.0.30221.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.10.0-3.24127.5+e3d617bc46b0f92c2d2438188b35e009b942d0d1
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   17.10.0-beta.24127.3+b57dee7cec971021547a7b8a36a46d7271fea99e
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

dotnet workloads

Installed Workload Id      Manifest Version                     Installation Source
-----------------------------------------------------------------------------------------------
aspire                     8.0.0-preview.4.24156.9/8.0.100      SDK 8.0.200, VS 17.10.34707.107

Use `dotnet workload search` to find additional workloads to install.

Aspire version in AppHost csproj
  <ItemGroup>
    <PackageReference Include="Aspire.Hosting" Version="8.0.0-preview.4.24156.9" />
    <PackageReference Include="Aspire.Microsoft.Data.SqlClient" Version="8.0.0-preview.4.24156.9" />
  </ItemGroup>

Looks like your VPN blocks ipv6 localhost?

Yup - that seems to be the issue - Invoke-WebRequest http://[::1]/ -Headers @{ Host='localhost' }  results in the IIS homepage when on VPN, but doesn't when it's off.
Unfortunately after speaking to my IT team, they have no plans to make any changes to fix this - is it possible to have aspire connect / fall back to ipv4 localhost instead?

@karolz-ms can you detect this scenario?

What we can do is to have a policy preference for IPv4 or IPv6. Probably default to IPv4. I am going to open an issue about that in DCP repo.

I have hit similar to this but no VPN.

What issue exactly?

Aspire starter templates work fine on my home PC. However, when I try to follow the quickstart guide at my company workstation, it seems to be blocked by the proxy. At first, I thought it was related to K8s starting issues with Rancher Desktop. Now, I notice the errors occurred even with a barebone AppHost (dotnet new aspire -o AspireHello), which doesn't create any OCI containers.
PS C:\Users\tnguyenthanh\AspireHello> dotnet run --project AspireHello.AppHost
Building...
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.0.1+a6e341ebbf956bbcec0dda304109815fcbae70c9
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: C:\Users\tnguyenthanh\AspireHello\AspireHello.AppHost
info: Aspire.Hosting.DistributedApplication[0]
      Now listening on: https://localhost:17218
info: Aspire.Hosting.DistributedApplication[0]
      Login to the dashboard at https://localhost:17218/login?t=b44ba04fddf89593dbacc5440258be31
crit: Aspire.Hosting.Dcp.ApplicationExecutor[0]
      Watch task over kubernetes Container resources terminated unexpectedly. Check to ensure dcpd process is running.
      k8s.Autorest.HttpOperationException: Operation returned an invalid status code 'BadGateway', response body

... (too long, please check the attachment)

         at k8s.Kubernetes.SendRequestRaw(String requestContent, HttpRequestMessage httpRequest, CancellationToken cancellationToken)
         at k8s.AbstractKubernetes.ICustomObjectsOperations_ListClusterCustomObjectWithHttpMessagesAsync[T](String group, String version, String plural, Nullable`1 allowWatchBookmarks, String continueParameter, String fieldSelector, String labelSelector, Nullable`1 limit, String resourceVersion, String resourceVersionMatch, Nullable`1 timeoutSeconds, Nullable`1 watch, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
         at k8s.AbstractKubernetes.k8s.ICustomObjectsOperations.ListClusterCustomObjectWithHttpMessagesAsync(String group, String version, String plural, Nullable`1 allowWatchBookmarks, String continueParameter, String fieldSelector, String labelSelector, Nullable`1 limit, String resourceVersion, String resourceVersionMatch, Nullable`1 timeoutSeconds, Nullable`1 watch, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
         at k8s.WatcherExt.<>c__DisplayClass1_0`2.<<MakeStreamReaderCreator>b__0>d.MoveNext()
      --- End of stack trace from previous location ---
         at k8s.Watcher`1.<>c.<CreateWatchEventEnumerator>b__21_1[TR](Task`1 t)
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
         at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 209
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 209
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass32_1`1.<<WatchResourceChanges>b__10>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 285
      --- End of stack trace from previous location ---
         at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass32_1`1.<<WatchResourceChanges>b__10>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 285
      --- End of stack trace from previous location ---
         at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
      --- End of stack trace from previous location ---
         at Polly.Outcome`1.GetResultOrRethrow()
         at Polly.ResiliencePipeline.ExecuteAsync(Func`2 callback, CancellationToken cancellationToken)
         at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass32_0.<<WatchResourceChanges>g__WatchKubernetesResource|3>d`1.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 281

aspire-apphost-template-log.txt

I am experiencing the same issue running any Aspire starter project in my company's VPN environment...
crit: Aspire.Hosting.Dcp.ApplicationExecutor[0]
      Watch task over kubernetes Container resources terminated unexpectedly. Check to ensure dcpd process is running.

Tried to mitigate this by setting DOTNET_SYSTEM_NET_DISABLEIPV6 environment  to true, but that then fails with another error is it seems to be trying to force the use of IPv6 somewhere along the line.
crit: Aspire.Hosting.Dcp.ApplicationExecutor[0]
      Watch task over kubernetes Executable resources terminated unexpectedly. Check to ensure dcpd process is running.
      System.Net.Http.HttpRequestException: The requested name is valid, but no data of the requested type was found. ([::1]:57540)
       ---> System.Net.Sockets.SocketException (11004): The requested name is valid, but no data of the requested type was found.
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ConnectAsync(Socket socket)
         at System.Net.Sockets.Socket.ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
         at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(QueueItem queueItem)
         at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)
         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
         at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecuteFromThreadPool(Thread threadPoolThread)
         at System.Threading.ThreadPoolWorkQueue.Dispatch()
         at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
      --- End of stack trace from previous location ---
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(QueueItem queueItem)
         at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
         at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
         at k8s.Kubernetes.SendRequestRaw(String requestContent, HttpRequestMessage httpRequest, CancellationToken cancellationToken)
         at k8s.AbstractKubernetes.ICustomObjectsOperations_ListClusterCustomObjectWithHttpMessagesAsync[T](String group, String version, String plural, Nullable`1 allowWatchBookmarks, String continueParameter, String fieldSelector, String labelSelector, Nullable`1 limit, String resourceVersion, String resourceVersionMatch, Nullable`1 timeoutSeconds, Nullable`1 watch, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
         at k8s.AbstractKubernetes.k8s.ICustomObjectsOperations.ListClusterCustomObjectWithHttpMessagesAsync(String group, String version, String plural, Nullable`1 allowWatchBookmarks, String continueParameter, String fieldSelector, String labelSelector, Nullable`1 limit, String resourceVersion, String resourceVersionMatch, Nullable`1 timeoutSeconds, Nullable`1 watch, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)
         at k8s.WatcherExt.<>c__DisplayClass1_0`2.<<MakeStreamReaderCreator>b__0>d.MoveNext()
      --- End of stack trace from previous location ---
         at k8s.Watcher`1.<>c.<CreateWatchEventEnumerator>b__21_1[TR](Task`1 t)
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
         at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 209
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 209
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass32_1`1.<<WatchResourceChanges>b__10>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 285
      --- End of stack trace from previous location ---
         at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass32_1`1.<<WatchResourceChanges>b__10>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 285
      --- End of stack trace from previous location ---
         at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
      --- End of stack trace from previous location ---
         at Polly.Outcome`1.GetResultOrRethrow()
         at Polly.ResiliencePipeline.ExecuteAsync(Func`2 callback, CancellationToken cancellationToken)
         at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass32_0.<<WatchResourceChanges>g__WatchKubernetesResource|3>d`1.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 281

@afscrome it is not so much "forcing IPv6", but rather a preference for IPv6 if both IPv6 and IPv4 are available. I am thinking we need a way to turn that preference in the opposite direction.

This is going to be fixed in 8.1 release. We are introducing a new environment variable, DCP_IP_VERSION_PREFERENCE, that determines which version of the IP protocol will be preferred for communicating with DCP and for allocating service ports. The value can be set to IPv4, v4 or 4 (to prefer IP protocol version 4) or IPv6, v6 or 6 (to prefer IP protocol version 6).
The preference determines which type of available IP addresses will be preferred when resolving localhost host name. localhost is the default pseudo-address that programs, containers and DCP itself bind to. If a program or container is using some different host name or address, the DCP_IP_VERSION_PREFERENCE environment variable has no effect--the name will be resolved using default DNS resolver mechanism and the resulting address(es) will be tried.

Tried this new option DCP_IP_VERSION_PREFERENCE with IPv4 value. Unfortunately it did solve the issue. Still, for unknown reason, host tries to go somewhere through a proxy...
dotnet run                                                                                Building... info: Aspire.Hosting.DistributedApplication[0]       Aspire version: 8.0.2+3d0cf817f24298ba37bca94f15bd2f7061856e77 info: Aspire.Hosting.DistributedApplication[0]       Distributed application starting. info: Aspire.Hosting.DistributedApplication[0]       Application host directory is: C:\Temp\aspire\aspire.AppHost info: Aspire.Hosting.DistributedApplication[0]       Now listening on: https://localhost:17277 info: Aspire.Hosting.DistributedApplication[0]       Login to the dashboard at https://localhost:17277/login?t=9639615b7c2b1fac7b588e4b46028ab0 crit: Aspire.Hosting.Dcp.ApplicationExecutor[0]       Watch task over kubernetes Container resources terminated unexpectedly. Check to ensure dcpd process is running.       System.Net.Http.HttpRequestException: The proxy tunnel request to proxy 'http://webproxy.***.net:8080/' failed with status code '403'."          at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(Boolean async, CancellationToken cancellationToken)          at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)          at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(QueueItem queueItem)          at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)`

@ys0d you can verify whether you have the correct DCP version by running dcp version from the command line (you might need to find where that exe lives in the dotnet packs folder). The version that supports DCP_IP_VERSION_PREFERENCE environment variable is 0.5.6 or newer.
That said, I assume you have a system-wide proxy configured for HTTP connections. That is independent from the decision whether "localhost" will translate into IPv4 or IPv6 address. If you do not wish to use the proxy at all, you will have to disable it, at least for your Aspire application run.
Hope this helps!

@ys0d NO_PROXY should work, at least according to https://pkg.go.dev/golang.org/x/net/http/httpproxy, which is what DCP is using under the covers... 🤔
Maybe you can play with different values, specific IP addresses etc. and see if some combination works?

@karolz-ms
I tried this combination and it didn't work.

I found this helped me find what ports were reserved ... moved the launchSettings.json for http and https free ports and my ASPNET Core app within Aspire launched successfully.
netsh interface ipv4 show excludedportrange protocol=tcp


Feedback: Not clear you can click on GSP

Not clear you can click on a GSP and that’s what the space on the left under the National chart is for…

Maybe a placeholder inviting the user to select a GSP to see a forecast?
Could also select a random one
Could remember the last one the user clicked on

Idea could be to have a place hold where the GSP chart is.
"GSP Info - click on a GSP to see more"


feat: An exhaustive list of supported URLs

Hi everyone,
Using a wildcard for deep links is too wide, as it also includes the forum, the wiki…
Instead, I have changed to an exhaustive list (hoping I haven't forgotten any)

Codecov Report

Merging #4072 (ef331c1) into develop (fa570d4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #4072   +/-   ##
========================================
  Coverage    10.94%   10.94%
========================================
  Files          270      270
  Lines        13434    13434
========================================
  Hits          1471     1471
  Misses       11963    11963

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


problem plugin system in godot 3.2 - stable

Acted strictly according to the instructions.
There were no similar problems with the plugins "Share" and "adMob".

There are some changes in the 'export templates' between the 3.2 stable and the last RC. I am rewriting this plug-in from scratch without copy & pasting much from the initial plug-in from Frogsquare.

OK!
Apparently, I also have to rewrite this plugin from scratch, I only need "events" :(
Tell me then. Where can I see how to properly build the structure of the plugin?
The official documentation is very dry and there are no details.
I have to study other people's plugins and watch how they are built.

I created a template which you can take as a basis and take a look at:
https://github.com/mrcrb/godot-android-plugin-template

I've had the same problem, and You can solve it easily.

Add the following two lines at the bottom of the 'android/build/gradle.properties' file

android.useAndroidX=true
android.enableJetifier=true

Modify the part of Firebase.java that accesses the icon.
fix https://github.com/mrcrb/godot-plugin-firebase/pull/8#issue-370001454


Add install instructions

I noticed the install instructions were missing on the Gatsby site here:
https://www.gatsbyjs.org/packages/gatsby-source-trello-board/
and wanted to contribute a fix.

Oh thanks !


Defining the DataCaptionExpression on a page extension causes the deployment failure if the same property is specified on the base page

Describe the bug
When the property DataCaptionExpression is specified on a page, a pageextension object based on this page cannot override the caption. Package is created successfully, but deployment fails
To Reproduce
Steps and to reproduce the behavior:

Create a page extension object for any page that has the property DataCaptionExpression (for example, Acc. Schedule Overview).
Add the DataCaptionExpression property in the page extension.
Compile the package (Ctrl + Shift + B) - success
Deploy the package.
Deployment fails. Error: "The expression name 'DataCaptionExprCode' can only appear once in the page".

pageextension 50101 AccScheduleOverviewExt extends "Acc. Schedule Overview"
{
    DataCaptionExpression = 'My caption';
}

Expected behavior
Data caption expression specified in the page extension should override the value defined on the page.
Screenshots
Debug console output
[2020-06-24 19:03:00.01] Publishing AL application using launch configuration 'Your own server'.
[2020-06-24 19:03:00.30] Targeting server 'http://bc16-gb' and server instance 'BC'.
[2020-06-24 19:03:00.31] Using user name and password authentication. User name used is: '***'.
[2020-06-24 19:03:00.32] Sending request to http://bc16-gb:7049/BC/dev/apps?SchemaUpdateMode=synchronize&DependencyPublishingOption=default
[2020-06-24 19:03:24.10] The request for path /BC/dev/apps?SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: The expression name 'DataCaptionExprCode' can only appear once in the page 'Acc. Schedule Overview'.
5. Versions:

AL Language: 5.0.288712

Business Central: 15.4.41023.41345
Also reproduced on 16.0.11240.12076

ALProject56.zip

I've encountered the same issue on BC17.
Are they planning to solve this ?

We have it in our backlog, but we do not have an ETA at this point. Bugs reported on GitHub are addressed on a best-effort basis. If this is an urgent issue, please open a customer support case.

This issue is resolved starting from
18.6 and onwards
19.1 and onwards
All previous major and minor versions does not have this platform enhancement.

Thank you Duilio.
I just noticed your message. This works now, I will close the issue.


[Journey] System crash when we try to search for a journey.

Environment: Android 9, Asus ROG Phone 2
Reproducible: always
Build found: 1.0.70
Preconditions

Run Car application
Log in your acc

Steps to reproduce

Go to 'Journey'
Click on 'SEARCH FOR A JOURNEY'
Click on "OK" button

Actual result
Application is closed. Error message is shown "Application is crashed"
Expected result
List with journeys should be displayed.
User story and test case links
https://github.com/ita-social-projects/Car-Back-End/issues/13

Closed


Update test-and-lint.yml

I noticed that #879 removed the unit tests from CI but it should actually run. This also pulls apart the steps for lint, test, slow-test so they can run in parallel.

test:slow is additive to test. ie test:slow should be all that is needed (shouldn’t need test:slow plus test)


GetfileClient: Add parameter to specify local filename

Commit adds a parameter that allow to specify the local filename when retrieving a file from the repo. With providing a default parameter, the code stays downwards compatible and the default behaviour when not providing a local_filename stays unchanged.
Also, the parameter overwrite was added, to allow overwriting an existing file in the local file system. With this, a Python error is thrown when trying to overwrite a file.

Thanks :)

The suggestions of @Pesa definitely make sense. I think I'll go for a followup merge request since this one is already merged.


[MB] Add optional --tag input to set tag manually

Related to #1673 .
Allow user to use a specific tag during split command.

Looks good. Could you rebase on master?

Thank you :clap:


Ingest PlotAssert through some public repo

A probable root cause: https://github.com/bintray/gradle-bintray-plugin/issues/229
As a workaround, try filesSpec to copy all files from local Maven repo.

I had to upload the files manually. filesSpec didn't upload any files.


Control event value and event timestamp

Helper methods to enable:
pxsim.control.eventValue and pxsim.control.eventTimestamp
Note: using performance.now() in order to get microsecond precision since start time
@mmoskal please review

Hi @chmora, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Christian Mora). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Offline / Online & Human (activity) / API (operation) [HTTPRange-14²]

Trying to capture some thoughts about Action/Activity/Operation

seeAlso: http://en.wikipedia.org/wiki/HTTPRange-14

Suggestion: Differentiate between "consume" type activities and "use" type activities based on the effect on the resource.  Consumption implies the resource is gone (Eat), usage implies it is still there (View).  Another distinction, usage could imply that nobody else could use it while you are (checking out a book from the library), and we would need a different term for when anyone can use it anytime (most electronic resources).

re: https://lists.w3.org/Archives/Public/public-socialweb/2015May/0019.html
@sandhawke in illustration above i try to draw distinction between Social activities and CRUD API operations, as well as online and IRL activities


Refactor to use common system table and column dropdown

Closes https://github.com/ethyca/fides/issues/879
Code Changes

[x] Bring ColumnDropdown and SystemsCheckboxTable to this repo

Really this should be done via fidesui, but I'm trying to stay unblocked so copied and pasted for now. https://github.com/ethyca/fidesui/pull/27 puts those components in fidesui, but it's awaiting review and some discussion
In theory, we should be able to swap the imports after it goes into fidesui and things should Just Work

[x] Replace old ColumnDropdown component and use the new one (used by DatasetFieldsTable and DatasetCollectionView). These should look and behave the same as before
[x] Refactor ScanResultsForm to use the new SystemsCheckboxTable. This should also look mostly the same as before
[x] Adds column selection to the scan results page
[x] Made some styling changes that became more noticeable when the table was able to change widths (due to choosing fewer columns)

Steps to Confirm

[ ] Turn on the config wizard in flags.json
[ ] Unskip the config wizard tests and go through those, or, if you do have real AWS creds, try those out

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation Updated:

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
Closely related to https://github.com/ethyca/fidesui/pull/27
https://user-images.githubusercontent.com/24641006/198710528-18ffc399-18d0-45b9-9650-d475e811fb06.mov

Failing cypress tests seem to be a problem on main as well 😕


Initial "WithoutWire Inventory Platform" connector creation (with fixes)

When submitting a connector, please check the following conditions for your PR to ensure a smooth certification process.

[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

@ptalrejagithub will share further instructions, Thanks

Hello.
I am writing to clarify the next steps in certification process of the connector.
@.***https://github.com/ptalrejagithub will share further instructions, Thanks
I haven`t receive any share further instructions yet.
Could you send me some information about the further steps, please?
Best Regards,
Pavlo Nikulin
From: Srikanth Yenagandhula @.>
Sent: Wednesday, July 14, 2021 4:36 AM
To: microsoft/PowerPlatformConnectors @.>
Cc: Pavlo Nikulin @.>; Author @.>
Subject: Re: [microsoft/PowerPlatformConnectors] Initial "WithoutWire Inventory Platform" connector creation (with fixes) (#950)
CAUTION: This email originated from outside of Enavate. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@ptalrejagithubhttps://github.com/ptalrejagithub will share further instructions, Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerPlatformConnectors/pull/950#issuecomment-879514496, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU2CLIHS5OFTBHFIZPVYDTDTXTSYTANCNFSM5AJTJI5Q.


no-mimetype option unknown

I would love to use your program, but after following the readme and running the script I get this result. Any idea how to fix this?

Based on the changelog, that flag was added for 1.51.0 on 2020-02-01 so 1.45, doesn't support that flag.
The flag isn't strictly needed in the code but it is good to have since some remotes cost more calls to get mimetype and syncrclone doesn't use it
Since 1.45 is 2 years, 5 months, and 23 days old, I think it is worth upgrading to the newest!
Try that and let me know if it works for you.
Good luck! Also, please let me know what you think of the tool! I am curious how hard it is to set up since it is hard for me to judge how it would be for others

Hey! Thanks for the follow up. Noob question, but since I followed the readme for installation, how to I get newer versions? How do I upgrade? Sorry for not being able to find out on my own ^^'

I should have been more clear. You need to update your version of rclone, not of syncrclone (though it is good to make sure you're also running the latest).
It all depends on how you have it set up but I'd follow the rclone instructions here.
Alternatively, you can download the rclone executable here and then specify where you put the extracted version with the rclone_exe option

Hello,
Here is the result I get now that I have updated rclone :
2021-05-18 20:33:16: syncrclone (20210419.0.BETA)
2021-05-18 20:33:16: config path: 'config.py'
2021-05-18 20:33:16: A: '/home/tome/Test'
2021-05-18 20:33:16: B: 'nextCloud:Test'
2021-05-18 20:33:16: rclone version:
2021-05-18 20:33:16: rclone: rclone v1.55.1
2021-05-18 20:33:16: rclone: - os/type: linux
2021-05-18 20:33:16: rclone: - os/arch: amd64
2021-05-18 20:33:16: rclone: - go/version: go1.16.3
2021-05-18 20:33:16: rclone: - go/linking: static
2021-05-18 20:33:16: rclone: - go/tags: none
2021-05-18 20:33:16:
2021-05-18 20:33:16: Refreshing file list on A '/home/tome/Test'
2021-05-18 20:33:16: 1 files, 0.00 b
2021-05-18 20:33:16: Refreshing file list on B 'nextCloud:Test'
2021-05-18 20:34:57: 0 files, 0.00 b
2021-05-18 20:34:57:
2021-05-18 20:34:57: Setting lock on A
2021-05-18 20:34:57: rclone: INFO  : LOCK_wr6ZwpTvxTs9: Copied (new)
2021-05-18 20:34:57: rclone: INFO  :         17 / 17 Bytes, 100%, 461 Bytes/s, ETA 0s
2021-05-18 20:34:57:
2021-05-18 20:34:57: Setting lock on B
2021-05-18 20:35:57: rclone: INFO  :          0 / 17 Bytes, 0%, 0 Bytes/s, ETA -
2021-05-18 20:36:57: rclone: INFO  :          0 / 17 Bytes, 0%, 0 Bytes/s, ETA -

The program loads for a long time refreshing B, and then loops forever on the last line. Any idea?
(btw I'm doing this hoping your script will allow me to sync 380,000 files totalling 10GB in less than 8 minutes, which is what I get with nextcloudcmd for now, do you think it will be possible?)

hmm.
The simplest thing to do would be to disable locking...but I suspect that'll kick the can down the road since it is likely an issue with writing files to your remote.
Try the following

Disable locking (it's in the config)

Run with --debug and see what you get there (with and without locking)

OUTSIDE of syncrclone, can you check if transfers a single file? Something like:
$ echo "testfile1" > /home/tome/Test/test.txt
$ rclone copyto -v /home/tome/Test/test.txt nextCloud:Test/test1.txt
$ rclone copy -v nextCloud:Test/test1.txt /home/tome/Test/

and then make sure that test.txt and test1.txt are the same?

That last check is really important as it is seeing what is happening and if it working to do the actual copies.
It is possible also that there is a bug in syncrclone with empty remotes but I think that is covered in the test suite.

Even with locking disabled I get the same result. I have no problem transferring files without syncrclone. The --debug mode did not bring more light.

I think we've moved beyond this GitHub issue and should move this to its own issue.
When you do, please post the full debug result with anything sensitive removed.
Also, I think I forgot to answer your other question.
By and large, the slowest part tends to be file listing. So depending on how long that takes, it may or may not match your performance requirements.

Hello,
I don't know if you will get this email. But if you do, I would like to thank you for this amazing tool: I don't know what went wrong last time with NextCloud, but I'm using it with Google Drive this time and it works like a charm. Yay!
Thank you again!
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, May 19th, 2021 at 14:13, Justin Winokur @.***> wrote:

Closed #3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


feat: Add Braze iOS sdk GRO-261

This PR adds the Braze SDK which is required for our integration with them. We're winding down our relationship with Sailthru so in a follow up we'll be able to yank that one out but for now I'm leaving it.
Note: I'm starting off this PR in draft mode because I want to get these keys into Citadel prior to any merge that would cause a runtime error.
https://artsyproduct.atlassian.net/browse/GRO-261
/cc @artsy/grow-devs

Update: I think updating the shared ENV is as easy as:
$ ./scripts/setup-env-for-artsy
# edit the .env.shared file to include new keys
$ aws s3 cp .env.shared s3://artsy-citadel/dev/.env.eigen

So that's what I did - can you confirm or deny that @pvinis or maybe @MounirDhahri?

Yep, and we also add it on 1pass, if you could edit it there as well, that would be nice 🙏.

huh, this worked? I would expect we would need to touch the two segment patches. cool if we can skip that for now, until we move ios analytics to ts.

Ok I have updated 1Password with the latest version of that file, thanks for the confirmation @pvinis!! 🙌
I moved this off draft state and I'm thinking it's ready. One thing I'm not clear about is the CI failure here:
https://app.circleci.com/pipelines/github/artsy/eigen/13605/workflows/296ec1a4-5edb-493f-be8e-b9a655405dc5/jobs/38281
Going to cross my fingers that it's unrelated. 🤷


Set doesn't reset TTL if the key already exists

According to the docs of the Set() method:

If an item associated with the provided key already exists, the new item overwrites the existing one.

However, if I try to set an item that already exists but has an expired TTL and delete all expired, the newly set item also gets deleted:
package main

import (
	"fmt"
	"time"

	"github.com/jellydator/ttlcache/v3"
)

func main() {
	cache := ttlcache.New[string](
		ttlcache.WithTTL[string, string](1 * time.Second),
	)
	cache.Set("foo", "bar", ttlcache.DefaultTTL)
	fmt.Printf("first: %s\n", cache.Keys())

	time.Sleep(2 * time.Second)
	fmt.Printf("after 2s: %s\n", cache.Keys())

	cache.DeleteExpired()
	fmt.Printf("after delete: %s\n", cache.Keys())

	cache.Set("baz", "qux", ttlcache.DefaultTTL)
	fmt.Printf("new: %s\n", cache.Keys())

	time.Sleep(2 * time.Second)
	fmt.Printf("after 2s: %s\n", cache.Keys())

	cache.Set("baz", "qum", ttlcache.DefaultTTL)
	cache.DeleteExpired()
	fmt.Printf("after set and delete: %s\n", cache.Keys())
}

Output:
first: [foo]
after 2s: [foo]
after delete: []
new: [baz]
after 2s: [baz]
after set and delete: []

I would expect the replaced item to have new TTL and not get deleted by DeleteExpired() call.

Thanks for reporting this @vsavicks. We'll try to have it fixed soon.


feat: create initial release infra for npm packages

Summary
Creates the initial release pipelines for triggering npm package publishing.
The basic pipeline is:

Someone with write permission to the repository triggers the draft-release workflow to bump the npm package version and create a Draft Release in GitHub.
When someone later publishes the Release in GitHub, the publish-release workflow will then trigger a publish to NPM for that package.

Test Plan
Unfortuatately this is something that will need to be tested after merging. Someone with admin permissions to this GitHub repo will need to add the NPM_TOKEN secret for an npm auth token that has permission to publish to the newjersey organization in npmjs. Then we can try triggering a draft release and publishing it to create the first package in npmjs.

@namanaman I am not an admin for this repo. I think Dave Cole is

@bodnarbm The NPM_TOKEN secret has been added under the Github Actions settings

The secret has to be added in the context of an environment, however. So I made a new environment github-actions to put it under. Do you need to update the Actions workflow to operate within this environment?

Actually sorry never mind, I realized I can add a secret at the repo-level rather than environment. So you shouldn't need any changes.


 Here's a rough outline of the changes:

77e2cfe, 653f8f2, b7d3931a, c23c7216 mostly move around loop invariants to compress the code.
7d8bd47a reuses local variable to avoid repetition.
3600ad7, 6ccf3af, 81c10d7 replace explicit loops and one Array#map call with Array#some that:

should be just as supported as Array#map but doesn't collect all callback results to an array like Array#map
seems to compress better than Array#forEach

ff67d11a reorganizes createContext extensively, getting rid of local variable and function declarations.

Although there are several modifications that replace explicit loops with Array#some calls the performance seems to stay on the same level with master. I used Chrome 74, MacOS 10.14.4 and https://github.com/mathieuancelin/js-repaint-perfs for testing, so YMMV.
The size impact compared to the master is:

bundle file
master
random-opts
delta

preact.js.gz
3576 B
3526 B
-50 B

preact.js.br
3271 B
3237 B
-34 B

preact.module.js.gz
3595 B
3555 B
-40 B

preact.module.js.br
3277 B
3246 B
-31 B

preact.umd.js.gz
3631 B
3593 B
-38 B

preact.umd.js.br
3315 B
3283 B
-32 B

Coverage remained the same at 100.0% when pulling fa52fc6916687f00401d23c0852eed38f26698ef on jviide:random-opts into dc4ad8db85e55136356baf70bddb72d8937dce72 on developit:master.

Rebased the code on master, removed a couple of commits that used Array#some to replace for-loops (they seemed to bring down the performance a bit). Updated the pull request description accordingly.

Accidentally closed from mobile GitHub. Sorry!


Update style for violations

This is a followup to this PR https://github.com/Expensify/App/pull/32594
We need to update the styles of the violations messages such that they're aligned in the same wat as error messages in form input fields are aligned, and the hoverable styles match those of the input row when the input row has the cursor over it

@lindboe @trevor-coleman can you comment here for assignment please?
cc @Expensify/design

I applied the design label for good measure, but I think you've already specified how things need to look in the linked PR

Hello
I would love to contribute. let me know if there is any issue.
Thanks in advance.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~010843db372089015a

@JaimisMiyani we're working with Infinite Red at the moment to implement these changes for violations

Infinite Red is out til 2024, so I made this weekly for now

Any updates on this one?

Not yet, Trevor and Lizzi from Infinite Red are handling all the front end issue for violations, and they're working on one at a time, and both have one issue assigned at the moment

@cead22 -- I can pick this up now that ReportUtils is pretty much done.

Work in progress

I was pulled for the C+ review. Review is in progress.

@MitchExpensify can you please handle payment to @cubuspl42 for the review? Thanks!

Invited you for payment here, @cubuspl42 https://www.upwork.com/jobs/~015d4a656c0b6fb3d7

Accepted 👍


Add state message for mechanum controller

Requirement for ros-controls/ros2_controllers#512

@bmagyar what do you think that we name this controller *status message instead of state.

@mergifyio backport humble


Use spread syntax for shallow clones

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
Use object spread syntax for creating shallow clones instead of Object.assign().
Refs https://github.com/mdx-js/mdx/issues/2310

I did some Object.assign vs spread benchmarking. I used the following script:
const object = {a: 'a'}
/** @type {unknown[]} */
const results = []
globalThis.results = results

const runCount = 1e6
console.log(runCount, 'runs')

/*********************************************************************************/

console.log()
console.log('Rest last / new key')
console.time('Spread')
for (let i = 0; i < runCount; i++) {
  results.push({[i]: i, ...object})
}

console.timeEnd('Spread')

console.time('Object.assign')
for (let i = 0; i < runCount; i++) {
  results.push(Object.assign({[i]: i}, object))
}

console.timeEnd('Object.assign')

/*********************************************************************************/

console.log()
console.log('Rest first / new key')
console.time('Spread')
for (let i = 0; i < runCount; i++) {
  results.push({...object, [i]: i})
}

console.timeEnd('Spread')

console.time('Object.assign')
for (let i = 0; i < runCount; i++) {
  results.push(Object.assign({}, object, {[i]: i}))
}

console.timeEnd('Object.assign')

/*********************************************************************************/

console.log()
console.log('Rest last / same key')
console.time('Spread')
for (let i = 0; i < runCount; i++) {
  results.push({b: i, ...object})
}

console.timeEnd('Spread')

console.time('Object.assign')
for (let i = 0; i < runCount; i++) {
  results.push(Object.assign({b: i}, object))
}

console.timeEnd('Object.assign')

/*********************************************************************************/

console.log()
console.log('Rest first / same key')
console.time('Spread')
for (let i = 0; i < runCount; i++) {
  results.push({...object, b: i})
}

console.timeEnd('Spread')

console.time('Object.assign')
for (let i = 0; i < runCount; i++) {
  results.push(Object.assign({}, object, {b: i}))
}

console.timeEnd('Object.assign')

/*********************************************************************************/

const objectB = {b: 'b'}
const objectC = {c: 'c'}

console.log()
console.log('Multiple existing')
console.time('Spread')
for (let i = 0; i < runCount; i++) {
  results.push({...object, ...objectB, ...objectC})
}

console.timeEnd('Spread')

console.time('Object.assign')
for (let i = 0; i < runCount; i++) {
  results.push(Object.assign({}, object, objectB, objectC))
}

console.timeEnd('Object.assign')

/*********************************************************************************/

console.log()
console.log('Multiple mixed')
console.time('Spread')
for (let i = 0; i < runCount; i++) {
  results.push({...object, x: 'x', ...objectB, y: 'y', ...objectC})
}

console.timeEnd('Spread')

console.time('Object.assign')
for (let i = 0; i < runCount; i++) {
  results.push(Object.assign({}, object, {x: 'x'}, objectB, {y: 'y'}, objectC))
}

console.timeEnd('Object.assign')

Node.js v19.9.0 results:
1000000 runs

Rest last / new key
Spread: 482.475ms
Object.assign: 522.934ms

Rest first / new key
Spread: 671.708ms
Object.assign: 1.163s

Rest last / same key
Spread: 84.62ms
Object.assign: 99.156ms

Rest first / same key
Spread: 693.221ms
Object.assign: 530.491ms

Multiple existing
Spread: 1.225s
Object.assign: 228.82ms

Multiple mixed
Spread: 2.458s
Object.assign: 319.635ms

Google Chrome 114 produces similar results.
Firefox 114 results:
1000000 runs

Rest last / new key
Spread: 1709ms - timer ended
Object.assign: 1358ms - timer ended

Rest first / new key
Spread: 1441ms - timer ended
Object.assign: 1351ms - timer ended

Rest last / same key
Spread: 440ms - timer ended
Object.assign: 425ms - timer ended

Rest first / same key
Spread: 431ms - timer ended
Object.assign: 475ms - timer ended

Multiple existing
Spread: 737ms - timer ended
Object.assign: 817ms - timer ended

Multiple mixed
Spread: 966ms - timer ended
Object.assign: 1335ms - timer ended

Epiphany 42 (WebKitGTK 2.38.6) results:
1000000 – "runs"

Rest last / new key
Spread: 439.690ms
Object.assign: 484.594ms

Rest first / new key
Spread: 407.073ms
Object.assign: 1254.225ms

Rest last / same key
Spread: 142.528ms
Object.assign: 210.197ms

Rest first / same key
Spread: 164.701ms
Object.assign: 242.098ms

Multiple existing
Spread: 243.933ms
Object.assign: 256.349ms

Multiple mixed
Spread: 336.746ms
Object.assign: 440.411ms

I was surprised by the situations where Object.assign significantly outperforms spread syntax in Node.js. I modified the last benchmark case and reran with Node.js:
console.log()
console.log('Multiple mixed')
console.time('Spread')
for (let i = 0; i < runCount; i++) {
  results.push({x: 'x', ...objectB, y: 'y', ...objectC})
}

console.timeEnd('Spread')

console.time('Object.assign')
for (let i = 0; i < runCount; i++) {
  results.push(Object.assign({x: 'x'}, objectB, {y: 'y'}, objectC))
}

console.timeEnd('Object.assign')

This produces:
Multiple mixed
Spread: 123.48ms
Object.assign: 168.071ms

I think this shows both spread syntax and Object.assign have situations where they perform better. Especially in v8 results are very situational.

Interestingly, Babel’s behavour depends on the useSpread option.
If this is disabled (default), it passes by reference. If enabled, it creates a shallow copy.
Given the following code:
<div {...props} />

Using the following babel.config.js:
module.exports = {
  plugins: [
    [
      '@babel/plugin-transform-react-jsx',
      {useSpread: true}
    ]
  ]
}

Yields:
/*#__PURE__*/React.createElement("div", {
  ...props
});

Using the following babel.config.js:
module.exports = {
  plugins: [
    [
      '@babel/plugin-transform-react-jsx',
      // Default
      {useSpread: false}
    ]
  ]
}

Yields:
/*#__PURE__*/React.createElement("div", props);

SWC always passes by reference for the classic runtime, and a shallow copy for the automatic runtime.

ESBuild always creates a shallow copy, just like TypeScript

I think this shows generally that most tools / situations result in a shallow copy. I also found some discussion on Babel’s implementation in https://github.com/babel/babel/issues/11419.

SWC always passes by reference for the classic runtime, and a shallow copy for the automatic runtime.

Likely, both SWC and I were inspired by Babel, but did not care about the legacy of “useSpread” or other weird options.

Interesting thread! It makes sense that frameworks want a mutable copy that they own, shallowly. But as it isn’t like that yet, no framework can assume that, so it’s rather useless now.

How do you assess the risk of potentially breaking someone? I agree it’s a tiny chance.

released, thanks! :)


Fix LayerOnMicaAltFillColorTransparentBrush in mica.md

LayerOnMicaAltFillColorDefaultBrush doesn't exist, it's ...MicaBaseAlt...
Fixes #4050

@Karl-Bridge-Microsoft


modify DefinitionGeneratorTest to in fact test generated output instead of just writing it to System.out

Currently the only thing that the test is testing is that exception is not thrown.
It should also test, that generated output equals to what is expected.

I'll solve it and send the PR


Transfer ownership of django-autoslug

Details

Read the Docs project URL: https://readthedocs.org/projects/django-autoslug/
Read the Docs username: jm

Background
After announcing he no longer had adequate time to maintain the project, @neithere kindly transferred ownership of django-autoslug to me. When I realized I needed access to other accounts (e.g., PyPI, ReadTheDocs) in order to issue new releases, I reached out several times to @neithere but did not receive a response. Knowing that he is busy and simply doesn't have time to reply, I then filed an issue on the PyPI repo, and the administrators helpfully transferred ownership of the PyPI account shortly thereafter.
Request
Having fully read the associated policy, would you please assist me with this and transfer ownership of this project?

I will take care of this in the following days.

Hi @justinmayer, considering the whole background that you linked here, I think there is no need to try to contact @neithere again and wait for 6 weeks. I will add you as mantainer of the django-autoslug project on Read the Docs.
You should be maintainer of the project under Read the Docs now.
Let me know if it works and feel free to re-open the issue if you consider.


Database section in Docs needs updating

Feature Suggestion

The docs section on databases states Lighthouse supports PostgreSQL, but that the catalog is only SqlLite based.  I believe that's no longer accurate? There are two issues referenced, both of which are now closed, and looks like a ton of great work to enhance the database connectivity. My understanding is the system as a whole now supports BOTH PostgreSQL and Sqlite3 for the main app?
https://backstage.io/docs/overview/architecture-overview#databases
I'm doing database setup myself right now, so was just walking through this section and trying to understand it more, but I'm not knowledgeable enough yet to update this chapter so thought I'd point it out in case someone who is might be able to take a stab!!

Possible Implementation

Removal of the links to closed issues (possible replacement to others if there are open ones?)
Statement that the system now supports PostgreSQL I believe?

Context

May or may not relate to https://github.com/spotify/backstage/issues/1169

Thanks for reporting! Made https://github.com/backstage/backstage/pull/3250 with updated wording.


Chore: Resolve vulnerability

Resolves follow-redirects vulnerability

Was there a partner change in the package.json file for this change to package-lock.json?

Was there a partner change in the package.json file for this change to package-lock.json?

no, there wasn't.. the audit can change package-lock without necessarily making changes to package.json

Was there a partner change in the package.json file for this change to package-lock.json?

no, there wasn't.. the audit can make changes to package-lock without necessarily updating to package.json

👍 thanks @mwejuli-ch .


how native-file-drag-drop

https://www.electronjs.org/docs/tutorial/native-file-drag-drop

yep it is on the list #33 :)
not supported in glfw so it requires some OS-specific work for each platform :(


Link color issue when cell is selected

The message is simple:
<JSQMessage: senderId=311756, senderDisplayName=jion171, date=2016-11-05 13:23:00 +0000, isMediaMessage=0, text=双11购物狂欢节1111元红包，分享给你 http://s.click.taobao.com/XWLILQx
---------------------------------------------------------------------------
http://i.huim.com/contents/14771515867258.jpg!290x290.jpg, media=(null)>

I set the link attributes
    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        let cell = super.collectionView(collectionView, cellForItemAt: indexPath)
        if let messageCell = cell as? JSQMessagesCollectionViewCell {
            switch viewModel.messageType(at: indexPath.row) {
            case .incoming:
                messageCell.textView.textColor = .white
            case .outgoing:
                messageCell.textView.textColor = .black
            }
            messageCell.textView.linkTextAttributes = [
                NSForegroundColorAttributeName: messageCell.textView.textColor ?? .white,
                NSUnderlineStyleAttributeName: NSUnderlineStyle.styleSingle.rawValue | NSUnderlineStyle.patternSolid.rawValue
            ]
        }

        return cell
    }

It works well in normal state:

But when I long pressed the cell and the action menu came out, the link color becomes black.
How to change that black color to white?

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


Signup Modal (m-id=) not loading correctly on Articles #QA

Related to https://github.com/artsy/microgravity/issues/80
We're launching a campaign to promote the End of Year feature using the m-id modal. About half of the ads link to the articles within the feature e.g.:
https://www.artsy.net/article/artsy-editorial-the-most-influential-living-artists-of-2016?m-id=eoy-2016
https://www.artsy.net/article/artsy-editorial-17-emerging-artists-to-watch-in-2017?m-id=eoy-2016
https://www.artsy.net/article/artsy-editorial-the-most-influential-curators-of-2016?m-id=eoy-2016
https://www.artsy.net/article/artsy-editorial-the-top-emerging-artists-of-2016?m-id=eoy-2016
The modal isn't rendering as expected on article pages.
Should look like this -

On /article pages looks like this -

It's basically rendering as full-screen instead of 900x562. This is also causing the position of the X to be off.
Also, it looks like the modal image is on http which is causing a security notice ("The site includes HTTP resources.")
This is part of the overall QA for these modals. Additional QA items to follow.
cc @tayapage6 @anipetrov @alloy @craigspaeth @mdole

@kanaabe looks like there are some overrides on the modalize container. Are those still needed?

@broskoski hm i wonder if it's for images sets. do you have a link to where you were seeing that?

https://www.artsy.net/article/artsy-editorial-the-most-influential-living-artists-of-2016?m-id=eoy-2016 (make sure you aren't logged in)

thanks! yeah we'd have to rework this or article pages to support both. unfortunately the overrides are necessary for image sets atm so removing isn't an option. image set overrides are here.

it looks like just this needs to be unset
  .modalize-backdrop
    background-color white

kinda tricky since the modal doesn't know what content it has. is there a body class we could add if it's a signup modal? lmk if it's not possible and i can try to find a solution from the image set side.


WriteChannel for GCS doesn't read response body, leaks connections

Environment details

OS: linux / centos7
Java version: 1.9
google-cloud-java version(s):

com.google.cloud:google-cloud-storage:1.52.0
com.google.cloud:google-cloud-core-http:1.52.0
org.apache.httpcomponents:httpclient:4.5.5

Steps to reproduce
At a high level we're trying to upload 100s of objects to GCS ~quickly. We want to do this using an Apache HTTP client because we need to use a custom resolver. That said, I think this is broken on both Apache and other http clients, it just may not manifest itself the same way.

Use a custom transport factory builder in order to use Apache HTTP Client
Allocate a PoolingHttpClientConnectionManager in your transport, set the pool size to 1
Instantiate the Storage service using this transport factory
Allocate a write channel
Write to it
Close it
Allocate another write channel
Try to write to it.

Under the hood the client will try to find an available connection from the pool and fail. It thinks the one we used earlier is still in use.
If you run ss or netstat on the machine at this point you can see an established connection to GCS with ~165 bytes sitting in the socket's receive buffer.
The reason is that we don't read the body of the response. See here:
https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java#L685
The response in both success and exception cases is discarded without ever reading or closing the response.
HttpRequest's execute() method pretty clearly states we need to do something with the response:
https://developers.google.com/api-client-library/java/google-http-java-client/reference/1.20.0/com/google/api/client/http/HttpRequest#execute()

Hi,
IIUC, the client should be clearing out the bytes in the body after the request is made to stop leaking bytes. Is this correct?

That's right. If you do response.getContent() and then at least close the
returned InputStream the bad behavior goes away.
In my hokey patch that I have locally I also call readallbytes on the input
stream and that may be required to fully and reliably drain the socket on
both the receiver and the sender?
On Tue, Nov 27, 2018, 5:38 PM Frank Natividad<EMAIL_ADDRESS>wrote:

Hi,
IIUC, the client should be clearing out the bytes in the body after the
request is made to stop leaking bytes. Is this correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/google-cloud-java/issues/4107#issuecomment-442260377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmwfyL7WKIzZ8ALFzhM0rs9fjP0YRVlks5uzczdgaJpZM4Y2RAw
.

Thanks @bobveznat! Could you also share the code that you are able to reproduce with?

Okay, I think I was able to reproduce a similar issue. When the body of the response isn't closed e.g. response.getContent().close();, the subsequent request hangs. I see 747 in Recv-Q when using netstat on a hung test.
After closing the request contents my example code completes successfully without hanging.
I tried the following code:
public static class CustomHttpTransportFactory implements HttpTransportFactory {

    private static final HttpTransportFactory INSTANCE = new CustomHttpTransportFactory();

    @Override
    public HttpTransport create() {
      PoolingHttpClientConnectionManager manager = new PoolingHttpClientConnectionManager();
      manager.setMaxTotal(1);
      return new ApacheHttpTransport(HttpClients.createMinimal(manager));
    }
  }

public void connectionPooling(String bucketName, String blobName) throws StorageException, IOException {
    TransportOptions transportOptions = HttpTransportOptions.newBuilder().setHttpTransportFactory(new CustomHttpTransportFactory()).build();
    Storage storage = StorageOptions.newBuilder().setTransportOptions(transportOptions).build().getService();
    // First try
    WriteChannel writeChannel = storage.writer(BlobInfo.newBuilder("bucket-name", "testobject").build());
    ByteBuffer byteBuffer = ByteBuffer.wrap("hello world".getBytes());
    writeChannel.write(byteBuffer);
    writeChannel.close();
    // Second try (The following will hang out!)
    writeChannel = storage.writer(BlobInfo.newBuilder("bucket-name", "testobject").build());
    byteBuffer = ByteBuffer.wrap("hello world".getBytes());
    writeChannel.write(byteBuffer);
    writeChannel.close();
  }

The fix for my reproduction was to close the response at HttpStorageRpc#685, using the following:
Update to:
HttpResponse response = httpRequest.execute();
code = response.getStatusCode();
message = response.getStatusMessage();
response.getContent().close();

@bobveznat can you confirm if this is what you're seeing?

Yes, that's very, very similar to what we do. Thank you for such a quick turnaround here.

The fix is working for us. I upgraded to the 1.55 version on maven and pulled out my hack and I'm happy to report that I don't see sockets hanging out with data in the receive buffer anymore. Thank you!

Thanks for the update @bobveznat!


”Craidorolț”, ”Crișeni”, ”Eriu-Sâncrai”, ”Satu Mic”, ”Țeghea” are listed in the drop-down menu

Description:
When user writes ”Craidorolț”, ”Crișeni”, ”Eriu-Sâncrai”, ”Satu Mic”, ”Țeghea” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Craidorolț"

Expected results
The location appears in the drop-down menu as "Sat Craidorolț, SATU MARE (Craidorolț)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Crișeni"

Expected results
The location appears in the drop-down menu as "Sat Crișeni, SATU MARE (Craidorolț)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Țeghea"

Expected results
The location appears in the drop-down menu as "Sat Țeghea, SATU MARE (Craidorolț)".


docs: add a new team member :)

So you watched the JS Party live stream! 🎉

So you watched the JS Party live stream! 🎉

Yes, I was watching the video on youtube 3 hours later, too busy at work ;)...


Package name

This is not an issue, but I was just wondering.
It seems to have become a convention to name "official" nuxt packages @nuxtjs/{{package}} ie:
@nuxtjs/auth, @nuxtjs/pwa, @nuxtjs/router-extras, .. almost all of them.
Is there a particular reason why you didn't follow this "convention"?

Hi @sebmor
The reason is that this module was written for our company-specific needs at first and was then moved into the nuxt-community.
Do you have any comments on this issue @pi0 ?

Hey @farzadso , i'm gonna see with Nuxt team if it's relevant to make it @nuxtjs, IMO it is but just need aprovement of other core team members.
Could you provide me npm permissions so I can publish 0.3.0 with TypeScript type definitions ?

@kevinmarrec Done Kevin. Any chance I could see the changes before we publish them?

@farzadso You can check my last commits, sorry I should have make PR 🤦. I can rollback if needeed, give me your green light and I'll only publish if everything is ok 👍

@kevinmarrec It's all good. Thanks for adding the TS defs. ❇

New release published as @nuxtjs/universal-storage


Installation Error dlstreamer - Vaapi

error: can't connect to X server!
libva info: VA-API version 1.4.1
libva info: va_getDriverName() returns -1
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
libva info: va_openDriver() returns 18
vaInitialize failed with error code 18 (invalid parameter),exit

Can you provide your environment, please? On which hardware, using which operating system?
The errors you see can mean you don't have an Intel GPU (and/or no i915 Intel GPU kernel module loaded, and/or a very new or very old Intel GPU).
Can you provide the output of
$> lspci | grep VGA
This should show whether you have an Intel GPU and which type.

I am using two different machine on one machine I have this as my graphics - lspci | grep VGA
03:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
and on the other machine I also have this - 00:02.0 VGA compatible controller: VMware SVGA II Adapter
Is this that reason for the error and why vaapi isnt installed properly on both machines.

Hi @ntackie,
From your output, are you using the third party graphic(ASPEED) but not Intel graphic?
@brmarkus is right, i915 will only be enabled when your platform has Intel integrated graphic. If you are sure you have the Intel platform, could you give us the hardware spec?
Mark Liu

Hi @mliu2020 @brmarkus
The system doesnt have an intel gpu is there a work around with it

Hi @ntackie,
You can use CPU only options in the GST pipeline command.
Mark Liu

Hmm, I haven't "googled" your type of GPU. Maybe the manufacturer is supporting Linux and supporting libva.
You could treat the "libva" C-header-file and libraries as the "front end" and the "DRI media-driver" as the "backend".
Under Linux, you usually can see multiple different DRI backend implementations - from different GPU-manufacturers, like, on my machine:
$ ls /usr/lib/x86_64-linux-gnu/dri/
i915_dri.so  i965_drv_video.so  kms_swrast_dri.so  nouveau_drv_video.so  r200_dri.so  r600_dri.so        radeon_dri.so    radeonsi_drv_video.so  virtio_gpu_dri.so
i965_dri.so  iris_dri.so        nouveau_dri.so     nouveau_vieux_dri.so  r300_dri.so  r600_drv_video.so  radeonsi_dri.so  swrast_dri.so          vmwgfx_dri.so

There are DRI backend media-drivers from/for Intel, NVidia, AMD...
If you find such a DRI backend media-driver from "ASPEED Technology, Inc. ASPEED Graphics Family" then you can specify it via ENV variables like this:
export LIBVA_DRIVERS_PATH=<path to a folder containing the DRI driver>
export LIBVA_DRIVER_NAME=<name of the driver module>


librep: fix darwin build

Description of changes
Functions coming from ctype.h get inlines, but are not static when compiling this with clang. This causes duplicates when linking. Force an older gnu standard to prevent the issue.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 222880 run on aarch64-darwin 1

2 packages failed to build:

rep-gtk
sawfish

1 package built:

librep


shasum check failed error

I'm getting a checksum error when running npm install ink-docstrap:
npm ERR! shasum check failed for /var/folders/6z/mshwqwbj5p19nbg4gk6p53740000gn/T/npm-9342-40df1b91/registry.npmjs.org/ink-docstrap/-/ink-docstrap-0.5.2.tgz
npm ERR! Expected: 34b87372e75fc4e27851de452e497043397e8120
npm ERR! Actual:   13e3cbb20c87e1f3cfc3f18f55ec78113e85a4ad
npm ERR! From:     https://registry.npmjs.org/ink-docstrap/-/ink-docstrap-0.5.2.tgz

Any idea what that's about?

Hmm, never mind it works now.


add publishing to npm

Coverage remained the same at 100.0% when pulling e086a32ea6478913a74dc7829111e0da07e1bcf2 on add_npm_publish into 268cb5f957ff758970dfb96ac98dee8a0219e825 on master.


Audit Health hash mismatch of etc/rc.suspend

Updated from 20.7.4 to 20.7.5 on 2020-11-29.
Did not reboot.
Ran Audit Health. Hash mismatch detected for etc/rc.suspend.
Rebooted and ran Audit Health again. Same results.

This issue may have existed prior to the update as the last time I recall running Audit Health was on Keen Kingfisher.

***GOT REQUEST TO AUDIT HEALTH***
>>> Check installed kernel version
Version 20.7.4 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 20.7.4 is correct.
>>> Check for missing or altered base files
Error 2 ocurred.
etc/rc.suspend:
	sha256digest (0xe47dad5813a5ee5ca1672fbaf3599642e0bb85a9d7722dce3efa8a651819d9e1, 0xb7c1e469f3b8a390b19ee64eb7676055ab7bd192d639018a3cfa022e961a214c)
>>> Check for and install missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Checking core packages: .................................................................... done
***DONE***

System:
OPNsense 20.7.5-amd64
FreeBSD 12.1-RELEASE-p10-HBSD
OpenSSL 1.1.1h  22 Sep 2020
Intel(R) Celeron(R) CPU  J3160  @ 1.60GHz (4 cores)

looks normal on my end, probably a manual change in /etc/rc.suspend on the box
***GOT REQUEST TO AUDIT HEALTH***
>>> Check installed kernel version
Version 20.7.4 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 20.7.4 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check for and install missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Checking core packages: ...............
Checking core packages: ................................................
Checking core packages: ..... done
***DONE***

You can just reinstall the base package set to bring it back to normal although maybe you want to keep a copy of rc.suspend to see what was changed...


hide s3tokens under lifesaver middleware

I have tested this in qa-de-3 and it works. However, it might be good to cover /ec2tokens API with this code as well, because it might also flood us. Let me do it...


importproperties via cmd line not working

Running the importproperties method works when the script is executed in tabular editor. however, the same script with importproperties fails when run via the cmd line. it gives this error:
Object reference not set to an instance of an object.

Do you mind posting the exact script you're using and the command line syntax?

Try this build
TabularEditor.Portable.zip

Hi Daniel,
It didn’t fail but it didn’t apply the changes from the .cs script. Attached is the resulting .bim file. It should have added a data source.
Thanks,
Michael
From: Daniel Otykier<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 3:53 PM
To: otykier/TabularEditor<EMAIL_ADDRESS>Cc: Michael Kovalsky<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [otykier/TabularEditor] importproperties via cmd line not working (#478)
Try this build
TabularEditor.Portable.ziphttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fotykier%2FTabularEditor%2Ffiles%2F4695608%2FTabularEditor.Portable.zip&data=02|01|mikova%40microsoft.com|cffa54302c094a6df71408d803061880|72f988bf86f141af91ab2d7cd011db47|1|0|637262672006419364&sdata=8WPNx5Fn6%2B4ahmn1jA4U43nSU9HFWoid5VfEEbmCNRk%3D&reserved=0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fotykier%2FTabularEditor%2Fissues%2F478%23issuecomment-635331242&data=02|01|mikova%40microsoft.com|cffa54302c094a6df71408d803061880|72f988bf86f141af91ab2d7cd011db47|1|0|637262672006419364&sdata=BMKz80mdLsma81OhEv8iT25vm6EDEK%2BupX3G5Tkildk%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHBQBNSJRJZTPPHEBVKU4ETRTZND5ANCNFSM4NM4OZGQ&data=02|01|mikova%40microsoft.com|cffa54302c094a6df71408d803061880|72f988bf86f141af91ab2d7cd011db47|1|0|637262672006419364&sdata=yAeNcedex5Tpn%2B9B%2Bl%2FsfvOSe2ZdfMbRd64ytCN4tA4%3D&reserved=0.

Issue with ImportProperties is fixed in 2.10.0. Feel free to reach out if you still need assistance in getting the script to work.

tested 2.10.0 and it works. Thanks so much Daniel!


add the compiler info

update the c/c++ compiler requirement

added implementation of Advanced Vector Extensions for x86 architectures

tytyttyty


support ffi_type_pointer in ffi.md

@dwightguth you may consider giving these ffi.md klabels that are prefixed with ffi_ so that we aren't polluting the klabel namespace too much.


karmor uninstall does not uninstall kubearmor-annotation-manager

kubearmor-annotation-manager was added as part of v0.5 release of kubearmor.
CC: @achrefbensaad

Looks like i was not using the latest version of karmor. Sorry for this. Closing the issue.


add lock as a supported domain

Description:
Add a new domain to Emulated Hue
**Related issue (if applicable): N/A
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
emulated_hue:
  type: google_home
  host_ip: <IP_ADDRESS>
  listen_port: 80
  exposed_domains:
    - light
    - fan
    - lock

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @kylerw,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Please add a test.

@balloob apologies for the ignorance. This is my first PR. It appears that tests for this need to go into /tests/components/emulated_hue/test_hue_api.py, is that correct?
looks like I should:

import lock
update hass_hue() to include run_until_complete() for lock
update test_discover_lights() to assert a lock is in devices
create test_put_light_state_lock()

Is this the right approach?

Yep 👍

@kylerw any updates on this PR?

No update. Been traveling for work and unable to add a test.

You can reopen it after you add a test 👍


Please invite me to the community

Name
Paula
Discord Username (if applicable)
No response
Additional Context
Hi! My name is Paula, and I'm from the Philippines! I'd like to join because I'm passionate about open source. I am also an admin for @OSSPhilippines, an organization dedicated to promoting the open-source community in the Philippines on a global scale.

We will add u soon, we are just fixing + rebrand something in our GitHub org. and Discord right now :)


As a user, I want to list all the contents in a deck of cards.

So that I can review all the contents in one glance.

Completed.


Make overloading a link when omitting link keyword work

AlterUnknownPointer works by converting the AST node into an operation
on the relevant concrete pointer sort. It always converted into an
Alter, though, which meant that the overload case, where
AlterObject._cmd_tree_from_ast is called with a Create node, didn't
work right.
Fixes #6716.

@msullivan Any chance that your PR will fix this too?
https://github.com/edgedb/edgedb/issues/6716#issuecomment-1902465583


Adding to examples: Notion task github pr sync

Adding to examples - Comment on Notion task when related PR has been merged/closed

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

@kiranpandit - should be good to merge.


Use Python 3.7, and Django 3

Whitenoise 5.0 is required because Whitenoise 4 would attempt to import
django.utils.six, which was present in Django 2 but was removed from
Django 3.
References https://github.com/gtalarico/django-vue-template/issues/45

Works just fine with Python 3.8, too.


Fix/actions row break

Related Issue
#94
Description
simply applied flex style to the ref wrapper, and removed the old flex box;
also eliminated some redundant code in m-table-body
Impacted Areas in Application
MTableActions
MTableEditRow
m-table-body-row
m-table-body
Additional Notes
also enabled two demo components

@oze4 Would you mind merging and publishing this fix? Would like to restore the horizontal toolbar rendering.
🙇

Merged. If you don't see a new version by tomorrow afternoon please remind me. I'm not able to publish right now.
I apologize, I must have missed this request.

Thanks @oze4
In order to avoid the single-person bottleneck of the original material-table project, I hope that you'll add collaborators who can merge, as well as npm collaborators who can help publish.

ping @oze4

Hey I apologize. I wound up rescuing a dog spur of the moment and just got him out of the vet. I'll be by my computer in about an hour and will knock this out then.
I also think we need more ppl with access to push/publish.  I would want @Domino987 input first. With that being said we don't want to give access to the wrong people so I'm not sure how I feel about it.
If anyone is interested please let us know!

In order to avoid the single-person bottleneck of the original material-table project, I hope that you'll add collaborators who can merge, as well as npm collaborators who can help publish.

@peacechen I must have overlooked that. Technically there are two of us but your point is still valid. You interested?

I'd be happy to help out. My github username is peacechen, and my npm username is simply peace

ping @oze4

Hi sorry i am quite busy right now so it would be great to have more people on board. I think 4 would be a good number of people and I think we should have some kind of metric to choose. Maybe 4-5 commits to the repo to show some.kind of dedication? But I am open to suggestions. And as previous, requiring an approve from one other of the maintainers before merge?

@Domino987 I like that idea.

@peacechen v2.3.27 has been published.

Thanks @oze4 🎉
Since merges require an approver, it would be better to have more collaborators because that means 2 people are required to merge. That doubles the chances of people's schedules blocking merges. 4 collaborators essentially becomes the equivalent of 2 people.

I'm sure that's something we can change. Like you say, otherwise it kind of defeats the purpose.


vision API runs all features unless one is set to true

I noticed a behaviour that the features I don't need don't get deselected unless one of them is set to true:
[28] pry(main)> annotations = vision.annotate photo, faces: false, logos: false, text: false, safe_search: false
=> #<Gcloud::Vision::Annotation (faces: 1, landmarks: 0, logos: 0, labels: 5, text: true, safe_search: true, properties: true)>
[29] pry(main)> annotations = vision.annotate photo, faces: false, labels: true, logos: false, text: false, safe_search: false
=> #<Gcloud::Vision::Annotation (faces: 0, landmarks: 0, logos: 0, labels: 5, text: false, safe_search: false, properties: false)>

I think this is on purpose -- the idea being if you call annotate, you want all annotations. Unless you specify certain annotations (ie, faces only). Otherwise you're trying to annotate an image with no annotations, which is a no-op.. right?
Or are we missing an important point ?

@jgeewax Thanks for looking into this!
The important point here is that I called annotation with faces: false but it still made the request and, ofc., billed me for it. IMO this should not be so. I fully accept I may be missing something here too.

Hi @Temikus, thanks for using gcloud-ruby and opening this issue!
The behavior of Gcloud::Vision::Project#annotate is to run all features unless one or more are selected. The documentation states:

If no options for features are provided, all image detection features will be performed, with a default of 10 results for faces, landmarks, logos, and labels. If any feature option is provided, only the specified feature detections will be performed. Please review Pricing before use, as a separate charge is incurred for each feature performed on an image.

(The count in the docs is wrong. The default is actually 100. We will get that corrected.)
So your first example of:
annotations = vision.annotate photo, faces: false, logos: false, text: false, safe_search: false

sends the following JSON to the API to request all features:
[
  {
    "image": { "content": "..." },
    "features": [
      { "type": "FACE_DETECTION", "maxResults": 100 },
      { "type": "LANDMARK_DETECTION", "maxResults": 100 },
      { "type": "LOGO_DETECTION", "maxResults": 100 },
      { "type": "LABEL_DETECTION", "maxResults": 100 },
      { "type": "TEXT_DETECTION", "maxResults": 1 },
      { "type": "SAFE_SEARCH_DETECTION", "maxResults": 1},
      { "type": "IMAGE_PROPERTIES", "maxResults": 1 }
    ],
    "imageContext": null
  }
]

Your second example specifies the labels feature:
annotations = vision.annotate photo, faces: false, labels: true, logos: false, text: false, safe_search: false

and as such only the label feature is sent to the API:
[
  {
    "image": { "content": "..." },
    "features": [
      { "type": "LABEL_DETECTION", "maxResults": 100 }
    ],
    "imageContext": null
  }
]

So with this request you specified faces: false and that feature was not requested of the Vision API. Therefore you should not have been billed for it. I've run many, many combinations of arguments on #annotate and I can't make it send the feature to the Vision API (which is where the billing happens). I don't know how you were billed for a feature you did not specify. Can you verify you are being billed in this circumstance?

I think part of the confusion here may be how the annotation object is shown when inspected. An empty annotation lists all of the features, even though the annotation object doesn't contain any of them:
#<Gcloud::Vision::Annotation (faces: 0, landmarks: 0, logos: 0, labels: 0, text: false, safe_search: false, properties: false)>

Unfortunately this representation of the object doesn't show what was requested, only the data available. We could change this representation so it only shows the features that have data:
vision.annotate photo # run all features
=> #<Gcloud::Vision::Annotation (faces: 1, labels: 5, text: true, safe_search: true, properties: true)>
vision.annotate photo, labels: true
=> #<Gcloud::Vision::Annotation (labels: 5)>

@blowmage Thanks for looking into this.
I've re-read the docs and it seems that I made a logical error, assuming that the arguments work both ways, not only as inclusive arguments, but as exclusive (false) as well.
I think I may not be the only one to run into this issue, however, looking through the code, I do not see a more elegant way to do it either, so I you can close this as WAI.

Documentation updated in #749.

@blowmage Can we close this?

Looks like it.


Provide cfg option to disable use of cc.

In the Chromium build system, we automatically convert Cargo.toml rules into rules for our build system, gn. We also run build.rs files as part of the Chromium build (because it turns out that the vast majority of them just set some feature flags for feature detection).
The build.rs for cxx does more sophisticated things - including building C++ code using cc. That's appropriate in a cargo context, but presents difficulty for our build system where C++ must be built using static build rules beyond the realm of cargo. At the moment we carry a patch for this, but it would be great not to have to do so.
This patch would enable us to use the Cargo.toml and build.rs for cxx without change. It's only one out of four patches we currently carry for cxx, but it would be great to get rid of it! Obviously this may seem like a bit of a niche use-case, but hopefully this helps anyone else who builds cxx using non-Cargo build systems, but reusing the Cargo.toml and build.rs.
The intention is that this change is a no-op except for folks who disable default features.

Thanks. Option 2 sounds especially encouraging, I will take a look. I'll close this for now.