[Feature proposal] Multiple repositories selectable @ issues/PR page

Description
As a user, I would like to be have the option to view issues and pull-requests from multiple repositories on their respective pages. Currently, selecting one repository removes the other repos from the list. This feels unnecessarily limiting, and not very intuitive. My suggestion is to use a similar style, but not remove the repos and also allow multiple selections.
Possible method
Currently, the page identifies what repo should be used by defining a number of variables including repo (e.g. ?type=all&repo=17&sort=&state=open). Passing multiple repo entries here could make multiple selection possible, something like
?type=all&repos[]=17&repos[]=21&repos[]=22&sort=&state=open.
I will test out a local fix, and post my findings here.
Illustration

A local fix for persisting the repo list was achieved by simply moving the three lines
if repoID > 0 {
    opts.RepoIDs = []int64{repoID}
}

in routers/user/home.go:Issues down from before the call
counts, err := models.CountIssuesByRepo(opts)

to right before
issues, err := models.Issues(opts)

This keeps the list of repositories, whilst still making the selected one highlighted and only showing its issues/PR's.
The next step is to enable multiple selections.
I'm not really sure if there exists a function for querying a list of integers similar to how the repo id is currently queried using 	repoID := ctx.QueryInt64("repo"), any suggestions are very welcome.

In gitea\routers\admin\notice.go  something similar is achieved which is looking promising, using
strs := ctx.QueryStrings("ids[]")
ids := make([]int64, 0, len(strs))

@oscarlofwenhamn Could you send a PR for that?

I've started working on multiple selection, though if available I could use a tip on finding documentation regarding what functions are available in the tmpl, specifically for finding if a repo ID is in the list of selected repos. I'm thinking something like {{if in .RepoIDs .ID}}..., but I'm not aware of what functionality is available.

The helper functions that Gitea provides can be found in modules/templates/helper.go
Things like and, or, etc. should be in the Go template documentation
There is technically a template package specifically for HTML, but most of the actions, pipelines, etc. are defined in the text package.

Thanks, @jolheiser. I managed to come across them, so it's good to know I'm not sniffing up the wrong tree.
I think I am quite close to a local fix, though it is pretty clunky to be honest. I will post it when I confirm it works, maybe we can find a way to slim it down.

There, it seems to be working.
In order to pass all other selected RepoIDs when selecting/deselecting a repo, I've constructed the following snippet, which is added to the href-attribute of the repo links instead of the old &repo part. I'm not sure if you think I should try to write a helper function, or if anyone has another idea of how to put it together, but either way I will look it over a few more times to make sure there's no slimmer way of doing it.
Basically, I want to include all elements of repos[], adding the selected repo to the list if it's not there and removing it from the list if it is there (selecting unselected repos, delesecting selected repos).
First draft:
$Repo corresponds to each element in {{range .Repos}}
{{with $include := true}}
	{{range $.RepoIDs}}
		{{if eq . $Repo.ID}}
			{{$include = false}}
		{{else}}
			&repos[]={{.}}
		{{end}}
	{{end}}
	{{if eq $include true}}
		&repos[]={{$Repo.ID}}
	{{end}}
{{end}}

Still working on this in #6369 though not completely finished yet.


Can't use the plugin

Hi I try to install the plugin into my cordova project with :
cordova plugin add https://github.com/rodrigo-martinezd/cordova-dialog-gps.git
After that, and the success of cordova I try to implement the code, but when I do
cordova.dialogGPS()
I get the error
TypeError: Object # has no method 'dialogGPS'
That's because cordova object has no dialogGPS on his structure, I don't know what to do.
If I run cordova plugin list
I get this
cl.rmd.cordova.dialoggps 0.0.2 "DialogGPS"
And in the folder of plugins there is the dialogs plugin
By the way, I'm using cordova 5
Regards

Hi, you're right. If the error is that the object haven't no method. Is because the cordova object doesn't have dialogGPS and this occurs for two posibles reasons.

You're calling "cordova.dialogGPS()" before the  cordova object it's ready. it's for this that you must call inside a  wrapper that listen for 'ready' event of cordova.

document.addEventListener('ready' , function() {
    cordova.dialogGPS();
});

The second possible reason is that in Cordova 5 has changed something I did not consider . I check the code to correct the error.

Please , try the first option and see if still does not work


[chart/redis_ha][REQUEST] Add PodDisruptionBudget to HAProxy instances

Is your feature request related to a problem? Please describe.
Currently you can manage a PodDisruptionBudget for the redis statefulsets, but not for the HA Proxy deployment. As a result, even though the redis backend will be kept HA during a maintenance task, it is possible to cause the HA Proxy service to become temporarily unavailable.
Describe the solution you'd like
Add an additional PDB for the HA Proxy deployment.
Describe alternatives you've considered
Currently manually managing the second PDB as part of CI/CD system but it is cleaner to have it all in Helm.

@a-mantha Good suggestion, I'll add it to my list. Thank you.


Migrate TitleBarView to new Icon API

This PR improves consistency and removes a few warnings.

Do they still look right even without the size hints? This is not a lossless change, the way you implemented it

Thank you for the feedback. I changed the approach. I used a different overload and added the same icons as before. I think they look the same now.

The new approach is incorrect, you should never have to create additional keys. Use PainterHints instead, they're there for this purpose.

I added the PainterHint and removed the unnecessary icon declaration. I also removed the 20x20 SVG files.
Considering that I took me a moment to figure out how to use the Size PainterHint, would it be useful to point the user to this example in the README?

Why did you remove the svg files? They were there for a reason...
As for the Size PainterHint in the readme, isn't there any mention of PainterHints in the readme already? If there is, I don't think we should specifically add Size, since it's a hint like all others. If there is no mention at all of PainterHint

Sorry for closing, I mis-clicked

I restored the icons in 0f812a21. I thought we would use the new approach from now on.

As for the Size PainterHint in the readme, isn't there any mention of PainterHints in the readme already?

We mention it in https://github.com/JetBrains/jewel?tab=readme-ov-file#icon-runtime-patching, but the size example popped out from a test. It's just me having little knowledge about this topic and thinking about other people not familiar with this stuff.

We mention it in https://github.com/JetBrains/jewel?tab=readme-ov-file#icon-runtime-patching, but the size example popped out from a test. It's just me having little knowledge about this topic and thinking about other people not familiar with this stuff.

I think the vague mention we have is ok for now, because if we start documenting one PainterHint we need to document all of them, and that's not a priority right now

This has conflicts that need fixing with main.
And, re:

I restored the icons in https://github.com/JetBrains/jewel/commit/0f812a2181fe9cdc236eb351c054c3dd895b1805. I thought we would use the new approach from now on.

We are using the new approach. The Size painter hint looks for an image with the right size in its file name, and if there isn't one, just stretches the "base" one.

That's how the icon loading works in the IJP in general; it is somewhat documented — however, as usual, not very well.


Default metatables

Default metatables for each engine.
This is necessary for the string library (aka "example":sub functions).

Ugh... Wrong repo.
I hate that Git start a PR in the root repo instead of the forked repo. Sorry 😅


Fix error in train() weight updating

In train function, there is an error in updating weight using sum instead of a subtract.

You'll notice that the given error_formula is negated, and so the + is correct!

Upon further review, I see what you mean. The notebook instructions left misleading instructions for the error term, so I have updated this code. Thank you for your feedback!


Updating instructions in article about QDK version updates

Updating instructions in article about QDK version update for Q# projects.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/install-guide/update.md
88
65
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit a44b11d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/install-guide/update.md
:warning:Warning
View
Details

ValidatePublishRequest
:warning:Warning

Details

articles/install-guide/update.md

Line 94: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/quantum/relnotes/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.

ValidatePublishRequest

[Warning-RepositoryOwnerAuthorizedCrendentialInvalid] The owner of the repository https://github.com/MicrosoftDocs/quantum-docs-pr, 'adkinn' no longer has Admin permission to the repository. This has no impact to published pages or Docs site, but may cause potential issues for repository management. To resolve this issue, please ask anyone of Admin permission of the repo to set a new owner on Docs portal (https://ops.microsoft.com).

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/install-guide/update.md
88
65
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

@Bradben @gillenhaalb @geduardo Do you know anything about the warning about admin 'adkinn'?

Docs Build status updates of commit ccc6859:
:warning: Validation status: warnings

File
Status
Preview URL
Details

ValidatePublishRequest
:warning:Warning

Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View

ValidatePublishRequest

[Warning-RepositoryOwnerAuthorizedCrendentialInvalid] The owner of the repository https://github.com/MicrosoftDocs/quantum-docs-pr, 'adkinn' no longer has Admin permission to the repository. This has no impact to published pages or Docs site, but may cause potential issues for repository management. To resolve this issue, please ask anyone of Admin permission of the repo to set a new owner on Docs portal (https://ops.microsoft.com).

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

No idea @KittyYeungQ, he has admin access to the repo. Weird.

Do you know what is happening @adkinn?

No idea @KittyYeungQ, he has admin access to the repo. Weird.

Do you know what is happening @adkinn?

We have a couple of PRs having this same warning.

Yeah is happening for every build.


Literals in template strings

Given this

`This is a ${ test } message`

The text between the curly braces appears as if its a string, when it's actually meant to show as literal JavaScript. It should revert back to default JavaScript syntax when contents appears between ${ and }.

Hmm; I'm not seeing this, but I'm seeing a different problem instead:
x.foo      // "foo" has scope "meta.property.object.js" (good), Fg name "foreground" (good)
`${x.foo}` // "foo" has scope "meta.property.object.js" (good), Fg name "Entity" (wrong)

`quasi`      // "quasi" has scope "string.quasi.js" (good), Fg name "String" (good)
`${`quasi`}` // "quasi" has scope "string.quasi.js" (good), Fg name "Entity" (wrong)


