Review and update private DNS zones for private endpoint

Description
Since the addition of private DNS zones for private endpoint support in the ALZ Portal accelerator, the list of services supporting private endpoint has grown.
There also appear to be a few changes in the documented zones required for services already included in the deployment templates.
Having done a quick review of the latest documented DNS zones, it appears we have some differences which need to be resolved as follows:

Private link resource type / Subresource
Status

Azure Automation / (Microsoft.Automation/automationAccounts) / Webhook, DSCAndHybridWorker
no changes identified

Azure SQL Database (Microsoft.Sql/servers) / sqlServer
no changes identified

Azure SQL Managed Instance (Microsoft.Sql/managedInstances)
needs testing to verify works with privatelink.{dnsPrefix}.database.windows.net format

Azure Synapse Analytics (Microsoft.Synapse/workspaces) / Sql
no changes identified

Azure Synapse Analytics (Microsoft.Synapse/workspaces) / SqlOnDemand
no changes identified

Azure Synapse Analytics (Microsoft.Synapse/workspaces) / Dev
no changes identified

Azure Synapse Studio (Microsoft.Synapse/privateLinkHubs) / Web
no changes identified

Storage account (Microsoft.Storage/storageAccounts) / Blob (blob, blobsecondary)
no changes identified

Storage account (Microsoft.Storage/storageAccounts) / Table (table, tablesecondary)
no changes identified

Storage account (Microsoft.Storage/storageAccounts) / Queue (queue, queuesecondary)
no changes identified

Storage account (Microsoft.Storage/storageAccounts) / File (file, filesecondary)
no changes identified

Storage account (Microsoft.Storage/storageAccounts) / Web (web, websecondary)
no changes identified

Azure Data Lake File System Gen2 (Microsoft.Storage/storageAccounts) / Data Lake File System Gen2 (dfs, dfssecondary)
no changes identified

Azure Cosmos DB (Microsoft.AzureCosmosDB/databaseAccounts) / Sql
no changes identified

Azure Cosmos DB (Microsoft.AzureCosmosDB/databaseAccounts) / MongoDB
no changes identified

Azure Cosmos DB (Microsoft.AzureCosmosDB/databaseAccounts) / Cassandra
no changes identified

Azure Cosmos DB (Microsoft.AzureCosmosDB/databaseAccounts) / Gremlin
no changes identified

Azure Cosmos DB (Microsoft.AzureCosmosDB/databaseAccounts) / Table
no changes identified

Azure Batch (Microsoft.Batch/batchAccounts) / batchAccount
need to verify whether current regional implementation is correct

Azure Batch (Microsoft.Batch/batchAccounts) / nodeManagement
need to verify whether current regional implementation is correct

Azure Database for PostgreSQL - Single server (Microsoft.DBforPostgreSQL/servers) / postgresqlServer
no changes identified

Azure Database for MySQL (Microsoft.DBforMySQL/servers) / mysqlServer
no changes identified

Azure Database for MariaDB (Microsoft.DBforMariaDB/servers) / mariadbServer
no changes identified

Azure Key Vault (Microsoft.KeyVault/vaults) / vault
no changes identified

Azure Key Vault (Microsoft.KeyVault/managedHSMs) / Managed HSMs
no changes identified

Azure Kubernetes Service - Kubernetes API (Microsoft.ContainerService/managedClusters) / management
need to validate region format is correct and check requirements for {subzone}.privatelink.{region}.azmk8s.io zone

Azure Search (Microsoft.Search/searchServices) / searchService
no changes identified

Azure Container Registry (Microsoft.ContainerRegistry/registries) / registry
need to test whether regional zones work as expected for {region}.privatelink.azurecr.io

Azure App Configuration (Microsoft.AppConfiguration/configurationStores) / configurationStores
no changes identified

Azure Backup (Microsoft.RecoveryServices/vaults) / AzureBackup
no changes identified

Azure Site Recovery (Microsoft.RecoveryServices/vaults) / AzureSiteRecovery
need to check as zone is now documented as being regional, i.e. privatelink.{region}.siterecovery.windowsazure.com

Azure Event Hubs (Microsoft.EventHub/namespaces) / namespace
no changes identified

Azure Service Bus (Microsoft.ServiceBus/namespaces) / namespace
no changes identified

Azure IoT Hub (Microsoft.Devices/IotHubs) / iotHub
no changes identified

Azure Relay (Microsoft.Relay/namespaces) / namespace
no changes identified

Azure Event Grid (Microsoft.EventGrid/topics) / topic
no changes identified

Azure Event Grid (Microsoft.EventGrid/domains) / domain
no changes identified

Azure Web Apps (Microsoft.Web/sites) / sites
no changes identified

Azure Machine Learning (Microsoft.MachineLearningServices/workspaces) / amlworkspace
no changes identified

SignalR (Microsoft.SignalRService/SignalR) / signalR
no changes identified

Azure Monitor (Microsoft.Insights/privateLinkScopes) / azuremonitor
no changes identified

Cognitive Services (Microsoft.CognitiveServices/accounts) / account
no changes identified

Azure File Sync (Microsoft.StorageSync/storageSyncServices) / afs
need to check as zone is now documented as being regional, i.e. privatelink.{region}.afs.azure.net

Azure Data Factory (Microsoft.DataFactory/factories) / dataFactory
no changes identified

Azure Data Factory (Microsoft.DataFactory/factories) / portal
no changes identified

Azure Cache for Redis (Microsoft.Cache/Redis) / redisCache
no changes identified

Azure Cache for Redis Enterprise (Microsoft.Cache/RedisEnterprise) / redisEnterprise
no changes identified

Microsoft Purview (Microsoft.Purview) / account
no changes identified

Microsoft Purview (Microsoft.Purview) / portal
no changes identified

Azure Digital Twins (Microsoft.DigitalTwins) / digitalTwinsInstances
no changes identified

Azure HDInsight (Microsoft.HDInsight)
no changes identified

Azure Arc (Microsoft.HybridCompute) / hybridcompute
no changes identified

Azure Media Services (Microsoft.Media) / keydelivery, liveevent, streamingendpoint
no changes identified

Azure Data Explorer (Microsoft.Kusto)
missing

Azure Static Web Apps (Microsoft.Web/staticSites) / staticSites
missing

Azure Migrate (Microsoft.Migrate) / migrate projects, assessment project and discovery site
missing

Azure Managed HSM (Microsoft.Keyvault/managedHSMs) / managedhsm
missing

Azure API Management (Microsoft.ApiManagement/service) / gateway
missing

Microsoft PowerBI (Microsoft.PowerBI/privateLinkServicesForPowerBI)
missing

Azure Bot Service (Microsoft.BotService/botServices) / Bot
missing

Azure Bot Service (Microsoft.BotService/botServices) / Token
missing

Describe the solution you'd like
Update the module to reflect the latest changes in available services with private endpoint support.
Additional context
Related to: https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues/482

Hello @krowlandson , findings up to now, just the ones that have relevance to ALZ RI:

this page (as well as the official documentation in "https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" ), needs a minor fix in "Storage Account (File)", in the sense that there is no such thing as "filesecondary"
Azure Batch has indeed sifted from "privatelink..batch.azure.com" to "privatelink.batch.azure.com"; this is substantiated by "https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" and "https://learn.microsoft.com/en-us/azure/batch/private-connectivity" ; ALZ RI needs update
Azure Container Registry requires {region} when geo-replicated (premium SKU) is used; details here: "https://learn.microsoft.com/en-us/azure/container-registry/container-registry-private-link" ; indeed as-is, ALZ RI creates and associates DNS Zone for the "non-geo" scenario
Azure Site Recovery: although I recall seeing "regional" zones documented at some point, current version of the existing documentation, converges towards "privatelink.siterecovery.windowsazure.com" usage ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" , "https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints" , "https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints#create-private-dns-zones-and-add-dns-records-manually" , "https://learn.microsoft.com/en-us/azure/site-recovery/hybrid-how-to-enable-replication-private-endpoints" , etc.). NOTE: Implemented via PR #1107 (https://github.com/Azure/Enterprise-Scale/pull/1109), as "non-regional"
Azure File Sync: documentation contains "mixed" messaging ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" and "https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-networking-endpoints?tabs=azure-portal" , lean towards "regional", but "https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-networking-overview" says otherwise). Most possibly, ALZ RI needs updating, because as-is, reflects the "non-regional" DNS Zone implementation and association.
Azure Migrate: by existing docs ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" ), has been added to ALZ RI via PR #1107 (https://github.com/Azure/Enterprise-Scale/pull/1109)

Hello @krowlandson , findings up to now, just the ones that have relevance to ALZ RI:

this page (as well as the official documentation in "https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" ), needs a minor fix in "Storage Account (File)", in the sense that there is no such thing as "filesecondary"
Azure Batch has indeed sifted from "privatelink..batch.azure.com" to "privatelink.batch.azure.com"; this is substantiated by "https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" and "https://learn.microsoft.com/en-us/azure/batch/private-connectivity" ; ALZ RI needs update
Azure Container Registry requires {region} when geo-replicated (premium SKU) is used; details here: "https://learn.microsoft.com/en-us/azure/container-registry/container-registry-private-link" ; indeed as-is, ALZ RI creates and associates DNS Zone for the "non-geo" scenario
Azure Site Recovery: although I recall seeing "regional" zones documented at some point, current version of the existing documentation, converges towards "privatelink.siterecovery.windowsazure.com" usage ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" , "https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints" , "https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints#create-private-dns-zones-and-add-dns-records-manually" , "https://learn.microsoft.com/en-us/azure/site-recovery/hybrid-how-to-enable-replication-private-endpoints" , etc.). NOTE: Implemented via PR 1109 (https://github.com/Azure/Enterprise-Scale/pull/1109), as "non-regional"
Azure File Sync: documentation contains "mixed" messaging ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" and "https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-networking-endpoints?tabs=azure-portal" , lean towards "regional", but "https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-networking-overview" says otherwise). Most possibly, ALZ RI needs updating, because as-is, reflects the "non-regional" DNS Zone implementation and association.
Azure Migrate: by existing docs ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" ), has been added to ALZ RI via PR 1109 (https://github.com/Azure/Enterprise-Scale/pull/1109)

