Test Explorer fails to show tests. Tests output: "The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)"

Description
I cloned a private Git repo on my local machine. The solution comprises of several projects all targeting .NET 4.6.2. I built the solution which pulled-in some NuGet packages, including MSTest.TestAdapter, 1.1.18 and MSTest.TestFramework, 1.1.18. There is a test project in the solution with several [TestClass]/[TestMethod] tests. The solution builds successfully, however the Test Explorer window is empty. On a coworker's machine running VS2015 the Test Explorer is populated correctly.
In the Output window's Test output I see the following:

------ Discover test started ------
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
========== Discover test finished: 0 found (0:00:00.1886778) ==========

Steps to reproduce
I have no specific reproduction steps - it happened spontaneously on my machine. Restarting VS, cleaning the project output and TestResults directory, and closing+reopening the Test Explorer window has no effect.
Expected behavior
The tests in the project should appear in Test Explorer.
Actual behavior
No tests appear in Test Explorer, and an error message in the Output window.
Environment

Please share additional details about the test environment.
Operating system, Build version of vstest.console, Package version of MSTest
framework and adapter

Windows 10 x64 Enterprise, Creators Update
Visual Studio 2017 Enterprise, 15.2
MSTest package version 1.1.18
Projects targeting .NET 4.6.2
I have two copies of vstest.console installed:

C:\Program Files (x86)\Microsoft Visual Studio 15.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe - 15.0.26228.0 - 142KB
C:\Program Files (x86)\Microsoft Visual Studio 15.0\Common7\IDE\Extensions\TestPlatform\vstest.console.exe - <IP_ADDRESS> - 117KB

@jehoel: Sorry you are running into this. Few queries:

Are the test projects targeting x64 architecture? If yes, is Test -> Test Settings -> Default Process Architecture set to x64?
Can you set a system wide environment variable VS_UTE_Diagnostics to 1, restart VS and run through the scenario again please? This will output diagnostic logs in Output -> Tests pane in VS. Please do share that.

All projects are configured to build for AnyCPU. The "Prefer 32-bit" checkbox is greyed out.
1.1. I changed "Default process architecture" to "x64" to see what would happen, and after building I see this in the Test Output window:
 ------ Discover test started ------
 Test run will use DLL(s) built for framework Framework45 and platform X64. Following DLL(s) will not be part of run:
 MyAssembly.exe is built for Framework Framework45 and Platform X86.
  Go to http://go.microsoft.com/fwlink/?LinkID=236877&clcid=0x409 for more details on managing these settings.
 The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
 ========== Discover test finished: 0 found (0:00:00.2255871) ==========

(MyAssembly.exe is a 4.6.2 AnyCPU project that does have "Prefer 32-bit" checked)
(Interesting that it says Framework45 instead of Framework461, or is that irrelevant?)

I opened the VS2017 command-prompt and did this:
 **********************************************************************
 ** Visual Studio 2017 Developer Command Prompt v15.0.26430.16
 ** Copyright (c) 2017 Microsoft Corporation
 **********************************************************************
 C:\Program Files (x86)\Microsoft Visual Studio 15.0>SET VS_UTE_Diagnostics=1
 C:\Program Files (x86)\Microsoft Visual Studio 15.0>devenv

When VS opened and I rebuilt the solution, there was no additional output in the Test Output window, only the same message as before:
 ------ Discover test started ------
 The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
 ========== Discover test finished: 0 found (0:00:00.19589) ==========

Thanks @Jehoel.

Yes, Framework45 is irrelevant.
You would need to set it for all applications, run

setx VS_UTE_Diagnostics 1

Looking at your issue again and the fact that this is working in VS2015, I suspect this could be because of a missing assembly(possibly in GAC in VS2015). Could you please turn on fusion logs and look for any assembly load failures? Here is how you could turn them on. You could zip the logs and share them over here as well.

I now see more output in the Test window, it contains data I'd rather not publish publicly - can I message you on Skype-for-Business?
Here's the tail end of the file that seems the most relevant - no obvious errors though:
PowerShellTestContainerDiscoverer:OnTestContainersChanged - FindPs1Files
test container discoverer executor://powershelltestexecutor/v1, discovered 0 containers
No containers found from 'PowerShellTools.TestAdapter.PowerShellTestContainerDiscoverer' :
test container discoverer executor://nodejstestexecutor/v1, discovered 0 containers
No containers found from 'Microsoft.NodejsTools.TestAdapter.TestContainerDiscoverer' :
test container discoverer executor://orderedtestadapter/v1, discovered 0 containers
No containers found from 'Microsoft.VisualStudio.MSTest.TestWindow.OrderedTestContainerDiscoverer' :
test container discoverer executor://generictestadapter/v1, discovered 0 containers
No containers found from 'Microsoft.VisualStudio.MSTest.TestWindow.GenericTestContainerDiscoverer' :
test container discoverer executor://webtestadapter/v1, discovered 0 containers
No containers found from 'Microsoft.VisualStudio.MSTest.TestWindow.WebTestContainerDiscoverer' :
DiscoveryOperation<DiscoverAllOrRunOnInitializeOperation> FinishedChangedCotainers, changed container count is 7
VirtualReadOnlyTestDataStore.OperationStateChanged State=ChangeDetectionFinished, operationInProgress=False
TestDiscoveryStats.OperationStateChanged State=ChangeDetectionFinished, InProgress=False
Discovering the following containers :
	C:\Git\MyProject\MyProject.CloudService\MyProject.FooWorkerRole\bin\Debug\MyProject.FooWorkerRole.dll
	C:\Git\MyProject\MyProject.Bar\bin\Debug\MyProject.Bar.exe
	C:\Git\MyProject\MyProject.Baz.Packager\bin\Debug\MyProject.Baz.Packager.dll
	C:\Git\MyProject\MyProject.Baz.Tests\bin\Debug\MyProject.Baz.Tests.dll
	C:\Git\MyProject\MyProject.Baz\bin\Debug\MyProject.Baz.dll
	C:\Git\MyProject\MyProject.SharedConfiguration\bin\Debug\MyProject.SharedConfiguration.dll
	C:\Git\MyProject\MyProject.StorageCli\bin\Debug\MyProject.StorageCli.exe
VirtualReadOnlyTestDataStore.OperationStateChanged State=DiscoveryStarting, operationInProgress=False
TestDiscoveryStats.OperationStateChanged State=DiscoveryStarting, InProgress=True
------ Discover test started ------
VirtualReadOnlyTestDataStore.OperationStateChanged State=DiscoveryStarted, operationInProgress=False
TestDiscoveryStats.OperationStateChanged State=DiscoveryStarted, InProgress=True
***    Discover TestCase using 'InMemoryUnitTestWriter' ***
RunSettings Content:
<RunSettings>
  <RunConfiguration>
    <ResultsDirectory>C:\Git\MyProject\TestResults</ResultsDirectory>
    <SolutionDirectory>C:\Git\MyProject\</SolutionDirectory>
    <TargetPlatform>X86</TargetPlatform>
    <TargetFrameworkVersion>Framework45</TargetFrameworkVersion>
  </RunConfiguration>
</RunSettings>
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
========== Discover test finished: 0 found (0:00:57.5407445) ==========
VirtualReadOnlyTestDataStore.OperationStateChanged State=OperationSetFinished, operationInProgress=False
TestDiscoveryStats.OperationStateChanged State=OperationSetFinished, InProgress=False
	Provider 'GroupByClassProvider' found 0 groups.
VirtualReadOnlyTestDataStore.OperationStateChanged State=DiscoveryFinished, operationInProgress=False
TestDiscoveryStats.OperationStateChanged State=DiscoveryFinished, InProgress=False
Pausing Queue..., current operation is: no current operation
About to Enqueue operation 'WaitForBuildOperation', hashcode:34282735
Enqueue operation 'WaitForBuildOperation', hashcode:34282735
Operation left in the the queue: 1
	'WaitForBuildOperation', hashcode:34282735

Processing Queue .....
Operation Dequeue : 'WaitForBuildOperation'
VirtualReadOnlyTestDataStore.OperationStateChanged State=OperationSetStarted, operationInProgress=False
TestDiscoveryStats.OperationStateChanged State=OperationSetStarted, InProgress=False
Firing BuildCompleted event...
Container Discoverer 'Microsoft.VisualStudio.TestWindow.VsAdapters.VsProjectOutputContainerDiscoverer' has container changes
VirtualReadOnlyTestDataStore.OperationStateChanged State=OperationSetFinished, operationInProgress=False
TestDiscoveryStats.OperationStateChanged State=OperationSetFinished, InProgress=False
test container discoverer executor://vsprojectoutputcontainerdiscoverer/v1, discovered 7 containers
Containers from 'Microsoft.VisualStudio.TestWindow.VsAdapters.VsProjectOutputContainerDiscoverer' :
	C:\Git\MyProject\MyProject.CloudService\MyProject.FooWorkerRole\bin\Debug\MyProject.FooWorkerRole.dll:executor://vsprojectoutputcontainerdiscoverer/v1
	C:\Git\MyProject\MyProject.Bar\bin\Debug\MyProject.Bar.exe:executor://vsprojectoutputcontainerdiscoverer/v1
	C:\Git\MyProject\MyProject.Baz.Packager\bin\Debug\MyProject.Baz.Packager.dll:executor://vsprojectoutputcontainerdiscoverer/v1
	C:\Git\MyProject\MyProject.Baz.Tests\bin\Debug\MyProject.Baz.Tests.dll:executor://vsprojectoutputcontainerdiscoverer/v1
	C:\Git\MyProject\MyProject.Baz\bin\Debug\MyProject.Baz.dll:executor://vsprojectoutputcontainerdiscoverer/v1
	C:\Git\MyProject\MyProject.SharedConfiguration\bin\Debug\MyProject.SharedConfiguration.dll:executor://vsprojectoutputcontainerdiscoverer/v1
	C:\Git\MyProject\MyProject.StorageCli\bin\Debug\MyProject.StorageCli.exe:executor://vsprojectoutputcontainerdiscoverer/v1
