Issue loading ScsmPx with Service Management Automation Runbook (SMA)

Very simple runbook that attempts to import the ScsmPx module like this:
Import-Module -Name ScsmPx -Force -ErrorAction SilentlyContinue
Results in the error below.  Have you seen anything like this?  Running the same command in powershell workflow works just fine.
3/11/2015 9:52:37 AM, Error: Update-FormatData : Updating format data is not allowed in this runspace. The 'DisableFormatUpdates' property is set to
True when creating the runspace.
At AAASCSMTest:1 char:1

CategoryInfo          : InvalidOperation: (:) [Update-FormatData], PSInvalidOperationException
FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.UpdateFormatDataCommand

3/11/2015 9:52:38 AM, Error: Write-Host : A command that prompts the user failed because the host program or the command type does not support user
interaction. Try a host program that supports user interaction, such as the Windows PowerShell Console or Windows
PowerShell ISE, and remove prompt-related commands from command types that do not support user interaction, such as
Windows PowerShell workflows.
At AAASCSMTest:1 char:1

CategoryInfo          : NotImplemented: (:) [Write-Host], HostException
FullyQualifiedErrorId : HostFunctionNotImplemented,Microsoft.PowerShell.Commands.WriteHostCommand

3/11/2015 9:52:38 AM, Error: Get-ScsmPxObject : The term 'Get-ScsmPxObject' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At AAASCSMTest:1 char:1