terragrunt-cache behavior change for nested dependencies (since v0.55.6)

Describe the bug
Since terragrunt version 0.55.6, a change of terragrunt-cache behavior has been introduced when it comes to multi level dependencies. If we have 3 different terragrunt root modules A, B and C, where B is dependent on A, and C is dependent on B (i.e. C -> B -> A), then the terragrunt init on C will try to cache module A and fail while doing so. This was not the case prior to 0.55.6.
To Reproduce
Files hierarchy and content
urban@ubbeK:~/terragrunt $ tree .
.
├── bin
│   ├── terragrunt-0.55.5
│   └── terragrunt-0.55.6
├── modules
│   ├── roots
│   │   ├── a
│   │   │   └── terragrunt.hcl
│   │   ├── b
│   │   │   └── terragrunt.hcl
│   │   └── c
│   │       └── terragrunt.hcl
│   └── submodules
│       ├── a
│       │   └── main.tf
│       ├── b
│       │   └── main.tf
│       └── c
└──         └── main.tf

# ./modules/roots/a/terragrunt.hcl
terraform {
  source = "${get_terragrunt_dir()}/../../submodules/a"
}

# ./modules/roots/b/terragrunt.hcl
terraform {
  source = "${get_terragrunt_dir()}/../../submodules/b"
}

dependency "tf" {
  config_path = "${get_terragrunt_dir()}/../a"
}

# ./modules/roots/c/terragrunt.hcl
terraform {
  source = "${get_terragrunt_dir()}/../../submodules/c"
}

dependency "tf" {
  config_path = "${get_terragrunt_dir()}/../b"
}

# ./modules/submodules/a/main.tf
output "family_name" {
  value = "a"
}

# ./modules/submodules/b/main.tf
output "family_name" {
  value = "b"
}

# ./modules/submodules/c/main.tf
output "family_name" {
  value = "c"
}

Commands executed on version 0.55.6
~/terragrunt/bin/terragrunt-0.55.6 --version

cd ~/terragrunt
rm -rf ~/terragrunt/modules/roots/a/.terragrunt-cache
rm -rf ~/terragrunt/modules/roots/b/.terragrunt-cache
rm -rf ~/terragrunt/modules/roots/c/.terragrunt-cache

cd ~/terragrunt/modules/roots/a
~/terragrunt/bin/terragrunt-0.55.6 init
~/terragrunt/bin/terragrunt-0.55.6 apply -auto-approve

cd ~/terragrunt/modules/roots/b
~/terragrunt/bin/terragrunt-0.55.6 init
~/terragrunt/bin/terragrunt-0.55.6 apply -auto-approve

cd ~/terragrunt/modules/roots/c
~/terragrunt/bin/terragrunt-0.55.6 init

Expected behavior
terragrunt init should not fail on module C.
Nice to have

[ ] Terminal output

urban@ubbeK:~/terragrunt $ ~/terragrunt/bin/terragrunt-0.55.6 --version
terragrunt version v0.55.6
urban@ubbeK:~/terragrunt $ cd ~/terragrunt
urban@ubbeK:~/terragrunt $ rm -rf ~/terragrunt/modules/roots/a/.terragrunt-cache
urban@ubbeK:~/terragrunt $ rm -rf ~/terragrunt/modules/roots/b/.terragrunt-cache
urban@ubbeK:~/terragrunt $ rm -rf ~/terragrunt/modules/roots/c/.terragrunt-cache
urban@ubbeK:~/terragrunt $ cd ~/terragrunt/modules/roots/a
urban@ubbeK:~/terragrunt/modules/roots/a $ ~/terragrunt/bin/terragrunt-0.55.6 init
INFO[0000] Downloading Terraform configurations from file:///home/urban/terragrunt/modules/submodules/a into /home/urban/terragrunt/modules/roots/a/.terragrunt-cache/z_GCSxwnc8oez_ZWtcQAd8jUNAQ/FEiijTEI50xqruhwi8IhNp90MwY

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
urban@ubbeK:~/terragrunt/modules/roots/a $ ~/terragrunt/bin/terragrunt-0.55.6 apply -auto-approve

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Changes to Outputs:
  + family_name = "a"

You can apply this plan to save these new output values to the Terraform
state, without changing any real infrastructure.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

family_name = "a"
urban@ubbeK:~/terragrunt/modules/roots/a $ cd ~/terragrunt/modules/roots/b
urban@ubbeK:~/terragrunt/modules/roots/b $ ~/terragrunt/bin/terragrunt-0.55.6 init
INFO[0000] Downloading Terraform configurations from file:///home/urban/terragrunt/modules/submodules/b into /home/urban/terragrunt/modules/roots/b/.terragrunt-cache/5CF2RMIa1wfIA10OGn0SYtjkacg/1RpYqPm8FsqkUGpchfcP7cMzIsI

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
urban@ubbeK:~/terragrunt/modules/roots/b $ ~/terragrunt/bin/terragrunt-0.55.6 apply -auto-approve

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Changes to Outputs:
  + family_name = "b"

You can apply this plan to save these new output values to the Terraform
state, without changing any real infrastructure.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

family_name = "b"
urban@ubbeK:~/terragrunt/modules/roots/b $ cd ~/terragrunt/modules/roots/c
urban@ubbeK:~/terragrunt/modules/roots/c $ ~/terragrunt/bin/terragrunt-0.55.6 init
INFO[0000] Downloading Terraform configurations from file:///home/urban/terragrunt/modules/submodules/a into /home/urban/terragrunt/modules/roots/c/.terragrunt-cache/z_GCSxwnc8oez_ZWtcQAd8jUNAQ/FEiijTEI50xqruhwi8IhNp90MwY  prefix=[/home/urban/terragrunt/modules/roots/a]
WARN[0000] Error reading partial config  for dependency tf: /home/urban/terragrunt/modules/roots/a/terragrunt.hcl is a dependency of /home/urban/terragrunt/modules/roots/b/terragrunt.hcl but detected no outputs. Either the target module has not been applied yet, or the module has no outputs. If this is expected, set the skip_outputs flag to true on the dependency block.
ERRO[0000] /home/urban/terragrunt/modules/roots/a/terragrunt.hcl is a dependency of /home/urban/terragrunt/modules/roots/b/terragrunt.hcl but detected no outputs. Either the target module has not been applied yet, or the module has no outputs. If this is expected, set the skip_outputs flag to true on the dependency block.
ERRO[0000] Unable to determine underlying exit code, so Terragrunt will exit with error code 1

[ ] Screenshots

Versions

Terragrunt version: 0.55.6
Terraform version: v1.7.5
Environment details (Ubuntu 20.04, Windows 10, etc.): Ubuntu 22.04.4 LTS as WSL on Windows 10

Additional context
I have done the same test using terragrunt version 0.55.5 with good results, meaning that the following PR is probably whats causing it: https://github.com/gruntwork-io/terragrunt/pull/2957
here are the succeeding commands and console output for terragrunt 0.55.5 using the same files
~/terragrunt/bin/terragrunt-0.55.5 --version

cd ~/terragrunt
rm -rf ~/terragrunt/modules/roots/a/.terragrunt-cache
rm -rf ~/terragrunt/modules/roots/b/.terragrunt-cache
rm -rf ~/terragrunt/modules/roots/c/.terragrunt-cache

cd ~/terragrunt/modules/roots/a
~/terragrunt/bin/terragrunt-0.55.5 init
~/terragrunt/bin/terragrunt-0.55.5 apply -auto-approve

cd ~/terragrunt/modules/roots/b
~/terragrunt/bin/terragrunt-0.55.5 init
~/terragrunt/bin/terragrunt-0.55.5 apply -auto-approve

cd ~/terragrunt/modules/roots/c
~/terragrunt/bin/terragrunt-0.55.5 init
~/terragrunt/bin/terragrunt-0.55.5 apply -auto-approve

urban@ubbeK:~/terragrunt $ ~/terragrunt/bin/terragrunt-0.55.5 --version
terragrunt version v0.55.5
urban@ubbeK:~/terragrunt $ cd ~/terragrunt
urban@ubbeK:~/terragrunt $ rm -rf ~/terragrunt/modules/roots/a/.terragrunt-cache
urban@ubbeK:~/terragrunt $ rm -rf ~/terragrunt/modules/roots/b/.terragrunt-cache
urban@ubbeK:~/terragrunt $ rm -rf ~/terragrunt/modules/roots/c/.terragrunt-cache
urban@ubbeK:~/terragrunt $ cd ~/terragrunt/modules/roots/a
urban@ubbeK:~/terragrunt/modules/roots/a $ ~/terragrunt/bin/terragrunt-0.55.5 init
INFO[0000] Downloading Terraform configurations from file:///home/urban/terragrunt/modules/submodules/a into /home/urban/terragrunt/modules/roots/a/.terragrunt-cache/z_GCSxwnc8oez_ZWtcQAd8jUNAQ/FEiijTEI50xqruhwi8IhNp90MwY

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
urban@ubbeK:~/terragrunt/modules/roots/a $ ~/terragrunt/bin/terragrunt-0.55.5 apply -auto-approve

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Changes to Outputs:
  + family_name = "a"

You can apply this plan to save these new output values to the Terraform
state, without changing any real infrastructure.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

family_name = "a"
urban@ubbeK:~/terragrunt/modules/roots/a $ cd ~/terragrunt/modules/roots/b
urban@ubbeK:~/terragrunt/modules/roots/b $ ~/terragrunt/bin/terragrunt-0.55.5 init
INFO[0000] Downloading Terraform configurations from file:///home/urban/terragrunt/modules/submodules/b into /home/urban/terragrunt/modules/roots/b/.terragrunt-cache/5CF2RMIa1wfIA10OGn0SYtjkacg/1RpYqPm8FsqkUGpchfcP7cMzIsI

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
urban@ubbeK:~/terragrunt/modules/roots/b $ ~/terragrunt/bin/terragrunt-0.55.5 apply -auto-approve

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Changes to Outputs:
  + family_name = "b"

