Dynamic Variable Groups?

Is there a way to reference a variable group dynamically so that it can be selected when the build is queued?  For instance, in the pipeline YAML:
variables:

group: '$(VARIABLE_GROUP_NAME)'

The use case is to create a variable group per environment.  I realize another approach would be to create a release pipeline and scope each variable group to a different stage, but for a variety of reasons I prefer a single YAML file, and this seems to be the way Azure DevOps is moving anyway.
Is it supported yet?  Thanks!

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

ID: 4827aa99-ae62-bd63-6f2f-a87a4065ed27
Version Independent ID: c9e461ee-7f42-3503-9460-18fa3a807bbb
Content: Variable groups for Azure Pipelines and TFS - Azure Pipelines
Content Source: docs/pipelines/library/variable-groups.md
Product: devops
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

I would like this too. I have multiple build files that are simply passing variables through to templates.
If possible, and I assume it is not, it would be good to extend this to be able to define variables in the include and exclude rules for build triggers. Would result in multiple builds with Variables defined all pointing to a single YAML file.

Thank you for your feedback. I have passed this on to the product team for advice.

@jlhjr @BevanG : This is not supported today. You need to declare the variable group you want to consume in a YAML pipeline. It is the same case with variables in build trigger definition.
We will look into this feedback.
Do you expect to change the variable group for every pipeline run or do you intend to maintain a single YAML file and set the variable group value once per pipeline definition using that YAML file.

Understood, thanks for considering this.  If I've understood your question correctly, ideally I would like the option to set the variable group for each run.  I would still like to use a single YAML file, but I don't want to hardcode the variable group name in that YAML file.

I have the same need. Please deploy the feature. Thank you.

Would be helpful to have such functionality. For example for simple pipelines files - I want to have one pipeline file that can be responsible for builds of two branches. And depends on which branch has triggered the build - the associated group of variables can be used for the steps.
Check please my question on stackoverflow. There are syntax errors, but the idea is clean I think https://stackoverflow.com/questions/56224798/can-group-name-variable-be-dynamic-in-azure-pipelines

This feature would be extremely useful to avoid code and pipelines duplication. NEED.

This is also a feature my team would use daily.

Same need for our projects.
Please add this feature. It would be very useful!
Thanks!

Just to add some more feedback regarding the usefulness of this. look forward to hearing any updates about this

a single YAML file, and this seems to be the way Azure DevOps is moving anyway.

Does it means build and release pipelines management are going to be merged ?

I need this too. It is logical to have a group for each environment and use one when pipeline runs.

I was running through the same issue.
need to have sets of build running via different sets of variables.
-my solution
-- create separate VG (variable group)
--create individual Agent Job for every set of build tasks via YAML file, and assign VG per build sets which will be passed  looking the VG, which you need to link in your pipeline by going to triggers>variables > link variable
sample :
jobs:

job: Linux1
pool:
vmImage: 'ubuntu-16.04'
variables:

group: api_vg-prod
steps:
task: FileTransform@1xx

This would be a very useful feature, since could also enable using the strategy matrix for a job to specify the groups to use for different environments. Looking forward to hopefully seeing this feature in the near future.

I would love to have this feature as well...

Throwing in my vote for this feature as well!

My team would definitely use this feature.

Does anybody here have an elegant workaround?

The closest workaround I was able to do was using a combination of variables and job templates. The end result was close enough, at least for now, to what dynamic variable groups with strategy matrix would have provided. However, it is not as explicit and far as I understood it required an extra file for the template.

+1 on this

+1 It would be extremely useful.

I actually found somewhat of a work around for this if you use a script to hit the azure devops rest api for variable groups.
https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups/get variable groups?view=azure-devops-rest-5.1

For what it's worth, our workaround is to create a new build definition per "environment" with the variable values embedded in that definition.
Not elegant by any means, and the DevOps UI doesn't really enable this (you can't "clone" a build definition, for instance), but you can automate some of it through the REST API, as others have pointed out in their solutions.

+1

For those who are blocked on this and using REST-APIs I wrote a util script using Azure-Devops CLI extension to achieve this. You can take a look at it here - https://github.com/atbagga/PsSamples/tree/master/DevopsVarGroup
This will make it a little easier to consume in your automation.

+1 We would also be in favor of the utmost celerity (hehe) in the addition of this feature! =)

+1

+1 on this

You can also set a shared variable using powershell and the vsTeam module.
Did a small write-up here:
http://blog.lerun.info/2019/09/28/azure-devops-pass-variable-from-build-to-release/

@mortenlerudjordet
Awesome =) Unfortunately I myself (and maybe others too) find the azure-pipelines.yaml pipelines-as-code feature to be more comfortable/fitting with our workflows^^
Additionally, in your write-up, I didn't catch how you would handle identical variable names with differing values depending on environment you deploy to?

@x10an14, I too would prefer to be able to both target -group by using a variable name $(VariableGroupName), and be able to update/create shared group variables in AzP YAML.
I believe identical variable names are not supported inside the same shared variable group, though one could have different variable groups that has the same named variables. The issue here is that the Release pipeline does not support it. Would be nice if the Release pipeline could understand something like: $(VariableGroupName\VariableName) to select from different linked variable groups.
One workaround to this could be to use the same code in Build for interacting with variable groups, but now read instead. Would jeg need to have a robust way of passing in variable names, and setting local ones that the pipeline can use in other tasks.

I would love to have this feature as well...

+1 we also need this.

+1 we need this as well

This would save a lot of duplication in pipelines +1

+1 we also need this.

Same for me. Because I'd like to have a single azure-pipelines.yml file people can reuse as is.

+1 on this!

+1 for the mentioned feature

+1 yes

+1 please !

We could also really use this feature.

+1 here

:) 1 up

+1 here too!

1 its been a long time the request is pending any road map on the request atleast

+1 here !! pls

Hi guys,
Here is how I have selected dynamically the name of my variable group :
variables:
- ${{ if eq(variables['build.SourceBranchName'], 'prod') }}:
  - group: prod
- ${{ if eq(variables['build.SourceBranchName'], 'staging') }}:
  - group: staging
- ${{ if not(and(eq(variables['build.SourceBranchName'], 'staging'), eq(variables['build.SourceBranchName'], 'prod'))) }}:
  - group: test

Hope it will help you.
Regards

@jlhjr I posted your question as a suggestion here
@all: Maybe this will get some more attention if we vote it up there.

+1 on this!

+1

This is a fairly basic thing that, in this case, sets Octopus Deploy apart from this.
This needs to be implemented.

Hi folks, just wanted to share my revolting solution for this.
Define username and password variables for your pipeline. Password should be a devops token with read access to variables.
- job: DefineVariables
      steps:
        - checkout: none
        - pwsh: |
            $region = "";
            $env = ""
            $workspace = ""

            switch ("$(envtarget)") {
              "test" {
                $region = "au"
                $env = "dev"
                $workspace = "test"
                break;
              }
              "dev" {
                $region = "us"
                $env = "dev"
                $workspace = "dev"
                break;
              }
            }

            $username = $env:USERNAME
            $password = "$(password)"

            $groupName = "processing_$($region)_$($env)_$($workspace)"

            $auth = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("$($userName):$password"))
            $variableGroups = Invoke-WebRequest -Uri "https://dev.azure.com/yourtenant/yourproject/_apis/distributedtask/variablegroups?api-version=5.1-preview.1" -Headers @{"Authorization"="Basic $auth"} -UseBasicParsing | ConvertFrom-Json
            $input = ($variableGroups.value | ? { $_.name -eq $groupName } | Select-Object -first 1).id
            if ($input -eq $null) { exit 1 }
            $group = Invoke-WebRequest -Uri "https://dev.azure.com/yourtenant/yourproject/_apis/distributedtask/variablegroups/$($input)?api-version=5.1-preview.1" -Headers @{"Authorization"="Basic $auth"} -UseBasicParsing | ConvertFrom-Json
            $variables = $group.variables

            $variables.psobject.properties | %{
              Write-Host "##vso[task.setvariable variable=$($_.name);isOutput=true]$($_.value.value)"
            }

            Write-Host "##vso[task.setvariable variable=region;isOutput=true]$region"
            Write-Host "##vso[task.setvariable variable=env;isOutput=true]$env"
            Write-Host "##vso[task.setvariable variable=workspace;isOutput=true]$workspace"

Sub out yourtenant/yourproject as appropriate.

Of course when you try to use it  it doesn't work
variables:
        registry: $[ dependencies.DefineVariables.outputs['setvars.registry']]

- task: Docker@2
        displayName: Login to ACR
        inputs:
          command: login
          #containerRegistry: "drawboard$[variables.region]-registry"
          #containerRegistry: $(registry)
          containerRegistry: $[variables.registry]

Step Docker1 input containerRegistry references service connection $[variables.registry] which could not be found.

Truly awful product.

We're introducing runtime parameters next sprint (ETA is early March) which will solve most of these use cases.
Also, for future reference, product feedback should be registered with Developer Community. That's the area we check for requested new features, not the docs repo.

Anybody knows how can I dynamically assign variable groups for release pipelines? not YAML build pipelines

@Planche95 I don't believe that is supported in classic RM.

Not what is being asked, definitely a workaround, but you could store variables in an environment specific keyvault, and based on something (e.g. a passed in variable or looking at a system variable), within a PowerShell task, set a KeyVault variable, then have a task after that to pull from the Key Vault.  Provided the variable names are the same for each environment.
e.g.

PowerShell: if "development" (however you are determining that), set KeyVault variable name to use to Dev keyvault
Azure KeyVault Task, loading from above keyvault varaible.  Variable names are the keyvault keys.
Use keys.

Obviously that means storing the values in keyvault.  For my use case, it's just a small subset from the full environment variable group so it's a reasonable workaround.

We are trying to reference a variable group dynamically with if condition. We get a error message

Error message:

There are other new syntax on Azure-DevOps?

We are trying to reference a variable group dynamically with if condition. We get a error message

Error message:

Is there a different or new syntax to write in Azure DevOps?

Try the post I have written below :

Hi guys,
Here is how I have selected dynamically the name of my variable group :
variables:
- ${{ if eq(variables['build.SourceBranchName'], 'prod') }}:
  - group: prod
- ${{ if eq(variables['build.SourceBranchName'], 'staging') }}:
  - group: staging
- ${{ if not(and(eq(variables['build.SourceBranchName'], 'staging'), eq(variables['build.SourceBranchName'], 'prod'))) }}:
  - group: test

Hope it will help you.
Regards

Don't worry about the syntax error highlighting, I also have it in my editor.
Wish it will help you :)

We are trying to reference a variable group dynamically with if condition. We get a error message

Is there a different or new syntax to write in Azure DevOps?

Try the post I have written below :

Hi guys,
Here is how I have selected dynamically the name of my variable group :
variables:
- ${{ if eq(variables['build.SourceBranchName'], 'prod') }}:
  - group: prod
- ${{ if eq(variables['build.SourceBranchName'], 'staging') }}:
  - group: staging
- ${{ if not(and(eq(variables['build.SourceBranchName'], 'staging'), eq(variables['build.SourceBranchName'], 'prod'))) }}:
  - group: test

Hope it will help you.
Regards

Don't worry about the syntax error highlighting, I also have it in my editor.
Wish it will help you :)

It works
Thanks

We are trying to reference a variable group dynamically with if condition. We get a error message

Is there a different or new syntax to write in Azure DevOps?

Try the post I have written below :

Hi guys,
Here is how I have selected dynamically the name of my variable group :
variables:
- ${{ if eq(variables['build.SourceBranchName'], 'prod') }}:
  - group: prod
- ${{ if eq(variables['build.SourceBranchName'], 'staging') }}:
  - group: staging
- ${{ if not(and(eq(variables['build.SourceBranchName'], 'staging'), eq(variables['build.SourceBranchName'], 'prod'))) }}:
  - group: test

Hope it will help you.
Regards

Don't worry about the syntax error highlighting, I also have it in my editor.
Wish it will help you :)

It works
Thanks

When you have many variables, by using this setup you would like to have sub groups in place which is not possible at this moment.

+1!

@zhangpengchen
variables:
- group: ${{ variables['build.SourceBranchName'] }}

It's really strange. I try this syntax:
variables:

${{ if eq(variables['EnvName'], 'prod') }}:

group: prod

${{ if eq(variables['EnvName'], 'staging') }}:

group: staging

EnvName - it's pipeline variable, that define's when I run pipeline, but variable group doesn't take.
Or I can use predefined variables only if I want to take variable groups dynamically?

@michwii Is there any way to use Build.Repository.Name variable for your solution?

Hi @ALIENQuake, I never tried but in theory you can.

It's really strange. I try this syntax:
variables:
- ${{ if eq(variables['EnvName'], 'prod') }}:
  - group: prod
- ${{ if eq(variables['EnvName'], 'staging') }}:
  - group: staging

EnvName - it's pipeline variable, that define's when I run pipeline, but variable group doesn't take. Or I can use predefined variables only if I want to take variable groups dynamically?
But I have lod version of Azure DevOps Server Version Dev17.M153.5 May be it doesn't work on it.

I wanted to do the same but it is not working. Based on my understanding the expression used is a compile time expression, meaning that it is evaluated before the variable is set. Unfortunately runtime expressions are enabled only for variable assignments and stage, job, task condition checks.

We're introducing runtime parameters next sprint (ETA is early March) which will solve most of these use cases.
Also, for future reference, product feedback should be registered with Developer Community. That's the area we check for requested new features, not the docs repo.

Thank you for the information. However, I've just check the documentation about Runtime Parameters and I don't really see how it solves the problem that is discussed in this Thread. Am I missing something here?
Thanks.

@All -- thank you for your follow-up.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

To request a new feature, please add it here.

It's really strange. I try this syntax:
variables:
- ${{ if eq(variables['EnvName'], 'prod') }}:
  - group: prod
- ${{ if eq(variables['EnvName'], 'staging') }}:
  - group: staging

EnvName - it's pipeline variable, that define's when I run pipeline, but variable group doesn't take. Or I can use predefined variables only if I want to take variable groups dynamically?
But I have lod version of Azure DevOps Server Version Dev17.M153.5 May be it doesn't work on it.

I know this is old know and my first suggestion is already covered, but I'll keep it here for completeness.
@Win32Sector , predefined variables only unfortunately. In your scenario it looks to makes sense to deploy to different environments with different branches anyway. We do this by :
variables:
- ${{ if eq(variables['build.SourceBranchName'], 'develop') }}:
  - group: App.DEV
- ${{ if startsWith(variables['build.SourceBranch'], 'refs/heads/feature/') }}:
  - group: App.Features
- ${{ if startsWith(variables['build.SourceBranch'], 'refs/heads/release/') }}:
  - group: App.Prod

If that is not suitable and you really need to use pipeline variables, we get around this with a powershell task to publish them instead. Here is the full code to make it work. @Planche95 this also works for Release pipelines, just need to edit from YAML:
- task: PowerShell@2
  displayName: 'Set Variables for Pipline'
  env:
    AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)
  inputs:
    targetType: 'inline'
    script: |
      # Set default Azure DevOps organization and project
      az devops configure -d organization=https://dev.azure.com/Org-Name project=Application

      # Set Variable group for each environment based on Pull Request target branch
      switch ("$(EnvName)") {
      	# Develop
      	"prod" {
          Write-Host "Publishing Variables from App.Prod"
          Write-Host "-------------------------------------"
      		$Variables = az pipelines variable-group list --group-name App.Prod --project Application | ConvertFrom-Json
      	}
      	# Production
      	"staging" {
          Write-Host "Publishing Variables from App.Staging"
          Write-Host "-------------------------------------"
      		$Variables = az pipelines variable-group list --group-name App.Staging --project Application | ConvertFrom-Json
      	}
      }

      # Pull variables object from Azur DevOps Library into variable
      $Variables = $Variables.Variables

      # Get Variable names from Object
      $Variable_Names = ([regex]::Matches("$Variables",'(([a-z]|[A-Z]).*?)(?==)')).Value

      Foreach ($Variable_Name in $Variable_Names) {
        # Loop through each variable and publish to Pipeline
        Write-Host "$Variable_Name : $($Variables.$($Variable_Name).value)"
      	echo "##vso[task.setvariable variable=$($Variable_Name)]$($Variables.$($Variable_Name).value)"
      }

We're introducing runtime parameters next sprint (ETA is early March) which will solve most of these use cases.
Also, for future reference, product feedback should be registered with Developer Community. That's the area we check for requested new features, not the docs repo.

Thank you for the information. However, I've just check the documentation about Runtime Parameters and I don't really see how it solves the problem that is discussed in this Thread. Am I missing something here?
Thanks.

You can use a parameter's value as the group name because it get evaluated before the actual pipeline runs.
parameters:
  - name: env
    type: string
    values:
      - dev
      - qa
      - prod

variables:
  - group: ${{ parameters.env }}

You can use a parameter's value as the group name because it get evaluated before the actual pipeline runs.
parameters:
  - name: env
    type: string
    values:
      - dev
      - qa
      - prod

variables:
  - group: ${{ parameters.env }}

I was hoping to be able to pass pre-defined variables like $( Build.Repository.Name) from a 'stub' pipeline YAML that calls a template in another project, but it doesn't work. Is this because the 'pre-defined' variables can not be evaluated until the pipeline is running?
Is there any workaround? I would like to be able to define several variable groups and environments in the same project and have the pipeline dynamically select the correct one to use based on the repo name and branch.

It's really strange. I try this syntax:
variables:
- ${{ if eq(variables['EnvName'], 'prod') }}:
  - group: prod
- ${{ if eq(variables['EnvName'], 'staging') }}:
  - group: staging

EnvName - it's pipeline variable, that define's when I run pipeline, but variable group doesn't take. Or I can use predefined variables only if I want to take variable groups dynamically?
But I have lod version of Azure DevOps Server Version Dev17.M153.5 May be it doesn't work on it.

I know this is old know and my first suggestion is already covered, but I'll keep it here for completeness.
@Win32Sector , predefined variables only unfortunately. In your scenario it looks to makes sense to deploy to different environments with different branches anyway. We do this by :
variables:
- ${{ if eq(variables['build.SourceBranchName'], 'develop') }}:
  - group: App.DEV
- ${{ if startsWith(variables['build.SourceBranch'], 'refs/heads/feature/') }}:
  - group: App.Features
- ${{ if startsWith(variables['build.SourceBranch'], 'refs/heads/release/') }}:
  - group: App.Prod

Also late to the party but I found a solution that was good enough in my case. Instead of using "Source branch name" I used Build.DefinitionName variable which returns the name of the build pipeline. Each of my pipelines has the environment specified in its name so it was enough to pick proper group in the pipeline:
variables:
- ${{ if contains(variables['Build.DefinitionName'], 'testing') }}:
  - group: testing-env-group-name
- ${{ elseif contains(variables['Build.DefinitionName'], 'staging') }}:
  - group: prod-env-group-name
- ${{ elseif contains(variables['Build.DefinitionName'], 'production') }}:
  - group: prod-env-group-name

The closest workaround I was able to do was using a combination of variables and job templates. The end result was close enough, at least for now, to what dynamic variable groups with strategy matrix would have provided. However, it is not as explicit and far as I understood it required an extra file for the template.

I agree, this seems to be the only work around that works end-to-end. The reference https://stackoverflow.com/questions/56224798/can-group-name-variable-be-dynamic-in-azure-pipelines mentioned provided various solutions but it seems in each case, it is only feasible with the value substitution and, by the time you reference the group variable, the pipeline will say that the variable is not found


Data in the fep_banchmark

Hi,
I was comparing the data found in the test_fep.pkl file in the zenodo link with the data in the FEP Benchmark dataset github. I was confused where the data from the .pkl file is coming from as I could not find the same values in the dataset. Could you give some details on this? Also, are these delta G affinities in the .pkl file?

