[Story] Bicep Parameters File

First Release: #9567

Bicep Parameter Files
Bicep Parameters has been one of our most requested features. During the summer, the Bicep team will be building a prototype of what this experience looks like, with the intention to ship the MVP described below if we get a positive reaction.
Goals

To make it easier to provide parameters for Bicep deployments
To provide a smooth user experience with Intellisense support that mirrors Bicep files
To allow users to perform validation on parameter values before deployment to Azure

Non-Goals

To modify existing the existing functionality of Bicep files
To resolve issues that arise from managing complex objects or deployment stacks

Requirements
Summer
Basic Language Features
Syntax

I can use the syntax param paramName = value to set a parameter value from the Bicep template
I can use the syntax using 'path/filename.bicep' to select which Bicep template file to point at in order to find available parameters
I can see syntax highlighting consistent with existing highlighting
I can add comments to the parameter file with either // or /**/
I can use Bicep syntax to declare objects and arrays

Compilation/CLI

I can compile the Bicep parameter files into JSON to deploy with a Bicep file

Code Completion and Navigation

I can see available parameters and descriptions from the linked Bicep template after typing the keyword param
I can get errors if set values are of the wrong type or do not follow constraints set by decorators as described in the Bicep template
I can view the description and other decorators in a tooltip box after typing the symbol

I can see the allowed values for parameters that utilize the @allowed decorator

I can use Go To Definition to jump to the location in the Bicep file where the parameter is defined
I can use Find Ref to pull up a VS Code window that shows all references to a parameter
I can see all instances of a symbol being used in a file when my cursor is on a symbol (highlights)

Example
using './main.bicep'

param paramString = 'foo'
param paramNum = 1
param paramObject = {
  name: 'VNet1'
  location: 'EastUS'
}

MVP
Basic Language Features
Code Completion and Navigation

I can rename a parameter in the parameter file and have all instances of it change in the Bicep file and vice versa
I can see an outline of all the parameters I have declared in the outline view of the explorer in VS Code

String Replacement and Expressions

I can define variables in the parameter file using the variable declaration syntax in Bicep
I can use ${varName} to do string replacement in parameter files
I can override variables in the command line at deployment time and replace all instances of ${varName}
I can override parameter values in the command line at deployment time
I can use functions such as uniqueString() and contains() to dynamically set a parameter

We will not allow non-deterministic functions such as resourceGroup().id

I can use parameter values in other parameters (for example in the case of string replacement)

Environment Variables

I can pass in environment variables as parameter and variable values

Load Functions

I can use the three load functions loadFileAsBase64(), loadTextContent(), and loadJsonContent() to bring in values from other files
I can get the same dot operator completion experience as in Bicep files

Bicep Parameter File Generation

I can use a VS Code action to generate a Bicep parameter file based off a Bicep template
I can go from .bicep to Bicep parameters

Compatibility with Current Tooling

I can use Azure CLI to deploy with a Bicep parameter file
I can use Powershell to deploy with a Bicep parameter file
I can use the current Generate Parameter File action to generate a Bicep params file
I can use the current Deploy File action to read parameters from a parameter file and complete any missing ones

Future Tasks
These features may require further investigation and we intend to spend more time to provide a detailed spec that reflects their functionality to the fullest extent. We would love to hear further feedback on these items!
Modular Parameters

I can create parameter files that do not need to be linked to a Bicep template
I can import parameter files into others with an import directive
I can pass values to the parameters in other files to enable replacement similar to Bicep modules

Setting Deployment Properties in Param Files

I can set the deployment properties for the Bicep template in the parameter file
I can override the set deployment properties in the command line on deployment
I can choose whether to include values for optional deployment properties
Example:

deploy './main.bicep' {
    location: 'West US'
    mode: 'Incremental'
    name: 'deploy-prod'
    group: 'myRg'
}

getSecret()

I can use the getSecret() function in the parameter file to access Key Vault secrets

Open Questions

What syntax should be used to set parameter values? To link parameter files with Bicep?
Can you link one parameter file to multiple Bicep files?
What happens if you rename the Bicep file that the parameter file points to?

Appendix
support parameters files natively in bicep (399)

This was mentioned on the comments in the community call, but just adding my two cents here.
The file name extension for the params file, in my opinion, should remain as .bicep.
Logic should be introduced to a .bicep file to reverse the param file logic of "using", for example "usedby" or similar.
Thus tying the two files together.
I know there was mention of introducing inherited or root structure param files, I presume the approach here would be parent and child, again the same logic of tying files together could be used.
My main point I guess is, I don't see the value in introducing a new file name extension as well as having to specify the file within the code itself.

A parameter file is a great idea. Thank you for working on it. I am just throwing out my two thoughts about it.

The parameters file is not a good location for using './main.bicep'.

To my understanding, we use this line to tell VS Code Extension where to find template params so that it can validate the values in the parameters file. In this case, the validation is the VS Code extension's concern, not the bicep engine's. In my opinion, VS Code extension should ask users where to find the template file when the parameters file is opened if it is not already set.
if the bicep engine also uses this line during the compilation, the engine should get the template file from the command. Users should pass the parameters file along with the template file. i.e. az deployment group create -g ExampleGroup --template-file main.bicep --parameters @dev.bicepparams

The word param at the beginning of each parameter in the parameters file is unnecessary as everything in the parameters file will be the value of a parameter

Example
paramString = 'foo'
paramNum = 1
paramObject = {
  name: 'VNet1'
  location: 'EastUS'
}

@musaugurlu

While we considered using an extension to point at the template parameters, we decided to use an explicit link in order to remind users which Bicep file it is linked to and keep the validation consistent when deploying with the different tools. To address your second point, for the first iteration, we will build the parameters file into a params.json file which will be passed to the command line in the same way it is now. In the future, we intend to be able to deploy just by providing the parameter file, since the two will be linked.
Although seemingly redundant, we kept the param keyword because we intend to introduce variables in the future with the var keyword, similar to those in Bicep files, and to keep the language consistent, we decided to keep the directive.

@sydkar
I am unaware of how other tools deploy bicep templates, but using using statement makes sense if there is any intention to deploy with parameters file only. Thank you for explaining it.
But I am curious about the use cases to pass variable values from the parameters file. If you pass values to both parameters and variables from the same file(or from outside of the template), what is the difference between parameters and variables?
Other tools such as Terraform and Ansible pass variables from the command line or file because they don’t have parameters.

@musaugurlu
The intent with variables is not to pass them between the Bicep template file and the parameters, it was meant to be used only in the parameter files to enable expressions and functions.

I agree with @musaugurlu regarding the exclusion of param from each entry. This feels unnecessary as all entries should be parameter key-value pairs.
As a user of both Bicep and Terraform (and seeing the similarities between the two), it would make sense to keep the param file as simple as possible, similar to the Terraform tfvars files.
As such, whilst I understand the thinking behind supporting vars and functions within the param file, I think this type of logic (beyond loading values from other file sources) should occur in the deployment template instead.
However, I can see the benefit of linking a param file to the associated bicep template with the using 'path/filename.bicep' syntax. Terraform does this by virtue of the way modules are constructed. i.e. all files within a folder are evaluated as a single "deployment". As bicep works at the individual file level, having this (optional) reference makes it easier to have the bicep compiler and extensions work with minimal user input.
Thinking about file naming, rather than using a specific file name, it might work well to use .bicep and then allow a bicep deployment to utilise the presence of the using 'path/filename.bicep' entry to enable deployment using the parameter file only. i.e. bicep will automatically load the bicep template when a valid parameter file is selected for deployment.
Thinking about other use cases for the using 'path/filename.bicep' syntax. It might also be useful to allow multiple param files to be chained together. This would be really useful for multi-environment deployment scenarios as it would allow a developer to specify a parameter file per environment containing values for that specific environment only, which points to a generic parameter file containing "safe defaults" for parameters, which then points to the deployment template.
Thinking about this in the context of a GitOps process, this would allow CODEOWNERS to be used to control who can make changes to parameters for each environment, and for the "safe defaults". If you can provide a way to flag a variable in the "safe defaults" as mandatory, you could then alter the merge behaviour to stop an environment owner overriding a safe default. The only difficulty I can see with this is how to enforce the correct order of dependencies.
For the proposed feature "I can use a VS Code action to generate a Bicep parameter file based off a Bicep template" it would be useful to automatically add all parameters with default values where present. If no default is specified, the type should be specified so the developer knows what is expected.

@krowlandson
While we want to keep the parameter files as simple to author as possible, we want to enable users to use variables with the intent that it will help with string replacement in parameter values.
We have also looked into the extension and came to the conclusion that having a separate extension would be better as it would create a clear distinction for the language server to provide syntax validation. We are planning to eventually be able to automatically load the bicep template when the parameter file is deployed, as you described.
Your suggestion on chaining multiple parameter files together is something we are looking into and hoping to implement sometime in the future. We understand the want to be able to link multiple params files for a deployment and think it is an important capability to have.
Finally, to your point on the generated parameter file, I like your suggestions, and they align with the current behavior of ARM parameter generation, so we will be sure to keep these in mind!

Super excited to see this being worked on. Currently, parameters make my bicep files look TERRIBLE, taking up dozens up dozens of lines at the top of my files. Great start here! See here for the before https://github.com/Azure/azure-quickstart-templates/blob/master/application-workloads/azure-gamedev/gamedev-vm/main.bicep
After
main.bicep
using main.parameters.bicep

module gamedevvm './nestedtemplates/gamedev-vm.bicep'  = {
  name: 'gamingDevVM'
  params: {
    location: location
    vmSize: vmSize
    adminName: administratorLogin
    adminPass: passwordAdministratorLogin
    osType: osType
    gameEngine: gameEngine
    remoteAccessTechnology: remoteAccessTechnology
    _artifactsLocation: _artifactsLocation
    _artifactsLocationSasToken: _artifactsLocationSasToken
  }
}

