Resolves #2506

Add example
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2506

Docs Build status updates of commit 4619aae:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docset/winserver2012-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2016-ps/uev/index.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Import-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Get-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Export-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Clear-UevAppxPackage.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Disable-UevAppxPackage.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Enable-UevAppxPackage.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Set-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2016-ps/uev/Set-UevTemplateProfile.yml
:warning:Warning

Details

docset/winserver2022-ps/failoverclusters/Add-ClusterDisk.yml
:warning:Warning

Details

docset/winserver2019-ps/failoverclusters/Add-ClusterDisk.yml
:warning:Warning

Details

docset/winserver2012-ps/failoverclusters/Add-ClusterDisk.yml
:warning:Warning

Details

docset/winserver2022-ps/hyper-v/Measure-VM.yml
:warning:Warning

Details

docset/winserver2012-ps/iscsi/Get-IscsiSession.yml
:warning:Warning

Details

docset/winserver2022-ps/iscsitarget/Get-IscsiVirtualDisk.yml
:warning:Warning

Details

docset/winserver2012-ps/iscsi/Get-IscsiConnection.yml
:warning:Warning

Details

docset/winserver2022-ps/netadapter/Get-NetAdapterAdvancedProperty.yml
:warning:Warning

Details

docset/winserver2022-ps/iscsitarget/Restore-IscsiVirtualDisk.yml
:warning:Warning

Details

docset/winserver2022-ps/netadapter/New-NetAdapterAdvancedProperty.yml
:warning:Warning

Details

docset/winserver2022-ps/iscsitarget/Remove-IscsiVirtualDiskTargetMapping.yml
:warning:Warning

Details

docset/winserver2022-ps/netadapter/Disable-NetAdapterChecksumOffload.yml
:warning:Warning

Details

docset/winserver2022-ps/netsecurity/New-NetFirewallRule.yml
:warning:Warning

Details

docset/winserver2019-ps/netadapter/Disable-NetAdapterRsc.yml
:warning:Warning

Details

docset/winserver2022-ps/iscsitarget/Import-IscsiVirtualDisk.yml
:warning:Warning

Details

docset/winserver2019-ps/netadapter/Enable-NetAdapterRdma.yml
:warning:Warning

Details

docset/winserver2022-ps/netadapter/Enable-NetAdapterRdma.yml
:warning:Warning

Details

docset/winserver2012r2-ps/netlbfo/Remove-NetLbfoTeam.yml
:warning:Warning

Details

docset/winserver2012r2-ps/netsecurity/Remove-NetIPsecPhase1AuthSet.yml
:warning:Warning

Details

docset/winserver2022-ps/networktransition/Get-NetTeredoState.yml
:warning:Warning

Details

docset/winserver2012-ps/iscsi/Get-IscsiTarget.yml
:warning:Warning

Details

docset/winserver2012r2-ps/netsecurity/Set-NetIPsecPhase2AuthSet.yml
:warning:Warning

Details

docset/winserver2019-ps/netadapter/Enable-NetAdapterBinding.yml
:warning:Warning

Details

docset/winserver2022-ps/netadapter/Enable-NetAdapterBinding.yml
:warning:Warning

Details

docset/winserver2019-ps/netadapter/Set-NetAdapterBinding.yml
:warning:Warning

Details

docset/winserver2012-ps/networkloadbalancingclusters/Remove-NlbCluster.yml
:warning:Warning

Details

docset/winserver2022-ps/netadapter/Disable-NetAdapterBinding.yml
:warning:Warning

Details

docset/winserver2012r2-ps/netsecurity/Set-NetIPsecQuickModeCryptoSet.yml
:warning:Warning

Details

docset/winserver2012r2-ps/netsecurity/Remove-NetIPsecQuickModeCryptoSet.yml
:warning:Warning

Details

docset/winserver2012-ps/networkloadbalancingclusters/Start-NlbCluster.yml
:warning:Warning

Details

docset/winserver2022-ps/netadapter/Enable-NetAdapterIPsecOffload.yml
:warning:Warning

Details

docset/winserver2016-ps/nfs/Set-NfsMappingStore.yml
:warning:Warning

Details

docset/winserver2022-ps/netsecurity/Set-NetIPsecPhase2AuthSet.yml
:warning:Warning

Details

docset/winserver2016-ps/netsecurity/Set-NetIPsecRule.yml
:warning:Warning

Details

docset/winserver2019-ps/netadapter/Disable-NetAdapterRdma.yml
:warning:Warning

Details

docset/winserver2016-ps/networkloadbalancingclusters/Start-NlbCluster.yml
:warning:Warning

Details

This comment lists only the first 50 files in the pull request.