Note: To all those who may be confused, here is the explanation:
The data in the zenodo is the pIC50 = -log(IC50). These IC50 values are found in the ligand.sdf files in the original Merck FEP Benchmark dataset.
Moreover, the FEP Benchmark dataset also has experimental delta G values within their csv files. I believe these delta G values are calculated from delta G = -RT log(IC50) as there is a constant factor difference between these values and the values in the DSMBind zenodo.


Problem installing on Sony SLT-A77v

I'm trying to install the app to my camera. When I click the "Get camera info" button it displays my camera name but after a few seconds it shows this message:
Querying MTP device
Sony Corporation SLT-A77V is a camera in MTP mode
Traceback (most recent call last):
File "C:\projects\sony-pmca-re\pmca-gui.py", line 57, in do
File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 255, in infoCommand
File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 319, in getLensInfo
File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 244, in _sendCommand
File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 97, in sendSonyExtCommand
File "C:\projects\sony-pmca-re\pmca\usb\driver\windows\wpd.py", line 177, in sendWriteCommand
File "C:\projects\sony-pmca-re\pmca\usb\driver\windows\wpd.py", line 149, in _readResponse
File "C:\projects\sony-pmca-re\pmca\usb\driver\windows\wpd.py", line 144, in _send
Exception: MTP SendCommand failed: 0x-7ff8ffe1
And with that last failure I cannot install the OpenMemories app. If someone could help Id appreciate it

The SLT-A77 should be supported in the "Tweaks" tab.


AutoItLibrary in 64 bit Windows 7 with 64 bit python and win32com

Trying to import AutoItLibrary shows stack trace:
 Initializing test library 'AutoItLibrary'
 with no arguments failed: com_error: (-2147221164, 'Class not registered', None, None)

What steps will reproduce the problem?
1. Win 7 64 bit, Python 2.7 64 bit, pywin32 64 bit for 2.7 python
2. Try executing the tests in AutoItLibrary

What is the expected output? What do you see instead?
I expect it to work or give me an error that a "normal" user could use to solve
the issue.

So what works:
Install 32 bit python and 32 bit version of pywin32
-- but the error message doesn't really tell this so I suggest that
AutoItLibrary at least checks that it is running in a platform that it supports
and instructs the user to do what is needed to get things working.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 28 Jan 2014 at 9:34

I don't understand. I installed a 32 bit version of Python and pywin32, and it still gives me this error. I'm also on a 64-bit Windows 7 installation,

Hi,
I am facing the same error, did you get resolution ?
Thanks,
Lokesh

How to find whether I have 32bit installed or 64bit. I am using 64bit machine
pip freeze gives only libraries installed ..
androidviewclient==15.1.2
Appium-Python-Client==0.26
AutoItLibrary==1.1

I had downloaded the 32 bit version from below link and it works fine. THANK YOU.
https://pypi.python.org/pypi/robotframework-autoitlibrary


Add a resources page

Hello sir,
The resources page on the  website is currently under construction.  As a frequent visitor to the site, I would be happy to help with this and contribute to the creation of the page...

Related to #116

#151


Formatting is happening in the background

With all the other formatters I've used, I press a keyboard shortcut and the code cleans up on my screen. With this one:

The file is modified in the background.
I don't see any changes in my open file. I have to close it and open it again to see anything.
The "Formatting..." text doesn't show on the vscode status bar.

Is this how it is for everyone else or is something wrong on my end?

Hi!
Everything works fine for me with both the "Format Document" shortcut and the "Format On Save" option. I don't even know what I can offer you to help with this.

The "Formatting..." text doesn't show on the vscode status bar.

I believe this text is generated by the extension you are formatting with. I don't see much point in adding this functionality.

I'm using the remote extension and working on a remote server, not sure if that plays into this. When I use the option via the menu I get the same results. The file is changed, but not in my open document. I have to close and open to see the changes.

I will release a fix for this issue in a couple of hours.

The issue should be fixed in version 1.0.6. Please let me know if the fix helped you.

edits are still made directly and not through the vscode api, right?

Yes, it worked this way before version 1.0.6. Now edits are made via the VSCode API. Thank you very much for the hint and code example.

Everything works and is integrated into my workflow now. Thanks!!


Fixed typos

Summary
Fixed the typos (slight variation of the proposed fix for the second example)
Fixes #8854

Completely agree, that sounds a lot better!

No worries, @CalvinAllen. Thanks for making the additional changes. I'll merge your PR now. Your changes should be live on docs.microsoft.com in the next day or two.


Better to include Chainer as external dependencies

Version
import dezero
dezero.__version__
# '0.0.11'