main.parameters.bicep
@description('Deployment Location')
param location string = resourceGroup().location

@description('The base URI where artifacts required by this template are located including a trailing \'/\'')
param _artifactsLocation string = deployment().properties.templateLink.uri

@description('The sasToken required to access _artifactsLocation.')
@secure()
param _artifactsLocationSasToken string = ''

@description('Select Game Engine Version')
@allowed([
  'ue_4_27_2'
  'ue_5_0_1'
])
param gameEngine string = 'ue_4_27_2'

@description('Select Operating System')
@allowed([
  'win10'
  'ws2019'
])
param osType string = 'win10'

@description('Select Virtual Machine Skew')
@allowed([
  'Standard_NC4as_T4_v3'
  'Standard_NC8as_T4_v3'
  'Standard_NC16as_T4_v3'
  'Standard_NC64as_T4_v3'
  'Standard_NV6'
  'Standard_NV12'
  'Standard_NV24'
  'Standard_NV12s_v3'
  'Standard_NV24s_v3'
  'Standard_NV48s_v3'
])
param vmSize string = 'Standard_NV12s_v3'

@description('Administrator Login for access')
param administratorLogin string

@description('Administrator Password for access')
@secure()
param passwordAdministratorLogin string

@description('Remote Access technology')
@allowed([
  'RDP'
  'Teradici'
  'Parsec'
])
param remoteAccessTechnology string = 'RDP'

But... even given the new option for a parameters file, I still find the syntex for parameters to be extremely bloated, because of all the annotations that are allowed. Even if each annotation collapses to a single line, the rate of lines per parameters is still always greater then 1:1. (meaning if I add one parameter, it adds at least 3 lines to my file if I include description and new line)
The bicep formatter already collapses code after the "=". I would be nice to leverage this syntex for parameters too. Particularly with some hopes in the future where parameter types can be more advanced.
Extended

Collapsed

(the collapse would be even more perfect, if instead of '...' we showed the preview of the text on the single line, as well as collapse that extra '}' in with the rest, but was going to make that its own request)

I also do not think it is likely that this issue will be solved as first requested, but improving how parameters are defined could resolve it. #4184

[Idea]
Don't generate parameter in parameter files if default value is function like,

param par_instance_number string = substring((uniqueString(subscription().id)),0,2)

param par_base_name string = substring((subscription().subscriptionId),0,4)

[Idea]
Don't generate parameter in parameter files if default value is function like,
param par_instance_number string = substring((uniqueString(subscription().id)),0,2)

param par_base_name string = substring((subscription().subscriptionId),0,4)

Or create them commented out to simplify use if someone wants to override?

But... even given the new option for a parameters file, I still find the syntex for parameters to be extremely bloated, because of all the annotations that are allowed. Even if each annotation collapses to a single line, the rate of lines per parameters is still always greater then 1:1. (meaning if I add one parameter, it adds at least 3 lines to my file if I include description and new line)

I'm not sure whether this was the true intent of the parameters file option in Bicep, but it raises an interesting point around another value add we could get from Bicep.
Terraform (sorry, not sorry) uses the concept of a "root module" whereby all files within the root module directory are evaluated as a whole when determining what to deploy. This allows developers to break apart code into multiple files. A common pattern is to have a file per resource type, or a file for specific groups of variables, etc. This makes the code easier to maintain for large deployments.
Taking the idea from @dciborow, it would be awesome if Bicep would allow the compilation of a deployment from multiple files. This could enable re-use of code without having to formally make it a "module".
Why might you want to do this? Each Bicep module translates to an ARM "deployment". Each ARM deployment can take a while to start, resulting in unnecessary provisioning delays (especially when no changes are needed). But more importantly, delays in replication across the platform (eventual consistency) can also make it problematic when deploying dependent resources across multiple deployments. This can result in failed deployments despite using a "valid" template, resulting in a poor user experience.
Similar to my idea above of allowing "parameter chaining", making use of the using concept could also allow a primary Bicep template to reference other Bicep templates to include as part of the final ARM template and allow resources "sourced from modules" to be included within a single ARM deployment.
Modules can then be used for more specific scenarios like when a change of deployment scope is needed, or for parallel deployment of batches of the same group of resources, etc.

@krowlandson -- I think the scenario you are describing is in #363

@mimachniak -- we cannot allow non-deterministic functions in the parameters file because we need to be able to generate a JSON parameters file with only hardcoded, static values. Also, FWIW, can't parameters like this be a variable in the template itself? Do you want the parameter to always be that value or would that depend on who is deploying the bicep file?

@krowlandson Kevin Rowlandson FTE -- I think the scenario you are describing is covered in #363. Can you confirm?

Certainly seems so @alex-frankel...
I think the only difference would be that #363 implies that Bicep evaluates "all files in the specified directory" (which is aligned to the Terraform approach) whilst I was suggesting that using could explicitly pull multiple Bicep files into a single deployment template, offering greater flexibility and control over which files to combine (and from where).
Both seem valid scenarios.

First Release - Plans
Here are the features we're proposing for the first official release (combination of the "Summer" & "MVP" section - with some MVP pieces cut out).
Basic Language Features
Code Completion and Navigation

I can rename a parameter in the parameter file and have all instances of it change in the Bicep file and vice versa
I can see an outline of all the parameters I have declared in the outline view of the explorer in VS Code

Code Completion and Navigation (Verify these are already done)

I can see available parameters and descriptions from the linked Bicep template after typing the keyword param
I can get errors if set values are of the wrong type or do not follow constraints set by decorators as described in the Bicep template
I can view the description and other decorators in a tooltip box after typing the symbol
I can see the allowed values for parameters that utilize the @Allowed decorator
I can use Go To Definition to jump to the location in the Bicep file where the parameter is defined
I can use Find Ref to pull up a VS Code window that shows all references to a parameter
I can see all instances of a symbol being used in a file when my cursor is on a symbol (highlights)

Environment Variables

I can pass in environment variables as parameter and variable values

Bicep Parameter File Generation

I can use a VS Code action to generate a Bicep parameter file based off a Bicep template

Compatibility with Current Tooling

I can use Azure CLI to deploy with a Bicep parameter file
I can use Powershell to deploy with a Bicep parameter file
I can use the current Generate Parameter File action to generate a Bicep params file
I can use the current Deploy File action to read parameters from a parameter file and complete any missing ones

Is bicepparams available for testing with a feature flag in bicepconfig.json?

@stephaniezyen / @Usman0111 -- do we have an easy way to test this out yet? I know at one point it required building the extension from source, but not sure if that is still the case.

@akata72 we will enable the vs code extension to provide intellisense  for .bicepparam files in v0.16 release so you should be able to use them with a feature flag set in bicepconfig.json see instructions

I would appreciate if someone could elaborate what the rationale is behind the choice for an additional file extension.

Value replacement is really hard with valid json. Example:
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "<IP_ADDRESS>",
  "parameters": {
    "intValueParam": {
      "value": ${env:something}
    },
    "otherIntValueParam": {
      "value": ${referenceToSomeOtherParameterPassedByCLI}
    }
  }
}

I think this is the most obvious example. Some of the replacement can be done with current tolling using ReplaceTokens task but writing JSON-based parameter file is PITA because authoring tolling complains when supplied values does not match with paramter types.

@JorgeDios -- to put it simply, the rules are different for what is valid bicepparam syntax vs what is valid bicep syntax. For ARM templates, while the template and parameter files both used the .json file extension, they were distinguished by the $schema property being specific to each case. Using a different file extension essentially serves the same purpose without having to clutter the actual file contents.
For those that would prefer everything be a .bicep file extension, can you help us understand what the benefit is? Everything being JSON was helpful in that there are many JSON parsing libraries, but there are no .bicep or .bicepparam parsing libraries other than what we ship with the language service, so it is not obvious to me what the benefit is.

I would like to see a tooling to extract parameter values from bicepparams at some point. Use case:

Use the values as inputs for pre- ajd post-deployment scripts.

@alex-frankel -- Thank you for the clear and concise clarification. I totally understand now why it has been chosen to use a new file extension.
To me, it was a matter of uniformity. The whole purpose of a file extension is to indicate the file format so the parser / system knows how to process it. I was therefore assuming that the bicep format would be enriched to identify what was being declared as parameter input.
However, if I understand you correctly, a different approach is implemented: a bicepparam will be using a similar but different syntax that the one used by bicep (templates). Using a different extension will indicate the system / parser which set of rules to apply to interpret it.
A matter of taste / style, I guess. Or may be a way to reduce complexity of the overall bicep implementation...
Anyhow, it is clear to me now, and based on the bicep's team track record, this will be probably the right thing to do.

Does it make sense to include the ability to include the description in the bicepparam file?
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "<IP_ADDRESS>",
  "parameters": {
    "Prefix": {
      "value": "AEU1",
      "metadata": {
        "description": "region prefix e.g. acu1 or aeu1"
      }
    }
  }
}

@description('region prefix e.g. acu1 or aeu1')
param prefix = 'AEU1'

I had indeed the same question. We provide our ops teams with several parameter input files which are used in combination with parent modules calling child modules for resource deployment.
It would be very helpful to have the possibility to add descriptions to the parameter files because it will save the ops teams a lot of time. They don't need to go to check either the readme.md of the parent module or the parameter description in the parameter module.
The parameter files now are quite hard to read because they consist of quite large sets of parameters. It's not always clear from the parameter name alone what the parameter is about.