docset/winserver2012-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/mm5q-s/docset/winserver2012-ps/scheduledtasks/New-ScheduledTask.md:47:(350) '```powershell
PS C:\> $actions = (New-ScheduledTa...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/mm5q-s/docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md:47:(350) '```powershell
PS C:\> $actions = (New-ScheduledTa...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/mm5q-s/docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md:47:(350) '```powershell
PS C:\> $actions = (New-ScheduledTa...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/mm5q-s/docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md:47:(350) '```powershell
PS C:\> $actions = (New-ScheduledTa...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/mm5q-s/docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md:47:(350) '```powershell
PS C:\> $actions = (New-ScheduledTa...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2016-ps/uev/index.yml

Line 7, Column 5: [Warning-xref-not-found] Cross reference not found: 'UEV.Disable-Uev'.

docset/winserver2016-ps/uev/Import-UevConfiguration.yml

Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Clear-UevConfiguration.yml'.

docset/winserver2016-ps/uev/Get-UevConfiguration.yml

Line 18, Column 9: [Warning-file-not-found] Invalid file link: './Clear-UevConfiguration.yml'.

docset/winserver2016-ps/uev/Export-UevConfiguration.yml

Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Clear-UevConfiguration.yml'.

docset/winserver2016-ps/uev/Clear-UevAppxPackage.yml

Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevAppxPackage.yml'.

docset/winserver2016-ps/uev/Disable-UevAppxPackage.yml

Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevAppxPackage.yml'.

docset/winserver2016-ps/uev/Enable-UevAppxPackage.yml

Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevAppxPackage.yml'.

docset/winserver2016-ps/uev/Set-UevConfiguration.yml

Line 10, Column 9: [Warning-file-not-found] Invalid file link: './Clear-UevConfiguration.yml'.

docset/winserver2016-ps/uev/Set-UevTemplateProfile.yml

Line 10, Column 9: [Warning-file-not-found] Invalid file link: './Restore-UevBackup.yml'.

docset/winserver2022-ps/failoverclusters/Add-ClusterDisk.yml

Line 29, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.
Line 31, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-VirtualDisk.yml'.

docset/winserver2019-ps/failoverclusters/Add-ClusterDisk.yml

Line 29, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.
Line 31, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-VirtualDisk.yml'.

docset/winserver2012-ps/failoverclusters/Add-ClusterDisk.yml

Line 29, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.

docset/winserver2022-ps/hyper-v/Measure-VM.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Remove-VMNetworkAdapterAcl.yml'.

docset/winserver2012-ps/iscsi/Get-IscsiSession.yml

Line 42, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.
Line 44, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-InitiatorPort.yml'.

docset/winserver2022-ps/iscsitarget/Get-IscsiVirtualDisk.yml

Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Checkpoint-IscsiVirtualDisk.yml'.
Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Convert-IscsiVirtualDisk.yml'.

docset/winserver2012-ps/iscsi/Get-IscsiConnection.yml

Line 44, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.
Line 46, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-InitiatorPort.yml'.

docset/winserver2022-ps/netadapter/Get-NetAdapterAdvancedProperty.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Set-NetAdapterAdvancedProperty.yml'.

docset/winserver2022-ps/iscsitarget/Restore-IscsiVirtualDisk.yml

Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Checkpoint-IscsiVirtualDisk.yml'.
Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Convert-IscsiVirtualDisk.yml'.

docset/winserver2022-ps/netadapter/New-NetAdapterAdvancedProperty.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Set-NetAdapterAdvancedProperty.yml'.

docset/winserver2022-ps/iscsitarget/Remove-IscsiVirtualDiskTargetMapping.yml

Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Add-IscsiVirtualDiskTargetMapping.yml'.

docset/winserver2022-ps/netadapter/Disable-NetAdapterChecksumOffload.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Set-NetAdapterChecksumOffload.yml'.

docset/winserver2022-ps/netsecurity/New-NetFirewallRule.yml

Line 18, Column 9: [Warning-file-not-found] Invalid file link: './Enable-NetFirewallRule.yml'.
Line 34, Column 9: [Warning-file-not-found] Invalid file link: './Get-NetFirewallSecurityFilter.yml'.
Line 50, Column 9: [Warning-file-not-found] Invalid file link: './Show-NetFirewallRule.yml'.

docset/winserver2019-ps/netadapter/Disable-NetAdapterRsc.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Get-NetAdapterRsc.yml'.

docset/winserver2022-ps/iscsitarget/Import-IscsiVirtualDisk.yml

Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Checkpoint-IscsiVirtualDisk.yml'.

Line 28, Column 9: [Warning-file-not-found] Invalid file link: './Save-NetGPO.yml'.

docset/winserver2012-ps/networkloadbalancingclusters/Start-NlbCluster.yml

Line 16, Column 9: [Warning-file-not-found] Invalid file link: './New-NlbCluster.yml'.

docset/winserver2022-ps/netadapter/Enable-NetAdapterIPsecOffload.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Set-NetAdapterIPsecOffload.yml'.

docset/winserver2016-ps/nfs/Set-NfsMappingStore.yml

Line 13, Column 9: [Warning-file-not-found] Invalid file link: './Get-NfsMappingStore.yml'.

docset/winserver2022-ps/netsecurity/Set-NetIPsecPhase2AuthSet.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Get-NetIPsecPhase2AuthSet.yml'.
Line 24, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPsecMainModeCryptoSet.yml'.
Line 36, Column 9: [Warning-file-not-found] Invalid file link: './Set-NetIPsecRule.yml'.

docset/winserver2016-ps/netsecurity/Set-NetIPsecRule.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Get-NetFirewallAddressFilter.yml'.
Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Get-NetFirewallInterfaceFilter.yml'.

docset/winserver2019-ps/netadapter/Disable-NetAdapterRdma.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Get-NetAdapterRdma.yml'.

docset/winserver2016-ps/networkloadbalancingclusters/Start-NlbCluster.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Set-NlbCluster.yml'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit dc60e74:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@velkovb - kindly commit the suggested changes. Many thanks.

Docs Build status updates of commit 3d054f9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3995451:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md
:x:Error

Details

docset/winserver2019-ps/uev/index.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Set-UevTemplateProfile.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Clear-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Test-UevTemplate.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Enable-UevTemplate.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Update-UevTemplate.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Export-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2022-ps/uev/Disable-UevTemplate.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Disable-UevTemplate.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Set-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Unregister-UevTemplate.yml
:warning:Warning

Details

docset/winserver2022-ps/uev/Set-UevConfiguration.yml
:warning:Warning

Details

docset/winserver2019-ps/uev/Restore-UevUserSetting.yml
:warning:Warning

Details

docset/winserver2012r2-ps/dnsclient/Set-DnsClientNrptRule.yml
:warning:Warning

Details

docset/winserver2012r2-ps/dnsclient/Add-DnsClientNrptRule.yml
:warning:Warning

Details

docset/winserver2012r2-ps/dnsclient/Get-DnsClientNrptGlobal.yml
:warning:Warning

Details

docset/winserver2012r2-ps/dnsclient/Remove-DnsClientNrptRule.yml
:warning:Warning

Details

docset/winserver2012r2-ps/dnsclient/Set-DnsClientNrptGlobal.yml
:warning:Warning

Details

docset/winserver2016-ps/failoverclusters/Add-ClusterDisk.yml
:warning:Warning

Details

docset/winserver2022-ps/failoverclusters/Add-ClusterDisk.yml
:warning:Warning

Details

docset/winserver2012r2-ps/iscsi/Get-IscsiConnection.yml
:warning:Warning

Details

docset/winserver2012r2-ps/iscsi/Get-IscsiTarget.yml
:warning:Warning

Details

docset/winserver2012r2-ps/iscsi/Get-IscsiSession.yml
:warning:Warning

Details

docset/winserver2012r2-ps/iscsi/Update-IscsiTarget.yml
:warning:Warning

Details

docset/winserver2012r2-ps/msdtc/Receive-DtcDiagnosticTransaction.yml
:warning:Warning

Details

docset/winserver2016-ps/netadapter/Rename-NetAdapter.yml
:warning:Warning

Details

docset/winserver2016-ps/networkloadbalancingclusters/Add-NlbClusterNodeDip.yml
:warning:Warning

Details

docset/winserver2012r2-ps/msdtc/Send-DtcDiagnosticTransaction.yml
:warning:Warning

Details

docset/winserver2016-ps/netsecurity/Remove-NetIPsecQuickModeCryptoSet.yml
:warning:Warning

Details

docset/winserver2016-ps/netsecurity/New-NetIPsecQuickModeCryptoProposal.yml
:warning:Warning

Details

docset/winserver2016-ps/netadapter/New-NetAdapterAdvancedProperty.yml
:warning:Warning

Details

docset/winserver2012r2-ps/networkloadbalancingclusters/Add-NlbClusterNode.yml
:warning:Warning

Details

docset/winserver2022-ps/netsecurity/New-NetIPsecQuickModeCryptoProposal.yml
:warning:Warning

Details

docset/winserver2016-ps/networkloadbalancingclusters/Add-NlbClusterNode.yml
:warning:Warning

Details

docset/winserver2016-ps/netsecurity/Set-NetFirewallInterfaceTypeFilter.yml
:warning:Warning

Details

docset/winserver2022-ps/netsecurity/Get-NetFirewallProfile.yml
:warning:Warning

Details

docset/winserver2016-ps/netsecurity/Get-NetIPsecRule.yml
:warning:Warning

Details

docset/winserver2022-ps/netsecurity/Set-NetFirewallInterfaceTypeFilter.yml
:warning:Warning

Details

docset/winserver2016-ps/netsecurity/Get-NetFirewallApplicationFilter.yml
:warning:Warning

Details

docset/winserver2012r2-ps/netsecurity/Copy-NetIPsecMainModeRule.yml
:warning:Warning

Details

docset/winserver2016-ps/networktransition/Get-NetIPHttpsState.yml
:warning:Warning

Details

docset/winserver2012r2-ps/msdtc/Undo-DtcDiagnosticTransaction.yml
:warning:Warning

Details

docset/winserver2019-ps/networktransition/Get-NetIPHttpsState.yml
:warning:Warning

Details

docset/winserver2016-ps/networkloadbalancingclusters/Set-NlbClusterPortRule.yml
:warning:Warning

Details

docset/winserver2016-ps/networkloadbalancingclusters/Resume-NlbClusterNode.yml
:warning:Warning

Details

docset/winserver2022-ps/netsecurity/Get-NetFirewallApplicationFilter.yml
:warning:Warning

Details

This comment lists only the first 50 files in the pull request.

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/iyzg-s/docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md:55:(277) '```

This example creates and registers a schedu...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/iyzg-s/docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md:55:(277) '```

This example creates and registers a schedu...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/iyzg-s/docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md:55:(277) '```

This example creates and registers a schedu...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md

Line 0, Column 0: [Error-MAML2Yaml_LoadFileFailed]

Failed to load file: W:/iyzg-s/docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md:55:(277) '```

This example creates and registers a schedu...'
 Expect Heading, please try to use PlatyPS validate the content

docset/winserver2019-ps/uev/index.yml

Line 7, Column 5: [Warning-xref-not-found] Cross reference not found: 'UEV.Disable-Uev'.
Line 17, Column 5: [Warning-xref-not-found] Cross reference not found: 'UEV.Get-UevStatus'.

docset/winserver2019-ps/uev/Set-UevTemplateProfile.yml

Line 8, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.
Line 10, Column 9: [Warning-file-not-found] Invalid file link: './Restore-UevBackup.yml'.

docset/winserver2019-ps/uev/Clear-UevConfiguration.yml

Line 8, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevConfiguration.yml'.
Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Import-UevConfiguration.yml'.

docset/winserver2019-ps/uev/Test-UevTemplate.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.
Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Register-UevTemplate.yml'.

docset/winserver2019-ps/uev/Enable-UevTemplate.yml

Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.
Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Register-UevTemplate.yml'.

docset/winserver2019-ps/uev/Update-UevTemplate.yml

Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.
Line 18, Column 9: [Warning-file-not-found] Invalid file link: './Register-UevTemplate.yml'.

docset/winserver2019-ps/uev/Export-UevConfiguration.yml

Line 8, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevConfiguration.yml'.
Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Import-UevConfiguration.yml'.

docset/winserver2022-ps/uev/Disable-UevTemplate.yml

Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Enable-UevTemplate.yml'.
Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.
Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Register-UevTemplate.yml'.
Line 18, Column 9: [Warning-file-not-found] Invalid file link: './Test-UevTemplate.yml'.
Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Unregister-UevTemplate.yml'.
Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Update-UevTemplate.yml'.

docset/winserver2019-ps/uev/Disable-UevTemplate.yml

Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.
Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Register-UevTemplate.yml'.

docset/winserver2019-ps/uev/Set-UevConfiguration.yml

Line 8, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevConfiguration.yml'.
Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Import-UevConfiguration.yml'.

docset/winserver2019-ps/uev/Unregister-UevTemplate.yml

Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.
Line 18, Column 9: [Warning-file-not-found] Invalid file link: './Register-UevTemplate.yml'.

docset/winserver2022-ps/uev/Set-UevConfiguration.yml

Line 8, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevConfiguration.yml'.
Line 10, Column 9: [Warning-file-not-found] Invalid file link: './Clear-UevConfiguration.yml'.
Line 12, Column 9: [Warning-file-not-found] Invalid file link: './Import-UevConfiguration.yml'.
Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Export-UevConfiguration.yml'.

docset/winserver2019-ps/uev/Restore-UevUserSetting.yml

Line 8, Column 9: [Warning-file-not-found] Invalid file link: './Get-UevTemplate.yml'.

docset/winserver2012r2-ps/dnsclient/Set-DnsClientNrptRule.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptPolicy.yml'.
Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptRule.yml'.

docset/winserver2012r2-ps/dnsclient/Add-DnsClientNrptRule.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptPolicy.yml'.
Line 24, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptRule.yml'.

docset/winserver2012r2-ps/dnsclient/Get-DnsClientNrptGlobal.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptPolicy.yml'.
Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptRule.yml'.

docset/winserver2012r2-ps/dnsclient/Remove-DnsClientNrptRule.yml

Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptPolicy.yml'.
Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptRule.yml'.

docset/winserver2012r2-ps/dnsclient/Set-DnsClientNrptGlobal.yml

Line 26, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptPolicy.yml'.
Line 28, Column 9: [Warning-file-not-found] Invalid file link: './Get-DnsClientNrptRule.yml'.

docset/winserver2016-ps/failoverclusters/Add-ClusterDisk.yml

Line 29, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.
Line 31, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-VirtualDisk.yml'.

docset/winserver2022-ps/failoverclusters/Add-ClusterDisk.yml

Line 31, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-VirtualDisk.yml'.

docset/winserver2012r2-ps/iscsi/Get-IscsiConnection.yml

Line 46, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.
Line 48, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-InitiatorPort.yml'.

docset/winserver2012r2-ps/iscsi/Get-IscsiTarget.yml

Line 40, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-InitiatorPort.yml'.

docset/winserver2012r2-ps/iscsi/Get-IscsiSession.yml

Line 44, Column 9: [Warning-file-not-found] Invalid file link: '../storage/Get-Disk.yml'.

Line 28, Column 9: [Warning-file-not-found] Invalid file link: './Save-NetGPO.yml'.

docset/winserver2016-ps/netsecurity/New-NetIPsecQuickModeCryptoProposal.yml

Line 16, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPsecMainModeCryptoSet.yml'.

docset/winserver2016-ps/netadapter/New-NetAdapterAdvancedProperty.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Set-NetAdapterAdvancedProperty.yml'.

docset/winserver2012r2-ps/networkloadbalancingclusters/Add-NlbClusterNode.yml

Line 22, Column 9: [Warning-file-not-found] Invalid file link: './Stop-NlbClusterNode.yml'.
Line 24, Column 9: [Warning-file-not-found] Invalid file link: './Suspend-NlbClusterNode.yml'.

docset/winserver2022-ps/netsecurity/New-NetIPsecQuickModeCryptoProposal.yml

Line 18, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPsecRule.yml'.

docset/winserver2016-ps/networkloadbalancingclusters/Add-NlbClusterNode.yml

Line 14, Column 9: [Warning-file-not-found] Invalid file link: './Get-NlbClusterNode.yml'.
Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Set-NlbClusterNode.yml'.
Line 24, Column 9: [Warning-file-not-found] Invalid file link: './Suspend-NlbClusterNode.yml'.

docset/winserver2016-ps/netsecurity/Set-NetFirewallInterfaceTypeFilter.yml

Line 34, Column 9: [Warning-file-not-found] Invalid file link: './Save-NetGPO.yml'.

docset/winserver2022-ps/netsecurity/Get-NetFirewallProfile.yml

Line 32, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPsecRule.yml'.

docset/winserver2016-ps/netsecurity/Get-NetIPsecRule.yml

Line 58, Column 9: [Warning-file-not-found] Invalid file link: './Get-NetFirewallProfile.yml'.
Line 80, Column 9: [Warning-file-not-found] Invalid file link: './Save-NetGPO.yml'.

docset/winserver2022-ps/netsecurity/Set-NetFirewallInterfaceTypeFilter.yml

Line 30, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPsecRule.yml'.

docset/winserver2016-ps/netsecurity/Get-NetFirewallApplicationFilter.yml

Line 30, Column 9: [Warning-file-not-found] Invalid file link: './Save-NetGPO.yml'.
Line 32, Column 9: [Warning-file-not-found] Invalid file link: './Set-NetFirewallAddressFilter.yml'.

docset/winserver2012r2-ps/netsecurity/Copy-NetIPsecMainModeRule.yml

Line 40, Column 9: [Warning-file-not-found] Invalid file link: './Copy-NetIPsecPhase1AuthSet.yml'.
Line 56, Column 9: [Warning-file-not-found] Invalid file link: './Remove-NetIPsecMainModeRule.yml'.

docset/winserver2016-ps/networktransition/Get-NetIPHttpsState.yml

Line 21, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPHttpsConfiguration.yml'.
Line 23, Column 9: [Warning-file-not-found] Invalid file link: './Remove-NetIPHttpsConfiguration.yml'.
Line 25, Column 9: [Warning-file-not-found] Invalid file link: './Rename-NetIPHttpsConfiguration.yml'.
Line 27, Column 9: [Warning-file-not-found] Invalid file link: './Reset-NetIPHttpsConfiguration.yml'.

docset/winserver2012r2-ps/msdtc/Undo-DtcDiagnosticTransaction.yml

Line 10, Column 9: [Warning-file-not-found] Invalid file link: './New-DtcDiagnosticTransaction.yml'.

docset/winserver2019-ps/networktransition/Get-NetIPHttpsState.yml

Line 21, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPHttpsConfiguration.yml'.
Line 23, Column 9: [Warning-file-not-found] Invalid file link: './Remove-NetIPHttpsConfiguration.yml'.

docset/winserver2016-ps/networkloadbalancingclusters/Set-NlbClusterPortRule.yml

Line 18, Column 9: [Warning-file-not-found] Invalid file link: './Enable-NlbClusterPortRule.yml'.

docset/winserver2016-ps/networkloadbalancingclusters/Resume-NlbClusterNode.yml

Line 16, Column 9: [Warning-file-not-found] Invalid file link: './Get-NlbClusterNode.yml'.
Line 20, Column 9: [Warning-file-not-found] Invalid file link: './Set-NlbClusterNode.yml'.
Line 26, Column 9: [Warning-file-not-found] Invalid file link: './Suspend-NlbClusterNode.yml'.

docset/winserver2022-ps/netsecurity/Get-NetFirewallApplicationFilter.yml

Line 26, Column 9: [Warning-file-not-found] Invalid file link: './New-NetIPsecRule.yml'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 6a3f002:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit fe9232b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/scheduledtasks/New-ScheduledTask.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Unimplemented action views

To reduce scope in #875, carved out the unimplemented actions into a separate issue that we can tackle later down the road.
We don't currently support this functionality in minifront, and default to unimplemented action views.

[ ] Ics20Withdrawal
[ ] ValidatorDefinition
[ ] IbcRelay
[ ] ProposalSubmit
[ ] ProposalWithdraw
[ ] ValidatorVote
[ ] DelegatorVoteView
[ ] ProposalDepositClaim
[ ] PositionOpen
[ ] PositionClose
[ ] PositionWithdraw
[ ] PositionRewardClaim
[ ] CommunityPoolSpend
[ ] CommunityPoolOutput
[ ] CommunityPoolDeposit

Ics20Withdrawal is one that minifront supports. Can we promote this to https://github.com/penumbra-zone/web/issues/875?

Ics20Withdrawal is one that minifront supports. Can we promote this to #875?

yes, good catch! that's the last view that needs to be checked


Destructuring assignment problem

There is strange problem with your example from Brunch/Config page:
// Add namespacing to a project.
const {name} = require('./package.json');
modules: {nameCleaner: path => path.replace(/^app/, name) }

This const {name} = require('./package.json'); string is doing **Destructuring assignment **, which is part of ES6, and this is almost the same as  const name = require('./package.json').name;
The problem is if I usу const {name} = require('./package.json'); I get error: Initialization error - Cannot read property '1' of null Cannot read property '1' of null - the const name is not assigned (the second option with .name works fine). It is even more strange, because nameCleaner: path => path.replace(/^app/, name) works fine also, and this is the proof that ES6 transiles fine to general JS. What can be the reason of this bug?

Hey @sintro, what is your Node.js version? Destructuring works without flag only on v6+.

Insta hit the target!
For some reason had v. 4, updated to last 6.9 and now everything is fine!


refactor(client): Refactor scalar arguments validation

After few dives into query.ts I believe we could handle scalar arguments validation a little bit better.
What we are doing right now: for every passed in value we try to guess it's type, based on typeof, schema type, matching certain regexps, etc. From that we build a stringified name of the type and compare with expected name, built from the schema. In a long list of conditionals then we try to see if the types are compatible (you can assign ints to float types, but not vice-versa) as well as correct some incorrect "guesses" from previous step (if a string looks like a date we'd report that it's a date, but then allow to pass dates to string types if we guessed incorrectly).
This has a couple of issues:

Since we compare types as strings, lists have to be processed separately from scalars. If we say that Foo is compatible with Bar, we need to also not forget that List<Foo> is compatible with List<Bar>, it won't happen automatically. It causes issues like #11674
Need to correct incorrect guesses, like in String-Date example from above.

What I am proposing instead in this PR:

Given DMMF schema for types, we build a series of classes for each supported scalar type, as well as the list.
Each class is responsible for checking, if provided value is compatible. We don't try to guess the type from the value. If user passes us a string that looks like a DateTime, we won't say it is a DateTime unless it's used in a position where DateTime is an acceptable input.
List type reuses the classes of scalar types, so if we implement changes in particular scalar type logic, lists of those scalars will handle this case as well.

I believe this a clearer and less susceptible to errors approach.  It does not seem to break any existing tests. Plus, comment above hasCorrectScalarType said to refactor it :)
This PR is for gathering initial feedback on this from people who know the codebase better than I do: do you think it's viable approach? Does it actually improve things? Am I missing some edge cases?
If we actually decide to ship it, it will need much more tests, including tests for queryArgsTypecheck module itself, hence the draft. I also did not remove getGraphQLType "guessing" function, since we seem to use it for error messages and it still might be useful.

JSON protocol supersedes this


307 Internal Redirect

Hello !
Thanks for this extension, it's really helpful
I have an issue with CORS. I added JWT system on my server side. Since when i use the extension i have this error.
Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.
I tried few hacks with Headers, it didn't work so far. Do you how to deal with that ?
Thanks for your help. :)

Hmm... I haven't run into anything like this yet.  You can add custom headers with Resource Override too just in case you didn't know.
I would ask for a link so I could try to repro if you are doing something with auth maybe that's not such a good idea.


md components regularly throwing error

Bug, feature request, or proposal:
ERROR MESSAGE IN DEVELOPER TOOLS:
compiler.es5.js:1690 Uncaught Error: Template parse errors:
'md-panel-title' is not a known element:
1. If 'md-panel-title' is an Angular component, then verify that it is part of this module.
2. If 'md-panel-title' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. (" <md-expansion-panel (opened)="setStep(0)" hideToggle="true">
    <md-expansion-panel-header>
      [ERROR ->]<md-panel-title>
        Personal data
      </md-panel-title>
"): ng:///ItemModule/ItemDetailComponent.html@3:6

I've gotten this with countless md components and I cannot figure out why.
What is the expected behavior?

I've imported all MD components to my module.ts file  in UI/shared/ui.module.ts which is imported to app.module.ts

I've added MD components to imports and exports of @NgModule({

I include proper markup in component html file. app/items/item-detail/item.detail.component.html

When I ng serve
I should see the md components rendered on the page like normal. I've had simple inputs and buttons working, but every time I add a new component from md it throws the mentioned error.
What are the steps to reproduce?
https://github.com/KevinMind/home-inventory-app-official
git clone
npm install
ng serve
to get it running. To make it run without error go to
app/items/item-details/item.detail.component.html

At a glance it looks like you aren't importing the correct Material modules into your feature modules. ItemModule doesn't import MdExpansionModule. It looks like you created a UiModule as a container for all the Material modules, but you need to import that into every module that uses Material components, not just the AppModule.

Closing as this was caused by not importing all components being used.


[5.3] Fix foreach blade compiler

New line in @foreach and @forelse should be allowed:
@foreach([
    'foo'
] as $var)

@endforeach

And this feature is also supported before 5.3
I removed amiss i regex modifier and added s modifier.

To fix tests, I bring i back.

Yeah i is indeed necessary some people write as in lowercase and others in uppercase, thus why we use it.
Can you please write a test to make sure your change solves the issue and that it won't broke after any later changes?

Can you please write a test to make sure your change solves the issue and that it won't broke after any later changes?

Yes, please write a test or two.

added


Breaking parse_command into preprocessor and parser classes

Doesn't completely do everything discussed in #21.
Directional commands are substituted in preprocessor, but synonym search loops like for syn in {**self._nouns, **self._directions}[i]: remain in the parser.
Grammar is mostly unchanged for now.

Thanks again!


Remove requirement on spin crate.

This removes the hard requirement on the spin_no_std feature of lazy_static.
Cargo uses proptest, but it is also part of the rustc workspace. We would prefer to not include spin in rustc, so we need a way to turn it off.
I'm not sure how to test this does what is intended.  This is also just a rough stab on how it could work, any other way to disable it would be fine.

I think it should be possible to just eliminate the lazy_static in the no-std build altogether — it's only used for caching config derived from the environment, which is completely stubbed out without std.
I have some time this weekend, so I'll try to do that then. If not, I'll bring this or something like it in.
The PR builder failure is due to unrelated nightly breakage.

That would be great, thanks! It is very much appreciated!

0.9.2 no longer brings the spin crate in at all, so closing this PR.

Thanks again, it works great!


1478/check custom script extension usage

PR Summary
Creating a VM and VMSS rule for checking the custom script extension usage for secureString functions that aren't the protectedSettings area.
Fixes #1478
PR Checklist

[ ] PR has a meaningful title
[ ] Summarized changes
[ ] Change is not breaking
[ ] This PR is ready to merge and is not Work in Progress
Rule changes

[ ] Unit tests created/ updated
[ ] Rule documentation created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

Halting work on this until this bug is fixed: https://github.com/Azure/PSRule.Rules.Azure/issues/1687

I've addressed the PR feedback and cleaned up the PR. I'm still not sure how to leverage the SecretReference that exists in the Export-Template file during the rule evaluation.
Once this is clear I should be able to complete this. I've pinged you on the other issue (Deployment scopes) for clarification.


Uppercase provider name

Provider name in documentation needs to be uppercase

I'm checking the files changed and I'm seeing only commits that I did myself


poetry add / update / install only prompts for git user details in debug mode (-vvv)

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Ubuntu 18.04
Poetry version:0.12.10

Issue

I was attempting to add a lib from a private repo with poetry add myrepo --git https://myprivate.com/myrepo.git but the "Resolving dependencies" counter was looping without prompting for details.
It wasn't until I added the -vvv flag that I was prompted to enter my git username/password.

believe this is the same as #446


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #246 (e09f9ab) into main (2974dfe) will increase coverage by 8.93%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
+ Coverage   83.33%   92.26%   +8.93%
==========================================
  Files           2        1       -1
  Lines         126      349     +223
  Branches       31       43      +12
==========================================
+ Hits          105      322     +217
- Misses         21       27       +6

Impacted Files
Coverage Δ

src/index.ts
92.26% <100.00%> (+10.26%)
:arrow_up:

example/src/main.ts

Continue to review full report at Codecov.

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


fix: MQ instead of SD for rectangular thumbnails.

Pull request checklist:

[ ] CHANGELOG.md was updated, if applicable

Description
Note: I've not tested this fix, because my daily YouTube quota is set to 0 for some reason.
Standard Definition (SD) thumbnails have black bars on the top and bottom.

You can see this here for SD: https://i.ytimg.com/vi/JZe5QV5wcY0/sddefault.jpg
This fix should give Medium Quality (MQ) thumbnails instead: https://i.ytimg.com/vi/JZe5QV5wcY0/mqdefault.jpg

that's how it looks


Graphing using data in a seperate file from a local path (rust executable)

Context
v5 schema
vl-convert 1.6.1
On GNU/Linux
Issue/Question
I am trying to plot something with vl-connect
When I embed the data directly in the spec everything works properly and I get a nice svg showing the plot.
However since I often show multiple visualizations that use the same data (and just to make things cleaner) I would prefer to keep the data in a different file and reference it with the url.
I.e. {"data":{"url":"path/to/data.json"}...}
However, when I do this I never can get it to actually access the data and I end up with an empty scatter plot.
I've tried various permutations with the data in different places, full paths, relative paths to different directories, and more but I still haven't been able to get anything to work.
Can someone help and point out what I am missing here?
Thanks in advance.

Hi @yuki-tsubaki, thanks for the idea. I'll need to play with it some, but have you tried using file:// urls? I think Vega defaults to treating paths without a protocol as being http.
We may be able to do something by customizing the Vega loader here:
https://github.com/vega/vl-convert/blob/9e72c4e7f88d50dc83a9da6b652af8f614b0433e/vl-convert-rs/src/converter.rs#L352-L368
And there's some info the Vega loader at https://github.com/vega/vega/tree/main/packages/vega-loader.

Thanks for such a fast reply.
I have tried multiple different notations for the path to the data file.
I have tried with and without the file:// protocol for both absolute (from root--e.g. /home/...data/hp-mpg-plot-data.json), relative (to the working directory--e.g. data/hp-mpg-plot-data.json), and relative (to the spec file--e.g. ../data/hp-mpg-plot-data.json).

@jonmmease I've been toying with something like that in this PR, but I didn't have time to finish it.


Next Step Message for serve

Currently admin-ui-extensions-run and checkout-ui-extensions-run both output additional instructions on next steps after running serve.
For example:

We need to ensure the new dev server continues to support this.

Couldn't it always be localhost and /extensions redirects either to another localhost URL or the public URL if provided?

Yes, we can do that but we'd have to change our existing code. Currently we're doing this:

on serve output the server root url based on whether public url was provided
when accessing the extension root, return a tunnel error if it was accessed via local host

Currently the api package has no knowledge of the public url so we'd need to pass that down for it all to work

I'm happy to retain our current approach then as I don't see any benefits from changing it to localhost.

After some discussion, we decided that the Go server is the best system component for storing and outputting the next step message as it manages all the templates. This ensures that the shopify-cli-extensions JS package remains use case agnostic.


fasd: remove pandoc dep (==haskell), update revision

Why did you remove pandoc? Is it not required to build documentation?

@peti idk, man fasd and fasd -h work fine. anything else to check?

Hmm, I wouldn't know anything else. I guess the release version really just doesn't need pandoc then! :smile:


License

Hello guys! Congratulations on your work, it will really help build up the AlpineJS ecosystem as something like this is really missing!
I've failed to find the license for this code, which is critical if people are going to use this code in their projects, is this something you plan to add?

+1 will try this once the license is sorted (watching the thread)

I hate to leave a "this" style comment but this is kind of a big deal. I won't even tell people about this (or anything) without a license.

https://github.com/thedevdojo/pines/commit/ae16d338827e8a5a759722c72b704697c34c7be2 There should probably be a LICENSE file, but it looks like pines is MIT licensed.

Just added the license a few weeks ago. Closing this issue.
Thanks guys 😊


Create UOLS

@polalbert02884 I am sorry, uols.edu does not exist, thus I close this request with no merging. Should you submit a new request, please notice that all filesnames in this repository corresponding to respective email domains must end with .txt extension, and the extension is not added authomatically to the filename. Thank you!


Guide changes by Peter Sotos + "Random Quest Generator" by Jochen Linnemann, based on the Johnn Four's RolePlaying Tips article shared by Tony.

Guide changes by Peter Sotos + "Random Quest Generator" by Jochen Linnemann, based on the Johnn Four's RolePlaying Tips article shared by Tony.


Fix 18224

Fixes #18224
No longer crash when we parse a jsdoc @type tag without an accompanying type (but still with a comment).

@weswigham please port this to release-2.5 as well.


Ardour build broken due to glib update

Describe the bug
Ardour does not build against glib 2.68
Ubuntu also hit this:
https://bugs.launchpad.net/ubuntu/+source/ardour/+bug/1921796
It will only be fixed in version 6.7, the released 6.6 still has the problem. The nix package is at 6.5.
I tried changing the version to the latest commit from master and it works, but I don't know what's the desired fix, use master or backport the fix, or wait.
(I think there are more commits but that's the fix:
https://github.com/Ardour/ardour/commit/cc7b8b1bc5fb19e0ec5e476741c55627d4b62ba9
)
To Reproduce
Install/build ardour on the unstable channel.
https://nix-cache.s3.amazonaws.com/log/h497siighm730bkpipp8r0pza8m59k6b-ardour-6.5.drv
Notify maintainers
@goibhniu
@magnetophon
@mitchmindtree

It is a known problem.
Current Ardour versions don't have it, but v 6.6 is buggy.
It is expected that 6.7 will come out soon and then I'll package it.
In the meantime, I personally use:

{ stdenv
, fetchgit
, alsaLib
, aubio
, boost
, cairomm
, cppunit
, curl
, dbus
, doxygen
, ffmpeg
, fftw
, fftwSinglePrec
, flac
, glibc
, glibmm
, graphviz
, gtkmm2
, itstool
, libarchive
, libjack2
, liblo
, libogg
, libpulseaudio
, librdf_raptor
, librdf_rasqal
, libsamplerate
, libsigcxx
, libsndfile
, libusb1
, libuv
, libwebsockets
, libxml2
, libxslt
, lilv
, lrdf
, lv2
, pango
, perl
, pkg-config
, python3
, readline
, rubberband
, serd
, sord
, soundtouch
, sratom
, suil
, taglib
, vamp-plugin-sdk
, wafHook
}:
stdenv.mkDerivation rec {
  pname = "ardour";
  version = "unstable-2021-04-13";

  # don't fetch releases from the GitHub mirror, they are broken
  src = fetchgit {
    url = "git://git.ardour.org/ardour/ardour.git";
    rev = "54c135c8b965018b78a4ef369e1283ba0b45df6a";
    sha256 = "0i4srg8g4g97xhfng347217i7l8zfhchh64gkw8fqyny5aqj5yjq";
    fetchSubmodules = true;
  };

  patches = [
    # AS=as in the environment causes build failure https://tracker.ardour.org/view.php?id=8096
    ./as-flags.patch
  ];

  nativeBuildInputs = [
    doxygen
    graphviz # for dot
    itstool
    perl
    pkg-config
    python3
    wafHook
  ];

  buildInputs = [
    alsaLib
    aubio
    boost
    cairomm
    cppunit
    curl
    dbus
    ffmpeg
    fftw
    fftwSinglePrec
    flac
    glibmm
    gtkmm2
    itstool
    libarchive
    libjack2
    liblo
    libogg
    libpulseaudio
    librdf_raptor
    librdf_rasqal
    libsamplerate
    libsigcxx
    libsndfile
    libusb1
    libuv
    libwebsockets
    libxml2
    libxslt
    lilv
    lrdf
    lv2
    pango
    perl
    python3
    readline
    rubberband
    serd
    sord
    soundtouch
    sratom
    suil
    taglib
    vamp-plugin-sdk
  ];

  wafConfigureFlags = [
    "--cxx11"
    "--docs"
    "--freedesktop"
    "--no-phone-home"
    "--optimize"
    "--ptformat"
    "--run-tests"
    "--test"
  ];
  # removed because it fixes https://tracker.ardour.org/view.php?id=8161 and https://tracker.ardour.org/view.php?id=8437
  # "--use-external-libs"

  # Ardour's wscript requires git revision and date to be available.
  # Since they are not, let's generate the file manually.
  postPatch = ''
  # patchShebangs wscript
  # substituteInPlace wscript --replace "/usr/bin/env python" "${python3.interpreter}"
  # cat wscript
  printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = "6.7"; const char* date = ""; }\n' > libs/ardour/revision.cc
  sed 's|/usr/include/libintl.h|${glibc.dev}/include/libintl.h|' -i wscript
  patchShebangs ./tools/
  substituteInPlace libs/ardour/video_tools_paths.cc \
  --replace 'ffmpeg_exe = X_("");' 'ffmpeg_exe = X_("${ffmpeg}/bin/ffmpeg");' \
  --replace 'ffprobe_exe = X_("");' 'ffprobe_exe = X_("${ffmpeg}/bin/ffprobe");'
  '';

  postInstall = ''
    # wscript does not install these for some reason
    install -vDm 644 "build/gtk2_ardour/ardour.xml" \
      -t "$out/share/mime/packages"
    # install -vDm 644 "build/gtk2_ardour/ardour6.desktop" \
      # -t "$out/share/applications"
    for size in 16 22 32 48 256 512; do
      install -vDm 644 "gtk2_ardour/resources/Ardour-icon_''${size}px.png" \
        "$out/share/icons/hicolor/''${size}x''${size}/apps/ardour6.png"
    done
    install -vDm 644 "ardour.1"* -t "$out/share/man/man1"
  '';

  LINKFLAGS = "-lpthread";

  meta = with stdenv.lib; {
    description = "Multi-track hard disk recording software";
    longDescription = ''
      Ardour is a digital audio workstation (DAW), You can use it to
      record, edit and mix multi-track audio and midi. Produce your
      own CDs. Mix video soundtracks. Experiment with new ideas about
      music and sound.

      Please consider supporting the ardour project financially:
      https://community.ardour.org/donate
    '';
    homepage = "https://ardour.org/";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ goibhniu magnetophon ];
  };
}

Ok, thank you!

Fixed in the above PR.


Depth API

Hi,
Are there any plans on implementing a depth API for meta devices?
I would love to contribute and help but I have never worked on open source before.
(I do have a very solid knowledge of C++)
I expected to find the Meta Native SDK somewhere in the repository but I couldn't find it.
Regards,

We really want to implement the Depth API, and will get around to it eventually, but no one really started to look into this yet. If you'd like to give it a try, that'd be great!
There's a possibility that this will require making some changes to Godot itself, but there's no way to tell without digging into it.

I expected to find the Meta Native SDK somewhere in the repository but I couldn't find it.

We do include the Meta headers - you can find the header for the necessary OpenXR extension here:
https://github.com/GodotVR/godot_openxr_vendors/blob/master/thirdparty/ovr_openxr_mobile_sdk/OpenXR/Include/openxr/meta_environment_depth.h

I've been researching this a tiny bit, and here's some links to resources:

Meta's docs: https://developers.meta.com/horizon/documentation/native/android/mobile-depth
Sample using it: https://github.com/meta-quest/Meta-OpenXR-SDK/tree/main/Samples/XrSamples/XrPassthroughOcclusion

Looking through the sample, it looks like we're expected to change our fragment shader to consult the depth texture that we get from the OpenXR extension. Here's the relevant bit: https://github.com/meta-quest/Meta-OpenXR-SDK/blob/main/Samples/XrSamples/XrPassthroughOcclusion/Src/XrPassthroughOcclusionGl.cpp#L632
In order to make this work, we'll either need to:

Modify Godot so that the builtin shader templates have the ability to do this when given a depth texture, and then allow GDExtension to provide that texture to Godot, or
Require that users modify all of their shaders to do this, and then godot_openxr_vendors just makes this depth texture available for users to do that

Nr 2 could potentially be made easier if Godot allowed users to override Godot's shader templates - see PR https://github.com/godotengine/godot/pull/94427
In any case, this won't be the easiest OpenXR extension to integrate with Godot

I'm wondering if adding a Compositor Effect to the XRCamera3D to post process the eye buffers with the depth information might work... Still reading up on how they work to see if that's an option, but I imagine it'd be less efficient than doing this in a single pass with the builtin shaders

There are now two WIP PRs attempting to implement this:

https://github.com/GodotVR/godot_openxr_vendors/pull/230
https://github.com/GodotVR/godot_openxr_vendors/pull/232

It would be nice if we could get the approach of using global uniforms from PR #232 working. It's not the most ideal developer experience (you need to use a custom shader for all materials), but it doesn't require changing Godot itself, and should be efficient performance-wise.


Outlets not working

I can't seem to be able to get the outlets to work.
This is the sitemap configuration i'm using.
Frame label="outlet" icon="outlet" { //# Outlets must be configured in a Frame.
    Switch item=LG_Power            label="TV"
    Switch item=Marantz_Power       label="Stereo"
    Switch item=HomeEasy_11             label="Dryer"
    Switch item=HomeEasy_04         label="Fan"
    Switch item=ELRO_D              label="Porch music"
}

But they don't show up in homekit.
Here is the items file configuration for these switches
Switch LG_Power                 "LG"                    <television>
Switch Marantz_Power            "Marantz"               <receiver>
Switch HomeEasy_11          "Home Easy 11"          <"socket">
Switch HomeEasy_04          "Home Easy 04"          <"socket">
Switch ELRO_D               "Elro D"                <"socket">

What does the sitemap look like in the browser? Do you see the frame with all the configured items?

Yes.
Could the use of tabulators be problematic?

Try having a separate outlet frame for each outlet.  This works for me:
Frame label="outlet" icon="outlet" {
  Switch item=bathroomFan label="Bathroom Fan"
}

Frame label="outlet" icon="outlet" {
  Switch item=espresso label="Espresso Machine"
}

Nope ...
	Frame label="outlet" icon="outlet" { 		Switch item=LG_Power label="1TV" 		} 	Frame label="outlet" icon="outlet" { 		Switch item=Marantz_Power label="1Stereo" 		}
Still no joy ... they show up&work normally though if i use them without the outlet tags
	Switch item=LG_Power label="1TV" 	Switch item=Marantz_Power label="1Stereo"

Well ... i'll be darned ... today I did a "git pull" followed by "npm update" and now everything works ...
Btw ... what is the best way to stop the OpenHAB-HomeKit-Bridge i.e to reload a sitemap, or does it happen automagically?

Glad it works for you now! Reloading actually does not happen automatically. You have to restart the bridge manually by killing the process and start again. Feel free to open another issue for this feature request :-)


Dragging an overlapping vertex of a polygon results in an invalid geometry (open exterior ring).

Describe the bug
When dragging (ol/interaction/modify) a vertex that overlaps with the first vertex of the exterior ring of the same polygon, the exterior ring of the polygon isn't closed anymore. It appears that the final vertex in the exterior ring isn't updated to match the first vertex and the ring becomes open. In my case, the two vertices are overlapping because they snapped to each other.
To Reproduce
Steps to reproduce the behavior:

Go to https://codesandbox.io/s/draw-and-modify-features-forked-vdzj3e?file=/main.js
Drag the two overlapping vertices.
The first and last vertices are logged to the console at modifystart and modifyend. In modifyend, they're not the same anymore and so the exterior ring of the polygon isn't closed.

Expected behavior
The exterior ring of the polygon to remain closed after the interaction. When dragging two overlapping vertices, I would expect either:

only one of the vertices to be dragged at a time or
if the first vertex in the ring is one of the vertices being dragged, the final vertex to be updated to match the first one.

I tried to find the source of the issue and I believe it's these lines. When the polygon is being modified, only two segments for the polygon are being tracked, whereas for two overlapping vertices, there are four segments that need to be updated. Usually this isn't an issue as when overlapping vertices are dragged, the two segments connect to the same vertex. But in the case of the first vertex, it finds one segment for it, and then a segment for the overlapping vertex.
I would be happy to open a PR for this, so that more than two segments can be tracked.

Thanks for reporting this, @hargasinski, and for your offer to provide a pull request. Which would be greatly appreciated!

No worries @ahocevar! I opened #13745 with the fix.


gunicorn+gevent-websocket setup fails on ubuntu

Hi,
I'm trying to setup the following server structure:
gunicorn + flask-socketio + gevent-websocket + gipc:
Users can connect in websockets. Each websocket spawns a worker process that does the heavy processing, and puts the results via pipes. I followed the example code from the benchmark test, in which I spawn two pipe sets - one for communicating requests from the parent to the child, and another for communicating results from the child to the parent.
I can't post the whole app structure, but the interesting snippets are:
The parent process:
requests_reader, requests_writer = gipc.pipe()
        results_reader, results_writer = gipc.pipe()
        self.log_queue = multiprocessing.Queue()
        process_args = (profile_id, is_prod, requests_reader, results_writer, self.log_queue, logging.root.level)
        self.requests_writer = requests_writer
        self.results_reader = results_reader
        self.worker_process = gipc.start_process(MySubProcess._worker_process_method,
                                                 process_args,
                                                 name=f'EditSession{profile_id}')

The child process method:
 @staticmethod
    def _worker_process_method(profile_id, is_prod, requests_reader, results_writer, log_queue, log_level):
        launch_or_reset_subprocess_logger(log_queue, log_level=log_level, job_id=f'ED_{profile_id}')
        while True:
            next_request = requests_reader.get()

On windows, this works.
However, on ubuntu, this fails with the following logs:
[2021-07-08 16:32:58 +0000] [3483869] [DEBUG] Invoke target `<function EditResultSessionProcess._worker_process_method at 0x7fc5533a1ef0>` in child process.
[2021-07-08 16:32:58 +0000] [3483869] [DEBUG] SIGCHLD watcher for 3484006 started.
[2021-07-08 16:32:58 +0000] [3483869] [DEBUG] Invalidate <_GIPCReader_f665aa fd: 16> in parent.
[2021-07-08 16:32:58 +0000] [3483869] [DEBUG] Invalidating <_GIPCReader_f665aa fd: 16> ...
[2021-07-08 16:32:58 +0000] [3483869] [DEBUG] Invalidate <_GIPCWriter_e6b76a fd: 19> in parent.
[2021-07-08 16:32:58 +0000] [3483869] [DEBUG] Invalidating <_GIPCWriter_e6b76a fd: 19> ...
Process EditSession16796:
Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/envs/pythonenv/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/home/ubuntu/miniconda3/envs/pythonenv/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ubuntu/miniconda3/envs/pythonenv/lib/python3.7/site-packages/gipc/gipc.py", line 393, in _child
    target(*args, **kwargs)
  File "/home/ubuntu/server_demo/server.py", line 103, in _worker_process_method
    next_request = requests_reader.get()
  File "/home/ubuntu/miniconda3/envs/pythonenv/lib/python3.7/site-packages/gipc/gipc.py", line 982, in get
    msize, = struct.unpack("!i", self._recv_in_buffer(4).getvalue())
  File "/home/ubuntu/miniconda3/envs/pythonenv/lib/python3.7/site-packages/gipc/gipc.py", line 932, in _recv_in_buffer
    chunk = _read_nonblocking(self._fd, remaining)
  File "/home/ubuntu/miniconda3/envs/pythonenv/lib/python3.7/site-packages/gevent/os.py", line 100, in nb_read
    result = _read(fd, n)
OSError: [Errno 9] Bad file descriptor

The "invalidating xxx" lines are good, and also happen on windows, they are the ones that mean that once a pipe has been passed to a child process, the parent can no longer put/get from it.
Does this ring any bells on why it would work on windows and fail on linux (ubuntu)?

This script fails in linux, but only if the multiprocess method is set to spawn:
import io
import logging
import multiprocessing

try:
    multiprocessing.set_start_method('spawn')
except:
    pass

import traceback

import gipc

def _example_worker_process_method(profile_id, is_prod, requests_reader, results_writer, log_queue, log_level):
    while True:
        next_request = requests_reader.get()
        request_type = next_request['type']
        params = next_request.get('params', None)
        try:
            if request_type == 'edit':
                new_results = 2
                results_writer.put(new_results)
        except Exception as e:
            # https://jichu4n.com/posts/python-multiprocessing-and-exceptions/
            exc_buffer = io.StringIO()
            traceback.print_exc(file=exc_buffer)
            logging.error(f'an exception occurred in editor sub-process: {exc_buffer.getvalue()}')
            results_writer.put(e)

if __name__ == '__main__':
    logging.basicConfig()
    requests_reader, requests_writer = gipc.pipe()
    results_reader, results_writer = gipc.pipe()
    log_queue = multiprocessing.Queue()
    profile_id = 10
    is_prod = False
    process_args = (profile_id, is_prod, requests_reader, results_writer, log_queue, logging.root.level)
    requests_writer = requests_writer
    results_reader = results_reader
    worker_process = gipc.start_process(_example_worker_process_method, process_args, name=f'EditSession{profile_id}')
    requests_writer.put({'type': 'edit', 'params': None})
    result = results_reader.get()
    print(result)
    print("DONE")

It appears that this is related to an issue that was solved on master branch, and is solved on master.
Is there a timeline for the next release?

It appears that this is related to an issue that was solved on master branch, and is solved on master. Is there a timeline for the next release?

Thanks for asking and therefore accelerating that timeline :) I've been rather busy recently, sorry for the delay.
Can you confirm that the head of the master branch works for you? I think this should install that:
pip install git+https://github.com/jgehrcke/gipc