You can apply this plan to save these new output values to the Terraform
state, without changing any real infrastructure.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

family_name = "b"
urban@ubbeK:~/terragrunt/modules/roots/b $ cd ~/terragrunt/modules/roots/c
urban@ubbeK:~/terragrunt/modules/roots/c $ ~/terragrunt/bin/terragrunt-0.55.5 init
INFO[0000] Downloading Terraform configurations from file:///home/urban/terragrunt/modules/submodules/c into /home/urban/terragrunt/modules/roots/c/.terragrunt-cache/_xQH-j39DA7C0Xdt0DCDf4mdL30/p93U5EiqFzs6wR6HAwapQQEi2sA

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
urban@ubbeK:~/terragrunt/modules/roots/c $ ~/terragrunt/bin/terragrunt-0.55.5 apply -auto-approve

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Changes to Outputs:
  + family_name = "c"

You can apply this plan to save these new output values to the Terraform
state, without changing any real infrastructure.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

family_name = "c"

Yep, it is broken, I am hitting it during run-all destroy with the latest 0.57.2 version. Reverting back to 0.55.5 fixes the issuefor me. I have a transitive dependency C -> B -> A and it is picking up a mock output from A instead of the real output.

@ubbeK, thanks for the detail explanation!

Hi @bgrommes, resolved in v0.58.10 release.


NIFI-6266 Correct proxy FTP connect handling

Description of PR
NIFI-6266 Corrects proxy connection handling for FTP components and adds support for SOCKS proxy servers with authentication.
The current FTPTransfer class attempted FTP server host resolution using InetAddress.getByName() in order to pass an instance of InetAddress to Commons Net FTPClient.connect().  Although FTPClient.connect() accepts a String for the host parameter, the connect() implementation performs the same InetAddress.getByName() resolution.  In environments where the NiFi system cannot resolve the destination FTP server address, the InetAddress.getByName() throws an exception.
To resolve this problem, a new ProxyFTPClient extends the standard FTPClient and overrides the connect(String host, int port) method to create an InetSocketAddress that allows the host to be unresolved.  This approach allows a proxy socket to pass the unresolved host to the proxy server, relying on the proxy server to perform name resolution.  Proxy server connections require FTP passive mode, which is the default setting for the Connection Mode property. In addition to overriding the FTPClient.connect() method, disabling the Passive NAT Workaround Hostname Resolver is also necessary.  Calling FTPClient.setPassiveNatWorkaroundStrategy() with a null value disables potential hostname resolution that could also cause transfers to fail when connecting through a proxy server.
Additional changes include refactoring FTPClient creation using a new FTPClientProvider that follows the same approach as the SSHClientProvider.  The StandardFTPClientProvider handles configuring processor properties and also disconnects the FTPClient on initial failures, such as authentication problems.  These changes also provided the opportunity to remove several unused utility classes.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[X] Has your PR been rebased against the latest commit within the target branch (typically main)?

[X] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[X] Have you written or updated unit tests to verify your changes?
[X] Have you verified that the full build is successful on JDK 8?
[X] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Tested out this PR with a squid proxy + FTP processors. Was able to list files and get files successfully via the proxy. +1 will merge.


vc/readme: fix cri url

The old one was invalidated since 2019-07-01.
Fixes: #1847

/cc @jodh-intel

/test


RSDK-9560: remove AnalogNames and DigitalInterruptNames from python sdk

removed:

analog_names()
digital_interrupt_names()
test functions of both

are there any other tests I should run before merging @njooma?

are there any other tests I should run before merging @njooma?

I don't think so -- should be OK as is


add extremely randomized tree as base learner?

The variety of mdels plays an important role in model ensemble. I tried some parameters such as "colsample_bytree, colsample_bynode" to make model more stable and different, but trees still grow by some criterion, resulting in the similar models. However, I tried the combination "extratree+lgb", and randomized tree could be used as the certain feature embeding tool  that improves model variety. So I suggest adding extremely randomized tree as base learner.

@joegaotao I'm not sure how to do that.
Note to myself: http://www.montefiore.ulg.ac.be/~ernst/uploads/news/id63/extremely-randomized-trees.pdf

Just as a note, lightgbm added this feature quite recently. I think it would certainly be of value.
https://github.com/microsoft/LightGBM/pull/2671

Yup.  I recently unified the evaluation procedure, partly for categorical data support, partly for features like this.

Just a small bump in case this might be something that could make it into 1.4?

Depends.  Right now the categorical data support is my priority.  I will see how much time left after sorting out categorical data.


Disable auto-shutoff functionality on scale

As described in Issue #7 , the scale automatically turns off after 3 minutes after the last weight change. The method in the user manual is not working.

I did some research, people online claim to have called the manufacturer and asked about the auto-off feature. It sounds like the manual is general, and that feature does not apply to our particular product.
So, it sounds like there is no way around this with this scale. Yay. We can discuss at our next meeting, but since this is only a tech demo, I recommend we just live with it.


STREAMS-432 Update to Java 8

+1 LGTM, we could remove the declarations for both java and maven once we include the maven-enforcer-plugin and enforce the respective versions within there.


buildNpmPackage: symlink manpages to the correct output directory

Description of changes
I noticed this was a regression from node2nix when reviewing #249879. Not completely sure if that's doing it right, and I'm happy to take your suggestions, but it seems to work in the few cases I've tested.
nixpkgs-review OOMs on my 48GB RAM machine when trying to rebuild all dependents, so I couldn't do a full check run, but the few packages I tried building all built fine.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 249932 run on x86_64-linux 1

1 package marked as broken and skipped:

magnetophonDSP.ConstantDetuneChorus

136 packages failed to build:

activitywatch
ariang
audiobookshelf
authelia
aw-server-rust
balanceofsatoshis
bitwarden-cli
cdxgen
cz-cli
deltachat-desktop
djot-js
emscripten
emscriptenPackages.json_c
emscriptenPackages.json_c.dev
emscriptenPackages.libxml2
emscriptenPackages.libxml2.bin
emscriptenPackages.libxml2.dev
emscriptenPackages.libxml2.doc
emscriptenPackages.xmlmirror
emscriptenPackages.xmlmirror.doc
emscriptenPackages.zlib
epgstation
eslint_d
faust
faust2alqt
faust2alsa
faust2csound
faust2firefox
faust2jack
faust2jackrust
faust2jaqt
faust2ladspa
faust2lv2
faust2sc
faustPhysicalModeling
faustlive
flood
forgejo
forgejo.data
fx-cast-bridge
geph.gui
github-copilot-cli
gnomeExtensions.pop-shell
google-clasp
guitarix
homepage-dashboard
hred
husky
imgbrd-grabber
iosevka
iosevka-comfy.comfy
iosevka-comfy.comfy-duo
iosevka-comfy.comfy-fixed
iosevka-comfy.comfy-motion
iosevka-comfy.comfy-motion-duo
iosevka-comfy.comfy-motion-fixed
iosevka-comfy.comfy-wide
iosevka-comfy.comfy-wide-duo
iosevka-comfy.comfy-wide-fixed
iosevka-comfy.comfy-wide-motion
iosevka-comfy.comfy-wide-motion-duo
iosevka-comfy.comfy-wide-motion-fixed
jellyfin
jellyfin-media-player
jellyfin-web
kapitonov-plugins-pack
kavita
lineselect
lv_img_conv
magnetophonDSP.CharacterCompressor
magnetophonDSP.CompBus
magnetophonDSP.LazyLimiter
magnetophonDSP.MBdistortion
magnetophonDSP.RhythmDelay
magnetophonDSP.VoiceOfFaust
magnetophonDSP.faustCompressors
magnetophonDSP.pluginUtils
magnetophonDSP.shelfMultiBand
matrix-alertmanager
memos
mermaid-filter
mirakurun
mongosh
mooSpace
moonfire-nvr
mpvScripts.webtorrent-mpv-hook
mw
nest-cli
newman
npm-check
ntfy-sh
open-music-kontrollers.mephisto
open-stage-control
osmtogeojson
pairdrop
paperless-ngx
photofield
photoprism
pnpm-lock-export
polaris
pufferpanel
pyCA
pyCA.dist
readability-cli
resumed
semantic-release
sitespeed-io
slskd
sunshine
swagger-cli
tambura
terminal-stocks
thelounge
torq
triton
twspace-crawler
typescript
uivonim
uptime-kuma
vencord
vencord-web-extension
vieb
vimPlugins.YouCompleteMe
vsce
vscode-extensions.vadimcn.vscode-lldb
vscode-langservers-extracted
webcord
webcord-vencord
webtorrent_desktop
weylus
windmill
yarn-lock-converter
ycmd
zigbee2mqtt
zincsearch
zrythm

25 packages built:

ansible-language-server
antennas
antora
assemblyscript
bibtex-tidy
bitwarden
castnow
docker-compose-language-service
documenso
dot-language-server
eask
filebrowser
gtop
hueadm
karma-runner
kaufkauflist
maizzle
markdownlint-cli
node-manta
nodehun
polaris-web
psitransfer
reveal-md
sharing
zx

Uh, some of the derivations in your "failed" list are ones that I did test locally and that worked fine. Let me have another look...

@dotlambda do you have build failure logs for e.g. github-copilot-cli, forgejo, mongosh or ntfy-sh? I just spot checked all 4 of them locally and all 4 built successfully.

@ofborg build github-copilot-cli forgejo mongosh ntfy-sh

That was some issue with my network or nixpkgs-review. I'll try to run it again.

Result of nixpkgs-review pr 249932 run on x86_64-linux 1

1 package marked as broken and skipped:

magnetophonDSP.ConstantDetuneChorus

10 packages failed to build:

geph.gui
imgbrd-grabber
iosevka
iosevka-comfy.comfy
iosevka-comfy.comfy-duo
iosevka-comfy.comfy-motion
iosevka-comfy.comfy-motion-duo
iosevka-comfy.comfy-motion-fixed
iosevka-comfy.comfy-wide
sitespeed-io

144 packages built:

activitywatch
ansible-language-server
antennas
antora
ariang
assemblyscript
audiobookshelf
authelia
aw-server-rust
balanceofsatoshis
bibtex-tidy
bitwarden
bitwarden-cli
castnow
cdxgen
cz-cli
deltachat-desktop
djot-js
docker-compose-language-service
documenso
dot-language-server
eask
emscripten
epgstation
eslint_d
faust (faust2)
faust2alqt
faust2alsa
faust2csound
faust2firefox
faust2jack
faust2jackrust
faust2jaqt
faust2ladspa
faust2lv2
faust2sc
faustPhysicalModeling
faustlive
filebrowser
flood
forgejo
forgejo.data
fx-cast-bridge
github-copilot-cli
gnomeExtensions.pop-shell
google-clasp
gtop
guitarix
haskellPackages.aeson-typescript
haskellPackages.aeson-typescript.doc
homepage-dashboard
hred
hueadm
husky
iosevka-comfy.comfy-fixed
iosevka-comfy.comfy-wide-duo
iosevka-comfy.comfy-wide-fixed
iosevka-comfy.comfy-wide-motion
iosevka-comfy.comfy-wide-motion-duo
iosevka-comfy.comfy-wide-motion-fixed
jellyfin
jellyfin-media-player
jellyfin-web
kapitonov-plugins-pack
karma-runner
kaufkauflist
kavita
lineselect
lv_img_conv
magnetophonDSP.CharacterCompressor
magnetophonDSP.CompBus
magnetophonDSP.LazyLimiter
magnetophonDSP.MBdistortion
magnetophonDSP.RhythmDelay
magnetophonDSP.VoiceOfFaust
magnetophonDSP.faustCompressors
magnetophonDSP.pluginUtils
magnetophonDSP.shelfMultiBand
maizzle
markdownlint-cli
matrix-alertmanager
memos
mermaid-filter
mirakurun
mongosh
mooSpace
moonfire-nvr
mpvScripts.webtorrent-mpv-hook
mw
nest-cli
newman
node-manta
nodehun
npm-check
ntfy-sh
open-music-kontrollers.mephisto
open-stage-control
osmtogeojson
pairdrop
paperless-ngx
photofield
photoprism
pnpm-lock-export
polaris
polaris-web
psitransfer
pufferpanel
pyCA
pyCA.dist
readability-cli
resumed
reveal-md
semantic-release
sharing
slskd
sunshine
swagger-cli
tambura
terminal-stocks
thelounge
torq
triton
twspace-crawler
typescript
uivonim
uptime-kuma
vencord
vencord-web-extension
vieb
vimPlugins.YouCompleteMe
vsce
vscode-extensions.vadimcn.vscode-lldb
vscode-langservers-extracted
webcord
webcord-vencord
webtorrent_desktop
weylus
windmill
yarn-lock-converter
ycmd
zigbee2mqtt
zincsearch
zrythm
zx

Oops, I shouldn't have merged. This isn't quite enough because we need directories like $out/share/man/man1. I pushed a fix to https://github.com/NixOS/nixpkgs/pull/249879


Problem while doing pip install -e .[habitat]

I got the following error regarding torch version. How to solve this?
Thank you in advance.
ERROR: Cannot install None, habitat-baselines, salesforce-lavis, vlfm and vlfm[habitat]==0.1 because these package versions have conflicting dependencies.
The conflict is caused by:
vlfm 0.1 depends on torch>=1.10.0
vlfm[habitat] 0.1 depends on torch>=1.10.0
habitat-baselines 0.2.420230405 depends on torch>=1.3.1
webdataset 0.1.40 depends on torch
salesforce-lavis 1.0.2 depends on torch>=1.10.0
fairscale 0.4.4 depends on torch>=1.8.0
timm 0.4.12 depends on torch>=1.4
groundingdino 0.1.0 depends on torch
torchvision 0.10.1 depends on torch==1.9.1
vlfm 0.1 depends on torch>=1.10.0
vlfm[habitat] 0.1 depends on torch>=1.10.0
habitat-baselines 0.2.420230405 depends on torch>=1.3.1
webdataset 0.1.40 depends on torch
salesforce-lavis 1.0.2 depends on torch>=1.10.0
fairscale 0.4.4 depends on torch>=1.8.0
timm 0.4.12 depends on torch>=1.4
groundingdino 0.1.0 depends on torch
torchvision 0.10.0 depends on torch==1.9.0
vlfm 0.1 depends on torch>=1.10.0
vlfm[habitat] 0.1 depends on torch>=1.10.0
habitat-baselines 0.2.420230405 depends on torch>=1.3.1
webdataset 0.1.40 depends on torch
salesforce-lavis 1.0.2 depends on torch>=1.10.0
fairscale 0.4.4 depends on torch>=1.8.0
timm 0.4.12 depends on torch>=1.4
groundingdino 0.1.0 depends on torch
torchvision 0.9.1 depends on torch==1.8.1
vlfm 0.1 depends on torch>=1.10.0
vlfm[habitat] 0.1 depends on torch>=1.10.0
habitat-baselines 0.2.420230405 depends on torch>=1.3.1
webdataset 0.1.40 depends on torch
salesforce-lavis 1.0.2 depends on torch>=1.10.0
fairscale 0.4.4 depends on torch>=1.8.0
timm 0.4.12 depends on torch>=1.4
groundingdino 0.1.0 depends on torch
torchvision 0.9.0 depends on torch==1.8.0
vlfm 0.1 depends on torch>=1.10.0
vlfm[habitat] 0.1 depends on torch>=1.10.0
habitat-baselines 0.2.420230405 depends on torch>=1.3.1
webdataset 0.1.40 depends on torch
salesforce-lavis 1.0.2 depends on torch>=1.10.0
fairscale 0.4.4 depends on torch>=1.8.0
timm 0.4.12 depends on torch>=1.4
groundingdino 0.1.0 depends on torch
torchvision 0.8.2 depends on torch==1.7.1

This should be fixed with the latest commit

Thank you for the reply. I still got following error. Please help.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
blis 1.0.1 requires numpy<3.0.0,>=2.0.0, but you have numpy 1.26.4 which is incompatible.
thinc 8.3.2 requires numpy<2.1.0,>=2.0.0; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible.

Thank you for the reply. I still got following error. Please help.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
blis 1.0.1 requires numpy<3.0.0,>=2.0.0, but you have numpy 1.26.4 which is incompatible.
thinc 8.3.2 requires numpy<2.1.0,>=2.0.0; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible.

Did your issue get resolved?


Cleanup & Suggestions

Hi all. I'd like to suggest a few changes, each detailed in individual commits below. Most of them are pretty minor, but I kept them separate for readability's sake.
The only changes that are likely controversial are:

Removing requirements.txt in favor of inlining the contents of install_requires. Given that DRF is the only requirement, the file inclusion/parsing seems like overkill.

Removing the DRF version bounds. From the commit message:

New versions of DRF are more likely than not to be compatible. Instead
of pessimistically restricting compatibility with future DRF versions,
compatibility should be provided through documentation and explicit
version bounds in test.

It might be worth adding a note along the lines of "djangorestframework-gis is generally compatible with modern versions of Django REST Framework, however it's only explicitly tested against the latest version of DRF at the time of release, indicated in the compatibility matrix below."
Edit: it looks like there was a compatibility issue when upgrading DRF 3.9. I don't fully understand the issue, but my understanding is that it was related to test output only, and doesn't reflect a change in compatibility or expected output from djangorestframework-gis.

Rebased off of #173, which fixes the test issue w/ DRF 3.9.x


Load FireWire kernel module automatically

Make firewire.ko kernel module load automatically on machines that have a FireWire controller (like many Macs do).
We could do it via loader.conf but then it would get loaded even on machines without FireWire.
How to do this properly?

Similarly,
https://github.com/helloSystem/ISO/blob/77fb82caa1df84dc2b8079174ed4f297686d000c/overlays/boot/boot/loader.conf#L64-L65
might be replaced by a better solution?

Similarly,
https://github.com/helloSystem/ISO/blob/77fb82caa1df84dc2b8079174ed4f297686d000c/overlays/boot/boot/loader.conf#L64-L65
might be replaced by a better solution?

Does
https://github.com/helloSystem/ISO/blob/6732d7ea89d6f9620f9044abd18955882db6df22/overlays/uzip/furybsd-live-settings/files/usr/local/bin/furybsd-init-helper#L82
have to do with it?
     kld_list	 (str) A list of kernel	modules	to load	right after the	local
		 disks are mounted.  Loading modules at	this point in the boot
		 process is much faster	than doing it via /boot/loader.conf
		 for those modules not necessary for mounting local disk.

No mention of "hardware autodetection" though.

Does
https://github.com/helloSystem/ISO/blob/6732d7ea89d6f9620f9044abd18955882db6df22/overlays/uzip/furybsd-live-settings/files/usr/local/bin/furybsd-init-helper#L82
have to do with it?
     kld_list	 (str) A list of kernel	modules	to load	right after the	local
		 disks are mounted.  Loading modules at	this point in the boot
		 process is much faster	than doing it via /boot/loader.conf
		 for those modules not necessary for mounting local disk.

No mention of "hardware autodetection" though.

Can https://www.freebsd.org/cgi/man.cgi?devd(8) be used to load such modules only when the matching hardware is present?
Maybe @vermaden knows?