Not sure if this has already been considered but what would be really great is to reference secrets via key vault (similar to Azure Container Apps secrets references pointing to a secret URI in a key vault) and they get pulled out automatically during deployment. Arguably that would require ARM support but that would be the ultimate feature to avoid sprinkling secrets all over the place during deployments and having to take care to not accidentally leak them via logging, temp file artifacts or command line parameter snooping via ps

Key vault references is already supported by ARM/ JSON paramter files: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-use-key-vault and by Bicep: https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-resource#getsecret
There is a ticket (and PR) to provide getSecret() in .bicepparams context: https://github.com/Azure/bicep/issues/10652

Hello, I am facing the following issue: I defined multiple parameters in the Bicep file, and one of the parameters has a validation (can be valueA or valueB). I want to pass a value for this parameter inline (calculate logic with powershell and decide what the value will be during runtime), while I have a parameter file as well.
If I define a parameter in the bicepparam file, and give it a blank value, and as well overwrite it inline, I get the error from the bicepparam file, that the value must be either valueA or valueB. If I leave  out the parameter from the bicepparam file, validation fails because the parameter is not present. How do I go around this issue?


Magic link - Resend link button can be clicked several times in a row

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

Action Performed:

Navigate to New.Expensify.com
On the email field enter a valid email
Click on Forgot?
Click on the resend link several times.

This can also be reproduced when creating a new account.
Expected Result:
USer should be limited to clicking the resend link to avoid clicking it twice by mistake.
Actual Result:
User can click the resend button twice by mistake and send 2 magic link emails.
Workaround:
Clicking the button just once will trigger the magic link.
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.0.93-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/44479856/132075403-38c89065-b294-4b9f-ae6c-36ac80aaded3.mp4
Expensify/Expensify Issue URL:
View all open jobs on GitHub

From @akshayasalvi https://expensify.slack.com/archives/C01GTK53T8Q/p1630627687356400

You can click the magic link multiple times. We should have a waiting period of 5-10 secs may be before allowing user to click Resend.