Some tests depend on Chainer (for example, https://github.com/oreilly-japan/deep-learning-from-scratch-3/blob/master/tests/test_conv2d.py#L6).
After Chainer is installed via pip, all tests run successfully.
I guess it's better to add Chainer is one of the external dependencies to README.

I think so. And this code depend on Chainer(https://github.com/oreilly-japan/deep-learning-from-scratch-3/blob/81cbe3fc3e45560e0d30289887fe8f6f6533ae07/steps/step59.py#L4-L6)

I think so too.
proposal (setup.py)
setup(name='dezero',
      ...
      extras_require={
            'develop': ['chainer']
      },
      ...
      )

And pip install -e .[develop]
ref: https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies

Thanks for suggestions!
Now Chainer is only needed at the unittests.
So Chainer is not included at setup.py, but added at travis CI setup.
https://github.com/oreilly-japan/deep-learning-from-scratch-3/blob/master/.travis.yml#L7
([develop] option is a good idea !)


small code changes

I made some small changes for SocketPost class. I think it's more readable now.

I signed it!


spacing classes for print media

hi,
pls add spacing classes for print media like:
m-print-0
m-print-1
...
mt-print-0
mt-print-1
...
p-print-0
p-print-1
...
and so on...

Hi,
They already made global spacing classes for developers such as mt-0, mt-1, and others
Use global spacing classes I think that'll work for all

No plans we add these for print styles. Print isn't really something I feel we should invest our time and energy in with Bootstrap.


[Question] - I get incomplete data from quick links TEST

I have posted similar question on Stackoverflow but I couldn't wait to get some ideas.
https://stackoverflow.com/questions/54367413/branch-io-quicklink-test-has-different-data-from-live
Woops, similar open ticket: https://github.com/BranchMetrics/ios-branch-deep-linking/issues/836
That's what I'm having now! Incomplete data in TEST env, but complete data in LIVE.
I used this debugging tool of Branch, https://dashboard.branch.io/link-debug/617349689381431635
it tells me that I should get the complete data, but no.
Also, it tells me another link (below the CURRENT LINK), so I tried it:
lalafood://open?link_click_id=link-617349689381431635 (<---- that is from TEST, take note).
It worked, just like a LIVE link.
Any ideas? Thanks!

Since this question was answered on stack overflow, I am closing the issue here.


Relationship null

According to this: https://stackoverflow.com/questions/57411654/correct-null-relationship-in-json-api
This should work: jsonApiModelBuilder.relationship("type", null);
But I got this error: "Relationship data object must not be null!"
Am i doing something incorrect?
Thank you

Thx for reporting this.
Actually, I was not aware of this use case, imho even if the spec seems to allow it, what would be a practical use case?

For instance, in a one to many relationship where the foreign key can be null.
Example: "A team can have multiple employees, but an employee may or may not belong to a team." In this case, the employees table will have a "team_id" field that can be null. So i do this: "jsonApiModelBuilder.relationship("team", team);", where team can be null.
JSON:
"relationships": {
"team": {
"data": null
}
}

But wouldn't it be much better, if an employee who has no team, would not have a relationship "team" at all?
For instance, often null attributes are simply not transferred in JSON, why not doing the same with non-existing relationships?
But regardless to this discussion: Since the spec supports this use-case, I am considering implementing it...

I thought the same thing, that's why I searched how it should be and found that on stackoverflow.

I have fixed it in the current snapshot. An empty to-one relationship can be added like
final RepresentationModel<?> jsonApiModel =
        jsonApiModel()
                .model(movie)
                .relationship("director", (Object)null)
                .build();

An empty to-many relationship can be now added like
final RepresentationModel<?> jsonApiModel =
        jsonApiModel()
                .model(movie)
                .relationship("directors", Collections.emptyList())
                .build();

This will be in the next release...

Thank you for fixing that so quickly!!

Just released version 2.0.2 with this fix.


Add test to Drawdowns macro

Problem in directly call function Drawdowns in R:

Drawdowns(returns)
Error: could not find function "Drawdowns".

This macro is totally same with Drawdown_Peak macro, so we just keep Drawdown_Peak which is documented in R.


Split VTableSliceNode into two

CompleteVTableSliceNode is the VTableSlice that is used for full types
DemandBuiltVTableSliceNode is the one that is demand built

The _shouldBuildFullVTable if was bothering me. I believe this is a bit
easier to follow and also a tiny bit more memory efficient.

@dotnet-bot test this please

@nattress PTAL

LGTM

@dotnet-bot test Windows_NT please

@dotnet-bot test Windows_NT Debug please

@dotnet-bot test Windows_NT Release please

@dotnet-bot test Windows_NT Debug please

@dotnet-bot test Windows_NT Release please

@dotnet-bot test Windows_NT Release please. Also please don't time out while restoring packages again.


engine: log buildkit progress to stderr with debug enabled

Right now if something goes wrong internal to the shim before all the OpenTelemetry plumbing can be wired up, you just get an exit status 125 with no other output. (The shim currently has to manually send the command's stdout/stderr to OpenTelemetry logging, so there are extra moving parts.)
I added a "break glass to debug telemetry" bit that prints Buildkit logs to stderr, but didn't make it configurable, figuring it would only be useful to me while I bootstrap the OpenTelemetry stack.
But now, as is tradition, a user has a hit this case in production.
So with this PR, now when the engine is configured with debug = true it'll also print Buildkit's logs in console format to stderr like this:
time="2024-04-17T03:31:29Z" level=debug msg=Unauthorized header="Bearer realm=\"https://cgr.dev/token\",service=\"cgr.dev\",scope=\"repository:chainguard/apko:pull\"" host=cgr.dev
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #47 ...
[buildkit] [11bgeg5ytjd3h8dy06z9j18re]
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #48 resolve image config for docker-image://cgr.dev/chainguard/apko:latest
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #48 DONE 0.6s
time="2024-04-17T03:31:29Z" level=debug msg="load cache for mkfile /config.yml with 8e1cq0osjisihh8if42eb91d6::nl306rmhh3uqw60xhfd4x4dly"
time="2024-04-17T03:31:29Z" level=debug msg="checked for cached auth handler namespace" cached=true key="cgr.dev/chainguard/apko::pull" name=cgr.dev/chainguard/apko scope=pull
time="2024-04-17T03:31:29Z" level=debug msg="checked for cached auth handler namespace" cached=true key="cgr.dev/chainguard/apko::pull" name=cgr.dev/chainguard/apko scope=pull
time="2024-04-17T03:31:29Z" level=debug msg="load cache for exec apko build --cache-dir /apkache/ ./twLXXUiV_kQ=/config.yml latest ./layout.tar with 8e1cq0osjisihh8if42eb91d6::oavny64osuh8e5c7fqwjoj58t"
[buildkit] [11bgeg5ytjd3h8dy06z9j18re]
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #49 mkdir /
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #49 DONE 0.0s
[buildkit] [11bgeg5ytjd3h8dy06z9j18re]
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #50 mkfile /config.yml
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #50 CACHED

I thought about putting this at trace level, but I actually think this is pretty useful in all contexts where debug = true, so there's an extra commit for making trace level configurable like env TRACE=1 ./hack/dev, which I kept even though it's not needed for this change.

[buildkit] [11bgeg5ytjd3h8dy06z9j18re]
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #49 mkdir /
[buildkit] [11bgeg5ytjd3h8dy06z9j18re] #49 DONE 0.0s

Is there any way to easily correlate this with our dagger logs?

@jedevc Thanks for taking a look!
I just brought back debug = true for now, both for tests and prod. If you think it's OK to remove it for prod I can push another change to enable it for tests but not prod, just wanted to disconnect the PR from any broader decisions for now so I can get a dev image built that the user can try out.

Is there any way to easily correlate this with our dagger logs?

Depends on what you mean by Dagger logs - user-level telemetry, or the engine logs?
I just added the trace ID to the prefix which should help debug user level logs, and I kept the client ID in case that helps debugging from that direction. But for engine logs it's a bit of a wash - some lines above don't include any IDs at all.

One alternative would be to do this on the ExtraDebug level I added recently instead. That can be enabled by providing --extra-debug as a cmdline arg to the engine. Won't block on that though.

Will keep that in mind if it proves too noisy. I was originally trying to stick to Debug vs. Trace since that's all the config file supports, but a flag would probably be easy enough for them to set too (I think?)


[customize dots] Is it able to move dot pagination over the slides?

Is it possible to customize dot styles? I want to move those dots over the slides. (I think you could understand what I mean. The basic sample of the official site is dot located under the slides.)
In my component, I declare vue-carousel like
  	<carousel
		:scrollPerPage="true" :mouseDrag="false"
		:perPage="1">
		<slide v-for="(item, index) in slides" :key="index">
			<nuxt-link :to="$getHref(item.linkTo)">
				<img :src="item.imageUrl" @error="setDefaultImageUrl" alt=""/>
			</nuxt-link>
		</slide>
	</carousel>

...

<style scoped>
       .VueCarousel-wrapper {
		position: absolute !important;
		z-index: -10 !important;
	}

	.VueCarousel-pagination {

	}
</style>

But it ignores the style in the component.
I think this UI feature is very common so there might be pre-implemented form in vue-carousel but could not find its official website.
Thanks.

Hey @juneyoung, there have been a few issues regarding this before and I think this can resolved with the new slots we deployed fir navigation and pagination in v0.15.0 - here's the commit for that.
We don't have the feature documented yet, it will be coming as part of #262.
Lemme know if that will help! If you end up implementing, feel free to send over a snippet and I can use it as an example in out documentation


minimum-effort request-linking

okay, we are going to try it like this first and then implement the above mentioned header:
We'll use Redis as reverse DNS:
The services will write their own "$_SERVER['SERVER_ADDR']" as key and a list of active request IDs under that key. At the end of the request, the request ID is taken from that hash(?) via shutdown_function.
If there is only one ID on the list, the receiving service can look it up and use it as outer-request-id.
Also, we'll use redis for increment counters so that we don't need to dictate that from the higher service.
of course, if there is a header present, it'll overwrite/skip this behaviour.
Originally posted by @hsegnitz in https://github.com/soarce-qa/soarce-client-php/issues/4#issuecomment-525151800

This will only work automatically under the following circumstances:

Every application running the SOARCE plugin will have to have it's own VM/Container and thus IP address it calls from and is reachable through!
config can be used to hardcode some, but sharing IPs in general will not work.
If there are other non-SOARCE-Client-enabled Services between two that have SOARCE-Client, "reverse dns" can be hardcoded by hand in redis, we might add the functionality later via GUI.

(done apart from unittests due to faulty mock library -.-)
-> we'll need the demo application to manually test -- on hold until then


CLI init: Optionally auto-add video.d.ts to tsconfig.json

Currently we make people manually add changes to tsconfig.json. The more we can do automatically for people the more magical it will feel.
Of course we can make this optional and transparent in the CLI process.
Would you like to automatically update tsconfig.json with the needed changes? >

And worst case scenario we can bail
tsconfig.json unable to be auto-updated. Please update manually with these changes... :

Closing in favor of #33


Wrong website after login.

Pathfinder is working perfect, but after i login to it, pathfinder redirects me to a wrong link http:///map*  . But if i manually add my IP instead of „“ It works fine. I‘ve tried looking in files, but could not find anything :/ Also maybe it gives me error because i don‘t have domain?

:heavy_check_mark: Issue resolved
This issue was resolved by the commit(s) and/or the comments above.
It will be auto-closed with the upcoming release ( merge into master branch). Please check the attached Milestone information.
Many thanks to all participants/contributors for the helpful comments! :+1:
:information_source: Please reopen/comment this, if you have problems/questions about it.

Auto-generated response


Add Google Cloud Storage as backend

Environment variables:
GOOGLE_PROJECT_ID=my-project-id
GOOGLE_APPLICATION_CREDENTIALS=path-to-json-file
Env variables for test:
export RESTIC_TEST_GS_PROJECT_ID=my-project-id
export RESTIC_TEST_GS_APPLICATION_CREDENTIALS=path-to-json-file
export RESTIC_TEST_GS_REPOSITORY=gs:us-central1/bucketname
Init repository in default location:
restic -r gs:/bucket-name init
or
restic -r gs:///bucket-name init
Init repository in specific location:
restic -r gs:us-central1/bucket-name init
or
restic -r gs://us-central1/bucket-name init

@fd0 , you will need a paid Google cloud account and issue a service account json file from that to run these tests. If you would like us to provide the account, please share a gmail account. I can give you access to our test Google cloud project that you will be able to use to run tests.

Codecov Report

Merging #1052 into master will decrease coverage by 4.83%.
The diff coverage is 8.99%.

@@            Coverage Diff             @@
##           master    #1052      +/-   ##
==========================================
- Coverage   53.89%   49.05%   -4.84%
==========================================
  Files         117      119       +2
  Lines        8893     9171     +278
==========================================
- Hits         4793     4499     -294
- Misses       3401     4000     +599
+ Partials      699      672      -27

Impacted Files
Coverage Δ

src/restic/backend/location/location.go
77.77% <ø> (ø)
:arrow_up:

src/restic/backend/gs/gs.go
0% <0%> (ø)

src/cmds/restic/global.go
20.37% <0%> (-1.55%)
:arrow_down:

src/restic/backend/gs/config.go
86.2% <86.2%> (ø)

src/restic/backend/b2/b2.go
0% <0%> (-80.59%)
:arrow_down:

src/restic/backend/swift/swift.go
0% <0%> (-77.2%)
:arrow_down:

src/restic/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

src/restic/archiver/archiver.go
64.74% <0%> (+0.22%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

Thank you very much for your contribution, I'll have a look as soon as I get some spare time!

Specific location:
$ restic -r gs:location:bucketname/prefix/directory init
Default location:
$ restic -r gs:bucketname/prefix/directory init

@diptadas , we should change the URL to gs:bucket:/[prefix] .  There should be a : after bucket name.

Format: gs:bucket:/[prefix]

I'll take over the remaining work, successor is #1134. Thank you!


Update color tokens for theming support

General Support Request
In order to make Auro components themeable, we need to make sure there are no hard-coded and correct semanticly named tokens within the component. There also needs to be investigation around border rules which have a combination of size and color tokens, making them more complex, as well as background-color and color rules.
Possible Solution
Work with designers to figure out what tokens need updated values or renamed.
Additional context
This work stems from theming work happening to all Auro components:

https://github.com/AlaskaAirlines/AuroDesignTokens/issues/147

Rules and tokens to be edited can be found in the comments.
Acceptance Criteria:

[ ] All tier 3 token names have been implemented.
[ ] Colors identified below have been updated to their tier 3 token name.

Hardcoded

Solid
Transparent
Input transition: all .3s cubic-bezier(.215, .61, .355, 1);
Disabled background: none
Label transition: all .3s cubic-bezier(.215, .61, .355, 1);

Tier 1

Bordered wrapper background color: var(--ds-color-base-white, $ds-color-base-white);

Ticket is blocked until auro-button's theming support changes are complete.

Need design to revise the semantic tokens being used within the tokens.scss file.


Make FuturesUnordered's polled-while-empty behavior configurable.

I have a FuturesUnordered which is basically a pool of ongoing work. I also have a channel that represents incoming work. I would like to write:
  let mut new_work; // Stream<Item=NewWork>
  let mut ongoing_work; // FuturesUnordered<Future<Item=WorkUnit>>

  loop {
    match executor::block_on(new_work.into_future().select2(ongoing_work.into_future())).expect("No errors") {
      Either::A(((new_work_piece, returned_new_work), ongoing_work_fut)) => {
        new_work = returned_new_work;
        ongoing_work = ongoing_work_fut.into_inner().unwrap();

        ongoing_work.push(make_ongoing(new_work));
      },
      Either::B(((ongoing_work_piece, returned_ongoing_work), new_work_fut)) => {
        new_work = new_work_fut.into_inner().unwrap();
        ongoing_work = returned_ongoing_work;

        // Do something with `ongoing_work_piece`
      },
    }
  }

I can't do this as is because FuturesUnordered, when empty, returns Async::Ready(None) instead of Async::NotReady, so this code effectively busy waits. I solved this with a silly little wrapper but it might be worth doing something more generally applicable.

This is possible today using select!, which is aware of FuturesUnordered's FusedStream status.


gnomeExtensions.taskwhisperer: 16 -> 20

Motivation for this change
Version 16 is not compatible with GNOME 41
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

It appears to be working fine in my testing VM, apart from the fact that the icon is missing/transparent. Can you please look into this?

@piegamesde I don't have any missing icons on my end :thinking:

Then it's probably just my setup.


Crash after NPC Join 2.0.3 (Debian 10)

My server got crashes when NPC join server, what should i do to fix it?
[14/09/2021 02:32:28] Tried to reload Map.
[14/09/2021 02:32:28] [npc:join] taxi_0 has joined the server (499:<IP_ADDRESS>)
=========================== FCNPC Exception Handler ============================
Signal 11 (Segmentation fault), address is 2ef from f7f4d96a
Backtrace:
#0 in plugins/FCNPC-DL.so(_ZN17CExceptionHandler24ExceptionHandlerCallbackEiP9siginfo_tPv+0x126) [0xf6262876]
#1 in linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7f59090]
#2 in plugins/sscanf.so(+0xb96a) [0xf7f4d96a]
#3 in ./samp03svr() [0x809d844]
#4 in ./samp03svr() [0x809f2e5]
#5 in plugins/profiler.so(amx_Exec+0x31) [0xf7a74da1]
#6 in plugins/profiler.so(_ZN15ProfilerHandler4ExecEPii+0x4f) [0xf7a774ff]
#7 in plugins/profiler.so(+0x1211b) [0xf7a7611b]
#8 in plugins/streamer.so(+0x2d932) [0xf79b3932]
#9 in [0x2e7]
Information:
System: GNU/Linux
SA-MP: 0.3.DL R1
FCNPC: 2.0.3
Functions:
FUNC_CPlayerPool__DeletePlayer: 0x80dc0b0
FUNC_CPlayer__Kill: 0x80d5ac0
FUNC_CPlayer__EnterVehicle: 0x80d6a70
FUNC_CPlayer__ExitVehicle: 0x80d6bf0
FUNC_CPlayer__SpawnForWorld: 0x80d7870
FUNC_GetVehicleModelInfo: 0x80e14f0
FUNC_CConsole__GetIntVariable: 0x80a87d0
FUNC_ClientJoin_RPC: 0x80ba350
Pointers:
VAR_ServerAuthentication: 0x81b7d2c
VAR_NetVersion: 0xfde
Offsets:
OFFSET_RemoteSystemManager: 0x334
OFFSET_RemoteSystemSize: 0xc69
OFFSET_RemoteSystem__ConnectMode: 0xc62
OFFSET_RemoteSystem__Unknown: 0xc67
=========================== FCNPC Exception Handler ============================

Look at backtrace, the problem is in sscanf.

Look at backtrace, the problem is in sscanf.

Ah i got it, im just solved that with set a timer to connect FCNPC, thank for reply!


Angular2App should allow you to import assets

Similar to EmberApp's import method, our Angular2App should have an import method, allowing you to include assets that will end up in the concatenated dist files.
In practice this will often be used by addons in their included hooks. (#7)

https://github.com/angular/angular-cli/pull/135 seems to have addressed this. If not, please reopen this issue.


Fix compilation

closes #405

Look's like the test runners would need to be updated for this merg?

@ebkalderon Any updates?


Clean up WORKSPACE to move load() calls to the top of file

https://github.com/lyft/envoy-mobile/pull/66#discussion_r292604149

We aren't able to have the load() methods all on top like in a BUILD file because we're required to use http_archive() and git_repository() prior to load().
Additionally, this isn't that conventional as we initially thought as https://github.com/bazelbuild/bazel/ also clusters these items by context: https://github.com/bazelbuild/bazel/blob/master/WORKSPACE.
Other examples:
https://github.com/bazelbuild/rules_kotlin/blob/master/WORKSPACE
https://github.com/bazelbuild/rules_kotlin/blob/master/WORKSPACE


Create try_second.py

ブランチしてプルリク

What does this implement/fix?

実機での動作確認のパイファイルを追加
Does this close any currently open issues?

How has this been tested?

Any other comments?

Checklists

[ ]  I have read the CONTRIBUTING guidelines.
[ ]  I have checked to ensure there aren't other open Pull Requests for the same change.

I am very sorry for the inconvenience caused by my mistake today in sending the pull request to the wrong address.


Some errors related to GCP in pip install -e .[gcp]

When installing Beam with GCP options from source, the following errors pop out:
https://pastebin.com/vrWWvF9y
The installation goes through, but the errors are confusing, and may confuse users and contributors.
Imported from Jira BEAM-4487. Original Jira may contain additional context.
Reported by: pabloem.

.close-issue not_planned


warning message always prints

When parsing a particular XML file, I always get this warning
┌ Warning: ignored the empty prefix for 'http://www.w3.org/2005/Atom'; expected to be non-empty
└ @ EzXML ~/.julia/packages/EzXML/ZNwhK/src/xpath.jl:85

Here is a snippet of the top of the file, which I think is probably the only relevant portion.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xml:base="http://data.treasury.gov/Feed.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http:/www.w3.org/2005/Atom">

I am able to parse the file, but the warning always prints. Is there a way to either turn it off or for me to change how I parse the file so that it does not show?

For more reference, here is the package that I am using EzXML with. https://github.com/tbeason/DailyTreasuryYieldCurve.jl

I think parsing itself does not warn you; some XPath operation does. Have you checked this example? https://github.com/bicycle1885/EzXML.jl/blob/830d3c2bd73ff96b5cb69e854a47117c2c93cf8a/test/runtests.jl#L1284-L1294


fix: adjust IAM token expiration time

This commit changes the IAM, Container and VPC Instance authenticators slightly so that an IAM access token will be viewed as "expired" when the current time is within 10 seconds of the official expiration time. IOW, we'll expire the access token 10 secs earlier than the IAM server-computed expiration time.
We're doing this to avoid a scenario where
an IBM Cloud service receives a request along
with an "almost expired" access token and then uses that token to perform downstream requests in a
somewhat longer-running transaction and then the
access token expires while that transaction is
still active.

:tada: This PR is included in version 5.15.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: remove requirement on :stylesheet_urls from Layout schema

closes #150
It turns out that the stylesheets were already optional as the changeset was configured.
An additional validation through either validate_change or a combination of get_field/get_change and add_error must be done if an array field is to be considered invalid on an empty list, but this is not a concern in any of the other schemas which I found in the code.

Thanks!


[SPARK-34172][SQL] Add SHOW DATABASES as table-valued function

What changes were proposed in this pull request?
Add  show tables as Table-valued function make user convenient to analysis db information in SQL
Why are the changes needed?
make user convenient to analysis db information in SQL
Does this PR introduce any user-facing change?
How was this patch tested?
Added UT

Test build #134983 has started for PR 31504 at commit 4583f25.

Test build #134980 has started for PR 31504 at commit 6d8e763.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39563/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39566/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39563/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39563/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39566/

Test build #134983 has finished for PR 31504 at commit 4583f25.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39566/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134983/

Test build #134988 has started for PR 31504 at commit 3f42e91.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39571/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39571/

Test build #134980 has finished for PR 31504 at commit 6d8e763.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134980/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39571/

Test build #134988 has finished for PR 31504 at commit 3f42e91.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134988/

retest this please

ok to test

Test build #134996 has started for PR 31504 at commit 3f42e91.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39579/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39579/

Test build #134996 has finished for PR 31504 at commit 3f42e91.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39579/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134996/

Test build #135008 has started for PR 31504 at commit 5e32ffd.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39591/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39591/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39591/

Test build #135008 has finished for PR 31504 at commit 5e32ffd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135008/

Do other DBMSs support this as a built-in show_columns function? If then, could you update the PR description by adding those references?

after a long time search, no other DBMS support this kind of functions. But it's really helpful for data analysis user to have a better insight  for metadata.


Better message when project not found

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

[x] The commit message follows our guidelines: https://github.com/scullyio/scully/blob/main/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

Issue Number: 816
What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

messed up commits, will do a clean version


Livewire::component does not get called on registered resources

Package
filament/filament
Package Version
v2.15.3
Laravel Version
v9.22.1
Livewire Version
v2.10.6
PHP Version
PHP 8.1.8
Problem description
I am currently developing an internal plugin for Filament that has resources. In the beginning I registered the resources through the PluginServiceProvider, like recommended in the documentation.
Consumers of the plugin will need to override the resources to implement their own logic though, e.g. by extending the plugin resource and putting it in their app's resources folder.
FilamentManager calls array_unique within getResources() but as the plugin uses it's own namespace, resources will be registered twice as the whole namespace will appear within the $this->resources array.
I decided to remove the registration within the PluginServiceProvider to let users register the resources on demand within filament.resources.register.
This works as expected except now the Livewire component seems to be missing as every page returns a ComponentNotFoundException.
This might be because the PluginServiceProvider registers each of the components by looping through the resources array. whereas the FilamentServiceProvider only loops through the directory defined within the 'filament.livewire.path.
The registering of the resources is called somewhere else.
Expected behavior
I expected that registering resources with different namespaces than App\\Filament (or as defined within filament.livewire will work.
Steps to reproduce
Register a resource within a different namespace via filament.resources.register and visit the resource list records page.
Reproduction repository

Relevant log output
No response

I just tried to reproduce this, and I couldn't. Please create a public GitHub repository to replicate this issue. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to give us some instructions on where to find the bug, and include a database seeder with everything we need to set it up quickly.

Ah okay, the reason I couldn't replicate it originally is because I was visiting the List page (as your original post stated this wasnt working), not clicking the Save button on the Edit page.

Hello, could you please check if #3324 fixes this issue. Thanks.

Thanks Dan. Yes, that fixes the issue!
Regarding your approach. When I was looking trought the FilamentServiceProvider and PluginServiceProvider, my first idea was to have one place to register resources. Probably mainly the foreach-loop within PluginServiceProvider could go somewhere behind the registerResources method and every call of this would properly register all the dependent components.
Of course we need to make sure that the original livewire components exclude resource classes.
That was just a rough idea to have a single "API" and maybe this could also work for pages and widgets.
I am not 100% sure if this could work but you could take your time. I think I am on a edge case and already found a solution by just re-binding the pages via the container, which works also for my use case.
Just want to share with you what was my first impression.

Hey, taken on your advice and updated the PR. It did turn out to be more code, but it's more optimised now, as we are only looping through the files once.
Could you double check if it all still works?

Thanks Dan, looking good & works here!

Great, thanks. Merged.


url facet is too arbitrary

One regression introduced by the distiller compared the code in rum-explorer: valid urls get "ofuscated"
and then unusable.
https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon becomes https://blog.adobe.com/en/publish/2024/09/11/...
This makes the facet url unusable.

This is intentional, but I can create a plainURL facet that does not hide and aggregate noisy values.


Add an andorid betterdiscord

If there is an android version, where is it?

Don't open an issue in the installer repo for this

Yes install installed for this iOS

The android version of discord is written in an entirely different language and would need it's own theme/plugin ecosystem, as well as a huge time investment development-wise. This is simply out of scope, as the BD development team is rather small and this would be an entirely different project.


Highlighting text in Find field can move cursor into document instead

VSCode Version: 1.8.1
OS Version: Windows 10

I noticed that typing search terms sometimes appear in my editor instead of the "Find" window, depending on where I release the mouse button when selecting the text.
Steps to Reproduce:

Open the Find input box (ctrl-F)
Enter text in the Find input box
Click and drag to select the text, releasing the mouse button when hovering the open document tab bar
Selection in the Find box is cleared and cursor is placed in the document, so if you start typing, you are typing in the editor, not the find box

Screen cap:

Release mouse button hovering editor window: works
Release mouse button hovering outside of VSCode: works
Release mouse button hovering menu bar: works
Release mouse button hovering the current document bar: loses the selection, drops cursor into document

can't reproduce

@erinknight242 you may want to provide detailed reproduce steps or a gif :)
@Spown thanks for your verification !

This is reproducible on my end, if you have the following user setting:
"workbench.editor.showTabs": false

Looks like the tab title area listens to mouse up and decides to focus the editor


can we add an option for adjusting the line plot stepped line mode?

I had handled a chart.js issue in stack overflow, can we build on this and add more modes like "beginning", "end", "middle". It will be useful when working with mixed charts.
Please check my resolution for the below issue
Align Lines and Bars In A Mixed Chart

Closing as duplicate of #4374


Resource prefix header for Bigtable gRPC calls

PTAL

I believe so. I'll loop you into a discussion I had about this internally.


Doesn't work on php 8.2.8

Nothing works, I see the extension in phpinfo that it is loaded

Same here on my Debian system, phpinfo() shows evil as loaded in, but eval() still works.
However, it has blocked eval() from being used on the command line, it's only on the web server (PHP-FPM) where it doesn't work.  Strange.


Design Aplayer like Zing Mp3 HTML5 Player?

https://mp3.zing.vn/bai-hat/Noi-Thuong-Nhau-Thi-Dung-Lam-Trai-Tim-Em-Dau-Bich-Phuong/ZW80COFO.html
Aplayer design like Zing Mp3 Player with support .lrc style karaoke?

Feel free to make pull requests, thanks.


How do I use XP as economy?

How do I use xp as economy? Do I just put “xp” in economy provider?

Yes

Ily thanks!


Sliding back to old position

Is anyone else having it slide back to its previous position after sliding it to a position? It only happens randomly at a few positions on the slider. Started happening on 3.0.2 and continued into 3.0.3. Happening on ios simulator and real device.
I tried changing the step and commenting out onValueChange and onSlidingComplete, but neither worked.

I am having this problem as well. :/

i had also the same problem , which i solved it by passing the props directly not through an state manager or storing it to the state!

I've removed all props and it's still happening. I've also memoed the containing component to make sure it's not rerendering and it's still happening. Not sure if it's also related to upgrading to rn 63.1

We have the same issue. Happens only on iOS 13.6.x, 13.5.x is fine. Downgrading to react-native-slider to the latest version 2 solves it though.

Thanks @JoelOnGithub - I downgraded to latest version 2 (2.0.9 at the moment) and it seems to have solved it. 👍

Downgrading to version 2.0.9 worked for me as well.

I noticed this only happens on android, on ios it seems to be working fine. I am using version 3.0.3.
I found an ugly workaround (hack) to send the modified value only as initial value on mount, as it seems that changing the value prop on android messes with the rendering when using the value in controlled mode (e.g.: in a form with redux-form or formik that saved the state value and sends it to the component) in react-native, while Slider knows how to properly display the slider thumb internally after change:
import Slider, { SliderProps } from '@react-native-community/slider';

class CustomSlider extends React.Component<SliderProps> {
  private _startValue?: number = undefined;

  componentDidMount() {
    this._startValue = this.props?.value;
  }

  getSliderValue = (value?: number) => {
    return Platform.OS === 'android' ? this._startValue : value;
  }

  render() {
    const { value, ...sliderProps } = this.props;

    const sliderValue = this.getSliderValue(value);

    return (
      <Slider
        value={sliderValue}
        {...sliderProps}
      />
    );
  }
}

export default CustomSlider;

Seems onValueChange and onSlidingComplete themselves work fine, they report when user changes the value (I also use a text component next to the slider to check the value), it is just the rendering with value prop interference.

I have the same issue on iOS even when no handler is set - just raw Slider component. In my case the problem occurs when I slowly move slider towards 0 and release it with value about 10-15%, then it bounces to some value between old position and the new one.

I see that the issue is already solved and waits to be published: https://github.com/callstack/react-native-slider/pull/235

Hello @Vednus! The latest version v4.1.1 has been released and it contains the fix mentioned by @dukoo (thank you!).
I will close this issue with this PR linked, but feel free to reopen if this does not fix your case.

Sweet! Thank you. I'll upgrade from v2


Custom RPC dialog OK Button disabled and spinning forever

This happens when clicking "OK" and setting an empty value for the Name field: the OK stays disabled forever and you must restart IoPay to get it back.

Consider set "ok" button disabled until the "name" & "url" filed all passed validate.


Enable email missing run notifications to be muted.

Reuse the SubscrptionServiceImpl.get method to reduce code duplication. Added testcase for Watch update.
This PR adds a checkbox to the UI to disable sending notification emails to users.

Also, it would be great if the name of variables conveyed the function even on the backend side (I would expect missingruns to be a collection, without the comments I would have little idea what true really means without looking where this is applied).

missingrunnotifications being suitable?

Yes, preferably camel-cased. Assuming that true (default) means sending notifications.
Btw., I am asking a bit late, but what is exactly the difference between having this switched off and having empty stalenessSettings? Do you want to disable this only temporarily for all combinations of tags?


SSL: CERTIFICATE_VERIFY_FAILED

I'm not sure why this error would occur. @soumyabasu or @Sumukh , any ideas? @jeffreylu017 has more information.
Exception happened during processing of request from ('<IP_ADDRESS>', 57055)

Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1182, in do_open

    h.request(req.get_method(), req.selector, req.data, headers)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1088, in request

    self._send_request(method, url, body, headers)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1126, in _send_request

    self.endheaders(body)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1084, in endheaders

    self._send_output(message_body)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 922, in _send_output

    self.send(msg)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 857, in send

    self.connect()

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1231, in connect

    server_hostname=server_hostname)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 365, in wrap_socket

    _context=self)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 583, in __init__

    self.do_handshake()

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 810, in do_handshake

    self._sslobj.do_handshake()

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock

    self.process_request(request, client_address)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 331, in process_request

    self.finish_request(request, client_address)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 344, in finish_request

    self.RequestHandlerClass(request, client_address, self)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socketserver.py", line 673, in __init__

    self.handle()

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/server.py", line 398, in handle

    self.handle_one_request()

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/server.py", line 386, in handle_one_request

    method()

  File "ok/client/utils/auth.py", line 118, in do_GET

    access_token, refresh_token, expires_in = _make_code_post(code)

  File "ok/client/utils/auth.py", line 48, in _make_code_post

    client.request_token(code=code, **params)

  File "ok/client/utils/sanction/__init__.py", line 131, in request_token

    'utf-8'))

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 161, in urlopen

    return opener.open(url, data, timeout)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 463, in open

    response = self._open(req, data)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 481, in _open

    '_open', req)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 441, in _call_chain

    result = func(*args)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1225, in https_open

    context=self._context, check_hostname=self._check_hostname)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1184, in do_open

    raise URLError(err)

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>

