Updated end param and added EmmaDateConverter to member field properties

Minor tweaks as I start building my integration with Emma. Can make it push-able to NuGet too if warranted.

Hey @MikeSmithDev,
Thanks for the PR. Looks like you're work is a few commits behind and most of this is out of date with the latest stuff. Also so you know, pagination was added as optional parameters to most of the list calls, or those calls where results may potentially be greater than 500.
Also, yes, I've got myGet/NuGet integration working. Repo is on myget already, and once we're ready for a release, I'll push to NuGet.
Thanks for taking the time to commit some work. I think at this point this PR should be closed, but let me know if you have any other concerns.


[REEF-255]:Org.Apache.REEF.Bridge.JAR does not re-copy the JARs upon …

…cleaning of the packages
This addressed the issue by embedding the jars in Org.Apache.REEF.Client.dll
Endusers do not need to add a JAR nuget reference anymore.
JIRA: REEF-456
This closes #

@beysims I'll do a pass.

During the build lang/cs/Org.Apache.REEF.Client/Properties/Resources.resx is modified. This is tricky, as we will have this file in all future commits, right? Can we generate it as part of the build? Or not override it?

Do we still need to produce a JAR NuGet with this change? If not, we should remove the .nuspec and the build hook as part of this.

@beysims I'm done with my pass. Tests pass on my machine.

@markusweimer  I finished this pass

@beysims are the changes pushed in? I don't see a new commit.

@markusweimer,  Sorry, just pushed

@beysims Thanks, testing it now.

This seems to break some tests:
Test Name:	CanRunClrBridgeExampleOnLocalRuntime
Test FullName:	Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.CanRunClrBridgeExampleOnLocalRuntime
Test Source:	c:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestBridgeClient.cs : line 59
Test Outcome:	Failed
Test Duration:	0:00:00.4806667

Result Message:
Test method Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.CanRunClrBridgeExampleOnLocalRuntime threw exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
Result StackTrace:
at Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.AddAssemblies() in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 127
   at Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.PrepareDriverFolder(IJobSubmission jobSubmission, String driverFolderPath) in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 87
   at Org.Apache.REEF.Client.Local.LocalClient.Submit(IJobSubmission jobSubmission) in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Local\LocalClient.cs:line 89
   at Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.RunClrBridgeClient(Boolean runOnYarn) in c:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestBridgeClient.cs:line 67

@markusweimer  please pull and take a look again.

testing

Looks like nothing changed:
Test Name:	CanRunClrBridgeExampleOnLocalRuntime
Test FullName:	Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.CanRunClrBridgeExampleOnLocalRuntime
Test Source:	c:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestBridgeClient.cs : line 59
Test Outcome:	Failed
Test Duration:	0:00:00.4754283

Result Message:
Test method Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.CanRunClrBridgeExampleOnLocalRuntime threw exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
Result StackTrace:
at Org.Apache.REEF.Common.Files.ResourceHelper..ctor(Assembly assembly) in c:\src\reef\lang\cs\Org.Apache.REEF.Common\Files\ResourceHelper.cs:line 36
   at Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.AddAssemblies() in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 125
   at Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.PrepareDriverFolder(IJobSubmission jobSubmission, String driverFolderPath) in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 85
   at Org.Apache.REEF.Client.Local.LocalClient.Submit(IJobSubmission jobSubmission) in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Local\LocalClient.cs:line 89
   at Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.RunClrBridgeClient(Boolean runOnYarn) in c:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestBridgeClient.cs:line 67

And:
Test Name:	RunSimpleEventHandlerOnLocalRuntime
Test FullName:	Org.Apache.REEF.Tests.Functional.Bridge.TestSimpleEventHandlers.RunSimpleEventHandlerOnLocalRuntime
Test Source:	c:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestSimpleEventHandlers.cs : line 51
Test Outcome:	Failed
Test Duration:	0:00:00.0467043

Result Message:
Test method Org.Apache.REEF.Tests.Functional.Bridge.TestSimpleEventHandlers.RunSimpleEventHandlerOnLocalRuntime threw exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
Result StackTrace:
at Org.Apache.REEF.Common.Files.ResourceHelper..ctor(Assembly assembly) in c:\src\reef\lang\cs\Org.Apache.REEF.Common\Files\ResourceHelper.cs:line 36
   at Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.AddAssemblies() in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 125
   at Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper.PrepareDriverFolder(IJobSubmission jobSubmission, String driverFolderPath) in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Common\DriverFolderPreparationHelper.cs:line 85
   at Org.Apache.REEF.Client.Local.LocalClient.Submit(IJobSubmission jobSubmission) in c:\src\reef\lang\cs\Org.Apache.REEF.Client\Local\LocalClient.cs:line 89
   at Org.Apache.REEF.Tests.Functional.Bridge.TestSimpleEventHandlers.RunSimpleEventHandlerOnLocalRuntime() in c:\src\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestSimpleEventHandlers.cs:line 53

Full test logs:
------ Run test started ------
UTA007: Method TestBroadcastAndReduce defined in class Org.Apache.REEF.Tests.Functional.Group.BroadcastReduceTest does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void  and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, return-type must be Task if you are running async unit tests. Example: public async Task Test.Class1.Test2()
UTA007: Method TestScatterAndReduce defined in class Org.Apache.REEF.Tests.Functional.Group.ScatterReduceTest does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void  and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, return-type must be Task if you are running async unit tests. Example: public async Task Test.Class1.Test2()
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Newtonsoft.Json.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Newtonsoft.Json.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Newtonsoft.Json.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Utilities.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Utilities.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Utilities.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Microsoft.Hadoop.Avro.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Microsoft.Hadoop.Avro.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Microsoft.Hadoop.Avro.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\protobuf-net.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\protobuf-net.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\protobuf-net.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Wake.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Wake.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Wake.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Core.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Core.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Core.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Interfaces.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Interfaces.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Interfaces.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Common.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Common.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Common.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Driver.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Driver.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Driver.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Network.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Network.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Network.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Newtonsoft.Json.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Newtonsoft.Json.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Newtonsoft.Json.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Driver.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Driver.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Driver.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Tang.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Tang.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Tang.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.Hadoop.Avro.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.Hadoop.Avro.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.Hadoop.Avro.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\protobuf-net.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\protobuf-net.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\protobuf-net.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Utilities.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Utilities.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Utilities.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Wake.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Wake.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Wake.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Common.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Common.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Common.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Core.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Core.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Core.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Interfaces.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Interfaces.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Interfaces.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Client.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Client.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Client.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.WindowsAzure.Storage.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.WindowsAzure.Storage.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.WindowsAzure.Storage.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.AllHandlers.exe' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.AllHandlers.exe': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.AllHandlers.exe' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to get the file for deployment item 'Data' (output directory '.'): System.IO.FileNotFoundException: Could not find file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Data'.
System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain. This can happen if the test(s) started a thread but did not stop it. Make sure that all the threads started by the test(s) are stopped before completion.
========== Run test finished: 463 run (0:04:25.5610652) ==========

@beysims and I have been debugging this offline a bit. The issue seems to be that Org.Apache.REEF.Client.dll for me does not, in fact, contain the REEF jar:
reef [PR-328]> (Get-Item .\lang\cs\bin\x64\Release\Org.Apache.REEF.Client\Org.Apache.REEF.Client.dll).length
24064

Hence, the DLL is ~24kB in size and can't possibly contain the JAR.
What is worrying is that the build actually succeeded.

This seems to be a build order issue. Upon a second build of REEF, I get:
reef [PR-328]> (Get-Item .\lang\cs\bin\x64\Release\Org.Apache.REEF.Client\Org.Apache.REEF.Client.dll).length
42776064

@beysims Could it be that the dependency of Org.Apache.REEF.Client on Org.Apache.REEF.Bridge.JAR is not recorded? Also, the first build should have failed because the JAR does not exist, right?

@markusweimer, it should work with the latest push.

OK. testing.