Can https://www.freebsd.org/cgi/man.cgi?devd(8) be used to load such modules only when the matching hardware is present?
Maybe @vermaden knows?

In the case of the FireWire module, Macs actually can boot from FireWire, and for older Macs (pre-USB 3) this is the only way to attach fast external SSD storage, hence greatly increasing their usable lifespan (one use case for which helloSystem is intended). Hence in the case of the FireWire module it may be justified to load it via loader.conf actually.

In the case of the FireWire module, Macs actually can boot from FireWire, and for older Macs (pre-USB 3) this is the only way to attach fast external SSD storage, hence greatly increasing their usable lifespan (one use case for which helloSystem is intended). Hence in the case of the FireWire module it may be justified to load it via loader.conf actually.

Which ones are actually needed to boot Macs using FireWire?
https://lists.freebsd.org/pipermail/freebsd-firewire/2010-May/001196.html has
+firewire_load="NO"             # IEEE1394 High-performance Serial Bus
+fwe_load="NO"                  # Ethernet emulation driver for FireWire
+fwip_load="NO"                 # IP over FireWire driver
+fwohci_load="NO"               # OHCI FireWire chipset device driver
(load with firewire)
+sbp_load="NO"                  # SBP-2 Mass Storage Devices driver

Which ones are actually needed to boot Macs using FireWire?
https://lists.freebsd.org/pipermail/freebsd-firewire/2010-May/001196.html has
+firewire_load="NO"             # IEEE1394 High-performance Serial Bus
+fwe_load="NO"                  # Ethernet emulation driver for FireWire
+fwip_load="NO"                 # IP over FireWire driver
+fwohci_load="NO"               # OHCI FireWire chipset device driver
(load with firewire)
+sbp_load="NO"                  # SBP-2 Mass Storage Devices driver

Maybe DSBDriverd https://github.com/mrclksr/DSBDriverd?

Maybe DSBDriverd https://github.com/mrclksr/DSBDriverd?

Added dsbdriverd in https://github.com/helloSystem/ISO/commit/0681dcee2622a7f51950459f2d4c51f3505b19cd

Added dsbdriverd in https://github.com/helloSystem/ISO/commit/0681dcee2622a7f51950459f2d4c51f3505b19cd

Maybe DSBDriverd https://github.com/mrclksr/DSBDriverd?

Yes, that one can also be used.
Keep in mind that as devd(8) is used to execute automount it can also be used to execute any script - in this special case a script that will load needed kernel modules.
... but if they are just one or two modules I would consider just adding them to /etc/rc.conf file to load them anyway.

Maybe DSBDriverd https://github.com/mrclksr/DSBDriverd?

Yes, that one can also be used.
Keep in mind that as devd(8) is used to execute automount it can also be used to execute any script - in this special case a script that will load needed kernel modules.
... but if they are just one or two modules I would consider just adding them to /etc/rc.conf file to load them anyway.

if they are just one or two modules I would consider just adding them to /etc/rc.conf file to load them anyway

As for FireWire, I assume that this is needed to get this to boot? (Assuming that FreeBSD can be booted over FireWire at all, which I am just blindly assuming at this point due to the lack of test hardware.)

if they are just one or two modules I would consider just adding them to /etc/rc.conf file to load them anyway

As for FireWire, I assume that this is needed to get this to boot? (Assuming that FreeBSD can be booted over FireWire at all, which I am just blindly assuming at this point due to the lack of test hardware.)

if they are just one or two modules I would consider just adding them to /etc/rc.conf file to load them anyway

As for FireWire, I assume that this is needed to get this to boot? (Assuming that FreeBSD can be booted over FireWire at all, which I am just blindly assuming at this point due to the lack of test hardware.)

When was the last time you booted from FireWire? :)

if they are just one or two modules I would consider just adding them to /etc/rc.conf file to load them anyway

As for FireWire, I assume that this is needed to get this to boot? (Assuming that FreeBSD can be booted over FireWire at all, which I am just blindly assuming at this point due to the lack of test hardware.)

When was the last time you booted from FireWire? :)

Not that long ago. On an iMac3,1 which has an intenal slow rotating hard drive and is much speedier when booted from an SSD attached via FireWire.

Not that long ago. On an iMac3,1 which has an intenal slow rotating hard drive and is much speedier when booted from an SSD attached via FireWire.

Not that long ago. On an iMac3,1 which has an intenal slow rotating hard drive and is much speedier when booted from an SSD attached via FireWire.

I assume that You could as well boot from that SSD using USB port?

Not that long ago. On an iMac3,1 which has an intenal slow rotating hard drive and is much speedier when booted from an SSD attached via FireWire.

I assume that You could as well boot from that SSD using USB port?

Yes, but it's only USB2... Apple had FireWire and hence was slow embracing USB3.

Yes, but it's only USB2... Apple had FireWire and hence was slow embracing USB3.


Add instructlab.eval.constants objects, would like access to ALL_MMLU_TASKS and similar

It'd be useful if I could pass a constant to the evaluator to tell it to "do vanilla, all tasks".
This could be the default as well- by default, people would probably want the holistic score, but they could alternatively do fewer tasks.
evaluator = MMLUEvaluator(
                model_path,
                tasks=ALL_MMLU_TASKS,
                few_shots=2,  # TODO need to know this param
                batch_size=torch.cuda.device_count(),
            )

@JamesKunstle does this fit the bill? https://github.com/instructlab/eval/pull/24


Install hangs when project name has a dash (ex: project-name)

When starting a new project, if the the project name has a dash in the name (ex: project-name) running rails generate simple_form:install will hang forever.
Using latest gems and ruby version.
Had a ball with this one

actually this is not a pattern...figuring this one out still

got ahead of myself, restarting terminal session for some reason unblocked this

FYI: I had the same problem. Restarting terminal did the trick.


ValueError in Inference

When I ran the inference script:
python videopose-j16-wild-eval_run.py
I got folloing errors. Could you help me?
-------------- prepare video clip spends 0.03 seconds
-------------- load keypoint spends 0.05 seconds
Loading checkpoint ./checkpoint/ckpt_ep_045.bin
-------------- load 3D model spends 3.81 seconds
-------------- generate reconstruction 3D data spends 0.53 seconds
Loading checkpoint ./checkpoint/ckpt_ep_045.bin
-------------- load 3D Traj model spends 0.16 seconds
-------------- generate reconstruction 3D data spends 0.02 seconds
Rendering... save to ./wild_eval/333_scale2D_010/bilibili-clip/kunkun_clip_alpha_pose.mp4
===========================> This video get 49 frames in total.
  2%|##2                                                                                | 1/49 [00:00<00:10,  4.57it/s]Traceback (most recent call last):
  File "videopose-j16-wild-eval_run.py", line 288, in <module>
    Vis.redering()
  File "videopose-j16-wild-eval_run.py", line 44, in redering
    self.visalizatoin(anim_output)
  File "videopose-j16-wild-eval_run.py", line 232, in visalizatoin
    input_video_skip=args.viz_skip)
  File "/mnt/zhoudeyu/project/save_video/dengyuanzhang/posetriplet/PoseTriplet-main/estimator_inference/common/visualization.py", line 195, in render_animation
    anim.save(output, writer=writer)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 1174, in save
    writer.grab_frame(**savefig_kwargs)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 232, in saving
    self.finish()
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 358, in finish
    self.cleanup()
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 395, in cleanup
    out, err = self._proc.communicate()
  File "/root/miniconda3/envs/alphapose/lib/python3.6/subprocess.py", line 863, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/subprocess.py", line 1525, in _communicate
    selector.register(self.stdout, selectors.EVENT_READ)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/selectors.py", line 351, in register
    key = super().register(fileobj, events, data)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/selectors.py", line 237, in register
    key = SelectorKey(fileobj, self._fileobj_lookup(fileobj), events, data)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/selectors.py", line 224, in _fileobj_lookup
    return _fileobj_to_fd(fileobj)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/selectors.py", line 39, in _fileobj_to_fd
    "{!r}".format(fileobj)) from None
ValueError: Invalid file object: <_io.BufferedReader name=30>
  6%|######6                                                                                | 3/49 [00:00<00:07,  5.99it/s]

Hi, thank you for the interest!
This might be the issue of matplotlib dependency version. I have upload a requirement file for you to check.
Can you check and try this matplotlib version ?

It seems that I did not install ffmpeg correctly.
PoseTriplet-main/estimator_inference/common/visualization.py:191: UserWarning: Tight layout not applied. The left and right margins cannot be made large enough to accommodate all axes decorations.
  fig.tight_layout()
  2%|###2                                                                                | 1/49 [00:00<00:19,  2.48it/s]MovieWriter stderr:
Unknown encoder 'h264'

Traceback (most recent call last):
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 251, in saving
    yield self
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 1157, in save
    anim._draw_next_frame(d, blit=False)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 1192, in _draw_next_frame
    self._draw_frame(framedata)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 1742, in _draw_frame
    self._drawn_artists = self._func(framedata, *self._args)
  File "/mnt/zhoudeyu/project/save_video/dengyuanzhang/posetriplet/PoseTriplet-main/estimator_inference/common/visualization.py", line 185, in update_video
    lines_3d[n][j - 1][0].set_3d_properties([pos[j, 2], pos[j_parent, 2]], zdir='z')
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/mpl_toolkits/mplot3d/art3d.py", line 143, in set_3d_properties
    zs = np.broadcast_to(zs, xs.shape)