Container discoverer 'Microsoft.VisualStudio.TestWindow.VsAdapters.VsProjectOutputContainerDiscoverer' has no containers

Thanks @Jehoel. As I suspected, these logs do not seem to be giving us much. Could you turn on fusion logging instead following the instructions above.

Looking at your issue again and the fact that this is working in VS2015, I suspect this could be because of a missing assembly(possibly in GAC in VS2015). Could you please turn on fusion logs and look for any assembly load failures? Here is how you could turn them on. You could zip the logs and share them over here as well

On

can I message you on Skype-for-Business?

Sure, you can send a mail to<EMAIL_ADDRESS>with any other details you might have.

@AbhitejJohn - what was the resolution for this?
Half of my tests are getting ignored in both VS and TFS.

I generated the fusion logs - I had a quick look but I couldn't see any errors.
I do have another test project that works fine and its tests do appear in the Test Explorer window - so I compared the two projects. I noticed they're both .NET Framework 4.6.2 projects, however the working project has a reference to Microsoft.VisualStudio.QualityTools.UnitTestFramework which is being pulled from C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll - whereas the non-working project has a reference to Microsoft.VisualStudio.TestPlatform.TestFramework which is being pulled from (solution root)\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll.
Indeed, the working project is using a standard Visual Studio Test project which came with its own VS-coupled references, while the non-working project is using the NuGet "MSTest V2" assemblies instead.
So why is MSTest V2 not working all of a sudden?

I've emailed<EMAIL_ADDRESS>with my fusion logs.

My email to<EMAIL_ADDRESS>was rejected by the Microsoft e-mail server with this message:

Your message to<EMAIL_ADDRESS>couldn't be delivered.
The group VSADepT only accepts messages   from people in its organization or on its allowed senders list, and your   email address isn't on the list.

TL;DR Workaround:

That may work locally, but won't fly on our CI server. A real proper resolution would be real nice :(

I found the reason for the failure on my end.
Basically some of my projects are really old, and have slowly been migrated to newer .NET-versions and test-frameworks.
Turns out that the app.config in my project I had the following section still having around, despite the project being "upgraded" to ,NET 4.5.1 and latest MSTest:
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
        <providerOption name="CompilerVersion" value="v3.5"/>
        <providerOption name="WarnAsError" value="false"/>
      </compiler>
    </compilers>
  </system.codedom>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Removing these made test-explorer able to discover and run my tests.

@jehoel: Yes, Replied.
@josteink: Thanks. <providerOption name="CompilerVersion" value="v3.5"/> would probably be the culprit.
@StingyJack: I suspect this would be a different issue. Could you please raise a new one with details?

Just want to report that I had the same problems in a newly created project.
The app.config used to be empty, but after installing some packages assemblybinding's must have gotten added, which was causing the problem.
The solution was simple - I deleted the whole runtime section and cleared the output folders (bin, obj and TestResults), then it was working again.
Tried adding the assemblybindings again and got the same error.

Just wanted to comment that I too am having the same issue with newly created projects.  I'm on:
Microsoft Visual Studio Professional 2017
Version 15.3.4
VisualStudio.15.Release/15.3.4+26730.15
Microsoft .NET Framework
Version 4.7.02046

@StingyJack: I suspect this would be a different issue. Could you please raise a new one with details?

Not without checking these first =D
Some of these are older projects, but not 3.5 old. Something is also broken badly in VS. where running update-package -reinstall on a solution crashes VS halfway through. This leaves us with app.config files for projects displayed in solution explorer as loose files in a solution folder as well as within the projects.   Its also forcibly adding assembly binding redirects that are not necessary (internally built dll, only one version ever released even internally). So I think its app.config related for me too, but want to see if fixing them has any effect.

I tried downgrading both the test adapter and test framework packages to an older version (.13) and still got test skippage.  The only app config content is an assembly binding for a non-test assembly (the one mentioned that shouldnt be needed).
Only removing these two nuget packages entirely and setting the reference mentioned seems to have corrected this.  However its only going to work right if everyone uses the same VS install path due to the HintPath it uses.
    <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</HintPath>
    </Reference>

Removing the package also doesnt seem to have completely removed the csproj file contents. I removed the following error conditions and import manually to avoid future errors.
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.props'))" />
    <Error Condition="!Exists('..\..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.targets'))" />
  </Target>
  <Import Project="..\..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.targets')" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>

The info for enabling diagnostics would be a nice to have at this point. I pulled all the MSTest2 packages and reverted the references, and got all our tests back.  Let me know if you need additional info or examples to either reproduce this defect or make sure any proposed correction will work.

@StingyJack: For the test task setting System.Debug="true" on the definition or passing in a /diag switch as an additional argument should provide you with more logs. You might need to add a task to upload these logs if they aren't already.

Let me know if you need additional info or examples to either reproduce this defect or make sure any proposed correction will work.

Yes, a repro would help. The proposed correction takes one back to the old MSTest framework which is not Cross-Plat and does not support the new features MSTestV2 has.

@Jehoel,@StingyJack can you share a repro please.

I will try to pare down something for this, I can't publicly share the projects that had this problem.

@pvlakshm I don't have it on my computer anymore, but @AbhitejJohn will have it in the email I sent him.

I ran into this issue as well today. I was able to workaround / fix my specific issue by removing all unnecessary assembly bindings in app.config. After doing this, my tests were discovered.
How did I determine my necessary bindings? I commented them all out, ran my tests, and reintroduced the binding hinted in the test failure. Luckily, I only had to do this for two bindings and not for all of my bindings (30+).  /phew
Hope this helps.

I've got a similar issue I upgraded from 4.6.1 to 4.7.1 of the .net framework now my unit test project can't find and tests, I get the message "given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)"  I've tried removing the bindings in the web.config, which did nothing and I've taking a look at some of the logs in fusion but there does not seem to be anything obvious there either.  I also tried switching on   "setx VS_UTE_Diagnostics 1" but nothing extra came through on the output.
Any suggestions?

@pvlakshm @AbhitejJohn  - i actually would love to share a repro, but the unit test project template is gone from my selections.   I've opened a VS "feedback" item about that, and I'm trying to copy an existing project in the meantime.

@AbhitejJohn @pvlakshm
Repro available at https://github.com/StingyJack/testfx241

@StingyJack I couldn't repro the issue. I have tried this on two machines(my dev machine and fresh lab machine with >= VS 15.5 preview 3).

Can you try with latest VS version?
Is this repro with vstest.console.exe(command line) too? If Yes, Can you share logs(output and /diag) of vstest.console.exe?
@Davewarner If you are using VS >= 15.3, You can enable logs by Tools -> Options -> Test -> Logging -> Logging level -> Diagnostic (VS_UTE_Diagnostics option removed in 15.3). And Please provide repro project to try out our side.

This has been present for several versions of vs15. Can you please try a non-preview version? Preferably one that has had 15, 15.1., 15.2., etc.

Still misses tests on the TFS build server.
Running this project with the 15.5 preview 5 is more interesting, but also holds the same end result. It compiled the first time, and found only one test in UnitTestProject2. I changed the "keep test execution engine running" to unchecked and compiled and was greeted with errors in the errors list about VS not being able to find the adapter package.   Trying to open the nuget package manager ui then pops the warning "No projects supported by nuget in this solution".  I reenabled the "keep test exec..." option.

Closing the solution and reopening it allows it to build again, and this time it discovers and executes all four expected tests.
Closing all that and reopening the solution in Vs 15 Ent, Vs is immediately able to find the tests and can execute them.
Would the toggling of that "Keep execution engine running" have created some necessary setting?

Closing the solution and reopening it allows it to build again, and this time it discovers and executes all four expected tests.

@StingyJack If I understand correct, test are discovering/executing fine with 15.5.
"Keep execution engine running" won't have any effect in 15.5 by default. If you are facing Nuget issue  always share repro project and raise issue at https://github.com/NuGet/NuGet.Client.

Still misses tests on the TFS build server.

If locally all tests running fine, then possibly adapters not gettings picked up in TFS, you can determine that by comparing logs files.
Collect vstest logs following here from TFS and local vstest logs following here

I was happily executing my tests on VS 2017 with the update prior to 15.5 yesterday. Upgraded to 15.5 late yesterday. Tried running tests today. No tests found and I'm receiving the error about the invalid codebase. How do I downgrade back to 15.4?