The first build of this in VS or from the command line succeeds, and produces a DLL of ~42MB. I'll report on test results using that build separately.
However, subsequent builds fail, both from the command line and in Visual Studio. The reason is that the first build adds a file, lang/cs/Org.Apache.REEF.Client/Properties/Resources.resx. This file doesn't have the proper license header, hence RAT fails. Also, this file is shown in git status after the build, and we run the risk of adding it to the repository which would be good to avoid for build output.
Is it possible to move generated files into output folders of the project in .NET? On the Java side, we put them into target/ and its subfolders. That folder is ignored by both Git and RAT. Also, it makes clean a much more deterministic build target.

Test results are in. The good news: The tests that failed before now pass.
The bad news: Bizarrely, I now see different tests fail:
Test Name:	TestHttpRequestSerializationBytesRoundTrip
Test FullName:	Org.Apache.REEF.Common.Tests.TestHttpSerialization.TestHttpRequestSerializationBytesRoundTrip
Test Source:	c:\src\reef\lang\cs\Org.Apache.REEF.Common.Tests\TestHttpSerialization.cs : line 59
Test Outcome:	Failed
Test Duration:	0:00:00

Result Message:	Unable to create instance of class Org.Apache.REEF.Common.Tests.TestHttpSerialization. Error: System.TypeInitializationException: The type initializer for 'Org.Apache.REEF.Common.Tests.TestHttpSerialization' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'Org.Apache.REEF.Utilities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
Result StackTrace:
at Org.Apache.REEF.Common.Tests.TestHttpSerialization..cctor()
 --- End of inner exception stack trace ---
    at Org.Apache.REEF.Common.Tests.TestHttpSerialization..ctor()

And:
Test Name:	TestHttpRequestSerializationJasonRoundTrip
Test FullName:	Org.Apache.REEF.Common.Tests.TestHttpSerialization.TestHttpRequestSerializationJasonRoundTrip
Test Source:	c:\src\reef\lang\cs\Org.Apache.REEF.Common.Tests\TestHttpSerialization.cs : line 41
Test Outcome:	Failed
Test Duration:	0:00:00

Result Message:	Unable to create instance of class Org.Apache.REEF.Common.Tests.TestHttpSerialization. Error: System.TypeInitializationException: The type initializer for 'Org.Apache.REEF.Common.Tests.TestHttpSerialization' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'Org.Apache.REEF.Utilities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
Result StackTrace:
at Org.Apache.REEF.Common.Tests.TestHttpSerialization..cctor()
 --- End of inner exception stack trace ---
    at Org.Apache.REEF.Common.Tests.TestHttpSerialization..ctor()

Full test logs:
------ Discover test started ------
UTA007: Method TestBroadcastAndReduce defined in class Org.Apache.REEF.Tests.Functional.Group.BroadcastReduceTest does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void  and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, return-type must be Task if you are running async unit tests. Example: public async Task Test.Class1.Test2()
UTA007: Method TestScatterAndReduce defined in class Org.Apache.REEF.Tests.Functional.Group.ScatterReduceTest does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void  and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, return-type must be Task if you are running async unit tests. Example: public async Task Test.Class1.Test2()
========== Discover test finished: 19 found (0:00:00.4570229) ==========
------ Run test started ------
UTA007: Method TestBroadcastAndReduce defined in class Org.Apache.REEF.Tests.Functional.Group.BroadcastReduceTest does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void  and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, return-type must be Task if you are running async unit tests. Example: public async Task Test.Class1.Test2()
UTA007: Method TestScatterAndReduce defined in class Org.Apache.REEF.Tests.Functional.Group.ScatterReduceTest does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void  and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, return-type must be Task if you are running async unit tests. Example: public async Task Test.Class1.Test2()
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Newtonsoft.Json.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Newtonsoft.Json.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Newtonsoft.Json.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Utilities.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Utilities.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Utilities.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Microsoft.Hadoop.Avro.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Microsoft.Hadoop.Avro.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Microsoft.Hadoop.Avro.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\protobuf-net.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\protobuf-net.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\protobuf-net.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Wake.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Wake.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Wake.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Core.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Core.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Core.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Interfaces.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Interfaces.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\System.Reactive.Interfaces.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Common.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Common.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Common.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Driver.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Driver.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Driver.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Network.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Network.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Network.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Tang.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tang.Tests\Org.Apache.REEF.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Newtonsoft.Json.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Newtonsoft.Json.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Newtonsoft.Json.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Driver.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Driver.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Driver.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Tang.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Tang.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Tang.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.Hadoop.Avro.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.Hadoop.Avro.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.Hadoop.Avro.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\protobuf-net.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\protobuf-net.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\protobuf-net.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Utilities.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Utilities.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Utilities.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Wake.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Wake.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Wake.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Common.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Common.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Common.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Core.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Core.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Core.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Interfaces.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Interfaces.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\System.Reactive.Interfaces.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Client.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Client.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Client.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.WindowsAzure.Storage.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.WindowsAzure.Storage.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Microsoft.WindowsAzure.Storage.dll' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.AllHandlers.exe' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.AllHandlers.exe': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Examples.AllHandlers.exe' because it is being used by another process.
Test Run deployment issue: Failed to copy file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.Examples.dll' to 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.Examples.dll': System.IO.IOException: The process cannot access the file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Org.Apache.REEF.Network.Examples.dll' because it is being used by another process.
Test Run deployment issue: Failed to get the file for deployment item 'Data' (output directory '.'): System.IO.FileNotFoundException: Could not find file 'C:\src\reef\lang\cs\bin\x64\Release\Org.Apache.REEF.Tests\Data'.
========== Run test finished: 465 run (0:05:31.6013731) ==========

@markusweimer moved resx to a bin directory. Please check

@markusweimer I have not made changes around TestHttpSerialization. Not sure if this is related to this PR.

Those tests pass in current master, though. Hence, a change here might be triggering their failure. I'll re-run tests with the latest push and report.

OK, I can now build twice in a row and the DLL is 42MB in size.

Good news. All tests now pass. Shall we attribute the failure earlier to MSBuild randomization and call it a day? If so, can you please address the last open comment such that I can merge it in time before the 0.13 cutoff?

Yay!

I did clean build. The file size is correct. But I don't see the jar file in client.dll. Is the jar party of the client.dll?
REEF.Tests project still copies the jar file. Shall we remove it?

Yes, the idea is very much that the JAR is part of the DLL. And yes, we should probably remove the logic that copies it around by itself.

Tests passed in my machine as well.

Tests passed in my machine as well.

Great! @beysims Can you address the last open comment about documentation and visibility of ResourceHelper?
After that, I can merge it. We should, however, also file an issue with the changes needed to the tests and other code which might still needlessly copy the JAR. @jwang98052 you know that code best, can you enumerate the places in a JIRA?

In order to minimize the impact this change has on current and future users, we should keep the NuGet for Org.Apache.REEF.Bridge.JAR, but remove it from the Org.Apache.REEF.All NuGet. That way, new users will be able to benefit from this change, while old users need to only change one line in their build files, to add the Org.Apache.REEF.Bridge.JAR NuGet.

Removed jar nuget dependency for all nuget.

@markusweimer I pushed latest iteration

@beysims Thanks, I will test and merge.

I will edit the final commit to refer to REEF-494, as that is the place we first proposed the solution implemented here.

Tests pass, I will merge


guides/gcs: service account permissions

Under the service account section it says

Next, you'll need to grant the Storage Object Creator and Storage Object Viewer roles to your service accounts so they can read & write data. Then click the "Done" button.

I'm running continuous replication and I see a lot of messages like this in my logs
 /somepath.db(gcs): retainer error: snapshot: googleapi: Error 403<EMAIL_ADDRESS>does not have storage.objects.delete access to the Google Cloud Storage object., forbidden

Removing the roles named above and adding the role roles/storage.objectAdmin has fixed the problem.

Thanks! Fixed up.


Update behavior when user password changed

