CustomCodeCops cannot find CodeAnalysis DLLs when compiling against a FilesOnly container

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
The Compile-AppInBcContainer function has a -CustomCodeCops parameter to which you can pass additional code analyzer DLLs. This works perfectly fine when compiling against a 'regular' container, but it fails when compiling against a -filesOnly container.
Scripts used to create container and cause the issue
New-BCContainer -accept_eula -artifactURL $artifactUrl -containerName 'apx-filesonly' -licenseFile '<Path To My License File>' -updateHosts -alwaysPull -memoryLimit 12G -accept_outdated -dns '<IP_ADDRESS>' -Auth NavUserPassword -Credential ([PSCredential]::new("123", (ConvertTo-SecureString -String "123" -AsPlainText -Force))) -includeTestToolkit -enableTaskScheduler:$false -filesOnly

Compile-AppInBcContainer -containerName apx-filesonly -credential ([PSCredential]::new("123", (ConvertTo-SecureString -String "123" -AsPlainText -Force))) -CopySymbolsFromContainer -appProjectFolder "C:\Agent\BA01\_work\447\s\App" -EnableCodeCop -EnableAppSourceCop -EnableUICop -rulesetFile "C:\Agent\BA01\_work\447\s\AzureDevOpsTools\build\bcsaas\ruleset.json" -appSymbolsFolder "C:\Agent\BA01\_work\447\s\.alPackages" -CustomCodeCops @("C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll ", "C:\Agent\BA01\_work\447\s\WSBCop\drop\BusinessCentral.WSBCop.dll ")

Full output of scripts
Using Symbols Folder: D:\agent\BA01\_work\447\s\.alPackages
Copying System.app from Container
Copying Microsoft_Application.app from Container
Copying Microsoft_Base Application.app from Container
Copying Microsoft_System Application.app from Container
WARNING: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
Compiling...
.\alc.exe /project:"C:\Agent\BA01\_work\447\s\App" /packagecachepath:"C:\Agent\BA01\_work\447\s\.alPackages" /out:"C:\Agent\BA01\_work\447\a\App\<Publisher Name>_<App Name>_<Version No.>.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /analyzer:C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll /analyzer:C:\Agent\BA01\_work\447\s\WSBCop\drop\BusinessCentral.WSBCop.dll /ruleset:C:\Agent\BA01\_work\447\s\AzureDevOpsTools\build\bcsaas\ruleset.json /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\190\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\190\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
Microsoft (R) AL Compiler version <IP_ADDRESS>58
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project '<My App Name>' containing '51' files at '16:28:5.230'.

##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0001FlowFieldsShouldNotBeEditable cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0002CommitMustBeExplainedByComment cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0003DoNotUseObjectIDsInVariablesOrProperties cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0004LookupPageIdAndDrillDownPageId cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0005VariableCasingShouldNotDIfferFromDeclaration cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0006FieldNotAutoIncrementInTemporaryTable cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0007DataPerCompanyShouldAlwaysBeSet cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0008NoFilterOperatorsInSetRange cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0009CodeMetrics cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0011DataPerCompanyShouldAlwaysBeSet cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0012DoNotUseObjectIdInSystemFunctions cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0013CheckForNotBlankOnSingleFieldPrimaryKeys cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0014PermissionSetCaptionLength cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.LinterCop.Design.Rule0015PermissionSetCoverage cannot be created from C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>43, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.WSBCop.Design.Rule0002WSBProcedureNamesAnalyzerAnalyzer cannot be created from C:\Agent\BA01\_work\447\s\WSBCop\drop\BusinessCentral.WSBCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
##[warning]'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'(,): warning :  An instance of analyzer BusinessCentral.WSBCop.Design.Rule0001WSBProcedureNamesAnalyzerAnalyzer cannot be created from C:\Agent\BA01\_work\447\s\WSBCop\drop\BusinessCentral.WSBCop.dll : Could not load file or assembly 'Microsoft.Dynamics.Nav.CodeAnalysis, Version=<IP_ADDRESS>9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.

Compilation ended at '16:28:12.161'.

D:\agent\BA01\_work\447\a\App\<Publisher Name>_<My App Name>_<My Version No.>.app successfully created in 53 seconds

And a compile on my own machine (where I place the files in "C:\ProgramData\BcContainerHelper\Extensions\apx-filesonly\my.....") with yet another app raises warnings like the following:
Compilation started for project '<NAME HERE>' containing '83' files at '17:13:50.852'.

warning AD0001: Analyzer 'BusinessCentral.LinterCop.Design.Rule0015PermissionSetCoverage' threw an exception of type 'System.IO.FileNotFoundException' with message 'System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Dynamics.Nav.Analyzers.Common, Version=<IP_ADDRESS>9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'Microsoft.Dynamics.Nav.Analyzers.Common, Version=<IP_ADDRESS>9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at BusinessCentral.LinterCop.Design.Rule0015PermissionSetCoverage.CheckPermissionSetCoverage(SymbolAnalysisContext context)
   at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass49_2.<ExecuteSymbolActionsCore>b__0() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 656
   at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1078'

but it does work for 'normal' containers.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

does it happen all the time? Using Custom Code Cops that use the Code Analysis DLLs work fine for a 'normal' (i.e., not filesonly) container, but not for a filesOnly container.
did it use to work? N.A.

Is there a way we can resolve this? What is causing this?

In the sample above (this line):
New-BCContainer -accept_eula -artifactURL $artifactUrl -containerName 'apx-filesonly' -licenseFile '<Path To My License File>' -updateHosts -alwaysPull -memoryLimit 12G -accept_outdated -dns '<IP_ADDRESS>' -Auth NavUserPassword -Credential ([PSCredential]::new("123", (ConvertTo-SecureString -String "123" -AsPlainText -Force))) -includeTestToolkit -enableTaskScheduler:$false -filesOnly