Hello @krowlandson , findings up to now, just the ones that have relevance to ALZ RI:

this page (as well as the official documentation in "https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" ), needs a minor fix in "Storage Account (File)", in the sense that there is no such thing as "filesecondary"
Azure Batch has indeed shifted from "privatelink..batch.azure.com" to "privatelink.batch.azure.com"; this is substantiated by "https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" and "https://learn.microsoft.com/en-us/azure/batch/private-connectivity" ; ALZ RI needs update
Azure Container Registry requires {region} when geo-replicated (premium SKU) is used; details here: "https://learn.microsoft.com/en-us/azure/container-registry/container-registry-private-link" ; indeed as-is, ALZ RI creates and associates DNS Zone for the "non-geo" scenario
Azure Site Recovery: although I recall seeing also myself "regional" Zones documented at some point, current version of the existing documentation, converges towards "privatelink.siterecovery.windowsazure.com" usage ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" , "https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints" , "https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-how-to-enable-replication-private-endpoints#create-private-dns-zones-and-add-dns-records-manually" , "https://learn.microsoft.com/en-us/azure/site-recovery/hybrid-how-to-enable-replication-private-endpoints" , etc.). NOTE: there is a minor glitch in current ALZ RI, detailed at "https://dev.azure.com/CSUSolEng/Azure Landing Zones/_workitems/edit/23128"
Azure File Sync: documentation contains "mixed" messaging ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" and "https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-networking-endpoints?tabs=azure-portal" , lean towards "regional", but "https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-networking-overview" says otherwise). Most possibly, ALZ RI needs updating, because as-is, reflects the "non-regional" DNS Zone implementation and association.
Azure Migrate: by existing docs ("https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns" ), has been added to ALZ RI via PR 1109 (https://github.com/Azure/Enterprise-Scale/pull/1109)

Thank you @krowlandson for drawing my attention at point 5 (File Sync).
Indeed, RI does not need update after all for this specific (AFS) Service PE.
We keep the "privatelink.afs.azure.net" deployment, and the "{region}.privatelink.afs.azure.net" is taken care by itself, at the PE implementation time - tested this in lab.
Obviously, the above matrix needs "fixing" at this point, because it mentions "privatelink.{region}.afs.azure.net" and should be "{region}.privatelink.afs.azure.net"; (actually the same stands for "privatelink.{region}.siterecovery.windowsazure.com", should be "privatelink.siterecovery.windowsazure.com"), apparently because in the meantime, documentation has been updated.

I am wondering about scm.privatelink.azurewebsites.net zone which was added to the documentation 20 days ago (MicrosoftDocs/azure-docs@bc03294).
Should it also be deployed as a part of connectivity landing zone as a separate private DNS zone? Or maybe main privatelink.azurewebsites.net is enough, as scm.privatelink.azurewebsites.net is basically just a subzone of the main zone?

Hello @kamilzzz , main zone is enough, either via policy or manual, PE creation creates both A records in main zone, "app_name.privatelink.azurewebsites.net" and "app_name.scm.privatelink.azurewebsites.net" (verified through lab)

Related PRs:
Add defaultValue for PrivateDnsZoneId parameters by krowlandson · Pull Request #1133 · Azure/Enterprise-Scale (github.com)
Fix #1073 - Update Private DNS Zones for Private Link by jtracey93 · Pull Request #1141 · Azure/Enterprise-Scale (github.com)
Added new built-in Policies into the Initiative by pkorolo · Pull Request #1109 · Azure/Enterprise-Scale (github.com)


Some problems in the documentation

Some problems in the documentation and verify: "A function that not uses return is a method"

I have no authority to change the milestone, can someone put in 2.12 if proper.
Can still do a merge to "master" without conflict (such extensive changes create conflict within a few days)
Please review.

@elemoine I am writing to you as coordinator of 2.12.
I can do something in this patch, maybe split, to be able to include in 2.12?

@elemoine: I understand, I have removed the transgressions like those you mention.
It's all in a single commit. This proposal changes the way of allowing shows the constructor in "Tile.js" and "Tile/Image.js".

Why I did this? This ticket only trying to suppress compilation warnings, I will explain:
I was searching (using a preprocessor and Closure Compiler) if there was used a method or function of the "deprecated.js". Conclusion: Only one (but controlled) Tile/Image.js:L163
The preprocessor is a monster who eats NaturalDocs and spits JsDoc.
All this has led me to think it would be nice define flat types such as point {x:number, y:number} (outside the executable code), and indicate in the documentation where can use this instead of a {OpenLayers.Geometry.Point}


Cannot mount after restart

After restarting the OS, I cannot mount ACD again. When I click the mount button, a dialog that says "Please follow Amazon Cloud Drive login page in your browser and return here after it's complete" and the app crashes immediately. I tried removing the cache directory and restarting the app but no help.
Environment:
Latest ACD.DokanNet (1.4)
Windows 8.1 Home Edition
Accessing PC directly (Not through remote desktop)
The following is in the event viewer:
System.InvalidOperationException
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
Location Azi.ACDDokanNet.Gui.App+d__43.MoveNext()
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
Location Azi.ACDDokanNet.Gui.ViewModel+d__18.MoveNext()
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
Location Azi.ACDDokanNet.Gui.MainWindow+<mountButton_Click>d__3.MoveNext()
Location System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object)
Location System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
Location System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
Location System.Windows.Threading.DispatcherOperation.InvokeImpl()
Location System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
Location System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
Location System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
Location System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
Location System.Windows.Threading.DispatcherOperation.Invoke()
Location System.Windows.Threading.Dispatcher.ProcessQueue()
Location System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Location MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Location MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
Location System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
Location System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
Location System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
Location MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
Location MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
Location System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
Location System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
Location System.Windows.Application.RunDispatcher(System.Object)
Location System.Windows.Application.RunInternal(System.Windows.Window)
Location System.Windows.Application.Run(System.Windows.Window)
Location Azi.ACDDokanNet.Gui.App.Main()

Could you try new 1.4.1?
Also if it still happen after restart, can you check before starting settings and mounting again if ACDDokanNet.exe is already started?
Automount on restart should work now also.

Thank you for the response.
I tried the latest version (<IP_ADDRESS>075) but the app still crashes. Before I start the app, I checked the task manager and confirmed that there is no ACDDokanNet.exe running. I found that simply trying to export log makes the app crash, right after I click on the OK button in the save dialog. I hope this helps you fix the issue...

I added new version 1.4.2 that should not crash and show some error message, though does not guaranty mounting.
Log export should be done after Run as Administrator
Also, I tried to install it on different PC without developer software. One of reasons for mounting fail could be dokany. It should be 0.8.0 to work. Before and after there are too many changes to work together.

I tried 1.4.2. I ran it as Administrator. I could export logs successfully however mounting still fails saying "Can't install the Dokan driver". Dokan 0.8.0 has been installed successfully, as ACDDokanNet had been working correctly before.
Here is the log
Mount: DokanNet.DokanException: Can't install the Dokan driver
Location DokanNet.Dokan.Mount(IDokanOperations operations, String mountPoint, DokanOptions mountOptions, Int32 threadCount, Int32 version, TimeSpan timeout)
Location Azi.ACDDokanNet.VirtualDriveWrapper.Mount(String path, Boolean readOnly)
D:\dev2\amazon-clouddrive-dokan\amazon-clouddrive-dokan\VirtualDriveWrapper.cs: 57
Another one. (The fact is, no drive other than C: exists in my PC.)
Mount: Drive letter Z is already used
D:\dev2\amazon-clouddrive-dokan\ACD.DokanNet.Gui\App.xaml.cs: 318
Mount: Drive letter Y is already used
D:\dev2\amazon-clouddrive-dokan\ACD.DokanNet.Gui\App.xaml.cs: 318
.. and same for X, W and so on

Cannot find letter means dokany does not want to mount drive for some reason. It does not say exactly why just fail, I decided used letter is most obvious reason.
I wish to help you but that  involves more complicated things to check. I have reported few issues in dokany myself. Do you still have hope in my app? I have small test app which will print more verbose logs.

I'm still hoping that this works correctly. Many people seem to be looking for this kind of app.
ref: https://www.amazon.com/gp/help/customer/forums/ref=cs_hc_g_tv?ie=UTF8&forumID=Fx1SKFFP8U1B6N5&cdThread=Tx3EB5KJH3175PF
I can run the test app if you need.

Do you still have that issue? Dokany updated to 1.0.0 and I just updated my app to use it.


AjaxFileUpload not working when uploading file due to { and } present in contextkey {DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}