Commenting out the bindingRedirects in my test project and then regenerating them seems to have fixed the problem for me. For the time being anyway. The following is what I currently have. The commented out ones are what it sued to be. I used Get-Project -Name OleLibraryTest | Add-BindingRedirect to regenerate the binding redirects.
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <!--<dependentAssembly>
        <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.InteropServices" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.Extensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Text.RegularExpressions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.EntityFrameworkCore" publicKeyToken="adb9793829ddae60" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.EntityFrameworkCore.Relational" publicKeyToken="adb9793829ddae60" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="MySqlConnector" publicKeyToken="d33d3e53aa5f8c92" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Npgsql" publicKeyToken="5d8b90d52f46fda7" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>-->
      <dependentAssembly>
        <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.EntityFrameworkCore" publicKeyToken="adb9793829ddae60" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.EntityFrameworkCore.Relational" publicKeyToken="adb9793829ddae60" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Npgsql" publicKeyToken="5d8b90d52f46fda7" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="MySqlConnector" publicKeyToken="d33d3e53aa5f8c92" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Apparently, at least in some cases, the problem appears to have something to do with dependent assemblies.

NuGet in general just seems to introduce DLL hell. I have solved some problems in the past by removing the runtime section in all the App.configs in the projects in my solution and then regenerate them with Get-Project -All | Add-BindingRedirect. It seems to usually remove a lot of unneeded cruft.

@jemiller0 You can identify exact assembly causing the issue by collecting failed assembly bindings. And update you config file accordingly.

If you are facing Nuget issue always share repro project and raise issue at https://github.com/NuGet/NuGet.Client.

@smadala - the reported issue is not a Nuget issue and I'm not sending whole 50-200 project solutions over when they seem to be too busy tinkering with low value things (and breaking stuff along the way) and placation to be bothered with long awaiting bugfixes.
I've only had to log maybe 5 issues in the last 20 years for MSFT. But the amount of time I've had to spend to work around or otherwise deal with recent MSFT quality issues (230+) has totaled about two months for this year. Just this one issue alone has cost me about thee work days, not counting the effect of bugs in software that weren't caught by the unit tests because they were silently skipped during gated checkin builds (they mysteriously stopped working earlier this year - another multi day issue).
If you all could stop screwing around with all the shiny things (nodejs, git, and others your established .net customer base does not care about), and focus on improving the quality of the things that are foundational, I may just get my nights and weekends back in 2018.
Getting additional logs is just more time I lose, and I'm not sure what (if anything) you could gain except more time to service other issues until then.  The above information I shared should be enough to repro this. You guys probably need to try it out on a non-MSFT image workstation or other test environments.

@StingyJack Sorry I can't comment on other issues, But I'm very confident on resolving this issue, Help me to find the root cause by providing diagnostics logs. Feel free to send me mail if you would like to have skype call.

Would it be possible to improve the error message? It might not be so bad if the error message were better. I was thinking that the problem had something to do with running the tests in 64 bit mode or something. Had I not found this GitHub issue, I would have not thought to check the binding redirects and would have wasted a lot of time. The other thing is, Microsoft really needs to make it possible to go back to older versions of Visual Studio. As far as I know, right now, you can't. You can either go back to the original version of Visual Studio, or the latest update, but not in between updates. And I have got burned a couple times now with issues like this where I install the latest version and then I am dead in the water until I find a fix.

@spottedmahn Apologies for delay in response, Here is the repro. Looking at your console app, It doesn't have reference to Moq (no app.config).

Hi @smadala - when you run that sample it fails but it does have an app.config:

If comment out the redirect it doesn't fail.

Again, thanks for your help on this.  Still not sure who to report this issue to...

Start at nuget, Because they are creating redirects but not target/something to copy the expected assembly to bin directory.

@smadala - nuget team has rejected this issue due to insufficient information. I objected, but it remains closed.

I submitted an issue here on Developer Community, hopefully, it will get some traction.

Folks - lets follow this issue on the developer community. This thread has become too unwieldy.

Per the title, it is the same issue. the thread is only getting too long as its not been resolved and more people are submitting claims and evidence.