----------------------------------------

Checking for software updates...

Network error when checking for updates.

Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main

    "__main__", mod_spec)

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code

    exec(code, run_globals)

  File "ok/__main__.py", line 9, in <module>

  File "ok/client/cli/ok.py", line 108, in main

  File "ok/client/protocols/backup.py", line 31, in run

  File "ok/client/utils/auth.py", line 133, in authenticate

  File "ok/client/utils/auth.py", line 70, in update_storage

TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

We've seen this before on some computers. (Macbook Airs from the UCB library if you want to replicate)
It might have to do with the trusted certs on the machine.
Suggested fixes: http://bugs.python.org/issue23476
A similiar discussion should be in your email from last semester if you search for ssl (sent by me)

I think it's possible that upgrading Python will address this issue.

It seems like the student was using Python3.5.0b2. Once she downgraded to a stable version of Python3.4, the issue went away.

That was a different student.  My student still hasn't resolved this issue.  Haven't been able to meet up with her though, so I'm not sure how to debug it through email.

This was resolved when the student moved from 32 bit Python to 64 bit Python.

Soumya figured it out.  Student was using 32-bit of version when the OS was 64-bit.  This might apply to the other problems as well.


feat: Trino Authentications

SUMMARY
Currently, Trino database in SuperSet only support Basic Authen (username/password). This PR aim to support more authen methods like:

Kerberos
JWT
Custom Authentication

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
Add more unit-tests
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

Hello @villebro
How to update testing.txt after modify requirements/testing.in. I wanna add -e file:.[trino] to testing.in but got this error:

@villebro changed as your comments

@geido, @villebro all typos are fixed. Could you take a look.
And do you have any instruction/guide to re-generate requirements files?

@dungdm93 this is looking great, but we appear to be having some trouble with the documentation CI workflow. I restarted the job, let's see if it was just flaky

@dungdm93 I've fixed the build problems in the docs CI workflow in #17800 Can you rebase and see if that fixes the CI issues here?

@dpgaspar @betodealmeida @geido do you have anything to add here?


Build and release scripts

terraform has been ripped out. all of it.
there now exists two scripts: build and release
build will create a zip file of the python logic
release will create a github release and put the zip file on the public s3 bucket
these scripts can be run locally but also can work in circleci
circleci should only run them when a branch has been merged into master

Thanks for helping me understand the what/why 🙂


Add a CONTRIBUTING guide

As explained in the GitHub documentation about Setting guidelines for repository contributors this adds a CONTRIBUTING file to help others contributing to this project.

Really nice, thanks @robo9k!


fix: webpack 5 RuleSet error by bumping svg-sprite-loader version

When using Webpack 5 the mix crashes with Error: Cannot find module 'webpack/lib/RuleSet'.
Multiple reports of this issue can be found here: https://github.com/JetBrains/svg-sprite-loader/issues?q=webpack%2Flib%2FRuleset
Solution is found here: https://github.com/JetBrains/svg-sprite-loader/issues/413