We are using AjaxControlToolkit 4.1 version from past 4 years. We are uploading files using ajaxfileupload control. When we upload files the request will got to Apache Tomcat server with the application URL and by default adding two parameters in the query string contextkey and guid automatically.
For example the url will look like this:
https://reality.alcatel-lucent.com/rsp/action/app/mtap6/MTAPServer/Upload/Upload.aspx?contextkey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&guid=B943E2E3-A536-80BC-F364-E5C39377704A
The two parameters in the URL ContextKey and guid is automatically appended by ajax and the request is sent. The user can't see contextkey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&guid=B943E2E3-A536-80BC-F364-E5C39377704A in the URL. The above URL mentioned in the example is given by the server team.
When i Check AjaxFileUpload.cs page there is one line
internal const string ContextKey = "{DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}";
Can i know what does this mean and whether the above constant can be without { and }
Now the problem is they (server team) is telling they won't accept { and } characters. The files are not getting uploaded.
Can you please help me as this is very urgent for me to fix it.
OR
Can i have the AjaxControlToolkit 4.1 version code so that i can remove  { and } in the const ContextKey and rebuild the code and use that updated dll so that the { and } characters will not be available in the ContextKey param value.
Thanks in advance!!!

Hi @nandakik
We will not change this constant, because this may break network services that expect this parameter in a query URL.
You can download the source code from this repository and make a custom build with a modified constant.
We don't know the commit that corresponds to the version of the toolkit you are using.
To find it, you can do the following:

Download an archive from CodePlex.
Find your release in the releases folder of the archive.
Compare the release date with the commit date using the releaseList.json file located in the same folder.

Hi,
Thanks for your reply.
The AjaxControlToolkit dll that i am using, file version is 4.1.60623.0 and the product version is 4.1.60623 and the size of the dll is 6.23 MB.
Can i know how to find the release date with the commit date using the releaseList.json file located in the same folder. Please find the attached AjaxControlToolkit dll that i am using.
AjaxControlToolkit.zip

I found searching with the version ( 60623 ) in releaseList.json file it's showing liek this:
{
"Id": "12",
"Name": "June 2012 Release",
"DevelopmentStatus": "Stable",
"Description": "! AJAX Control Toolkit Release Notes - June 2012 Release\n\n!! Version 60623\nJune 2012 release of the AJAX Control Toolkit.\n\n* AJAX Control Toolkit .NET 4 – AJAX Control Toolkit for .NET 4 and sample site (Recommended).\n\n* AJAX Control Toolkit .NET 3.5 – AJAX Control Toolkit for .NET 3.5 and sample site (Recommended).\n\n_Notes:_ \n- The current version of the AJAX Control Toolkit is not compatible with ASP.NET 2.0. The latest version that is compatible with ASP.NET 2.0 can be found here: [release:11121].\n- Pages using controls from AJAX Control Tookit .NET 3.5 must use the ToolkitScriptManager, rather than the ASP.NET ScriptManager.\n- AJAX Control Tookit .NET 4 cannot be loaded in Visual Studio 2008. It requires Visual Studio 2010.\n- When using the Ajax Control Toolkit with Visual Studio 2008, you must have Visual Studio Service Pack 1 installed.\n- Instructions for contributing a bug report can be found at [url:http://www.asp.net/ajaxlibrary/act_contribute_bug.ashx]\n\n!! Getting Started\nLearn how to install the toolkit and add the toolkit to the Visual Studio/Visual Web Developer toolbox with the following videos and tutorials.\n\n* Learn how to install the Ajax Control Toolkit at [url:http://www.asp.net/ajaxlibrary/act.ashx]\n* Read answers to frequently asked questions at [url:http://www.asp.net/ajaxlibrary/act_faq.ashx]\n* Learn how to use Ajax Control Toolkit controls at [url:http://www.asp.net/ajaxlibrary/act_tutorials.ashx]\n* View the AJAX Control Toolkit live at [url:http://www.asp.net/ajax/ajaxcontroltoolkit/samples/]\n\n!! What's New?\nThis release of the Ajax Control Toolkit includes important bug fixes and feature enhancements for the following controls:\n\n* HtmlEditorExtender - Important security fixes have been made to the HtmlEditorExtender control. Because of changes in the Microsoft Anti-Cross Site Script Library, the sanitizer provider built with this library has been removed and replaced with a provider built with the HTML Agility Pack.\n\n* ComboBox - This release includes fixes for issues 22930, 23140, 23142, 24440, 25295, 25469, 26686, 27148.\n\n* UpdatePanelAnimation - This release includes a fix for issue 21310.\n\n* Tabs - This release fixes an issue which could cause InvalidOperation exceptions.\n\n* Seadragon - This release includes a fix for issue 26690.\n\nThis release of the Ajax Control Toolkit was brought to you by [url:Superexpert Consulting|http://superexpert.com] -- we build ASP.NET websites",
"ReleasedDatge": "0001-01-01T00:00:00",
"ModifiedDate": "2012-06-24T10:13:27.573-07:00",
"Files": [
{
"Id": "7ab32eb7-040b-4654-af0d-b615ad9507eb",
"FileName": "AjaxControlToolkit.Binary.NET4.zip",
"Url": "./12/7ab32eb7-040b-4654-af0d-b615ad9507eb",
"Type": "Application",
"UploadDate": "2012-06-23T22:46:50.52-07:00"
},
{
"Id": "b8983ca8-afba-48ec-ae57-597e535e2bc1",
"FileName": "AjaxControlToolkit.Binary.NET35.zip",
"Url": "./12/b8983ca8-afba-48ec-ae57-597e535e2bc1",
"Type": "Application",
"UploadDate": "2012-06-23T22:46:50.847-07:00"
}
]
}
Can i know how to get this version AjaxControlToolkit code?

@nandakik
It looks like your release is based on this commit: https://github.com/DevExpress/AjaxControlToolkit/commit/628efdfbb36adcb343d1983b0501c4ab5fdd777a
To get this commit, please refer to the following article: https://stackoverflow.com/a/7832839/644496

Can you please tell me steps how to download this specific ajaxcontrolttolkit code.
Thanks ...

Can i rewrite the url in IIS or so from:
https://reality.alcatel-lucent.com/rsp/action/app/mtap6/MTAPServer/Upload/Upload.aspx?contextkey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&guid=B943E2E3-A536-80BC-F364-E5C39377704A
to
https://reality.alcatel-lucent.com/rsp/action/app/mtap6/MTAPServer/Upload/Upload.aspx?contextkey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&guid=B943E2E3-A536-80BC-F364-E5C39377704A
so that the request to tomcat server will go like in the above url so that the { and } is replaced with its urlencode characters %7B and %7D respective.
Please any suggestions on this will help me a lot..


Motion

Changed constants in constants.py. Corrected new names in motion.py and reference.py. I attempted to do git pull before updating anything on the source codes, but It still says your branch is 6 commits ahead?

The most important changes that need to be made are the dictionaries for STEPS_PER_REVOLUTION
and WHEEL_SIZE.

Address is #20. Closing this for now so he doesn't have to work on his fork anymore.


Is it possible to open a loopback ISampleProvider?

Hi!
Been trying to work out how to get a loopback working so I can generate FFT data from audio going on on my pc and hook it into some existing code. Existing code is using an ISampleProvider to play back audio, and is hooked into a load of code. I can find various examples using wasapicapture or waveinprovider to get loopback, but can't work out an equivalent that will pass something compatible with ISampleProvider. Is that a thing?
Thanks!

If you put the recorded audio into a BufferedWaveProvider, that can be easily turned into an ISampleProvider (as the audio will already be IEEE floating point anyway), with the ToSampleProvider extension method.

Thankyou Mark, much appreciated :)


fix(date-picker): update style properties for day button

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
Day button font-size variable exists but isn't applied to the datepicker scss file. No variable exists for the day button colour.

Issue Number: N/A
What is the new behavior?
Allow configuration by the consumer of the font-size and colour properties of the Calendar day button.
Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

hey, these properties seem like they were intended but missing so seemed easier to push up a PR to demonstrate rather than raise an issue. No worries if there's other plans or I've missed something.

@michaelstone Thanks for the PR, could you explain the rationale behind why this is being changed? Its ok there is no issue, but we are missing some context into the reason for the change and what is changing.

Sorry, I don't know what I was thinking last week - these aren't necessary because the values will cascade from the parent element.
The context of what I'm doing is that I'm trying to use just your Calendar component outside of the Date Picker because we've got a requirement to have a set of date related shortcut buttons to the right of the calendar in the popover element. Might raise a separate issue to discuss whether it'd be possible to expose that as a explicit component on the public api.


How to convert dump format?

Hi,
I have a bunch of dumps in the old format which I don't want to loose. Is there anyway to convert them?

Notes in the release notes here: https://github.com/taskrabbit/elasticsearch-dump/releases/tag/v1.0.0


AKAudioPlayer updates

The main change here is adding the ability to schedule the buffer in the future. There are a few small notes in comments as well. I don't believe this breaks any existing functionality, but it will need testing in other circumstances than mine to be sure!
The only conceptual difference is that this class would previously schedule the buffer on initialize. This means that the first attempt to schedule in the future would be ignored and the buffer would immedately play. Removed that
The only change to your code is moving the buffer setup to the play event rather than the stop. It's working fine here in my project, but as the changes are significant to an important class. Testing!
Let me know if you see anything weird about the way I added this! I think it's a useful feature and a mandatory one for me.
Thanks!
Ryan

HI Ryan,
Interesting. The reason I choosed to set the buffer on stop (and init) was to avoid a laggy play. So playing starts as soon as you ask for. With long files, setting buffer on play can be a problem, especially if you wish to play a few files at the same tile and needs a minimum sync.
But it depends on your needs.
Did you experiment with longer files ?
(With short files, sampler is a better option than akaudioplayer)
What is the reason you wish to change this ?
Best !
Laurent.
Envoyé de mon iPhone