AttributeError: 'list' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "videopose-j16-wild-eval_run.py", line 288, in <module>
    Vis.redering()
  File "videopose-j16-wild-eval_run.py", line 44, in redering
    self.visalizatoin(anim_output)
  File "videopose-j16-wild-eval_run.py", line 232, in visalizatoin
    input_video_skip=args.viz_skip)
  File "/mnt/zhoudeyu/project/save_video/dengyuanzhang/posetriplet/PoseTriplet-main/estimator_inference/common/visualization.py", line 199, in render_animation
    anim.save(output, writer=writer)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 1161, in save
    writer.grab_frame(**savefig_kwargs)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 253, in saving
    self.finish()
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 354, in finish
    self.cleanup()
  File "/root/miniconda3/envs/alphapose/lib/python3.6/site-packages/matplotlib/animation.py", line 391, in cleanup
    self._proc.returncode, self._proc.args, out, err)
subprocess.CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '1000x500', '-pix_fmt', 'rgba', '-r', '30', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-b', '30000k', '-y', './wild_eval/333_scale2D_010/bilibili-clip/kunkun_clip_alpha_pose.mp4']' returned non-zero exit status 1.
  2%|###2

I have two ffmpeg version, one is in ubuntu system by apt install, another is by pip install. I am not sure which one is used here.

The apt version:
(base) xx@xx:~$ ffmpeg -version
ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
the pip version:
(envRL) xx@xx:~$ ffmpeg -version
ffmpeg version 9c33b2f Copyright (c) 2000-2021 the FFmpeg developers built with gcc 9.3.0 (crosstool-NG <IP_ADDRESS>_b0863d8_dirty)

Can you try the apt install and see?

I have two ffmpeg version, one is in ubuntu system by apt install, another is by pip install. I am not sure which one is used here.

The apt version:
(base) xx@xx:~$ ffmpeg -version
ffmpeg version 2.8.17-0ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
the pip version:
(envRL) xx@xx:~$ ffmpeg -version
ffmpeg version 9c33b2f Copyright (c) 2000-2021 the FFmpeg developers built with gcc 9.3.0 (crosstool-NG <IP_ADDRESS>_b0863d8_dirty)

Can you try the apt install and see?

Thanks, I give up installing ffmpeg because I met some errors while re-installing it with x264-lib.
So I try to use  this inference script with another environment which has ffmpeg correctly installed with x264-lib.
And now everything goes well! Thanks for you patient reply.

The conclusion is that a newer matplotlib version is needed and the ffmpeg should be installed with libx264.

Ummm, not sure but glad to see the problem solved :P

Change Line 194 in common/visualization.py to writer = Writer(fps=fps, metadata={}, bitrate=bitrate, codec='mpeg4'). It works for me.

I meet the same issue today and I do conda uninstall, then conda install, it works.


Add tests for empty objects in last chunk

related to https://github.com/apollographql/router/pull/3748
Thanks for your help


fix: remove problematic dialyzer problem matcher

Turns out this problem matcher is a little too loose, which causes it to match things it shouldn't. Noticed in this CI run, it will match timestamps in JSON. This can be seen if you run the common docker/setup-buildx-action@v2 (among others):
  {
    "nodes": [
      {
        "name": "builder-ebda29be-8062-4a4a-9e64-efec91d5e3610",
        "endpoint": "unix:///var/run/docker.sock",
        "status": "running",
        "buildkitd-flags": "--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host",
        "buildkit": "v0.11.5",
        "platforms": "linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/386"
      }
    ],
    "name": "builder-ebda29be-8062-4a4a-9e64-efec91d5e361",
    "driver": "docker-container",
    "lastActivity": "2023-03-23T23:22:29.000Z"
  }

Which would result in the last two lines being detected and a warning annotation on the last line:
    "driver": "docker-container",
    "lastActivity": "2023-03-23T23:22:29.000Z"
  Warning: }

Instead, it's recommended to run mix dialyzer --format github which will use a special GitHub actions log format to create warning annotations. This has the advantage of not being triggered for random log text. Running locally should output something like:
done in 0m1.07s
::warning file=lib/kafee/producer.ex,line=1,title=pattern_match::The pattern can never match the type true.
done (warnings were emitted)
Halting VM with exit status 2

Default output for comparison:
done in 0m1.09s
lib/kafee/producer.ex:1:pattern_match
The pattern can never match the type.

Pattern:
false

Type:
true

________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2

More information from the upstream PR: https://github.com/jeremyjh/dialyxir/pull/463

Thanks for this, @btkostner.
A few requests/comments, though:

could you share the output of using that option, for documentation purposes, in this pull request?
I don't think the action should recommend using any specific options (thought this pull request will serve as a reference) since it's not specific to dialyzer/dialyxir
I agree we can remove this, but want to have input from other maintainers (I too have seen it's too loose, but never really acted on it)

👍

Thanks for this, @btkostner. I've added a few other reviewers, for when they have time. At the same time, CI is failing, but it seems unrelated to this PR.

I'm squash-merging this without further approvals, as the approach seems sane. I hope to bump the action's version soonish after that.

Thanks for your contribution, @btkostner.

v1.15.3 released


build+alpha4: Cannot Create New Project

What happened?
With build+alpha4 - I cannot create New Project. Buttons are not responding
MacOs InteliJ IDEA Ultimate
Steps to reproduce
Click on New Project
Relevant log output or stack trace
No response
Operating system
macOS

I had a similar ussue on windows too with IntelliJ IDEA.
It is cause a RuntimeException, the new project dialog wont open but it wont freeze the IDE.
Works on PyCharm tho.


Update Password Page

We need an update-password page which is a page that users get redirected to if they want to reset their password.
This is a simple page that just needs two form inputs password and confirmPassword and a Update Password button.
We need form validation to make sure the passwords match and are a minimum of 8 characters.
ex: (random image we obviously want to stick to our own theme)

working on this


Removing perm

Perm was a valiant effort, and many good developers gave it their all. It was
time to admit that it was dead weight we were hauling along with us.
My main motivation was to get the permission querying code to be
something our vim setup could navigate through when going to the
definitions of functions named the same for db permissions and
perm. Once I got started I couldn't stop myself.
Assorted Notes:

removed all traces of perm I could find. There are some instance of
"perm" in the codebase that have nothing to do with externalizing permissions.
Made all perm config optional, as it's no longer used for anything.

Authored-by: Matthew Kocher<EMAIL_ADDRESS>Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

A short explanation of the proposed change:
There are no short explanations of what the perm project was. The proposed change here is to remove all traces of it from Cloud Controller.

An explanation of the use cases your change solves
As a developer, I want to go to the definition of redable_space_guids and see the code that is in use in 100% cloud controller instances.

As an operator I don't want to specify in my config file that I'm not using perm. Since I'm not.

Links to any other associated PRs

[X] I have reviewed the contributing guide

[X] I have viewed, signed, and submitted the Contributor License Agreement

[X] I have made this pull request to the main branch

[X] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests
I probably should do this one, but I haven't yet. Would like to get some feedback on this PR before I put in the effort.

I think this is a really smart PR


Updating Rust default configuration to become Vim as Rust IDE.

I use vim-bootstrap for some time and decided to contribute to the project today, I saw a failure in README.md regarding dependency and I follow the RLS project which shows a list of dependencies to Vim8 to make Vim an IDE.
There is also missing the addition of another block to the configuration but I could not find it to solve.
if executable('rls')
    au User lsp_setup call lsp#register_server({
        \ 'name': 'rls',
        \ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']},
        \ 'whitelist': ['rust'],
        \ })
endif

Neovim also has a setting.

I think a good place to track "legal" dependencies to add on Vim is :
https://areweideyet.com/

@marioidival help on review Mr. Rust

@GiovanniSM20 thanks a lot for the PR. I've used deoplete in my local vimrc, works well with my python, go and rust bundle.
But, to be honest I never tried Asyncomplete.vim and I don't know if this will fit with my stack. I'll take some days to test it. :)

@GiovanniSM20 you might want to take a look at https://github.com/w0rp/ale - it has been by far the best LSP client I've used on vim.

eu o conheço @qmx ;)

Ale is part of the template and has support for the rls language server. Although I don't know how it compares to this approach.


[tool_crash] ProcessException: No such file or directory Command: /home/shashi/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/pub, OS error code: 2

Running "flutter pub get" in flutter_tools...
Oops; flutter has exited unexpectedly: "ProcessException: No such file or directory
Command: /home/shashi/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/pub --verbosity=warning get --no-precompile".
A crash report has been written to /home/shashi/flutter_04.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+ProcessException%3A+No+such+file+or+directory
++Command%3A+%2Fhome%2Fshashi%2Fsnap%2Fflutter%2Fcommon%2Fflutter%2Fbin%2Fcache%2Fdart-sdk%2Fbin%2Fpub+--verbosity%3Dwarning+get+--no-precompile
To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports
Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
https://git.io/JsSu1

Command
flutter create sample

Steps to Reproduce

...
...
...

Logs
ProcessException: No such file or directory Command: /home/shashi/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/pub, OS error code: 2
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:390:33)
#1      Process.start (dart:io-patch/process_patch.dart:36:20)
#2      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:44:22)
#3      ErrorHandlingProcessManager.start.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:664:24)
#4      _run (package:flutter_tools/src/base/error_handling_io.dart:544:20)
#5      ErrorHandlingProcessManager.start (package:flutter_tools/src/base/error_handling_io.dart:663:12)
#6      _DefaultProcessUtils.start (package:flutter_tools/src/base/process.dart:425:28)
#7      _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart:444:35)
#8      _DefaultPub.batch (package:flutter_tools/src/dart/pub.dart:283:34)
<asynchronous suspension>
#9      _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:223:7)
<asynchronous suspension>
#10     PubDependencies.update (package:flutter_tools/src/flutter_cache.dart:121:5)
<asynchronous suspension>
#11     Cache.updateAll (package:flutter_tools/src/cache.dart:546:9)
<asynchronous suspension>
#12     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1143:7)
<asynchronous suspension>
#13     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     CommandRunner.runCommand (package:args/command_runner.dart:196:13)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)