Its not too unweildy for me, and the dev comm site is frustrating in so many ways (cant search through own issues, formatting is ne'er impossible, notifications, mods can lock out OP replies, etc), why prefer it?

Microsoft should just get rid of their forum websites and use Stackoverflow completely. Every time I have a problem and I do a web search and end up at Microsoft's site, I find completely useless information. Usually, it is from a Microsoft employee who clearly is a newbie who doesn't have a clue. It is just a waste of time even looking at that site.

I should have provided a closure on this issue here as well so sorry about that.
This is with reference to the repro provided by @spottedmahn at (https://github.com/spottedmahn/Experiments/tree/master/Test Explorer fails to show tests )
I noticed that certain references were not resolved by NuGet after solution load. I found this by expanding the references node on the project where the Test Explorer window was not able to find the tests. They were showing the yellow triangle against the test framework assemblies. Once I did a build, the references were resolved by NuGet and all 4 tests were discovered. NuGet not resolving all references immediately on solution load is a known issue that the NuGet and project system team is aware of. The workaround is to build the solution.
I was using 15.6 preview build. Please note that we have made several improvements to TE window in this release which included speeding up performance, adding a new hierarchy view and real time test discovery which discovers tests without requiring a build. Please give it a try and let us know what you think. We expect to release this soon.

Hi @ManishJayaswal - thanks for the update.
I don't have any unresolved references and I get this error:

Hi @ManishJayaswal - also, I think you're using a different repro.  The link you provided only has 2 projects.

vs

@spottedmahn - can you please point me to the right repro case. I was using the one provided in the developer community ticket that you had opened couple of days ago.

Hi @ManishJayaswal - the link you provided is it but it does not match your screenshot.

Ah sorry - I was using this repro provided by @StingyJack - (https://github.com/StingyJack/testfx241). We will try the other one too and post back our findings. @spottedmahn - Thanks for pointing this out!

great, thanks @ManishJayaswal for digging in.  Please let me know if I can help at all to get to the bottom of this!
FYI, if you comment out the binding redirect in app.config for "System.Runtime" it will discover the tests.

@spottedmahn I tried your repro on the latest 15.6 preview bits ( which just got released - like 15 minutes ago- so you can download and try it too). When I opened the solution, I noticed that the reference to System.Runtime ( blue circle in the image below in solution explorer window - kind of hard to see, sorry about my poor choice of color) was not resolved ( had a yellow triangle on it). However it got resolved when I built the solution and then the tests were getting discovered. Real time test discovery was also working ( I verified it by adding a removing a new test and TE window was getting update in real time). Please give the latest preview a try and let us know if this is still an issue.

So the tests are discovered by but not runnable.  Did you try running that test?

Test Output Window

[2/23/2018 2:25:01 PM Informational] ------ Load Playlist started ------
[2/23/2018 2:25:01 PM Informational] ========== Load Playlist finished (0:00:00.0025067) ==========
[2/23/2018 2:25:27 PM Informational] ------ Discover test started ------
[2/23/2018 2:25:31 PM Warning] [MSTest][Discovery][C:\Users\mdepouw\source\repos\GitHub\spottedmahn\Experiments\Test Explorer fails to show tests\ClassLibrary.Tests\bin\Debug\ClassLibrary.Tests.dll] The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
[2/23/2018 2:25:31 PM Informational] ========== Discover test finished: 0 found (0:00:04.0140926) ==========
[2/23/2018 2:26:31 PM Informational] ------ Run test started ------
[2/23/2018 2:26:32 PM Warning] [MSTest][Discovery][C:\Users\mdepouw\source\repos\GitHub\spottedmahn\Experiments\Test Explorer fails to show tests\ClassLibrary.Tests\bin\Debug\ClassLibrary.Tests.dll] The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
[2/23/2018 2:26:32 PM Warning] No test is available in C:\Users\mdepouw\source\repos\GitHub\spottedmahn\Experiments\Test Explorer fails to show tests\ClassLibrary.Tests\bin\Debug\ClassLibrary.Tests.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
[2/23/2018 2:26:32 PM Informational] ========== Run test finished: 0 run (0:00:01.1369673) ==========

@spottedmahn - you are right the execution does not work and removing the binding redirect makes the test run. This indicates that TestPlatform has a dependency on a newer version of System.Runtime. I will follow up with TestPlatform team to understand this better but can you tell us why you need to depend on an earlier version of System.Runtime?
@singhsarab FYI

Hi @ManishJayaswal - I'm glad you are able to repro it.  Please let us know what you find out.

can you tell us why you need to depend on an earlier version of System.Runtime?

I don't.  I just added some Nuget packages and that file got generated.  I'm guessing it has something to do w/ Automatic Binding Redirection

As a workaround for now, you can comment out the binding redirect ( which I believe you are already doing).  Test will use newer System.Runtime and it should be fine. We would need to investigate to see if we can move TestPlatform dependency to a lower version but I don't expect that change to happen quickly. Thanks for helping us get to the root of this issue. Much appreciated @spottedmahn !!

from https://developercommunity.visualstudio.com/comments/202322/view.html

I have responded on the other GH issue. that particular issue also seems to be fixed in the latest 15.6 previews. -Manish Jayaswal

The "other GH issue" is this one
from right above this comment...

We would need to investigate to see if we can move TestPlatform dependency to a lower version but I don't expect that change to happen quickly.  -Manish Jayaswal

@ManishJayaswal  - Is it fixed or not? On the same day you said it was fixed and then not.

Hi @StingyJack - I think @ManishJayaswal was thinking it was fixed b/c the test discover does work in 15.6 but the tests fail to run now.  So 15.6 has just moved issue to a different place.

While that intention is possible, after now having multiple encounters the pattern tends to be about improving issue closure stats and not issue resolution.  Ofc, YMMV.

@StingyJack - I can categorically state that closure stats is not even a consideration on the company. I am mentioning this since you have brought this up several times.
In this specific case - as I have mentioned to @spottedmahn above, please try the simple workaround of removing the binding redirect. TestPlatform ideally should  take dependency on the minimum possible version of System.Runtime assembly so we are working with the TestPlatform team to see what can be done here. Hence we are keeping the issue open.
However please let us know if the workaround does not work for you and if this issue is a blocking issue for you.

As stated on both Skype and here, I can revert to the original QualityTest dll's and the build server no longer silently fails to discover/execute tests. This is the only usable workaround as Nuget wont stop "fixing" binding redirects by "helping" me and putting binding redirects in that do not work or are not necessary.  In the case of a test project and other dll projects, this means I have to keep undoing the addition of the app.config - a file I cant really .tfignore without being overly specific. And this specificity earns me yet another thing to maintain.
Regarding the pattern, this is what it looks like from this side.
Report for open items executed on 02/26/2018 09:54:00
There are 269 items in 'My Followed Items' list
There are 215 items I've authored of 269 total followed
There are 2 items that need an update from me
There are 2 items that need tagging by me
There are 137 items that need an update from MSFT
There are 12 items that are still Triaged (or [PERMA TRIAGE])
There are 128 items that need no update
Items I consider closed 50
Items MSFT considers closed 109
Items I dont feel like arguing about 16

And none of that explains the difference in the two statements made in the same day.

This is the only usable workaround as Nuget wont stop "fixing" binding redirects by "helping" me and putting binding redirects in that do not work or are not necessary

I wonder if this is Nuget or Visual Studio?  My understanding is it is Visual Studio.

Starting with Visual Studio 2013, when you compile apps that target the .NET Framework 4.5.1, binding redirects may be automatically added to the app configuration file to override assembly unification.

Source: Automatic Binding Redirection

I'm not sure I care if its nuget or VS really. Its bugs are creating more work for me in addition to creating this nasty bug. I just want them fixed without catching a bunch of flak.

The issue is with the auto redirection being added without the right assemblies being present. More details below.

Repro :(https://github.com/StingyJack/testfx241)

This works fine.
2: Repro (https://github.com/smadala/samples/tree/master/Test Explorer fails to show tests/ClassLibrary.Tests)
https://github.com/spottedmahn/Experiments/tree/master/Test Explorer fails to show tests
Able to repro with the both projects.
-> Tests are being discovered fine through the source based discovery
-> Test Execution fails.
Detailed Repro Steps

There’s no binding redirect added on adding just the system.runtime’s 4.3.0 version to the classlibrary project and creating a test project exercising the classlibrary.

Execute the test, the tests execute fine with System.RunTime.dll being picked from GAC (<IP_ADDRESS>) version (which is the test platform/framework dependency)

3.When Moq.dll is added to the test project, the app.config of the test project gets updated with the redirect for the System.RunTime to <IP_ADDRESS>.  There’s no reference added to the test project appropriate dll (System.RunTime.dll <IP_ADDRESS> version).

When the tests execute the configuration provided in dll.config is used to setup an appdomain for test execution. The appbase for the appdomain is the output directory of the test project. Since the System.Runtime.dll (<IP_ADDRESS>) is not present in the test project output path the execution fails (the error message doesn't indicate the dll that failed and has been fixed)

Now uninstall Moq.dll (which added the redirection in the first place). The redirection still stays in the test project.

The issue doesn’t repro when the test projects target 4.7.1 (looks like some consolidation that’s being talked of here https://github.com/dotnet/corefx/issues/25773 is helping)

The issue can be mitigated by either removing the redirects or by adding a reference to the <IP_ADDRESS> version of the System.Runtime.dll and ensuring that it is present in the test output path.

Finally, some truth... @cltshivash - where have you been this whole time? =)
Please make sure this fix works for tfs 2015.4 vnext test task. That was where it started silently failing for my team.

@StingyJack The fix isn't at the task end so it should work. Neverthless we will validate once we have a resolution.

Please check if migrating the nuget packages from package.config to package references helps.
For more details please refer to the issue on the nuget repo. NuGet/Home#6723

@StingyJack Does the option available in 15.7.0 help with the migration ?

@cltshivash - A tool is for sure better than the semi-manual steps.  I'd still have to click on it for every single project (10 - 180 per solution) unless I can action it at the solution level.
However, the first three of these, in addition to the "Not yet available for Asp.net full framework"  are complete blockers for us. Thanks for the info share though.

@mishra14 Do you have recommendation for the below ?

Ability to migrate at solution level
Timeline on when would Package reference be available for Asp.net full framework

@cltshivash

We have considered a solution level migration. We plan on supporting it in future. You can track it at https://github.com/NuGet/Home/issues/5879.
We have a plan of supporting PR on ASP.NET full framework, but there are some open questions that are still need to be sketched out. You can follow the larger effort to improve the PC to PR experience at https://github.com/NuGet/Home/issues/5877.

Please check if migrating the nuget packages from package.config to package references helps.

Yes, that worked on my repro 😊.   Branch w/ conversion to Package Reference.

@Haplois Is there any work we need to do for this issue?

Closing this issue. Please feel free to comment if you are still facing some issue.


fix: e2e test, stop checking event

Stop checking events at all to see if it works

/approve

/merge


fix some typo

word "fabulously" & "creativity" fixed  #114

@abhishek-munda Thanks for raising the issue.


[SPARK-24366][SQL] Improving of error messages for type converting

What changes were proposed in this pull request?
Currently, users are getting the following error messages on type conversions:
scala.MatchError: test (of class java.lang.String)

The message doesn't give any clues to the users where in the schema the error happened. In this PR, I would like to improve the error message like:
The value (test) of the type (java.lang.String) cannot be converted to struct<f1:int>

How was this patch tested?
Added tests for converting of wrong values to struct, map, array, string and decimal.

Test build #91034 has started for PR 21410 at commit 26cc2f8.

Can one of the admins verify this patch?

Test build #91034 has finished for PR 21410 at commit 26cc2f8.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

This is an excellent start and a worthy improvement.
Is there a way to identify where in the schema the issue is occurring? For example, when you have a schema with many nested fields, the failing value is helpful but the breadcrumb trail, e.g., a.b.c where this is happening, is required to easily isolate the issue in the input data and resolve it.

jenkins, retest this, please

Test build #91062 has started for PR 21410 at commit 26cc2f8.

Test build #91062 has finished for PR 21410 at commit 26cc2f8.

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

Merged build finished. Test PASSed.

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

Is there a way to identify where in the schema the issue is occurring?

We can catch the exceptions on each level of schema tree traversal, and show sub-trees in each catch. For example: array<map<..., array<struct<f2:int>>>> , the first exception will point out struct<f2:int>, the second one array<struct<f2:int>> and up to the "root" schema.

e.g., a.b.c where this is happening, is required to easily isolate the issue in the input data and resolve it.

I guess in the case of arrays and maps, you want to see indexes and keys. Could you provide concrete example with values and a schema (array, struct, map), and what kind of info the error should contain.
Just in case, I would propose to make such improvements in a separate PR.

@gatorsmile Could you look at the PR, please. The changes should help us in trouble shooting of customer's issues.

LGTM except one minor comment.

Test build #91151 has started for PR 21410 at commit ac76544.

Test build #91151 has finished for PR 21410 at commit ac76544.

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

Merged build finished. Test PASSed.

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

Thanks! Merged to master.


Quests cooldown timer

What is your Quests version / build number (do not say "latest")?
quests 3.9.0
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
When I try to set a cooldown timer on a quest the cooldown sometimes seems to be just gone, sometimes it gets set to 7days instead of the time I set, or just another time. I tried setting the cooldown timer in minecraft and in the files itself. It also says 'need a positive number' when i try to make a cooldown of a month.
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
https://pastebin.com/DqN0ddZr

I have also been having issues with the cooldown timer, whenever I type in 5 in the in-game quests editor it logs it as 5000 for some reason and I have to manually edit the yml file and reload.

Duplicate of #1161
Use latest dev build https://ci.codemc.io/job/PikaMug/job/Quests/


Use {0} instead of memset

We could use the struct my_struct object = { 0 } syntax instead of memset(&object, 0, sizeof(object)). It has several advantages:

Simpler, cleaner syntax;
memset can potentially lead to UB if a structure contains types that cannot be represented as all-zeroed bits (for example, float on some platforms).

For instance, we could change this piece of code to something like this:
struct sockaddr_storage from = { 0 };

I can take this issue if it's necessary.

Is that C89 legal? I can’t remember off the top of my head.

Yes. Source: https://en.cppreference.com/w/c/language/struct_initialization. The downside is that it could generate different code, iirc (it might skip over padding) and that the choice of 0 there assumes that the first field of a sockaddr_storage is of primitive type (non struct or array). In C++, this idiom is a bit better, because {} is valid.

Actually, rereading that source, it appears that a struct or array is generally OK, it may only be an issue for union.

@vtjnash, yes, because unions are not aggregated types.

@vtjnash, we can use {0} if the first member of a structure is not a primitive type:
$ cat main.c
struct Foo {
	int a[10];
};

int main(void) {
	struct Foo foo = { 0 };
}

$ gcc main.c -std=c90 -Wall -pedantic
main.c: In function ‘main’:
main.c:6:13: warning: unused variable ‘foo’ [-Wunused-variable]
  struct Foo foo = { 0 };
             ^~~
main.c:7:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

@vtjnash, I also think that we shouldn't care about structure padding because it's generally considered a garbage data used only to satisfy the alignments of data types. Can you provide an example where values of padding make sense?

Valgrind will sometimes complain about uninitialized padding when passing a struct to a system call, see e.g. commit 0813f5b9 for an example.


more documentation please

Brad,
I need more help and examples for setting up the web server and pages.
Adrian

Sorry for the slow reply.
Web server is a bit in flux.
There's two approaches lightly documented at https://eforth.appspot.com/
The WebServer interface mirrors arduino's WebServer.h
Alternatively, in v7.06+ I've added httpd, which implements a web server directly in sockets.
Both have some issues and limitations, but my hope is to deprecate the older WebServer interface at some point.
For current examples check out these:
https://github.com/flagxor/eforth/blob/main/ueforth/esp32/camera_server.fs
https://github.com/flagxor/eforth/blob/main/ueforth/posix/web_interface.fs
Apologies for the mess :-)
-BradN

Also see quite a good glossary of words (I'm the author!) at https://docs.google.com/spreadsheets/d/1UMBc05BkfW7QapvyUZYLIYJR7FAVHONnCJO_BEdAqCg/edit#gid=0

Good evening,
On my personal site, I am working to set up documentation as complete as possible regarding ESP32Forth:

Also see quite a good glossary of words (I'm the author!) at https://docs.google.com/spreadsheets/d/1UMBc05BkfW7QapvyUZYLIYJR7FAVHONnCJO_BEdAqCg/edit#gid=0
Broken link: "No results matched your search."

Also see quite a good glossary of words (I'm the author!) at - should have been:-
https://docs.google.com/spreadsheets/d/1UMBc05BkfW7QapvyUZYLIYJR7FAVHONnCJO_BEdAqCg/edit#gid=0
The words are grouped by topic e.g. STACK, MATHS etc. so that the new programmer only has a little list to find the word he wants. I am currently trying to figure out how to use the SOCKETS vocabulary - but lack of examples makes it a tall order. Were examples written for test purposes or is this vocabulary still untested? I've written and shared quite a bit of code for ESP32FORTH, but quite a few vocabularies remain too cryptic to be usable, which is a shame. At the same time I quite understand this is the work of one generous man and the project is still in a state of flux.

cryptic to be usable, which is a shame. At the same time I quite understand this is the work of one generous man and the project is

Good Job.

cryptic to be usable, which is a shame. At the same time I quite understand this is the work of one generous man and the project is

Good Job. On my web site, the documentation is often completed by examples. The documentation is in french and english https://esp32.arduino-forth.com/index/glossaire

And I use highlithing the FORTH source code (writed in PHP). It's explained here:
https://esp32.arduino-forth.com/article/highlightFORTHwithPHP
All highlighted code give access to online documentation....

I'm reading the Serial Communication. It's not complete. You omit Seria2.xxxxxx words. If you want to complete your documentation, I suggest you take the explanations on my site without worry.

Hi Marc,
I would like to write some example programs using the SOCKETS vocabulary. I see a small example on your web page Understanding ESP32Forth Socket Management (arduino-forth.com). Do you have more? I would use the test and measurement language Labview on the PC to send and receive arrays of data, then write it up in a small paper. It seems a shame that users cannot transfer high speed data between esp32forth and a PC e.g. audio. The lack of documentation for certain vocabularies holds us back. I shall try to contact Bradley Nelson about it.
Regards, Bob
On Friday, 5 August 2022 at 21:55:51 BST, PETREMANN Marc @.***> wrote:
I'm reading the Serial Communication. It's not complete. You omit Seria2.xxxxxx words. If you want to complete your documentation, I suggest you take the explanations on my site without worry.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Hi Marc, I would like to write some example programs using the SOCKETS vocabulary.......
My mail for direct contact:   petremann(at)arduino-forth.com


rPI Arcade Emulator Screen Menu

We need an emulator screen menu that is interactable and can scroll through the different emulator choices.

TODO: fix rotation of bottom panel, make more room in middle, make carousel more circular, add RCOS on bottom


Please add Unity Version

please add unity version 2018.4.12f1.

You can instead use 2018.3.8f1 version to work with. Because 2018.3.8f1 consist versions of range between 2018.3.8f1 - 2018.4.24f1.
And also, don't forget to enable #define VersionAboveV24.
Tested and working on Unity 2018.4.18f1 using 2018.3.8f1

thank you for your answer, it was very helpful.  I want to try modding GrannyHouse - Multiplayer Horror
https://play.google.com/store/apps/details?id=net.updategames.granny.
and it uses the unity version 2018.4.12f1

The project currently supports all versions after 5.3.0f4, please check game.h for a compatible version.
https://github.com/Perfare/Riru-Il2CppDumper/blob/780d0121758e493e3751832ab34bdedbd1c87c0a/module/src/main/cpp/game.h#L34
And don't forget this part
https://github.com/Perfare/Riru-Il2CppDumper/blob/780d0121758e493e3751832ab34bdedbd1c87c0a/module/src/main/cpp/game.h#L11-L12
If you have any questions, feel free to ask questions.


Container start hangs if it was created from another container (Portainer scenario)

Describe the bug
Scenario: Creation of new Compose "stacks" using Portainer (Container Management Software).
Portainer itself runs within a container and has received access to the Docker Engine from the host as npipe mount.
No problems under Linux, under Windows the start of the second stack is never completed.
To Reproduce
No Portainer or Compose is required for recreation:

Start a container that itself has a port published (important), contains the Docker CLI and can access \.\pipe\docker_engine from the host.
(It does not matter in which network the container is located)
Create a new network
(Whether from within the container or directly on the host does not matter)
Start a new container from within the container with a published port inside this network
Repeat 3
(Container 3 can also run in a seconds new network, same result)

Copy-Item C:\Windows\System32\docker.exe .
@"
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022

USER ContainerAdministrator
COPY docker.exe C:
ENTRYPOINT .\docker network create -d nat 1 & \
           .\docker run -d -p 5001:5000 --network 1 --entrypoint cmd mcr.microsoft.com/windows/nanoserver:ltsc2022 /c ping <IP_ADDRESS> -n 500 & \
           .\docker run -d -p 5002:5000 --network 1 --entrypoint cmd mcr.microsoft.com/windows/nanoserver:ltsc2022 /c ping <IP_ADDRESS> -n 500
"@ > dockerfile
docker build -t recreator .
docker run -p 5000:5000 -v \\.\pipe\docker_engine:\\.\pipe\docker_engine recreator

The first container can be created successfully, the second is stuck in the "Create" step.
The load of the HostNetworkService remains permanently at 100% utilization of a core.
You can try to remove all container "docker rm-f $docker ps -aq)" which often normalizes the state.
But if you wait too long the docker engine does not react anymore.
Same result with WindowsServerCore
The error does not occur if:

The containers are started directly on the host
or
No ports are published
or
The new container (step 3&4) are in the same network as the first one (step 1)

Expected behavior
Both new container can be started successfully
Logs
There are many but none contain anything meaningful:
I hope with the recreator it is not necessary to add all logs here
last Docker Engine Debug Massage:
debug: [POST]=>[/endpoints/] Request : {"VirtualNetwork":"69394ECA-AD67-4F23-9877-0BDE73E01EA7","Policies":[{"Type":"NAT","Protocol":"tcp","InternalPort":5000,"ExternalPort":5
                     002,"ExternalPortReserved":true}],"EnableInternalDNS":true}

last HNS Log:
HNS-Endpoint-Attach:-
 Endpunkt-ID = '{00ad573e-6d73-4459-8060-d525c8a02bc1}'.
  Netzwerk-ID = '{aeb11f9e-b474-4cd3-8bd5-dee485484ac7}'.
  Netzwerktyp = 'NAT'.
  Ergebniscode = '0x0'.

Configuration:

Edition: Windows Server 2022
Base Image being used: Windows Server Core or Windows Nano Server
Container engine: Docker
Container Engine version: 26.0.0

Additional context
I have tried to recreate it with containerd and nerdctl, but it is probably not possible at the moment.
The creation of a container from inside another one always fails with an error message.
/c ping <IP_ADDRESS> -n 500 is a way to keep the cmd alive, Has nothing to do with the bug.
You could also take a powershell-image and use start-sleep

Hey @Herr-Sepp, thanks for raising this issue. We'll look at this issue shortly. Could you help me understand your use case with using Portainer with windows containers? I haven't seen much usage Portainer, and understanding this would help us prioritize this issue.

Got it. So project managers manage the deployment/configs of your apps with Portainer's GUI. Are these apps on the cloud or on-premises?
I've raised this issue with engineer, they'll look at this soon (ref ID #50179324).

@fady-azmy-msft the root cause of this bug is the same as 140: Can't start any two docker-compose environments and 486: Can not start three containers with published ports
I recommend this issue be closed and 140 be used to track as it is currently assigned.

@Ramunasoft Thanks for that suggestion. We'll close this Issue and keep updating #140.


feat: add keyboard controls to blog search

Added keyboard navigation of blog search results using ArrowUp and ArrowDown
Pressing Enter on selected result will open the selected page
Pressing Esc key will close the search results dropdown and focuses the input
Added ⌘ + K key binding to focus the search field

Closes #309

but maybe also add a shortcut for focus to the search box?

Yea that would be nice as well. We could do a similar implementation like other docs site to focus searchbox?  We could use ⌘ + K keybinding?

LGTM, but maybe also add a shortcut for focus to the search box?

Yeah we can

We could use ⌘ + K keybinding?

This is great, when I don't know the key bindings I always try ⌘ + K first

We could use ⌘ + K keybinding?

This is great, when I don't know the key bindings I always try ⌘ + K first

Shall I add ⌘ + K key binding to focus the search field?

Yep Go ahead. Use ⌘ + K for mac and relevant key binding for windows as well. Please refer to other documentation site bindings as well like beta.reactjs.org, babeljs.io

This is looking really good! Just a few things:

When the up/down arrow is pressed, it should shift focus from the textbox to the link in the dropdown (call focus()). Right now, the focus remains in the textbox. The Esc key should then focus() back to the textbox.
When there are no search results, the Esc key doesn't close the dropdown. It should still close the dropdown.

When I press down arrow from textbox and come down Im not able to move to textbox again with up arrow. Can we fix this? Other that this all LGTM


Is the Faster-RCNN model pretrained on PRW dataset?

I have tried Faster-RCNN checkpoint faster_rcnn_r50_fpn_2x_coco_bbox_mAP-0.384_20200504_210434-a5d8aa15.pth in test split of PRW dataset, and I found the results are totally the ground-truths. I wonder if I have ignored some documentations? Thanks for answering!

Hi, did you finetune your PRW dataset?


[FEATURE] Optionally display filename alongside imagery for image sequences

Let's start with just always displaying it?  Dont' see a reason to make this toggle.


Testing transacted routes with Quarkus and CamelTestSupport fails

Dear all,
I have problems testing routes with CamelTestSupport in a Quarkus project when a transacted() definition is part of the route.
Describe the bug
The exchanges do not seem to reach the endpoints, when "transacted()" is part of the route.
Snippets:

Route:

from("direct:in").transacted().to("mock:out");

Test:

MockEndpoint mockEndpoint = getMockEndpoint("mock:out");
mockEndpoint.expectedMessageCount(1);
template.sendBody("direct:in", "hello");
assertMockEndpointsSatisfied();

Here's a Gist of my test setup and the pom.xml: https://gist.github.com/radio042/b71717d5634eaa634c9affc1021eacfb#file-transactedtest-java
Expected behavior
Messages sent to a route with a transacted() definition using CamelTestSupport in a Quarkus project reach the endpoints and the test is green.
Actual behavior
The test fails with java.lang.AssertionError: mock://out Received message count. Expected: <1> but was: <0>
How to Reproduce?
Run the test from the gist inside a Quarkus project

Well, I think we've not support the CamelTestSupport yet with Camel Quarkus. Is there any reason you can not use QuarkusTest for running this test ?

I can, but I'm getting the same behavior when annotating the Class with @QuarkusTest.

Please check with our JtaTest, or you can get more details about how to write a test with Quarkus from https://quarkus.io/guides/getting-started-testing

Thanks for the links! The thing is, I am trying to test a camel route that has the transacted() definition, not transactions in general. The test would work once "transacted()" is commented out, so I assume that either the test setup is incomplete or the combination "Quarkus + CamelTestSupport + transacted()" does not work as I expect.
By the way, is this the right place to raise the issue? I opened it here, because there are a lot of examples of similar tests with Spring online that allegedly work.

I understand and just create a camel-test-demo to show how to use CamelTestSupport in camel-quarkus. Hope it is useful !
Free feel to give some feedback.

I'm not sure this is a good way but it just works.

Perfect, this solved my problem! Thanks a lot. :) I think it's a good solution, after all it does not matter which specific CamelContext instance a test uses.

I understand and just create a camel-test-demo to show how to use CamelTestSupport in camel-quarkus. Hope it is useful !

What a cute hack, @zhfeng! Could you perhaps mention it in https://github.com/apache/camel-quarkus/issues/1981 where some folks asked for CamelTestSupport?
Hm... on the same note, I wonder whether we could somehow set the context automatically. Either by having our own subclass of CamelTestSupport (ugly) or something nicer, like implementing a junit5 extension that would do it?

@ppalaga yeah, that could be a better way to have a junit5 extension. I will investigate it after the holidays.


Add support for Next.js App Router to cli

This PR address this issue. #297
The template currenly sits on my personal repository, because the CLI is designed to clone a repository. I can always push  it to Celo Org when a repository has been created for it.

@Philix27 Thanks for the PR but we are currently moving from page router to app router in main react-app. That will be live by tomorrow.


[FEAT]:  Custom route for Azure Function Webhooks

Describe the need
Hi,
The route of the Azure function webhook is currently fixed, set in the HttpTrigger attribute. Would be useful to be able to specify custom route when calling ConfigureGitHubWebhooks (atm you canonly specify the secret).

Thanks :)
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The route location is defined in an attribute, and all attributes must be known to the compiler at compile time. I can't think of an easy way to configure this, but I'm open to contributions if you know a way.

Hi,
Thanks for the quick responses :) Seems indeed difficult, thanks for explaining :) Not an important feature atm. Thanks :)


Prepare for HttpClientResponse Uint8List SDK change

Description
An upcoming change in the Dart SDK will change HttpClientResponse
from implementing Stream<List<int>> to instead implement
Stream<Uint8List>.
This forwards-compatible change to _MockHttpClientResponse is being
made to allow for a smooth rollout of that SDK breaking change. The
current structure of the class is as follows:
_MockHttpClientResponse extends Stream<List<int>> implements HttpClientResponse {
  ...
}

This structure would require that the Dart SDK change land atomically
a change to the class (extends Stream<Uint8List>). This atomic landing
requirement doesn't play well at all with Flutter's roll model vis-a-vis
the Dart SDK's roll model to Google's internal repo.  As such, this commit
changes the structure of _MockHttpClientResponse to be:
_MockHttpClientResponse implements HttpClientResponse {
  final Stream<Uint8List> _delegate;

  ...
}

Once the Dart SDK change has fully rolled out, we can simplify this class
back to its former structure.
Related Issues
https://github.com/dart-lang/sdk/issues/36900
Tests
n/a - this is low-level testing code already
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read [Handling breaking changes]). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.  It is forwards-compatible

I love the detailed PR description and the context it provides. 👍


Revert "Convert user extensions to dictionaries"

Reverts KhronosGroup/glTF-Blender-IO#849

@emackey Sorry, I will revert this PR merge for now, because Blender enter bcon3 this night, and if we want it on 2.82, we need to merge it against a new blender-2.82-release, not against master.
I will create the new branch and merge in right branch during the week-end.
@emackey @donmccurdy Before the branch is ready, please do not push to master please :)

@julienduroure Sorry for the mixup, I knew the deadline was close.
Just a suggestion, git also has the ability to create new branches from prior points in master.  For example, to create a new branch from the 1.1.36 version bump (commit 236b4b4fd3beb), one could do something like:
git checkout -b blender-v2.82-release 236b4b4fd3beb

This way, master could continue as an unlocked development branch, and a controlled release branch would be built from 1.1.36 (without the latest merge).
Anyway I'll stay out of master until you get the branch/rollback situation settled.

@emackey @donmccurdy OK, I managed to create the branch, and setup the new branch on Blender also (using the Ed suggestion, so I will close this PR).
Seems everything are OK, we can push on master again.
Bug fixing for 2.82 needs to go on blender-v2.82-release branch


Appstudio update test-component-pac-zqjg

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-zqjg-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
24 seconds
clone-repository

✅ Succeeded
41 seconds
build-container

✅ Succeeded
16 seconds
deprecated-base-image-check

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
51 seconds
clamav-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
9 seconds
optional-label-check

✅ Succeeded
8 seconds
label-check

✅ Succeeded
12 seconds
show-summary

Pipelines as Code CI/test-component-pac-zqjg-on-pull-request has successfully validated your commit.


Handle custom-image in case of version checks (#2676)

Description
cherry-pick of #2676
How can this be tested?
same as #2676
Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

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

Comparison is base (6e8fec3) 67.72% compared to head (4d1e4da) 67.72%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2681   +/-   ##
=======================================
  Coverage   67.72%   67.72%
=======================================
  Files         250      250
  Lines       13637    13637
=======================================
  Hits         9235     9235
  Misses       3593     3593
  Partials      809      809

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


Undefined method strip when external_id is a Fixnum

If external Id is a Fixnum extract_case_insensitive_string_or_symbol_key_from_hash will return it as a Fixnum too, and we'll get Undefined method strip for Fixnum. Happens for symbols too.

this fix is worth backporting, using Fixnum as an external id has been broken since https://github.com/ejholmes/restforce/commit/f61689926418cab4622578a0e8b016fffc606947
irb(main):001:0> URI.encode(1)
NoMethodError: undefined method `gsub' for 1:Fixnum
        from /Users/vlad/.rbenv/versions/2.3.3/lib/ruby/2.3.0/uri/rfc2396_parser.rb:305:in `escape'
        from /Users/vlad/.rbenv/versions/2.3.3/lib/ruby/2.3.0/uri/common.rb:100:in `escape'
        from (irb):1
        from /Users/vlad/.rbenv/versions/2.3.3/bin/irb:11:in `<main>'
irb(main):002:0>

@AlexandruCD Thanks for taking the time to fix this :heart:


Autorest Regen Preview to 3.0.0-alpha.20240224.1 by Dapeng Zhang from refs/pull/4255/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/4255

API change check
API changes are not detected in this pull request.


False positive on Lint/UselessAssignment

Given this code
        item_fq = label_source.respond_to?(:fq) ? label_source.fq : {}
        item_fq = item_fq.symbolize_keys
        label_value = facet_config.pivot.map(&:to_sym).map { |k| item_fq[k] }

I see these offenses:
Offenses:

app/presenters/blacklight/facet_item_pivot_presenter.rb:26:9: W: Lint/UselessAssignment: Useless assignment to variable - item_fq.
        item_fq = item_fq.symbolize_keys
        ^^^^^^^

But it is clearly used on the very next line.
Furthermore, when I try to disable this cop for this line
        # rubocop:disable Lint/UselessAssignment
        item_fq = item_fq.symbolize_keys
        # rubocop:enable Lint/UselessAssignement

I get the following error:
Offenses:

app/presenters/blacklight/facet_item_pivot_presenter.rb:27:1: W: Lint/MissingCopEnableDirective: Re-enable Lint/UselessAssignment cop with # rubocop:enable after disabling it.
        # rubocop:disable Lint/UselessAssignment
^
app/presenters/blacklight/facet_item_pivot_presenter.rb:27:9: W: [Correctable] Lint/RedundantCopDisableDirective: Unnecessary disabling of Lint/UselessAssignment.
        # rubocop:disable Lint/UselessAssignment
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/presenters/blacklight/facet_item_pivot_presenter.rb:29:26: W: [Correctable] Lint/RedundantCopEnableDirective: Unnecessary enabling of Lint/UselessAssignement.
        # rubocop:enable Lint/UselessAssignement
                         ^^^^^^^^^^^^^^^^^^^^^^^

Using rubocop 1.37.1

Hello @jcoyne , I wanted to give this a look but I cannot reproduce either with 0.37.1 or master, I tried with the following file:
item_fq = label_source.respond_to?(:fq) ? label_source.fq : {}
item_fq = item_fq.symbolize_keys
label_value = facet_config.pivot.map(&:to_sym).map { |k| item_fq[k] }

and the only offenses I get are:
example.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
item_fq = label_source.respond_to?(:fq) ? label_source.fq : {}
^
example.rb:3:1: W: Lint/UselessAssignment: Useless assignment to variable - label_value. Did you mean label_source?
label_value = facet_config.pivot.map(&:to_sym).map { |k| item_fq[k] }
^^^^^^^^^^^

Could you share a reproducible example for this issue?

This cleared up with one of the  recent releases. I have no further problems. Thank you.


is_zero_hole is intended for proactive randomization, but there is a (miniscule) chance that sum of two polynomials will have lower degree

https://github.com/oasisprotocol/oasis-core/blob/b0e6bc88be7a3fe051ea1d35b06e8d33691d5aec/secret-sharing/src/poly/univariate.rs#L85
The is_zero_hole and to_zero_hole methods are used for proactive polynomial randomization.  however, we aren't doing anything to ensure that h(x) = f(x) + g(x) where g(x) is a zero hole polynomial would yield deg h = deg f.  a suggestion is to normalize the polynomial representation to require the leading coefficient to be 1.  The roots of a polynomial f(x) and the monic version derived by multiplying the coefficients with the multiplicative inverse of the leading coefficients will be the same, and when we add two polynomials in this representation, we just have to multiply by TWO_INV, which is required by ff::PrimeField, through the coefficient sums.
While the probability of polynomial degree reduction is miniscule, this should be an easy change to avoid the possibility altogether.

nb:  let to-monic(f) be a function on polynomials that does what the name suggests.
let f(x) and g(x) be any degree d polynomial.  in general, to-monic(to-monic(f) + to_monic(g)) \ne to-monic(f+g), and to-monic and + do not commute.
however, there exists g' such that to-monic(to-monic(f) + to-monic(g')) = to-monic(f + g), so the space of all possible polynomials is reachable.


Update link for no_std attribute.

There was some reorganization in the reference as part of https://github.com/rust-lang/reference/pull/937.

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit f44bc9864d0aa69cd6ad5c75324296b2b49becc0 has been approved by alexcrichton

:hourglass: Testing commit f44bc9864d0aa69cd6ad5c75324296b2b49becc0 with merge 1ca930b6c93a5d2b964d44edbfbbf2ff7872dd12...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 1ca930b6c93a5d2b964d44edbfbbf2ff7872dd12 to master...


[HUDI-6855] Exclude .hoodie_partition_metadata file in base file group

Change Logs
Currently Hudi will build FileGroups for .hoodie_partition_metadata.parquet, and resovle the .hoodie as fileId, metadata as commit time.
Although these partiition metadata file groups will be filtered when comparing commit time, we can remove them while building file groups.
Impact
No
Risk level (write none, low medium or high below)
low
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

test-hudi-hadoop-mr-and-hudi-java-client (scala-2.12, spark3.2, flink1.17) in GH action is flaky.  Azure CI is green.
Merging this PR.


Add fixes for ThemeData

This adds flutter/dart fixes for https://github.com/flutter/flutter/pull/81336 which deprecated several properties of ThemeData
There is a full migration guide available at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties
Part of https://github.com/flutter/flutter/issues/74908
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@HansMuller PTAL. :)