Le 28 oct. 2016 à 01:28, Ryan Francesconi<EMAIL_ADDRESS>a écrit :
The main change here is adding the ability to schedule the buffer in the future. There are a few small notes in comments as well. I don't believe this breaks any existing functionality, but it will need testing in other circumstances than mine to be sure!
The only conceptual difference is that this class would schedule the buffer on initialize. This means that the first attempt to schedule in the future would be ignored. Removed that
The only change to your code is moving the buffer setup to the play event rather than the stop. It's working fine here in my project, but as the changes are significant to an important class. Testing!
Let me know if you see anything weird about the way I added this! I think it's a useful feature and a mandatory one for me.
Thanks!
Ryan
You can view, comment on, or merge this pull request online at:
https://github.com/audiokit/AudioKit/pull/592
Commit Summary
The main change here is adding the ability to schedule the buffer in the future. There are a few small notes in comments as well. I don't believe this breaks any existing functionality, but it will need testing in other circumstances than mine to be sure!
File Changes
M AudioKit/Common/Nodes/Playback/Player/AKAudioPlayer.swift (212)
Patch Links:
https://github.com/audiokit/AudioKit/pull/592.patch
https://github.com/audiokit/AudioKit/pull/592.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I didn't check the code. But if it is an option and if you still can use akaudioplayer the way it worked (set buffer on stop), I have no objection.
:-)
Laurent.
Envoyé de mon iPhone

Le 28 oct. 2016 à 01:28, Ryan Francesconi<EMAIL_ADDRESS>a écrit :
The main change here is adding the ability to schedule the buffer in the future. There are a few small notes in comments as well. I don't believe this breaks any existing functionality, but it will need testing in other circumstances than mine to be sure!
The only conceptual difference is that this class would schedule the buffer on initialize. This means that the first attempt to schedule in the future would be ignored. Removed that
The only change to your code is moving the buffer setup to the play event rather than the stop. It's working fine here in my project, but as the changes are significant to an important class. Testing!
Let me know if you see anything weird about the way I added this! I think it's a useful feature and a mandatory one for me.
Thanks!
Ryan
You can view, comment on, or merge this pull request online at:
https://github.com/audiokit/AudioKit/pull/592
Commit Summary
The main change here is adding the ability to schedule the buffer in the future. There are a few small notes in comments as well. I don't believe this breaks any existing functionality, but it will need testing in other circumstances than mine to be sure!
File Changes
M AudioKit/Common/Nodes/Playback/Player/AKAudioPlayer.swift (212)
Patch Links:
https://github.com/audiokit/AudioKit/pull/592.patch
https://github.com/audiokit/AudioKit/pull/592.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi Laurent, I'll do more testing with long files. Most of my testing has been with files 2 minutes or under, so you may be right. I'm developing on a 2007 mac - so I like to think of my system as the slowest possible one to run AudioKit!
However, I still don't think stop() is the correct place to set the buffer unless you aren't using startTime and endTime. Have a look at the attached pict of a portion of what I'm working on. I have a fairly typical DAW where the files are being scheduled based on the position in the timeline sync'd to video generally. When the app is in the stopped or play state you can edit the regions, essentially resetting their startTime and endTimes.
So, I think the alternative in my case is to call setPCMBuffer manually when the edit is done. And change it to open rather than fileprivate. Given that - what do you guys suggest?

I'll see if I can optimize this a bit more. I have a few ideas.

Very impressing project !
I understand your point. but for video synced DAW, you must be able to
manage 2 hours long files.
(my job is sound engineer for TV programs, and I can tell that it happens
very often)
If you fill the buffer when play is pressed, you may get a very very slow
responsive DAW.
And sync will probably be very hazardous (that's a major problem, phase
inconsistency between tracks on a DAW is unacceptable)
There's no way to ensure that many AKaudioplayers will play in sync.
So I 'm not convinced that AKAudioPlayer is the right engine to achieve
your goal.
Please check your change with huge files.
and check what happen with many tracks...
Filling the buffer can be very long with long files. And If it becomes
laggy, I'd prefer to keep the default behaviour of AKAudioPlayer like it is.
For such a purpose, may be AVComposition classes would be more appropriate
(https://developer.apple.com/reference/avfoundation/avmutablecomposition).
But I've never experimented with it.
Let us know...
Another direction would be to "schedule segment" with an AVAudioPlayerNode.
(But no looping then, that's why I prefered the scheduleBuffer method. And
I remember to have some bugs with completion handler not beeing triggered
correctly)
Good luck !
Laurent.
2016-10-28 18:41 GMT+02:00 Ryan Francesconi<EMAIL_ADDRESS>
Hi Laurent, I'll do more testing with long files. Most of my testing has
been with files 2 minutes or under, so you may be right. I'm developing on
a 2007 mac - so I like to think of my system as the slowest possible one to
run AudioKit!
However, I still don't think stop() is the correct place to set the buffer
unless you aren't using startTime and endTime. Have a look at the attached
pict of a portion of what I'm working on. I have a fairly typical DAW where
the files are being scheduled based on the position in the timeline sync'd
to video generally. When the app is in the stopped or play state you can
edit the regions, essentially resetting their startTime and endTimes.
So, I think the alternative in my case is to call setPCMBuffer manually
when the edit is done. And change it to open rather than fileprivate. Given
that - what do you guys suggest?
[image: image]
https://cloud.githubusercontent.com/assets/2917795/19814175/f57d3176-9cf1-11e6-884e-1e3d2a5142fc.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/audiokit/AudioKit/pull/592#issuecomment-256968892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASTVriCO1Kqycij6P49L2_5hGCft6v8pks5q4iWwgaJpZM4Ki7p1
.

Yes - actually I was using the schedule segment method before trying to merge with AKAudioPlayer. I'll experiment what is the best solution.
Previously you were calling stop() before your play command. So actually you were filling the buffer on both stop and before play previously. The main thing that doesn't work for me is scheduling the buffer on stop and initialize.
I'll work on it some more and see if I can find a good solution. I considered the mutable composition route, but am hoping that I don't need to do that!


fix: circular dependencies

Fix circular dependencies.

Fixes https://github.com/tinacms/tinacms/issues/1177


Update the application patch test to add externalConsentManagement to the patch request

Purpose
$subjetc
Changes

The below configuration is added to the advance configurations of the application API request.

{
    "advancedConfigurations": {
        "externalConsentManagement": {
            "enabled": true,
            "consentUrl": "https://example.com/consent"
        }
    }
}

From this PR, this configuration is added to the patch test case of application.

Closed this PR due to changes of this property of the advanced configurations.


Added example of Barlow Twins

This is a Keras implementation of Barlow Twins(contrastive SSL with redundancy reduction techniques) using the CIFAR-10 dataset

Demonstrates implementation of Barlow Twins
Contains a concise and clear explanation about the topic for people who don't know much about self-supervised learning

This method can reach about 63-64% validation accuracy with linear evaluation.
COLAB LINK

@haifeng-jin Just wanted to know if you could review this PR. I totally understand if you are busy, though.

@dewball345 I will review it asap. Thanks

@dewball345 is it possible to share a colab link?

@dewball345 I will review it asap. Thanks

Sure, thanks!

@dewball345 is it possible to share a colab link?

Sure, https://colab.research.google.com/drive/12AALKqGSiW4JizTUOIcZhfwwcmnAa3h0?usp=sharing

@fchollet @haifeng-jin @innat Hello, I have made most of the updates that have been requested. However, I included a few questions for some of the suggestions, but I think I have fixed most of my issues. Please let me know if there is anything left for me to do.

hello @innat, thank you for your comments. I had tried to use preprocessing layers instead of tf.image in the backend. However, when I did the training, the performance was incredibly slow.
with tf.image, the training time per epoch was only 29 seconds
but when replacing preprocessing layers for only random flip and random resize, the training per epoch rose to almost 250 seconds per epoch.
I believe something may be wrong with my code, so I will share a colab
link

Hi @dewball345, I would like to add my two cents on the usage of image augmentation layers. I believe they are intended to be used as part of your model, on batched images, on GPU. You are currently doing the augmentations as part of your data pipeline, per image, on CPU. In that case I think you should stick to tf.image operations.
I am the author of the SimCLR code example, and I took the other route, check it out if you are interested. I modified your Colab Notebook minimally (copying over the same augmentation layers from the SimCLR example), to show exactly what I mean. Check it out here. In my Colab session, the epoch time was around 110s both with tf.image ops and with the tf.keras layers. Keep in mind however, that using the current keras augmentation layers, you wont be able to replicate the pipeline of the paper as precisely as you do now.

Hi @beresandras , thanks for your insight about this. I will check out your notebook modification soon (keeps crashing on the device I am typing on). By the way, I believe the images are normalized but it occurs in the loss function.

@beresandras  Okay, i viewed your example, thank you for helping me on this. While it is an improvement from the 225 seconds, it still takes way too much time to train. 109 seconds per epoch is still more than 3x slower than 29 seconds. @innat I think i will structure the layers as preprocessing layers and use the subclassing API but all of them will have to be powered by tf.image

@dewball345

with tf.image, the training time per epoch was only 29 seconds
but when replacing preprocessing layers for only random flip and random resize, the training per epoch rose to almost 250 seconds per epoch.

When we use tf.image.random_flip_left_right, it flips the image horizontally by default, and when we use keras.layers.RandomFlip, it flips the image horizontally and vertically, both.  Also in the backend, the layer class is usually using the tf.image.* modules; same as resizing layer, However, I didn't benchmark the performance speed but tf.image.* should be computationally faster than layer for less checkpoint (if-else like in layer call).

Hi, i used flip left right because that was how the paper did it. However, i previously did flip top bottom and the performance was about the same as well

@dewball345

with tf.image, the training time per epoch was only 29 seconds
but when replacing preprocessing layers for only random flip and random resize, the training per epoch rose to almost 250 seconds per epoch.

When we use tf.image.random_flip_left_right, it flips the image horizontally by default, and when we use keras.layers.RandomFlip, it flips the image horizontally and vertically, both. Also in the backend, the layer class is usually using the tf.image.* modules; same as resizing layer, However, I didn't benchmark the performance speed but tf.image.* should be computationally faster than layer for less checkpoint (if-else like in layer call).

You know, this is my two cents of knowledge but I assume that part of what makes it slower is the stateless random augmentations; I previously used the newer stateless_random functions but they were very slow, so i switched back to the older ones.

You know, this is my two cents of knowledge but I assume one part of what makes it slower is the stateless random augmentations; I previously used the newer stateless_random functions but they were very slow, so i switched back to the older ones.

Do you more detailed info about this?

@fchollet
https://colab.research.google.com/drive/1aJuooY93eHw4v9lW20RcLCOrFgt1JrlY?usp=sharing
this is an old barlow twins example that I made. When switching to stateless augmentations, the time per epoch rises to 58 seconds while with the regular versions the time per epoch is just 27s.
I might have done something wrong, so bear with me.

Okay, added the fixes. Please review if anything else needs to be changed.

Fixed!

@haifeng-jin sorry for the redundant mistakes. I think I have fixed the issues addressed.

Fixed these issues

@dewball345 Seems it is failing the black style check. Would you try to run black locally and fix the issue? Thanks.

I have reformatted the file with black.

Looks like black works and all checks have passed. Would you like me to add the markdown files and notebook?

@dewball345 Yes, please generate the md and ipynb files. Thanks.

I added all the files.

@innat will likely add that as an update along with some other changes that
I want to add. Thank you so much for your help :)
On Sun, Dec 5, 2021 at 8:51 PM Mohammed Innat @.***>
wrote:

@.**** commented on this pull request.
In examples/vision/barlow_twins.py
https://github.com/keras-team/keras-io/pull/697#discussion_r762700601:

   z_a_norm, z_b_norm = self.normalize(z_a), self.normalize(z_b)

   c = self.cross_corr_matrix(z_a_norm, z_b_norm)

   loss = self.cross_corr_matrix_loss(c)

   return loss

+"""
+# Barlow Twins' Model Architecture
+The model consists of an
+*   Encoder network, which is a resnet-34
+*   Projector network, which creates the model embeddings.

This consists of an MLP with 3 dense-batchnorm-relu layers
+"""

+class ResNet34:
yes, the residual network paper.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras-io/pull/697#discussion_r762700601,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHGJKVEQJBUIN5HYCIFZAJLUPQ6N7ANCNFSM5HRWVOMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@haifeng-jin Thank you so much for approving :)

Looking at the code, it seems you could simplify it by using TF similarity barlow losses and the augmenters from it. They are currently in nightly and should be hitting prod this week -- see:  https://github.com/tensorflow/similarity/blob/development/tensorflow_similarity/losses/barlow.py
Same for the augmenters, you could just reuse the one in tf similarity.

I could add that as an update(as there are a series of other major
modifications I would like to make soon) but would like to initially
release the original version first. Thank you so much for mentioning this
library, I really wish I could have seen this before developing ;).
On Tue, Dec 7, 2021 at 6:14 PM Elie Bursztein @.***>
wrote:

Looking at the code, it seems you could simplify it by using TF similarity
barlow losses and the augmenters from it. They are currently in nightly and
should be hitting prod this week -- see:
https://github.com/tensorflow/similarity/blob/development/tensorflow_similarity/losses/barlow.py
Same for the augmenters, you could just reuse the one in tf similarity.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras-io/pull/697#issuecomment-988432976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHGJKVA7OB5H6O6GQ6T2NKLUP25PBANCNFSM5HRWVOMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@fchollet I fixed the changes. Thank you for your patience, and sorry for the wait.

No, will generate the files quickly today

@fchollet I have updated the source files.

@dewball345 thank you for the great contribution!

@fchollet is it normal that I cannot see my example on keras.io?


[Bug] Gathering a peer list for a GetPeers reply can take a long time

🐛 Bug Report
I noticed that with slightly higher peer counts (possibly with defaults too, just to a lesser extent), the node can take a long time to collect a list of peers; the internal RTT for that request can go well into seconds (while other requests are handled within a reasonable time frame). Below is an extra time calculation I included just in the body of the function collecting the list of peers:
Oct 07 11:24:31.759  WARN collected peers in 30562ms
Oct 07 11:24:31.759  WARN collected peers in 19374ms
Oct 07 11:24:31.759  WARN collected peers in 13831ms
Oct 07 11:24:31.759  WARN collected peers in 28938ms

Fixed by https://github.com/AleoHQ/snarkOS/pull/1208.


Fix issue where macro includes copyright header when using tag=**

We should set the line offset also when when the whole file (without the tag lines) is included.

Closing issue, already fixed in core


fitsio: systematically use io.ReadFull for reading padding bytes in decoding

Avoid redundant checks of the length of data read when using io.ReadFull and use ioutil.Discard when reading the padding bytes, when decoding an image or table, so to avoid allocating a buffer.
No new tests written. All existing tests pass.

Done both modifying the commit and submitted PR to licence repo.

When you merge this PR to the lazy-image-loader branch, would you also be willing to merge that branch to master? In that way,  when one does go get the improvements included in lazy-image-loader get installed and available.
There are still some API improvements that would be nice to have, but in my opinion they should go into another dedicated branch.