CategoryInfo          : ObjectNotFound: (Get-ScsmPxObject:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

Thanks for reporting this error.  I'm investigating what needs to be done to resolve it, and will follow-up shortly.

Hi again,
So, I've dug into this issue to see what is the cause.  There are several things in play with this error.
From what I can tell, the script that is used to initialize the native SCSM environment is failing.  When that script fails, the script module has a block of code that tries to output the error message.  That shouldn't be necessary, but it's an attempt to work around a bug in PowerShell.  I use Write-Host for the error message because I'm trying to identify clearly where the error comes from, and Write-Error wasn't doing that for me.  But there may be another way.  Anyhow, this error handling works fine when you import that module in PowerShell, but the runbook doesn't like it because Write-Host is not supported there, so I'll have to change it.  That's on me.
What I can't tell yet from your error message though is why the module failed to load (i.e. why the Initialize-NativeScsmEnvironment.ps1 script is getting an error message).  Can you try your runbook again, this time only calling Import-Module to import the ScsmPx module, but with the -Verbose switch added so that I can perhaps identify what the root cause is?
Also, on the system where your runbook ran (the Runbook agent), can you try importing the ScsmPx module there and make sure that it imports successfully?  It is dependent on the SCSM Management Console being installed (only because that's the only supported way to get the native SCSM modules installed on the system).
Lastly, can you share what you would like to do with ScsmPx from inside an SMA runbook?  Knowing what sort of tasks you would like to accomplish would be very helpful to me.
Thanks!

Thanks for the quick response!  The SCSM admin console is loaded on the SMA machine.  Put together a quick script to repro like you asked.
Here is the script:
workflow AASCSMPX
{
inlinescript
{
Import-module scsmpx -verbose
}

}
Here is the output:
3/13/2015 11:38:29 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\scsmpx\scsmpx.psd1'.
3/13/2015 11:38:29 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\scsmpx\scripts\Initialize-NativeScsmEnvironment.ps1'.
3/13/2015 11:38:29 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Dot-sourcing the script file 'C:\Program
Files\WindowsPowerShell\Modules\scsmpx\scripts\Initialize-NativeScsmEnvironment.ps1'.
3/13/2015 11:38:30 AM, Error: Update-FormatData : Updating format data is not allowed in this runspace. The 'DisableFormatUpdates' property is set to
True when creating the runspace.
At AASCSMPX:1 char:1
+
+ CategoryInfo          : InvalidOperation: (:) [Update-FormatData], PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.UpdateFormatDataCommand
3/13/2015 11:38:30 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\SnippetPx\SnippetPx.psd1'.
3/13/2015 11:38:30 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\SnippetPx\SnippetPx.dll'.
3/13/2015 11:38:30 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Exporting cmdlet 'Get-Snippet'.
3/13/2015 11:38:30 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Exporting cmdlet 'Invoke-Snippet'.
3/13/2015 11:38:30 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Importing cmdlet 'Get-Snippet'.
3/13/2015 11:38:30 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Importing cmdlet 'Invoke-Snippet'.
3/13/2015 11:38:30 AM, Verbose: b6bb43df-1e8d-4e00-9ee0-643692b3dfed:[localhost]:Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\scsmpx\ScsmPx.psm1'.
3/13/2015 11:38:30 AM, Error: Write-Host : A command that prompts the user failed because the host program or the command type does not support user
interaction. Try a host program that supports user interaction, such as the Windows PowerShell Console or Windows
PowerShell ISE, and remove prompt-related commands from command types that do not support user interaction, such as
Windows PowerShell workflows.
At AASCSMPX:1 char:1
+
+ CategoryInfo          : NotImplemented: (:) [Write-Host], HostException
+ FullyQualifiedErrorId : HostFunctionNotImplemented,Microsoft.PowerShell.Commands.WriteHostCommand
3/13/2015 11:38:30 AM, Error: Initialize-NativeScsmEnvironment : Could not load file or assembly '.\System.Center.Service.Manager.psm1' or one of
its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
At AASCSMPX:1 char:1
+
+ CategoryInfo          : NotSpecified: (:) [Initialize-NativeScsmEnvironment], FileLoadException
+ FullyQualifiedErrorId : System.IO.FileLoadException,Initialize-NativeScsmEnvironment
3/13/2015 11:38:30 AM, Error: Import-module : The module to process 'ScsmPx.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest
'C:\Program Files\WindowsPowerShell\Modules\scsmpx\scsmpx.psd1' was not processed because no valid module was found in
any module directory.
At AASCSMPX:1 char:1
+
+ CategoryInfo          : ResourceUnavailable: (scsmpx:String) [Import-Module], PSInvalidOperationException
+ FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

additional data.  Here are the results when I import the Scsmpx module outside of SMA:
Import-Module scsmpx -Verbose
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ScsmPx\ScsmPx.psd1'.
VERBOSE: Importing function 'Add-ScsmPxFileAttachment'.
VERBOSE: Importing function 'Add-ScsmPxTroubleTicketComment'.
VERBOSE: Importing function 'Get-ScsmPxAdGroup'.
VERBOSE: Importing function 'Get-ScsmPxAdPrinter'.
VERBOSE: Importing function 'Get-ScsmPxAdUser'.
VERBOSE: Importing function 'Get-ScsmPxBuild'.
VERBOSE: Importing function 'Get-ScsmPxBusinessService'.
VERBOSE: Importing function 'Get-ScsmPxChangeRequest'.
VERBOSE: Importing function 'Get-ScsmPxCommand'.
VERBOSE: Importing function 'Get-ScsmPxConfigItem'.
VERBOSE: Importing function 'Get-ScsmPxConnectedUser'.
VERBOSE: Importing function 'Get-ScsmPxDependentActivity'.
VERBOSE: Importing function 'Get-ScsmPxDwCube'.
VERBOSE: Importing function 'Get-ScsmPxDwDataSource'.
VERBOSE: Importing function 'Get-ScsmPxDwName'.
VERBOSE: Importing function 'Get-ScsmPxEnterpriseManagementGroup'.
VERBOSE: Importing function 'Get-ScsmPxEnvironment'.
VERBOSE: Importing function 'Get-ScsmPxFileAttachment'.
VERBOSE: Importing function 'Get-ScsmPxIncident'.
VERBOSE: Importing function 'Get-ScsmPxInstallDirectory'.
VERBOSE: Importing function 'Get-ScsmPxKnowledgeArticle'.
VERBOSE: Importing function 'Get-ScsmPxList'.
VERBOSE: Importing function 'Get-ScsmPxListItem'.
VERBOSE: Importing function 'Get-ScsmPxManagementServer'.
VERBOSE: Importing function 'Get-ScsmPxManualActivity'.
VERBOSE: Importing function 'Get-ScsmPxObject'.
VERBOSE: Importing function 'Get-ScsmPxObjectHistory'.
VERBOSE: Importing function 'Get-ScsmPxParallelActivity'.
VERBOSE: Importing function 'Get-ScsmPxPrimaryManagementServer'.
VERBOSE: Importing function 'Get-ScsmPxProblem'.
VERBOSE: Importing function 'Get-ScsmPxRelatedObject'.
VERBOSE: Importing function 'Get-ScsmPxReleaseRecord'.
VERBOSE: Importing function 'Get-ScsmPxRequestOffering'.
VERBOSE: Importing function 'Get-ScsmPxReviewActivity'.
VERBOSE: Importing function 'Get-ScsmPxRunbook'.
VERBOSE: Importing function 'Get-ScsmPxRunbookActivity'.
VERBOSE: Importing function 'Get-ScsmPxSequentialActivity'.
VERBOSE: Importing function 'Get-ScsmPxServiceOffering'.
VERBOSE: Importing function 'Get-ScsmPxServiceRequest'.
VERBOSE: Importing function 'Get-ScsmPxSoftwareItem'.
VERBOSE: Importing function 'Get-ScsmPxSoftwareUpdate'.
VERBOSE: Importing function 'Get-ScsmPxUserOrGroup'.
VERBOSE: Importing function 'Get-ScsmPxViewData'.
VERBOSE: Importing function 'Get-ScsmPxWindowsComputer'.
VERBOSE: Importing function 'New-ScsmPxManagementPackBundle'.
VERBOSE: Importing function 'New-ScsmPxObject'.
VERBOSE: Importing function 'New-ScsmPxObjectSearchCriteria'.
VERBOSE: Importing function 'New-ScsmPxProxyFunctionDefinition'.
VERBOSE: Importing function 'Remove-ScsmPxAdGroup'.
VERBOSE: Importing function 'Remove-ScsmPxAdPrinter'.
VERBOSE: Importing function 'Remove-ScsmPxAdUser'.
VERBOSE: Importing function 'Remove-ScsmPxBuild'.
VERBOSE: Importing function 'Remove-ScsmPxBusinessService'.
VERBOSE: Importing function 'Remove-ScsmPxChangeRequest'.
VERBOSE: Importing function 'Remove-ScsmPxConfigItem'.
VERBOSE: Importing function 'Remove-ScsmPxDependentActivity'.
VERBOSE: Importing function 'Remove-ScsmPxDwCube'.
VERBOSE: Importing function 'Remove-ScsmPxDwDataSource'.
VERBOSE: Importing function 'Remove-ScsmPxEnvironment'.
VERBOSE: Importing function 'Remove-ScsmPxFileAttachment'.
VERBOSE: Importing function 'Remove-ScsmPxIncident'.
VERBOSE: Importing function 'Remove-ScsmPxKnowledgeArticle'.
VERBOSE: Importing function 'Remove-ScsmPxManagementServer'.
VERBOSE: Importing function 'Remove-ScsmPxManualActivity'.
VERBOSE: Importing function 'Remove-ScsmPxObject'.
VERBOSE: Importing function 'Remove-ScsmPxParallelActivity'.
VERBOSE: Importing function 'Remove-ScsmPxProblem'.
VERBOSE: Importing function 'Remove-ScsmPxReleaseRecord'.
VERBOSE: Importing function 'Remove-ScsmPxRequestOffering'.
VERBOSE: Importing function 'Remove-ScsmPxReviewActivity'.
VERBOSE: Importing function 'Remove-ScsmPxRunbook'.
VERBOSE: Importing function 'Remove-ScsmPxRunbookActivity'.
VERBOSE: Importing function 'Remove-ScsmPxSequentialActivity'.
VERBOSE: Importing function 'Remove-ScsmPxServiceOffering'.
VERBOSE: Importing function 'Remove-ScsmPxServiceRequest'.
VERBOSE: Importing function 'Remove-ScsmPxSoftwareItem'.
VERBOSE: Importing function 'Remove-ScsmPxSoftwareUpdate'.
VERBOSE: Importing function 'Remove-ScsmPxUserOrGroup'.
VERBOSE: Importing function 'Remove-ScsmPxWindowsComputer'.
VERBOSE: Importing function 'Rename-ScsmPxAdGroup'.
VERBOSE: Importing function 'Rename-ScsmPxAdPrinter'.
VERBOSE: Importing function 'Rename-ScsmPxAdUser'.
VERBOSE: Importing function 'Rename-ScsmPxBuild'.
VERBOSE: Importing function 'Rename-ScsmPxBusinessService'.
VERBOSE: Importing function 'Rename-ScsmPxChangeRequest'.
VERBOSE: Importing function 'Rename-ScsmPxConfigItem'.
VERBOSE: Importing function 'Rename-ScsmPxDependentActivity'.
VERBOSE: Importing function 'Rename-ScsmPxDwCube'.
VERBOSE: Importing function 'Rename-ScsmPxDwDataSource'.
VERBOSE: Importing function 'Rename-ScsmPxEnvironment'.
VERBOSE: Importing function 'Rename-ScsmPxFileAttachment'.
VERBOSE: Importing function 'Rename-ScsmPxIncident'.
VERBOSE: Importing function 'Rename-ScsmPxKnowledgeArticle'.
VERBOSE: Importing function 'Rename-ScsmPxManagementServer'.
VERBOSE: Importing function 'Rename-ScsmPxManualActivity'.
VERBOSE: Importing function 'Rename-ScsmPxObject'.
VERBOSE: Importing function 'Rename-ScsmPxParallelActivity'.
VERBOSE: Importing function 'Rename-ScsmPxProblem'.
VERBOSE: Importing function 'Rename-ScsmPxReleaseRecord'.
VERBOSE: Importing function 'Rename-ScsmPxRequestOffering'.
VERBOSE: Importing function 'Rename-ScsmPxReviewActivity'.
VERBOSE: Importing function 'Rename-ScsmPxRunbook'.
VERBOSE: Importing function 'Rename-ScsmPxRunbookActivity'.
VERBOSE: Importing function 'Rename-ScsmPxSequentialActivity'.
VERBOSE: Importing function 'Rename-ScsmPxServiceOffering'.
VERBOSE: Importing function 'Rename-ScsmPxServiceRequest'.
VERBOSE: Importing function 'Rename-ScsmPxSoftwareItem'.
VERBOSE: Importing function 'Rename-ScsmPxSoftwareUpdate'.
VERBOSE: Importing function 'Rename-ScsmPxUserOrGroup'.
VERBOSE: Importing function 'Rename-ScsmPxWindowsComputer'.
VERBOSE: Importing function 'Reset-ScsmPxCommandCache'.
VERBOSE: Importing function 'Restore-ScsmPxAdGroup'.
VERBOSE: Importing function 'Restore-ScsmPxAdPrinter'.
VERBOSE: Importing function 'Restore-ScsmPxAdUser'.
VERBOSE: Importing function 'Restore-ScsmPxBuild'.
VERBOSE: Importing function 'Restore-ScsmPxBusinessService'.
VERBOSE: Importing function 'Restore-ScsmPxConfigItem'.
VERBOSE: Importing function 'Restore-ScsmPxEnvironment'.
VERBOSE: Importing function 'Restore-ScsmPxKnowledgeArticle'.
VERBOSE: Importing function 'Restore-ScsmPxManagementServer'.
VERBOSE: Importing function 'Restore-ScsmPxObject'.
VERBOSE: Importing function 'Restore-ScsmPxServiceRequest'.
VERBOSE: Importing function 'Restore-ScsmPxSoftwareItem'.
VERBOSE: Importing function 'Restore-ScsmPxSoftwareUpdate'.
VERBOSE: Importing function 'Restore-ScsmPxUserOrGroup'.
VERBOSE: Importing function 'Restore-ScsmPxWindowsComputer'.
VERBOSE: Importing function 'Set-ScsmPxAdGroup'.
VERBOSE: Importing function 'Set-ScsmPxAdPrinter'.
VERBOSE: Importing function 'Set-ScsmPxAdUser'.
VERBOSE: Importing function 'Set-ScsmPxBuild'.
VERBOSE: Importing function 'Set-ScsmPxBusinessService'.
VERBOSE: Importing function 'Set-ScsmPxChangeRequest'.
VERBOSE: Importing function 'Set-ScsmPxConfigItem'.
VERBOSE: Importing function 'Set-ScsmPxDependentActivity'.
VERBOSE: Importing function 'Set-ScsmPxDwCube'.
VERBOSE: Importing function 'Set-ScsmPxDwDataSource'.
VERBOSE: Importing function 'Set-ScsmPxEnvironment'.
VERBOSE: Importing function 'Set-ScsmPxFileAttachment'.
VERBOSE: Importing function 'Set-ScsmPxIncident'.
VERBOSE: Importing function 'Set-ScsmPxKnowledgeArticle'.
VERBOSE: Importing function 'Set-ScsmPxManagementServer'.
VERBOSE: Importing function 'Set-ScsmPxManualActivity'.
VERBOSE: Importing function 'Set-ScsmPxObject'.
VERBOSE: Importing function 'Set-ScsmPxParallelActivity'.
VERBOSE: Importing function 'Set-ScsmPxProblem'.
VERBOSE: Importing function 'Set-ScsmPxReleaseRecord'.
VERBOSE: Importing function 'Set-ScsmPxRequestOffering'.
VERBOSE: Importing function 'Set-ScsmPxReviewActivity'.
VERBOSE: Importing function 'Set-ScsmPxRunbook'.
VERBOSE: Importing function 'Set-ScsmPxRunbookActivity'.
VERBOSE: Importing function 'Set-ScsmPxSequentialActivity'.
VERBOSE: Importing function 'Set-ScsmPxServiceOffering'.
VERBOSE: Importing function 'Set-ScsmPxServiceRequest'.
VERBOSE: Importing function 'Set-ScsmPxSoftwareItem'.
VERBOSE: Importing function 'Set-ScsmPxSoftwareUpdate'.
VERBOSE: Importing function 'Set-ScsmPxUserOrGroup'.
VERBOSE: Importing function 'Set-ScsmPxWindowsComputer'.

I'm trying to figure out where that call to Update-FormatData is coming from.  I don't call it myself.  It might be in the SCSM native modules.  Can you confirm what version of ScsmPx you have installed, and if you don't have the latest, can you upgrade and then try again and see if you get the same results?  I'll do more testing today with my own SMA environment as well to get to the bottom of this (couldn't yesterday, not enough resources to open that VM).

Just circling back on this old thread in case others come across this problem.  It turns out that the native SCSM modules are much more funky that I originally realized, and that they way that they are currently designed is incompatible with SMA.  That doesn't mean that can't be fixed though, and I was able to make a series of benign changes on my local system to address the design issues that prevent the native SCSM modules from loading in SMA.  I have these documented locally, and I will figure out next steps (likely pushing the issues onto UserVoice for the SCSM team to address the problems in the product, plus also possibly adding a command to ScsmPx that fixes the design problems in recent releases by automatically making the appropriate changes).

Hi there Kirk,
Could you comment on how you got around the SMA issue?   I'm experiencing the same problem with a NTFSSecurity module from Technet.   https://github.com/raandree/NTFSSecurity is the project.  I'm reaching out to them as well to let them know of the issue. However it also encounters the same problem with DisableFormatUpdates being erroring out.

That's a tough one @qb411. The challenge with the NTFSSecurity module is their NTFSSecurity.init.ps1 script file that is invoked as a startup script for the module when the module is imported. That file invokes Update-FormatData to load the format.ps1xml file so that they can get their formatting defaults to apply before the native formatting for the same types (the FormatsToProcess attribute in a module manifest does not support prepending the format file in the format list -- it should, but they just never implemented that support in a manifest).
That said, from a quick analysis of the module I cannot identify why they need to prepend their types. I don't see a conflict between the type names used in their format.ps1xml file and the type names used in native format.ps1xml files. I also don't see why they are using a startup script at all (and to be honest, I would recommend they don't -- startup scripts are not very reliable in my experience).
I don't have time to try this, but if I were inclined to try to change the way this is currently implemented I would start by moving the logic they have in the startup script into the psm1 file for the module, removing the Update-FormatData invocation, and adding the format.ps1xml file to the FormatsToProcess entry in the manifest. I would also probably remove the Add-Type calls and replace them with entries in the NestedModules entry in the manifest. That's just some off the cuff ideas that would be worth looking into.
Let me know if you work it out with them, and if you have other questions please don't hesitate to ask.

Thanks very much for the ideas Kirk.   I figured you might answer that we look into refactoring the module.  I'm going to spend some personal time on that as well because I'd like to try and contribute to the fix if possible.   However for the current situation I need to get it functional within the runspace on our SMA server.  I'm looking at trying to set the runspace to change the "defaultformatupdates" in SMA's powershell session to "False".
I'm not very skilled with c# and i'd say I'm still at beginner level powershell scripting with modules.   So I'd rather get the environment functional while I continue to work on the module afterwards.
I'm employing the following call to try and set the session variable:
[System.Management.Automation.Runspaces.Runspace]::DefaultRunspace.InitialSessionState.DisableFormatUpdates
I'm able to retrieve the session settings, but not set the boolean that its looking for yet.

I'm really interested in this, not because of SCSMPx or SMA, but because I use NTFSSecurity almost daily.  I'll see what I can do to take a look at the init script, the PSM1, and the call to Update-FormatData tomorrow.

@qb411 Glad you worked out a workaround. That will be handy for anyone facing this problem with any module. Even SMA aside though, the module could use some cleanup. @AspenForester I saw you forked it already. If you need some assistance let me know. I think the changes required would be pretty straightforward. Also I re-read what I said yesterday and for the dlls that just define .NET classes and not cmdlets, it should be possible to move them into the RequiredAssemblies attribute. The manifest should have its AliasesToExport value replaced with the actual list of aliases that are exported (best practice for performance reasons).


your reconstructions table

insect reconstruction button only shows the last recon of the table!

solved using Solara DataFrame component


Uses a more precise value to ensure warning is raised

This PR uses a value to test conversion that does not fit even in a 128 bits mantissa to make sure the warning is raised with any kind of float128 dtype (which is not necessarily a padded 80 bits float depending on the platform e.g., ppc64, arm64).
closes #2606

Do you still want to test on an ARM64 ?

I resurecting my pine64, I am running the tests...

For info, this test
silx.utils.test.test_number.TestConversionTypes.testLosePrecisionUsingFloat80
passes on aarm64 prior to the patch. It also passes after the patch. Note for the release, the default version of FabIO from debian9 is not compatible anymore.

Final note:
numpy.finfo(numpy.float128) returns
aarm64: finfo(resolution=1e-33, min=-1.18973149536e+4932, max=1.18973149536e+4932, dtype=float128)
x86_64: finfo(resolution=1e-18, min=-1.18973149536e+4932, max=1.18973149536e+4932, dtype=float128)
ppc64le finfo(resolution=1e-31, min=-1.79769313486e+308, max=1.79769313486e+308, dtype=float128)
Conclusion: long double are messy!

Thanks for the tests!

related to #2029


v1.1.18 checksum mismatch

I am getting the following when I put v1.1.18 in my go.mod:
$ env GOPROXY=direct GO111MODULE=on go mod tidy
go: downloading github.com/miekg/dns v1.1.18
verifying<EMAIL_ADDRESS>checksum mismatch
	downloaded: h1:RP3QrPVgq8fLiw0mjYwVGNaIsCc9MxNFlRHu8PlAeiY=
	sum.golang.org: h1:S82KA03bsvMvziY41d0WitiplMCt8QhawbSQLtoqsdI=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

I get the same error.

The shitshow that is go modules keeps on giving. I'll push a new version
shortly (or stop doing version releases altogether because nothing improved
with that)
On Fri, 27 Sep 2019, 17:18 Ben Fiedler<EMAIL_ADDRESS>wrote:

I get the same error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/issues/1014?email_source=notifications&email_token=AACWIW4QY5JLOJZ454FHYDLQLYW4LA5CNFSM4I3IGSW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ZMZQQ#issuecomment-536005826,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACWIW2RI6KSDESAWQNXM4TQLYW4LANCNFSM4I3IGSWQ
.

did you force push the tag?

Yes, and deleted it. Tagged my local repo that didn't have all upstream
changes yet
On Fri, 27 Sep 2019, 17:34 Josh Rickmar<EMAIL_ADDRESS>wrote:

did you force push the tag?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/issues/1014?email_source=notifications&email_token=AACWIWZ32TNUUAX2UH7B4FDQLYY3DA5CNFSM4I3IGSW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ZOE4Q#issuecomment-536011378,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACWIW7WUW37BORQZIUG7SLQLYY3DANCNFSM4I3IGSWQ
.

Ok, well that explains it.  Unfortunately if the version has already hit the proxy and sum servers, that is indistinguishable from a MITM attack.
The proper method is to push a v1.1.18+deprecated tag to indicate it should not be used, and then create a v1.1.19 with the desired fixes.

I'm going to release a new tag.
On Fri, 27 Sep 2019, 17:39 Josh Rickmar<EMAIL_ADDRESS>wrote:

Ok, well that explains it. Unfortunately if the version has already hit
the proxy and sum servers, that is indistinguishable from a MITM attack.
The proper method is to push a v1.1.18+deprecated tag to indicate it
should not be used, and then create a v1.1.19 with the desired fixes.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/issues/1014?email_source=notifications&email_token=AACWIWYFGQW2TVNWNOP2J5LQLYZLVA5CNFSM4I3IGSW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ZOQFA#issuecomment-536012820,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACWIWZ2JVZG3KAN253HJQTQLYZLVANCNFSM4I3IGSWQ
.

released 1.1.19


Tmux doesn't refresh (again)

This issue was solved before (I made the report)
check: https://github.com/microsoft/terminal/issues/4414
Then you changed something and it worked:
https://github.com/microsoft/terminal/issues/4414#issuecomment-602931355
I didn't make any changes to my hardware.
Video card: NVIDIA GeForce GT 710
Environment
Windows build number: Microsoft Windows [Versión 10.0.19041.172]
Windows Terminal version (if applicable): 0.10.781.0

Any other software?
TMUX 3.0a

Steps to reproduce

Open tmux with a split
Open a second tab (a windows terminal tab, not tmux)
Go back and forth to see it not refreshing

Expected behavior
Refreshing content
Actual behavior
Content not refreshing, see screenshot:

It's weird; we haven't made any changes to the version of Terminal available in the store since you reported that it was fixed. :smile:

it's weird,
Maybe it's something wrong with my graphics acceleration and my video card? (NVIDIA GeForce GT 710)
In my computer, this terminal has no issues:
https://github.com/mintty/wsltty

I can't make this happen with any number of splits or terminal tabs.

What scale is your display set to?

What scale is your display set to?

100% scale
I don't know what other info might be helpful.
It might be useful checking how this other program works graphically.
https://github.com/mintty/wsltty
It works without problem with multiple processes in tmux and vim working all day:

I mean, there are a lot of parts of our stack that are different than wsltty - our buffer, our VT implementation, our renderer, the fact that we use conpty, etc, etc. It's not going to be much help to compare the two considering just how much will be different 😉
Looks like you've updated from tmux 2.6 (in #4414) to tmux 3.0a in this issue, maybe that had something to do with it?
what's the output of infocmp in tmux?

Looks like you've updated from tmux 2.6 (in #4414) to tmux 3.0a in this issue, maybe that had something to do with it?
I'm not sure. Before I tried with both versions and same problem.
Tell me if this is of any help:
infoctmp info:
#       Reconstructed via infocmp from file: /lib/terminfo/x/xterm-256color
xterm-256color|xterm with 256 colors,
        am, bce, ccc, km, mc5i, mir, msgr, npc, xenl,
        colors#0x100, cols#80, it#8, lines#24, pairs#0x7fff,
        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
        clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=\r,
        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
        el1=\E[1K, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
        il=\E[%p1%dL, il1=\E[L, ind=\n, indn=\E[%p1%dS,
        initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
        invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kDC=\E[3;2~,
        kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D,
        kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C, kb2=\EOE, kbs=^?,
        kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
        kdch1=\E[3~, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~,
        kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q,
        kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~,
        kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~,
        kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~,
        kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S,
        kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~,
        kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~,
        kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q,
        kf39=\E[1;6R, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~,
        kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
        kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
        kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q,
        kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
        kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
        kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
        kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
        kf8=\E[19~, kf9=\E[20~, khome=\EOH, kich1=\E[2~,
        kind=\E[1;2B, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
        kri=\E[1;2A, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
        memu=\Em, oc=\E]104\007, op=\E[39;49m, rc=\E8,
        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
        rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l,
        rmcup=\E[?1049l\E[23;0;0t, rmir=\E[4l, rmkx=\E[?1l\E>,
        rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m,
        rs1=\Ec\E]104\007, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
        setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
        setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
        sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
        sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
        smcup=\E[?1049h\E[22;0;0t, smir=\E[4h, smkx=\E[?1h\E=,
        smm=\E[?1034h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
        u9=\E[c, vpa=\E[%i%p1%dd,

This is kind-of crazy, and it might capture some information you're not comfortable with, but I'd love to get a "VT trace" from your tmux session up until the point at which it breaks.

(Debian, Ubuntu) Install the package bsdutils (probably already have it)
Run script -c "tmux" tmux_refresh_repro.script -ttmux_refresh_repro.timing
Use tmux until it breaks
Exit tmux as quickly as possible
Send us tmux_refresh_repro.script and tmux_refresh_repro.timing

The script file captures everything that tmux sent to the screen, and the timing file captures exactly when it did each print.
If you're not comfortable posting that stuff on GitHub, my e-mail address is in my github profile. If you're not comfortable with this at all, even in private, I understand. :smile:

I suddenly started having this problem today, which was strange because I had been using tmux in windows terminal with no trouble previously. It appears to only happen when using a vertical split. However, I realized that I had recently set tmux_conf_theme_highlight_focused_pane to true. Sure enough, resetting it to false fixed the issue. 🤷


Allow users to choose their file extension name

Current list of options to implement:

.js
.es6

Not implemented in 0.1.0, moving to next release.


Add .ipa file to github releases

Add .ipa file (ios app) to the releases as asset at github releases
https://github.com/LN-Zap/zap-iOS/releases/

Yes please :-)


Hitting enter in connection pages does not submit form

(Accessibility) It should submit the form so users do not need to use the mouse to click.

@rolznz Can I contribute this?

Hi, there is already an in-progress PR here: https://github.com/getAlby/bitcoin-connect/pull/259

Sorry @Nomishka for not updating this issue.
Closing as a duplicate of https://github.com/getAlby/bitcoin-connect/issues/182

@rolznz Okay


refractor!: removing hardcoded ids from the lockdown command

Going to try to create a format for removing all hardcoded IDs within the bot. Also trying to limit the influence of global configurations.
Changes to the configuration file as followed:

removing hardcoded ids goes crazy

removing hardcoded ids goes crazy

Getting rid of them all. Slowly but surely.


vite package error in index.less

Describe the bug
When I execute the packaging command, it repeatedly prompts [vite: css] [less] Unrecognized input.
After I cleared the content of this file, it still had a packaging error, which must have something to do with vite.
Reproduction
pnpm vite build
Steps to reproduce
No response
System Info
vite v4.4.9 building for production...                                                                                11:05:02
✓ 22 modules transformed.                                                                                11:05:07
✓ built in 4.69s                                                                                11:05:07

 ERROR  [vite:css] [less] Unrecognised input                                                                                11:05:07
file: E:/opensource/simple-admin-backend-ui/src/design/index.less:36:22

 ERROR  error during build:                                                                                11:05:07
Error: [less] Unrecognised input
    at less (file:///E:/opensource/simple-admin-backend-ui/node_modules/.pnpm/vite@4.4.9_@types+node@20.4.7_less@4.2.0_sass@1.66.1/node_modules/vite/dist/node/chunks/dep-df561101.js:39459:33)
    at async compileCSSPreprocessors (file:///E:/opensource/simple-admin-backend-ui/node_modules/.pnpm/vite@4.4.9_@types+node@20.4.7_less@4.2.0_sass@1.66.1/node_modules/vite/dist/node/chunks/dep-df561101.js:38735:30)
    at async compileCSS (file:///E:/opensource/simple-admin-backend-ui/node_modules/.pnpm/vite@4.4.9_@types+node@20.4.7_less@4.2.0_sass@1.66.1/node_modules/vite/dist/node/chunks/dep-df561101.js:38785:36)
    at async Object.transform (file:///E:/opensource/simple-admin-backend-ui/node_modules/.pnpm/vite@4.4.9_@types+node@20.4.7_less@4.2.0_sass@1.66.1/node_modules/vite/dist/node/chunks/dep-df561101.js:38266:56)
    at async transform (file:///E:/opensource/simple-admin-backend-ui/node_modules/.pnpm/rollup@3.28.1/node_modules/rollup/dist/es/shared/node-entry.js:24367:16)
    at async ModuleLoader.addModuleSource (file:///E:/opensource/simple-admin-backend-ui/node_modules/.pnpm/rollup@3.28.1/node_modules/rollup/dist/es/shared/node-entry.js:24567:30)

 ELIFECYCLE  Command failed with exit code 1.

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[ ] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[ ] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[ ] The provided reproduction is a minimal reproducible example of the bug.

Fied


Fixes #3463 -- Implement Custom SQL Data Quality Tests

Describe your changes :
This PR fixes #3463 by implementing the base logic to execute custom SQL tests. The test has been defined as a tableTest as it is technically executed against the whole table. This limits the number of SQL tests to 1. I am suggesting to fix in a second PR (open to suggestion though).
@open-metadata/ui I used a label field for the query imput, let me know if you think there is a better element to use.
We also took the opportunity to re-work part of the test dispatch in anticipation of the test case API re-work.

Type of change :

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@open-metadata/ui
@open-metadata/ingestion

we can keep it, but to call it entirely done few things need to be implemented

Good SQL editor support
a way to check SQL the user wrote works before scheduling.
We can file follow-up tickets to add support for this.


Outliner has no options in the "gear" menu

On master (and 3.x I think) there are no options in the "gear" menu.
I think that some of the options in the right click menu should go in there. Especially the checkbox items as the others already have buttons in the toolbar

@bcolsen, sure, some of the context menu options can go to the Options menu (which is not present in 3.x)
Do you want to work on this one?

Yes, I can take this one.

Great thinking @bcolsen . I'd put the three checkbox ones in the options menu and remove them from the context menu; checkboxes don't generally belong in contextmenus anyway but are a great fit for the "gear" options menu.


feat : add new unsigned integer data type

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

27 of 233 (11.59%)  changed or added relevant lines in 11 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 98.031%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/src/data/value/json.rs
0
5
0.0%

core/src/data/value/expr.rs
0
6
0.0%

core/src/data/bigdecimal_ext.rs
0
9
0.0%

core/src/data/key.rs
0
21
0.0%

core/src/data/value/binary_op/f64.rs
0
21
0.0%

core/src/data/value/mod.rs
18
51
35.29%

core/src/data/interval/primitive.rs
0
54
0.0%

core/src/data/value/binary_op/decimal.rs
0
57
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
36000

Relevant Lines:
36723

💛  - Coveralls

I think I am ready for review

I have made changes, thank you for the review :)


Only set up AB Test where appropriate

Prior to this change, we were showing AB Test meta tags, and setting Vary headers on requests that were to pages other than those included in the AB test.
This change adds tests to check that any pages not involved in the AB test do not receive the same setup.
Trello
https://trello.com/c/Xehe42eM/464-only-add-a-b-meta-tag-to-pages-in-the-navigation-a-b-test

Is there a way to put education_navigation_variant.analytics_meta_tag.html_safe in the layout?

@tijmenb I think that would involve moving the include EducationNavigationABTestable up from individual controllers into the ApplicationController (because you need access to ab_test_applies? You'd lose the nice explicitness you get by declaring a controller as being A/B tested, but you'd then be able to move the meta tag into the layout.
Either that or you'd have to do something like check if ab_test_applies? has been defined and it's true, but that feels a little dirty to me.
Happy for you to make a call either way.

@alecgibson thanks, this is indeed better than the alternative then.


hub  pull-request ignores title and message in PULLREQ_EDITMSG

using hub v2.12.8-1
possibly related to: #1066 #2305
i opened this pull request using the hub program - it was successful; but the title and comment that i supplied did not appear on the website - the PR title became the git commit message and the comment is empty - similar to ticket #1066, though that one describes supplying the title and message via CLI args - in this case, i replaced the defaults in PULLREQ_EDITMSG using a text editor
this was the PULLREQ_EDITMSG:
housekeeping - calamares style
# ------------------------ >8 ------------------------
# Do not modify or remove the line above.
# Everything below it will be ignored.

apply calamares style to src/modules/users/UsersPage.cpp

just 'cause

To clarify: did you expect this description to appear in your PR message?

apply calamares style to src/modules/users/UsersPage.cpp
just 'cause

And if so, my next question is: did you read this part?
# ------------------------ >8 ------------------------
# Do not modify or remove the line above.
# Everything below it will be ignored.

The way PULLREQ_EDITMSG are supposed to be authored is this:
housekeeping - calamares style

apply calamares style to src/modules/users/UsersPage.cpp

just 'cause
# ------------------------ >8 ------------------------
# ...

ok my bad - ty :)


Gallery with varying widths

[x] This is a question about using the theme.
[ ] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.
[ ] This is a feature request.
[ ] I have updated all gems with bundle update.
[x] I have tested locally with bundle exec jekyll build.

Minimal Mistakes version:  4.0.10

Hey y'all,
I'm trying to get my gallery on my site (annawees.github.io) to vary between a double column width and single column width, similar to the layout used by Refinery 29 (www.refinery29.com). I've edited the archive.scss to the following:
 /*
    Grid view================================================= */

 .grid__item {
   margin-bottom: 2em;
   .archive__item-title {
     margin-top: 0.5em;
     font-size: $type-size-5; letter-spacing: 2 px;
   }

   .archive__item-excerpt {
     display: none;
   }

   @include breakpoint ($small) {
        @include span(12 of 12 split);
        .archive__item-teaser {
            max-height: 200px;
       }
   }

   @include breakpoint ($medium) {
        @include span(6 of 12 split);
        &:nth-child(3),
             {width: (12 of 12 split);}
   }

   .page__meta {
     margin: 0 0 4px;
   }

}

This worked on sassmeister, but I was not able to reproduce the results on GitHub. Any hints as to what might be the fix?

Looks to me the CSS you wrote is doing what instructed to do.
Single column (12 of 12) @ $small

and two column (6 of 12) @ medium and up.

Refinery29 looks to me to be using a 4 column layout. If you want to match that then you'd want span(3 of 12).

What I was talking about was the intermittent posts that span two columns.

I added the  &:nth-child(3), {width: (12 of 12 split);}  but was not able to produce the desired result.

That'll be really tricky due to the breakpoints. If you look at the compiled CSS it throws in float clears using various nth-child declarations which you have to override or else the layout will break.
You're probably better off looking at flexbox than using Susy's float based grids. But that doesn't have as well off browser support.

This might give you some ideas https://zellwk.com/blog/susy-gallery-problems/

Thanks! I think I'll try to see if I can build with JS.
On Sun, Feb 26, 2017 at 8:47 PM, Michael Rose<EMAIL_ADDRESS>wrote:

This might give you some ideas https://zellwk.com/blog/susy-
gallery-problems/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mmistakes/minimal-mistakes/issues/875#issuecomment-282615077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXQ49MnGGVNatfOQnOaDD3c06yJ6hcppks5rgjklgaJpZM4MMlpK
.

Closing. Feel free to re-open with updates or more information if you managed to get this working.


Atis fewshot generation error

Hi all,
I am facing a new error while generating the few shot dataset for ATIS, even though the structure is so similar and both are using the same dataloader. the only difference is the config to edit the all_domain as follows:
all_domain = [['atis_flight'], ['atis_airfare'],['atis_airline'],['atis_ground_service'],
['atis_quantity'], ['atis_city'], ['atis_flight', 'atis_airfare'],['atis_abbreviation'],
['atis_aircraft'],['atis_distance'],['atis_ground_fare'],['atis_capacity'],['atis_flight_time'],
['atis_meal'],['atis_aircraft', 'atis_flight', 'atis_flight_no'],['atis_flight_no'],['atis_restriction'],
['atis_airport'],['atis_airline', 'atis_flight_no'],['atis_cheapest'],['atis_ground_service', 'atis_ground_fare'],
['atis_day_name']]
*note: I used the function load_data in the raw_data_loader.py to get the unique intents to add to the list.
after running the gen_meta_data.sh I get this error:

can you please tell me what should I do about it?
I also want to know if I can use this tool for dstc8-schema-guided-dialogue?
thank you in advance

Hi all,
I am facing a new error while generating the few shot dataset for ATIS, even though the structure is so similar and both are using the same dataloader. the only difference is the config to edit the all_domain as follows: all_domain = [['atis_flight'], ['atis_airfare'],['atis_airline'],['atis_ground_service'], ['atis_quantity'], ['atis_city'], ['atis_flight', 'atis_airfare'],['atis_abbreviation'], ['atis_aircraft'],['atis_distance'],['atis_ground_fare'],['atis_capacity'],['atis_flight_time'], ['atis_meal'],['atis_aircraft', 'atis_flight', 'atis_flight_no'],['atis_flight_no'],['atis_restriction'], ['atis_airport'],['atis_airline', 'atis_flight_no'],['atis_cheapest'],['atis_ground_service', 'atis_ground_fare'], ['atis_day_name']] *note: I used the function load_data in the raw_data_loader.py to get the unique intents to add to the list.
after running the gen_meta_data.sh I get this error:

can you please tell me what should I do about it? I also want to know if I can use this tool for dstc8-schema-guided-dialogue?
thank you in advance

I haven't encountered the exact same error.
It shows that you are sampling from an empty list, maybe you can check your label bucket and find if there are some label has no corresponding samples.
For dstc8, the tool itself is data-agnostic : )


Skip defaults in DISPLAY SYSTEM CONFIG

Also implemented skipping empty sets, like listen_address (treating empty set as default).


Fix unit of molar volume

Coverage increased (+0.01%) to 88.862% when pulling 8f6abfbe38947882898cedc4c6d43b32a6d14271 on tkeskita:master into 9f4175a9bcebc450baeba0b4f62398686a804c27 on CalebBell:master.

Thanks!


Use CMake variables for paths in pkg-config files

Use @gRPC_INSTALL_LIBDIR@ for libdir; this fixes an incorrect -L/usr/lib on multilib Linux systems where that is the 32-bit library path and the correct path is /usr/lib64.
Use @gRPC_INSTALL_INCLUDEDIR@ for consistency.

@veblush  can you please review since you've been dealing with pkgconfig recently?

In the Fedora Linux grpc package with this PR applied as a patch, the paths come out correctly as includedir=/usr/include, but the spec file is setting  -DgRPC_INSTALL_BINDIR:PATH=%{_bindir}, which would be  -DgRPC_INSTALL_BINDIR:PATH=/usr/include, and so on. However, I see that these are relative paths by default, so I probably need to stop doing that and see what happens. I suspect @veblush’s suggestion above will prove correct. I will revise the PR once I have a chance to do a little more local testing.

Force-pushed with changes suggested in review. Hopefully the distribtests will be happy now.


feat: Events API

Type of PR:

[ ] Bugfix
[x] Feature
[ ] Refactor
[ ] Code style update
[ ] Build-related changes
[ ] Test
[ ] Documentation
[ ] Other, please describe:

Breaking changes:

[x] No
[ ] Yes

Details
The Events API opens doors for better application hooks. This simple yet intelligent API is designed with Typescript in mind. It attempts to solve, but not limited to, the following pitfalls of a typical hook system:

Type-safety – exact typings for event payloads with inference new Events<MyEvents>
Functional – does not rely on this context
Extensive – can be inherited by classes or used as a singleton
Performant – written to execute at high operation cycles
Slim – less API pollution equals more agility

Usage
Define event interfaces using keys & argument tuples.
interface QueryEvents {
  selected: [Collection<Model>, string]
  updating: [Model]
}

Instantiate the Events object with the events interface.
const events = new Events<QueryEvents>()

Add or remove listeners.
const listener = (...args) => console.log(args)

events.on('selected', listener)
events.off('updating', listener)

// `on` returns a self-removing function.
const unregister = events.on('updating', (...args) => console.log(args))
unregister()

Add one-time listeners which are removed on the next broadcast event.
events.once('updating', (...args) => console.log(args))

Subscribe to all events.
events.subscribe(({ event, args }) => {
  if (event === 'selected') {
    const [models, entity] = args
    console.log(`${event} fired with ${models.length} for ${entity}`)
  }
})

Emit events.
events.emit('selected', collection, 'users')
events.emit('updating', model)

Noteworthy
The Events API is designed to emit events with payloads to listeners and subscribers. If the API is offered to authors within the ecosystem and general user-land, performance and optimisation plays a key role as the use-cases can be unprecedented. To cater for these needs, the following applies:

event listener maps are initialized with Object.create(null) to increase operation cycles.
event keys are removed to optimize memory when listeners for an event are unregistered and no more listeners exist.
listeners are not required to return which results in less operating overhead.
removeAllListeners(event: string) is a protected method to prevent side-effects from user-land intervention.
recursion and advanced usage is demonstrated within tests.

One another thing I want to discuss is how we get the results from the emit method. As for event API, it doesn't make much sense for emit to return a value since event can call event within event and such.
However, in Vuex ORM hooks, we need to know what user have returned. For example, if users return false from the beforeCreate hook, it should stop persisting it.
This discussion could be in different issue since this event api is pretty solid, though do you have any idea on this topic?

I’ve opened this up for debate here #12.

Great. Let's follow up the discussion over there. I'm gonna merge this since this looks pretty tasty 🥰


Improve Nav Bar & use Wasp Link components

TODO

[x] fix navigation item item.to type
[x] fix app_diff

Description
Fixes #264 & #181 as well as merges the landing page's navbar and the AppNavBar into one
Contributor Checklist

Make sure to do the following steps if they are applicable to your PR:

[ ] Update e2e tests: If you changed the /template/app, then make sure to do any neccessary updates to /template/e2e-tests also.
[x] Update demo app: If you changed the /template/app, then make sure to do any neccessary updates to /opensaas-sh/app_diff also. Check /opensaas-sh/README.md for details.
[ ] Update docs: If needed, update the /opensaas-sh/blog/src/content/docs.

@vincanger maybe best to have @infomiho take a look at this since he is the author of Wasp Link stuff?


Error dropping constraint

Hi,
There seem to be an issue when dropping constraints (at least in PostgreSQL and MySQL). Steps to reproduce:

Create a new unique constraint on a table and name it test-uk. This will correctly quote the name of the constraint in the generated SQL and succeed.
Try to drop that same constraint. This will not quote the constraint name in the generated SQL and fail since - is a special character.

Is there an always quote identifiers option somewhere that I missed ?
Thanks for the great software.
Cheers.

This is a bug in constraints manager.
Thanks for report.


A question about result

Hello author, I found that the results of AAPL in Table 1 are not consistent with the average results of AAPL in Table 2, but the indicators of the methods you listed for comparison in the two tables are consistent. Why is that?
Sincerely look forward to your reply.

Hello Sandy,
Apologies for the delayed response.
To answer your question, Table 1 compares AAPL and CoCoOp with augmentation, showing the results of experiments designed to evaluate the impact of the ad triplet loss. In these experiments, the scaling parameters for CE loss and ad triplet loss (alpha and beta) were both set to 1.
For the accuracy results in Table 2, from the base-to-new generalization experiment, these were obtained by tuning the scaling parameters alpha and beta for CE loss and ad triplet loss, as explained in Section 4.2.
Thank you!


Reshuffle shared source files

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

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


Question: What should debt really mean from a game design perspective?

In general, it's just generally assumed as "you want to read away your debt if you have it" as a sort of motivation, but it doesn't really have any mechanical effects. Should we introduce those effects? How? Should people gain debt in ways other than the lottery or players giving it to them? Until the lottery is introduced (#22) it doesn't really mean much.

Perhaps a levelling system, where xp is replaced with words.
If you have too much debt for an extended period of time your xp and thus level gets given either to the person who gave you the debt or if it wasn't given by a singular entity your xp (words) are given to everyone else who is also playing.
Some issues I see with this is - How should levels be - linear or exponential. Personally I believe linear would be better.
Your overall accumulated words read should be store somewhere though.

I like the idea of giving another player debt benefiting you in some way rather than just affecting the indebted player. It might be difficult to track debt for everyone, but it could make the game more interesting.
If you have debt, could clearing it give (some or all) cranes to all other players (or maybe only players that have logged in the last X time)? So inflicting debt on A Tian would be a good strategy because it would slow down their crane accumulation while increasing yours. I worry about the lottery dumping a whole bunch of debt on a casual player might just make them quit though.
I do agree it would be good to have some kind of reward/progression system; so far it doesn't seem like competition alone has driven a lot of interest (maybe that would change if the game were introduced to other servers like JP, but that risks a more toxic environment). To avoid discouraging players who aren't getting in 10,000+ words a day, I also like the idea of some of the progression being global and maybe soft/hard-capping cranes you can earn/keep for each reward cycle.
Another Discord bot game I used to play involved farming--you'd use currency earned by taking care of your farm to increase the size of your prize vegetable, and the bot would generate a picture every time it grew. I like the idea of a visual representation of your progress, and I personally think tying it to something concrete like building up a city or growing a forest is way more satisfying than number go up. Hard to think of something that feels Refoldy/immersiony though.

Hard to think of something that feels Refoldy/immersiony though.

In the spirit of refold I almost wonder if it's possible to do something like that anki heatmap, but tying that in with debt is probably more convoluted than it's worth. I like the idea of debt being an actual debt to the assigner, too, though I worry about the cycle where one person who's assigned a lot has so many debts coming in that they can start indefinitely assigning debts to others without reading. Even if it's only 10% going to them, that's a loop at 10 active debts assigned. Hey, capitalism! (Or is that just a pyramid scheme...)
Maybe we rework the lottery to be for cranes, and cranes go into the lottery instead of debts. Now assigning debt has the benefit of maybe coming back to you if you win the lottery, but the barrier to entry for getting into the lottery is very low. That seems to hit a lot of the checkmarks for global progress and making debts useful on paper, but I feel like the 3-winner system isn't going to scale to more than like 20 participants at best. I wonder if there's a way to make a fixed reward come back from the lottery pot as well (the inverse of guaranteed debt)?
I also like the city/forest idea but making an image out of it would be a lot of effort, we could maybe add a separate discussion issue for it as a long-term goal.


Rename WorkerCacheInterface::CreateWorker to GetOrCreateWorker().

for this
  // TODO(mrry): rename this to GetOrCreateWorker() or something that
  // makes it more obvious that this method returns a potentially
  // shared object.
  virtual WorkerInterface* CreateWorker(const string& target) = 0;

@gbaned Would you mind adding another reviewer?

@gbaned

hawkinsp removed their request for review just now

Would you mind adding another reviewer?

Reassigning this to @swpnlptl to take a look.

@swpnlptl
Here are five Internal CI build failed. I don't think it's caused by my changes. What else do I need to do?


Allow configuring secondary notary service for image signature verification

Description
As a user I want to configure alternative notary services that would be used in case the primary one is not recognising image signature.
Image signature is verified by notary services in order and stops as soon as one of them approves the signature.
Reason
If an image is signed by notary service B than it would be rejected in case a notary service A is configured for verification.
Adding such image to allowed list should be the last resort - it would be much better to configure multiple notary services that will be used for verification.

Bringing own notary service should be done after https://github.com/kyma-project/warden/issues/99


create database of legislators for the 125th regular session

goal: create a new database - Florida State's 125th Regular Session - with one collection - legislators

data:
representatives -
term2224-fl-representatives.csv
senators -
term2224-fl-senators.csv

changes:

delete the "FL 125th" database
make a new cluster called "Florida Legislature"
make a new database called "125th Regular Session"
create a collection called "legislators"

NVM. just combine representatives + senators, and call it "legislators"


low hanging fruit of debug output

fixes: #7

.Seconds() returns a float64 which we can format with 2 decimals

Thanks @dropje86


Highlight that Azure functions maximum timeout is not exclusive

On deploying a functions app with a 10 minute timeout, we saw errors saying that the timeout must be less than 10 minutes.
I would expect by default the validation to be "<= max", not "< max".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 06436739-8586-23b1-6b69-1960e93c26be
Version Independent ID: 8f7abfae-cf6d-56cb-1d20-f02041a6f6d9
Content: Azure Functions scale and hosting
Content Source: articles/azure-functions/functions-scale.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@benbelow Thank you for your feedback! We will review and update as appropriate.

Update: This is not actually the case!
The behaviour I observed was due to not realising a debug pipeline was overriding my changes before I tested them and increasing the timeout above 10 minutes.
10 min timeout works as advertised.


Floating Debris Effect

idk wtf to put here

@StormPacer is checking functionality

The effect works, approving.


bun install fails without .gitattributes file in project root

I was trying to replace esbuild with bun by running the installer:
./bin/rails javascript:install:bun

but I got this error:
Add ability to diff lockb to .gitattributes
rails aborted!
Thor::Error: Could not find "/Users/peter/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/jsbundling-rails-1.2.1/lib/install/bun/.gitattributes" in any of your source paths. Your current source paths are:
/Users/peter/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/railties-7.0.8/lib/rails/generators/rails/app/templates

So I tested in a different project, and that one worked because it had a .gitattributes file in the root.
It looks like adding a .gitattributes file is a new-ish thing in Rails, that's why the first project didn't have one, it's about 3 years old. https://github.com/platformsh-templates/rails/commits/master/.gitattributes
So it seems like the jsbundling-rails installer just needs to check and see if that file already exists or not.

After creating an empty .gitattributes in the project root dir, the bun install command works and outputs:
Run 'git config diff.lockb.textconv bun && git config diff.lockb.binary true' to enable pretty diffs for Bun's .lockb file
Why is it assumed git is in use I my case it is not, and git is not installed!

Feel free to open a PR fixing this.

Actually the problem lies elsewhere, when gem is bundled, the .gitattributes file is not properly bundled with it which is what the error is implying. I can prepare a PR


Elasticsearch query issues

Hi!
Doing Fulltext searches exists a couple of problems:

All queries are lowercase, so if a field has a camel case name, the query does not return any match. For example:

select * from "myIndex: sourceAddress:<IP_ADDRESS>"

In debug it looks like this:
"query": {
  "bool": {
    "must": {
      "query_string": {
        "query": " sourceaddress:<IP_ADDRESS>"
        .
        .
        .
      }
    }
  }
}

Some characters cannot be escaped. If we want to get all records from the IPs that belong to a subnetwork with the following query, we get the error "Failed to parse query":

select * from "myIndex: sourceAddress:<IP_ADDRESS>/17"

How can I do these queries?
On the other hand, How can I query on an IP field without the need to cast to varchar?
select * from "myIndex" where  sourceAddress = '<IP_ADDRESS>'

This query returns the following:  '=' cannot be applied to ipaddress, varchar(11)
Thanks!

On the other hand, How can I query on an IP field without the need to cast to varchar?

This should do:
... where  sourceAddress = IPADDRESS '<IP_ADDRESS>'

All queries are lowercase, so if a field has a camel case name, the query does not return any match. For example:

This is a known limitation. Unfortunately, columns and table names in Presto are currently case-insensitive, and this is achieved by lower-casing identifiers before passing them to connectors. The full text search query is just an "enhanced" table name.

On the other hand, How can I query on an IP field without the need to cast to varchar?

This should do:
... where  sourceAddress = IPADDRESS '<IP_ADDRESS>'

Hi! Good tip! Is there any way to be able to query a subnet (we have tried ...where sourceaddress = IPADDRESS '<IP_ADDRESS>/26' but it didn't work. Thanks!

Is there any way to be able to query a subnet (we have tried ...where sourceaddress = IPADDRESS '<IP_ADDRESS>/26' but it didn't work.

Let's move this discussion somewhere else (and since it's not possible today, "somewhere else" is: please create new issue).

Thanks @findepi and @martint for helping me out! I've already created the issue (#3719)


fixing postinstall

updaing postinstall to install all of the parameters in parameter.json.
updating production db config to reflect correct prod db info

Shouldn't there be an
s/__KICKSTART-FILE__/$kickstartFilesFqn/
somewhere?

@knutsel  the substitution is happening, if you look at line number 207-220 you will see what we did

Oh, yea see it... Not even a need for the placeholder


Binding DynamicData observables enhancement

At the moment we can bind a control property to IObservable<T> using the ^ operator.
It would be nice enhancement to be able to bind ItemsControl.Items (etc) to DynamicData observables such as IObservableList<T> and IObservable<IChangeSet<T>> using the same operator.
class MyViewModel
{
   public  IObservableList<MyItem> MyItems { get ;}
}

<ItemsControl Items="{Binding MyItems^}"/>

One benefit would be that the ViewModel doesn't need to create and maintain a ReadOnlyObservableCollection<T> when the view binds directly to IObservableList<T>; the collection will never be created if the View never instantiates the control.

IObservableList requires a dependency on DynamicData. Unless we use DynamicData in the core of Avalonia support for this is unlikely to happen.

I think you already have an indirect dependency on it as ReactiveUI  v10.3.6 depends on DynamicData v6.13.9

Avalonia works perfectly fine without ReactiveUI and has no direct dependency as you stated. The binding system is part of the core of Avalonia. This feature should be optional.

My mistake, it's only used in the Avalonia.ReactiveUI.
Perhaps someday a DynamicData Binding markup extension could be added to that assembly.

I think we need a prototype that uses DynamicData in a sortable, groupable "ItemsControl". The control itself would need direct access to IObservableList etc

It should be possible to extend the binding system with a stream plugin:
For reference:

IStreamPlugin
ObservableStreamPlugin (implementation for IObservable)
The list of stream plugin handlers (you can add custom plugins to this list)

Closing as we've removed our dependency on RxUI from our templates.


Update

Update go version
Add exiftool darktable imagemagick to enable RAW photo conversion and extraction of metadata (exiftool is required to extract video data)
Specify that port must be explicitly set for external service

Thanks for the PR!
I see that both darktable and imagemagick seem to pull in a ton of dependencies. Are you sure all of it needs to be installed for RAW conversion to work? Or is there maybe a smaller set of packages that will suffice?
In any case, I'm also not keen for the guide to imply that those packages are needed to install and/or run PhotoPrism, rather than merely to enable optional features. Maybe a separate section would be better.

I believe one could get away with just using darktable + exiftool to get full functionality although I have not tested that setup (I have imagemagick installed too). Nevertheless a separate section is a great idea for enabling optional features. Ill make that change shortly.

Thanks, looks good!


Not able to login persistently on Firefox

In a local instance, I am able to login correctly using Chromium version 36.
But I am not able to login using Firefox 31.0. The password gets accepted and lasts for one-screen. But as soon the second page is navigated to, it asks for the sign-in form again.
Are the login cookies being set through some funky mechanism? I am using NoScript in Firefox. I am also using HTTPSwitchBoard in Chromium.

@hrj Do you still have this problem?

It is working fine now with gitbucket v 2.7 and Firefox 34.
:+1:


Documentation: Writing scripts

Describe how to write your own scripts
Document the API in Core

Scripts are described in the source code in directory ./buildin.
The idea is to the base scripts as examples for different methods to apply validation rules


Remove Community Points

Remove concept of communities and groups
Remove concept of community points
Stop syncing community group members to Forum

:tada: This issue has been resolved in version 6.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


VSCodium download error, mismatched commit. Ubuntu Snap/deb repo

Sorry for keywordy title.
I'm using a new system with Ubuntu on it. Using VSCodium from Snap. When I try to connect to a remote server I get this:
[Trace  - 09:13:47.858] Server install command stdout:
Error downloading server from https://github.com/VSCodium/vscodium/releases/download/<IP_ADDRESS>02/vscodium-reh-linux-x64-<IP_ADDRESS>02.tar.gz
c7acd025d5d99802d7c6fc11: start
exitCode==1==
listeningOn====
connectionToken====
logFile==/User/homes/mchettouh/.vscodium-server/.650fc437e02159df39d99355a91b2e3b1f1220c5.log==
osReleaseId==centos==
arch==x86_64==
platform==Linux==
tmpDir==/run/user/2374==
c7acd025d5d99802d7c6fc11: end

[Error  - 09:13:47.859] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
	at t.installCodeServer (/home/mchettouh_/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.36-universal/out/extension.js:1:423265)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /home/mchettouh_/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.36-universal/out/extension.js:1:387528

This error looks oddly like #33 and my issue with Code-OSS #60. So I decided to look at the commit number for the Snap VSCodium: 650fc437e02159df39d99355a91b2e3b1f1220c5. Which is different than the commit ID here: https://github.com/VSCodium/vscodium/releases/tag/<IP_ADDRESS>02
I've also tried installing it via their repo as described here: https://vscodium.com/ but it's the same commit ID.
One more note: Unlike my previous issue with Code-OSS. this time is has created a .vscodium-server folder and populated it slightly which hasn't happened the last time.

Maybe a network error as it's failing to download the server, does any of these lines complete sucessfully in your remote machine:

wget --tries=3 --timeout=10 --continue --quiet -O vscode-server.tar.gz $SERVER_DOWNLOAD_URL
curl --retry 3 --connect-timeout 10 --location --silent --output vscode-server.tar.gz $SERVER_DOWNLOAD_URL

wget works fine when I use the provided url. No need to even use --tries or --timeout. Normal VSCode with Marketplace extension also works.

mmm so it always fails with the same error message? There's only one place that prints Couldn't install vscode server on remote server that checks the return value of the last executed command which is wget so for reason is failing but if you run it manually it works  :thinking:
Could you try running this bash script snippet in the same folder .vscodium-server and see if it prints the error or not?
https://github.com/jeanp413/open-remote-ssh/blob/ecc35d4cd8e710cec4d1ea732191e35274aa2e54/src/serverSetup.ts#L316-L328

:+1:  closing this for now


updated examples to @angular

updated npm install to the full @angular scope installation
closes #109

@orizens

yes.
thanks.


Closing and reopening the serial port during runtime

Before HomeKey, I used my own system (read tag with security feature). I would like to continue using this system in parallel to HomeKey and would therefore like to switch the comport to my software when one of these tags is recognized. To do this, however, I would need to close the comport in HomeKey during runtime and open it again after my software has been processed.
Example in the service.py:
    def _read_homekey(self):
        start = time.monotonic()

        remote_target = self.clf.sense(
            RemoteTarget("106A"),
            broadcast=ECP.home(
                identifier=self.repository.get_reader_group_identifier(),
                flag_2=self.express,
            ).pack(),
        )
        if remote_target is None:
            return

        target = activate(self.clf, remote_target)
        if target is None:
            return

        if not isinstance(target, ISODEPTag):
            log.info(
                f"Found non-ISODEP Tag with UID: {target.identifier.hex().upper()}"
            )
----------> Close serial port/connection
            requests.post('http...
----------> Reopen serial port/connection
            while self.clf.sense(RemoteTarget("106A")) is not None:
                log.info("Waiting for target to leave the field...")
                time.sleep(0.5)
            return

What would the syntax have to be to accomplish this?
Thank you very much for your support!
Greetings
Patcher

You can raise an exception, which will cause the code to re-initialize the connection to the CLF after some delay. In the meanwhile, you can grab access to that port in exclusive fashion from your other app, which should prevent this one from getting it back until you release it there.

Okay. But how can I trigger such an exception that the ComPort is released again? Do I simply kill the HomeKey script? Just for your information, I run the whole thing under Windows 11.

Just do raise Exception("Gimme port")or something like that in the part of the code you want this app to release access to the PN532.

Sorry, but I'm not really deeply versed in python. What is a raise Exception(“Gimme port”)? What should the command for this look like?

Instead of raising an exception, you can also do something like this:
self.clf.close()
# Do your HTTP call here
self.clf.open(self.clf.path)

For HTTP call, you can use requests library, there are tons of examples on the web on how to use it.

For HTTP call, you can use requests library, there are tons of examples on the web on how to use it.

I had already integrated that before - thanks anyway

self.clf.close()

That was the command I needed - Works perfectly :)
Thank you very much for your help. Now I can close this topic


Horizontal scroll bar issue

Versions:
6.5.3
6.6.0

When resizing a column on a table that doesn't have enough columns to make it horizontally scrollable and already has a vertical scroll bar, you can resize a column outside the width of the table like you would expect. However, the headers and body of the table have the undesired side effect of gaining additional horizontal scroll bars when there should only be one scroll bar for the body. You can reproduce this on your current demo.
https://codesandbox.io/s/4qrlxjpv9w

I was easily able to replicate this (although I am not yet exactly sure why it is happening - it may be the final 'sizer' on the last column that is causing the discrepancy).  I'll do some checking and see if that looks like the issue and provide additional info.

I have this issue, too; it happens on any table with a height or min-height set, if the browser window is narrow enough to force horizontal scroll, you don't have to change column size.
https://codesandbox.io/s/o5np5p0nrz

Noticing the same thing as well, a potential solution for certain browsers might be to just override the scrollbar style to something slim.

Having the same issue, and in my case, there are so many headers, so I need min-height or height fixed so that my headers for table show remain visible. But in IO's phones, I am unable to scroll horizontally, although i can vertically.

While I can make this happen when I try based on what has been reported it is only in rare circumstances. If someone has a PR to address it reliably then it can be pulled in but it really has to be worked on by people who are experiencing it. I've had no problems (scrolling all directions, sizing columns, etc.) using react-table on an iPhone (but I use Chrome). It was definitely designed for mobile use.

@gary-menzel  Thanks for replying, Have you used style prop of ReactTable while using it on iPhone. I've got around 16-18 headers on my table and because of giving height as a prop to style to set the headers still I am unable to scroll.

Ya, so currently we are using both desktop and mobile to access that particular data in react table.
So do I conditionally set the style prop based on checking the userAgent?

I guess you could do it that way.  I just avoid using 'height' and work with react-table being paged regardless of the device.

These are really more implementation questions and best asked on the #react-table Slack channel (badge at the top of the readme in the doco).  I can see there is some strange behaviour but the github issue needs to be focussed on getting a PR for a change to fix it (workarounds are better discussed in the wider forum).

Ok, thanks a lot @gary-menzel 👍

The multiple scrollbars happen only in the Safari. Is there any style override to avoid it?

It' caused by the vertical scroll bar in .ReactTable .rt-tbody element.
Add this css definition:
.ReactTable .rt-tbody {
overflow-x: hidden!important;
}

See https://codesandbox.io/s/oo9j4z1139 for a horizontal scrollbar implementation I've created.

Closing due to issue age. If this issue was a question, please ask it again on https://spectrum.chat/react-table. If you think this issue needs to be reopened or if it should be turned into a pull-request, please check the latest version of React-Table for the issue or feature once more and reopen or create a PR if appropriate. Thanks!

Besides @trident-ms 's approach, if you want to get rid of the double scrolling bar without disabling the scrolling function,
you can remove the following css style under .ReactTable .rt-tbody
// -webkit-box-align: stretch;
// -ms-flex-align: stretch;
// align-items: stretch;
without removing overflow:auto nor adding overflow-x: hidden !important;


MAINT: add rvs method to argus in scipy.stats

Reference issue
ARGUS rvs is slow: #10106
What does this implement/fix?
Add a sampling method (_rvs) for the ARGUS distribution
Additional information
I implemented a simple rejection algorithm (description is in the code, I did all the math myself :) ).
timit results for chi=1.0 (value in _distr_params.py) to generate 10k rvs:
Current: 6.53 ms ± 363 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
New: 508 µs ± 23.5 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
(When I did the simulation in 10106, it took much longer to generate rvs with the default method, I don't know why).
For large values of chi (i.e. chi > 26), exp(chi**2 / 2) is infinite and the method does not work. This is not too relevant since the density is almost 0 everywhere except very close to 1.

Code I used to test the histograms that all show a good fit:
from scipy Import stats
import numpy as np

params = [0.1, 0.5, 0.9, 1, 1.5, 3, 5, 10, 20]

for c in params:
    tic = time.time()
    r = argus.rvs(c, size=10000)
    print("T={} for c={}".format(time.time() - tic, c))
    fig, ax = plt.subplots(1, 1)
    x = np.linspace(0, 1, 100)
    ax.plot(x, argus1.pdf(x, c), 'r-', lw=1, alpha=0.6, label='pdf')
    ax.hist(r, bins=50, density=True, histtype='stepfilled', alpha=0.2)
    ax.legend(loc='best', frameon=False)
    plt.show()

For large values of chi (i.e. chi > 26), exp(chi**2 / 2) is infinite and the method does not work. This is not too relevant since the density is almost 0 everywhere except very close to 1.

I was working under the assumption that the current rvs method is extremely slow (and so any decent method covering the most useful Parameters would be an improvement) and did not focus on large chi. However, the current method works fine for large chi (e.g. chi=80). So I need to work a bit more on this case for this PR.

Implementation now covers full parameter space. I don't know what went wrong when I used timeit last time. Now I get the following results that appear aligned to what I got in 10106:
1000 rvs, chi = 1:
new: 1.82 ms ± 24.3 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
current: 6.16 s ± 163 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
1000 rvs, chi = 50:
current: 10.6 s ± 628 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
new: 45 ms ± 2.13 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

@chrisb83 is this PR ready for review? If so, I'm happy to review, feel free to ping me, either here or via email. Should be fun to review my A-R math.

@rlucas yes, great that you have time to review.

@pvanmulbregt I am currently writing a short document that explains the math and I will simplify the Code afterwards and get back to you and Lucas

Thanks for sending the doc Christoph, I looked at the algebra a bit closer after my response to your email. I got the order of operations mixed up I think, truncation is not commutative with the y=1-sqrt(1-x*x) transform. Here is what I'd suggest which should be O(1) for all values of the chi parameter:
from scipy.stats import argus, maxwell, uniform
import numpy as np
import matplotlib.pyplot as plt

def _argus_rvs(chi_p=1., n=100):
    maxwell_dist = maxwell(scale = 1 / chi_p)
    b = maxwell_dist.cdf(1) # NOTE: 1 is because argus is supported (0,1) and
    u = uniform.rvs(0, 1, size = n)
    z = maxwell_dist.ppf(u*b)
    return np.sqrt(1 - z*z)

np.random.seed(seed=2333)

chi_param = 1.
x = np.linspace(argus.ppf(0.01, chi_param), argus.ppf(0.99, chi_param), 100)
plt.plot(x, argus.pdf(x, chi_param),'r-', lw=1, alpha=0.6, label='argus pdf')

a = _argus_rvs(chi_p=chi_param, n=1000000)
plt.hist(a, density=True, bins='auto')
plt.title("Histogram with 'auto' bins")
plt.show()

I checked it (visually) for chi_param values 1,2,3,5,10,15,35,135 and it seems to match empirically. I also think the math is correct. Basically, generate a Maxwell random variate with scale=1/chi that is truncated to the interval (0,1). Then return the value sqrt(1-m*m) where m is the truncated maxwell random variate.
This approach should cover the large chi values nicely but the values as chi gets close to 0 will be slow because of the ppf search from maxwell. In those cases I think your Accept reject method should be used, where the switch between the two is roughly where the ppf time in maxwell is close to the time in Accept reject. You could probably pick some number (say 1?) or check by simulation either would be good enough.

@rlucas7 nice! you are right, one can simplify the problem using the transformation: Y = chi * sqrt(1 - x*x) takes values on [0, chi] and has a density proportional to x**2 * exp(-x**2 / 2), e.g. that of a chi random variable with df = 3 / Maxwell distribution => Y is Chi(3) contional on Y <= chi.
There are various options how to proceed from here, I will need to think about it.

@rlucas7 nice! you are right, one can simplify the problem using the transformation: Y = chi * sqrt(1 - x*x) takes values on [0, chi] and has a density proportional to x2 * exp(-x2 / 2), e.g. that of a chi random variable with df = 3 / Maxwell distribution => Y is Chi(3) contional on Y <= chi.

Thus is what I was saying I was confused about. I was using chi here when in fact you want to decouple chi and the support. So here if you want the support to be (0,c) then take y=csqrt(1-xx) and the chi parameter is the scale parameter (or inverse scale) of the maxwell distribution. Key point is scale of support for Argus is a different parameter than scale of of maxwell.
IIRC Argus currently is implemented with support (0,1) but working this way could be generalized if that isn’t supported already.
I’d say do that in a separate PR though if we want to extend. Not sure if we do want to do that for Argus.

On Jan 2, 2020, at 10:41 AM, Christoph Baumgarten<EMAIL_ADDRESS>wrote:

@rlucas7 nice! you are right, one can simplify the problem using the transformation: Y = chi * sqrt(1 - x*x) takes values on [0, chi] and has a density proportional to x2 * exp(-x2 / 2), e.g. that of a chi random variable with df = 3 / Maxwell distribution => Y is Chi(3) contional on Y <= chi.
There are various options how to proceed from here, I will need to think about it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I see that there's a core dev approval here now. The CI fails aren't related---if you rebase on latest master & force push they will disappear.

if you rebase on latest master & force push they will disappear

Done

Ok, two approving reviews, CI is green. So, merging thanks @chrisb83 & reviewers.


rust{Beta,Unstable} is outdated

Issue description
Our packages for rustBeta and rustUnstable are outdated and don't seem to compile anymore.
I've worked on packaging current beta. Currently, rustc builds & works fine but cargo fails to build. I'm open for any suggestions/ideas.
Current status is at https://github.com/the-kenny/nixpkgs/tree/rustc-beta-1.11.0

@the-kenny I guess this can be closed as #16920 was merged, right?

head.nix doesn't work as there is reference to a use-rustc-1.9.0.patch in the patches folder.

@matthiasbeyer No, not yet. beta and unstable are still broken.
I've got beta and a corresponding cargo working, now building unstable. Will open a PR as soon as it's working for review.

The PR above fixes rustBeta but fails for rustUnstable as the tcp-stress-test.rs fails. I'm not yet sure if this is an upstream issue or not.

My hydra is building rustBeta and rustUnstable right now. Will push these as soon as it succeeds.

For reference: http://hesperos.tarn-vedra.de:3000/jobset/nixpkgs/rust-updates

It would be really excellent if rustUnstable + rustBeta were working.
Hopefully Nix can be a strong foundation to work on.
Great seeing this work!
kr/sjm

8cd3e1e :tada: :beers:

Didn't we figure out last time that beta should be building unstable?

John Ericson<EMAIL_ADDRESS>writes:

Didn't we figure out last time that beta should be building unstable?

It does, we pass rustBeta from all-packages.nix:5505 to rustUnstable.

Oh ok. I wrongly assumed everything was just inherited.

just tried f731ca3 and rustUnstable isn't building:
source root is rust-822166b
patching sources
applying patch /nix/store/7m1x11i60p4xkb0wkmv591vajahdbvfi-disable-lockfile-check.patch
patching file src/tools/tidy/src/main.rs
applying patch /nix/store/21pn42r95749rgmrzkkmfmhmnspjnw8y-grsec.patch
patching file src/test/run-make/relocation-model/Makefile
Hunk #1 succeeded at 2 with fuzz 1.
Hunk #2 succeeded at 17 with fuzz 2 (offset -1 lines).
removed 'src/test/run-make/linker-output-non-utf8/Makefile'
removed 'src/test/run-make/linker-output-non-utf8/library.rs'
removed 'src/test/run-make/linker-output-non-utf8/exec.rs'
removed directory 'src/test/run-make/linker-output-non-utf8/'
rm: cannot remove 'src/test/run-pass/issue-36023.rs': No such file or directory
builder for ‘/nix/store/pqdfk5xpja6yhldwybqsv938fhkdy3h7-rustc-beta-2016-08-17-g822166b.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/9rdis426q568gg5backzydv76vgpal4p-cargo-master-2016-07-25.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/9rdis426q568gg5backzydv76vgpal4p-cargo-master-2016-07-25.drv’ failed


China Eastern Airlines B773 details have not been processed, could I do one, my fan requested

Of course. It's great to see quality works in the addon


fix: SAAA-14015 - App is crashing when we navigate from Watch TV to any of the Tabs

Thanks for opening a PR!
Since this is a volunteer project and is very active, anything you can do to reduce the amount of time needed to review and merge your PR is appreciated.
The following steps will help get your PR merged quickly:
Update the documentation
If you've added new functionality, update the README.md with an entry for your prop or event.
The entry should be inserted in alphabetical order.
Update the changelog
After you open the PR, update the CHANGELOG.md file with an entry pointing to your PR.
Provide an example of how to test the change
If the PR requires special testing setup provide all the relevant instructions and files. This may include a sample video file or URL, configuration, or setup steps.
Focus the PR on only one area
Testing multiple features takes longer than isolated changes and if there is a bug in one feature, prevents the other parts of your PR from getting merged until it gets fixed.
If you're touching multiple different areas that aren't related, break the changes up into multiple PRs.
Describe the changes
Add a note describing what your PR does. If there is a change to the behavior of the code, explain why it needs to be updated.

The video component and it’s reference used to get clear on a player unmount but we have a API call on a player callback GetLicense where we have a promise which will get resolved after the player is unmounted on some scenarios like switching between opening and closing.


Add script to generate report on spec links robustness

close #346
The report generates list of links that either:

Link to anchors that don't exist
Link to anchors that no longer exist in the editor draft of the target spec
Link to anchors that are not definitions or headings
Link to definitions that are not exported
Link to dated TR URLs
Link to specs that should no longer be referenced

It also flags links that look like specs but that aren't recognized in our crawl (although most of these are false positives afaict).

I updated the script, expanding it to also check links to CSS drafts. I did not include links to Khronos group specs at this stage because some work seems needed to distinguish between links to specs and other types of resources under www.khronos.org.

thanks a lot for your rewrite, great improvements :)
ready to merge from my perspective


cryptoJS latest introduces breaking change with iv type

The package 'crypto-js' has updated a file 13 days ago

[https://github.com/DefinitelyTyped/DefinitelyTyped/commit/1cc65a1bdee4e5079e3c77e6ad28e6ee2c0411c9]
it will cause some errors when we reinstall the node modules,as the follow:

will be fixed by #277


v12 deprecation warnings

canvas.grid.isHex is deprecated. Use of canvas.grid.isHexagonal instead.
BaseGrid#w is deprecated in favor of BaseGrid#sizeX.
BaseGrid#h is deprecated in favor of BaseGrid#sizeY.

+1 on this for FVTT 12 support

The indicated warnings should not cause any issues. Those are only a warning that things need to be changed for foundry 14 compatibility. Are there any noticeable issues with routinglib?

The indicated warnings should not cause any issues. Those are only a warning that things need to be changed for foundry 14 compatibility. Are there any noticeable issues with routinglib?

While the warnings themselves don't cause any issues, the constant console spam every time a token is moved can get quite annoying.  A short 30 minute combat testing session in my test world generated 500+ warning messages in the console just from the Witch character with her familiar token riding on her and from the Summoner/Eidolon characters set to follow.  Both are done using the Ridable module which uses Routinglib.
I haven't seen any issues arise where the module is not working so far though.

Submitted a pull request that I think covers (most of) these: https://github.com/manuelVo/foundryvtt-routinglib/pull/24


Address GitHub Issue #20, update Timeline.md

Fixes https://github.com/MicrosoftDocs/azure-devops-extensions/issues/20
Fixes https://github.com/MicrosoftDocs/azure-devops-extensions/issues/36

#sign-off


hover not working on puppet resource names and autocompletion not working

What Versions are you running?
OS Version: ubuntu 16.04
VSCode Version: 1.28.0
Puppet Extension Version:  0.12.0
Puppet Agent Version: 5.5.6
PDK Version (if applicable):
What You Are Seeing?

when hovering on resource, nothing happens
autocompletion not working

What is Expected?
How Did You Get This To Happen? (Steps to Reproduce)

Install as documented
Open puppet class file
hover on resources nothing happened

Output Log
Illegal argument, contents must be defined: Error: Illegal argument, contents must be defined
at new  (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:315:400)
at asHover (/home/dwang/.vscode/extensions/jpogran.puppet-vscode-0.12.0/node_modules/vscode-languageclient/lib/protocolConverter.js:63:16)
at

After multiple restarts and enabling debugging, suddenly it starrted working.

Thanks for the great bug report. This is a little worrying but we'll keep an eye on it.  Particularly as it's for a newly released VSCode version.
@af6140 Did you want to close the issue for now? or keep it open for a few days and see if it comes back?

@glennsarti, thanks for response, you can close it now.
One extra question, for custom resources etc, will the hovering documentation popup work? Does the language server load extra modules?

custom resources etc, will the hovering documentation popup work?

Not yet. https://github.com/orgs/lingua-pupuli/projects/5 is tracking the work to get that feature in

Does the language server load extra modules?

The language server will load whatever is in your modulepath as per your puppet.conf file.  That said it's on my list of things to do, to make it a VSCode setting so you can override the modulepath in your editor


Add docker dash support

Adds support for a two-liner for getting a local piro server up and running
Rework of the README - would like to hear thoughts on this, I tried to segment things out in an intuitive way but it still seems a bit patchy to me

@JShep-tri the edits to README look good to me.


7-O-methylmyricetin

Dear ChEBI curators,
The compound "7-O-methylmyricetin" seems not defined in Chebi. Could you please add it.
Ref:

https://biocyc.org/compound?orgid=META&id=CPD-14933
-https://pubchem.ncbi.nlm.nih.gov/compound/44259636

Best Regards

An entry has now been created (CHEBI:145786).


[Bug] Uncaught (in promise) Canceled: Canceled with vue3 and vite

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[X] Not reproducible in the monaco editor playground

Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
Errors that occur after overwriting new content, not during the first load
Actual (Problematic) Behavior

Expected Behavior
no error
Additional Context
This bug has been present since version 0.37. This have to stay in the old version of 0.36.1. Please fix this bug. I used vite and Vue3.

Please try to reproduce in the monaco editor playground. Thanks!