Implement multicore and multicore instructions

This will significantly affect the memory model, although the code should be quite simple. All instructions marked LABS in the reference manual require multicore support. The maximum number of cores in an Epiphany chip is 4095.

Moved to futurecore/epiphany-simulator


The back button still enable when LoadingDialog is showing

Describe the bug
When the LoadingDialog is showing the back button press will go to last page.
To Reproduce
Steps to reproduce the behavior:
Here‘s two page ：
public partial class MainPage : ContentPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private async void Button_Clicked(object sender, EventArgs e)
        {
            View1 view1 = new View1();
           await Navigation.PushModalAsync(view1);
        }
    }

public partial class View1 : ContentPage
    {
        public View1()
        {
            InitializeComponent();
        }

        private async void Button_Clicked(object sender, EventArgs e)
        {
            var dialog = await MaterialDialog.Instance.LoadingDialogAsync(message: "获取数据中……");
            await Task.Delay(5000);
            dialog.Dispose();
        }
    }

When the loadingdialog is showing,I press back button on android,it back to MainPage, but the loadingdialog still showing,after 5s loadingdialog hide.

How was this solved??

Hi, please update to the latest version. And instead of callingDispose to remove the dialog, you can now call DismissAsync.

Thanks...Question is there a way to change the activity indicator color within the loading dialog??