thanks, but you changed the PR title (that's ok), I was talking about the commit message :)

wrt the lazy-image-loader branch, I still need to implement the proper split of HDU into a HU and DU part.
I am still officially on holidays but I'll give a stab next week.

Understood about lazy-image-loader.
Regarding the commit message, my (admittedly) limited understanding of git is that it is not possible to change the commit message without changing the commit hash, which may have have consequences with this PR. I may be wrong, of course !
Is there a clean way to change the commit message I'm not aware of?

youre understanding of git is correct, this will change the commit hash :)
but if you push the new commit into this branch, the PR should be correctly updated.
(and I'll cherry pick it in master.)

Done. Thanks for the tip.

ok... this was a bit convoluted (I prefer to have a rather linear git history) so I cherry picked your change and collected it as a1d964b.
thanks a lot!


Animations on leave not working after using Autocomplete

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Animations should run as usual, no matter if you used autocomplete before

What is the current behavior?
After opening autocomplete animations for leaving element are not working and element is being removed instantly.

What are the steps to reproduce?
https://stackblitz.com/edit/angular-pc5yuw
Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 4.3.4
Material 2.0.0-beta.8
Chrome Version 59.0.3071.115 (64-bit)

It looks like this issue is no longer occurring as seen here


Fix "request had no answer" warning in doveauth

Currently journalctl -u doveauth.service is filled with
Jan 29 17:20:07 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 17:20:07 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 17:57:43 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 17:57:43 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 19:49:00 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 19:49:00 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 20:40:32 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 20:40:32 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 20:40:32 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 20:40:32 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 20:40:32 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 20:40:32 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 22:18:00 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 22:57:42 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 29 23:31:10 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'
Jan 30 00:02:01 c20 doveauth[669843]: WARNING:root:request had no answer: 'H3\t2\t0\t\tauth'

We should expect H (HELLO) message in the beginning: https://doc.dovecot.org/developer_manual/design/dict_protocol/

What's the issue then? The log lines don't appear anymore. Maybe it can be closed now?


npm install fails on Debian

Debian (intentionally) installs nodejs as /usr/bin/nodejs, not /usr/bin/node.
+ sudo npm install -g elm
/usr/local/bin/elm -> /usr/local/lib/node_modules/elm/binwrappers/elm
/usr/local/bin/elm-make -> /usr/local/lib/node_modules/elm/binwrappers/elm-make
/usr/local/bin/elm-package -> /usr/local/lib/node_modules/elm/binwrappers/elm-package
/usr/local/bin/elm-reactor -> /usr/local/lib/node_modules/elm/binwrappers/elm-reactor
/usr/local/bin/elm-repl -> /usr/local/lib/node_modules/elm/binwrappers/elm-repl

><EMAIL_ADDRESS>install /usr/local/lib/node_modules/elm
> node install.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR<EMAIL_ADDRESS>install: `node install.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the elm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls elm
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.2.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "elm"
npm ERR! cwd /home/alex/dotfiles
npm ERR! node -v v4.2.2
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/alex/dotfiles/npm-debug.log
npm ERR! not ok code 0

Relevant section from the docs it references:
nodejs command
--------------

The upstream name for the Node.js interpreter command is "node".
In Debian the interpreter command has been changed to "nodejs".

This was done to prevent a namespace collision: other commands use
the same name in their upstreams, such as ax25-node from the "node"
package.

Scripts calling Node.js as a shell command must be changed to instead
use the "nodejs" command.

The remedy for this is already mentioned on https://www.npmjs.com/package/elm. So, what else do you think is necessary?

Hadn't noticed that, thanks. I worked around it by just symlinking nodejs to node.
For anyone else who ended up here, here's a relevant SO with a bit more background: http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu
Kind of a shame to have to install a legacy package and do local workarounds, but it looks like elm-platform is at least consistent with other npm packages. NPM's own docs say that the start field will default to node server.js[1], which makes me think this practice is still fairly commonplace and people aren't really trying to find more portable ways to invoke JS as package.json hooks. :/
The only thing I'd really ask is that this "just works" and perhaps calls its own script which invokes nodejs or node, but I understand if you'd rather wait for a better solution from upstream - it definitely doesn't seem like something every NPM package author should have to do.
I'll close this since it's not really this package's fault. Thanks again.


Add codeowners for documentation

Relates to https://github.com/ROCm/ROCm/issues/2832
Adding documentation team as codeowners for documentation.
Goal is to make this group of code owners reviewers when merging documentation changes.
Please note that this requires the team to be added as a role with Write permissions.

Please fix the errors listed by github.

The change is flagged as an error by GitHub because it requires the team to be added as a role with Write permissions by someone with permissions to do this via the Settings tab (eg: admin).
I do not have this access. Would you be able to do this?


Support for OP_RETURN parameter in bitcoincash: style URIs

Hi,
We're looking at submitting a patch to Electron Cash to add support for an "op_return" parameter in bitcoincash: URI's. There are a fair few use-cases that this would allow for (e.g. allowing a service to identify a particular transaction in an address without having to act as a mediator of funds by receiving and then forwarding to that address). I've given a more detailed description below:
https://www.reddit.com/r/btc/comments/9w0n59/walleturi_support_for_op_return/
The PR for Electron Cash is here:
https://github.com/Electron-Cash/Electron-Cash/pull/952
I do not have enough familiarity with Angular to submit a PR for the Bitcoin.com wallet, but would this be something that the Bitcoin.com Wallet might consider adding?

I'm willing to pay $100USD to whomever can implement this:
https://bounty.cash/#/categories/1/apps-features/bounty/1/support-for-op-return-query-parameter

I too would like to have this feature.

@jimtendo I'm working on it. I'm adding op_return support on the electron-cash ios mobile wallet. It's about 30% done.
https://github.com/Electron-Cash/Electron-Cash/pull/2307

Thanks much for this @libreloya, appreciate it. I'm hoping we can get cross-wallet support for this param as I think it's potentially quite powerful.
The other alternative for attaching OP_RETURN (which I've tested working with Electron Desktop and Bitcoin.com Wallet) is to use the BIP70 protocol and add it as an output.
Here's a demo of this using CashPayServer:
https://codepen.io/jimtendo/pen/BaRoYeo

This was insanely helpful @jimtendo
Thank you so much🙏
I managed to send a op_return transaction to my proof-of-concept site http://bchpages.com/ using your bip70 demo. From my mobile phone (Bitcoin.com Wallet) !

I checked out your page - I like the concept.
BIP70 is great in the flexibility it offers. However, for use-cases like your one here, it might not be ideal as it depends upon a central server to:
a) Receive the invoice (transaction) details
b) Broadcast the payment (generally with BIP70, your wallet sends the signed transaction to the server and the server then broadcasts the tx to the network)
This means that the anonymity is hit slightly as that central server could keep a log of IP addresses:transactions.
Spec for BIP70 is here: https://en.bitcoin.it/wiki/BIP_0070
I'd love to eventually see a CHIP for a new URI-based Protocol that allows more versatility in defining transactions. Something that allows:

Specifying multiple outputs
Defining more complex outputs (not based on address - eg. OP_RETURN and other custom out scripts)
For now though, even getting the op_return URL param support across wallets would be very helpful.

If you need help with anything, feel free to reach out on Telegram: https://t.me/jimtendo


input-name: Ignore non-Mutation fields.

Related https://github.com/dotansimha/graphql-eslint/issues/75, which we also ran into.
This PR updates the input-name rule so it will ignore any fields that aren't on the Mutation type. This assumes that the schema is using the default Mutation type name. If we want to support a custom mutation type name we could add it as an option or alternatively parse for the schema { mutation: MyMutationRootType }
Thanks!

Awesome catch, thank you @henryqdineen !
Can you please add a changeset for that change? (run yarn changeset and it will guide you)

Thanks @dotansimha. I just pushed the changeset.

Awesome, thank you. Merging, and will release right after!


Add support for an environment.ini file

This offers an alternative to system or environment properties where access is unavailable, for example where shared hosting is used.

Correct me if I'm wrong, but this pull request doesn't add support for .ini files to the library, just the tests.
That being said, I think I would say that the .ini file parsing would make the most sense in the Application.cfc  You could add the properties to the Java System using system.setProperty().  This would let you keep a consistent way of accessing secrets (via env or system properties) whether using shared hosting, docker containers, VPS, or whatever.

Yes, but you could use this with the production code. Or am I missing something?
I was just following your changes for the system properties. I have a situation where I can't set system/environment properties.
I could have put my ini file support to the Application.cfc but I thought it was better to keep it close to your changes.

Yes, but you could use this with the production code. Or am I missing something?
I was just following your changes for the system properties. I have a situation where I can't set system/environment properties.
I could have put my ini file support to the Application.cfc but I thought it was better to keep it close to your changes.

My points were two fold:

The changes in this pull request only change test code.  I would assume that tests would be ran locally via CommandBox.  In those cases, commandbox-dotenv would add these values to system properties for you.
As far as using this in production, I completely understand not being able to set ENV vars or Java System Properties.  You should still be able to use the library as is by setting the appropriate module settings:

moduleSettings = {
    cbgithub = {
        "username" = "myUserName",
        "password" = "myPassword"
    }
};

// or like this if you want to use your personal access token...

moduleSettings = {
    cbgithub = {
        "token" = "myPersonalToken"
    }
};

You could read in your .ini file in your config/ColdBox.cfc and use the values there.  My suggestion before was to maybe even add the values in the .ini file to the system properties at runtime using java.lang.System.setProperty so you could still access it the same (using a getSystemSetting helper of some sort), but this is not required.
Hopefully this helps explain my thoughts a bit better?

I see my suggestions solve an issue I have rather than useful for the project as a whole so I'll withdraw this pull request.


[ci] Remove repo.radeon.com build-args; HiP CI unit tests running

HiP docker images should inherit the repo information from the hcc image,
so no need to duplicate in HiP again
HiP unit tests are running correctly in CI, it's detecting two failing test cases, independent of the changes in this PR.
The following tests FAILED:
45 - directed_tests/runtimeApi/event/record_event.tst (OTHER_FAULT)
74 - directed_tests/runtimeApi/stream/hipStreamSync2.tst (OTHER_FAULT)

I must have been mistaken, the master branch must already have a fix for the bugs I mentioned previously.  All unit tests are passing.


neovim crash when git commit

stack traceback:                                                                                ^I[C]: in function 'json_decode'                                                                                ^I...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:29: in function <...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:25> function: builtin#18 Vim:E474: Unexpected end of input: {"type ":"context","data":{"path":{"text":"./Desktop/kube/images/vendor/symfony/symfony/src/Symfony/Component/Console/Helper/ProgressIndicator.php"},"lines":{"text":"     */\n"},"line_number":100,"absolute_offset ":
There are a lot more of this messages but everyone shows an error in json_decode in line 29 of the init.lua
I think if there is no workspace it fails because in a normal project it works
How to reproduce this error:

git config core.editor nvim
git commit

It is a json_decode error. Something ripgrep returns as json can't be parsed by Neovim.
Can you post the whole error message? I'll add a check to the json decode, but I would like to know what ripgrep returned.

this is the same issue as #15
I will close this issue, but if you can share the whole error message, please post it on that issue.

Can you post the whole error message? I'll add a check to the json decode, but I would like to know what ripgrep returned.

It's a huge message, how can pass the whole message?

I think it's fine then, you don't need to post it.
Can you test #17 and see if that fixes it?

Now it shows this:
^I...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:34: in function <...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:25>
^I...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:34: in function <...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:25> function: builtin#18 ...e/nvim/site/pack/packer/start/cmp-rg/l
^I...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:34: in function <...e/nvim/site/pack/packer/start/cmp-rg/lua/cmp-rg/init.lua:25>


fix: missing internet permission

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Codecov Report
Base: 97.44% // Head: 97.44% // No change to project coverage :thumbsup:

Coverage data is based on head (737965f) compared to base (b6e389d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   97.44%   97.44%
=======================================
  Files         114      114
  Lines        2898     2898
=======================================
  Hits         2824     2824
  Misses         74       74

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Anthropic model integration

This commit is used to add Claude 3 support to the framework to use Anthropic LLM, one of the powerful SOTA LLM providers.
Parameters required:

ANTHROPIC_API_KEY:https://docs.anthropic.com/en/api/client-sdks
Model name: Claude 3 opus, Claude 3.5 Sonnet.

Reference:

Langchain Anthropic Integration

Looking forward for more contributions

Made the changes


{"message":"Invalid handler specified"}

Description
Exception in _async_prefs_updated called from File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/src/homeassistant/homeassistant/main.py", line 226, in  sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 214, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 179, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete self.run_forever() File "/usr/local/lib/python3.10/asyncio/base_events.py", line 603, in run_forever self._run_once() File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once handle._run() File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/components/cloud/init.py", line 309, in _on_initialized await prefs.async_update(remote_domain=cloud.remote.instance_domain) File "/usr/src/homeassistant/homeassistant/components/cloud/prefs.py", line 132, in async_update await self._save_prefs(prefs) File "/usr/src/homeassistant/homeassistant/components/cloud/prefs.py", line 293, in _save_prefs self._hass.async_create_task(async_create_catching_coro(listener(self))) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 353, in _async_prefs_updated await self.async_disable_proactive_mode() File "/usr/src/homeassistant/homeassistant/components/alexa/config.py", line 83, in async_disable_proactive_mode if unsub_func := await self._unsub_proactive_report: homeassistant.components.alexa.errors.RequireRelink
Reproduction Steps
During HA Startup
Expected behavior
Startup of Tapo Controll
If applicable, add error logs.
No response
Device Firmware
1.3.0
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Raspberry Pi
Search for similar issues
Yes
Additional information
(=)

solved be updating Tapo camera control :)


Add initial draft of CONTRIBUTING.md

Provides a starting ground for #31
Most of the information is taken from nayafias CONTRIBUTING-template, but I tried to incorporate some of the information from the README too.
Github itself has more information about how to set up the project to help new people to contribute to the project, maybe you want to incorporate some of the tips from https://help.github.com/articles/helping-people-contribute-to-your-project/ too.
@therajanmaurya Do you think I missed something important?

@MoriTanosuke Guidelines looks good. Thanks for sending PR 🙂

One thing needs to add, Add this Contribution guideline link in README, So everyone can get it quickly 🙂.

I added a link to CONTRIBUTING.md in the README.md. The link points to the master branch, so it should work after merging the PR.
@therajanmaurya Please have a look at the README. I added a new section right below the requirements list and before the architecture overview. Seems like a good place for it, or should I move it somewhere else?

No It's good place, Good work 👍


Sunspec: honor scale factors when writing

Fix https://github.com/evcc-io/evcc/issues/16008

Fronius Gen24 working like charm! Awsome! Thank you!


[GSoC] 238-Photo2Cartoon

Convert Photo to cartoon ONNX Model to OpenVINO™ IR
Photo2Cartoon results
This tutorial explains how to convert the photo2cartoon ONNX Model to OpenVINO™ IR
Notebook Contents
This tutorial demonstrates the running results of photo2cartoon and converts it from ONNX model to the IR model used by OpenVION.
The tutorial consists of the following steps:

Prepare the environment required for program operation
Downlad pre-train model
Validate original model
Convert ONNX model to openVINO IR
Verify model inference

Installation Instructions
If you have not installed all required dependencies, follow the Installation Guide.

Thank you for your contribution. Before we do the review please do the self-check first (tick the item when it's done):

[ ] each function is described by docstrings and type hints
[ ] notebook contains explicit descriptions and explanatory diagrams
[ ] the notebook doesn't use any data (image, video, etc.) that is not CC4.0 licensed
[ ] there is a README.md file in consistent style (look at other notebooks)
[ ] the notebook is added to the main README and notebooks/README files
[ ] there are no grammar, interpunctions or typo issues (use any free tool for that e.g. Grammarly)
[ ] there are no committed files besides notebook and readme (please use images or videos from data dir)
[ ] your PR doesn't change any other notebooks
[ ] all CI checks passed

Thank you for your contribution. Before we do the review please do the self-check first (tick the item when it's done):

[x]  each function is described by docstrings and type hints
[x]  notebook contains explicit descriptions and explanatory diagrams
[x]  the notebook doesn't use any data (image, video, etc.) that is not CC4.0 licensed
[x]  there is a README.md file in consistent style (look at other notebooks)
[x]  the notebook is added to the main README and notebooks/README files
[x]  there are no grammar, interpunctions or typo issues (use any free tool for that e.g. Grammarly)
[x]  there are no committed files besides notebook and readme (please use images or videos from data dir)
[x]  your PR doesn't change any other notebooks
[x]  all CI checks passed

I have confirmed that all of the above tasks have been completed.

Thank you, we will review it when we have some resources. Please note we're reviewing PRs in FIFO style. Note: The PR must be opened before April 4th, it doesn't have to be reviewed or merged.

In fact, the result of this code is a bit problematic. There is a certain gap between the picture it generates and the picture generated by the original model on the pytorch platform. It may be a problem with some of my code, so please delay my PR merge. I will fix this as soon as possible.

Sure. The result should be the same unless you change the model precision.

Hi, @adrianboguszewski
I have some questions for GSoC application. I want to apply for the project that Showcase performance of PyTorch Image Models (timm) with OpenVINO.

In my understanding, what this project needs to do is similar to this PR, is that true?
Can I offer some input of my own on this project? I want to compare the specific running speed of the same model on the Pytorch platform and the OpenVINO platform under the same hardware.
Does 'properly benchmarking under the various settings' mean a comparison of models trained under different hyperparameters?

Would you mind answering these questions for me? If you can't, please leave a message and I would be very grateful.

@sususama, the mentor for this task is @AlexKoff88 and he is the right person to ask these questions :)

Thank you for your work. I will contact mentor as soon as possible.


feat(types): add PartialOverwrite to channels

Reference: https://github.com/discord/discord-api-docs/pull/3094

The corresponding PR has been closed; due to incorrect partial structure as type field is always present. Closing for now, feel free to reopen.


Don't allow send empty URL

I think it's ok now. Probably have something to improve in my code, but the problem is solved.


Use REMOTE_USER for checking against LDAP User Provider

Since my web app is only used internally, I want to switch from form based login (by suppling our AD username and AD password) to SSO via Windows Authentication in IIS.
This works fine when I witch Symfony to the remote_user instad of the LDAPtools Guard but only when I use the user_db provider. This means that a user must exist in the database before login is allowed.
I want to mix SSO and LDAP login to login to the web app without the need for the user to exist in the database first. The reason why I want to use LDAP too is so I can use AD Group Membership to allow different parts of the web app.
Currently IIS fills the PHP REMOTE_USER with NETBIOSDOMAIN\username. LDAPtools queries the ldap with sAMAccountName=NETBIOSDOMAIN\5cusername which doesnt exist because sAMAccountName is only the username and not the full string with domain included (also it translates the backslash to 5c)
Is it possible for LDAPtools to for example strip the NETBIOSDOMAIN\ and query with only the last part provided in REMOTE_USER? Or am I completely taking the wrong approach?

I am a little bit closer...by stripping the username to remove the domain, I can login. However, no new user is created in the database and I get a new error on accessing each new page (but the next refresh doesn't give the error, after that it does, after that it doesn't, etc).
Adding the line
$username = substr(strrchr($username, '\\'), 1); //strip domain info
before line 91 does make the login work:
https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/User/LdapUserProvider.php#L91


Horizon setting in examples

Hi @jzleibo , in the self_play_train.py in examples, is there any suggestion for setting the config parameters:
num_workers = 1
rollout_fragment_length = 30
train_batch_size = 200
horizon = 200
The horizon is set to 200, but the "allelopathic_harvest" scenario lasts 2000 steps. Why not set the horizon to 2000?

This was an oversight on our part. A fix is in flight. Thanks for pointing it out!


Persistence Loading policy: support None to not load any data

In some cases this will save the cost of transporting data and recording in the history

Maybe it’s the same as partial loading with empty list?


Update Dockerfile to properly enable multi platform

As described here, we followed the proper way to use dotnet docker images with buildx (multi-platform).

@dotnet-policy-service agree [company="AxLabs"]


upload without public directory

I want to upload assets that exists in public directory but not the public directory itself. Is it possible by changing any config?

Yes, you can use a combination of include and exclude from the docs https://github.com/Vinelab/cdn#files--directories to choose specifically what you'd like to have uploaded. Also when configuring your buckets, you may specify that:
'buckets' => [

    'my-bucket' => 'public/*'',

]

I tried changing those options but it does upload public directory itself too with the files under public directory. But I only want to upload inner contents of the public directory not the public directory itself.

Have you tried excluding the public directory? For it's the default in the package.

Yes I tried.  It seems by default it pushes public directory when I run push command

I'm also having this issue. Can anyone post a working include/exclude example to make this work please?


Additions to "Daily" Tracker

Add the ability to add quests to the Daily Tracker.
The quests that have daily limits:

Strength and Chivalry
Playing Cat and Mouse
Antiquarian Troubles

other quests with daily limits:

Baker and the Merrymaker (5/day)
Here Today, Gone Golonzo (2/day)

there are probably more but i haven't progressed in story past the dytroit belt

Perhaps a Maniac battle tracker for the rotation summons as well, since those basically are dailies? I notice that Primarch battles can be tracked but it seems like Diablo/Corow/Sagi/etc aren't.


Supersaturated colors

Describe the bug
I use the MRTK standard shader in my scene. Everything looks good in the Unity editor, but when I build the project, all the colors are way too colorful.
To reproduce
I'm not sure, but it might have something to do with the LWRP. I can not test this for my project because I can not fix the current bad state.
I've tried to test it on a new project, but I can not click on the "Update Mixed Reality Toolkit / Utilities / MRTK S... Pipeline" button (grayed out).
Expected behavior
The materials rendered using the HoloLens device should resemble the materials rendered in the Unity Scenes window.
Your Setup (please complete the following information)

Unity Version 2019.2.9f1
MRTK Version v2.1.0 NuGet

Project Settings/Player/XR Settings:

Depth Format: 16-bit
Enabled Depth Buffer Sharing: enabled
Rendering Mode: Single Pass Instanced

Target Platform (please complete the following information)

HoloLens

@ChristophHoltmann Do you think you could take some captures on your device / in editor for comparison?

Hi @Railboy thank you for your fast response!
Here are some pictures:

Hope this helps.

The problem looks similar to the followign bug reports:

The problem looks similar to the following bug reports:

@ChristophHoltmann What color space is your project using?

@Railboy This is the perfect question!
I was able to fix it an hour ago by using "gamma" color space. It is a hack, but it works ;)
These issues might look similar to the problem I had:
https://issuetracker.unity3d.com/issues/lwrp-android-scene-is-rendered-darker-in-build-when-graphics-api-set-to-gles3-and-color-space-set-to-linear
https://issuetracker.unity3d.com/issues/lwrp-android-lighweight-scene-is-noticeably-darker-when-building-application-with-gles3-on-android-9-device

https://forum.unity.com/threads/sprite-images-too-dark-with-burnt-colors.264459/


implement Django 2.0 plural handling fix to Django 1.11

Implement fix from https://github.com/django/django/commit/2cbb095bec757b804e8b6d9d0930ef3c6446a591#diff-1e9839033582752049574f4b3376bfa3 to Django 1.11

Per our supported versions policy, 1.11 is only receiving fixes for security and data loss issues.


fix: HTTP gateway URL used in client guide

Fixes the outdated client docker image guide URL (reference here).

@dcroote - I am closing this without a merge.
So I changed the way this UUID for httpGateway is presented thinking that it will become a random string in the future. The approach I used will accommodate such a change and the current hardcoded value.

-X: POST
-H: The Content-Type using the value of application/json.
-d: Use request body data to pass the endpoint parameter key/value pair.
url:

: The HTTP gateway URL as displayed in the terminal at the end of an Airnode deployment less the :endpointId placeholder. Update the placeholder in the CURL example below with its value.
0x6db9...c27af6: Passed as a path parameter, the endpointId to call, see triggers.rrp[0].endpointId in the config.json file.

# For Windows CMD replace line termination marker \ with ^
curl -X POST \
  -d '{"parameters":{"coinIds":"api3","coinVs_currencies":"usd"}}' \
  -H 'Content-Type: application/json' \
  '<httpGatewayUrl>/0x6db9e3e3d073ad12b66d28dd85bcf49f58577270b1cc2d48a43c7025f5c27af6'

It probably makes more sense when reading through the tutorial.

Ok, but I wished you had given me a chance to review / comment before closing this PR and merging your own.

@dcroote Hey sorry about that. Guess I was in more of a hurry than I should have been.


Inference fails after speed up

There are many add layers in my model. Pruning and speed up will happen without any issue. I have used dependency aware mode.
When I run the inference on the compressed model, there is a mismatch in the number of channels in the add layer. Please fix this issue as soon as possible.

@hitesh-hitu - would you mind share the model to reproduce the problem?
cc @J-shang

Hi,
I can't share the exact model because of IP. I'll try to share the backbone and see if I can replicate the issue on the same.

hi @hitesh-hitu I'm very pleasure if you could provide the demo for debug!


TOKEN_AS_RESPONSE is deprecated, TOKEN_AS_SERVICE_TICKET is to be use…

…d instead

 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.

Forgot to mention: I initially followed the guide but found that it wasn't working; then, with debug, I've reached up the statement I'm proposing to change with this PR.

Coverage increased (+0.006%) to 45.879% when pulling 0d8a464e089f611dca7c8be59e3c77ca4121cd1c on ilgrosso:patch-1 into a20dcdc76adf52a729da0acdfdc08d6a78892ba9 on apereo:master.

Thank you very much for the contribution!


File Picker - Missing "save as" file name  information

Category

[x] Question
[ ] Documentation issue
[x] Bug

Expected or Desired Behavior
When configuring OneDrive File picker with:
...
    typesAndSources: {
      mode: 'folders',
      filters: ['folder'],
      pivots: {
        recent: true,
        oneDrive: true,
        sharedLibraries: false,
      },
    },
    tray: {
      prompt: 'save-as',
      saveAs: {
        fileName: 'test.txt',
      },
    },
 ....

The tray appears, but no information regarding the file name is returned to the on.pick callback.
I'm not sure whether I misconfigured something or it's a bug
Observed Behavior
The only information in the callback is the information of the picked folder. There's no data about the chosen file name
Steps to Reproduce
Configure a picker to pick folders, and have the "saveAs" tray enabled (list described above). When you inspect the callback - there's no sign of the file name chosen by the user.
Thank you.
[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

Hey @patrick-rodgers , I saw that you are the creator of https://learn.microsoft.com/en-us/onedrive/developer/controls/file-pickers/v8-schema?view=odsp-graph-online, so I figured that you can maybe help me with that.
Do you know if the issue described above is a bug, or a misconfiguration on my side?
Thanks!


cf-units wheel on pypi not compatible with numpy2

🐛 Bug Report
Installing numpy-2 together with cf-units from pip is possible, but when running it, the following error is given:
venv/lib/python3.11/site-packages/iris/common/mixin.py:10: in <module>
    import cf_units
venv/lib/python3.11/site-packages/cf_units/__init__.py:23: in <module>
    from cf_units import _udunits2 as _ud
cf_units/_udunits2.pyx:1: in init cf_units._udunits2
    ???
E   ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

How to Reproduce
Steps to reproduce the behaviour:

pip install "numpy>=2"
pip install cf-units
pip list

Package                Version
---------------------- -------
antlr4-python3-runtime 4.7.2
cf-units               3.2.0
cftime                 1.6.4
Jinja2                 3.1.4
MarkupSafe             2.1.5
numpy                  2.1.1
pip                    22.0.2
setuptools             59.6.0

python -mcf_units

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/home/heikok/cfunits2/lib/python3.10/site-packages/cf_units/__init__.py", line 23, in <module>
    from cf_units import _udunits2 as _ud
  File "cf_units/_udunits2.pyx", line 1, in init cf_units._udunits2
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Expected Behaviour
cf-units should work together with numpy2.
or cf-units should be marked incompatible with numpy2
Environment

OS & Version: Ubuntu 22.04 LTS
cf-units Version: 3.2.0

Needs https://github.com/SciTools/cf-units/pull/427
In a way, past builds will require a numpy<2 pin to keep working.

#488 fixes, just waiting for a release now.


Code 400 : Invalid HTTP upgrade error

Hi,
I am running below code
let webSocket = WebSocket.init(url: URL(string: signallingUrl))
webSocket.connect()
it gives below error while processHTTP function for connecting websocket and websocket disconnecting with error
error code 400 : Invalid HTTP upgrade
Note : Same signallingUrl working with DotNet web app and websocket. So, signalling server and url is fine and it's a Xirsys singnalling host
I am using Starscream latest version 3.0.5
Please checkout this issue and let me know.

There isn't enough here to help, but from what you are reporting your server is returning a HTTP 400 error. That means it is probably an issue with how you have your WebSocket server setup and isn't an issue with Starscream. I'd check your configuration of your server and see why it is returning a 400 error when the WebSocket on the client app attempts to connect.


Help with Website

@lifengren95 , what are the parts of the website that need to up be updated?

It looks like the lab meetings need to be updated for the fall. Would it make sense to create an archive for past presentations?
The home page can probably have a bit more fleshed out with main features: about, lab members, lab meetings, how to join.
Do you want help setting up the skills workshop page? We can create a searchable table for the skills and link to the past presentations.
Since we already have some of this on the official website, maybe we should just link to the official website for certain aspects.
And I think it may be good to have a list of ongoing projects for the lab to showcase new work. And maybe highlight recent publications from the lab.

Tell me how I can help so we can build up the lab website.

That is true. Thanks for reminding me.

Yes. I can update the lab meeting sections.
Would you like to help with the homepage part.
I think for the skill sessions: Yes. A separate tab would be good and we provide a title and link directly to our lab's internal repository. So that this is internal resources to share. We can ask the presenter if he/she would like to make this public and we can modify the visibility there. I can work on this.
I do not quite get this point. Do you mean provide a hyperlink on the GitHub io website to the umn website?
Yes. That sounds great. You want to help with this section?

Can you create a new branch under the github repository named as"develop_ryan" to work on this. I will also use the "develop_lifeng" to start working on this.
@jandrewjohnson Justin, how does this sound to you? And once we are done, can you help with the merge and publish?
Thanks,
Lifeng

My point on #4 is that there is a github page and a umn website. The UMN website seems to already have a lot of info that is not worth duplicating the info Github. So it is a decision of what to feature on the Github page, and do we hyperlink to important things on the UMN page.
Alternatively, the UMN website could be nothing more than a link to the github page that houses ALL the information.


Weird issue with archive

I couldn't replicate this with any other bin, but here goes.
visit this bin (bepabu) and you'll notice the file menu has the unarchive option (if you click it it will do nothing as it is not yours) if you then type in the bin, it will create a new bin and the url will update, but the file menu will fail to.
I tried this both logged in and out and it was an issue.
I also tried to replicate by creating a bin, archiving it, and then editing it in an incognito window, but when it created the new bin the whole page refreshed, stopping this issue from happening.
This may be nothing, but if you can replicate too, we may wanna think about force refreshing rather than URL update, or just re-render the menu client side

@allouis
I've managed to replicate it.  Here is possible explanation.
Open developer console tool to see runtime JavaScript errors.
When this bin is loaded I'm keep seeing this error:
 SyntaxError: Unexpected token )
    at http://static.jsbin.com/js/prod/runner-3.25.5.min.js:1:13840
    at http://static.jsbin.com/js/prod/runner-3.25.5.min.js:1:10893
bepabu.js:14 Uncaught SyntaxError: Unexpected token )

c = Math.sqrt((a * a) + (b * b));
    window.runnerWindow.proxyConsole.log)
    if (c !== c.toFixed())

If you modify a bin and this error disappear, the menu is going away as well (for example when page is fully refreshed).
Cheers!

Is this specific to this particular bin or is it happening on other bins too? (sorry, little disconnected)

@remy I cannot repeat the problem (and JavaScript error) with my own bins (e.g. similar content + JavaScript code used in bin).


Script activity is failing after some time

[Enter feedback here]
Hi,
I am running script activity in ADF, the activity is failing after 30mins ,type of Query is Non-Query(It has both DML and DDL statements).
The error message is as below:
Error: User Configuration Error
Description: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b0e64407-55e5-d56f-25e7-c9e080501372
Version Independent ID: 1a1240c7-8bce-8150-b106-4dc57f861453
Content: Transform data by using the Script activity - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/transform-data-using-script.md
Service: data-factory
Sub-service: tutorials
GitHub Login: @nabhishek
Microsoft Alias: abnarain

Thanks for the feedback! We are currently investigating and will update you shortly.

@Manojmanu43 Could you please try increasing timeout period in script activity and see if that helps.
Please note, GitHub forum is dedicated for docs related issues. For any technical queries or clarifications, we encourage to utilize Microsoft Q & A platform. Kindly raise your query on Microsoft Q&A Platform