I just released https://pypi.org/project/gipc/1.3.0/ -- can you give this a shot?

Works!


fix(rpc): Return detailed errors to the RPC client when a block proposal fails

Motivation
We are currently testing Zebra's block templates in ticket #5803. But I can't work out if Zebra's errors are expected or the same as zcashd, because it doesn't return any error information at all.
This PR changes the error handling from bug #5981, it probably gets us closer to a fix.
(But to match zcashd we'd need to stop pretty printing, and change the format of the error string.)
Specifications
We can do whatever we like here, because bug #5981 will fix up any mining pool compatibility issues.
Solution

Send the RPC client the kind of error, and the detailed error debug information

Review
This seems like a high priority because testing is difficult without it.
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

I tested this PR with zcash-rpc-block-template-to-proposal.
I now see detailed errors like:
invalid proposal: Block {
    source: ValidateProposal(
        "proposal is not based on the current best chain tip: previous block hash must be the best chain tip",
    ),
}

Rather than the same error every time:
{
  "reject_reason": "rejected",
  "capabilities": [
    "proposal"
  ]
}


Eliminate default application/json as content type while doing "fn call"

Original issue: https://github.com/fnproject/fn/issues/964
Related: https://github.com/fnproject/fdk-go/issues/23

@denismakogon see #246 and related sub-issues. On our backlog, let me know if this needs prioritising sooner.

that's something needs to be done soon enough because it harms cloudevents experience at this moment.

OK, will get someone on it.

Closing - duplicate of #246.


[Feature] Add option for app to run on startup

Is there a way to get the program to register itself on the Apps > Startup list in Windows?
If yes, can we have the application toggle that as well?
If not, how can we toggle the startup status via the application...

This may be closed by 7f0f89b82c13f17b7054f5d5090d4e84c67c94f6. Will update later...

Closed by 7f0f89b


Support pagination sensor/sink/node list

Modify structure of all component

App request all nodelist, sensorlist, sinklist, logic,... before
Request msg should be sent each child component
Component which need to be supported pagination should request list per each page

@iamhge
OK. I check it.

node map problem - request too much msg to backend


Updated README.md for Issue #17 and solved questions

Solve the issue #17 and added two questions
Problem Statement: Container With Most Water
Submission: https://leetcode.com/submissions/detail/772556970/
Problem Statement: Find the Index of the First Occurrence in a String
Submission: https://leetcode.com/submissions/detail/759951386/
README.md

Added Contributing.md with instructions for making PR.
Used GitHub Socialify to make README file more attractive.

No, not this sorry! 😓

okay @code-chaser no issues!
Just wanted to ask what could have been the improvement. I will try to improvise it next time


Add Stack function to Dask CUDF Dataframe

I would like to be able to call stack() on the Dask cudf dataframe. Currently stack is a function in the cudf dataframe, not in Dask cudf dataframe.
I would like the stacking to take place on the workers, and the resulting stacked data to be returned from the workers.
I know I can call compute() first on the dask cudf dataframe, but I want to avoid that because I want the stacking to take place on the worker nodes, and the final results returned.

cc @kkraus14 @quasiben
On Wed, Jan 20, 2021 at 7:53 AM chardog<EMAIL_ADDRESS>wrote:

I would like to be able to call stack() on the Dask cudf dataframe.
Currently stack is a function in the cudf dataframe, not in Dask cudf
dataframe.
I would like the stacking to take place on the workers, and the resulting
stacked data to be returned from the workers.
I know I can call compute() first on the dask cudf dataframe, but I want
to avoid that because I want the stacking to take place on the worker
nodes, and the final results returned.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/7088, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTEPWSAZWOCEYIV4KXLS234BNANCNFSM4WK4INYA
.

cc @kkraus14 @quasiben
On Wed, Jan 20, 2021 at 7:53 AM chardog<EMAIL_ADDRESS>wrote:

I would like to be able to call stack() on the Dask cudf dataframe.
Currently stack is a function in the cudf dataframe, not in Dask cudf
dataframe.
I would like the stacking to take place on the workers, and the resulting
stacked data to be returned from the workers.
I know I can call compute() first on the dask cudf dataframe, but I want
to avoid that because I want the stacking to take place on the worker
nodes, and the final results returned.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/7088, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTEPWSAZWOCEYIV4KXLS234BNANCNFSM4WK4INYA
.

I think this is a general feature request to support stack on Dask DataFrames. One of the big roadblocks here is the stack function returns a MultiIndex if using >1 columns.

I think this is a general feature request to support stack on Dask DataFrames. One of the big roadblocks here is the stack function returns a MultiIndex if using >1 columns.


Single-select with size

Is there a possibility to set the size of a select (<select size="15">? I have to offer a single selection from a bigger list of strings, for which I normally use a typeahead, but in this case the options are hard to guess. Therefore I would like to load all of them in a select control with a bigger size (e.g. 15 lines visible at a time). Is there a way to set the size attribute of the select element?

use attributes:
{
  key: 'Select',
  type: 'select',
  templateOptions: {
    ...
    attributes: { size: 10 },
  },
},

Thank you for the quick response, works perfectly!


Find header compile_commands.json entries from CMake VERIFY_INTERFACE_HEADER_SETS

CMake has a VERIFY_INTERFACE_HEADER_SETS property. When set, CMake will create a file <header>.cxx for every interface header in the target. This cxx file just includes the header to verify that it can be included by itself. When CMAKE_EXPORT_COMPILE_COMMANDS is also on, entries for <header>.cxx are added.
CMake does not usually generate compile_commands entries for headers, forcing clangd to use a heuristic. The command used for <header>.cxx would be a good choice to use, and a preference for it should be added to the heuristic.

Just to make sure I understand the request:
Are you saying that if the compilation database contains such <header>.cxx entries generated by CMake, clangd should use the command from that rather than a different header file?
Or that, in cases where the compilation database does not contain such <header>.cxx entries, clangd should independently come up with the same command that CMake would if it were to create a <header>.cxx file?

Are you saying that if the compilation database contains such <header>.cxx entries generated by CMake, clangd should use the command from that rather than a different header file?

Yes. But it would be substituting a different cpp file, not a header file. The whole problem is that headers aren't in the compilation database. If clangd doesn't have a good candidate like foo.cpp for foo.h, then foo.h.cxx would be another good choice. clangd is picking a some other random cpp file in my project and it has the wrong flags.

Or that, in cases where the compilation database does not contain such <header>.cxx entries, clangd should independently come up with the same command that CMake would if it were to create a <header>.cxx file?

No. I don't think clangd could even do that. CMake has the information about which header paths to include and macros to define.

If clangd doesn't have a good candidate like foo.cpp for foo.h, then foo.h.cxx would be another good choice.

Is foo.h.cxx located in the same directory as foo.h?
I think clangd should already be preferring foo.h.cxx as the source file whose compile command to use for foo.h in a case like that, but it may be sensitive to the directory structure, or possibly it's thrown off by the .h.cxx double extension. (The code for selecting the preferred file is here.)

No, it's not in the same directory. clangd picks a different random file, not foo.h.cxx, to infer flags from. When I edit the compilation database entry to remove ".cxx" so that "file" is "foo.h", clangd does pick it. Looking at the code, maybe the extra point for an exact match is what makes the difference. Is there any way to dump or debug this process?
I think foo.h.cxx is a better choice than most files, so the heuristic should be modified to prefer it over a random file.

Is there any way to dump or debug this process?

Not that I'm aware of besides attaching a debugger to clangd.

To make the issue here concrete, I created a project with the following directory structure:
.
├── src
│   ├── include
│   │   ├── interface.h
│   └── unrelated.cxx
└── verify
    └── interface.h.cxx

and a compile_commands.json that contains an entry for both .cxx files.
Indeed, when interface.h is opened, clangd prefers to use the command of unrelated.cxx instead of interface.h.cxx, I guess because unrelated.cxx is "closer" in the directory tree.
I think a fix approach could be: if the header file's name is a prefix match for the source's file's name, weight that higher than proximity in the directory tree.


Client Allocation Request for: 海员实验室

Client Allocation Questions
Core Information

Name: 海员实验室
Website / Social Media: 无
Region: Greater China
DataCap Requested: 5GiB
Addresses to be Notarized: f1bsfkx3qs6s5e4ldld5mkpsq4smfp7s4na3sec2a
Notary Requested: MRJAVAZHAO

@farmingDCH Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi,@farmingDCH
There is no DataCap for approval at present, please apply to other notaries.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

File Added.

File validations.py is changed.

File added.

Added Files.

Added.

Added files,

@googlebot I signed it!


[$250] Report fields - Initial value in the system message is defined as "undefined"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.4-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by:  Applause-Internal team
Action Performed:

Go to staging.new.expensify.com
Go to workspace settings > Report fields.
Create a List type report field, add a few list values and select an initial value (important).
Go to workspace chat.
Submit two expenses.
Go to expense report.
Click on the List report field created in Step 3.
Select other item other than the initial value.
Revisit the expense report.

Expected Result:
The system message for the initial value should be defined properly.
Actual Result:
The system message for the initial value is "undefined" - "change field from undefined to X".
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/669fde27-36a3-44f9-8ef3-11685cde9509

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~014ad96192c5fd527a
Upwork Job ID:<PHONE_NUMBER>996923791
Last Price Increase: 2024-07-05

Issue OwnerCurrent Issue Owner: @ahmedGaber93

I can take this over and look into it with the project team
@waterim @rezkiy37 @shubham1206agra @rushatgabhane

Not a blocker because this is behind beta

We think this issue might be related to the  #vip-vsb

@mountiny Is this external for contributor or the project team will take care this issue?

@nkdengineer Lets do external for this one

This is a BE bug, when we change the report field the first time originalMessage doesn't have oldValue.

@nkdengineer I think there might be a different issue then. When the expense is created, they should have the initial value for the report field set, right? Can you confirm that this is happening?
Also I can see that we have this logic https://github.com/Expensify/App/blob/16c2f5350b1f30684ec2768aa403fdbabf84bce8/src/libs/ReportActionsUtils.ts#L1240-L1243
Can we update this that if the oldValue is undefined, we use the set copy

@mountiny You're right, the problem here is we missed to early return here so we still move to the below case which display the translation with oldValue as undefined.
We should early return here and the bug can be fixed.
https://github.com/Expensify/App/blob/16c2f5350b1f30684ec2768aa403fdbabf84bce8/src/libs/ReportActionsUtils.ts#L1240-L1243

@mountiny I can raise the PR to fix now if I assigned.

Proposal
Please re-state the problem that we are trying to solve in this issue.
The system message for the initial value is "undefined" - "change field from undefined to X".
What is the root cause of that problem?

We have a BE bug here https://github.com/Expensify/App/issues/44885#issuecomment-2210674158

We missed to early return when oldValue is empty and then undefined is displayed

https://github.com/Expensify/App/blob/c80e8b65eb8bb5f218d50a59efb2a65f22d7c527/src/libs/ReportActionsUtils.ts#L1173-L1175
What changes do you think we should make in order to solve the problem?

For BE bug we can fix as a separate issue

We should early return here if oldValue is empty

if (!oldValue) {
   Localize.translateLocal('report.actions.type.changeFieldEmpty', {newValue, fieldName});
   return;
}

https://github.com/Expensify/App/blob/c80e8b65eb8bb5f218d50a59efb2a65f22d7c527/src/libs/ReportActionsUtils.ts#L1173-L1175
What alternative solutions did you explore? (Optional)

@nkdengineer that is good, however, can you explore how this compares with creating the expense on OldDot with the same settings? is the report field on the expense populated with whatever the initial value was? if yes, we need to make sure expense created in NewDot is the same.

@mountiny The initial value of report field is correct. We only have a problem with the change field report action as I mentioned here https://github.com/Expensify/App/issues/44885#issuecomment-2210674158 when we edit the report field at the first time.

Correct, although I checked the BE and we are just pulling the existing value for the report field for the oldValue so if its not coming through and its undefined, it must not have been set 🤔

@nkdengineer lets go with your proposal to make sure we treat the oldValue as empty when undefined

@mountiny Do I need to create a PR here?

@nkdengineer I have confirmed what I wanted to check. I'm not sure what was going on, but yesterday, all your posts disappeared; I went ahead and created the quick PR. We would pay you $50 for your help

Thanks. I don't know what the problem is, but on my side everything is good and it's too late at the time you assigned to me.

I know, but your gh profile was showing 404 not found and all your comments diseappeared :D github was doing april fools, I guess

Issue not reproducible during KI retests. (First week)

This is ready for payment, $50 to @nkdengineer

@nkdengineer I sent you an offer via Upwork: https://www.upwork.com/nx/wm/offer/103223949/
Please let me know once you've accepted it. Thanks!

@sakluger I accepted it thanks


fix(runtime): Use NSLog for dumping each line of callstack on crash

NSLog writes to both the Apple System Log and stderr. The change is necessary
because CLI watches ASL for messages
CLI's parser cannot parse multi-line messages and we need to rewrite it. Meanwhile
we can workaround it by calling NSLog once for every line being logged.

fixes #565

run ci

run ci

run ci

run ci

run ci

run ci


Updating projects

Hi Developers!
I have been using the python client with pretty great success so far. However, it seems like I can't update and save groups.
An example:
after authenticating (I can see all the projects), Neither:
project = client.Projects.get(3163460041)
project.project_javascript = "alert('yo')"
project.save()
nor:
client.Projects.update(3163460041, {'project_name': "New Name"})
Neither will update.
There are no exceptions being thrown or any errors. I have been able to create projects with the python client and love the ease of it to keep things on the server.
Was hoping you might have an idea of how to help!
Best,
Will

Hi @wlowry88, I think the latest commit might have fixed your issue. Can you give it a try? Thanks!

@rwsmith Yes, @lucasoptimizely was great and fixed it!
Thanks!


KeyError for references

I am trying to process https://raw.githubusercontent.com/docker/compose/master/compose/config/config_schema_v2.4.json with this library, but it fails with
Traceback (most recent call last):
  File "/home/user/.envs/test/bin/json-schema-to-class", line 8, in <module>
    sys.exit(main())
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 262, in main
    print(generate_code(arguments.schema_path))
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 229, in generate_code
    parser.parse(schema=schema)
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 204, in parse
    item = self.parse_definition(name=name, schema=definition)
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 184, in parse_definition
    return self.parse_object(name=name, schema=schema)
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 170, in parse_object
    item = self.parse_definition(name=name, schema=definition)
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 184, in parse_definition
    return self.parse_object(name=name, schema=schema)
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 170, in parse_object
    item = self.parse_definition(name=name, schema=definition)
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 186, in parse_definition
    return self.parse_array(name=name, schema=schema)
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 175, in parse_array
    items = self.parse_definition('items', schema['items'])
  File "/home/user/.envs/test/lib/python3.7/site-packages/json_schema_to_class.py", line 198, in parse_definition
    return Definition(name=name, class_type=self.definitions[path].name, path=path)
KeyError: '#/definitions/blkio_limit'

Does anyone have an idea why that is?

Well, it's a known bug and I will fix it as soon as possible.

The definitions key error is fixed, but there is still no support for the keyword oneOf. I may add this feature when I have time.


Opens Skype, but doesn't open user(s) or dial the number

I clicked a link for a US number, and it opened Skype (running in background already), and brought up the skype window, but didn't queue up the number to be dialed, nor did it dial the number, as I expected.  I expected it start Skype (if not started), bring Skype window to foreground, and dial the number.
Is there something I've done wrong?  I've installed the app, and tried changing to "tel" and "callto", but no difference.
What am I missing?
Win7-32
Skype 6.30.107
Thanks,
Mark
markfj(at)gmail(dot)com
Skype: markfj
334-714-4723

Sorry for the tardy response on this. The issue you describe sounds similar to what happens on Linux without the additional configuration listed in the README file. I don't use Windows so unfortunately I can't troubleshoot the issue. If you find a reliable solution please post it here. Basically it comes down to whether Skype has registered itself properly with the OS to handle links.
Regarding what happens in Skype after the link has been clicked, I'm afraid this extension has no say. It simply creates a link, and if Skype handles it and how, that's up to the Skype developers.


Fedora 26 Build Fails

[  1%] Linking CXX static library libxpp.a
list: size, ['red', 'green', 'blue']
list: size, ['red', 'green', 'blue']
[  1%] Built target xpp
Scanning dependencies of target jsoncpp_lib_static
[  2%] Building CXX object lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o
/home/rob/build/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp: In member function ‘bool Json::OurReader::readToken(Json::OurReader::Token&)’:
/home/rob/build/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp:1230:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (features_.allowSingleQuotes_) {
^~
/home/rob/build/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp:1235:3: note: here
case '/':
^~~~
cc1plus: all warnings being treated as errors
make[2]: *** [lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/build.make:63: lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:542: lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
** Failed to build project
I'm on Fedora 26 and the build seems to fail. I think I installed all of the dependencies correctly.

This is related to #664.
Installing clang solved the issue.