Yes, look for the overload method that takes the parameter of the type MaterialLoadingDialogConfiguration.
var loading = await MaterialDialog.Instance.LoadingDialogAsync("Please wait...", new XF.Material.Forms.UI.Dialogs.Configurations.MaterialLoadingDialogConfiguration
{
     TintColor = Color.Red
});

For now the loading dialog cannot by dismissed by pressing the back button on Android. If you used it in a using block, it will automatically be dismissed once the task inside the has completed, no need to call the DismissAsync. I'm still looking for a way to create an implementation where the user can cancel the dialog along with the task that is running. May be next year though.

Okay no problem.

I use new version <IP_ADDRESS>,but the problem is same, I use this code:
 [XamlCompilation(XamlCompilationOptions.Compile)]
    public partial class View1 : ContentPage
    {
        public View1()
        {
            InitializeComponent();
        }

        private async void Button_Clicked(object sender, EventArgs e)
        {
            using (await MaterialDialog.Instance.LoadingDialogAsync(message: "Something is running"))
            {
                await Task.Delay(5000); // Represents a task that is running.
            }

        }
    }

Hi, did you override the OnBackPressed on Android like this:
public override void OnBackPressed()
{
    XF.Material.Droid.Material.HandleBackButton(base.OnBackPressed);
}