Thanks, released in 1.0.2!

Thanks, released in 1.0.2!


Off site example

Hi,
I would like to make an implementation of a provider which is off site.
Based on documentation there are 2 purchase methods, which I copy/paste below for reference. If I am not mistaken, I will use purchase($options) to collect the required information from the user and then redirect to payment provider gateway.
For handling the callback I will use completePurchase($options).
Any feedback is welcome
purchase($options) - authorize and immediately capture an amount on the customer's card
completePurchase($options) - handle return from off-site gateways after purchase

That is correct. A good example of this is seen in the Paypal Gateway.
Let me know if you have any other questions.

Hi,
I have created a new gateway that implements off side purchase using Fasapay, I would appreciate if you could take a look and give me your feedback.
https://github.com/andreas22/omnipay-fasapay

This: https://github.com/andreas22/omnipay-fasapay/blob/master/src/Helpers/Security.php#L13-L16 would be a good PR into the omnipay-common repo for Helper.php, I think.
In PurchaseRequest you're overriding the get/setTestMode functions, with little to no change, other than casting to bool.
Other than that, i think it looks great.


Traefik does not resolve TLS ingress if termination secret created after ingress

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Helm-installed Cert Manager, Traefik, and Rancher on RKE2 1.28.
helm -n traefik list:

NAME   	NAMESPACE	REVISION	UPDATED                               	STATUS  	CHART         	APP VERSION
traefik	traefik  	1       	2024-05-07 07:17:23.41361965 -0400 EDT	deployed	traefik-22.1.0	v2.9.10

The Rancher Helm chart creates an Ingress and uses cert manager to create a TLS termination secret. The ingress is created before the TLS termination secret:
rancher Ingress:
creationTimestamp: "2024-05-07T11:18:49Z"
tls:
- hosts:
  - redacted
  secretName: tls-rancher-ingress

tls-rancher-ingress Secret:
creationTimestamp: "2024-05-07T11:23:54Z"

I expected Traefik to resolve the Ingress and make it functional.
What did you see instead?
Traefik errors (many times) with:
level=error msg="Error configuring TLS: secret cattle-system/tls-rancher-ingress does not exist" ingress=rancher namespace=cattle-system providerName=kubernetes

And then Traefik appears to give up. The only solution I've found so far is to restart the Traefik deployment after all the charts finish deploying. Since I'm deploying all of these components with Helm, I have limited ability intervene in timing. Restarting the deployment is not idea esp. in a GitOps scenario.
What version of Traefik are you using?
See above: 2.9.10
What is your environment & configuration?
RKE2 1.28 on RHEL 8.9.
If applicable, please paste the log output in DEBUG level
No response

PBKAC...


I can´t put in fuction Hydrogen

Hi, my issue is that after i install all following the instructions, Hydrogen stills says to me "No kernels installed". It wont open Stata neither.

This doesn't work with hydrogen, for that you want https://github.com/kylebarron/stata_kernel


If there are references describing the methods in your package, please

There is not yet a publication for this package.  We will submit it eventually.  And will update when published.


Error establishing connection to datasource, multiple connections

Describe the bug
I am trying to publish a workbook connected to a Published Datasource which has multiple connections(specifically 3 set of credentials) . But its giving an error saying that it cannot establish a connection to datasource .Do I repeat the workbook connectionItem object associated to the Published datasource thrice , one per each set of creds , before passing it to publish_workbook function ? Any help will be really appreciated
Versions
Details of your environment, including:

Tableau Server version (or note if using Tableau Online)
Python version
TSC library version

To Reproduce
Steps to reproduce the behavior. Please include a code snippet where possible.
Results
What are the results or error messages received?
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

@Rohit2101991TU I simplified your issue title a bit and moved that text description into the issue description.
Could you also include the other items requested in the template, for example Tableau/TSC versions and sample code snippet? Those would help people who may be able to help you investigate this one.

@Rohit2101991TU  - can you confirm that publishing the workbook succeeds if you upload it through the website, or publish it some other way? I want to rule out any problems with the connection credentials, etc.

I assume you are blocked on the Method Not Allowed error here, but the general answer is that yes, you need to publish with info for all three connections.

No , I am not blocked on 405 method not allowed error . And I am getting "failed to establish connection to your datasource" while publishing the workbook  because the datasource attached to the workbook has multiple database connections within it


Add milkomeda cardano testnet

What was wrong?
Mikomeda Cardano testnet was missing
How was it fixed?
Added Milkomeda Cardano testnet addresses from the safe-deployments repo.

Please accept CLA and link safe-deployments PR 😉

You should use an existing ethereum network: https://github.com/safe-global/safe-eth-py/blob/master/gnosis/eth/ethereum_network.py

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
78 unchanged lines in 10 files lost coverage.
Overall coverage decreased (-1.2%) to 87.474%

Files with Coverage Reduction
New Missed Lines
%

safe_transaction_service/tokens/clients/kraken_client.py
3
73.53%

safe_transaction_service/history/services/collectibles_service.py
4
90.48%

safe_transaction_service/tokens/tasks.py
4
89.86%

safe_transaction_service/tokens/clients/coingecko_client.py
6
80.72%

safe_transaction_service/tokens/clients/kucoin_client.py
6
60.0%

safe_transaction_service/tokens/clients/zerion_client.py
8
78.95%

safe_transaction_service/tokens/clients/binance_client.py
11
40.74%

safe_transaction_service/tokens/clients/kleros_client.py
11
64.71%

safe_transaction_service/tokens/services/price_service.py
11
90.11%

safe_transaction_service/tokens/clients/coinmarketcap_client.py
14
47.17%

Totals

Change from base Build<PHONE_NUMBER>:
-1.2%

Covered Lines:
5859

Relevant Lines:
6698

💛  - Coveralls


bug: can’t write binary file

i tried write a image file called by put method but faild.
i think it’s a problem in this method
_vaultPut .  why it prevent write binary files?

i have made a pull request to solve this problem.  check it please #89

I wonder if you could elaborate on the problem you might've been experiencing -- I'm vaguely aware that we do handle binary content as long as the content-type header is set correctly.   What error message are you seeing?

Fixed via release 2.0.0.


Use one date parser for everything

This PR means we use what was the Calm date parser for Sierra too (and improves it a bit based on what I saw in the Sierra data).
Of all of the sierra records with 260/264 fields present:

The old parser handled 38.13% (and didn't fall back to 008 for the rest https://github.com/wellcomecollection/catalogue/pull/1463)
The calm parser handled 86.75%
The parser here - which knows to ignore Roman numerals - handles 96.12% of them

🎉

Ah, I should add - this removes the inferred flag from InstantRanges. This was never used anywhere and I think is related to an aspect of the Sierra syntax (namely, square brackets) that relates to whether the date is taken directly from the source material. Does anyone know a reason that it should remain?

Good shout re source_model - I had also not been happy with internal_model although that was where the existing parser lived (it predates any of the other more suitable locations). I'll move it.

Turns out it's a real headache to do that refactoring because of dependencies on InstantRange, going to leave it for now


Add conditions on config key section

Config key section does clearly not specify which are mandatory.

The entire section of the documentation about configs has been re-written and re-structured, hopefully offering more clarity. The changes are in the latest commit to the CPAN-Prep branch: https://github.com/bbusschots/xkpasswd.pm/commit/f49563fdacd6c558e39062bb3270dce01a4f0b0a


Are you open to contributions ?

Hello,
I'm a PhD student at Sorbonne University and I've started to look at gossip learning. I've just discovered your simulator and I think I will use it for my work.
If I add new protocols or algorithms to the simulator, are you open that I add them to the project as pull requests ?
Thanks,
Mohamed Amine LEGHERABA

this is my question too. after I'm done training my models I would like to contribute too! in the source code and I would like my paper to be added to the papers listed, that are implemented using gossipy. I would like to cite gossipy in my paper as my source code. would that be possible Mirko?

Hi everyone, thank you for your interest in gossipy, and sorry for the delay.
You can contribute via the pull request mechanism. To cite this work, for now, simply use the GitHub link to the repository, and hopefully, soon there will be a paper about the library.
The papers cited in the README are not the ones using gossipy but the ones that I reproduced using it.

Just FYI, I plan to expand the library with novel algorithms I find in the recent literature. So, if you have any suggestions, just let me know. Thanks.


Add a Gitter chat badge to README.md

99xt/interns-portal now has a Chat Room on Gitter
@niroshannrsh has just created a chat room. You can visit it here: https://gitter.im/99xt/interns-portal.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Closing the pull request since it was open for a week with merge conflicts


Color TIF image fails test which it should pass

Describe the bug
A TIF file is failing the 'binarytiffnotgroup4' test, although its bit depth is 24 (ie it's not a binary image)
To Reproduce
 audittool.sh  /mnt/rs3Archive/W00EGS1017169
** Data **
Image file /mnt/rs3Archive/W00EGS1017196/images/W00EGS1017196-I00EGS1017198/I00EGS10171980003.TIF is invalid TIFF. Reasons: binarytif-tiffnotgroup4 :bd:24: itn :0: comp :None:
--
Image file /mnt/rs3Archive/W00EGS1017196/images/W00EGS1017196-I00EGS1017200/I00EGS10172000003.TIF is invalid TIFF. Reasons: binarytif-tiffnotgroup4 :bd:24: itn :0: comp :None:
Image file /mnt/rs3Archive/W00EGS1017196/images/W00EGS1017196-I00EGS1017199/I00EGS10171990003.TIF is invalid TIFF. Reasons: binarytif-tiffnotgroup4 :bd:24: itn :0: comp :None:

Expected behavior
These files should pass
Screenshots or Logs
If applicable, add screenshots, command line used, and  output files to show the output to help explain your problem.
W00EGS1017196-2019-11-27.15.13.csv.txt
Desktop (please complete the following information):

Debian 9, v.09 snapshot 1
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Fixed in #44


Automatically scrolls down to dropzone when element is dropped

I tried it with forward ref
Snippet of DropZoneList
const DropzoneList = forwardRef(
  <DroppableObject extends PossibleDroppableObject>(
    props: WithFileProps<DroppableObject> | WithoutFileProps<DroppableObject>, ref:any) =>
  {

However, I get the error:
ERROR in src/js/external-forms/form-concept-group/FormConceptGroup.tsx:194:9
TS2322: Type '(item: DragItemFile | DragItemConceptTreeNode) => void' is not assignable to type '((props: PossibleDroppableObject, monitor: DropTargetMonitor<unknown, unknown>) => void) | ((props: PossibleDroppableObject, monitor: DropTargetMonitor<...>) => void)'.
  Type '(item: DragItemFile | DragItemConceptTreeNode) => void' is not assignable to type '(props: PossibleDroppableObject, monitor: DropTargetMonitor<unknown, unknown>) => void'.
    Types of parameters 'item' and 'props' are incompatible.
      Type 'PossibleDroppableObject' is not assignable to type 'DragItemFile | DragItemConceptTreeNode'.
        Type 'DragItemQuery' is not assignable to type 'DragItemFile | DragItemConceptTreeNode'.
          Type 'DragItemQuery' is missing the following properties from type 'DragItemConceptTreeNode': ids, tables, selects, tree, and 2 more.

Do you have any idea how to fix that issue? ( I did not want to commit something with errors, lmk if I should do it anyways)


Ability to collect/push Jenkins Metrics plugins metrics to DataDog

The Metrics plugin provides a lot of Jenkins related metrics which could be very useful to have in DataDog.
Some random thoughts:

The dependency between DataDog plugin and Metrics could be optional: DataDog plugin could collect/push metrics only if Metrics plugin is installed
A field in the DataDog configuration could enable/disable this capability
It's probably required to enforce usage of dogstatsd in this case (as there is a bunch of metrics)
Could be interesting to provide a way to only push a subset of the metrics provided by the Metrics plugin

I'm wondering if it's not better to create a dedicated plugin, WDYT?

Hey @mpailloncy it may be better for the Metrics plugin to add Datadog support like they do for Graphite. The metrics appear to be in the statsd format already, it may not be too difficult to add support for a Datadog agent installed on the Jenkins master.

Okay, so you're suggesting a dedicated plugin like https://github.com/jenkinsci/metrics-graphite-plugin right?

Hey again @mpailloncy, I did some more digging and found a Datadog reporter listed on Dropwizard's Third Party Libraries page 😃 . Check out the repo here, coursera metrics-datadog.

Hi @sjenriquez, I did some experiments and that seems to work as expected (all metrics pushed to DataDog, without a lot of effort). I'll continue to experiment and keep you inform here.
The only downside I found yet is that some metrics overlap: like jenkins.queue.size (this plugin) and jenkins.queue.size.value (coming from Metrics plugin) for example

@mpailloncy Glad to hear you got that plugin working without much effort. While our Jenkins plugin does not have custom metric name prefixing, the coursera/Dropwizard plugin does have this option. This could be a workaround to prevent duplicate metric naming. I'm going to close this issue out, but please feel free to reply or reach out to<EMAIL_ADDRESS>if you have an further questions. Thanks!

Hi @sjenriquez, FYI the plugin is now hosted on jenkinsci org and a first version has been released: https://github.com/jenkinsci/metrics-datadog-plugin


Feature: add celery and associated tasks

I could pretty easily use celery to handle the periodic update request... seems like a bit of overkill for this, but ... I can set it up pretty fast.  The real issue will be deployment.

Celery config and tasks exist.  What I really need for this is a test.


Which version does this apply to?

I have v14.6 on-premises and this information doesn't apply to me. I am the SUPER user but a search for "retention" doesn't find anything at all.
I have no idea which version of BC any of these documentation pages are referring to.

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

ID: ce850dab-5ea7-a7c5-1532-4452688dd7c9
Version Independent ID: 56e66049-43d8-cae5-b705-34c4c259d3b2
Content: Clean Up Data with Retention Policies - Business Central
Content Source: business-central/admin-data-retention-policies.md
Service: dynamics365-business-central
GitHub Login: @bholtorf
Microsoft Alias: bholtorf

Hello,
Thank you for your feedback! The content on Docs.microsoft.com generally reflects the latest version of Dynamics 365 Business Central unless a different version is explicitly specified.
In general, we recommend that organizations that deploy Business Central on-premises deploy their customized Help content to their own website, be that an online library or the legacy Help Server website. That way, users such as yourself will not be confused that the content on Docs.microsoft.com does not match their experience of the product.

Thanks for the recommendation but I have to be frank and let you know that it's an impossibility for many businesses. It's literally impossible to do that because it's so far down on the priority list.
I feel like Microsoft removed all hint of version(s) of software from the docs. Is that true? If so, my take is it was too hard even for the experts to understand what was happening so you just got rid of it and put the responsibility on the customer.
Back to your first statement. What is the latest version?
Thank you!

Closing as answered. Also, we now have downloads available per major version and last-update-before-latest-version: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/help/contributor-guide#get-content-from-the-github-repos


Swiper JS 3D cube not working on mobile browsers

This is a (multiple allowed):

[ ] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 6.0.4

Platform/Target and Browser Versions: iOS Safari (or any mobile browser)

Live Link or JSFiddle/Codepen or website with isssue: https://www.abdesign.us

What you did
I built a 3D Cube swiper based off of the stock example on https://swiperjs.com/demos/ .
Then, I added autoplay to it.
Then, I edited the custom CSS a bit in order to make it fit on my webpage.
Expected Behavior
3D Cube Swiper JS should function the same on mobile the same as it does in any desktop browser.
Actual Behavior
When viewing the webpage on a desktop browser, the swiper works as expected, and it is responsive while scaling the browser window down to mobile device width(s).
However, when viewing the webpage on iOS Safari or iOS Chrome, the swiper displays all slides on top of one another as if the js is failing to initialize entirely.
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.
Before you open an issue, please check if a similar issue already exists or has been closed before.

As you can see it is working at https://swiperjs.com/demos/230-effect-cube.html on mobiles. Look for JS errors/issues on your website

As you can see it is working at https://swiperjs.com/demos/230-effect-cube.html on mobiles. Look for JS errors/issues on your website

Thank you


Listening to user is followed event

I'm trying to listen via user stream the "user is followed" event in order to notify when my account gets a new follower accordingly to this page: https://dev.twitter.com/streaming/overview/messages-types#Events_event
I don't know if I'm doing something wrong or it's the module. My code is like follows:
var twitterClient = new Twitter({...});
twitterClient.stream('user', {'with':'user'},  function(stream){
stream.on('data', function(event) {
console.log(event);
});
    stream.on('error', function(error) {
        console.log(error);
    });
});

Actually I get some things like friends id's but nothing about new followers :(
is there a solution ? Thanks in advance.

This might be helpful: https://github.com/Roach/node-twitter-contributors/blob/master/daemon.js#L178-L190

This is a dupe of #90


Add a code owners file

Summary
Adds a codeowner file, this was just introduced yesterday ( https://github.com/blog/2392-introducing-code-owners ) and it allows people to be pinged about specific areas of the codebase. This means that for the embedded packages we can ping individuals without manual intervention 🍡
I'm sure there are more places this could be useful, but this is a good start.
Test plan
No tests

Sweet feature.

Missing:
*.js @cpojer

:trollface:

Was kinda tempted ;)

Clowns