As discussed with Ravi Vennapusa, SSO and CA will fail with tokens issues via old password, so resources are secured until user reauthenticates. This change was proposed by Ravi via email based on the discussion on 10/28/2021.

@juntakata : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Thanks @juntakata
#sign-off


ZipFile error

I am getting an error on python2.6 on the following script that works fine in python2.7, is this something that is fixable?
I can mitigate it with the fix in https://github.com/vidar/python-pptx/commit/3c87a0fd311c4f22a428877719638409cf4edd97 but that is obviously not a long term approach.
from pptx import Presentation

if __name__ == '__main__':
    prs = Presentation()
    slidelayout = prs.slidemasters[0].slidelayouts[5]
    img_slide = prs.slides.add_slide(slidelayout)
    prs.save('test.pptx')

gives the following stacktrace:
(DM)vidar@berzerker:~$ python a.py
Traceback (most recent call last):
  File "a.py", line 7, in <module>
    prs.save('test.pptx')
  File "/Users/vidar/.virtualenvs/DM/src/pptx/pptx/api.py", line 64, in save
    return self.__package.save(path)
  File "/Users/vidar/.virtualenvs/DM/src/pptx/pptx/presentation.py", line 125, in save
    pkgng_pkg.save(path)
  File "/Users/vidar/.virtualenvs/DM/src/pptx/pptx/packaging.py", line 134, in save
    zipfs.write_element(cti.element, '/[Content_Types].xml')
  File "/Users/vidar/.virtualenvs/DM/src/pptx/pptx/packaging.py", line 849, in write_element
    if itemURI in self:
  File "/Users/vidar/.virtualenvs/DM/src/pptx/pptx/packaging.py", line 687, in __contains__
    return itemURI in self.itemURIs
  File "/Users/vidar/.virtualenvs/DM/src/pptx/pptx/packaging.py", line 811, in itemURIs
    zip = zipfile.ZipFile(self.path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 696, in __init__
    self._GetContents()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 716, in _GetContents
    self._RealGetContents()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 728, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file

I am also getting the same problem. My code is:import zipfile
arg = sys.argv[1]
f_name=arg
Extract_folder=os.path.splitext(arg)[0]
current=os.path.curdir
def Extract_Windows_Component():
extract_component=os.path.join(os.path.curdir,f_name)
print extract_component
print Extract_folder
with zipfile.ZipFile(extract_component, 'r') as z:
z.extract(Extract_folder)
Extract_Windows_Component()
and i am getting the error
File "C:\Python25\lib\zipfile.py", line 366, in _GetContents
self._RealGetContents()
File "C:\Python25\lib\zipfile.py", line 378, in _RealGetContents
raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file


x/tools/gopls: Labels are treated as parameters when assigning semantic tokens

gopls version
0.14.2-1
go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/anthony93/.cache/go-build'
GOENV='/home/anthony93/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/anthony93/Devfiles/.go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/anthony93/Devfiles/.go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/lib/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/lib/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/anthony93/Devfiles/testing/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build410492386=/tmp/go-build -gno-record-gcc-switches'

What did you do?
Create a label called mylabel and then inspect the semantic token assigned to it using an inspection tool.
What did you see happen?
The language server treats mylabel as function parameters rather than a keyword or a variable.
On Neovim:

On VsCode:

What did you expect to see?
I'm not sure if it's because I'm misinterpreting the language, but I don't think labels and function parameters are semantically equivalent. I would expect a more appropriate semantic token to be assigned to labels. Either that, or don't assign any semantic tokens to labels at all—a syntax highlighter like Treesitter can detect labels just fine since labels require a special syntax.
Editor and settings
No response
Logs
No response

The first choice for Go might be to do whatever vscode does for semantic
tokens of labels in Typescript.
On Sat, Feb 3, 2024 at 8:17 AM Anthony Shi @.***> wrote:

gopls version
0.14.2-1
go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/anthony93/.cache/go-build'
GOENV='/home/anthony93/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/anthony93/Devfiles/.go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/anthony93/Devfiles/.go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/lib/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/lib/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/anthony93/Devfiles/testing/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build410492386=/tmp/go-build -gno-record-gcc-switches'
What did you do?
Create a label called mylabel and then inspect the semantic token
assigned to it using an inspection tool.
What did you see happen?
The language server treats mylabel as function parameters rather than a
keyword or a variable.
On Neovim:
2024-02-03-21-05-49.png (view on web)
https://github.com/golang/go/assets/69449791/5d57cfc1-85ad-450a-ae76-6509fd6012da
On VsCode:
2024-02-03-20-56-53.png (view on web)
https://github.com/golang/go/assets/69449791/016cdf97-19ec-4c59-a188-de43d9c966cc
What did you expect to see?
I'm not sure if it's because I'm misinterpreting the language, but I don't
think labels and function parameters are semantically equivalent. I would
expect a more appropriate semantic token to be assigned to labels. Either
that, or don't assign any semantic tokens to labels at all—a syntax
highlighter like Treesitter can detect labels just fine since labels
require a special syntax.
Editor and settings
No response
Logs
No response
—
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/65494, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJIAIYAWJD5HPMOOZYAR33YRY2H5AVCNFSM6AAAAABCYBBALOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTMNBXG44DGOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The first choice for Go might be to do whatever vscode does for semantic tokens of labels in Typescript.
Is there a workaround for this? I don't want to turn off semantic highlighting entirely because I actually find it useful.

there is nothing at the moment. (You can turn off semantic tokens for
strings and numbers.)
Is it the color that you don't like?
On Sat, Feb 3, 2024 at 12:58 PM Anthony Shi @.***>
wrote:

The first choice for Go might be to do whatever vscode does for semantic
tokens of labels in Typescript.
Is there a workaround for this? I don't want to turn off semantic
highlighting entirely because I actually find it useful.
—
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/65494#issuecomment-1925414615, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJIAI7LUQBO5NIQHEC74MDYRZ3CXAVCNFSM6AAAAABCYBBALOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGQYTINRRGU
.
You are receiving this because you commented.Message ID:
@.***>

there is nothing at the moment. (You can turn off semantic tokens for strings and numbers.) Is it the color that you don't like?

I use LSP semantic tokens to visually differentiate between function parameters and normal variables inside function bodies. This is one feature of semantic tokens that I find particularly useful. The problem now is that labels are assigned the same semantic tokens as function parameters, causing the highlighting rules that apply to function parameters to also apply to labels. This kind of defeats my original use case, which is to visually differentiate function parameters.
And then there is also the issue with inconsistency. The current implementation of gopls only treats labels as parameters at the places where those labels are defined, not at the places where they are used (in a continue statement, for example).

In this screenshot, you can see different highlighting rules being applied to mylabel depending on where it is used. The two mylabels in this case are semantically the same even though they are not syntactically equivalent. My suggestion is to avoid assigning semantic tokens to labels altogether and just let the syntax highlighter take care of it.


convert box to shp.

Hi
I would like to convert my .csv file (box) obtained with DeepForest into a .shp file where each square of my box will be considered as a polygon.
Could someone help me?
Thanks in advance.

This error is related to an old collab file we are updating that

@gislain22 if you need more help, share the google colab and I will assist, feel free to write in french, we can google translate, @henrykironde and I love doing this stuff.

@gislain22 , I wrote a simple function to save boxes for the geopackage. Try this:
def boxes_to_geofile(raster_path=None, boxes=None, geofile='',
                     layer_name='results'):

    with rasterio.open(raster_path) as dataset:
        bounds = dataset.bounds
        pixel_size_x, pixel_size_y = dataset.res
        crs = dataset.crs

    boxes["xmin"] = (boxes["xmin"] * pixel_size_x) + bounds.left
    boxes["xmax"] = (boxes["xmax"] * pixel_size_x) + bounds.left
    boxes["ymin"] = bounds.top - (boxes["ymin"] * pixel_size_y)
    boxes["ymax"] = bounds.top - (boxes["ymax"] * pixel_size_y)

    boxes['geometry'] = boxes.apply(lambda row: box(row.xmin, row.ymin,
                                                    row.xmax, row.ymax), axis=1)

    boxes = gpd.GeoDataFrame(boxes, geometry='geometry')
    boxes.crs = crs
    boxes.to_file(geofile, driver='GPKG', layer=layer_name)

To call the function:
predicted_raster = model.predict_tile(raster_path=RASTER_PATH,  patch_size=600, patch_overlap=0.01)
or
predicted_raster = model.predict_image(path=RASTER_PATH)
boxes_to_geofile(raster_path=RASTER_PATH, boxes=predicted_raster,  geofile=GEOPACKAGE, layer_name=LAYER_NAME)
Where:
RASTER_PATH= raster path from your image;
GEOPACKAGE= file path from geopackage (the function create this file)
LAYER_NAME= name of the layer to save in the geopackage.
You can uptade the function to save the shapefile.
I hope the help you.


#33201 fix foreign keys recognition for versions H2 >= 2

Check keys folder under table in H2 connections >= 2

verified


Validate cluster.https_address at configuration and allow change if node is not part of a cluster yet.

 However I wanted to extend this setup and build a cluster now. By accident, I've set the cluster.https_address to <IP_ADDRESS>:8443s (note the s at the end) by executing lxc config set cluster.https_address=<IP_ADDRESS>:8443s.
LXD reports the following error:
Error: cannot listen on https socket: listen tcp: lookup tcp/8443s: Servname not supported for ai_socktype

Unfortunately I was not able to fix the misspelled address because changing this property is not yet supported. Running the command again shows:
Error: Changing cluster.https_address is currently not supported

Note that the node was not part of a cluster yet:
$ lxc cluster list
Error: LXD server isn't part of a cluster

I think validation of the address and/or allowing to change the address while node is not part of a cluster would be helpful.
I've changed the value using raw SQL with lxd sql. I hope this does not cause any issues now when starting to build the cluster.
Steps to reproduce

A single node LXD instance (no cluster) is needed
Set cluster.https_address to an invalid address like <IP_ADDRESS>:8443s
Try to fix it

I ran across the similar problem when creating a cluster with several old laptops. There must be something wrong when the first node was initialized. I re-created this node several times with "lxd init" before fixing the problem. I tweaked the options carefully according to my former operations and the prompts, such as the following one should be yes, then I fed it with the local cabled host network interface name:
Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]: yes
Name of the existing bridge or host interface: enp0s25