No,so I need to override it?


TestCases::pass checks stdout if the file exists

Closes #64

Done, It should now have the behavior you expect. Thanks for your time!

It is because when before compiled correctly it has been cached and does not recompile so there is no output.
Should I force recompile in all cases?
How do you want to solve this?

The problem is when launching the cargo clean --package. Just clean the crate in question, not the build dependency crates, in this case the test-suite-trybuild.
Removing these two lines solves the problem, although the compilations will always be complete. Build-dependencies are simple, but I don't know how to detect proc_macro crates,

If you are testing the same crate it works perfectly.
Moving these tests to test-suite-trybuild crate and warning in the documentation of undesirable caches in dependencies.

Solved, I move this coverage to trybuild-test-suite. But in macos and windows no have stdout, there is something wrong with the macro print! in proc-macro context and this systems.

Closes


C# Compilation Errors Not Recognized Until File Opened

From vscode-dotnettools created by lcompton: microsoft/vscode-dotnettools#401
Type: Bug

Install Unity extension in VS Code
Configure a Unity project to use VS Code per extension instructions
Configure C# extension in VS Code such that both Dotnet Background Analysis settings are set to "fullSolution", do this for both User and Workspace
Create severlal C# scripts one of which should contain compilation errors
Close VS Code
Open a working C# scipt from Unity

Actual Result
Script with errors is not highlighted in red, until it is opened.
Expected Result
Script name should be highlighted in red and errors should listed in "PROBLEMS"
Extension version: 0.9.0
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30792227
vscaat:30438848
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
2e4cg342:30602488
f6dab269:30613381
showlangstatbar:30737416
a2ce3375:30757347
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30812749

@jbevain would you please provide your non Unity repro for this?

@arkalyanms, yep, I can share privately within Microsoft.


Fix global replace to implement Owner/Winner -> Seller/Buyer

Parenthesis in regex were causing artbot to not replace Owner and Winer with Seller and Buyer, respectively. Also, updated to only globally replace Winner since Owner will be at the start of description, and that is all that we want to replace.