does not seem to share the folder C:\Agent\BA01_work\447\s\ with the container.
I would expect that to give a series of other errors - how are you sharing this folder to the container? (are you using some parameters which isn't here?)

Yes, for when it runs on our build agent the -volume parameter is added via the -additionalParameters parameter to share the build agent folder. It can also be tested by using the C:\ProgramData\BcContainerHelper\Extensions\containername\my folder which is shared with containers by default.
Does this answer your question?

You specify "C:\Agent\BA01_work\447\s\LinterCop\BusinessCentral.LinterCop.dll " as custom code cop (btw. there is a space there - not sure whether that causes problems - don't think so).
I will see that as a folder on the host and in the compile function determine where to find that file in the container (one of the containing folders needs to be shared) and add that to the ALC call:
/analyzer:C:\Agent\BA01\_work\447\s\LinterCop\BusinessCentral.LinterCop.dll
So it looks like it thinks that the host Agent folder is shared with the container with the same name - is that correct?
If the folder is shared correctly, the file should also be there.
If possible - could you get a get-bccontainerdebuginfo from a container on the build agent and send that? (either here or on email)

I had the same version problems when using Run-ALPipeline with older versions of BC. This is because I compile the LinterCop against the latest compiler dlls. Solution was to pass in -vsixFile (Get-LatestAlLanguageExtensionUrl). If this parameter could also be added to Compile-AppInBcContainer this could solve the problem

@freddydk We found what actually goes wrong (@StefanMaron set me on the right path for pinning it down). It appears that if the -filesOnly flag is used for creating the container and -vsixFile (Get-LatestAlLanguageExtensionUrl) is passed as well, then Compile-AppInBcContainer will still use the compiler version shipped in the BC artifacts.
To reproduce:
$artifactUrl = Get-BCArtifactUrl -country base -version 19.0

New-BCContainer -accept_eula -artifactURL $artifactUrl -containerName 'apx-filesonly' -licenseFile 'C:\temp\myLicense.flf' -updateHosts -alwaysPull -memoryLimit 12G -accept_outdated -dns '<IP_ADDRESS>' -Auth NavUserPassword -Credential ([PSCredential]::new("123", (ConvertTo-SecureString -String "123" -AsPlainText -Force))) -includeTestToolkit -enableTaskScheduler:$false -filesOnly -vsixFile (Get-LatestAlLanguageExtensionUrl)

Compile-AppInBcContainer -containerName apx-filesonly -credential ([PSCredential]::new("123", (ConvertTo-SecureString -String "123" -AsPlainText -Force))) -CopySymbolsFromContainer -appProjectFolder C:\ProgramData\BcContainerHelper\Extensions\apx-filesonly\my\MyAwesomeProject\App\ -appSymbolsFolder C:\ProgramData\BcContainerHelper\Extensions\apx-filesonly\my\.alPackages\ -CustomCodeCops @("C:\ProgramData\BcContainerHelper\Extensions\apx-filesonly\my\BusinessCentral.LinterCop.dll")

(also updated the original issue description accordingly)
This does not happen with a 'full'/normal BC container.
Also, like you asked, considering there is no personal information in the output from Get-BcContainerDebugInfo, here it is for my own machine where I can reproduce it with a -filesOnly container:
{
    "container.logs":  [
                           "Using artifactUrl https://bcartifacts.azureedge.net/sandbox/19.1.31886.34049/base",
                           "Using installer from C:\\Run\\150-new",
                           "Installing Business Central",
                           "Installing from artifacts",
                           "Copying Service Tier Files",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\ServiceTier\\Program Files",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\ServiceTier\\System64Folder",
                           "Copying PowerShell Scripts",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\WindowsPowerShellScripts\\Cloud\\NAVAdministration",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\WindowsPowerShellScripts\\WebSearch",
                           "Copying dependencies",
                           "Copying ReportBuilder",
                           "Importing PowerShell Modules",
                           "Skipping restore of Cronus database",
                           "Modifying Business Central Service Tier Config File for Docker",
                           "Installing SIP crypto provider: \u0027C:\\Windows\\System32\\NavSip.dll\u0027",
                           "Copying Web Client Files",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\WebClient\\Microsoft Dynamics NAV",
                           "Copying Client Files",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\LegacyDlls\\program files\\Microsoft Dynamics NAV",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\LegacyDlls\\program files\\Microsoft Dynamics NAV",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\LegacyDlls\\systemFolder",
                           "Copying ModernDev Files",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform",
                           "c:\\dl\\sandbox\\19.1.31886.34049\\platform\\ModernDev\\program files\\Microsoft Dynamics NAV",
                           "Copying additional files",
                           "Copying ConfigurationPackages",
                           "C:\\dl\\sandbox\\19.1.31886.34049\\platform\\ConfigurationPackages",
                           "Copying Test Assemblies",
                           "C:\\dl\\sandbox\\19.1.31886.34049\\platform\\Test Assemblies",
                           "Copying Applications",
                           "C:\\dl\\sandbox\\19.1.31886.34049\\platform\\Applications",
                           "Installation took 16 seconds",
                           "Installation complete",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!",
                           "Ready for connections!"
                       ],
    "docker.info":  [
                        "Client:",
                        " Context:    desktop-windows",
                        " Debug Mode: false",
                        " Plugins:",
                        "  buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)",
                        "  compose: Docker Compose (Docker Inc., 2.0.0-beta.4)",
                        "  scan: Docker Scan (Docker Inc., v0.8.0)",
                        "",
                        "Server:",
                        " Containers: 2",
                        "  Running: 2",
                        "  Paused: 0",
                        "  Stopped: 0",
                        " Images: 3",
                        " Server Version: 20.10.7",
                        " Storage Driver: windowsfilter",
                        "  Windows: ",
                        " Logging Driver: json-file",
                        " Plugins:",
                        "  Volume: local",
                        "  Network: ics internal l2bridge l2tunnel nat null overlay private transparent",
                        "  Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog",
                        " Swarm: inactive",
                        " Default Isolation: hyperv",
                        " Kernel Version: 10.0 19043 (19041.1.amd64fre.vb_release.191206-1406)",
                        " Operating System: Windows 10 Enterprise Version 2009 (OS Build 19043.1415)",
                        " OSType: windows",
                        " Architecture: x86_64",
                        " CPUs: 8",
                        " Total Memory: 31.88GiB",
                        " Name: LT-ROB",
                        " ID: EDA4:PZWK:HKFR:MG6N:J2NI:QRVL:4RU2:FJTM:I5J7:EY4J:GF73:5R5A",
                        " Docker Root Dir: C:\\ProgramData\\Docker",
                        " Debug Mode: false",
                        " Registry: https://index.docker.io/v1/",
                        " Labels:",
                        " Experimental: false",
                        " Insecure Registries:",
                        "  <IP_ADDRESS>/8",
                        " Live Restore Enabled: false",
                        " Product License: Community Engine",
                        ""
                    ],
    "container.labels":  {
                             "country":  "W1",
                             "created":  "202111100958",
                             "eula":  "https://go.microsoft.com/fwlink/?linkid=861843",
                             "filesonly":  "yes",
                             "maintainer":  "Dynamics SMB",
                             "nav":  "",
                             "osversion":  "10.0.19041.1348",
                             "platform":  "19.0.31889.33878",
                             "tag":  "<IP_ADDRESS>",
                             "version":  "19.1.31886.34049"
                         },
    "container.ping":  [
                           "",
                           "Pinging apx-filesonly.local [fe80::ec21:201a:5edb:59de%82] with 32 bytes of data:",
                           "Destination host unreachable.",
                           "Destination host unreachable.",
                           "Destination host unreachable.",
                           "Destination host unreachable.",
                           "",
                           "Ping statistics for fe80::ec21:201a:5edb:59de%82:",
                           "    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),"
                       ],
    "container.env":  [
                          "licenseFile=\u003cspecified\u003e",
                          "auth=NavUserPassword",
                          "useSSL=N",
                          "accept_eula=Y",
                          "enableApiServices=Y",
                          "isBcSandbox=Y",
                          "multitenant=Y",
                          "username=123",
                          "ExitOnError=N",
                          "locale=en-US",
                          "databaseServer=",
                          "databaseInstance=",
                          "securePassword=\u003cspecified\u003e",
                          "passwordKeyFile=c:\\run\\my\\aes.key",
                          "removePasswordKeyFile=Y",
                          "accept_outdated=Y",
                          "artifactUrl=https://bcartifacts.azureedge.net/sandbox/19.1.31886.34049/base",
                          "filesOnly=True",
                          "customNavSettings=EnableTaskScheduler=False",
                          "DOTNET_RUNNING_IN_CONTAINER=true",
                          "COMPLUS_NGenProtectedProcess_FeatureEnabled=0"
                      ]
}

Updated the title of the GitHub issue accordingly.

Ahh - now that is probably a bug - will investigate

As a work-around I am extracting the contents of the .vsix to use to C:\build\, so, similar to how you fixed it in https://github.com/microsoft/navcontainerhelper/commit/a59321596fc89d11bc474bb06b3ecf090b9ed275 😊.

Fixed in 3.0.1


use a github personal access token in appveyor

Appveyor fails on this 403 issue with install_github all the time: https://ci.appveyor.com/project/jread-usgs/mda-streams/build/0.1.345#L150. It happens with any package and arises because GitHub limits the number of anonymous requests that come from a single location (e.g., appveyor). I don't know why this doesn't happen on Travis (at least, I haven't seen it there).
I made notes on this in https://github.com/USGS-R/mda.streams/pull/201 as well. In that note I included links to instructions:

setting a GitHub personal access token: https://help.github.com/articles/creating-an-access-token-for-command-line-use/
auth_token: http://www.inside-r.org/packages/cran/devtools/docs/install_github
env var GITHUB_PAT in http://www.inside-r.org/packages/cran/devtools/docs/github_pat

Additional diagnoses + solutions since then:
https://github.com/krlmlr/r-appveyor/issues/33 (hey, @jread-usgs opened this one way back when!) where masalmon summarizes:

get a personal access token from Github (in Github settings)
encrypt the token in appveyor following https://www.appveyor.com/docs/build-configuration#secure-variables
in appveyor.yml, add "environment: GITHUB_PAT: secure: "

So now we just need to try it.

I wonder why I don't get this issue on geoknife? https://ci.appveyor.com/project/jread-usgs/geoknife/history

granted, you PR mda.streams quite a bit more. just wondering why I haven't run into it...

Because you don't install packages from github in Appveyor: https://github.com/USGS-R/geoknife/blob/master/appveyor.yml#L11 vs https://github.com/USGS-R/mda.streams/blob/master/appveyor.yml#L19

....whoops...yes, that makes total sense.

OK, here I go:

Create a GitHub access token with no scope boxes checked (default is read-only, which should be plenty)
Copy and paste the token into https://ci.appveyor.com/tools/encrypt
Copy and paste the encrypted value into appveyor.yml in this project, such that I now have

environment:
  R_CHECK_ARGS: --no-build-vignettes --no-manual --no-multiarch
  R_BUILD_ARGS: --no-build-vignettes --no-manual
  R_INSTALL_ARGS: --no-multiarch
  GITHUB_PAT: secure: encryptedcopypastestringgoeshere

(where R_CHECK_ARGS, R_BUILD_ARGS, and R_INSTALL_ARGS were already there for other reasons)
4. Just commit and run, because install_github is already looking for a GITHUB_PAT environment variable by default.
I'm doing this for my own appveyor account as a trial run, but the main set of appveyor builds happens on Jordan's, so if this works we'll switch the GITHUB_PAT to refer to a token that's encrypted on @jread-usgs's appveyor account.

It worked! But right now it's just working on my account; @jread-usgs , would you please follow the same steps above for your version of the project?


LoadError on Destroy

When I try to delete a record that has acts_as_taggable
class Article < ActiveRecord::Base
  acts_as_taggable
end

Then try to destroy a record.
Article.first.destroy

I receive this error message:
LoadError: Expected /Users/m/Sites/projects/m/vendor/plugins/acts-as-taggable-on/lib/acts_as_taggable_on/acts_as_taggable_on.rb to define ActsAsTaggableOn::ActsAsTaggableOn
from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:456:in `load_missing_constant'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:156:in `const_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:154:in `each'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:154:in `const_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb:103:in `constantize'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb:102:in `each'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb:102:in `constantize'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/core_ext/string/conversions.rb:59:in `constantize'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/base.rb:1220:in `compute_type'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/base.rb:1218:in `each'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/base.rb:1218:in `compute_type'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/reflection.rb:154:in `send'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/reflection.rb:154:in `klass'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/association_preload.rb:323:in `preload_belongs_to_association'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/association_preload.rb:121:in `send'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/association_preload.rb:121:in `preload_one_association'
... 12 levels...
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_proxy.rb:201:in `with_scope'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:61:in `find'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:445:in `find_target'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:393:in `load_target'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_proxy.rb:207:in `method_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:408:in `method_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations.rb:1505:in `has_many_dependent_destroy_for_taggings'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/callbacks.rb:413:in `_run_destroy_callbacks'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/callbacks.rb:278:in `destroy'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:230:in `destroy'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:287:in `with_transaction_returning_status'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:202:in `transaction'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:285:in `with_transaction_returning_status'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:230:in `destroy'
	from (irb):4ruby-1.8.7-p174 > Article.first.destroy
LoadError: Expected /Users/m/Sites/projects/marcgrabanski/vendor/plugins/acts-as-taggable-on/lib/acts_as_taggable_on/acts_as_taggable_on.rb to define ActsAsTaggableOn::ActsAsTaggableOn
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:456:in `load_missing_constant'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:156:in `const_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:154:in `each'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:154:in `const_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb:103:in `constantize'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb:102:in `each'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb:102:in `constantize'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/core_ext/string/conversions.rb:59:in `constantize'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/base.rb:1220:in `compute_type'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/base.rb:1218:in `each'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/base.rb:1218:in `compute_type'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/reflection.rb:154:in `send'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/reflection.rb:154:in `klass'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/association_preload.rb:323:in `preload_belongs_to_association'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/association_preload.rb:121:in `send'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/association_preload.rb:121:in `preload_one_association'
... 12 levels...
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_proxy.rb:201:in `with_scope'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:61:in `find'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:445:in `find_target'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:393:in `load_target'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_proxy.rb:207:in `method_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations/association_collection.rb:408:in `method_missing'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/associations.rb:1505:in `has_many_dependent_destroy_for_taggings'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activesupport-3.0.0.beta4/lib/active_support/callbacks.rb:413:in `_run_destroy_callbacks'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/callbacks.rb:278:in `destroy'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:230:in `destroy'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:287:in `with_transaction_returning_status'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:202:in `transaction'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:285:in `with_transaction_returning_status'
	from /Users/m/.rvm/gems/ruby-1.8.7-p174/gems/activerecord-3.0.0.beta4/lib/active_record/transactions.rb:230:in `destroy'

I'm still seeing this problem on the gem version 2.1.0 and 2.1.1, with Rails 2.3.14. Any chance the fix from 5 days ago will be back-ported to a version that doesn't require Rails 3.1?

rails 2.x us not supported.

This is so unserious. There are a lot of big projects in the web that count on this and can't jump to rails 3. The problem should be easily fixable. Can someone fork this and release the fix pls?

@YavorIvanov I think this is  unserious to ask someone else to spend own time for fork and fix, do it youself. Share your time with community.

I'm still battling with this I would have submitted it by now if I had the fix.


backend: speed up uploading by open multi TCP connections

What problem does this PR solve?
one of the solutions of #385, by creating multi TCP connections concurrently.
What is changed and how it works?
A new struct ConnPool is added, replaced the single conn at the grpcClis(now grpcConns) struct.
Check List
Tests

Integration test (let's see what happen at the old tests)
Manual test:
An internal test result:

backend
network latency
TCP parameters
time cost (TPCC 1k-warehorses)

Importer
0ms
default
28mins

Importer
50ms
default
38mins

Local
100ms
default
1h

Importer
100ms
tcp.{rmem, wmem}.max = 16M
37mins

Local
100ms
tcp.{rmem, wmem}.max = 16M
38mins

Local
100ms
tcp.{rmem, wmem}.max = 16M; 8 conns
24mins

@YuJuncen  could you add bench result for with following config:

network latency: 0ms, TCP parameters: default, 8 conns
network latency: 0ms, TCP parameters: default, lightning with current master
network latency: 0ms, TCP parameters: default, lightning with this pr

@glorv PTAL~

LGTM

/merge


HtmlCustomContainerRenderer does not honour EnableHtmlForBlock == false

We're building our pipeline with the UseAdvancedExtensions method as part of it and using this pipeline for rendering the same piece of text as both HTML and plaintext. For the plaintext we are setting up a new HtmlRenderer as:
 var renderer = new HtmlRenderer(writer)
                {
                    EnableHtmlForBlock = false,
                    EnableHtmlForInline = false
                };

However any content that 'HtmlCustomContainerRenderer' would pick up (i.e. between nested sets of 3 or more colons) is still rendered out as HTML. Having dug into the source I can see that 'HtmlCustomContainerRenderer' does not honour the 'EnableHtmlForBlock' bool that is set on the renderer, which every other extension we use does.
Any chance of this being honoured in a future release?

Don't remember the details about this, just a send a PR and I will have a look at it.


Inner Loop Observability with Prometheus and Grafana

Enhance our dev setup flow by allowing developers to do "Gitops Inner Loop" development with Prometheus and Grafana. This is provided by an ArgoCD application that deploys a slimmed down version of the App Studio Prometheus and Grafana observability stacks. The dashboards for Pipeline Service are referenced "in-tree", which allows team members to iterate via GitOps (per our usual development flow).

thanks again for putting this together @adambkaplan

do we want a sanity check curl invocation on the grafana route in our tests, or sanity checks that the requisite pods are functional, or some verification of some sort, to confirm that future PR changes do not break what you have established here?

@gabemontero I don't see us doing similar checks for minio and the other components that are "dev only." Maybe as a follow up we can do that, but I would consider it low priority.

do we want a sanity check curl invocation on the grafana route in our tests, or sanity checks that the requisite pods are functional, or some verification of some sort, to confirm that future PR changes do not break what you have established here?

@gabemontero I don't see us doing similar checks for minio and the other components that are "dev only." Maybe as a follow up we can do that, but I would consider it low priority.

works for me @adambkaplan ... we can always add later on if we have a problem
I'll merge once the current CI runs have completed.

the upgrade test failure was on destroy cluster:
/workspace/source/ci/images/ci-runner/hack/bin/destroy-cluster.sh: line 42: ROSA_TOKEN: unbound variable

@xinredhat FYI .... perhaps an odd thing that will go away once we are fully on RHTAP for CI ?


error when an order cancel twice

error log
{"time":"2019-05-15T04:19:27.959111553Z","level":"INFO","prefix":"-","file":"orderbook.go","line":"327","message":"plItem is nil when RemoveOrder"}

@kevinxzhang Can we close this now? Is it fixed?

@kevinxzhang Can we close this now? Is it fixed?

It was fixed.


Sharing this article about a beginner's first impressions of the learn platform

https://words.steveklabnik.com/learning-ada
https://news.ycombinator.com/item?id=19510074
@steveklabnik

Oh hey! I had been meaning to maybe file some issues... if it's useful, I'm happy to maybe make some concrete suggestions here.

@steveklabnik you'd be more than welcome ! We're already going over your article and incorporating some changes based on your impressions/feedback. Don't hesitate to open specific issues :)

For the record, I'm sad I never did this. Glad to see the stuff going on in the Ada world from afar, though :)


meaningful generic name + get rid of unnecessary semicolon

a minor one

Thanks for all this code cleaning work @epeee  !


One theme for files, another for folder

Housekeeping

[x] I'm sure this issue is not a duplicate

Information:
Hi all,
Apologies if this point has already been raised, but I just can't find an issue about it.
I'm looking for an efficient way to set Seti theme for all files (except hardhat config file), and VSCode-Icons theme for folders.
Thanks in advance for your help,
Cheers 😄

Hi @Koowah, you can only set one icon them as active at a time. Try asking in the vscode repo in case they're planning something like that.


Add PDF docs on the Chef server ACL system

These are good enough now that we can open this up to help everyone out.

:+1: this looks great -  MWR


Add charging voltage as a sensor

In order to use only the solar energy produced by the photovoltaic system I would need to know the voltage to dynamically adapt the car's amperage when recharging.
Thank you

It's not perfect but I have done this with an automation to have my solaredge production linked to the tesla amps like this: Trigger: When produced watts are between 2400w and 2700w, Condition: Tesla charger is switched on, Action: Set tesla amps to 6.
This way you can choose how much you can leave for other devices.  I leave 1kW of power. So for 5 amps if set 2400 to 2700w.
I have an automation for every amp from 5 to 16 on the ac charger. The hardest part was figuring out how to turn on and off charging and polling automatically when there is enough or not enough solar.  For my situation it works to turn on with trigger: solar above 1700w, no condition, action:  wake up tesla, delay 10sec, polling on, if/then: if: Charger is connected, location tracker home, charger is switched off, then: switch charger on, set amps to 5.
To turn off: trigger: solar below 1400w for 1 minute, condition: charger on, location tracker home, action: charger off, polling off.
The only (little) inconvenience is when I get home and there is not enough solar.  When I plug in the charger the car starts charging so I have to switch of charging on my phone.  When there is enough solar I leave it charging but I need to press a button in HA to turn on polling (and wakes up the car by turning on polling. I also my an automation to automatically turn off polling after turning polling on when the car is not at home, when solar is too low or when I close the charger door.
This works stable in the hardest conditions: cloud makes watts produced go from 5000 to 2000w in 3sec, then it will drop the amps within 10 seconds from 16 to 5. When sun comes out again, from 2000 to 5000w, back from 5 to 16 amps.

Charger volts is available as an attribute under "Charger Power" sensor. Attributes should be easily accessible in automations. Give that a shot before we dedicate a new sensor to the same info.


Fixes missing translations.

The label of subject field in new ticket page should be translate.

Thank you!


feat: Global leaderboard

As suggested in CONTRIBUTING.md, this feature adds the ability to display the Global Leaderboard for a given year.
I've tested this on all years and it appears to be functioning correctly, but I'm happy to refactor/ fix things if they're not up to standard :)
Screenshot of (the start of) 2022:

Thanks for this! I haven't finished reviewing it but I dropped some initial comments


Hidden status bar

Unfortunately, the status bar is hidden and after the splash screen finishes, I see a black screen and I have no idea why that is happening.

I resolved this by removing the line :
<item name="android:windowFullscreen">true</item>
in the file android/app/src/main/res/values/styles.xml.
I tried to add the parameter 'android_disable_fullscreen: true' in my yaml file but it didnt erased this line.
Hope it helps 😃

It works, thanks :).

It works. I had this problem after implementing the flutter native splash screen and this solved my problem. Thanks :))


Pseudo inv

Context:
The QGT optimizer makes use of the matrix pseudo-inverse, which is currently implemented with scipy.linalg.pinv.
Description of the Change:
Instead of using scipy.linalg.pinv we now use scipy.linalg.pinvh
Benefits:
This is more efficient for symmetric matrices, such as the metric tensor. See #299 for a performance comparison.
Possible Drawbacks:
None.
Related GitHub Issues:
Fixes #299

Thanks for this @therooler!

No problem, I really enjoy doing this kind of performance analysis. Do you have other suggestions on where to look for speedups?


Label filter not working

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1144
Originally created by @jritchey on 2019-10-16 17:36:19

What is the current bug behavior?
Not showing issues based on a certain label filter.
What is the expected correct behavior?
Showing issues/results based on a certain label filter.
Steps to reproduce

Use GitLab project, postgres(docker), and meltano(docker).
Analyze Issues. Use Totals issues aggregate and Label filter for HackerOne label.
query is SELECT COALESCE(COUNT("gitlab_issues"."issue_id"), 0) "gitlab_issues.total_issues" FROM "gitlab_issues" "gitlab_issues" WHERE "gitlab_issues"."labels_str" = 'HackerOne' LIMIT 50;
See 0 results found.

Relevant logs and/or screenshots

But for example, filtering by label bug works fine.

Possible fixes
If you can, link to the line of code that might be responsible for the problem or suggest a fix
Further regression test
Ensure we automatically catch similar issues in the future

[ ] Write additional adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

View 5 previous comments from the original issue on GitLab


llama 3 multilingual recipe

🚀 The feature, motivation and pitch
The current multilingual recipes are for LLAMA 2.
I would like to see LLAMA 3 multilingual recipes added.
Thank you.
Alternatives
No response
Additional context
Adding multilingual tokens via huggingface tokenizer does not work.
I followed the documentation below.
https://huggingface.co/learn/nlp-course/chapter6/2

@woohwan thanks for the feature request, just note that is the e2e recipe more geared toward showing the process. I wonder if you are interested in contributing a llama3 case-study?

sorry.
i'm newbie in llm field.

@ HamidShojanazeri I am also interested in merging the llama 3 tokenizer with a new custom tokenizer that I trained from scratch. I understand that llama 1 and 2 tokenizers are based on sentencepiece and the current llama recipes also provide code to merge two sentencepiece tokenizers. However, llama 3 tokenizer is based on tiktoken and there no official training script available to train a tiktoken tokenizer let alone merge two of them together. Can you help with the code or point in the right direction as to how to merge two tiktoken based tokenizers? Thanks in advance

Hi! Here is the recipe for multilingual! Please take a look and let me know if there is any questions!


Numba 0.49.1 checklist

llvmlite

[x] Check code changes on branch are correct (#580. #581, #582, #585).
[x] Annotated tag 0.32.1 on branch
[x] build conda packages on buildfarm (remember to check the "upload" box)
[x] build wheels (3.6, 3.7, 3.8)
[x] upload wheels and sdist to PyPI
[x] verify conda packages uploaded to Anaconda Cloud and in main channel
[x] Ping distro team about new release

numba

[x] Cherry-pick PRs:

[x] #5669
[x] #5676

[x] Update changelog (https://github.com/numba/numba/pull/5682)
[x] cherry pick changelog (Issue #5682) to release branch
[x] annotated tag 0.49.1 on release branch
[x] build conda packages on buildfarm  (remember to check the "upload" box)
[x] build wheels (3.6, 3.7, 3.8)
[x] Check linkage on wheels with lief
[x] upload wheels and sdist to PyPI
[x] Verify packages uploaded to Anaconda Cloud
[x] upload 0.49.1 docs, update "latest" link
[x] Send announcement email
[x] Post link to twitter
[x] Ping distro team about new release

I updated the checklist to include pinging the distro team.


audit: fix swapped audit messages

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same change?
[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

While preparing https://github.com/Homebrew/homebrew-core/pull/12636, I noticed that some audit messages are switched. I think they make sense this way.

Good catch!

Nice work again @scpeters!


Feature/routing fix

Routing fix for java-spring, ruby, python, php. Needed for work PR's select-word[464] and select-cell[462]

Please, squash your refactoring commits with their parent commits.


[SC-211770] bug - TOS requires multiple clicks to close

Summary:

What: Use multiple invalidateQueries calls. Add icon loading to button.
Ticket: sc211770
Env: <rdev link>

Demos:

Notes:
This bug looked like an issue with the Terms of Service page.  However, the actual issue was that TOS redirected to the samples page and since the user data was not properly invalidated, the user was then redirected back to the TOS page.  This redirect loop continued until the new user data was fetched.  Invalidating (and refetching) the data fixed the issue.
The click looks a little slower now because it is actually invalidating and refetching data.  I added a spinner to the button so the user knows we're working on it.
Checklist:

[x] I merged latest <base branch>
[x] I manually verified the change
[x] I added labels to my PR
[x] I tested in multiple browsers
[ ] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

I love the addition of the loading state! Great idea.


How do I apply to use this dataset?

Hi,
How do I apply to use this dataset? Where is it?
Best wishes to you!

Hi, you can download the data in this Google drive link: https://drive.google.com/file/d/1ImYUSLk9JbgHXOemfvyiDiirluZHPeQw/view


Have a look at some of the newer linting options

For example:

https://github.com/charliermarsh/ruff instead of flake8
https://github.com/omnilib/ufmt which does black and import sorting in one

Don't do this until vscode supports them

@evalott100 may be able to comment more

Black and import sorting in the same tool would be handy. I'm always forgetting to run isort...
I'll make a branch testing these

https://github.com/DiamondLightSource/python3-pip-skeleton/pull/147 switched us to ruff so calling this closed


Protocol buffers support

Is your feature request related to a problem?
I want to use protocol buffers for the various AWS resources.
Describe the solution you'd like
Add support to code-generator for proto files.
Describe alternatives you've considered
https://github.com/src-d/proteus (abandoned and no longer maintained)
https://github.com/kubernetes/gengo (could work but needs lots of setup)
Notes
Creating this issue to start a discussion about including protobuf support, similar to how crossplane support is also built into code-generator.

Hey @buzzsurfr, I personally think this is a good idea and at least worst to experiment and play with. Generating proto files to define the messages would be a simple and straightforward task. However, if you're looking into generating proto rpc's ( create a proxy to interact with AWS APIs) and their Go server implementation it might need more work and investment.


Fluentd accept protobuf messages

Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Is your feature request related to a problem? Please describe.
Nowadays, Fluentd does not support receive protobuf (Protocol Buffers) messages via HTTP. There are many use cases where Fluentd could be used in systems that "talk" each other via protobuf messages since this format is really lightweight.
I'm not talking about a protobuf parse, I mean just accept protobuf messages. Today, if you send to Fluentd a protobuf message via HTTP is says:
400 Bad Request
'json' or 'msgpack' parameter is required

Describe the solution you'd like
I'd like that, in a configuration similar to:
<source>
# Here I would receive the protobuf message
@type http
port 9880
bind <IP_ADDRESS>
body_size_limit 32m
keepalive_timeout 10s
</source>

<match hello>
# And here I'd send the protobuf message to another endpoint
@type http

endpoint "http://localhost:9999"
open_timeout 2

<buffer>
flush_interval 1s
</buffer>
</match>

The source would accept messages in protobuf format too.
Describe alternatives you've considered
Since Fluentd does not accept protobuf messages, an alternative would use another product similar to Fluentd for doing the same.
Additional context
As nice to have, this feature request could be extended to FluentBit project too

http input plugin supports parser plugin. So if protobuf parser exists, you can use it for payload.
https://docs.fluentd.org/input/http#handle-other-formats-using-parser-plugins

Thank you for your answer.
I do not find the protobuf parser on that list.
In my case I do not want to parse the protobuf, since another service would receive the bytes and it will do the parse. I just want to send the bytes through the Fluentd.

AFAIK, protobuf parser plugin does not exist.
@marcosflobo What version of your using protobuf? protobuf verison should exist 2 and 3.
I'm currently investigating how to create protobuf parser plugin.

@cosmo0920 in my use case, it's both version 2 and 3, we have different protobuf message versions for different use cases

Thanks for the reply.
I'd released protbuf parser plugin which supports protobuf 2 and 3 for Fluentd v1.
https://github.com/cosmo0920/fluent-plugin-parser-protobuf

@cosmo0920 this is a great job, congratulations.
I have a couple of questions about this parser.

A parse plugin will be executed after the input plugin. If this is true, how can you configure fluentd to accept protobuf messages in the input plugin, so after your parser will take over?
Does your parser have any limitation in terms of Content-Type? There are a couple of Content-Type values allowed for protobuf, such as application/x-protobuf and application/protobuf
After the protobuf is parsed by your parser, in which format the data is transformed? JSON?

A parse plugin will be executed after the input plugin. If this is true, how can you configure fluentd to accept protobuf messages in the input plugin, so after your parser will take over?

Please use it within <parse> directive.
https://docs.fluentd.org/input/http#less-than-parse-greater-than-directive

Does your parser have any limitation in terms of Content-Type? There are a couple of Content-Type values allowed for protobuf, such as application/x-protobuf and application/protobuf

Parser plugin itself doesn't handle MIME type. This should be handled in in_http.

After the protobuf is parsed by your parser, in which format the data is transformed? JSON?

Protobuf parses protbuf binary/string and then returns EventTime/Integer and Hash object pair.

I've confirmed that protobuf parser plugin can be wroking with the following settings and protobuf class definition:
ProtoBuf definition
# cat test/data/protobuf3/simple.proto

syntax = "proto3";
import "google/protobuf/timestamp.proto";

message SearchRequest {
  string query = 1;
  int32 page_number = 2;
  int32 result_per_page = 3;
  enum Corpus {
    UNIVERSAL = 0;
    WEB = 1;
    IMAGES = 2;
    LOCAL = 3;
    NEWS = 4;
    PRODUCTS = 5;
    VIDEO = 6;
  }
  Corpus corpus = 4;
  google.protobuf.Timestamp timestamp = 5;
}

Compiled Ruby class from ProtoBuf definition
# cat test/data/protobuf3/simple_pb.rb
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: simple.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("simple.proto", :syntax => :proto3) do
    add_message "SearchRequest" do
      optional :query, :string, 1
      optional :page_number, :int32, 2
      optional :result_per_page, :int32, 3
      optional :corpus, :enum, 4, "SearchRequest.Corpus"
      optional :timestamp, :message, 5, "google.protobuf.Timestamp"
    end
    add_enum "SearchRequest.Corpus" do
      value :UNIVERSAL, 0
      value :WEB, 1
      value :IMAGES, 2
      value :LOCAL, 3
      value :NEWS, 4
      value :PRODUCTS, 5
      value :VIDEO, 6
    end
  end
end

SearchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("SearchRequest").msgclass
SearchRequest::Corpus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("SearchRequest.Corpus").enummodule

Fluentd Configuration
# cat fluent.conf
<source>
  @type http
  port 8080
  <parse>
    @type protobuf
    class_name SearchRequest
    class_file "#{File.expand_path(File.join('test', 'data', 'protobuf3', 'simple_pb.rb'))}"
  </parse>
</source>
<match protobuf>
  @type stdout
</match>

Sending protobuf Example script
# cat test_http.rb
require 'google/protobuf'
require "net/http"

require_relative "test/data/protobuf3/simple_pb"

def encoded_simple_binary
  request = SearchRequest.new(query: "q=Fluentd",
                              page_number: 404,
                              result_per_page: 10,
                              corpus: :WEB,
                              timestamp: Time.now)
  SearchRequest.encode(request)
end

uri = URI.parse("http://localhost:8080/protobuf")
params = encoded_simple_binary
req = Net::HTTP.new(uri.host, uri.port)
req.post(uri.path, params.to_s)

Result
$ bundle exec ruby test_http.rb

Then, Fluentd gets:
% bundle exec fluentd -c fluent.conf -p lib/fluent/plugin
<snip>
2020-06-01 16:45:43 +0900 [info]: #0 fluentd worker is now running worker=0
2020-06-01 16:45:46.377515000 +0900 protobuf: {"query":"q=Fluentd","page_number":404,"result_per_page":10,"corpus":"WEB","timestamp":{"seconds":1590997546,"nanos":371940000}}

Hope this helps.

Thanks @cosmo0920 ! Awesome work.
The issue is closed.

@cosmo0920 thank you very much for your work on this, I'll give it a try to your parser and I'll give you feedback

@cosmo0920 which dependencies do we have to include in fluentd to be able to use your parser with a .proto version 2?

With configuration parameter:
https://github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf#for-protobuf-2


Error: Cannot find module '../../passerby.json'

This passerby.json file seems to be missing.

You're not wrong.  Usage instructions are coming soon...


Fix cast error

This change is

Coverage decreased (-0.02%) to 43.744% when pulling 0498f2a4453684fc6c804f0ecaaa755af77ecb6c on aledbf:cast-error into 47ea2d7077cf7a75c2d29335cc42e5b4aa27aea0 on kubernetes:master.


update recipe to work with new version on defaults

openapi-schema-validator 0.6.2
Destination channel: defaults
Links

PKG-4428
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

moto

Explanation of changes:

get ready for defaults upload

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_5c_28w00jb/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:39: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:39: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:39: missing_documentation: The recipe is missing a doc_url or doc_source_url
clone/recipe/meta.yaml:39: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
3 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_eb2ux5bilt/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:45: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:45: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:45: missing_documentation: The recipe is missing a doc_url or doc_source_url
clone/recipe/meta.yaml:45: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
3 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_31qb75cc_8/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:49: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:49: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
1 Error and 1 Warning were found


Write hashtag on old photos

Do you know of any way to display the images to which the label has been added after uploading them?
When I do this, only the last 4 are shown.
Thanks!

Sandbox clients are limited to the 20 most recent media for the user.


Could someone create an Unraid template for this?

Is your feature request related to a problem? Please describe.
While Unraid can run things from DockerHub, I'm not sure of all the correct settings.
Describe the solution you'd like
A template created for Unraid and added to the Community Apps

https://github.com/Threadfin/Threadfin-Unraid


refactor(ovfs): Split ovfs impl into virtiofs_opendal

Would you like to submit a PR to also update README and integrations/README? Thanks!

I'd like to update those.


Interactive onboarding dialog

The onboarding dialog in its current form is strictly informational. However, it would be a good place to allow users to configure settings they might like to configure if they are using Binary Ninja for the first time. Potential setting candidates include:

Update cadence (and enable/disable auto-updates)
Keybindings
Theme
Window layout

The updated onboarding should be a tab and not a separate dialog. This makes it far easier to simply ignore if people choose, it doesn't get in the way as much, and we can even make it stay as the default unless disabled if we wanted.

We should also consider importing "recent files" from Ghidra/IDA as a part of the migration path. That feature is predicated on #2919 and #2918


Support build with demo. Merge mqttv311 protocol layer with mqttv5. Support debug mode.

Support build with demo
Merge mqttv311 protocol layer with mqttv5.
Support debug (asan&tsan) mode.

[TBD] Docs update.


Typo in SQL Example

Click the Pre-copy Script input box -> select the Add dynamic content below -> enter the following expression as script -> select Finish.
SQL
Copy
IF EXISTS (SELECT * FROM [@{item().TABLE_SCHEMA}].[@{item().TABLE_NAME}) TRUNCATE TABLE [@{item().TABLE_SCHEMA}].[@{item().TABLE_NAME}]
^^^^^^
Missing ]
Should be:
IF EXISTS (SELECT * FROM [@{item().TABLE_SCHEMA}].[@{item().TABLE_NAME}]) TRUNCATE TABLE [@{item().TABLE_SCHEMA}].[@{item().TABLE_NAME}]

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

ID: 125c8ae8-332f-8792-d81b-30bb0eb3976f
Version Independent ID: 2e2ac8cb-4208-6692-0f25-701e4906475a
Content: Copy data in bulk using Azure portal - Azure Data Factory
Content Source: articles/data-factory/tutorial-bulk-copy-portal.md
Service: data-factory
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

@ozdemir-mehmet Thank you for sharing feedback. We are actively investigating it. We will get back to you soon.

@ozdemir-mehmet Thanks for pointing out the issue, I've addressed this issue in PR:https://github.com/MicrosoftDocs/azure-docs-pr/pull/164584
The changes should be live soon. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.


Make const correct (accessors and mutators vs. API consistency)

Summary:
In a lot of mcmc we have get_* and set_* methods. I think it would be nice to just have const overloaded mutator and accessor methods. For instance with get_kappa(double x) we would have
inline double& kappa() { return kappa_;}
inline const double kappa() const { return kappa_;}

This gives us a standard API that I think looks nice and helps make things more const correct. But, there are methods which I think the compiler generates such as get_param_names. Unless we are okay with modifying some bits of the compiler we will end up with multiple styles of accessor. If we don't want that we can still apply const correct stuff to the setters and getters
Current Version:
v2.21.0

@betanalpha  Why do some of the setters have these hidden limits i.e.
  inline void set_t0(double t) {
    if (t > 0)
      t0_ = t;
  }

Should those be errors? warnings? I'd like to have things like that at least doc'd

This code was written a long time ago but I believe I picked up the pattern from OO best practices I was reading at the time; the pattern of validating and then mutating only when the input is valid ensures that every object instance is always in a valid state.  I just spent a few minutes googling around and I can't find a name for the pattern but it does show up in a bunch of code examples.
The challenge with adding warnings is that you'd have to pipe through a logger, and error-by-exception will require guarding all of the code that uses these methods with exception handling.  I have no problem with either.

Are these bounds in a paper somewhere? Like for the ones for learning stepsize adaptation?
https://github.com/stan-dev/stan/blob/736311d88e99b997f5b902409752fb29d6ec0def/src/stan/mcmc/stepsize_adaptation.hpp
Skimmed over your conceptual intro and geometric foundations paper and didn't see these bounds listed anywhere though would guess they are a technical detail that would be in a citation

They’re relatively standard notation for dual averaging — Matt Hoffman
covered them in the original NUTS paper.  See Section 3.2.1 of
http://jmlr.org/papers/volume15/hoffman14a/hoffman14a.pdf http://jmlr.org/papers/volume15/hoffman14a/hoffman14a.pdf.

On Nov 6, 2019, at 9:57 PM, Steve Bronder<EMAIL_ADDRESS>wrote:
Are these bounds in a paper somewhere? Like for the ones for learning stepsize adaptation?
https://github.com/stan-dev/stan/blob/736311d88e99b997f5b902409752fb29d6ec0def/src/stan/mcmc/stepsize_adaptation.hpp https://github.com/stan-dev/stan/blob/736311d88e99b997f5b902409752fb29d6ec0def/src/stan/mcmc/stepsize_adaptation.hpp
Skimmed over your conceptual intro and geometric foundations paper and didn't see these bounds listed anywhere though would guess they are a technical detail that would be in a citation
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/stan-dev/stan/issues/2849?email_source=notifications&email_token=AALU3FRFR4ODJSGZNKNKAU3QSN7Z7A5CNFSM4JJO2RK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIXOBQ#issuecomment-550598406, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALU3FTDQW5SQJLNNEGCGEDQSN7Z7ANCNFSM4JJO2RKQ.

the pattern of validating and then mutating only when the input is valid ensures that every object instance is always in a valid state

Exactly.  You lose the ability to keep things valid if you just hand out non-const references.


Assertion (ctxIter != m_asyncCtxs.end()) failed

https://sentry.adguard.com/adg/adguard-android-rs/issues/6794/

New version:
https://sentry.adguard.com/adg/adguard-android-rs/issues/6894/

core/pull-requests/526


Using HF Safetensors

Does model_dir work if the dir is just a copied HF repo with the safetensor files?  Specifically one of turboderp's HF model repos.
If not how do I convert the safetensors to a format that works with exllamav2?

The model_dir should be a directory containing a complete model in HF format. Just dump all the model's files (config.json, *.safetensors, etc.) in one folder. You can use huggingface-cli to grab all the files from a particular branch like so:
huggingface-cli download turboderp/Llama2-7B-chat-exl2 --revision 4.0bpw --local-dir-use-symlinks False --local-dir my_model_dir

Models converted to EXL2 format still store the quantized weights in .safetensors files, but each .weight tensor is split into several smaller tensors labeled .q_weight, .q_perm, .q_scale etc. As long as the tensors are in either FP16, GPTQ or EXL2 format the loader should automatically handle all that. I guess BF16 and FP32 would work as well, although they'll be cast to FP16 as they're loaded.

Awesome that worked.  Any way to put model straight onto gpu without saving to cpu lol, using a GPU vm that has 30gb vram but only 16gb ram, so I end up running out of room when downloading dependencies on Exllama if I have the model downloaded as well. Using the mixtral 3.0bpw so looks like

It sounds like you might be having a disk space issue and not a RAM issue if you are running out of room while downloading files.

It sounds like you might be having a disk space issue and not a RAM issue if you are running out of room while downloading files.

@DocShotgun yeah you're right i just had to set more disk on the VM

@turboderp so looks like i got it all working.  just curious, is there a secret to the mixtral instruct clip you posted on X? i copied the code you had for generating and downloaded turboderp/Mixtral-8x7B-exl2 --revision 3.0bpw --local-dir-use-symlinks False --local-dir my_model_dir assuming to get similar behavior but it performs vastly different for me.  as in just inputting Hi or Hello returns completely random responses and a lot of the time without stopping
https://github.com/cdreetz/exllama/blob/master/main.py is the code i'm using to run it for reference

That script uses Llama style prompt formatting as used by Mixtral-instruct. You seem to be using the base Mixtral model which doesn't know how to interpret the [INST] tags. If you download the instruct-tuned version instead you should see better results.

@turboderp thank you!! got it working perfectly now


Add literal code generation

For network types, bit types, built-in geometry types (not PostGIS), range.
PostGIS is handled by EF Core's RelationalGeometryTypeMapping.
Leaving NodaTime types for later, depends on https://github.com/aspnet/EntityFrameworkCore/pull/13911 being merged and is generally a bit complex (see https://github.com/nodatime/nodatime/issues/1221).

Pushed commit addressing styling changes, @austindrenski let me know what you think.

Changes look good to me. Are there unit tests associated with these new methods?

Are there unit tests associated with these new methods?

There weren't... EF Core actually doesn't seem to do testing for specific code literal generation methods in mappings, so I skipped it. But thanks to your "reminder" I took a look and it turned out to be pretty easy :)
Note that this PR doesn't implement code literal generation for 100% of all supported types, that's a lot of work with little probable value. We can add more based on request.

There weren't... EF Core actually doesn't seem to do testing for specific code literal generation methods in mappings, so I skipped it. But thanks to your "reminder" I took a look and it turned out to be pretty easy :)
Note that this PR doesn't implement code literal generation for 100% of all supported types, that's a lot of work with little probable value. We can add more based on request.

Ah, figured there may have been something in the baseline tests... Awesome to hear that we have them now though!


Add this to sphinx or docutils instead of a separate package?

Why as a plugin?

to allow for fast development cycles, this could be pulled into sphinx as soon as it is stable enough and mature.

I agree with that. Good luck :+1:


wildfly:execute-commands should support embed-server mode

Since Wildfly 9 cli supports embed-server mode.
http://wildfly.org/news/2015/03/13/Offline-CLI/
The plugin should support this, without connecting to the manager port

What would the use case be?

The use case to prepare a wildfly configuration within a maven build. The configuration should be build in an offline environment. I do not have the possibility to start a wildfly that opens any ports.
As also described in the article i mentioned above: 'The immediate goal is to support direct local administration of a WildFly installation via the CLI without requiring a socket-based connection. The general use case is initial setup type activities where the user doesn’t want to have to launch a WildFly server and have it be visible on the network.'

I'd have to give this some thought. My initial thought is having the maven plugin essentially handle provisioning seems a bit out of scope. I'd almost rather see a different plugin for it.

I'm currently also investigating in using the plugin for provisioning as well. There are additional requirements that come from this use case like the one in #69. Also if this is not the tool for the job I would like to know if there are others that are a better fit. There are concepts like server overlays and tools like the ones in wildfly/wildfly-build-tools but theres hardly any documentation on these or their intended usage.

There is no provisioning tool at this point. I really don't think this plugin should become said tool either. This should work to an extent, but it won't likely ever be a full provisioning tool.

I would still give this feature +1 even if provision is out of the plugins scope. I have another use case where I need to perform some configuration to Wildfly prior running Arquillian integration tests. With current state I have to

reserve a port for wildfly management interface (build-helper-maven-plugin)
start the server (wf-m-p)
execute the commands (wf-m-p)
stop the server (wf-m-p)

This adds a bit too much noise to my poms that I would like to avoid.
With offline support I could see this reducing to

execute the commands

which is what I actually want to do.

In some ways I'd hesitate to consider it offline support. The management server still boots so it requires port 9990 by default.
As far as setting up the container before WildFly boots these can all be accomplished currently without having to start  the server. The default configuration uses ${jboss.bind.address:<IP_ADDRESS>} for the address and ${jboss.http.port:8080} for the port. You could just override the system properties in your arquillian.xml file without having to configure anything.

I'd prefer not to support offline CLI from the maven plugin. The server can be started and CLI commands ran against the running container. If only the administration is needed the --admin-only flag can be used in the <server-args/> (-Dwildfly.serverArgs="--admin-only" via the command line).
For the arquillian use case the @org.jboss.as.arquillian.api.ServerSetup annotation with a  org.jboss.as.arquillian.api.ServerSetupTask can be used to configure the container.


Make bootstrapping SSF easier (e.g. generating and storing keys)

Is your feature request related to a problem? Please describe.
The problem is when someone runs this the first time they have to generate their own keys. If they are using a local k8s like minikube or kind, if it crashes they potentially lose their keys if they're not stored right.
Additionally we need a way of bootstrapping SSF for a real demo or test environment as well.
Same goes for Vault keys.
How should we generate and store keys such that in case of a failure during dev work users don't have to generate all new keys each time.
Is there a way to encrypt and secure the keys for backup purposes in an easy way.

A reason why we might want backups is if we are signing our artifacts and validating them, if we lose our keys it means we need to rebuild and resign everything again, even when doing dev work.
Either we need a way of backing up the keys, or a way of quickly rebuilding, resigning everything. Key management is hard :(

Is it faster to restore from backup or just regenerate keys and resign everything with new keys?

We need both a dev answer and production answer.

We just need to keep repaving of the SSF quick, e.g. generating new keys, rebuilding images, etc.


[EventEngine] Fix WinSocket/IOCP notification race

It was possible for threads that call WinSocket::NotifyOnRead and WinSocket::NotifyOnWrite to race against IOCP poller threads, causing poller events to be missed.
In the most common usage, in some thread (E), the Endpoint would make an async (overlapped) read or write using WSARecv or WSASend respectively, then use the socket's NotifyOn* methods to have callbacks executed when data was ready. If data was already available, those callbacks would be scheduled for execution immediately. Meanwhile, if overlapped events came in for some socket, some IOCP poller thread (P) would inform the socket that data was ready, and if notification callbacks were already present, they would be scheduled for execution immediately. It was possible for thread (E) to see no data available, and thread (P) to not see any notification callbacks registered. This resulted in registered callbacks that would never be called, for data that had already been received.

Passes internal Windows build.


Release Candidate

Can you add a comment with the broad concept behind this PR? Eg "Updated packages"


Re-organize trending and popularity tasks

This moves everything from tasks to cron. The tasks were hitting a
recursion error b/c we were chaining too many tasks together.
This also combines the calculating of values and reindexing on the same
chunks of apps and adds a records purge so the values in ES are synced
for purged records.

/cc @diox or @washort
Could either of you get this reviewed in the next 24h? I'd like to get this on -dev and tested before this code ships next week. Thanks.

Lotta code motion, but looks plausible to me; let's merge it and try it on -dev. r+


Ordering configuration options ConfigMaxMatchData and ConfigMaxStringsPerRule

The order of configuration options found in config.go:
https://github.com/hillu/go-yara/blob/11d1088a1ff305f3d292f73e31db195b8ce40028/config.go#L16-L19
Did not match the order of configuration options in libyara.h:
https://github.com/VirusTotal/yara/blob/8ce0c6c4eb38672cd09c51d5fca4d1ce22e9746c/libyara/include/yara/libyara.h#L70-L84
The following code gets and sets yara configuration options in the order found in libyara.h rather than the order found in config.go:
package main

import (
	"fmt"

	"github.com/hillu/go-yara/v4"
)

func main() {
	fmt.Println(yara.GetConfiguration(0))
	fmt.Println(yara.GetConfiguration(1))
	fmt.Println(yara.GetConfiguration(2))
	fmt.Println(yara.GetConfiguration(3))
	yara.SetConfiguration(0, 0)
	yara.SetConfiguration(1, 1)
	yara.SetConfiguration(2, 2)
	yara.SetConfiguration(3, 3)
	fmt.Println(yara.GetConfiguration(0))
	fmt.Println(yara.GetConfiguration(1))
	fmt.Println(yara.GetConfiguration(2))
	fmt.Println(yara.GetConfiguration(3))
}

16384 <nil>
10000 <nil>
512 <nil>
1073741824 <nil>
0 <nil>
1 <nil>
2 <nil>
3 <nil>

This PR orders the configuration options to match the order found in libyara.h

Since the options in the const { … } block are set explicitly to their C counterparts and iota is not used, their ordering is at most an asthetic issue.
Perhaps I am missing the point. What does your test program try to show?

Hi. Thanks for your interest in go-yara and your PR.
Since the options in the const { … } block are set explicitly to their C counterparts and iota is not used, their ordering is at most an asthetic issue.
Perhaps I am missing the point. What does your test program try to show?

It's not obvious from the current implementation that
yara.SetConfiguration(1, 1) modifies ConfigMaxStringsPerRule.
I had to use yara.GetConfiguration(2) and compare it with the yara defaults found in https://github.com/VirusTotal/yara/blob/8ce0c6c4eb38672cd09c51d5fca4d1ce22e9746c/libyara/include/yara/libyara.h#L70-L84
to understand that yara.GetConfiguration(2)  and yara.SetConfiguration(2, 2)  were actually getting and modifying ConfigMaxMatchData instead of ConfigMaxStringsPerRule.

I find it curious that you'd use numeric values instead of one of the constants at all. On the other hand, our function-level documentation is somewhat lacking for these functions. :-)

I'll use the constants instead. Thank you.


feat: Record the assigned port in the virtualcluster

What type of PR is this?
/kind feature

What does this PR do?

Record the assigned port in the virtualcluster
Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

cherry-pick


Convert SPIRVMatmulPromoteVectorize to perform vectorization before bufferization

The CUDA matmul SIMT pipeline uses scf.foreach_thread and performs vectorization before bufferization. This is the direction we should follow for SPIR-V side too. So creating this issue to track it.

https://github.com/openxla/iree/pull/13780 fixed this.


Other obstacles and clarification of (ilio)psoas?

I actually have two questions:

The first few sentences of this challenge state that

Potential obstacles include external obstacles like steps, or a slippery floor, along with internal obstacles like muscle weakness or motor noise.

But it seems for now only balls and muscle weakness exist as obstacles. Even in the new difficulty = 3 case, there're just more balls. So will there be steps, slippery floor and motor noise? Or they're already present and I just missed them...

I'm not very familiar with biomechanics. Does psoas and iliopsoas refer to the same thing in this competition?
Observation includes the randomized strength of left and right psoas. Action includes the activation of the left and right iliopsoas. Are they the same?

We will keep difficulty = 2 for the second round and there will be no extra obstacles (just the balls and variable muscle strength already present in difficulty = 2. "steps, or a slippery floor," are just the remainings on the very early stage of development, sorry for the confusion.

Yes, they are the same in our model.

More details on muscles will appear in the paper in a week or two. Regarding the obstacles, we won't have them (most likely) in the new challenge. The old environment will be still accessible, but not maintained.


Switch to TiDB 4.0.1

To fix the build - you need to rebase onto origin/master, this bug with doc generation has been fixed there.

If this PR is still relevant, then please fix conflicts, rebase and get a green CI build.
If the PR is no longer relevant please close.
This PR will be closed at the end of January 2021 otherwise.

If this PR is still relevant, then please fix conflicts, rebase and get a green CI build.
If the PR is no longer relevant please close.
This PR will be closed at the end of January 2021 otherwise.


Polybar Battery Module Not Working

On Arch 4.15.1-2-ARCH (Antergos) and polybar 3.1.0-39-g26abd0f, my battery module is being stopped on run. It is the standard module from the example bar config, and worked as recent as last night. I have reinstalled polybar by removing all files and rebuilding the master, but it is still not working. The error I receive on crash is "error: module/battery: std::bad_alloc". None of the solutions I have seen for this issue are working.

Are you still using commit 26abd0f or the latest (014ac82)?

When I most recently cloned the 3.1.0 branch, I got commit bf16a4d #863 . Looks like that might be the issue...

Does cloning from master (using commit 014ac82) still result in the error?

That was it! Thank you. The issue was that the README says to clone branch 3.1.0, which gets you an older commit.


Apply branding guidelines on  compress-diskimg.sh

small changes such as fixing capitalisation of the word popcorn

do you want me to do a narcissistic merge?


Evaluate performance

Discovered on Space.StackExchange:

I actually looked into poliastro, and i thought ease of use was phenomenal but the propagation was a little slower then I had hoped for. I need to be able to propagate at 30 second intervals for 90 day duration in under a 0.5 seconds.

Trying to gather more information.

Too generic, we have other issues to track specific problems. Closing.

Also, no response from the original author in 6 months.


Duplicate and typo about data source list for PBI Desktop

[Enter feedback here]
Page : https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-data-sources
Here are duplicate and typo about data source list for Power BI desktop.
Duplicate

Bloomberg Data and Analytics
Exasol
Azure Time Series Insights

Typo

TIBDO(R) Data Virtualization -> TIBCO(R) Data Virtualization

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

ID: 9ca836d9-2353-3725-f4ae-73e8d1ca34ba
Version Independent ID: 80ff9e5a-772f-b1ec-61f0-de544ae9e959
Content: Data sources in Power BI Desktop - Power BI
Content Source: powerbi-docs/connect-data/desktop-data-sources.md
Service: powerbi
Sub-service: pbi-data-sources
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi @kuwazzy, thanks for pointing this out. I am forwarding your comment along to the doc owner for further consideration. Thanks!

This is a good catch @kuwazzy -- thanks for pointing this out. I found a few more corrections (updates) in there, and made those too. Thanks for the close read, and importantly, for letting us know!


Kuberhealthy gets stuck parsing non-existent runDuration for prometheus metrics

Describe the bug
Kuberhealthy gets stuck and fails to provision any checks when parsing non existent runDuration -- or runDuration for a khchecker pod that has never been able to come up.
When khcheck pod hasn't been created, it gets this error: Check execution error: no containers found in checks PodSpec and kuberhealthy updates the khstate with this error. However, the prometheus metrics exporter tries to parse the runDuration that has never been set since the khcheck pod never ran and gets stuck with this error -- failing to provision any more khcheck runs:
time="2021-04-15T00:06:48Z" level=error msg="Error parsing run duration:  for metric: kuberhealthy_check{check=\"kuberhealthy/dns-status-external\",namespace=\"kuberhealthy\",status=\"0\",error=\"Check execution error: no containers found in checks PodSpec|\"} error: time: invalid duration \"\""

We are dealing with the same issue on ocp3.11

Anyone found a solution to this? We are also seeing the same issue with v2.7.1, but strangely it's only happening in 1 of our clusters, the other clusters work fine, the only difference is that the name of checks is significantly higher than in the other clusters, any ideas?

is there any update to this issue?
I'm running on OCP 4.6 and trying to do a network connection khcheck
a deployment khchecks work well, but with this network connection check
apiVersion: comcast.github.io/v1 kind: KuberhealthyCheck metadata:   labels:     app.kubernetes.io/instance: kuberhealthy   name: network-connection-artifactory   namespace: kuberhealthy spec:   podSpec:     containers:       - env:           - name: CONNECTION_TARGET             value: 'tcp://artifactory.mydomain.ca:443'           - name: HTTPS_PROXY             value: 'http://proxy.mydomain.ca:8888/'           - name: HTTP_PROXY             value: 'http://proxy.mydomain.ca:8888/'         image: 'kuberhealthy/network-connection-check:v0.2.0'         imagePullPolicy: IfNotPresent         name: artifactory         resources:           requests:             cpu: 10m             memory: 50Mi         securityContext:           allowPrivilegeEscalation: false           readOnlyRootFilesystem: true     securityContext:       fsGroup: 999       runAsUser: 999   runInterval: 2m   timeout: 1m
the checker pods cannot report status
time="2022-11-12T00:44:31Z" level=info msg="Found instance namespace: kuberhealthy" time="2022-11-12T00:44:31Z" level=info msg="Kuberhealthy is located in the kuberhealthy namespace." time="2022-11-12T00:44:31Z" level=info msg="Check time limit set to: 48.184062995s" time="2022-11-12T00:44:31Z" level=info msg="CONNECTION_TARGET_UNREACHABLE could not be parsed." time="2022-11-12T00:44:31Z" level=info msg="Running network connection checker" time="2022-11-12T00:44:31Z" level=error msg="Network connection check determined that tcp://artifactory.mydomain.ca:443 is DOWN: dial tcp: lookup artifactory.mydomain.ca on <IP_ADDRESS>:53: no such host" time="2022-11-12T00:45:09Z" level=info msg="Error reporting failure to Kuberhealthy servers: bad POST request to kuberhealthy status reporting url: Post http://kuberhealthy.kuberhealthy.svc.cluster.local/externalCheckStatus: http: ContentLength=179 with Body length 0" time="2022-11-12T00:45:09Z" level=error msg="Error running network connection check for: tcp://artifactory.mydomain.ca:443" time="2022-11-12T00:45:09Z" level=info msg="Done running network connection check for: tcp://artifactory.mydomain.ca:443"
and the kuberhealthy pod
time="2022-11-12T00:42:04Z" level=info msg="Found instance namespace: kuberhealthy" time="2022-11-12T00:42:04Z" level=info msg="Kuberhealthy is located in the kuberhealthy namespace." time="2022-11-12T00:42:04Z" level=info msg="KH_EXTERNAL_REPORTING_URL environment variable not set, using default value" time="2022-11-12T00:42:04Z" level=info msg="External check reporting URL set to: http://kuberhealthy.kuberhealthy.svc.cluster.local/externalCheckStatus" I1112 00:42:25.325797       1 request.go:668] Waited for 1.193312597s due to client-side throttling, not priority and fairness, request: PUT:https://<IP_ADDRESS>:443/apis/comcast.github.io/v1/namespaces/kuberhealthy/khstates/network-connection-artifactory time="2022-11-12T00:43:28Z" level=error msg="Error running check: network-connection-artifactory in namespace kuberhealthy: kuberhealthy/network-connection-artifactory: timed out waiting for checker pod to report in" time="2022-11-12T00:43:33Z" level=error msg="Error parsing run duration:  for metric: kuberhealthy_check{check=\"kuberhealthy/network-connection-artifactory\",namespace=\"kuberhealthy\",status=\"0\",error=\"Check execution error: kuberhealthy/network-connection-artifactory: timed out waiting for checker pod to report in\"} error: time: invalid duration \"\"" time="2022-11-12T00:43:38Z" level=error msg="Error parsing run duration:  for metric: kuberhealthy_check{check=\"kuberhealthy/network-connection-artifactory\",namespace=\"kuberhealthy\",status=\"0\",error=\"Check execution error: kuberhealthy/network-connection-artifactory: timed out waiting for checker pod to report in\"} error: time: invalid duration \"\"" time="2022-11-12T00:43:48Z" level=error msg="Error parsing run duration:  for metric: kuberhealthy_check{check=\"kuberhealthy/network-connection-artifactory\",namespace=\"kuberhealthy\",status=\"0\",error=\"Check execution error: kuberhealthy/network-connection-artifactory: timed out waiting for checker pod to report in\"} error: time: invalid duration \"\""
some other issue reported that this could happen on the first check due to race condition, but subsequent checks keep failing
time="2022-11-12T00:55:25Z" level=error msg="Error running check: network-connection-artifactory in namespace kuberhealthy: kuberhealthy/network-connection-artifactory: timed out waiting for checker pod to report in" time="2022-11-12T00:55:33Z" level=error msg="Error parsing run duration:  for metric: kuberhealthy_check{check=\"kuberhealthy/network-connection-artifactory\",namespace=\"kuberhealthy\",status=\"0\",error=\"Check execution error: kuberhealthy/network-connection-artifactory: timed out waiting for checker pod to report in\"} error: time: invalid duration \"\"" time="2022-11-12T00:55:38Z" level=error msg="Error parsing run duration:  for metric: kuberhealthy_check{check=\"kuberhealthy/network-connection-artifactory\",namespace=\"kuberhealthy\",status=\"0\",error=\"Check execution error: kuberhealthy/network-connection-artifactory: timed out waiting for checker pod to report in\"} error: time: invalid duration \"\""

does any one was able to resolve this issue?

Hi everyone, I had the same error message with a custom check I was creating and the problem was the check timeout. I increased the timeout and the check ended successfully.
Maybe what you've been experiencing is a different scenario but wanted to leave a comment in case you find it useful!


Chapter 7, "Assemble a Block" - Issues with block weight instructions

Chapter 7 tasks the player with successfully filling a block with transactions. They face several challenges in doing this:

they can't go over the max block weight
they need to take into account that some transactions have parents that also need to be mined, and
ideally, the solution optimizes for fees

The first thing that needs to be done is to add a check for the block weight because the code that is initially presented to the player has a loop that just puts every transaction from the mempool into the block. In the mempool JSON file provided, there is a weight property on each transaction. The only place that units are mentioned is the table, which says the transaction weights are in virtual bytes (vBytes). If you match the values up, this indeed appears to be true:

It follows that checking for max block weight should then be done terms of vBytes. The max block weight is:

4 million weight units (WU), or
1 million vBytes

Source: https://bitcoinvisuals.com/chain-block-weight and Holocat from ChatBTC ;)

However, if you proceed to do this and set the max block size to 1 million in your code, your solution will never meet the threshold for even an "okay" answer because the solution checker is expecting a max block weight of 4 million. Your answer ends up being off by about (probably a little less in practice) a factor of 4!
4 million WU makes more sense instead of 1 million vBytes because WU is used for adding transactions to a block. Many people are probably familiar with vBytes though because that's what is used for calculating fees. And honestly, I bet a lot of people don't even realize there are two ways to measure the weight of a transaction.
This leads me to several questions:

What is the unit for the weight of the transactions in the JSON file? I can't claim to have a sixth sense for this, but those numbers do seem to be WU. If it really is vBytes, should we have the player convert the weight from vBytes to WU? I guess it wouldn't matter as long as their code was checking against the appropriate definition of block weight.
The answer in the Learning Resources/help page uses a MAX_BLOCK_WEIGHT constant but it isn't defined anywhere. Should the solution include the definition of this, or should the MAX_BLOCK_WEIGHT constant be provided in the pre-loaded code for the challenge?
Was any of this by design to add a layer of learning that talks about the differences between WU, vBytes, and the history of vBytes (aka Segwit)?

Filing this as a bug because I think we need to add some clarification about block weight at least somewhere in the challenge. The easiest thing to do is define MAX_BLOCK_WEIGHT = 4000000 for the player, and to change the table to say the transaction weights are in WU (or not, and let the user do the conversion).
I'm happy to implement whatever fix is appropriate here and welcome any feedback on the direction things should go. I spent more time than I'd like to admit trying to optimize a solution that checked against 1million vBytes for max block weight and was insulted for a bit knowing this challenge had a special message for the folks that got perfect answers :laughing:. I would not wish that upon anyone else!

@pinheadmz I think I need your feedback on this before I can make any actionable issue for the rest, but the MAX_BLOCK_WEIGHT = 4000000 issue definitely can be addressed
I think as an oversight I hid the in the validation here https://github.com/saving-satoshi/saving-satoshi/blob/dev/content/lessons/chapter-7/mempool-transaction-1.tsx#L99C1-L99C34

Or maybe add an introductory copy page that introduces mempools and the concepts in the lesson a little more?

also the first transaction has the wrong weight, looks like it should be 2020