Number of seats changed to 1 in PV 49+

It supports both old and new Protocol Versions. I decided not to delete the column, because it's a breaking change.

@nikurt I will drop it on the next breaking change and major version upgrade.


Ionic 4 core using with vuejs without CDN creates 100s of files

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
Ionic beta.15

Describe the Bug
On using ionic 4 via package.json with VueJS. It creates so many chunk files in dist/js folder. The app does works but is there any way we can combine all these to a single file.
In package.json
		"@ionic/core": "4.0.0-beta.15",
		"@ionic/vue": "0.0.1",

Now in main.js I am doing
import Ionic from "@ionic/vue";
Vue.use(Ionic);

On doing a build many files are created

Ionic includes hundreds of components, and styles for both iOS and MD, a single file would be huge. This is actually a feature, not a bug.

Thanks for clarification.

Hey there, I was also asking myself this. I'm aware of the big configuration possibilities in Ionic.
I probably miss something here... To me it feels weird to load 50+ (small) files at once. Especially for users with a slow/unreliable connection. How can this work? Are there any plans to change this or it doesn't really pose a disadvantage because of some http protocol feature or something?
Thanks for reading!

@zwacky  What I feel is ionic does not load all components at once rather it load only those components that are needed by the application.

I just had a more precise look at those many requests (I'm also using Ionic with Vue).
It turns out the the requests themselves in the dev console are prefetches and Ionic only loads content for the components that are currently used like you mentioned, @stripathix.
Now it makes sense to me as I understand what these many entries in the dev console are.
(Vue basically adds all *.js files as prefetches. And with HTTP 2.0 this shouldn't give any headaches as far as I understand.)


added playwright test for delete-modal component

Checklist:

[x ] I have read and followed the contribution guidelines.
[x ] I have read and followed the how to open a pull request guide.
[x ] My pull request targets the main branch of freeCodeCamp.
[x ] I have tested these changes either locally on my machine, or GitPod.

Related to #53895

Added a playwright test for delete-modal.ts component

The e2e tests seem to time out, is there any way to trigger them again, apart from making a blank commit ?

@huyenltnguyen Thank you for the feedback. I'll go through the guides and address all of the points you mentioned


 Parsec disconnect

could a command be ran on a disconnect from Parsec? my use case is for making a couple of scripts to disable all but my primary monitor whenever I connect and re-enable them on disconnect. this could also be used to run taskkill /im [launcher.exe] to close the game launcher on disconnect.

Good idea! It seems feasible. I could see this being useful for a lot of things really.
As far as closing the game launcher on disconnect, I think we could add first class support for that like we have for starting it.
I sort of envision being able to trigger multiple actions from a single event as well. Really just a much more flexible system.
That being said, it would be sort of a large work effort. I'll think on it.


[WIP] Initial support for Bluetooth devices scanning

Work in progress, so please do not merge it yet. However I'm looking for early feedback

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


function of set_layer_with_name_and_path

Hello!
Thank you for your awesome work! I am trying to understand your code. For the method def set_layer_with_name_and_path, I am wondering what the main function of this method is. It seems like you are trying to update the forward function of each target module into the customized forward function in module.py. My questions are as follows:

Is my understanding correct?
What do current_path and new_path mean here? And why do you keep track of them?

I would really appreciate it if you could help me understand your code. Thank you so much!

@yj373
Yes, that’s correct. The current_path and new_path were from an older version, and it looks like they weren’t removed when I updated the code. They’re unnecessary now, so you can just ignore them. Thanks for pointing that out, by the way.


Support point light.

Goal

SImply implement the point light.

OK.
It have been implemented at ad44924baa98ae14a35e6a6384c46edab4d03bdc.


Recommended code changes in src before migrating to Svelte 5

Before we migrate to Svelte 5 using pnpx sv migrate svelte-5, we probably want to make the following changes to our code so that the automatic migration tool won't fail on certain components:

HeaderPage.svelte - rename the "header-content" slot to "headerContent" — when the migration tool replaces slots with snippets, the names need to be valid Javascript identifiers

Used in DetailsPage.svelte
Used in routes/(authenticated)/+page.svelte (via DetailsPage)
Used in routes/(authenticated)/project/[project_code]/+page.svelte (via DetailsPage)

HeaderPage.svelte - rename the "title" slot to "titleText" so it doesn't conflict with the name of the prop

DetailsPage.svelte - has a slot named "title" and a prop named "title", need to rename one of them or the migration script will refuse to migrate the file

Used in routes/(authenticated)/+page.svelte
Used in routes/(authenticated)/project/[project_code]/+page.svelte

RadioButtonGroup.svelte - replace the $$props.class usage with a className prop (string | undefined) and use that in the top-level div

Not actually used anywhere, so maybe we should just delete the component?

FilterBar.svelte - name clashes between slot names and prop names used in component

filters is an exported prop but also the name of a slot. Rename the slot to "filterSlot".
activeFilters is the name of a slot but also the name of a prop passing data back to the component. We'll want to rename the slot to activeFilterSlot before running the migration.
Used in ProjectFilter.svelte
Used in UserFilter.svelte

NOTE: This issue only tracks the changes needed in the src tree. The viewer is pretty much a separate project, so I'll deal with it in a new issue and a new PR.


Push descriptor variants of tests not using push layouts

Not sure how this is possible because it used to work.
But I just noticed the push descriptor variants of tests are not creating pipelines using those descriptor layouts.
So non of the push test seem to be testing what the should.
For instance, layout_basic_push is not used for anything.

Are you sure? Those tests have been refactored into macros https://github.com/zmike/vkoverhead/blob/main/src/vkoverhead.c#L1346 so you won't be able to grep for them.

I guess I was missing that those tests don't do any draws. Sorry for the noise.


update admiral link to last release

Update links to point to the new admiral multi-version docs page.

Good to go! Checked that admiral links are valid. @bms63 - please approve and merge when you can.

I'm not involved with this package :) @rossfarrugia who is maintainer of this package?

merge also approved by @cicdguy, since he has not the rights to do it I merge it !

Hello @dgrassellyb and @cicdguy,
Hope you're well!
We noticed that after this update our page wasn't being deployed (the workflow was failing), I tried to make a few updates to the .gitignore as it looked like it was a result of not having the doc folder but unfortunatley now the check passes but the link to site doesn't work [https://pharmaverse.github.io/datacutr/]url. Any ideas what could be going wrong? Thanks in advance!
Alana


Some constructs just compile to false

(1.1.94)

String slice
let x = "123".[0..1]

var x = false;

int->enum casts
type SomeEnum = One = 1 | Two = 2
let y = enum<SomeEnum> 1

var y = false;

These were not provided in older versions of FunScript, so I'm guessing this false is some form of stub?

You mean you are using the latest code in the repository? Or just the nuget package (which hasn't been updated in a while)? These looks like bugs indeed. I need to reproduce them with the latest code and see if I can fix the problem.
Thanks for reporting!

I was trying with 1.1.94 from Nuget.
I just finished bisecting it down. It seems to have started happening since 1.1.91. Uptil 1.1.90, FunScript.Compiler.Compiler.Compile would complain about missing implementations for these features. From 1.1.91, it just silently compiles them as false.

Just built latest master (1dfc9e2) and could repro.

Repro:
#light

[<FunScript.JS>]
module foo =
    type SomeEnum = One = 1 | Two  = 2
    let main() =
        let x = "123".[0..1]
        let y = enum<SomeEnum> 1
        let z = System.Convert.ToInt32 '5'
        ""

let source = FunScript.Compiler.Compiler.Compile(<@ foo.main() @>, noReturn = true)
printfn "%A" source

var foo__main$;
foo__main$ = (function(unitVar0)
{
    var x = false;
    var y = false;
    var z = false;
    return "";
});
foo__main$()

It's the last case of CommonOperators.typeTest for the expr Call (None, GetStringSlice, ...)

Simpler repro:
module bar =
    let func() =
        5

[<FunScript.JS>]
module foo =
    let main() =
        bar.func()

@alfonsogarciacaro I'm guessing that line should return [] instead of the return strategy?

Sorry for replying late. You're right. Thanks a lot for spotting this! Do you want to send a PR? If you do, I'll merge it right away. With your instructions, I can easily fix it myself, but I guess you should take the credit for that ;)

I didn't send a PR myself because I also wanted to add a test for this (basically the second smaller repro I gave above, with expectation of an exception instead of successful compilation) but I don't get the existing tests working for me either.
C:\Stuff\Sources\FunScript\packages\NUnit.Runners\tools\nunit-console.exe "-nologo" "-labels" "C:\Stuff\Sources\FunScript\build\tests\FunScript.Tests.dll" "-xml:TestResult.xml" "-framework:4.5"
ProcessModel: Default    DomainUsage: Single
Execution Runtime: v4.5
Unhandled Exception:
System.MissingMethodException: Method not found: 'Void Microsoft.FSharp.Core.CompilationMappingAttribute..ctor(System.String, System.Type[])'.

Server stack trace:
   at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at NUnit.Core.Reflect.GetAttributes(ICustomAttributeProvider member, Boolean inherit)
   at NUnit.Core.Builders.TestAssemblyBuilder.BuildTestAssembly(Assembly assembly, String assemblyName, IList fixtures, Boolean autoSuites)
   at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites)
   at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites)
   at NUnit.Core.TestSuiteBuilder.BuildSingleAssembly(TestPackage package)
   at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
   at NUnit.Core.SimpleTestRunner.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at NUnit.Core.TestRunner.Load(TestPackage package)
   at NUnit.Util.TestDomain.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Util.RemoteTestAgent.AgentRunner.Load(TestPackage package)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [1]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at NUnit.Core.TestRunner.Load(TestPackage package)
   at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Util.ProcessRunner.Load(TestPackage package)
   at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
   at NUnit.ConsoleRunner.Runner.Main(String[] args)
Running build failed.
Error:
Fake.UnitTestCommon+FailedTestsException: NUnit test failed. Process finished with exit code UnexpectedError (-100).
   at Fake.NUnitSequential.NUnit(FSharpFunc`2 setParams, IEnumerable`1 assemblies) in C:\code\fake\src\app\FakeLib\UnitTest\NUnit\Sequential.fs:line 45
   at FSI_0001.Build.clo@157-20.Invoke(Unit _arg6) in C:\Stuff\Sources\FunScript\build.fsx:line 164
   at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 411

I also noticed that the TeamCity badge in the README shows the build is failing, but the failure seems to be before it can even begin building anything (missing "lib" directory). The Travis badge shows a successful build but it actually points to  @enricosada 's fork from when he added that badge, so it's pointing to his commit from Jan 2014 instead of this repository's master. (He did say to set up Travis for this repo and change the badge URL before merging his PR; guess you guys forgot about it.)
So I don't have any way of knowing if the tests are supposed to pass or not. If the tests work for you, please add the fix and the test yourself.

Yes, the build is failing because of the Rx extension unit tests (it seems some libraries are not correctly copied into the build directory). This is not serious but needs to be fixed. For the moment, I just fixed the problem making the modification you kindly indicated, so I'm closing this issue.
Cheers!


Allow to set filename for template

Added filename  parameter to allow developers to set filename in template message.

Hi @fiveone-digital thanks so much for improving the code. Could you add the new use case in the ComponentTest file?
Currently this PR breaks the tests. This should be fixed. You can run composer test to check the tests and composer analyse to run phpstan => https://github.com/netflie/laravel-notification-whatsapp/actions/runs/5099076406/jobs/9173953544?pr=8
Thanks!

Hi @fiveone-digital any news?

Hi,
Will update it this weekend!
Thanks!


LimeSuite fails to build on Debian / armv7l and aarch64

At Osmocom, we're having trouble building LimeSuite for armv7l and aarch64.
See e.g. https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/limesuite/Debian_9.0/armv7l
or https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/limesuite/Debian_9.0/aarch64
In both cases the problem seems to be the "-mfpmath=both" compiler option, which appears not to exist.
[  314s] cd /usr/src/packages/BUILD/obj-arm-linux-gnueabihf/src/oglGraph && /usr/bin/c++   -DGLEW_STATIC -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/src/packages/BUILD/src/lms7002_wxgui -I/usr/src/packages/BUILD/src/LMS_Programing -I/usr/src/packages/BUILD/src/utilities_gui -I/usr/src/packages/BUILD/src/RFSpark -I/usr/src/packages/BUILD/src/FPGAcontrols_wxgui -I/usr/src/packages/BUILD/src/numericSlider -I/usr/src/packages/BUILD/src/myriad7 -I/usr/src/packages/BUILD/src/fftviewer_wxgui -I/usr/src/packages/BUILD/src/lms7suiteEvents -I/usr/src/packages/BUILD/src/boards_wxgui -isystem /usr/lib/arm-linux-gnueabihf/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/usr/src/packages/BUILD/src/oglGraph/glew -I/usr/src/packages/BUILD/src/oglGraph/glew/GL -I/usr/src/packages/BUILD/src/oglGraph  -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility-inlines-hidden -pthread   -march=native -mfpmath=both -Wno-narrowing -Wall -fvisibility=hidden -std=gnu++11 -o CMakeFiles/oglGraph.dir/dlgMarkers.cpp.o -c /usr/src/packages/BUILD/src/oglGraph/dlgMarkers.cpp
[  314s] cd /usr/src/packages/BUILD/obj-arm-linux-gnueabihf/src/oglGraph && /usr/bin/c++   -DGLEW_STATIC -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/src/packages/BUILD/src/lms7002_wxgui -I/usr/src/packages/BUILD/src/LMS_Programing -I/usr/src/packages/BUILD/src/utilities_gui -I/usr/src/packages/BUILD/src/RFSpark -I/usr/src/packages/BUILD/src/FPGAcontrols_wxgui -I/usr/src/packages/BUILD/src/numericSlider -I/usr/src/packages/BUILD/src/myriad7 -I/usr/src/packages/BUILD/src/fftviewer_wxgui -I/usr/src/packages/BUILD/src/lms7suiteEvents -I/usr/src/packages/BUILD/src/boards_wxgui -isystem /usr/lib/arm-linux-gnueabihf/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/usr/src/packages/BUILD/src/oglGraph/glew -I/usr/src/packages/BUILD/src/oglGraph/glew/GL -I/usr/src/packages/BUILD/src/oglGraph  -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility-inlines-hidden -pthread   -march=native -mfpmath=both -Wno-narrowing -Wall -fvisibility=hidden -std=gnu++11 -o CMakeFiles/oglGraph.dir/GLFont.cpp.o -c /usr/src/packages/BUILD/src/oglGraph/GLFont.cpp
[  314s] c++: error: unrecognized command line option '-mfpmath=both'
[  314s] src/oglGraph/CMakeFiles/oglGraph.dir/build.make:65: recipe for target 'src/oglGraph/CMakeFiles/oglGraph.dir/dlgMarkers.cpp.o' failed
[  314s] make[3]: *** [src/oglGraph/CMakeFiles/oglGraph.dir/dlgMarkers.cpp.o] Error 1
[  314s] make[3]: *** Waiting for unfinished jobs....
[  314s] c++: error: unrecognized command line option '-mfpmath=both'
[  314s] src/oglGraph/CMakeFiles/oglGraph.dir/build.make:89: recipe for target 'src/oglGraph/CMakeFiles/oglGraph.dir/GLFont.cpp.o' failed
[  314s] make[3]: *** [src/oglGraph/CMakeFiles/oglGraph.dir/GLFont.cpp.o] Error 1
[  314s] make[3]: Leaving directory '/usr/src/packages/BUILD/obj-arm-linux-gnueabihf'
[  314s] CMakeFiles/Makefile2:283: recipe for target 'src/oglGraph/CMakeFiles/oglGraph.dir/all' failed
[  314s] make[2]: *** [src/oglGraph/CMakeFiles/oglGraph.dir/all] Error 2
[  314s] make[2]: Leaving directory '/usr/src/packages/BUILD/obj-arm-linux-gnueabihf'
[  314s] Makefile:130: recipe for target 'all' failed
[  314s] make[1]: *** [all] Error 2
[  314s] make[1]: Leaving directory '/usr/src/packages/BUILD/obj-arm-linux-gnueabihf'
[  314s] dh_auto_build: make -j2 returned exit code 2
[  314s] debian/rules:28: recipe for target 'binary' failed
[  314s] make: *** [binary] Error 2
[  314s] dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
[  314s]
[  314s] armbuild02 failed "build limesuite_17.09.1-1.dsc" at Wed Nov 29 15:58:24 UTC 2017.
[  314s]
[  314s] ### VM INTERACTION START ###
[  318s] [  295.888669] SysRq : Power Off
[  318s] [  295.925736] reboot: Power down
[  318s] ### VM INTERACTION END ###
[  318s]
[  318s] armbuild02 failed "build limesuite_17.09.1-1.dsc" at Wed Nov 29 15:58:28 UTC 2017.
[  318s]

This seems identical to #143, which was fixed with commit f4da3e8ec73d3154072df6e35145fdcfdcd09ca6, but isn't included in 17.09.1. Have you tried 17.10.0, which does include the fix?

We're using 17.12 meanwhile and it is confirmed fixed.


poetry export command deprecation

We are supposed to use this https://github.com/python-poetry/poetry-plugin-export instead of poetry export command which will be removed next year I think. We should update template repos and all python repos to use this approach.

Solution should also fix #39

Poetry 1.5 removed poetry export, so we should:

pin default poetry version to pre-1.5
update repos using poetry export command and the template so they can work again.


1295 | Find Numbers with Even Number of Digits | C++

Title - Find Numbers with Even Number of Digits
hi there ,
I wanted to add solution for this leetcode problem  Find Numbers with Even Number of Digits
please assign this to me @juhikushwah
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code
[x] Improving Code
[ ] Improving Documentation
[ ] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[ ] Python
[x] C++
[ ] Java
[ ] SQL

Happy Coding,

@Abhishek-Verma75230 it was already assigned to someone. You can create your own issues and ask me to assign them to you.


sdk need return kernel base address

This will be used in the ark panel to take out the buffer disassembly of the api address when ssdt or win32k's tree form right-click context menu is selected, scanning for features to detect if the selected api is hooked.
This process requires the nt base address as well as reading a piece of buffer inside the start address of the nt api, which requires ssdk manipulation.

This can be a low-priority operation, and it's not too late to do it when I've finished laying out the ark panel

更新ssdt表


Expose GetBlockIndexGFXR() from capture layer

GetBlockIndexGFXR() returns the current block index being processed by the capture manager.

CI gfxreconstruct build queued with queue ID 2998.

CI gfxreconstruct build # 2793 running.

CI gfxreconstruct build # 2793 passed.

CI gfxreconstruct build queued with queue ID 3620.

CI gfxreconstruct build # 2797 passed.

CI gfxreconstruct build # 2798 running.

CI gfxreconstruct build # 2798 failed.

CI gfxreconstruct build queued with queue ID 6312.

CI gfxreconstruct build # 2809 running.

CI gfxreconstruct build # 2809 passed.

The code looks good to me. Could you please give me some examples about where we will need the capture block index? Thank you. Plus, this capture block index is different with the decoder block index since the capture's incudes system code. The decoder's has only Vulkan code. Should we care about it? or it doesn't matter?

System code I mean something aren't Vulkan function calls. It doesn't matter. LGTM.

I'm thinking that could we write this block index to the file? So the decoder could just read the block index to ensure both have the same block index.

I am not sure if it's worth it. We can't store the id in the block header without breaking backward compatibility, so we'll have to store it as a metadata? This would essentially double the blocks written to the file.
Can you think of a better way?

You are right. It's not worth. We shouldn't break backward compatibility.

CI gfxreconstruct build queued with queue ID 4799.

CI gfxreconstruct build # 2963 running.

CI gfxreconstruct build # 2963 passed.


Bug: Entering areas where Epona is not allowed in MM crashes the game (Region Shuffle)

Self-explanatory. This needs to be fixed for entrance rando. If you enter Ikana Canyon or Mountain Village from an entrance Epona can ride into the game will crash but I'm sure there will be more areas that can crash if this isn't addressed before full OW ER is done. May have to try and copy what vanilla OOT does which according to AA is just forces you to be dismounted from her in the scenes where she isn't allowed. Just totally despawn her.

Finally fixed


Remove plotting from this package

I'm not sure what the general opinion is about this, but I feel the dependencies on UnicodePlots and RecipesBase are odd.
Do we really need plotting? Considering you typically only plot the residual norm of each iteration, what's wrong with writing
using Plots
x, history = gmres(A, b, log = true)
plot(history[:resnorm], yscale = :log10)

Furthermore, plotting and ConvergenceHistory objects in general are not tested.
If we really want to have it, maybe it can be moved to another repository like IterativeSolversTools.jl as well.

I think the UnicodePlots dependency is a little odd, especially with the recipe already existing. But RecipesBase is essentially 1 macro and widely used. At this point I wouldn't consider it much of a dependency as much of a part of basic Julia.

Thanks @ChrisRackauckas, I think you're right


📸 Rename Dashboard to Home and update screenshots

📸 Rename Dashboard to Home and update screenshots

Great, thank you! :art:


Compare analytic gradients to approximate gradients, sampling h

Implemented gradients and approximate gradient are totally and completely different by huge amounts. Woo!

Implemented my gradients. Distance from the true gradient to the implemented gradient for those specified in the paper is ~900, from the true gradient to my gradient implemented is ~10. Less wrong, but still wrong! Shall investigate further.

β gradient is (probably) correct. The difference between the gradients is less than 0.03, e.g.

(0.45118195400229488, 0.43674759085903875, 0.014434363143256135)

When comparing numbers of indeterminate scale, it is useful to compare the difference as a ratio of one of the numbers.
E.g. 0.014/0.45

Ah, okay, shall do in future!

β gradient was very slightly off; numbers are now the same for all intents and purposes. α gradient is also correct. Currently working on w, γ.

Write a unit test please.


Better support for custom events.

Is your feature request related to a problem? Please describe.
When making custom events, you need to know exactly what variables/methods the main DialogNode script has in order to use them properly.
It would be nice to have methods on the DialogNode script to be called from a custom event script, as well as a custom class for autocompletion
Describe the solution you'd like
Add new methods on the DialogNode.gd and create a new class for autocomplete.
Example:
class_name DialogicMainNode

and for events:
set_waiting(value)
set_textbubble_visible(value)
next_event()
emit_signal()

Then from a custom event script we could just do, for example:
func handle_event(event_data, dialog_node : DialogicMainNode):
   dialog_node.set_waiting(true)
   dialog_node.set_textbubble_visible(false)
   #handle the event
   dialog_node.set_waiting(false)
   dialog_node.set_textbubble_visible(true)
   dialog_node.next_event()

I'm currently working on this and am open for suggestions what would be nice, but I think some of these don't need extra functions. In the example script dialog_node._load_next_event() is already explained, also dialog_node.emit_signal("dialogic_signal", "text") wors already too.
I like the set_textbubble_visibility() one, and also wanted to add the ability to react to user input, so I've created the action_input signal that will be emitted everytime the input action is performed.

I will close this, as it is very far from the current state of dialogic. Also due to the introduction of subsystems as classes there are much more exposed and easily accessable methods now. The only thing that is missing is the proper documentation (which would also be built-in) of those classes/methods.


[5.8] Depend on QueueManager contract

A very minor upgrade, just making the Illuminate\Queue\Worker depend on the interface instead of the concrete class for Illuminate\Queue\QueueManager. Other than the Manager, the constructor of the Worker depends on two other interfaces, which to me seems to be the way to go here.
For a package I'm building here I wanted general access to the QueueManager singleton to decorate it with some extra functionality, but the Worker would yell at me for injecting a different concrete class.
As a side note, I tried a few things to make this work without having to extend the default QueueManager class and replace it so the package could be plug & play. In the end I found this article which told me I could extend core bindings. I couldn't find this in the documentation, would a PR  for adding that be appreciated?

You can't just change the typehint (without doing further changes) as this class calls the isDownForMaintenance method which does not exist on the contract.

@X-Coder264 You're correct, I'll close this PR and create a new one with the changes as you suggested them.


Adding a counter to the decoder to prevent hashflooding?

Arnaut (`3rdEden) came up with this monkey-patch idea for the querystring native module, but I think we can implement it here also, here's what he said on the google group:
The fastest workaround for this would just be adding a counter to the decoder, and have it break out the forEach loop after
it has stored about 1k keys in the obj.

i still find it slightly ironic that they haven't seen the attack in practice haha, theoretically there are all sorts of attacks one could perform. I'm fine with this though and we could default it to something reasonable (cant imagine anyone even going over 50 really but maybe 1000 as a default)


[Docs] Version warning about viewing old docs doesn't work for versions >= 10

Currently, if viewing older docs (eg https://arrow.apache.org/docs/9.0/python/index.html), you get a warning about that you are not viewing the latest docs. However, now that the newest "old" docs (those that are stored in a version/ subdirectory) is 10.0, that doesn't seem to work for this version (eg https://arrow.apache.org/docs/10.0/python/index.html doesn't show the warning)
My first guess is that it's caused by a bump in number of characters in the major version number (7, 8, 9 etc -> 10), and that this if check no longer works as expected because of that:
https://github.com/apache/arrow/blob/177a0d4400e61f44dbd045ce05150bba28dd1d74/docs/source/_static/versionwarning.js#L104-L105

I have created a PR to correct the current state of the documentation https://github.com/apache/arrow-site/pull/312
Note from that PR:

Also, additional copying of the versionwarning.js file seems to happen with the release. Currently there are three versions of the same document:

docs/_static/versionwarning.js
docs/dev/_static/versionwarning.js
docs/10.0/_static/versionwarning.js

Second and third should be redundant and are removed with this PR. I will create a separate issue on the apache/arrow repo to research and correct how the versionwarning.js file is being copied.

I plan to create a separate PR to correct the versionwarning.js file in the apache/arrow repo after the PR on apache/arrow-site is merged and the warnings are working well.

The issue about multiple copies of versionwarning.js in apache/arrow-site: https://github.com/apache/arrow/issues/34160


ios 14 compatity issue, and element timing is not working

only fcp and lcpFinal is reported on ios14.7, but much more on android 10.
in addition, element timing is not working on both side.

const perfume = new Perfume({
    resourceTiming: true,
    elementTiming: true,
    analyticsTracker: options => {
        const { metricName, data, eventProperties, navigatorInformation, vitalsScore } = options;
        if (metricName !== 'resourceTiming') {
            console.log('perfume', metricName, data);
        }
    }
});

Ciao @latel, yeah you right Safari is so behind in supporting those paint metrics.
About elementTiming, can you show me how you instrumented that one in the HTML?
I just tested that one in https://zizzamia.github.io/perfume/, and works as expected.


Look at docker-compose, when it supports cache-from

https://github.com/docker/compose/issues/4309
After you build once, the layers are cached, and subsequent builds are fast, but currently no way of specifying a cache for the layers, ie, we'd lose everything we gained in #39: Travis builds would be painfully slow.

might revisit, but closing it for now.


If the Salesforce Service Cloud data connector supports Salesforce Sales Cloud.

Hi Team,
This is regarding whether the Salesforce Service Cloud data connector supports Salesforce Sales Cloud.
We are testing the Salesforce Cloud integration and just wondering if we could use the Salesforce Service Cloud to ingest the Salesforce Sales Cloud logs. If not, are there any further plans to add a connector to ingest the Salesforce Sales Cloud logs?
Thanks for your help ahead.

Hi Team, may I know if there is any update regarding this issue?

Hi @winnie008, we are discussing this with the team, will update you shortly, thanks!

Hi Team, may I know if there is a way or a plan to ingest Salesforce Sales Cloud logs via Sentinel data connectors?

We have noted your request and identified this as an enhancement. We are closing this issue as per our standard operating procedure, but we will continue to track this request internally. If you still need support for this issue, feel free to re-open at any time. Thank you for your feedback and engagement. Your feedback is valuable, and we encourage you to continue providing it.


Processing Jobs - Operation now in progress

Laravel Version: 5.3.22

PHP Version :PHP 7.0.12-1+deb.sury.org~xenial+1

Database Driver & Version:
MySQL
5.7.16-0ubuntu<IP_ADDRESS>
QUEUE_DRIVER=database

Description:
If you have jobs in sub folders and running subsequent jobs with dispatch it will fail.
Steps To Reproduce:
Create 1 folder inside of Jobs called Server
Create 2 Job files
CreateServer.php
GetServerStatus.php
Inside CreateServer job in the handle , do another dispatch
        dispatch(             (new CheckServerStatus()->delay(30))         );
Recieve error
ErrorException: include(/home/vagrant/Code/CodePier): failed to open stream: Operation now in progress in /home/vagrant/Code/CodePier/vendor/composer/ClassLoader.php:414

I guess it has something todo with my own system, I created another test job, it works fine. but old file wont work at all. No idea whats happening


Selectable box component and tests

A new component that has functionality like a radio group but looks like a box! rb-box-selector.
TP: https://rockabox.tpondemand.com/entity/11580

FYI: Have integrate this component into the updated new line item form. It works.

Would be nice to merge at some point :)

@gregbenner I think this is good and working as mentioned before. @nwhite89 still have any concerns on test?
If there is no concern on test anymore, I'll be happy to merge it.


update copy - issue #973

What does this pull request aim to achieve? 💯
https://github.com/FightPandemics/FightPandemics/issues/973

closed PR because product team is discussing about it

@stavares843 Pleaseee use more descriptive names for commit messages & PR names 🙏 We already have like many many update copy PRs merged and commits merged, not a good thing to do if we do need to go back or figure where something was changed.

reopened because product team decided to include these modifications

https://github.com/FightPandemics/FightPandemics/issues/973 doesn't include faq

You're right, but it should probably be changed along with this. Otherwise, we'd be pointing people at buttons that no longer exist.

updated

#973 doesn't include privacy policy

thats unrelated to #973

This is almost good to go, just update the Header.js file and then I think it should be close to be good to go.


Possible backward driving while follow lane and waypoints

Hi Carla teams, I am currently playing around with Carla. I am wondering if the Python API file or possibly the agent file is able to support navigation through backward driving. I try to set control. gear = -1 and control. reverse to true but the car did not move as I am expecting.
CARLA version: 0.9.12
Platform/OS: ubuntu 20.04
Best

Hi Carla teams, I am currently playing around with Carla. I am wondering if the Python API file or possibly the agent file is able to support navigation through backward driving. I try to set control. gear = -1 and control. reverse to true but the car did not move as I am expecting. CARLA version: 0.9.12 Platform/OS: ubuntu 20.04 Best

Yeah, I also found that backward driving only works in manual_control. And the vehicle_control. gear = -1 actually means vehicle is running on back gear.
Did you found any solution to this?


Update dependencie,  nodejs to 14, and fix tests

I was not able to get the original tests passing as-is locally without upgrading some dependencies.
Not sure what's behind the updateCounter diff - perhaps that is indicative of something else.
What's really driving this is also to be able to bump eth-block-tracker and web3-provider-engine, which will be addressed in subsequent PR(s).
Also resolved #50.

From circle. Haven't reproduced locally.
not ok 11 initial balance loaded from last test
  ---
    operator: equal
    expected: '8.9'
    actual:   '890'
    at: TokenTracker.<anonymous> (/home/circleci/project/test/integration/human-standard-token.js:144:16)
    stack: |-
      Error: initial balance loaded from last test
          at Test.assert [as _assert] (/home/circleci/project/node_modules/tape/lib/test.js:226:54)
          at Test.bound [as _assert] (/home/circleci/project/node_modules/tape/lib/test.js:77:32)
          at Test.equal (/home/circleci/project/node_modules/tape/lib/test.js:386:10)
          at Test.bound [as equal] (/home/circleci/project/node_modules/tape/lib/test.js:77:32)
          at TokenTracker.<anonymous> (/home/circleci/project/test/integration/human-standard-token.js:144:16)
          at safeApply (/home/circleci/project/node_modules/safe-event-emitter/index.js:70:5)
          at TokenTracker.SafeEventEmitter.emit (/home/circleci/project/node_modules/safe-event-emitter/index.js:56:5)
          at TokenTracker._update (/home/circleci/project/lib/index.js:107:10)
          at TokenTracker.updateBalances (/home/circleci/project/lib/index.js:63:12)


small feature suggestion - hooks for keyauth

This "feature" would cause the script to grow to about 210 lines, but I think it may be worth it...
acme-tiny is probably the favorite library/client i've encountered so far, because it is so small and concise.
unfortunately, it can really only be used for file-based authentication which can be an issue if you use roundrobin dns.
to get around that, my suggestion is to replace the hardcoded file auth with hooks that can be overridden.  i prototyped it here: https://github.com/diafygi/acme-tiny/compare/master...jvanasco:feature-customize?expand=1
I also added a guid parameter that can persist an id between the get_crt and authorization handlers.
This would not change how the script is currently invoked, but it would basically turn this into a very re-usable library that would allow people to write small scripts that can save the challenges to databases by customizing how authorizations are processed, or use this as the core certificate signing functionality for larger projects.

In an effort to keep things simple, I don't think this will be included. As always, you're welcome to keep your fork going and customize as you wish. Thanks for using https!


Suggestion: Add 'Description' field to Lookup Rollup Summary SObject

Since a Lookup Rollup Summary record is functionally equivalent to a parent object RSF field, provide as part of the OOB package a dlrs__description__c field of type TextArea (long) so sysads can enter notes about why the DLRS record was created as well as any maintenance notes, references to SDLC ids, etc.
I realize I can add my own custom description field (and did) but this would be a 'nice-to-have'.

Fixed in v1.17


404 not found on cisco spark npm repo

I'm getting this error when trying to npm install elements of ciscospark
npm ERR! 404 Not Found<EMAIL_ADDRESS>Also cisco spark itself github is down
https://github.com/ciscospark/spark-js-sdk/tree/master/packages/ciscospark
Has the repository moved?

I believe you're missing a subfolder:
https://github.com/ciscospark/spark-js-sdk/tree/master/packages/node_modules/ciscospark

This is the repo referred to by the npm repository
https://www.npmjs.com/package/ciscospark

Tried this:
npm install --save ciscospark
and it installed without issue; it installed a different version of the plugin mentioned in your error:
├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Ha.  I have a bad .npmrc! Thanks!


Root state parameter values not available

I have a very similar scenario to the demo app: whenever the user tries to access a state that requires auth, there's a hook which redirects him to the login state. The additional requirement is that someone might want to access a state via URL with an additional querystring parameter: username which should be auto-populated in the login page's corresponding input.
My states structure is like so:

there is a shell abstract state which is parent to all other states similar to the app state in the demo app
this shell state has url: '?username' (if I understand correctly this parameter should then be inherited by all other states)
my login component has a binding username: '<'
the login state has a resolve like so  username: $transition$ => $transition$.params().username

The whole login/redirect mechanism works perfectly. The only problem is that in the login's state resolve the params().username is undefined even if in the browser I go to a link like http://mysite/#/somestate?username=foo.
Any idea what I'm doing wrong or how I can achieve what I'm after?
Thanks!
p.s.: I'm not sure if posting here or on stackoverflow is best, so I posted on both (http://stackoverflow.com/questions/40594472/angular-ui-router-state-query-string-parameter-not-working). Please close this issue if stackoverflow's the way to go.

I'm going to answer my own question: the problem was actually in the login redirect hook. There I was redirecting to the login state with state.target('login', params, {location: false}) and I was getting the params from transition.router.stateService.params which never had valid values.
Just trying stuff out I found that actually transition.params() gives me the correct parameter values, so I can now redirect with those params and it works fine.
I do have one issue still though: I would ideally like that after login I redirect back to the originally requested state and clear these params from the querystring. Is that possible/supported?

In the sample app, the return to state and parameters are captured as a resolve
If the user was redirected to /login, it sends them back to the state/params from the original transition (which they got redirected from).
  if ($transition$.redirectedFrom() != null) {
    return $transition$.redirectedFrom().targetState();
  }

This can easily be modified to return a target with the username parameter cleared out:
  if ($transition$.redirectedFrom() != null) {
    var $state = $transition$.router.stateService;
    var orig = $transition$.redirectedFrom()
    var params = Object.assign({}, orig.params());
    delete params.username;
    return $state.target(orig.state(), params);
  }

hope this is helpful!

Thanks for the answer!
I tried it however I get orig.state is not a function. What am I missing?


Add youtube link

Add YouTube link to June's talk of the animal genomics special interest group.
@netlify /events/2024/SIG_animalgenomics_June

Sorry, can you open this PR again with the changes applied to sites/main-site/src/content to a fork from the monorepo branch of this repo?