Triggered auto assignment to @timszot (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Proposed Solution
We have to update logic within src/pages/signin/ResendValidationForm.js file.
i..e Set state variable named allowResendLink: true  So when Resend link button tapped we have to set allowResendLink: false within validateAndSubmitForm() block, and after 5 seconds time out we have to set allowResendLink: true (Timeout block already there, so we have to add allowResendLink: true within timeout block)
So during 5 seconds time period if user will tap button again and again, it will return from validateAndSubmitForm() block without calling any api.
Below is the src/pages/signin/ResendValidationForm.js code after updates done as per my suggestion.
    this.state = {
        formSuccess: '',
        allowResendLink: true,  // Newly added code
    };

Also we have to update validateAndSubmitForm function as under, i.e. we have to check allowResendLink from state and return if it false, otherwise allow to resend link after 5 seconds.
    validateAndSubmitForm() {
        // Newly added code
        if (!this.state.allowResendLink) {
            return;
        }

        this.setState({
            formSuccess: this.props.translate('resendValidationForm.linkHasBeenResent'),
            allowResendLink: false,  // Newly added code
        });

        if (this.props.account.closed) {
            reopenAccount();
        } else if (!this.props.account.validated) {
            resendValidationLink();
        } else {
            resetPassword();
        }

        this.successMessageTimer = setTimeout(() => {
            this.setState({formSuccess: '', allowResendLink: true});   // Added allowResendLink: true
        }, 5000);
    }

If this issue consider as External and my solution accepted then kindly invite me on Upwork project. Here is my Upwork profile: https://www.upwork.com/freelancers/~01c718889ed7821f82    Thanks.

Other possible solution I thought is to disable "Resend link" button during 5 seconds timeout period, but it will change ui behaviour, and disabled button does not look good for 5 seconds. Also disable button feels to user that something is stuck and ui is not responding etc. i.e. Overall user experience was not good if we disable "Resend link" button. So I suggested the above solution.

Thanks for accepting the raised issue.
Proposal
I feel this page can be improved a bit with the UX. While we can close this with a basic disableResend flag, the user won't know why is he not allowed to click the button again. I feel we should add a resend countdown and enable the button after the countdown is over.
Inside, ResendValidationForm we do the following:
super() {

	this.timer = null;

}

componentDidMount() {
	startTimer();
}

startTimer() {
	this.setState({
		countDownSeconds: CONST.RESEND_LINK_SECS_TIMEOUT
	});
	this.timer = setInterval(countDown, 1000);
}

validateAndSubmitForm() {
	// Other blocks and checks

	// Remove this block
	// this.successMessageTimer = setTimeout(() => {
    //        this.setState({formSuccess: ''});
    //    }, 5000);
	// and replace with following:
	startTimer();
}

countDown() {
	let countDownSeconds = this.state.countDownSeconds - 1;
	let stateToUpdate = {
		countDownSeconds
	}
	if(countDownSeconds === 0) {
		clearInterval(this.timer);
		stateToUpdate.formSuccess = '';
	}
	this.setState(stateToUpdate);
}

render() {

	return (

		// Other existing code
		{this.state.countDownSeconds !== 0 && !_.isEmpty(this.state.formSuccess) && (
            <Text style={[styles.formSuccess]}>
                {this.state.formSuccess}
            </Text>
        )}
		<View style={[styles.mt4]}>
	        <Button
	            success
	            isDisabled={this.state.countDownSeconds}
	            style={[styles.mb2]}
	            text={this.props.translate('resendValidationForm.resendLink')}
	            isLoading={this.props.account.loading}
	            onPress={this.validateAndSubmitForm}
	        />
	        <ChangeExpensifyLoginLink />
	    </View>
	    {
			this.state.countDownSeconds > 0 ?
				<Text>{translate('resendValidationForm.countdownText', { countDownSeconds })}</Text>
			:
				<Text>{translate('resendValidationForm.notReceivedLink')}</Text>
		}
	)

}

And add translations and in CONST:
	en.js
		resendValidationForm: {
			countdownText: (countDownSeconds) => `You can resend the link after ${countDownSeconds < 10 ? '0':''}${${countDownSeconds}} secs`
		},
		notReceivedLink: 'Didn't receive the link yet? You can now resend'

	es.js
		resendValidationForm: {
			countdownText: (countDownSeconds) => `Spanish variation will be added here.`
		},
		notReceivedLink: 'Spanish translation'

	// CONST.js
	RESEND_LINK_SECS_TIMEOUT: 15

Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@isagoico I guess this isn’t assigned to anybody and hence it hasn’t moved forward.

Mmmm ill re add the engineering label so an engineer can check it out

Triggered auto assignment to @HorusGoul (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Thank you @isagoico

Triggered auto assignment to @kevinksullivan (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Going to close this one out, since we are focused on changing the sign in page/logic more holistically in an internal Gh https://github.com/Expensify/Expensify/issues/176333


Queue setup

I follow the instruction here https://github.com/codalab/competitions-v2/wiki/Compute-Worker-Management---Setup to setup a new queue (not even a GPU one)
The command I used was:

docker run
-v /var/run/docker.sock:/var/run/docker.sock
--env BROKER_URL=pyamqp://dd64f051-6cd3-4c4e-a646-ef5980276e1f:1dc2fa65-fd93-4260-bab2-0f39d6917030@broker.codabench.org:9001/b348279e-acb4-4178-8778-a8805f7dda3c
--name compute_worker
-d
--restart unless-stopped
--log-opt max-size=1m
--log-opt max-file=3
codalab/competitions-v2-compute-worker

The broker url corresponds to the queue I created on v2:

The docker logs shows:

/usr/local/lib/python3.8/site-packages/celery/platforms.py:800: RuntimeWarning: You're running the worker with supe
ruser privileges: this is
absolutely not recommended!
Please specify a different user using the --uid option.

Trying again in 2.00 seconds...
[2021-01-11 07:32:09,421: ERROR/MainProcess] consumer: Cannot connect to amqp://dd64f051-6cd3-4c4e-a646-ef5980276e1

Please help with this!

Specifically: I think you need BROKER_USE_SSL=True, the wiki had some nice instructions using a .env to configure it

Specifically: I think you need BROKER_USE_SSL=True, the wiki had some nice instructions using a .env to configure it

Thanks for the update. I have gone through the updated instructions and succeeded with CPU queue setting up. After I submit a job, I can see from docker logs that this job is picked up.
However, I failed with GPU queue setup. After I followed the instructions, and run the command of "nvidia-docker", I can see from docker logs below:

[2021-01-19 13:05:16,899: INFO/MainProcess] Connected to<EMAIL_ADDRESS>bench.org:9001/8e373353-3d07-4ea1-8fe3-c773a6277a56
[2021-01-19 13:05:17,735: INFO/MainProcess] mingle: searching for neighbors
[2021-01-19 13:05:21,157: INFO/MainProcess] mingle: all alone
[2021-01-19 13:05:23,479: INFO/MainProcess] compute-worker@14ff227091cb ready.

But after I submit a job, this queue remains this status and doesn't pick the job for processing as what I observe from CPU queue.
Thus, I have to reopen this issue and thanks a lot @ckcollab @Logan-Ruf  for checking this! GPU queue setting up is blocking us.
The command I used was:

nvidia-docker run
-v /home/zhxu_cs_gmail_com/codabench/cache:/codabench
-v /var/run/docker.sock:/var/run/docker.sock
-v /var/lib/nvidia-docker/nvidia-docker.sock:/var/lib/nvidia-docker/nvidia-docker.sock
-d
--env-file .env
--restart unless-stopped
--log-opt max-size=50m
--log-opt max-file=3
codalab/competitions-v2-compute-worker:nvidia

My '.env' file:

BROKER_URL=pyamqp://dd64f051-6cd3-4c4e-a646-ef5980276e1f:1dc2fa65-fd93-4260-bab2-0f39d6917030@broker.codabench.org:9001/8e373353-3d07-4ea1-8fe3-c773a6277a56
HOST_DIRECTORY=/home/zhxu_cs_gmail_com/codabench/cache
BROKER_USE_SSL=True

Thanks for the update. I have gone through the updated instructions and succeeded with CPU queue setting up. After I submit a job, I can see from docker logs that this job is picked up.
However, I failed with GPU queue setup. After I followed the instructions, and run the command of "nvidia-docker", I can see from docker logs below:

[2021-01-19 13:05:16,899: INFO/MainProcess] Connected to<EMAIL_ADDRESS>bench.org:9001/8e373353-3d07-4ea1-8fe3-c773a6277a56
[2021-01-19 13:05:17,735: INFO/MainProcess] mingle: searching for neighbors
[2021-01-19 13:05:21,157: INFO/MainProcess] mingle: all alone
[2021-01-19 13:05:23,479: INFO/MainProcess] compute-worker@14ff227091cb ready.

But after I submit a job, this queue remains this status and doesn't pick the job for processing as what I observe from CPU queue.
Thus, I have to reopen this issue and thanks a lot @ckcollab @Logan-Ruf  for checking this! GPU queue setting up is blocking us.
The command I used was:

nvidia-docker run
-v /home/zhxu_cs_gmail_com/codabench/cache:/codabench
-v /var/run/docker.sock:/var/run/docker.sock
-v /var/lib/nvidia-docker/nvidia-docker.sock:/var/lib/nvidia-docker/nvidia-docker.sock
-d
--env-file .env
--restart unless-stopped
--log-opt max-size=50m
--log-opt max-file=3
codalab/competitions-v2-compute-worker:nvidia

My '.env' file:

BROKER_URL=pyamqp://dd64f051-6cd3-4c4e-a646-ef5980276e1f:1dc2fa65-fd93-4260-bab2-0f39d6917030@broker.codabench.org:9001/8e373353-3d07-4ea1-8fe3-c773a6277a56
HOST_DIRECTORY=/home/zhxu_cs_gmail_com/codabench/cache
BROKER_USE_SSL=True

The nvidia worker may need an update, let me push a new build and lmk the results. Make sure your docker container is using this SHA version of the image: e38de654879042edf85dc9b08766da624dd928537730d22514ceda5e7cacfec7

The nvidia worker may need an update, let me push a new build and lmk the results. Make sure your docker container is using this SHA version of the image: e38de654879042edf85dc9b08766da624dd928537730d22514ceda5e7cacfec7

OK, tell me when the nvidia-docker is updated and I will test again. Thanks a lot @ckcollab

OK, tell me when the nvidia-docker is updated and I will test again. Thanks a lot @ckcollab

It's updated.

It's updated.

This worked! Many thanks!

This worked! Many thanks!

@ckcollab Hi Eric, do you put somewhere the dockerfile of the updated dockers (CPU and GPU both versions)?

@ckcollab Hi Eric, do you put somewhere the dockerfile of the updated dockers (CPU and GPU both versions)?

If I am understanding you, the Dockerfiles are at the root level of the repository:
https://github.com/codalab/competitions-v2/blob/develop/Dockerfile.compute_worker
https://github.com/codalab/competitions-v2/blob/develop/Dockerfile.compute_worker_gpu

If I am understanding you, the Dockerfiles are at the root level of the repository:
https://github.com/codalab/competitions-v2/blob/develop/Dockerfile.compute_worker
https://github.com/codalab/competitions-v2/blob/develop/Dockerfile.compute_worker_gpu

Yes, this is what I mean. But it seems not updated. You mentioned 1 week ago that you have updated the (gpu) docker. Could you update both dockerfiles (if any modification)? Many thanks!

It's updated.

Yes, this is what I mean. But it seems not updated. You mentioned 1 week ago that you have updated the (gpu) docker. Could you update both dockerfiles (if any modification)? Many thanks!

It's updated.

The docker file pulls in many files to make a "computer worker image." The file I changed was probably worker.py
You can see the version history and such here:
https://hub.docker.com/r/codalab/competitions-v2-compute-worker

The docker file pulls in many files to make a "computer worker image." The file I changed was probably worker.py
You can see the version history and such here:
https://hub.docker.com/r/codalab/competitions-v2-compute-worker

@ckcollab
Sorry to trouble you.
I have followed exactly all steps of @NehzUx but the GPU worker does not work,
When I make a submission at the Codalab website, the status of the submission turns to 'fail' (without any error message) and nothing happens at the GPU worker:
[2021-06-23 13:23:44,075: INFO/MainProcess] Connected to amqp://ff72bcc5-5d8a-4b63-99b5-fa7c42be6e2c:**@competitions.codalab.org:5671/fa343a86-5f71-4a2a-9e56-a85d438d8c08 [2021-06-23 13:23:45,132: INFO/MainProcess] mingle: searching for neighbors [2021-06-23 13:23:49,025: INFO/MainProcess] mingle: all alone [2021-06-23 13:23:51,862: INFO/MainProcess] compute-worker@99ed58e99a33 ready.
I have done the following checks:
The version of the docker image is indeed e38de654879042edf85dc9b08766da624dd928537730d22514ceda5e7cacfec7
The correct queue is used in the competition. I have checked with the competition-v1 docker image that the queue indeed works.


Update dataplane helper with scoped down IAM policy

Dataplane helper (which is needed for every operator) needs ability to invoke dataplane API handler lambda, but not lambda *

Pattern is completed and implemented for most operators
Just need to finish applying this to all operators

Fixed in #42


fix(action): remove set-action

remove ::set-output action
make setting env by default

The integration test should fail because it uses default branch as a source

Integration tests ran successfully on local machine.


Feat: Add a dependabot to manage npm dependencies

Describe the feature
Add a dependabot to manage npm dependencies because sometime we get error with using old dependencies version and there we need to bump but dependabot will manage those stuff
See this error- #983
Add ScreenShots
N/A
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

@TechSpiritSS


macOS local build does not pass architecture

Describe the bug:
Irrespective of the architecture flag passed, a darwin build on a darwin computer will compile it for the current architecture.
To Reproduce:
Steps to reproduce the behaviour:

go to an intel macOS
run fyne-cross darwin -arch arm64 -app-id thingy
run file fyne-cross/dist/darwin-arm64/thingy.app/Contents/MacOS/thingy

See
fyne-cross/dist/darwin-arm64/thingy.app/Contents/MacOS/thingy: Mach-O 64-bit executable x86_64

Device and debug info (please complete the following information):
Device info

OS: macOS (intel)
Version: Montery
Go version: 1.18.4
fyne-cross version: v1.3.0
Fyne version: v2.2.4

This seems to be also the case the other way around when building for amd64 on an arm64. I will get: /Users/administrator/BuilderSpace/nomad/fyne-cross/dist/darwin-amd64/Nomad.app/Contents/MacOS/nomad: Mach-O 64-bit executable arm64

This is actually fixed in the Apple M1 branch.

The branch for Apple M1 has been landed in develop and fixes this issue.


NavigationView: visual glitch when setting NavigationViewExpandedPaneBackground to an AcrylicBrush with BackgroundSource=HostBackdrop

Describe the bug
To enable acrylic on the expanded view of a NavigationView, one can set the NavigationViewExpandedPaneBackground  resource to an acrylic brush. This brush can have its BackgroundSource set to HostBackdrop in order to sample content from behind the app's window.
In 2.0.181018004, this worked fine.
In 2.1.190405004 and 2.1.190405004.1, this works, but a strange dark vertical bar is displayed on the expanded navigation view when the app loses focus. cf screenshots below.
Steps to reproduce the bug

Steps to reproduce the behavior:
Open and run the following repro project:
UwpApp.zip
Expected behavior
No dark vertical bar is displayed when the app loses focus.
Screenshots
Window has focus:

Window loses focus:

Version Info

NuGet package version: 2.1.190405004.1

Windows 10 version
Saw the problem?

Insider Build (18362)
Yes

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional context

The problem is that the AcrylicBrush's FallbackColor defaults to Transparent (arguably a poor default) which means that in the inactive state you're seeing through to some part of the tree that isn't expected to be visible. Set an opaque FallbackColor on AcrylicBrush to avoid this.
Our recommendation would be to use one of our named resources that are configured with good defaults. https://docs.microsoft.com/en-us/windows/uwp/design/style/acrylic#acrylic-theme-resources

That makes sense. Thank you for looking.


Add alot of pfps

closes #62

The Pfps are way to large, they need to be scaled down however i have no idea how to do that

attack of the grey meowy

yep, thats what i expected to happen. add the BM PFP's here to make them work

ok

AAAAAA I HAVE NO IDEA WHAT TO DO

why are they large?

grey meowy still

the padding needs to be added in the image

Ye, I just pasted the svgs from figma, no idea how to add padding via figma
On Mon, Jan 9, 2023, 11:00 PM CST1229 @.***> wrote:

the padding needs to be added in the image
—
Reply to this email directly, view it on GitHub
https://github.com/meower-media-co/Meower-Svelte/pull/64#issuecomment-1376736723,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHW4PZTDMOBQFFU4SCUVVDWRTUFPANCNFSM6AAAAAATV3MKMA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ye, I just pasted the svgs from figma, no idea how to add padding via figma

i think you could just add a transparent rectangle, or maybe resize the frame and export it as svg somehow?

creating a new PR for this, as it is easier to clear em

go to #71


[AutoDiff] Use PrettyStackTrace in differentiation transform.

Add PrettyStackTrace in the differentiation transform for the following actions:

Processing SIL [differentiable] attributes.

Generating JVP/differential functions.
Generating VJP functions.
Generating pullback functions.

Canonicalizing differentiable_function instructions.

Examples:
Assertion failed: (false), function processDifferentiableFunctionInst, file /Users/danielzheng/swift-build/swift/lib/SILOptimizer/Mandatory/Differentiation.cpp, line 8771.
Stack dump:
0.	Program arguments: /Users/danielzheng/swift-build/build/Ninja-ReleaseAssert+stdlib-Release/swift-macosx-x86_64/bin/swift -frontend -interpret simple_math.swift -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -color-diagnostics -module-name simple_math
1.	Swift version 5.1.1-dev (LLVM 6e04008c7f, Swift ccfec5fc42)
2.	While running pass #24 SILModuleTransform "Differentiation".
3.	While canonicalizing `differentiable_function` SIL node   %18 = differentiable_function [parameters 0] %17 : $@callee_guaranteed (Float, Int) -> Float // users: %22, %19
4.	While ...in SIL function "@main".

Assertion failed: (false), function VJPEmitter, file /Users/danielzheng/swift-build/swift/lib/SILOptimizer/Mandatory/Differentiation.cpp, line 3348.
Stack dump:
0.	Program arguments: /Users/danielzheng/swift-build/build/Ninja-ReleaseAssert+stdlib-Release/swift-macosx-x86_64/bin/swift -frontend -interpret simple_math.swift -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -color-diagnostics -module-name simple_math
1.	Swift version 5.1.1-dev (LLVM 6e04008c7f, Swift ccfec5fc42)
2.	While running pass #24 SILModuleTransform "Differentiation".
3.	While canonicalizing `differentiable_function` SIL node   %18 = differentiable_function [parameters 0] %17 : $@callee_guaranteed (Float, Int) -> Float // users: %22, %19
4.	While ...in SIL function "@main".
5.	While processing `[differentiable source 0 wrt 0]` attribute on SIL function "@$s11simple_mathS2f_SitcfU_".
 for expression at [simple_math.swift:5:25 - line:5:48] RangeText="{ x, y in x + Float(y) "
6.	While generating VJP for SIL function "@$s11simple_mathS2f_SitcfU_".
 for expression at [simple_math.swift:5:25 - line:5:48] RangeText="{ x, y in x + Float(y) "

@pschuh mentioned this enhancement months ago. 🙂

@swift-ci Please test tensorflow


Add farm id column in contracts page

Request
A user of the grid suggests we should add a column mentioning the farm ID on the contracts page.

So: Farm ID, Node ID, Node Status, etc.

verified on devnet
version :
a farm id column is now added next to node id

https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=430129#case_4150371

Verified:

Devnet
d2d2622


DOCS-8072-4.3-tuning-backpressure-maxconcurrency-kt

tuning-backpressure-maxconcurrency.adoc

Closing as content was applied and merged in https://github.com/mulesoft/docs-mule-runtime/pull/1475


Statistics page

image should be update later

@Skb08 updates?

Me Ghar se bahar tha relative ke ghare gaya tha esliye update nehi karpaya
On Thu, 6 Jul 2023, 11:43 am Raj Aryan, @.***> wrote:

@Skb08 https://github.com/Skb08 updates?
—
Reply to this email directly, view it on GitHub
https://github.com/Hackodisha/Hackodisha2023/pull/17#issuecomment-1623054270,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A26PJZ5GOSM6VQ5OSSKACRDXOZJR3ANCNFSM6AAAAAAZ5P56DI
.
You are receiving this because you were mentioned.Message ID:
@.***>

linking to #11

This is not needed then i assume ...


Update GitHub deployment Action

Hello! We had to make a few changes to our community's Maven deployment Action. Specifically, we updated the secret names and deployment credentials.
Please update to the latest release, v. 1.2.1, to make sure your Action works. Thank you!

Hello
I updated the different component, as describe in the README
Using the version  1.4.4 of the artifactId>community-hub-release-parent
Updating .github/workflows/deploy.yaml to the value given in the README
I got this error during the publication
   Error:  Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (deploy-to-maven-central) on project filestorage: Execution deploy-to-maven-central of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy failed: 400 - Bad Request -> [Help 1]
What do I need to do?


⚠ Bofrost.be has degraded performance

In df9d9c6, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1005 ms

Resolved: Bofrost.be performance has improved in 85ec4bb.


example data

Thank you for sharing.
Can you upload some example data or give a description of the input data format?
Urgently need your reply.
Thank you again.

I do not have data.csv file anymore but you can use simulators such as Gazebo ROS to generate your own data or your robot and process the data for filtering.


starting to store conf vars in app global state

app program still too large

superseeded by https://github.com/barnjamin/rareaf/pull/20


no level icon in client for sentinel

Client-side bug, fixed by https://github.com/JoKronk/teamruns-client/pull/19


techmatrixconsulting/fflib-apex-mocks

Deployment Started
Status: Queued
Status: Completed
Deployment Complete
Failures:
classes/fflib_VerificationMode.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_System.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_SystemTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_Answer.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_AnswerTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_Answer : Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_AnyOrder.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MethodCountRecorder : Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_AnyOrderTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MyList : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_ApexMocks.cls(67,15):Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_ApexMocksTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_Mocks : Dependent class is invalid and needs recompilation:
Class fflib_MyList : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_ArgumentCaptor.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_Match : Dependent class is invalid and needs recompilation:
Class fflib_MatcherDefinitions : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_ArgumentCaptorTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MyList : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_InOrder.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MethodCountRecorder : Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_InOrderTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MyList : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_InheritorTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_InvocationOnMock.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_Match.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MatcherDefinitions : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MatchTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MatcherDefinitions : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MatcherDefinitions.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MatcherDefinitionsTest.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MatchersReturnValue.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MethodReturnValue : Dependent class is invalid and needs recompilation:
Class fflib_Answer : Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MethodCountRecorder.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MethodReturnValue.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_Answer : Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MethodReturnValueRecorder.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MethodReturnValue : Dependent class is invalid and needs recompilation:
Class fflib_Answer : Dependent class is invalid and needs recompilation:
Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MethodVerifier.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_VerificationMode : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_Mocks.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_MyList : Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test
classes/fflib_MyList.cls(67,15):Dependent class is invalid and needs recompilation:
Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type tes

@techmatrixconsulting  Do you happen to also have a class called Test in your org? This can mask the system version and can be a cause of this error?

@techmatrixconsulting Let me know if your last suggestion didn't get you going and we can re-open this discussion. 👍


Build and add generate-schema to the Docker image

This PR builds and adds the generate-schema utility to the Docker image.

This change is

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.879%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
547

Relevant Lines:
660

💛  - Coveralls


Created fact_large_numbers.cpp

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Created fact_large_numbers.cpp
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#5896

@ankitaggarwal23 @HarshCasper please review my PR.

Code already present here I have reverted the merge you can modify but don't add another file in cp section

open a new issue mention the file issue no you want to modify and then create a PR


Upload GIFvs and Images larger than 10MB

The official Imgur JSON API only supports binary images up to 10MB, but by using custom Web Requests that can be bypassed (See ShareX's Imgur Uploader)
ShareX's uploader lib can upload GIFvs and Images over 10 MB in file size.

I can look into this later on in June but I'm tied up until then on another project.
Happy to accept a PR on this however if you want to work on it yourself.

Very late to the party here, but resolved in v5.0.0.


[1.15.2] Crash when looking into crafting monitor

Issue description:
Server crashes if you look into the crafting monitor.
What happens:
Server crashes if you look into the crafting monitor.
What you expected to happen:
I look into the crafting monitor and just see the crafting tasks (which happens at most of the time)
Steps to reproduce:

I don't know how why this happens, it only happens sometimes (if too much and too fast autocrafting is processed?)
Start autocrafting
Look into the crafting monitor
Server crash

Version (make sure you are on the latest version before reporting):

Minecraft: 1.15.2
Forge: 31.1.87
Refined Storage: 1.8.3
Modpack: Valhelsa 2 with a few extra mods

Does this issue occur on a server? [yes/no]
If a (crash)log is relevant for this issue, link it here:
https://pastebin.com/40mFRzps
The line in code is here (just for quick overview): https://github.com/raoulvdberge/refinedstorage/blob/mc1.15/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/autocrafting/task/v6/CraftingTask.java#L1138

Duplicate #2508


Fix "WASD" example in readme

This may seem trivial, but when I noticed it I nearly screamed and called the police

Oh dang, good you saw that :D


typescript: Cannot find module 'telefunc/vite' or its corresponding type declarations

I used vike to create the initial template for the starter app.
It contains tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "module": "ES2020",
    "target": "ES2020",
    // Doesn't apply to server/, see ts-node config down below and server/tsconfig.json
    "moduleResolution": "Bundler",
    "lib": ["DOM", "DOM.Iterable", "ESNext"],
    "types": ["vite/client"],
    "jsx": "react-jsx",
    "skipLibCheck": true,
    "esModuleInterop": true
  },
  "ts-node": {
    "transpileOnly": true,
    "esm": true,
    "compilerOptions": {
      "module": "Node16",
      "moduleResolution": "Node16"
    }
  }
}

I then followed the steps on telefunc to install telefunc, I install the package dependencies using pnpm, then I tried to add the vite plugin.
The website seems to run, but my typescript server keeps warning me that it cannot find the type declaration, when it is clearly inside node_modules
If anyone can help me this will be greatly appreciated.

👍 Reproduction or PR welcome. I'll re-open then.


Core contract for private chain

Currently, I'm working on healthcare concept that would require that all contract would expose behavior required by Consortium Leader or Consortium Member. It is not that you could not implement it with the current Ethereum layout, but it is very convoluted and easy to make a mistake. I would suggest to find the way to enable Leader or Member base contract that all other contract will automatically inherit and used by EVM. The setting for the chain's base contract should be done on the leader/member configuration page within azure portal
(Reprint from #56 azure-blockchain-projects)

Coco has been released as CCF now: https://github.com/Microsoft/CCF
Thank you for your patience!


compilation-error-regexp not matching panics

I'm not totally sure this is an issue or caused by this package, per se, but I've been having issues with my compilation links to errors. As you can see in the screenshot below, the warnings are working fine, but the whole panic line is turned into a link, and, more importantly, clicking the link brings up Find this error in (default thread 'atom_typer::tests::atomtyper' panicked at src/lib.rs rather than taking me to the file. I thought this might have to do with the "cleaner panic messages" from Rust 1.73, but I still had a stable 1.72.1 version installed, and it had the same problem. I don't remember exactly when this stopped working, but I've just been dealing with it for a while and finally decided to ask for help.
I managed to get the behavior I wanted on the error with
(setf
 (alist-get 'rustc compilation-error-regexp-alist-alist)
 '("thread '[^']+' panicked at \\(\\(.*\\):\\([0-9]+\\):\\([0-9]+\\)\\)" 2 3 4 nil 1))

but that obviously ruins the matching for warnings and other kinds of errors. I would really appreciate any help with this!
I've also been trying to use rust-ts-mode a bit, but I don't see anything in there that should be clashing with this option. I'm happy to provide any additional information that might be needed.

Great snippet, @ntBre! I was looking for someone with the same problem as me and someone from #emacs:matrix.org led me here.

I would really appreciate any help with this!

I think I made it work by registering a new entry instead of overriding rustc:
(defvar rustc-panics-compilation-regexps
  (let
      ((re
        "thread '[^']+' panicked at \\(\\(.*\\):\\([0-9]+\\):\\([0-9]+\\)\\)"))
    (cons re '(2 3 4 nil 1))))
(add-to-list
 'compilation-error-regexp-alist-alist
 (cons 'rustc-panics rustc-panics-compilation-regexps))
(add-to-list 'compilation-error-regexp-alist 'rustc-panics)

Thank you for sharing your fix!

Wow, great idea! I'll give this a try tomorrow!

Thanks again, this works great! I see now that your version is like the other definitions in rust-compile.el. There doesn't seem to be much activity here, but I think this (or something similar) should probably be included in the package if you wanted to submit a PR.

@ntBre I opened https://github.com/rust-lang/rust-mode/pull/510 and added you as a co-author (I hope that's okay).

Awesome, thank you!


Tensorflow Lite adds unnecessary permissions.

When using Tensorflow Lite 0.17.0, it adds android.permission.READ_PHONE_STATE and android.permission.READ_EXTERNAL_STORAGE because no min sdk was specified.
I suggest to hotfix and release this ASAP because it's adding these permissions to apps that don't need them.
Here is the log from the manifest merger:
uses-permission#android.permission.READ_PHONE_STATE
IMPLIED from /home/ph1b/Dev/Yazio/app/src/main/AndroidManifest.xml:2:1-165:12 reason: org.tensorflow.lite has a targetSdkVersion < 4
uses-permission#android.permission.READ_EXTERNAL_STORAGE
IMPLIED from /home/ph1b/Dev/Yazio/app/src/main/AndroidManifest.xml:2:1-165:12 reason: org.tensorflow.lite requested WRITE_EXTERNAL_STORAGE

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

I don't think the form has anything necessary that my bugreport hasn't.

@aselle Can you take a look at this?


Speed things up

Speed things up by using multi threading of processes for unzipping and XML parsing. Running the parser now takes 35 minutes in a single thread.

Fixed in V62


Connection issue

Hi there,
I´m trying to download the recordings, but I was experiencing a lot of connection issues with us.bbcollab.com. I already tried to download from two diferente networks, but the issue persists. Could someone give me a good insight to try to resolve this issue?
The script downloads one or two recordings and then the connection error happen.
The error:
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\urllib3\connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "C:\Python37\lib\site-packages\urllib3\util\connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "C:\Python37\lib\socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen
chunked=chunked,
File "C:\Python37\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "C:\Python37\lib\site-packages\urllib3\connectionpool.py", line 976, in _validate_conn
conn.connect()
File "C:\Python37\lib\site-packages\urllib3\connection.py", line 308, in connect
conn = self._new_conn()
File "C:\Python37\lib\site-packages\urllib3\connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000002CA0ED07A08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Python37\lib\site-packages\urllib3\connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\Python37\lib\site-packages\urllib3\util\retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='us.bbcollab.com', port=443): Max retries exceeded with url: /collab/api/csa/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002CA0ED07A08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Collab3.py", line 49, in
ut.downloadOneRecordingPUCPR(recording_id,cursoid,linha)
File "C:\PyCollab2\Utilidades.py", line 215, in downloadOneRecordingPUCPR
recording_data = webService.get_recording_data(recording_id)
File "C:\PyCollab2\webService.py", line 95, in get_recording_data
sessions = SesionControlador.SesionControlador(self.DOMAIN_C,self.getJot(),self.CERT)
File "C:\PyCollab2\webService.py", line 40, in getJot
self.jsesion.setJot()
File "C:\PyCollab2\controladores\JotControlador.py", line 64, in setJot
r = requests.post(endpoint, data=self.payload, auth=(self.key, self.secret), verify=self.cert)
File "C:\Python37\lib\site-packages\requests\api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Python37\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Python37\lib\site-packages\requests\sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "C:\Python37\lib\site-packages\requests\sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "C:\Python37\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us.bbcollab.com', port=443): Max retries exceeded with url: /collab/api/csa/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002CA0ED07A08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Cesar Ferenc

Hi there,
The issues starts about June-07. Since that date, us.bbcollab.com has systematically disconnected my download process of  recordings file. As we are doing between a batch file, it was very bad to run pycollab with this issue. The workaround I did to this issue whas change the code of python, when the process try to establish a new connection.
I did something like that on the attach image and it´s working now.

Hi @mcferenc I will check the original code in order to replicate it, seems like is attempting to create new connection and still is another open, and check about the getaddrinfo.


Conflicts? An error has occurred

this shows when i load LC while having any custom moon mod (and its respective dependencies) enabled.
Then, when my friends go to join, it wont let them and it says "an error has occurred"
any fix?

any soloution yet? have the same problem

Was the mods installed with a mod manager? If not, this is likely user-error and you didn't install LethalLib.


Update set-netconnectionprofile.md

#984
*Action Taken :

Changes $Profile to $NetworkProfile variable.

Run the following:
1.) Run $Profile as a variable for the following command: works successfully
$Profile = Get-NetConnectionProfile -InterfaceAlias Ethernet
Set-NetConnectionProfile -InputObject $Profile (Just did not continue as I don't want to change my networkprofile)
See screenshot:
https://snipboard.io/CArlOe.jpg
2.) Run $NetworkProfile and $NWProfile as a variable for the following command: works successfully
$NetworkProfile = Get-NetConnectionProfile -InterfaceAlias Ethernet
$NWProfile = Get-NetConnectionProfile -InterfaceAlias Ethernet
According to the below references the $PROFILE variable is an automatic variable stores the paths to the PowerShell profiles that are available in the current session.
References:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-6#the-profile-variable
https://docs.microsoft.com/en-us/powershell/scripting/components/ise/how-to-use-profiles-in-windows-powershell-ise?view=powershell-6

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

File
Status
Preview URL
Details

docset/windows/netconnection/set-netconnectionprofile.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@dariomws306 @tseward
Peer review needed for this PR. Thanks.

In Example 1, please remove the commends from within the code block and place them below in the description, rewording as appropriate.

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

File
Status
Preview URL
Details

docset/windows/netconnection/set-netconnectionprofile.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@tseward , changes made as suggested, feel free to let me know of any changes needed.

Here is what I was thinking and is the normal format for examples to follow:
PS C:\> $NetworkProfile = Get-NetConnectionProfile -InterfaceAlias Ethernet1
PS C:\> $NetworkProfile.NetworkCategory = Public
PS C:\> Set-NetConnectionProfile -InputObject $NetworkProfile

This first command gets the connection profile for the network adapter named Ethernet1. The command stores the results in the $NetworkProfile variable. The second command assigns the value of Public to the NetworkCategory property of the connection profile stored in the $NetworkProfile variable. The third command sets the network category of the connection profile stored in the $NetworkProfile variable.

@tseward . Thank you , changes made as suggested.

Docs Build status updates of commit 851a542:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/netconnection/set-netconnectionprofile.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Looks good after Trevor suggestion but I think we should apply the same update to 2012 and 2012R2 versions.

cc @sukihanabi

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

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

docset/docfx.json
:white_check_mark:Succeeded

docset/windows/netconnection/set-netconnectionprofile.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

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

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@sukihanabi Please revert the last two commits that deletes certain files necessary for deployment. Thanks.

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

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

closing the PR


Support non-Lean code blocks in the mdbook

Description
When adding a tutorial for user widgets in #1407, we tried to embed a JavaScript code block in a module docstring within a literate Lean file. Unfortunately the block seems to be misprocessed and to produce invalid output, also making mdbook tests fail.
Steps to Reproduce
Expected behavior: It is possible to use code blocks in module docstrings in literate Lean files.
Actual behavior: They are miscompiled.
Reproduces how often: 100%

Mwe:
1.in doc/examples/ make a pair of files test.lean and test.lean.md
2. add - [test](examples/test.lean.md) to doc/SUMMARY.md
2. in test.lean.md put the following thing:
(this chapter is rendered by Alectryon in the CI)

```lean
{{#include test.lean}}
```

In test.lean put:

#check "hello world"
/-!
This is a comment
```
this is a code block
```
-/

#check "hello world again"

cd doc, mdbook build
look at main block of doc/out/examples/test.lean.html:

(this chapter is rendered by Alectryon in the CI)

#check "hello world"
/-!
This is a comment

this is a code block

-/

#check "hello world again"

If I've understood the pipeline correctly, the expected output needs to be something like

#check "hello world"

This is a comment

this is a code block

#check "hello world again"

This works fine using
````lean
{{#include palindromes.lean}}
````

right? It's only mdbook test that still fails.

Increasing backticks gives

(this chapter is rendered by Alectryon in the CI)

#check "hello world"
/-!
This is a comment
```
this is a code block
```
-/

#check "hello world again"

Ah yes, this is the expected output when LeanInk is not involved! It should look correct after going through the entire CI pipeline.

What's the nix incantation to get this output?

It's https://github.com/leanprover/lean4/blob/0ec56c3367c74d2c0444b8b758f3439c21e34bf9/.github/workflows/nix-ci.yml#L88 (ignore the NIX_BUILD_ARGS).

hmmm ok I think this is working then. Still getting
/build/mdbook-d0xfKR/widgets.lean.md_3.lean:130:0: error: unterminated comment

if I build the widget-doc branch with the following code block:
```lean,ignore
#check "hello"
```

Do you have a full example on a branch? I assume that's not you entire file.

MWE branch: https://github.com/Vtec234/lean4/tree/doc-codeblock-bug
then I run
nix-shell -A nix
 nix build -v --print-build-logs --fallback --update-input lean --no-write-lock-file ./doc#test -

And get error:
lean-doc-test> 2022-08-08 10:45:26 [INFO] (mdbook::book): Testing chapter 'test': "/build/source/doc/./examples/test.lean.md"
lean-doc-test> 2022-08-08 10:45:26 [INFO] (mdbook::book):   testing snippet on line: 3
lean-doc-test> 2022-08-08 10:45:27 [ERROR] (mdbook::book): lean returned an error:
lean-doc-test> --- stdout
lean-doc-test> "hello world" : String
lean-doc-test> /build/mdbook-Yk6tZ1/test.lean.md_3.lean:4:0: error: unterminated comment
lean-doc-test> --- stderr

Ah, I misunderstood you then. It works if you use ,ignore on the outer block in test.lean.md, and only use blocks for languages other than lean inside it. For anything else, we need a proper fix of mdbook test.
@lovettchris Specifically, the problem is that our mdbook test code does not properly handle nesting. That is, in
````lean
a
```js
b
```
c
````

It will send just a to Lean instead of the entire code block.

@Kha - this should fix it: https://github.com/leanprover/mdBook/pull/10


Add relevant discussion to statement of needs section in the paper

See https://github.com/openjournals/joss-reviews/issues/6983

Hi @haider8645 I had a quick glance into the paper, and the statement of need doesn't really address why this package is needed in the community.
i.e., how does this differ from other similar-purpose packages like Nav2 (github) [1], one of the most well-structured / generic navigation frameworks that are widely adopted in autonomous robots and tested in the industry (De facto standard in ROS); or other more speciality framework like vox_nav [2] which is created for unstructured treeains.
The traversability aspect should be able to achieved via imposing cost in like a costmap?
[1] Macenski, S., Martín, F., White, R., & Clavero, J. G. (2020, October). The marathon 2: A navigation system. In 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (pp. 2718-2725). IEEE.
[2] Atas, F., Cielniak, G., & Grimstad, L. (2022, October). Elevation state-space: Surfel-based navigation in uneven environments for mobile robots. In 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (pp. 5715-5721). IEEE.

@soraxas Excuse me for the late reply. I am on vacation atm so my replies might be delayed. Hmmm, please see some brief comments below about nav2 for now. If you expect a more detailed analysis of the capabilities then let me know but it would just take me a bit longer.
The environment representation used by the planner to generate the Traversability map is based on a Multi-Layered Surface Map (MLS). The MLS map can be generated online or an offline MLS map can be used. As of my latest update, ROS2 does not natively support MLS (Multi-Layered Surface) maps out-of-the-box within the standard Nav2 stack without additional development or customization. The primary map type supported by Nav2 is the 2D occupancy grid map. On the contrary, we used a 3D Map. The choice of MLS maps vs Voxel maps (used in nav2) is a personal choice. I personally like MLS Maps because they are great for visualization and provide a detailed surface representation.
The key contribution is that the planner can plan in a multistorey environment without the need to maintain multiple costmaps for each floor of a building. The planner internally maintains a 3D Traversablity Map for long distance planning in environments with distinct elevation levels, such as buildings with multiple floors or terrains with varying heights. To the best of my knowledge, ros2 nav2 does not natively support multistorey navigation out-of-the-box.
The Traversability map servers a similar purpose as the costmap in ROS but each cell in the traversability map contains further information about the ground surface like slope, plane model etc. See TravGenTrackingData. This can be seen as kind of an alternative to the combination of 3d costmap + gradient map in nav2. See Other Forms
So in short, the ugv_nav4d provides many new capabilities which are not yet available in nav2. We are currently working on making a ROS2 wrapper for the planner so that the ROS2 community can used it out-of-the-box. A fully integrated plugin support for nav2 is not in the pipeline but can be done if the interest from the community side is high :)

The statement of needs section should discuss how this differs from other more commonly used repositories.

The choice of MLS maps vs Voxel maps (used in nav2) is a personal choice. I personally like MLS Maps because they are great for visualization and provide a detailed surface representation.

Any pros/cons of MLS vs Voxel maps?

The MLS approach has no discretization in the z axis. The x,y coordinates are formed by a grid with a cell size, but the z axis is not discretized. The cell content is a list of blocks with a start and stop height (float). Additionally the top of those blocks can have a slope value.
This means the MLS has a smooth surface, which is better suited for uneven ground navigation than occupancy voxels that create steps on sloped surfaces.
The original idea of the MLS is described here: https://cvg.cit.tum.de/_media/spezial/bib/triebel06multi.pdf
Voxel maps are imo better suited for drones or underwater vehicles, where non-ground obstacles have more importance, but when planning for ground vehicles in uneven terrain that addional accuracy makes the difference.

@soraxas please find the updated paper here

Looks good to me.


updated package.json

updated package arrify from 1.0.0 to 1.0.1

This is unnecessary. Patch bumps automatically get downloaded. No need to update it in the package.json unless it's a minor or major build.

https://nodesource.com/blog/semver-tilde-and-caret


Uncaught SyntaxError: Unexpected end of input

Uncaught SyntaxError: Unexpected end of input
Atom Version: 0.153.0
System: linux 3.13.0-43-generic
Thrown From: remote-edit package
This error occurred during deleting (shift d) of "opened files".
Moved from atom list of issues.

Have you experienced this issue more than once? How many items were left in the list when this occured? Did you delete from the top or bottom?


Fieldvalidation fails silently for InlinePanel in ModelAdmin

Issue Summary
When providing an string to an IntegerField-widget that is shown as an InlinePanel within  the wagtal admin interface saving this instance results in an "instance saved" message when indeed (rightfully so) the related instance was not saved (due to a validation error one assumes).
As this seems to be related to a field error #3440 may be related but different.
Steps to Reproduce
It's essential that you provide enough information for someone else to replicate the problem you're seeing. Simply describing something that's broken on your current project is not enough!

Start a new project with wagtail start minimal_case
Add a new ChildClass to models.py as follows...

class ChildClass(ClusterableModel):
    size = models.IntegerField()
    parent = ParentalKey(HomePage, related_name='children')

Include the ChildClass as InlinePanel to the preexisting Homepage class:

    content_panels = Page.content_panels + [
        InlinePanel('children')
    ]

Run makemigrations and migrate.
Open the pre-existing HomePage instance using the wagtail admin interface
Add a new ChildClass instance using the InlinePanel entering foobar as size value.
Save the altered HomePage instance.
The green "success" banner shoud show at the top.
Inspect your modified HomePage instance and notice that the related ChildClass instance has notbeen saved

Expected behaviour: No positive feedback but an error message instead. Also not returning to the list view but instead show a regular field error and inform the user how what to change.
As a sidenote: The problem is also present in the analog case using two regular Models and ModelAdmin via wagtail.contrib.modeladmin.
Technical details

Python version: 3.5.3
Django version: 1.11.6.
Wagtail version: 1.13
Browser version: FF 52

This looks like a duplicate of #3890 and appears to be happening on custom validation in InlinePanels across all use, not just from within ModelAdmin

see also #3441


move secret generation into deploy-lab in 6th step of ApplicationSets 🚶

and update the instructions accordingly.
thanks 💚

remove this line https://github.com/rhoai-mlops/deploy-lab/blob/main/charts/values.yaml#L9 :D


Use of os.system for Windows Clipboard

There are two places in the repo (here and here) which use os.system() to pass some input to | clip; This is generally frowned upon for reasons of potential command injection (limited risk in the use of this repo, from what I can tell) and in general unneeded overhead of spawning a process.
I would recommend using win32clipboard (from pywin32) or another similar library.
import win32clipboard  # from pypiwin32 / pywin32

def set_clipboard(text: str = ""):
    win32clipboard.OpenClipboard()
    win32clipboard.EmptyClipboard()
    win32clipboard.SetClipboardText(text, win32clipboard.CF_TEXT)
    win32clipboard.CloseClipboard()

While there really wasnt much of a risk concerning this repo, I have changed it to using win32clipboard (as I need pywin32 anyways). Thanks for pointing this out, the original os code was from stackoverflow and it had not been noted there.


Live TV is not sending anything

I‘ve set up an Hyperion on Pi, LEDs driven by wled and I’m using PicCap for TVs input capture. On HDMI / Apps (excluding DRM protected) everything works like a charm.
When switching to live TV the led‘s just turn off (no preview in Hyperion as well). Toasts (like „PicCap is running“) appear and trigger the correct leds to light up.
Live TV comes via cable / not encrypted (Germany, Vodafone Cable)
Current TV / Version:
"board_type": "LM21U_DVB",
"hardware_id": "HE_DTV_W21U_AFADATAA",
"product_id": "55NANO869PA",
"core_os_release": "6.2.0-31",
"webos_manufacturing_version

I disabled auto-start in the piccap application, and then used ssh<EMAIL_ADDRESS>default password alpine to place a file in the folder /var/lib/webosbrew/init.d called piccap with the contents
#!/bin/bash
/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos -S --no-service --verbose --config=/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/config.json

then chmod +x piccap so it can be executed
This is basically just a different form of the auto-start script included with piccap.
The last, and most important step, is to set the flatbuffer server timeout on your hyperion server to something like 300 seconds.
For some reason, the libvtcapture fails at first, and starts working properly around 30-45 seconds after launch. Works with quick start+ enabled

Here is my successful boot stacktrace for reference
[TCON] MApi_XC_Get_Tcon_Type 6521: u8tcontype = 2
     0.178s [INFO capture_init        ] HAL_GAL_Init done! Exit: 0
     0.183s [INFO capture_init        ] HAL_GAL_CreateSurface done! SurfaceID: 0
     0.251s [INFO capture_init        ] HAL_GAL_CaptureFrameBuffer done! 0
     0.252s [INFO capture_init        ] HAL_GAL: gfx open ok result: 22
     0.252s [INFO capture_init        ] Halgal done!
     0.252s [INFO capture_init        ] Init video capture..
     0.273s [INFO capture_init        ] Driver created!
     0.273s [INFO vtcapture_initialize] Starting vtcapture initialization.
     0.337s [INFO vtcapture_initialize] vtCapture_init done! Caller_ID: hyperion-webos_service Client ID: 3111232
     0.337s [INFO vtcapture_initialize] Skipping successfull vtCapture_init to prevent start after first try.
     0.339s [INFO vtcapture_initialize] vtCapture_postprocess done!
     0.341s [INFO vtcapture_initialize] vtCapture_finalize done!
     0.341s [INFO capture_init        ] vtcapture not ready yet!
     0.341s [INFO capture_init        ] Malloc hal+vt vars..
     0.344s [INFO capture_init        ] Malloc hal+vt vars finished.
     0.344s [ DBG capture_main        ] Starting capture..
     0.344s [INFO capture_start       ] Starting capture thread..
     0.344s [ DBG capture_main        ] Capture main init completed. Creating connection thread...
     0.345s [ DBG connection_loop     ] Starting connection loop
     0.345s [INFO connection_loop     ] Connecting hyperion-client..
     0.353s [INFO connection_loop     ] hyperion-client connected!
    18.955s [INFO send_picture        ] Try to init vtcapture again..
    18.955s [INFO vtcapture_initialize] Starting vtcapture initialization.
    19.014s [INFO vtcapture_initialize] vtCapture_init done! Caller_ID: hyperion-webos_service Client ID: 3111232
    19.021s [INFO vtcapture_initialize] vtCapture_preprocess done!
    19.021s [INFO vtcapture_initialize] vtCapture_planeInfo done! stride: 320 Region: x: 0, y: 0, w: 320, h: 180 Active Region: x: 0, y: 0 w: 320 h: 180
    19.022s [INFO vtcapture_initialize] vtCapture_process done!
    19.122s [INFO vtcapture_initialize] vtCapture_currentCaptureBuffInfo done after 1 tries! addr0: 0x6ff0c000 addr1: 0x6ff04000 size0: 57600 size1: 28800
    19.123s [INFO vtcapture_initialize] vtcapture initialization finished.
    19.123s [INFO send_picture        ] Init possible. Terminating current capture..
    19.123s [INFO capture_terminate   ] Called termination of vtcapture
    19.124s [INFO capture_terminate   ] Video capture enabled - Also stopping..
    19.124s [INFO capture_stop_vt     ] Stopping VT capture...
    19.654s [INFO capture_stop_vt     ] vtCapture_stop done!
    19.654s [INFO capture_terminate   ] GUI capture enabled - Also stopping..
    19.654s [INFO capture_stop_hal    ] Stopping HAL capture...
[Utopia][GOP API]:    MApi_GOP_GWIN_Delete32FB:3904   FBId = 129
    19.659s [INFO capture_stop_hal    ] HAL_GAL_DestroySurface done. Result: 0
    19.660s [INFO capture_terminate   ] vtCapture_postprocess done!
    19.662s [INFO capture_terminate   ] vtCapture_finalize done!
    19.681s [INFO capture_terminate   ] Driver released!
    19.682s [INFO capture_terminate   ] Finished capture termination!
    19.682s [INFO send_picture        ] Init possible. Cleanup current capture..
    19.682s [INFO capture_cleanup     ] Capture cleanup...
    19.682s [INFO capture_cleanup     ] Capture was running, freeing vars...
    19.682s [INFO capture_cleanup     ] Freeing video vars...
    19.682s [INFO capture_cleanup     ] Freeing gui vars...
    19.682s [INFO capture_cleanup     ] gfx close ok result: 0
    19.683s [INFO capture_cleanup     ] Finished capture cleanup..
    19.683s [INFO send_picture        ] Init possible. Init capture..
    19.683s [INFO capture_init        ] Initialization of capture devices..
    19.683s [INFO capture_init        ] Graphical capture enabled. Begin init..
    19.684s [INFO capture_init        ] HAL_GAL_Init done! Exit: 0
    19.688s [INFO capture_init        ] HAL_GAL_CreateSurface done! SurfaceID: 0
    19.744s [INFO capture_init        ] HAL_GAL_CaptureFrameBuffer done! 0
    19.745s [INFO capture_init        ] HAL_GAL: gfx open ok result: 22
    19.747s [INFO capture_init        ] Halgal done!
    19.747s [INFO capture_init        ] Init video capture..
    19.765s [INFO capture_init        ] Driver created!
    19.765s [INFO vtcapture_initialize] Starting vtcapture initialization.
    19.823s [INFO vtcapture_initialize] vtCapture_init done! Caller_ID: hyperion-webos_service Client ID:<PHONE_NUMBER>
    19.826s [INFO vtcapture_initialize] vtCapture_preprocess done!
    19.826s [INFO vtcapture_initialize] vtCapture_planeInfo done! stride: 320 Region: x: 0, y: 0, w: 320, h: 180 Active Region: x: 0, y: 0 w: 320 h: 180
    19.826s [INFO vtcapture_initialize] vtCapture_process done!
    19.927s [INFO vtcapture_initialize] vtCapture_currentCaptureBuffInfo done after 1 tries! addr0: 0x7092d000 addr1: 0x70925000 size0: 57600 size1: 28800
    19.927s [INFO vtcapture_initialize] vtcapture initialization finished.
    19.927s [INFO capture_init        ] vtcapture initialized!
    19.927s [INFO capture_init        ] Malloc hal+vt vars..
    19.931s [INFO capture_init        ] Malloc hal+vt vars finished.
    19.931s [INFO send_picture        ] Init possible. Starting capture again..
    19.933s [INFO capture_start       ] Starting capture thread..
2982 (hyperion-webos) PBNJSON src/pbnjson_c/jobject.c:1016 :: Attempt to get array size of non-array 0x74e16218
2982 (hyperion-webos) PBNJSON src/pbnjson_c/jobject.c:1016 :: Attempt to get array size of non-array 0x74e16218

notice the line that says vtCapture_currentCaptureBuffInfo done after 1 tries

We have done some huge enhancements in latest version. Can you please check it out and reopen this issue, if it still applies?


Port to Qt 6

The PatternSyntax enum had to be removed as QRegularExpression only
supports Perl-compatible regular expressions.
As QVariant's comparison operators were removed, a simplified
comparison is now done as a starting point, but should probably
be extended to support more types.
Fixes #84
Fixes #86

About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?

About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?

Not currently, but I can make it. Not sure what it should do though... so I just made false < true.

Have an additional commit in MenloSystems:qt6 that allows compiling against Qt5 and Qt6 from the same codebase.

About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?

Which implementation is preferable: qqsfpm::compareVariants() from utils/utils.* or  qqsfpm::lessThan() from #81 ?


Feature: OutputPlugin's optional entryName

Description
In certain scenarios, there is a requirement to deploy a container separately from any associated app. This necessitates building with an empty object {} for the entry configuration. This approach ensures that only the remote entry and related chunks are built. However, this causes Re.Pack's OutputPlugin to throw an exception.
To address this issue, the current workaround involves individually expanding the Re.Pack plugins instead of utilizing Repack.RepackPlugin. This workaround allows for manually passing the entryName to the OutputPlugin, thereby resolving the exception.
Expected behaviour
The OutputPlugin should handle an empty entry object without throwing an exception

Closed by #539


Docs tend not to describe as much as the provider(AWS classic) for dynamo

Problem description

Some areas of the docs tend to not describe as much as the provider(AWS), so I jump to that area of documentation that might help me get more info. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html for example for this. I like cloud formation, it has nearly everything for their services, properties, valid inputs, required, etc. perhaps this is intentional and Pulumi can't cover every single detail. and in the Pulumi code, I do a Go To Definition/Type Definition to get more details on the structure of Inputs sometimes.

Using AWS Classic Provider:
import * as aws from '@pulumi/aws';

Suggestions for a fix

I'm not sure what exactly this issue is tracking. @tusharshahrs can you add a link to a problematic Pulumi docs page and the piece(s) that are missing from it? Thank you.