[✓] Flutter (Channel beta, 2.2.0, on Linux, locale en_GB.UTF-8)
    • Flutter version 2.2.0 at /home/shashi/snap/flutter/common/flutter
    • Framework revision b22742018b (7 days ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /snap/intellij-idea-community/299
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.55.2)
    • VS Code at /usr/share/code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 90.0.4430.93

! Doctor found issues in 2 categories.

Flutter Application Metadata
No pubspec in working directory.

Hi @Shashi-Chaurasia
Added above report from your link, looks like a Flutter snap issue
Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.


multiple top-level modules

pysaml2 installs multiple top-level modules:
s2repoze
saml2
xmldsig
xmlenc
In order to package saml2 for Fedora, I need to clarify relationship to https://pypi.python.org/pypi/xmldsig to the module included in pysaml2 since they would conflict and APIs seem to be completely different.
Are xml* and s2repoze modules supposed to be standalone public modules or are they internal implementation details which should be moved under saml2. namespace i.e.
saml2.s2repoze
saml2.xmldsig
saml2.xmlenc
?

2 apr 2015 kl. 22:13 skrev Alan Pevec<EMAIL_ADDRESS>pysaml2 installs multiple top-level modules:
s2repoze
saml2
xmldsig
xmlenc
In order to create package saml2 for Fedora, I need to clarify relationship to https://pypi.python.org/pypi/xmldsig to the module included in pysaml2 since they would conflict and APIs seem to be completely different.
Are xml* and s2repoze modules supposed to be standalone public modules or are they internal implementation details which should be moved under saml2. namespace i.e.
saml2.s2repoze
saml2.xmldsig
saml2.xmlenc
?

They should be moved.
They are where they are for historical, now not valid, reasons.
I’ll move them.

Roland

"It is the consequence of humanity. We are all formed of frailty and error; let us pardon reciprocally each others’ folly - that is the first law of nature.” - Voltaire

AFAICT this was addressed by https://github.com/rohe/pysaml2/commit/9af3252035484f4a8c624eba0f35b68280d43fd2

20 maj 2015 kl. 13:02 skrev Alan Pevec<EMAIL_ADDRESS>AFAICT this was addressed by 9af3252

Correct !

Roland

"It is the consequence of humanity. We are all formed of frailty and error; let us pardon reciprocally each others’ folly - that is the first law of nature.” - Voltaire

BTW this is backward incompatible change so make sure to mention it in future 2.5.0 release notes.
Users will need something like https://review.openstack.org/184445 in OpenStack Keystone to work with both pysaml2 versions.

20 maj 2015 kl. 13:51 skrev Alan Pevec<EMAIL_ADDRESS>BTW this is backward incompatible change so make sure to mention it in future 2.5.0 release notes.

So I should probably bump the version to 3.0.0 to stress the incompatible change.

Users will need something like https://review.openstack.org/184445 in OpenStack Keystone to work with both pysaml2 versions.

Right!

Roland

"It is the consequence of humanity. We are all formed of frailty and error; let us pardon reciprocally each others’ folly - that is the first law of nature.” - Voltaire

Yes, semver.org says 3.0.0 is in order.


Add a duplicate prevention mechanism

Right now most vector DBs support uploading duplicate vectors as long as the ID is unique. It might be beneficial for vectorflow to 1) prevent the uploading of duplicate vectors
2) deduplicate an index/collection/class object store
But is it possible to enforce these things in a performant way

The default deduplication field should be the source filename. We do not need to go down to the chunk level. Whoever builds this should take into account how to check this for each vector DB. If it's not possible to search qdrant/weaviate/pinecone by metadata field or ID, then we may need to use a SQL table in postgres. I don't want to add Redis just for this though


Docs

Coverage decreased (-2.5%) to 90.988% when pulling 5770b61664d46456aeda1272e0b9579445cd5ca8 on docs into f93180cdd7d50b7d82cdedf9a3ed22aeedc49d1a on staging.

Coverage decreased (-2.5%) to 90.988% when pulling 5770b61664d46456aeda1272e0b9579445cd5ca8 on docs into f93180cdd7d50b7d82cdedf9a3ed22aeedc49d1a on staging.

Coverage increased (+1.4%) to 94.884% when pulling 5770b61664d46456aeda1272e0b9579445cd5ca8 on docs into f93180cdd7d50b7d82cdedf9a3ed22aeedc49d1a on staging.

Coverage remained the same at 93.699% when pulling 8127d102c10e122882238dd2e92393efffea9514 on docs into 9bb29a8ea36cbc7fb271a7b0cee4e86142f2c7c3 on staging.


remove deepcopy of MessageIndex

This deepcopy in filter_messages is very expensive. And it doesn't appear to be needed, as filter doesn't alter the original object anyway.
The improvement in compile time is over 2 seconds for loading a .grib Raster in Rasters.jl

Ooops wrong repo!


Flutter module signup

Please assign me the signup page of flutter module

It's already assigned you can view other pages. Only auth pages and the home page is assigned.


Adds utility function to set TBB security level

Adds a function to update the preference for the security slider.

That sounds a lot cleaner, would be happy to make the change, but will probably be the weekend before I can look at it. If' that doesn't work timewise for you, go ahead and I'll just rebase.

Sure, please take your time. I wouldn't be able to get to it any sooner.
Just FYI, I plan to make a new release after merging your PR.

Hey @gunesacar, requested changes are in, along with a few tests.


Bryanquigley minor fixups

Overview
This is a collection of small tweaks found while looking at the memory issues / me breaking new instances from launching

nevermind, that was a real CI failure.. looking into it


Adding/replacing owner -> mandatory fields are only optional

Both, owner name and owner address input fields should be mandatory when:

Adding owner
Replacing owner

This is currently not the case and leads to issues (blank screens, owner shown as UNKNOWN).

Solved in https://github.com/gnosis/safe-react/issues/139


Circular reference causes memory leak / crashes

Take this scenario
file1.yaml
field:
  $ref: './file2.yaml#/components/schemas/Something'

file2.yaml
AnotherThing:
  $ref: './file1.yaml#/components/schemas/SomethingElse'

Currently apisprout will spike in memory usage or crash in such a scenario, even though references are resolvable.

Workarounds:

Keep distributed schemas in same directory.
Avoid circular references by using a shared schema file like common.yaml

@AbhimanyuG Thanks for sharing workarounds.  Are you sure this is an APISprout issue? This tool uses https://github.com/getkin/kin-openapi internally for parsing and validating those YAML files. Also, it would be very helpful to see some crash reports/stack traces that you experienced.

Can you share a specific example? E.g. what is a small working OpenAPI file and web request I can make to reproduce this?


Congress Forms Debugger Broken

Trying to access the "Congress Forms Debugger" and the loading bars never finish. When I look at the Chrome console, the error I get is:
XMLHttpRequest cannot load https://congressforms.eff.org//list-congress-members?debug_key=. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://efforg.github.io' is therefore not allowed access. The response had HTTP status code 401.

This infrastructure is no longer run, so it will not work. You'll need to run it yourself. See https://github.com/EFForg/phantom-of-the-capitol


Faust compiling for MIR

Faust compiler now generates MIR code. Here is a benchmark on a set of DSPs (on macOS 10.13, 2.2 Ghz Core I7):

The code backend code is here.
Now waiting to have more CPUs supported by MIR !

Stephane, thank you very much for trying MIR and provided performance data!
I do have plans to port MIR to more targets.  I am planning to port MIR ppc64 and z-series before the summer.  I am thinking about making the first MIR release this summer too.
As for the performance, loop invariant code motion and register renaming (for better register allocation and better invariant code motion) will be added and ready in about 1-2 months.  I hope this will improve the performance a bit.

Can you explain what the figures mean? Is higher bar better or worse?

C++ is the reference (= 1), higher is better. So basically on the tests MIR run between 33%  (kisana.dsp) up to 83% (mixed.dsp) of the C++ version.


ServerApp#run does not terminate the application when exception is thrown

object Main extends ServerApp {
  override def server(args: List[String]): Task[Server] =
    for {
      _ <- Task.fail(...)
      runningServer <- ...
    } yield runningServer

    ...
}

The application doesn't seem to terminate if running server: Task[Server] throws an exception.
If you're not able to replicate it I can create a minimal example. Thanks!
I'm on version 0.15.3

Fixed by #1090, will be released in 0.15.9.


Cloud provisioning updates

@craigkerstiens let me know if you like the new location for this in cloud docs

Oh nevermind, I see that the "regions" commit got into this PR but it also has its own individual PR. I'll rebase it out of this branch.


Implement a more robust way to test Promise-returning code