@jakerockland I missed that the regex including parenthesis in PR #118, so updating the regex to match Owner and Winner for this PR.
No way to test triager locally at the moment, but I'm confident that this will run fine!


Fix multi classification issues

Change multi-class scoring metric to f1_score and improve scoring return to only return negatives for metrics that you want higher values

Coverage increased (+0.8%) to 80.973% when pulling db130282fe9eb9f85acb15cf1dcdf86d0a8fc7dd on adithyabsk:multiclass_fixes into 4b7e0e759023cdbc96b471c64bfd67203e2b5734 on ClimbsRocks:master.


Dev faran

This PR adds various refactoring on the pages components, MainLayout, and other structural codebase. It also sets up the Vue Store for usage across the app.

I had the issue with the "middlewares" folder again. Let's try to fix this for the next merge. Otherwise, the code is fine.

I had the issue with the "middlewares" folder again. Let's try to fix this for the next merge. Otherwise, the code is fine.


Main Window isn't displayed when setting WindowState to FullScreen before first render

Setting WindowState=FullScreen on my main window anytime before it is first rendered is causing it to never render. If I instead set the WindowState in the Render() override, or anything that happens after that, it works as expected.
I'm running on Windows 10.
The Window is set up with the boilerplate code:
public override void OnFrameworkInitializationCompleted()
{
   if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
   {
      desktop.MainWindow = new MainWindow
      {
         DataContext = new MainWindowViewModel(),
      };
   ...

The Window starts with a Grid with a few controls, one of which starts some Animations immediately. It also has some resources and styles.
@danwalmsley
Using nightly build 0.9.999-cibuild0007800-beta

This isssue covers the same problem as #4204 and that one has been closed because the issue is fixed. Having WindowState=FullScreen in XAML works fine on Avalonia 11.0.4 Windows Desktop.
Perhaps this issue can be closed? @comet56us @danwalmsley

Closing this as outdated. Please ping me if reproducible in 11.0


Add ecthelionvi/NeoComposer.nvim

Repo URL:
https://github.com/...
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR! You're missing the author in the visible part of the URL.

Thanks for the PR! You're missing the author in the visible part of the URL.

Sorry about that, I add a new commit, with the fix.


feat: add loading state for quote-expanded

Summary
Added a loading state for expanded-quote
How did you test this change?
the expanded quote has a loading prop or you can use expanded-quote-skeleton directly.
Checklist:

[x] I have performed a self-review of my code
[x] Implemented a user interface (UI) change, referencing our Figma design to ensure pixel-perfect precision.

The height of RouteContainer is a little different when the value of loading is equal to true. I think it maybe cause small lags when switching the loading value.


FIX: Nested Records of objects of objects.

Motivation
https://github.com/datamill-co/target-postgres/issues/109
This PR exists to lay down test cases which our denesting should handle but currently doesn't.
Suggested Musical Pairing
Springtime in Milwaukee.

@CStejmar 🏓


exo: 0-unstable-2024-10-02 -> 0-unstable-2024-10-03

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 346514

x86_64-linux

:white_check_mark: 2 packages built:

exo
exo.dist

aarch64-linux

:white_check_mark: 2 packages built:

exo
exo.dist

x86_64-darwin

aarch64-darwin

:fast_forward: 2 packages marked as broken and skipped:

exo
exo.dist


Search results display usability improvements and integration into maven and gradle plugins

Search results are markers on the AST elements. They need to be displayed as language specific comments. Otherwise if they are displayed as squiggly arrows, they make the resultant code invalid.
We want to have some sensible defaults per language with an ability to supply custom value for such comments.
Proposed default is TODO(rewrite) in the comment style of each language, for example /* TODO(rewrite) */ in Java. TODO is integrated with IDEs, this is why we pick this for now.
At execution time, users should be able to supply their own markers values to be replaced in the comments.
Maven and Gradle plugins have diff task right now that produce diff patch. Search results will be displayed in diff patch by displaying markers as comments. An option will be added to change the default value of the marker comment.
Also add search as an alias to diff task. This would make searching more discoverable. Having it as diff would require more explanation for the new user that search is just marking the code.

gradle plugin doesn't have diff task. Add to gradle plugin and evaluate for parity with maven overall.

Also see
https://github.com/openrewrite/rewrite-maven-plugin/issues/70


cordova app distribution in appcenter.ms

Hi,
from April next year cordova apps are not longer supported in the https://appcenter.ms/apps. We have a couple of cordava apps, and use the app center only for distribution. Will this still be available after April 2022, can we continue to use this? Or is this no longer possible?
Hope you can clarify this for us.
Thansk in advance.

We have the same question. In October 15th, it was announced that the CodePush support for Cordova apps will be discontinued. I'd like to make sure we will not be in trouble once April 2022 comes around. We currently build apps for Android (Java/Kotlin platform) and iOS (Obejctive-C/Swift platform), with Cordova as our app framework. We do not use any CodePush features. Will we be okay in April?

Hi,
@loketmobility, distribution through Codepush should still work right now, but we cannot guarantee that it will continue working in the future. As stated here, we are retiring our preview for Cordova including Cordova-codepush-plugin.
@cmeury is it the Build service that you use with your Cordova application today? Do you use the Custom type of application in your configuration?

@akamenev Yes, building applications and offering it to internal testers at install.appcenter.ms. We use "iOS" and "Android" for the OS selection in our apps, not custom. If that's what you were referring to?

Hi Andrei,
we don't use Codepush. We just publish/upload the app in the releases/new release and via de QR code users can install the app.
[cid:ef479bde-e49e-43ec-9f72-e7cf7a44aa77]
If this is still working after april 2022 then it's fine, but if it's not then we have to find an alternative.
kind regards,
LoketMobility

Van: Andrei Kamenev @.>
Verzonden: dinsdag 16 november 2021 09:57
Aan: microsoft/appcenter @.>
CC: loketmobility @.>; Mention @.>
Onderwerp: Re: [microsoft/appcenter] cordova app distribution in appcenter.ms (Issue #2318)
Hi,
@loketmobilityhttps://github.com/loketmobility, distribution through Codepush should still work right now, but we cannot guarantee that it will continue working in the future. As stated herehttps://devblogs.microsoft.com/appcenter/announcing-apache-cordova-retirement/, we are retiring our preview for Cordova including Cordova-codepush-plugin.
@cmeuryhttps://github.com/cmeury is it the Build service that you use with your Cordova application today? Do you use the Custom type of application in your configuration?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/appcenter/issues/2318#issuecomment-970057840, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMCHJGKHV2VA544MXGZH3VTUMIMJPANCNFSM5IBN47DA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@cmeury @loketmobility
We don't have any plans to change the IPA/APK/AAB distribution functionality so it should work regardless of the framework you use to build it.


aws_region is mandatory for AWS cluster but not validated

I'm creating a deployment with playbook using cluster role from this repo: https://github.com/SUSE/qe-sap-deployment/pull/202
I noticed that, if I forgot to provide aws_region, the role fails as the variable is needed by task Ensure config file has cluster block.
That's fine but:

it is not properly documented in the readme,  in the Required variables for AWS section of https://github.com/sap-linuxlab/community.sles-for-sap/blob/00c51824c9d338301705538564bd3a22a7cc1827/roles/cluster/README.md?plain=1#L144
it is not validated by task Ensure that AWS specific variables are supplied

PR was merged.


TP-662 Add certificate update view WIP

Still working on validation for update view. Next I need to do the confirmation page and the update description view.

Tests are coming, sorry

Codecov Report

Merging #238 (39e86f8) into master (fdd62bf) will decrease coverage by 0.05%.
The diff coverage is 48.27%.

@@            Coverage Diff             @@
##           master     #238      +/-   ##
==========================================
- Coverage   62.10%   62.05%   -0.06%
==========================================
  Files         186      187       +1
  Lines       11563    11668     +105
  Branches      878      887       +9
==========================================
+ Hits         7181     7240      +59
- Misses       4184     4231      +47
+ Partials      198      197       -1

Impacted Files
Coverage Δ

certificates/models.py
10.00% <ø> (+0.56%)
:arrow_up:

commodities/models.py
13.82% <0.00%> (-0.23%)
:arrow_down:

common/models/records.py
47.41% <0.00%> (-1.14%)
:arrow_down:

geo_areas/models.py
8.62% <0.00%> (-1.00%)
:arrow_down:

common/forms.py
28.35% <50.00%> (-4.98%)
:arrow_down:

certificates/forms.py
51.72% <51.72%> (ø)

common/views.py
68.36% <66.66%> (-0.06%)
:arrow_down:

certificates/views.py
85.10% <69.56%> (-14.90%)
:arrow_down:

certificates/urls.py
100.00% <100.00%> (ø)

measures/filters.py
54.79% <100.00%> (+1.04%)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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


Critical: Test counts in US states are missing starting on May 26

Location, date, and short issue description
All US states except for California are missing tested counts.
File
timeseries.csv
Issue details
Starting on May 26, all states except CA have NA for tested. For the following days there are some positive values and then it goes dark for most of June.
Snippet/screenshot
ts <- read_csv(covid.csv.url, col_types=cols_only(level='c',city='c',county='c',state='c',country='c',population='d',date='D',cases='d',deaths='d',tested='d'))
ggplot(filter(ts, country=='United States' & level=='state'), aes(x=date, y=tested, group=state)) + geom_line()

Hi @dkulp2, following up on this. Has this been fixed in the new reports at https://covidatlas.com/data? We had been missing some data but I believe it's back now. Cheers! jz