Do you want to request a feature or report a bug?
Feature.
What is the current behavior?
For testing Promise-returning code at the moment, one can just return a Promise, ex:
it("do smth", () => doSmth().then(intermediateResult => {
  return doSomeMoreThings(intermediateResult).then(result => {
    expect(result).toEqual("beep");
  };
});

However, this is error prone. Consider what happens in this example above if we remove the return: the outer promise will resolve successfully, but the expect clause will never be run before the end of the test!
To mitigate that issue, one could use expect.assertions(1), but this is a hassle to maintain, and is actually still error prone as one could forget to increment when adding new code. For example, this is a bit contrived, but subtly broken:
it("do smth", () => doSmth().then(intermediateResult => {
  expect.assertions(1);
  doSomeMoreThings(intermediateResult).then(result => {
    expect(result).toEqual("beep");
  };
  expect(intermediateResult).toEqual("boop");
});

What is the expected behavior?
To make it more robust, jest could be made so as to expect a particular token from a Promise, given by the test case as a proof that the test was successful. For example:
it("do smth", () => doSmth().then(intermediateResult => {
  return doSomeMoreThings(intermediateResult).then(result => {
    expect(result).toEqual("beep");
    return jest.successfulPromiseToken;
  };
});

In this example, if the return statement was forgotten, then the Promise-returning test case would resolve with undefined instead, prompting jest to detect the test as failed.
What do you think?

I like this idea!

Isn't this the same concept as calling done()?

I agree that it's a problem that the test passes if you remove the return. Not opinionated about what the solution should be.

I don't think Jest should do anything here. Like mentioned above, the example in the OP is just a fancy way of doing done that will instantly reject fail of time out on rejections.
I think a better solution is to promote https://www.npmjs.com/package/babel-jest-assertions. It ties into the alternative in the OP, but you don't have to maintain the number of assertions manually

Cool let's close this then.

I urge you to reconsider. This is not a stylistic choice. It's a serious problem to have a test report as "passed" when it did not pass. Consider this example:
describe('Example test', () => {

  it('demonstrates an issue', () => {
    expect.assertions(1);
    var promise = new Promise((resolve) => {
      resolve();
    });

    promise.then(val => {
      expect(1).toBe(2);
    });
  });

});

This test passes, and absolutely should not.

The suggestion in this issue wouldn't help in that case.
You have to tell Jest that your test is async (either by returning a promise, or taking a done callback), and tell it when it's done.
I'd be interested in hearing ideas here. I suppose we could add some magic for expect.assertions that make the test pending until either something rejects, or the number of expected assertions are ran. Feels sorta hackish though.
I'd prefer this to be a lint rule

I'm on board with your idea to make the test pending until the expected number of assertions are seen. I'm not sure why that would be considered magical or hackish: from my perspective it's the expected and intuitive behavior.

Since you've identified that this is a separate issue, shall I open a new one for this to be discussed separately?

Separate issue would be nice for "wait for pending assertions". It should probably work sorta like a done callback

Opened #4982, thanks for the help!


global GOROOT and swag init GOROOT mismatches

Describe the bug
After upgrading go to v1.14 I got go: cannot find GOROOT directory: /usr/local/Cellar/go/1.13.7/libexec error on swag init -parseVendor yet go env returns<EMAIL_ADDRESS>Your swag version
v1.6.5
Your go version
1.13.0
Desktop (please complete the following information):

OS: mac

@orkunkl

Yes you are right. I managed to fix it. I've dockerized swag check it out here https://github.com/iov-one/swag-docker. It is much more convenient to use than installing swag locally.


Android 11 Call Accept Not open app

I used your plugin and its work when app is in foreground but when terminate my app and when the incoming call after receiving i accept but nothing happen. In Android 10 higher Only not work other is seems working.

no activity for a long time, so closing

I have got the same problem when I accept calls in terminate mode, I have to call the getCallData. but I didn't get any data in response.

how do i use getCallData method to accept calls in terminated mode ??

You have a few tools for it:

use the callback onCallAcceptedWhenTerminated(for Android);
before using the getCallData method you can get the id of the last call via await ConnectycubeFlutterCallKit.getLastCallId();

@alito0697 please create a new ticket with your question/issue

sure wait

Future onCallAcceptedWhenTerminated(CallEvent? callEvent) async {   await ConnectycubeFlutterCallKit.getLastCallId();   var callState = await ConnectycubeFlutterCallKit.getCallState(sessionId:  uuid.v4());   _joinMeetingCall(friendName); }
is this how it should be ??


The search bar in the header should show on every page but the homepage

solve issues #53 , #60 and #64


Tesseract 4.0.0 beta fails to recognize Chinese text

Environment

Tesseract Version: Tesseract Open Source OCR Engine v4.0.0-beta.1-302-g3aa9 with Leptonica
Platform: Ubuntu 18.04 (WSL)

Input

Data
I am using tessdata_fast.
Invocation
tesseract --psm 7 -l chi_tra bla_feed1.png output.txt
Current Behavior:
由條生訪中克己 (Chinese characters are not correctly recognized.)
Expected Behavior:
只要各位董事全力支持增資 (Chinese characters are correctly recognized.)

When using chi_sim from tessdata_fast, the result is also not correct:
人革这>。有丰二全和|

Interesting bug :-)
Problem seems to be at the large font size, tesseract is recognizing the line as multiple lines, using --psm 3, 4, 6 recognize the text in 4 lines.
eg. with chi_sim and psm 3
中
持 增
本 便器 全 几 时
只 要 各 位
I resized the image to be from 672x70 to 384x40 (height 40 and proportional change for width using the tessinput.tif) and the result is much better.

chi_sim and psm 3
只 要 各 位 董事 全 力 支 持 增资
It works for other psms also.

The neural network engine is the default for 4.00. To recognize text from an image of a single text line, use SetPageSegMode(PSM_RAW_LINE). This can be used from the command-line with -psm 13
(from https://github.com/tesseract-ocr/tesseract/wiki/NeuralNetsInTesseract4.00)

--psm 13 works for chi_sim but not chi_tra with the original image.
with chi_tra and --psm 13 on original image I get
章 T
with chi_sim and --psm 13
只 要 各 位 董事 全 力 支 持 增资

I used tessdata_best for the above tests.

With tessdata_fast, original image
chi_tra and psm 13
還全 王六廬站和
chi_sim and psm 13
只要各位董事全力支持增资

Thank you for your comments @Shreeshrii.
My set-up

tessdata_fast
tesseract --psm 7 -l chi_tra image.png output.txt

I am getting correct recognition with your image:
Input

Output
只要各位董事全力支持增資 (100% correct)
However I am not able to use the scaling method as you described to obtain correct recognition. It looks like the recognition is not robust. I found out that slight variety can drastically influence the result. Consider two nearly identical images:
Image A

Image B

The only difference between image A and image B is that last five pixel rows got removed from B.
The resulting outputs are shocking:
Result A
由條生訪中克己 (0% correct)
Result B
只要各位董事全力支持增資 (100% correct)
How can we make tesseract more robust?

Double check resolution metadata for the images.

@jbreiden identify gives:
My image
672x70 672x70+0+0 8-bit sRGB 4.2KB 0.000u 0:00.000
Print size: 17.7778x1.85185
Units: PixelsPerCentimeter
@Shreeshrii's image
384x40 384x40+0+0 8-bit sRGB 256c 6.82KB 0.000u 0:00.000
Print size: 3.25121x0.338667
Units: PixelsPerCentimeter

Sounds like resolution is unset. identify --verbose should return something like Resolution: 118x188. Play with mogrify -density 118x118 (or whatever number is appropriate number for your image). Not sure if this will solve your problem, but it certainly removes some possible confusion.

I also tried this image with DPI set to 300:

384x40 384x40+0+0 8-bit sRGB 256c 4.33KB 0.000u 0:00.000
Print size: 3.25121x0.338667
Units: PixelsPerCentimeter
Detection result: 了還生由人說生六有光忠二 (wrong)

@jbreiden resolution is set, I just didn't write it here as the entire identify --verbose output is rather lengthy.

Use psm 3, 6, or 13.

@amitdo
Image

Results

psm 3: 了還生由人說生六有光忠二 (wrong)
psm 6: 了還生由人說生六有光忠二 (wrong)
psm 7: 了還生由人說生六有光忠二 (wrong)
psm 13: 和如全 汪你疏導選和1 (wrong)

The only difference between image A and image B is that last five pixel rows got removed from B.
The resulting outputs are shocking:

Please provide the image information for these two images. There maybe more differences. It might help in isolating the problem.
Does chi_sim traineddata give you better results?
Please also compare using the traineddata from tessdata_best and tessdata repos.

This comment concludes outputs of various traineddata on image A and image B with psm 7.
tessdata_fast
chi_tra
A: 由條生訪中克己 (wrong)
B: 只要各位董事全力支持增資 (correct)
chi_sim
A: 人革这>。有丰二全和| (wrong)
B: 只要各位董事全力支持增资 (correct)
tessdata_best
chi_tra
A: 章 T (wrong)
B: 只 要 各 位 董事 全 力 支 持 增資 (ok)
chi_sim
A: 和 条 丰 这 2 用 县 丰 让 全 下 | (wrong)
B: 只 要 各 位 董事 全 力 支 持 增 资 (ok)
Finally here is a metadata comparison between image A and image B. The data seems pretty different, further investigation needed.

Image A does not have resolution info.

@Shreeshrii nice catch. However, if I set the resolution to match B using mogrify -density 37.8x37.8 -units PixelsPerCentimeter a.png, the tesseract output is still wrong (和 条 丰 这 2 用 县 丰 让 全 下 |). Here is the updated image A metadata.

I store these images from OpenCV using imwrite(...). When I tried png and tiff, both had the same problem.  The metadata are equally bad, yet one works fine in tesseract and one doesn't.

And as @Shreeshrii has mentioned previously, if I run tesseract  with psm 13 with chi_sim on image X the result is "只要各位董事全力支持增资" which is expected. Does this mean there is a bug in chi_tra data?

And this is a reverse example where the input is simplified Chinese. chi_sim fails and chi_tra succeeds (traditionalizes it). I am using psm 13 and tessdata_best.
Input

Output
chi_sim: 和
chi_tra: 就 該 有 個 熊 樣 ,
Is tesseract not robust because of the messy image metadata? If so, can somebody test this with pixel-wise equal image that has correct metadata? Or is tesseract generally not robust when detecting Chinese from images of this kind? Any ideas?

i met the same problem many times.  Sometimes contrast or brightness tunes can solve the problem, but sometimes cannot.

It is may be good if the background is black

I have the exact same experience with chi_tra: changing the image even a little bit can have a drastic effect on the outcome, ie:

change border size around text,
remove some blank rows/cols from image,
shift the entire row of text up, left, right, down
change the spacing between the words

Any update on this issue? It seems to affect best/fast/base versions of chi_tra, I haven't tried with chi_sim.

The same question here: any updates on this issue or recommended solution? Also experiencing issues with chi_tra and chi_sim with Tesseract 4.1.1. Thanks!

The recommended solution is to use black on white input images.