text:
terraformer import aws: panic: interface conversion: interface {} is nil, not []interface {}

Every time the @github-actions bot complains about this issue being stale I will link to another issue that the bot has closed for inactivity
edit: I've narrowed down to at least ec2 instances and likely ones without a description... I don't have permissions to edit them but will keep pushing where I can.

After a colleague removed an ec2 resource I was able to get further. I am still looking to find what other resources are also causing this issue.

Can you show me specific error logs for the bug?

Is this enough information to be helpful?
   http.response.header.cache_control="no-cache, no-store" http.response.header.content_type=text/xml;charset=UTF-8 http.response.header.date="Thu, 20 Jul 2023 20:23:49 GMT" http.response.header.strict_transport_security="max-age=31536000; includeSubDomains" @caller=github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2@v2.0.0-beta.25/logger.go:138 aws.service=EC2 tf_mux_provider="*schema.GRPCProviderServer" timestamp=2023-07-20T16:22:45.913-0400
2023-07-20T16:22:45.914-0400 [DEBUG] plugin.terraform-provider-aws_v4.59.0_x5.exe: HTTP Request Sent: http.request.header.content_type="application/x-www-form-urlencoded; charset=utf-8" net.peer.name=ec2.us-gov-west-1.amazonaws.com tf_mux_provider="*schema.GRPCProviderServer" tf_resource_type=aws_instance aws.region=us-gov-west-1 http.request.header.authorization="AWS4-HMAC-SHA256 Credential=AKIA************G4RN/20230720/us-gov-west-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=*****" http.request_content_length=95 tf_req_id=c058833c-f38b-c9c9-3b6c-c881f7745cf8 http.flavor=1.1 http.method=POST http.request.header.x_amz_date=20230720T202245Z tf_rpc=ReadResource @module=aws aws.operation=DescribeInstanceCreditSpecifications aws.service=EC2 aws.sdk=aws-sdk-go http.request.body="Action=DescribeInstanceCreditSpecifications&InstanceId.1=i-09b597aae49c9c6c5&Version=2016-11-15" http.url=https://ec2.us-gov-west-1.amazonaws.com/ http.user_agent="APN/1.0 HashiCorp/1.0 Terraform/0.12.31 (+https://www.terraform.io) terraform-provider-aws/4.59.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.44.221 (go1.19.6; windows; amd64)" tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2@v2.0.0-beta.25/logger.go:90 timestamp=2023-07-20T16:22:45.914-0400
2023-07-20T16:22:46.204-0400 [DEBUG] plugin.terraform-provider-aws_v4.59.0_x5.exe: HTTP Response Received: http.duration=289
  http.response.body=
  | <?xml version="1.0" encoding="UTF-8"?>
  | <DescribeInstanceCreditSpecificationsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
  |     <requestId>0161a316-95d5-4dd5-99c4-4fe8130bb710</requestId>
  |     <instanceCreditSpecificationSet>
  |         <item>
  |             <cpuCredits>unlimited</cpuCredits>
  |             <instanceId>i-09b597aae49c9c6c5</instanceId>
  |         </item>
  |     </instanceCreditSpecificationSet>
  | </DescribeInstanceCreditSpecificationsResponse>
   http.response.header.date="Thu, 20 Jul 2023 20:23:49 GMT" tf_rpc=ReadResource @module=aws aws.service=EC2 http.response.header.vary=accept-encoding http.response.header.x_amzn_requestid=0161a316-95d5-4dd5-99c4-4fe8130bb710 aws.sdk=aws-sdk-go http.response.header.content_type=text/xml;charset=UTF-8 http.response.header.server=AmazonEC2 http.status_code=200 tf_mux_provider="*schema.GRPCProviderServer" tf_resource_type=aws_instance aws.region=us-gov-west-1 http.response.header.cache_control="no-cache, no-store" aws.operation=DescribeInstanceCreditSpecifications http.response.header.strict_transport_security="max-age=31536000; includeSubDomains" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=c058833c-f38b-c9c9-3b6c-c881f7745cf8 @caller=github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2@v2.0.0-beta.25/logger.go:138 timestamp=2023-07-20T16:22:46.203-0400
2023-07-20T16:22:46.204-0400 [TRACE] plugin.terraform-provider-aws_v4.59.0_x5.exe: Called downstream: tf_mux_provider="*schema.GRPCProviderServer" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=c058833c-f38b-c9c9-3b6c-c881f7745cf8 @module=sdk.helper_schema tf_resource_type=aws_instance tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:1016 timestamp=2023-07-20T16:22:46.203-0400
2023-07-20T16:22:46.204-0400 [TRACE] plugin.terraform-provider-aws_v4.59.0_x5.exe: Received downstream response: tf_rpc=ReadResource @module=sdk.proto diagnostic_error_count=0 tf_proto_version=5.3 tf_req_duration_ms=3114 tf_req_id=c058833c-f38b-c9c9-3b6c-c881f7745cf8 @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_resource_type=aws_instance timestamp=2023-07-20T16:22:46.204-0400
2023-07-20T16:22:46.204-0400 [TRACE] plugin.terraform-provider-aws_v4.59.0_x5.exe: Served request: tf_rpc=ReadResource tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=c058833c-f38b-c9c9-3b6c-c881f7745cf8 tf_resource_type=aws_instance @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:761 @module=sdk.proto tf_proto_version=5.3 timestamp=2023-07-20T16:22:46.204-0400
2023-07-20T16:22:46.310-0400 [DEBUG] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-07-20T16:22:46.367-0400 [INFO]  plugin: plugin process exited: path=.terraform\providers\registry.terraform.io\hashicorp\aws\4.59.0\windows_amd64\terraform-provider-aws_v4.59.0_x5.exe pid=1584
2023-07-20T16:22:46.368-0400 [DEBUG] plugin: plugin exited

panic: interface conversion: interface {} is nil, not []interface {}

goroutine 1 [running]:
[github.com/GoogleCloudPlatform/terraformer/providers/aws.(*Ec2Generator).PostConvertHook(0xc0013d8000](http://github.com/GoogleCloudPlatform/terraformer/providers/aws.(*Ec2Generator).PostConvertHook(0xc0013d8000)?)
        /home/runner/work/terraformer/terraformer/providers/aws/ec2.go:99 +0x2e7
[github.com/GoogleCloudPlatform/terraformer/providers/aws.(*AwsFacade).PostConvertHook(0xc0037c52e8](http://github.com/GoogleCloudPlatform/terraformer/providers/aws.(*AwsFacade).PostConvertHook(0xc0037c52e8)?)
        /home/runner/work/terraformer/terraformer/providers/aws/aws_facade.go:75 +0x22
[github.com/GoogleCloudPlatform/terraformer/terraformutils.(*ProvidersMapping).CleanupProviders(0xc0037c5600)](http://github.com/GoogleCloudPlatform/terraformer/terraformutils.(*ProvidersMapping).CleanupProviders(0xc0037c5600))
        /home/runner/work/terraformer/terraformer/terraformutils/providers_mapping.go:175 +0xb4
[github.com/GoogleCloudPlatform/terraformer/cmd.Import({_](http://github.com/GoogleCloudPlatform/terraformer/cmd.Import(%7B_), _}, {{0xc000ef5800, 0x54, 0x80}, {0x117bc818, 0x0, 0x0}, {0xc00014803f, 0x14}, ...}, ...)
        /home/runner/work/terraformer/terraformer/cmd/import.go:110 +0x332
[github.com/GoogleCloudPlatform/terraformer/cmd.importRegionResources({{0xc0004c4260](http://github.com/GoogleCloudPlatform/terraformer/cmd.importRegionResources(%7B%7B0xc0004c4260), 0x1, 0x1}, {0x117bc818, 0x0, 0x0}, {0xc00014803f, 0x14}, {0xa4a117c, 0x9}, ...}, ...)
        /home/runner/work/terraformer/terraformer/cmd/provider_cmd_aws.go:121 +0x292
[github.com/GoogleCloudPlatform/terraformer/cmd.newCmdAwsImporter.func1(0xc000fca000](http://github.com/GoogleCloudPlatform/terraformer/cmd.newCmdAwsImporter.func1(0xc000fca000)?, {0xa493340?, 0x5?, 0x5?})
        /home/runner/work/terraformer/terraformer/cmd/provider_cmd_aws.go:66 +0x13e
[github.com/spf13/cobra.(*Command).execute(0xc000fca000](http://github.com/spf13/cobra.(*Command).execute(0xc000fca000), {0xc000294b40, 0x5, 0x5})
        /home/runner/go/pkg/mod/[github.com/spf13/cobra@v1.1.1/command.go:850](http://github.com/spf13/cobra@v1.1.1/command.go:850) +0x67c
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000ee0dc0)](http://github.com/spf13/cobra.(*Command).ExecuteC(0xc000ee0dc0))
        /home/runner/go/pkg/mod/[github.com/spf13/cobra@v1.1.1/command.go:958](http://github.com/spf13/cobra@v1.1.1/command.go:958) +0x39d
[github.com/spf13/cobra.(*Command).Execute(..](http://github.com/spf13/cobra.(*Command).Execute(..).)
        /home/runner/go/pkg/mod/[github.com/spf13/cobra@v1.1.1/command.go:895](http://github.com/spf13/cobra@v1.1.1/command.go:895)
[github.com/GoogleCloudPlatform/terraformer/cmd.Execute()](http://github.com/GoogleCloudPlatform/terraformer/cmd.Execute())
        /home/runner/work/terraformer/terraformer/cmd/root.go:36 +0x1e
main.main()
        /home/runner/work/terraformer/terraformer/main.go:39 +0x50

I have the same issue:
panic: interface conversion: interface {} is nil, not []interface {}

goroutine 1 [running]:
github.com/GoogleCloudPlatform/terraformer/providers/aws.(*Ec2Generator).PostConvertHook(0x14003051258?)
	github.com/GoogleCloudPlatform/terraformer/providers/aws/ec2.go:99 +0x2f8
github.com/GoogleCloudPlatform/terraformer/providers/aws.(*AwsFacade).PostConvertHook(0x0?)
	github.com/GoogleCloudPlatform/terraformer/providers/aws/aws_facade.go:75 +0x28
github.com/GoogleCloudPlatform/terraformer/terraformutils.(*ProvidersMapping).CleanupProviders(0x140030515d8)
	github.com/GoogleCloudPlatform/terraformer/terraformutils/providers_mapping.go:175 +0xa0
github.com/GoogleCloudPlatform/terraformer/cmd.Import({_, _}, {{0x14000b4e520, 0x1, 0x1}, {0x1143196f0, 0x0, 0x0}, {0x16d203306, 0x1d}, ...}, ...)
	github.com/GoogleCloudPlatform/terraformer/cmd/import.go:110 +0x1f4
github.com/GoogleCloudPlatform/terraformer/cmd.importRegionResources({{0x14000b4e4e0, 0x1, 0x1}, {0x1143196f0, 0x0, 0x0}, {0x16d203306, 0x1d}, {0x10a961607, 0x9}, ...}, ...)
	github.com/GoogleCloudPlatform/terraformer/cmd/provider_cmd_aws.go:121 +0x200
github.com/GoogleCloudPlatform/terraformer/cmd.newCmdAwsImporter.func1(0x14000e76580?, {0x10a952bea?, 0x8?, 0x8?})
	github.com/GoogleCloudPlatform/terraformer/cmd/provider_cmd_aws.go:58 +0x804
github.com/spf13/cobra.(*Command).execute(0x14000e76580, {0x14000261a00, 0x8, 0x8})
	github.com/spf13/cobra@v1.1.1/command.go:850 +0x4c4
github.com/spf13/cobra.(*Command).ExecuteC(0x14000c6b340)
	github.com/spf13/cobra@v1.1.1/command.go:958 +0x34c
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.1.1/command.go:895
github.com/GoogleCloudPlatform/terraformer/cmd.Execute()
	github.com/GoogleCloudPlatform/terraformer/cmd/root.go:36 +0x20
main.main()
	github.com/GoogleCloudPlatform/terraformer/main.go:39 +0x54

Thank you for saving this thread @macbutch . I don't know how I missed the stale notification. For what it's worth, I needed to switch to terracognita to finish my work. Might be helpful for you.

Thanks @jakern. Will definitely check it out too. I think I've fixed this issue - possibly there are better approaches but without context on the codebase I've at least stopped the panic.

@macbutch, can you confirm that you were importing EC2 instances? It will take me a few days before I can get back on the system to try again if I even have the logs still but I'm fairly certain that this error occurred on more resource types than just EC2 instances. I'm pretty sure I also got this error for something in the IAM realm. Will get more examples when I can but it's likely that this fix doesn't cover everything.

@jakern This fixed my issue which was only with EC2. It's a very old account and some of these instances are practically fossils. I'm guessing they are simply missing some fields that the API consistently returns for newer instances (but it's purely a guess).
I've not hit any similar issues on other services yet but I've got a lot more importing ahead of me: I've done two regions in one of 7 accounts.
I'm not sure if my change is complete. I think it's safe though because it's just adding a check before dereferencing.

I'm getting the same error:
It would be great if all exceptions were caught and re-emitted with the name of the region, service, and other relevant context information. The logs are really messy and don't look so useful.
e/AWSLambdaBasicExecutionRole-4b24964d-4d0b-4386-8e9b-b8e3d99ff613): MissingEndpoint: 'Endpoint' configuration is required for this service
2023/12/05 14:51:47 reading IAM Policy (arn:aws:iam::272181950121:policy/service-role/AWS_Events_Invoke_CodePipeline_811832852): MissingEndpoint: 'Endpoint' configuration is required for this service
2023/12/05 14:51:47 WARN: Fail read resource from provider, wait 300ms before retry
2023/12/05 14:51:47 reading IAM Role (vanta-auditor): MissingEndpoint: 'Endpoint' configuration is required for this service
2023/12/05 14:51:47 WARN: Fail read resource from provider, wait 300ms before retry
2023/12/05 14:51:47 WARN: Fail read resource from provider, wait 300ms before retry
2023/12/05 14:51:47 reading IAM Role Policy Attachment (AWS_Events_Invoke_CodePipeline_131728770:arn:aws:iam::272181950121:policy/service-role/AWS_Events_Invoke_CodePipeline_131728770): MissingEndpoint: 'Endpoint' configuration is required for this service
2023/12/05 14:51:47 reading IAM Role Policy Attachment (aws-elasticbeanstalk-ec2-role:arn:aws:iam::aws:policy/AWSElasticBeanstalkWebTier): MissingEndpoint: 'Endpoint' configuration is required for this service
2023/12/05 14:51:47 WARN: Fail read resource from provider, wait 300ms before retry
2023/12/05 14:51:47 WARN: Fail read resource from provider, wait 300ms before retry
2023/12/05 14:51:47 reading IAM Policy (arn:aws:iam::272181950121:policy/service-role/AWSLambdaBasicExecutionRole-4b24964d-4d0b-4386-8e9b-b8e3d99ff613): MissingEndpoint: 'Endpoint' configuration is required for this service
2023/12/05 14:51:47 WARN: Fail read resource from provider, wait 300ms before retry
2023/12/05 14:51:47 reading IAM Role Policy Attachment (createConnection-role-kermz88p:arn:aws:iam::272181950121:policy/service-role/AWSLambdaBasicExecutionRole-8b41c703-ab90-4ad3-b977-27779eaf54b5): MissingEndpoint: 'Endpoint' configuration is required for this service
2023/12/05 14:51:47 WARN: Fail read resource from provider, wait 300ms before retry
2023/12/05 14:51:47 Fail read resource from provider, trying import command
2023/12/05 14:51:47 Fail read resource from provider, trying import command
2023/12/05 14:51:47 Fail read resource from provider, trying import command
2023/12/05 14:51:47 Fail read resource from provider, trying import command
2023/12/05 14:51:47 Fail read resource from provider, trying import command
2023/12/05 14:51:47 Fail read resource from provider, trying import command
2023/12/05 14:51:47 Fail read resource from provider, trying import command
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62U3BRJFHM7
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62UYVCLTS5Y
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62UYBCECJET
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--ewebinar
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62URVYHIDMF
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62UT3DTWM4W
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62UY6PUZUHU
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62UQCWDDFP7
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62UT5KYKX44
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--AKIAT6X2O62UVYRXTZ3W
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--FullAWSAccess
2023/12/05 14:51:47 ERROR: Unable to refresh resource tfer--ewebinar-ca
panic: interface conversion: interface {} is nil, not []interface {}

goroutine 1 [running]:
github.com/GoogleCloudPlatform/terraformer/providers/aws.(*CloudFrontGenerator).PostConvertHook(0x1400647c240)
        github.com/GoogleCloudPlatform/terraformer/providers/aws/cloud_front.go:112 +0x66c
github.com/GoogleCloudPlatform/terraformer/providers/aws.(*AwsFacade).PostConvertHook(0x140002752b8?)
        github.com/GoogleCloudPlatform/terraformer/providers/aws/aws_facade.go:75 +0x28
github.com/GoogleCloudPlatform/terraformer/terraformutils.(*ProvidersMapping).CleanupProviders(0x140002755d8)
        github.com/GoogleCloudPlatform/terraformer/terraformutils/providers_mapping.go:175 +0xa0
github.com/GoogleCloudPlatform/terraformer/cmd.Import({_, _}, {{0x14000e23800, 0x56, 0x80}, {0x1160959d0, 0x0, 0x0}, {0x10c78d6c4, 0x1e}, ...}, ...)
        github.com/GoogleCloudPlatform/terraformer/cmd/import.go:110 +0x1f4
github.com/GoogleCloudPlatform/terraformer/cmd.importRegionResources({{0x140003bc3a0, 0x1, 0x1}, {0x1160959d0, 0x0, 0x0}, {0x10c78d6c4, 0x1e}, {0x10c6e4bdf, 0x9}, ...}, ...)
        github.com/GoogleCloudPlatform/terraformer/cmd/provider_cmd_aws.go:121 +0x200
github.com/GoogleCloudPlatform/terraformer/cmd.newCmdAwsImporter.func1(0x14000e9a580?, {0x10c6d61c8?, 0x8?, 0x8?})
        github.com/GoogleCloudPlatform/terraformer/cmd/provider_cmd_aws.go:58 +0x804
github.com/spf13/cobra.(*Command).execute(0x14000e9a580, {0x140003dce00, 0x8, 0x8})
        github.com/spf13/cobra@v1.1.1/command.go:850 +0x4c4
github.com/spf13/cobra.(*Command).ExecuteC(0x14000d97340)
        github.com/spf13/cobra@v1.1.1/command.go:958 +0x34c
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.1.1/command.go:895
github.com/GoogleCloudPlatform/terraformer/cmd.Execute()
        github.com/GoogleCloudPlatform/terraformer/cmd/root.go:36 +0x20
main.main()
        github.com/GoogleCloudPlatform/terraformer/main.go:39 +0x54

authors: jakern macbutch nhooey shblue21

repo: GoogleCloudPlatform/terraformer


text:
Prioritize credhelpers block in docker config.json

This might hold true for all registries.
But at least for gcr.io this is the preferred option. Since old expired credentials generated by gcloud docker can result in unexpected auth failures.

At least we've been cognitive about our explicit choice of the current priority.
/**
 * Retrieves registry credentials from the Docker config.
 *
 *
The credentials are searched in the following order (stopping when credentials are found):
 *
 *

 *
If there is an {@code auth} defined for a registry.
 *
Using the {@code credsStore} credential helper, if available.
 *
Using the credential helper from {@code credHelpers}, if available.
 *

 *
 * @see https://docs.docker.com/engine/reference/commandline/login/
 */

If we're willing to take the hit for a round-trip, we could check if it's a token with
$ curl -H 'Authorization: Bearer ya29.GdfB_ZO5vdfdxcxx2xtB06JWxTRtXSd3q9WyGWIaui_Z-UNjbwCSy_8u2HH0sIYVmf9YBLov1UMCsdsBibq4Aaie9nn2772Pvzdf7izsWY' 'https://www.googleapis.com/oauth2/v3/userinfo'
{
  "sub": "11119632463064014179",
  "picture": "https://lh3.googleusercontent.com/-sA42z01UTb8/AAAAAAAAAAI/AAAAAAAAAAQ/2oqVvbVbooU/photo.jpg",
  "email": "bdealwis@google.com",
  "email_verified": true,
  "hd": "google.com"
}

As discussed, maybe the solution is to try any available auth for a server until we either succeed or exhaust the list.

source: gharchive/issue

authors: briandealwis chanseokoh loosebazooka

repo: GoogleContainerTools/jib

license_type: permissive

license_source: bigquery


text:
Update git-sync version to 3.6.2 to clear vulnerabilities (#343)

Cherry pick to release branch

/retest-required

source: gharchive/pull-request

repo: GoogleContainerTools/kpt-config-sync


text:
feat: manage notification controller

This change adds logic to manage the notification controller via the reconciler-manager. The reconciler-manager will create the notification controller as a pod in the reconciler deployment if the notification API is enabled in the RSync.

/assign @nan-yu


text:
Move GetString to SubObject

This makes it available on KubeObject and SubObject.
We can't move GetStringOrDie because the error needs a reference to
the KubeObject, which SubObject does not currently have.

the linter issue will be fixed in https://github.com/GoogleContainerTools/kpt-functions-sdk/pull/557

authors: justinsb yuwenma

repo: GoogleContainerTools/kpt-functions-sdk


text:
Generate diploid genomes in FASTA

Summary:

implemented the first step using SURVIVOR simSV
added config files: analysis.yaml and environment.yaml
output homo-/heterozygous genomes with(out) SVs based on the reference (chr17 only)
updated README.md

It is a good idea to keep homozygous and heterozygous SVs as two different sets.

@lsantuari: the workflow makes that distinction by generating chr17.hmsv.fasta (homozygous SVs) and chr17.htsv.fasta (heterozygous SVs) + chr17.hm.fasta (homozygous without introduced SV) files. Or do you mean something else?

My remark was just meant as a statement, not as a suggestion for a change. In particular, I am referring to the idea of generating two SV sets, one for the hmsv and one for the htsv. In the original formulation, hmsv and htsv had the same set of SVs with the difference of being present on one copy of the chromosome (htsv) or on both copies (hmsv). I think that generating two different sets of SVs for hmsv and htsv as you implemented here is better, also with respect with the data being used for model training.

authors: arnikz lsantuari

repo: GooglingTheCancerGenome/sv-gen-workflow

license_source: github-api


text:
Fix missing test coverage found by cargo-mutants

I heard about cargo-mutants a RustConf 2024, and thought I'd give it a go. It ran for about 2h and found the following. Maybe this is nonsense, but worth a look. It would run faster if I could convince it to only run the lib tests and not the integration tests.

[ ] taskchampion/src/server/cloud/gcp.rs:131:23: replace > with == in ::compare_and_swap in 5.5s build + 24.1s test
[ ] taskchampion/src/taskdb/snapshot.rs:31:9: replace ::expecting -> fmt::Result with Ok(Default::default()) in 5.6s build + 24.5s test
[x] taskchampion/src/storage/mod.rs:137:23: replace && with || in StorageTxn::is_empty in 5.2s build + 24.5s test
[ ] taskchampion/src/server/cloud/gcp.rs:211:36: replace < with == in <impl Iterator for ObjectIterator<'a>>::next in 5.2s build + 24.8s test
[ ] taskchampion/src/replica.rs:420:9: replace Replica::add_undo_point -> Result<()> with Ok(()) in 5.6s build + 32.2s test
[ ] taskchampion/src/task/task.rs:244:9: replace Task::get_legacy_udas -> impl Iterator<Item =(&str, &str)>+'_ with ::std::iter::once(("xyzzy", "xyzzy")) in 5.4s build + 25.1s test
[ ] taskchampion/src/task/task.rs:252:9: replace Task::get_modified -> Option with Some(Default::default()) in 5.3s build + 24.9s test
[ ] taskchampion/src/server/sync/mod.rs:168:9: replace ::add_snapshot -> Result<()> with Ok(()) in 5.3s build + 29.0s test
[ ] taskchampion/src/taskdb/sync.rs:121:46: replace == with != in sync in 5.2s build + 24.1s test
[ ] taskchampion/src/server/cloud/gcp.rs:21:70: replace == with != in is_http_error in 5.2s build + 24.6s test
[ ] taskchampion/src/task/tag.rs:28:9: replace Tag::is_synthetic -> bool with false in 5.3s build + 24.3s test
[ ] taskchampion/src/task/task.rs:244:9: replace Task::get_legacy_udas -> impl Iterator<Item =(&str, &str)>+'_ with ::std::iter::once(("xyzzy", "")) in 8.7s build + 29.2s test
[x] taskchampion/src/storage/mod.rs:135:23: replace && with || in StorageTxn::is_empty in 4.7s build + 24.5s test
[ ] taskchampion/src/server/sync/mod.rs:85:36: replace == with != in sealed_from_resp in 5.1s build + 24.3s test
[ ] taskchampion/src/server/cloud/gcp.rs:88:12: delete ! in ::del in 4.5s build + 24.2s test
[x] taskchampion/src/storage/mod.rs:133:9: replace StorageTxn::is_empty -> Result with Ok(true) in 5.5s build + 24.1s test
[ ] taskchampion/src/server/encryption.rs:164:44: replace + with * in Envelope<'a>::to_bytes in 5.2s build + 24.7s test
[ ] taskchampion/src/server/cloud/server.rs:194:14: replace < with == in CloudServer::snapshot_urgency in 5.9s build + 24.6s test
[ ] taskchampion/src/server/cloud/gcp.rs:63:9: replace ::get -> Result<Option<Vec>> with Ok(Some(vec![0])) in 4.8s build + 24.2s test
[ ] taskchampion/src/server/cloud/gcp.rs:142:27: replace != with == in ::compare_and_swap in 5.1s build + 33.6s test
[ ] taskchampion/src/server/cloud/gcp.rs:23:72: replace == with != in is_http_error in 5.8s build + 25.1s test
[ ] taskchampion/src/server/encryption.rs:145:27: replace + with * in Envelope<'a>::from_bytes in 4.5s build + 24.0s test
[ ] taskchampion/src/taskdb/mod.rs:157:9: replace TaskDb::commit_reversed_operations -> Result with Ok(false) in 5.8s build + 24.9s test
[ ] taskchampion/src/utils.rs:37:9: replace ::as_ref -> &[u8] with Vec::leak(Vec::new()) in 5.3s build + 24.4s test
[ ] taskchampion/src/server/cloud/gcp.rs:110:9: replace ::compare_and_swap -> Result with Ok(false) in 6.3s build + 24.6s test
[ ] taskchampion/src/task/tag.rs:33:9: replace Tag::is_user -> bool with false in 5.4s build + 24.1s test
[ ] taskchampion/src/task/task.rs:40:9: replace ::eq -> bool with true in 5.8s build + 24.0s test
[ ] taskchampion/src/server/cloud/gcp.rs:19:5: replace is_http_error -> bool with false in 6.4s build + 24.3s test
[x] taskchampion/src/replica.rs:106:9: replace Replica::all_task_uuids -> Result<Vec> with Ok(vec![]) in 5.1s build + 24.5s test
[ ] taskchampion/src/task/task.rs:321:9: replace Task::set_wait -> Result<()> with Ok(()) in 5.2s build + 24.3s test
[ ] taskchampion/src/server/cloud/gcp.rs:214:37: replace += with *= in <impl Iterator for ObjectIterator<'a>>::next in 5.5s build + 24.5s test
[ ] taskchampion/src/task/task.rs:244:9: replace Task::get_legacy_udas -> impl Iterator<Item =(&str, &str)>+'_ with ::std::iter::once(("", "xyzzy")) in 5.4s build + 24.8s test
[x] taskchampion/src/replica.rs:106:9: replace Replica::all_task_uuids -> Result<Vec> with Ok(vec![Default::default()]) in 5.3s build + 24.7s test
[ ] taskchampion/src/server/cloud/gcp.rs:131:23: replace > with < in ::compare_and_swap in 5.5s build + 24.8s test
[ ] taskchampion/src/server/cloud/gcp.rs:63:9: replace ::get -> Result<Option<Vec>> with Ok(None) in 4.7s build + 24.4s test
[ ] taskchampion/src/server/cloud/gcp.rs:110:9: replace ::compare_and_swap -> Result with Ok(true) in 5.4s build + 24.7s test
[ ] taskchampion/src/task/task.rs:40:9: replace ::eq -> bool with false in 5.5s build + 24.2s test
[ ] taskchampion/src/server/cloud/gcp.rs:204:9: replace <impl Iterator for ObjectIterator<'a>>::next -> OptionSelf::Item with None in 6.5s build + 24.4s test
[x] taskchampion/src/replica.rs:446:9: replace Replica::num_undo_points -> Result with Ok(1) in 5.1s build + 24.8s test
[ ] taskchampion/src/utils.rs:37:9: replace ::as_ref -> &[u8] with Vec::leak(vec![0]) in 5.2s build + 24.6s test
[ ] taskchampion/src/task/task.rs:244:9: replace Task::get_legacy_udas -> impl Iterator<Item =(&str, &str)>+'_ with ::std::iter::once(("", "")) in 6.2s build + 24.5s test
[x] taskchampion/src/replica.rs:355:12: delete ! in Replica::commit_reversed_operations in 5.3s build + 24.5s test
[ ] taskchampion/src/server/cloud/server.rs:205:9: replace CloudServer::maybe_cleanup -> Result<()> with Ok(()) in 6.0s build + 24.4s test

Looking through the rest of these, none are especially interesting or worth the time to investigate.

repo: GothenburgBitFactory/taskchampion

license: MIT


text:
Default serialisers

If the user does not provide a serialiser for a property, then Java serialisation is used if possible. New users of the framework frequently do not specify serialisers and so unknowingly use Java serialisation, which was never intended to be used (and even in test cases such as the MockAccumuloStore can cause problems, for example range scans not working correctly).
Gaffer should automatically use good serialisers for common properties, e.g. short, int, long, float, double, String, Date, HyperLogLogPlus. The expert user can override these if required.

Migration Steps
The following serialisers have been moved into the core serialisation module. This meant the package names needed to be changed. The original classes have been left for compatibility reasons, they are marked as deprecated and will be deleted in a future release. If you are using any of the following serialisers, you will need to switch to use the new ones - update the package names in your schema.

BooleanSerialiser
DateSerialiser
DoubleSerialiser
StringSerialiser
TreeSetStringSerialiser
CompactRawIntegerSerialiser
CompactRawLongSerialiser

Merged into develop


text:
Graphical glitched & maybe switch the screens (3DS)

Currently the game looks kinda weird on the bottom screen (the plane morphs when rotating). There are also other things that look a little strange (scaled down, but in a without antialiasing).
Also IMO it would look better if the game was on the top screen and the instruction image was on the bottom screen.

Jasper,
I appreciate the feedback!
The main reason for the stretching is because this is a straight port of the mobile phone version which is in portrait.
The reason I put the game on the bottom screen is because it is closer to a portrait aspect ratio than the top screen, but ultimately, either way is landscape, so there is going to be stretching regardless.
One thing I could do would be to render the game across both screens (essentially making a portrait screen out of both screens), but I'm not sure if that would negatively affect the plane visibility.
Is rendering across both screens a common thing? The alternative would be for me to just zoom out the camera a bit horizontally, but only on the 3DS version.
Thanks again!
-----Original Message-----
From: "Jasper W. D. M. Peters" notifications@github.com
Sent: 8/29/2015 5:56 PM
To: "GowenGameDevOpenSource/tappy-plane" tappy-plane@noreply.github.com
Subject: [tappy-plane] Graphical glitched & maybe switch the screens (3DS)(#1)
Currently the game looks kinda weird on the bottom screen (the plane morphs when rotating). There are also other things that look a little strange (scaled down, but in a without antialiasing).
Also IMO it would look better if the game was on the top screen and the instruction image was on the bottom screen.
—
Reply to this email directly or view it on GitHub.

Though it's certainly common to see both screens utilised (at least on DS so 3DS shouldn't make to big of a difference). I do not however think that would be very good, it would probably become a little challenging to play the game. Zooming out the camera seems like a better idea, if there is now way for you to change the resolution of the camera to render it landscape.

MrJPGames,

How about this?
Please see the attached screenshot and build uploaded here: http://gowengamedev.com/misc/tappy-plane.3dsx

I still feel it would work better on the top screen, but this is already good! If you want it to be on the bottom screen you can keep it this way, which screen is just a personal preference after all.
In case you didn't know there is a site called gbatemp.net, you can make a thread for your games there, they also have a wiki with a list of games. It might help more people find your games!

Awesome, thanks so much man I appreciate it!
I will definitely check out gbatemp as well!
-----Original Message-----
From: "Jasper W. D. M. Peters" notifications@github.com
Sent: 8/30/2015 12:29 PM
To: "GowenGameDevOpenSource/tappy-plane" tappy-plane@noreply.github.com
Cc: "Stephen Gowen" dev.sgowen@gmail.com
Subject: Re: [tappy-plane] Graphical glitched & maybe switch the screens (3DS)(#1)
I still feel it would work better on the top screen, but this is already good! If you want it to be on the bottom screen you can keep it this way, which screen is just a personal preference after all.
In case you didn't know there is a site called gbatemp.net, you can make a thread for your games there, they also have a wiki with a list of games. It might help more people find your games!
—
Reply to this email directly or view it on GitHub.

authors: MrJPGames sgowen

repo: GowenGameDevOpenSource/tappy-plane

license: mit


text:
gh activates only when push includes changes on images

Same as with the pull request BUILD action, only build and update images when the push includes changes on the IMAGES dir

closed, to be reopened

repo: Gradiant/openverso-images


text:
Move jvm version parsing to granulate-utils

Move jvm version parsing to granulate-utils.
Description
JvmVersion class and parse_jvm_version method are now moved to granulate-utils submodule.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have updated the relevant documentation.
[ ] I have added tests for new logic.

Failures are irrelevant (build image). The full set of tests on a single Python versions passed - that's enough. @uriariel you may merge

authors: Jongy uriariel

repo: Granulate/gprofiler


text:
fix: error message not properly formatted

Changes proposed:
After upgrading to Gatsby v3, the reporter.panic and reporter.error stopped working on the old-school way (passing the message and error as arguments to the function, as we've been doing). That's why it always displays a [object Object] [object Object] error message. After diving into this, I've found another way to use the reporter.
In the screenshot below, there's the new error message (it can change depending on the problem):

Additional context:
Related to #187
Ps: I'm also going to open an issue on the Gatsby repo to report this bug.

I couldn't reproduce the reporter bug on a new Gatsby project, so it was happening due to something else. 😅
Anyway, it is working properly now =D

repo: GraphCMS/gatsby-source-graphcms


text:
🛑 Server Gaming is down

In 5a24010, Server Gaming (https://game.greathost.ro) was down:

HTTP code: 403
Response time: 1876 ms

Resolved: Server Gaming is back up in df869b7 after 7 minutes.

repo: GreathostRo/upptime


text:
🛑 Server Ultra is down

In 53744b0, Server Ultra (https://ultra.greathost.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Server Ultra is back up in 7c988ab after 10 minutes.


text:
🛑 Server Ultra is down

In 3c0ad9f, Server Ultra (https://ultra.greathost.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Server Ultra is back up in b7c5223 after 4 minutes.


text:
extending regions

The documentation mentions "It is potentially advisable to extend these regions a bit (e.g. using bedtools slop)". How much is a bit? Is there a downside in extending them too much other than increasing runtime?

By a bit I meant 100-200 bp.  Main downside with extending by a lot is increased runtime-- in regions with fewer reads, there is less power to detect nucleosomes so it is likely a waste of time. It will also dilute quality of nucleosome positioning calls. Already when looking within peaks you want to keep in mind that absence of nucleosome call does not mean absence of nucleosome (could just be insufficient reads).

authors: AliciaSchep igordot

repo: GreenleafLab/NucleoATAC


text:
Teleportation based movement throughout the environment

Ability to move between and around the experiments using either the Dream controller for teleportation or a point and wait interaction with the floor.

We have sample teleportation that uses the normal input sources


text:
Improve code

Three minor things:

Use -*- lexical-binding: t; -*-.

The functions first, fourth, third, second, and remove-if all belong to the deprecated cl package. You should add a cl- prefix to each and require cl-lib. Currently your package will only work if the user had already loaded cl for some reason.

Change mapcar to mapc in circadian-setup.

The last two issues are caught trivially with the byte compiler. You can do a spot check like so:
emacs -Q -batch -f batch-byte-compile circadian.el
Thanks to skeeto via reddit for these proposals.

Added lexical binding
Using cl-lib from now on, prefixed common lisp functions
Changed mapcar to mapc


text:
最近出现这个错误：配置取得失败，length=1 index =1

本地docker安装，后台查看数据，结果都有了，但播放器拉数据，显示错误：“配置取得失败，length=1 index =1”
播放器：影视
result.m3u
#EXTM3U x-tvg-url="https://live.fanmingming.com/e.xml"
#EXTINF:-1 tvg-name="2024-11-17 09:10:29" tvg-logo="https://live.fanmingming.com/tv/2024-11-17 09:10:29.png" group-title="更新时间",2024-11-17 09:10:29
url
#EXTINF:-1 tvg-name="无线新闻" tvg-logo="https://live.fanmingming.com/tv/无线新闻.png" group-title="🌊港·澳·台",无线新闻
http://php.jdshipin.com:8880/smt.php?id=inews_twn$订阅源

我把两个结果文件 reult.m3u, result.txt复制到openwrt的www目录下，用ip/reult.m3u , ip/result.txt进行访问，发现result.txt正常，result.m3u出现一样的错误，应该是格式问题，播放器，影视，影视OK

#550 https://github.com/Guovin/TV/issues/550#issuecomment-2470202803 一样的问题，是播放器的问题，可以修改部分配置进行兼容

authors: Guovin sztuxp

repo: Guovin/TV


text:
Migrate to node 7

[ ] Remove redundant babel plugins
[ ] Update CI config

我傻了（（

repo: GyrosWorkshop/WukongWeb


text:
Is it possible to deploy to Vercel? Zeabur is going to charge a fee.

Is it possible to deploy to Vercel? Zeabur is going to charge a fee.

Is it possible to deploy to Vercel? Zeabur is going to charge a fee.

It seems that is not possible.

You can try railway, which support docker.

Just made a template, you can try it

刚刚做了一个模板，你可以试试

I am having some issues and need your help

Hello vsd269,
Thank you for trying out the template! I'm here to help you with any issues you're having. To assist me better, please provide the following information:
Specific errors or problems you're encountering: Please include any error messages or unexpected behavior.
Steps to reproduce the issues: Describe the actions you take that lead to the problem.
Relevant code snippets or screenshots (if applicable): This will help me visualize the problem.
Once I have this information, I'll be able to troubleshoot effectively.

你好vsd269，
感谢您尝试该模板！我来这里是为了帮助您解决遇到的任何问题。为了更好地帮助我，请提供以下信息：
您遇到的具体错误或问题：请包含任何错误消息或意外行为。 重现问题的步骤：描述您采取的导致问题的操作。 相关代码片段或屏幕截图（如果适用）：这将帮助我可视化问题。 一旦掌握了这些信息，我就能有效地排除故障。

https://github.com/H-T-H/Gemini-Telegram-Bot/assets/142389217/0e3d7b36-d8a2-4932-97e8-e6ea9492aa37

I would appreciate it if you could help me figure out what the problem is. Thank you for your time.

repo: H-T-H/Gemini-Telegram-Bot


text:
Can you provide me with the h5py_files generation codes?

Can you provide me with the h5py_files generation codes (for your provided PACS dataset)? Because I want to run your framework on the VLCS/IXMAS datasets. And the corresponding dataloader (for VLCS/IXMAS) codes, can you release them too? My wechat: JX1473358982, (MSRA, USTC), my e-mail: jinxustc@mail.ustc.edu.cn. Hope to receive your feedback and keep connection for further discussion.

hello，I have this problem too. Could you release the h5py code? When I use other code to create h5py file, the accuracy is lower than you reported. Thank you so mush! And this is my email: gshuangchun@gmail.com.

hello，I have this problem too. Could you release the h5py code? When I use other code to create h5py file, Thank you so mush! And this is my email: samwangjing1@163.com.

authors: gscahhh lcl-2019 wangjing-jiaying

repo: HAHA-DL/Episodic-DG


text:
🛑 SkipTheCommericals is down

In 2c03369, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in f90cabe.

repo: HDVinnie/TrackerHub


text:
🛑 SkipTheCommericals is down

In bb1ee60, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in e33a6c5.


text:
⚠ PrivateHD has degraded performance

In 4856834, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2131 ms

Resolved: PrivateHD performance has improved in eaf3991.


text:
🛑 SkipTheCommericals is down

In 2306baf, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 52cc891.


text:
🛑 Telly is down

In bd6db0f, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in 59ded32.


text:
🛑 SkipTheTrailers is down

In b760d2b, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in ecbe3ca.


text:
⚠ Empornium has degraded performance

In 55ac68c, Empornium ($EMP) experienced degraded performance:

HTTP code: 200
Response time: 3047 ms

Resolved: Empornium performance has improved in 38d2828 after 9 minutes.


text:
⚠ SceneTime has degraded performance

In a063ba1, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3781 ms

Resolved: SceneTime performance has improved in d0749e8 after 19 minutes.


text:
⚠ Aither has degraded performance

In 4ef8828, Aither ($AIH) experienced degraded performance:

HTTP code: 200
Response time: 4634 ms

Resolved: Aither performance has improved in 1dc79e0 after 8 minutes.


text:
🛑 SkipTheCommericals is down

In 1f3f14d, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 013f078.


text:
[BUG] lunr error

Describe the bug 描述你遇到的错误
lunr 功能无法使用，报错 TypeError: window.use is not a function
Screenshots 屏幕截图

Build Environment 构建环境

OS: [macOS]
Theme version/commit [3c1b2c8d4219e7699a4d7e289288dd2bb561f6bb]
Hugo version [v0.87.0+extended]

Preview Environment 预览环境

OS: [macOS]
Browser [Chrome]

应该修好了，更新到最新的 commit 看看能不能用。

authors: HEIGE-PCloud thinkhp

repo: HEIGE-PCloud/DoIt


text:
Auto retry for connection_closed errors

Typically the ping that runs every second, by default, checks the connections and disconnects bad ones before they can be used. Because the ping cost $ in Snowflake we changed the ping to 5 minutes making it effectively useless. Now we are seeing bad connections being left in the pool and used.
A previous fix was made to signal the pool to disconnect (recycle) the bad connections but since this is done reactively and not proactively via ping the user is left with having to retry the query themselves.
This change will auto-retry the query only one time after a connection_closed error so the user is not forced to handle these known cases for possible failure.

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

authors: forest hgdeploy

repo: HGInsights/snowpack


text:
Missing Hackathons

Just noticed the following missing from the list while I was going through and finding all the devposts

HackMed 2019
AstonHack 2018
OxfordHack 2018
All years of STACShack beyond 2018 (turns out it ran this year in march!)
This years hack the burgh
The first RU Hacking
The hackkings that happened last weekend
porticode
All years hackcambridge

Everything pre- the 2018 season needs adding from the shared sheet:
https://docs.google.com/spreadsheets/d/1HiVoU-biA0BtArCejFAPvjJGu-LQgdjDQR2CmPu71HE/edit#gid=742185373

Missing HackKings 6.0 https://hackkings.org/

https://gist.github.com/bahorn/bb953987edf0ffd4aed2c69a2988612e
I have a lot of ones that aren't on the list on here near the bottom.

authors: bahorn ksouthern wrussell1999

repo: HHEU/wiki


text:
License Problem in Visual Studio 2017

It doesn't install on Windows 10 and Visual Studio 2017. Why?

It should. Most likely you ignored to allow the .net 4.7.1 requirement to be installed. (next version will revert back to .net 4.6.2 which is more likely already installed) Otherwise, I can't help you without any further info.

authors: HJLebbink miladkahsarialhadi

repo: HJLebbink/asm-dude


text:
"read all reviews" link scrolls user to Reviews section

Click "read all reviews" to scroll automatically to the reviews section.

Ticket
https://trello.com/c/H2ozpEzQ

@mutton808 @yxxy666 check when free, thank you!

Thanks Michael!!


text:
Error in register View

Hi, i would try the FoosLeader App.
Can you update your packages, i get this Error on localhost:8000/register:
https://github.com/FriendsOfSymfony/FOSUserBundle/issues/1775

Have you tried running the command composer install? Can't really duplicate your error.

Yes, i tried composer install and composer update.

Hey, sorry for the late reply.
Just got it installed locally and recreated the error, hopefully will find a fix soon.

@adrianpop1990 Can you try again?

Closing this issue since it should be resolved now - please create a new one if this problem persists, or another one has emerged.


text:
换sdxl又要下10多g的文件，C盘空间不够了，有没有什么方法能不往C盘下啊？

换sdxl又要下10多g的文件，C盘空间不够了，有没有什么方法能不往C盘下啊？

if os.path.exists(sd_model_path):
pipe = StableDiffusionXLPipeline.from_single_file(sd_model_path, torch_dtype=torch.float16, use_safetensors=False)

if os.path.exists(sd_model_path): pipe = StableDiffusionXLPipeline.from_single_file(sd_model_path, torch_dtype=torch.float16, use_safetensors=False)

请问修改哪个文件？

@huanxve 等会更新一版代码，可以把路径写在config里面

@huanxve 等会更新一版代码，可以把路径写在config里面

太感谢了

请git pull 一下，代码已经更新了

请git pull 一下，代码已经更新了

已经更新了，请问现在更新的模型是下在哪个目录里？之前旧版下的在.cache中的模型是否可以删除或者移到别的盘里？

下载还是默认路径，你可以移动到别的盘，然后在config里面修改位置，
huggface 的cache 的位置是可以改的: https://blog.csdn.net/micah_yaokunkun/article/details/134002557

可以设置一个默认的cache路径

download_hub()里边指定cache_dir到指定的路径就行

repo: HVision-NKU/StoryDiffusion


text:
Support loading hugging face checkpoint

Added new argument --load_cp
Currently llama7b in uint4 is supported

https://github.com/huggingface/optimum-habana/pull/1165

authors: astachowiczhabana ulivne

repo: HabanaAI/optimum-habana-fork


text:
Russian translation

Russian translation added. Mostly for myself, but it would be cool if you merge. Let's make a chocolate factory!

Nice! Sorry for not seeing this sooner. I'm still learning how to use GitHub correctly.

authors: HackFight arturamiryan


text:
Date delimeters/input mask when typing manually

Current solution:
I have datepicker with possibility to manually type date in the input. To handle this and prevent errors, currently I'm getting input value, onChange handler is validating if format is MM/DD/YYYY or YYYY/MM/DD, and only then setting new date value.
Problem
I'm validating ONLY for slash sign / as a delimeter between day, month and year, user has to type /  it manually.
Would like to have:
To ensure better UX and prevent from errors I'd like to have kind of "placeholder" or autocomplete for delimiter like - or /. So when typing eg. 2021 input would automatically concatenate delimeter sign  2021- and I can type further.
Is somehow possible to do such trick with current options/props or new feature is required? Thanks in advance for any tips!

I found solution myself, maybe will help someone. Keyword to search for is input mask. There're libraries for that, for my case I added react-maskedinput and DatePicker got customInput prop for personalization.
import MaskedInput from 'react-maskedinput'; <DatePicker     customInput={<MaskedInput mask="11/11/1111" placeholder="MM/DD/YYYY" />} //otherProps

My variant:

import InputMask from 'react-input-mask';

    <DatePicker
      ...
      placeholderText="MM/DD/YY"
      dateFormat="MM/dd/yy"
      customInputRef="inputRef"
      customInput={<InputMask mask="99/99/99" />}
    />

HI i need masked input only for time in 12 hour format with AM and PM.
i tried mask with [' ',
/\d/,
/\d/,
${timeDelim},
/\d/,
/\d/,
' ',
/[AaPp]/i,
/[Mm]/i,]
but i could get the proper mask for time.
any suggestion please .

Using PatternFormat from react-number-format package
import {useState} from 'react';
import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
import {registerLocale} from "react-datepicker";
import {ru} from 'date-fns/locale/ru';
import {PatternFormat} from 'react-number-format';

registerLocale('ru', ru);

const Example = () => {
  const [startDate, setStartDate] = useState(new Date());
  const [endDate, setEndDate] = useState(new Date());

  return (
    <>
      <DatePicker
        locale="ru"
        dateFormat="dd.MM.yyyy"
        customInputRef="getInputRef"
        customInput={<PatternFormat
          format="##.##.####"
          allowEmptyFormatting={false}
          mask="_"
        />}
        placeholderText='ДД.ММ.ГГГГ'
        selected={startDate}
        selectsStart
        startDate={startDate}
        endDate={endDate}
        onChange={(date) => setStartDate(date)}
      />
      <DatePicker
        locale="ru"
        dateFormat="dd.MM.yyyy"
        customInputRef="getInputRef"
        customInput={<PatternFormat
          format="##.##.####"
          allowEmptyFormatting={false}
          mask="_"
        />}
        placeholderText='ДД.ММ.ГГГГ'
        selected={endDate}
        selectsEnd
        startDate={startDate}
        endDate={endDate}
        onChange={(date) => setEndDate(date)}
      />
    </>
  );
};

package.json
{
  "name": "test-react-datepicker",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "lint": "eslint .",
    "preview": "vite preview"
  },
  "dependencies": {
    "react": "^18.3.1",
    "react-datepicker": "^7.5.0",
    "react-dom": "^18.3.1",
    "react-number-format": "^5.4.2"
  },
  "devDependencies": {
    "@types/react": "^18.3.3",
    "@types/react-dom": "^18.3.0",
    "@vitejs/plugin-react": "^4.3.1",
    "eslint": "^8.57.0",
    "eslint-plugin-react": "^7.34.3",
    "eslint-plugin-react-hooks": "^4.6.2",
    "eslint-plugin-react-refresh": "^0.4.7",
    "vite": "^5.3.4"
  }
}

authors: WojtechK catamphetamine konerunaveena omegastripes


text:
Update README.md

What does the program do ?

In what programming language it is written?

This pull request do not contains files in specific folders. Please fix it and reopen for help see https://help.github.com/articles/moving-a-file-to-a-new-location/


text:
初始化错误

启动容器的参数是什么？
此外可以看看 /usr/share/sangfor/EasyConnect/resources/logs 里面有没有什么有用的信息

repo: Hagb/docker-easyconnect

license: WTFPL


text:
PretiMODIT: inverse T-grid instead of Elower

I feel that the inverse T grid should be tried as one of the LBD grids instead of Elower.
tag: Precomputation+T inverse+MODIT
maybe good

less sparse than E-grid (at lower E)
can integrate q(T) and f(T,E)
similar error, according to analytic estimates, not super confident

See also #311 and #318

[ ] max Elower for given Tmax and Pmin (opagird.py)
[ ] 1st derivative correction
[ ] 2nd derivative correction
[ ] residual check
[ ] Opacity Calculator class (opacalc.py)

implemented in  #332

repo: HajimeKawahara/exojax


text:
Could you release the finetuned checkpoints and retrieved results (i.e. the input file for evaluation)?

Hi, I am trying to re-implement this project according to README. Unfortunately, the final results are slightly worse (spice -0.01) than provided results (t5.test in this repo). Could you release the fine-tuned checkpoints and the input file (with retrieved auxiliary results) for evaluation?

Thanks for your interest in our work! Since this work was done during my internship at Microsoft, I don't have checkpoints right now. In addition, I think the error of 0.01 is acceptable.

authors: HanNight wanicca


text:
可否优化一下性能

不知道是我的配置太低的原因还是什么，它在我的笔记本电脑上跑起来非常非常卡顿，且动态效果也没有了，我看到您已经在原来插件的基础上添加了很多很好的功能，但是这也给我的电脑带来了巨大的压力，以下是原作者插件和您的插件在我的电脑上运行的视频
原插件：
https://github.com/HananoshikaYomaru/obsidian-3d-graph/assets/29907393/8bd8d0ae-b30f-4612-b3d6-5ed401679867
您的插件：
https://github.com/HananoshikaYomaru/obsidian-3d-graph/assets/29907393/02a383b5-f38d-4263-83e5-191d81c98b13
非常感谢您的开发，希望将来可以得到更多的优化

thanks for reporting. I will take a look at it

authors: HananoshikaYomaru muhanstudio


text:
表格布局面板，类似html中table

Feature request type
sample request
Is your feature request related to a problem? Please describe
html中的table标签功能，表格布局，还要支持跨行跨列，并且设置显示表格线条。
可以动态添加子控件（或单元格）设置行、列以及跨行跨列属性。表格的线条根据跨行跨列去绘制西那条。
Describe the solution you'd like
项目需要显示传统表格样式，目前我使用grid嵌套，内部通过绘制线条方式显示，这种方式比较臃肿，而且不能动态生成，只能固定布局。
Describe alternatives you've considered
No response
Additional context
No response

发现一个bug ,使用 HandyControl.Controls.Dialog.Show()展示模态框时，会替换父窗体内TreeView的背景色，尤其暗黑模式下会替换为白色背景

repo: HandyOrg/HandyControl


text:
🛑 Docs is down

In a38a406, Docs (https://docs.premid.app) was down:

HTTP code: 520
Response time: 5944 ms

Resolved: Docs is back up in 1303fcb after 21 minutes.


text:
🛑 Portal is down

In 5eb63b1, Portal (https://scratch-wiki.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal is back up in 42c8501 after 21 minutes.


text:
🛑 Japanese is down

In 5c27df8, Japanese (https://ja.scratch-wiki.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Japanese is back up in 6f035f0 after 15 minutes.


text:
🛑 French is down

In a7af8d2, French (https://fr.scratch-wiki.info) was down:

HTTP code: 508
Response time: 985 ms

Resolved: French is back up in c5e437b.


text:
🛑 German is down

In 7660c7f, German (https://de.scratch-wiki.info) was down:

HTTP code: 508
Response time: 889 ms

Resolved: German is back up in ad2283b after 8 minutes.


text:
在win 10 22H2系统中，使用该天气插件软件会自动关闭

把插件删除软件正常，1.841版本

详细描述下问题表现，软件大概多久会关闭，能否在Windows事件查看器中查询到软件崩溃的信息。还有插件版本，以及插件具体的设置等等

详细描述下问题表现，软件大概多久会关闭，能否在Windows事件查看器中查询到软件崩溃的信息。还有插件版本，以及插件具体的设置等等
几个小时这样关闭，查不到崩溃信息，插件版本是WeatherPro-v0.8，设置是每半小时更新，鼠标放在任务栏窗口时显示天气信息，PS：第二天气温预测也不对，连续几天预测的最低温度都高于当天最高温度，差很远，显示的当下气温准确。

查询的是哪里的天气呢，与和风天气官网数据一致吗

查询的是哪里的天气呢，与和风天气官网数据一致吗
官网只能查到县级，插件可以选到乡级，选择县级就正常了。

和风天气不能用啊，我用的是weather.com.cn

查询的是哪里的天气呢，与和风天气官网数据一致吗
官网只能查到县级，插件可以选到乡级，选择县级就正常了。

请问软件存在闪退问题时，查询的地名是什么，我这里测试看看是什么问题

查询的是哪里的天气呢，与和风天气官网数据一致吗
官网只能查到县级，插件可以选到乡级，选择县级就正常了。

请问软件存在闪退问题时，查询的地名是什么，我这里测试看看是什么问题

我试了选择乡级（搜索大化选择古河乡），第二天的预报很久都加载不出来，退出就启动不了了。

试启动几次可以了


text:
🛑 Google Scholar is down

In e250923, Google Scholar (https://scholar.haoqiyun.tk/) was down:

HTTP code: 403
Response time: 528 ms

Resolved: Google Scholar is back up in 18a4296.


text:
🛑 AI对话 is down

In 045560d, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 213 ms

Resolved: AI绘画 is back up in 4e75b31.


text:
🛑 Happy Vibes Bot 5 is down

In 95b25a7, Happy Vibes Bot 5 ($BOT5) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 5 is back up in 4d98485.

repo: Happy-Vibes-Bot/status


text:
🛑 Happy Vibes Bot 4 is down

In 07794a6, Happy Vibes Bot 4 ($BOT4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 4 is back up in a524595.


text:
🛑 Happy Vibes Bot 4 is down

In e4f0b4d, Happy Vibes Bot 4 ($BOT4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 4 is back up in 8d789e9.


text:
🛑 Happy Vibes Bot 1 is down

In 9e3d1d9, Happy Vibes Bot 1 ($BOT1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 1 is back up in 9b2c978.


text:
🛑 Happy Vibes Bot 1 is down

In 0de5f5a, Happy Vibes Bot 1 ($BOT1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 1 is back up in cc42303 after 7 minutes.


text:
[Help] 🤔 API的接口是什么

Describe the help wanted
API的接口地址是什么
Steps to behave
NONE
Expected behavior
NONE
Screenshots
No response
Versions

OS:
Browser & Version:
GoProxiBing Version:

Additional context
No response

有 bug，在修，文档预计这几天整理一下

测试地址：https://harry-zklcdc-chatgpt-next-web.hf.space/

谢谢

测试地址：https://harry-zklcdc-chatgpt-next-web.hf.space/

谢谢

文档地址：https://github.com/Harry-zklcdc/go-proxy-bingai/wiki/BingAPI

必须要设置apikey才能用吗

必须要设置apikey才能用吗

并不是，设置 APIKEY 之后会检查是否一致，如果没有设置，随便值都可以

已有文档，关闭此 issue

authors: Harry-zklcdc jsdianman ryanzhaorx

repo: Harry-zklcdc/go-proxy-bingai


text:
Exporting Gif

Hey guys - If one of my layers is a gif, how could I generate the file output as a gif instead of a png?  Appreciate any support.

The way I will try to do this is to generate the images I want to be a gif with a transparent background. This way I can add the animatet BG aferwards. I hope this helps.

The way I will try to do this is to generate the images I want to be a gif with a transparent background. This way I can add the animatet BG aferwards. I hope this helps.

good tip, thank you!

It would be nice to be able to add the gif layer in and just run the program and be able to set output from png to gif.

If we can add this feature would be awesome!

Hi all,
I was able to build a tool to do exactly this! it takes png layers and turns them into generative gifs. Its forked from an earlier version of hashlips but I plan to update it to a more recent version soon.
Here's a medium article: https://jalagar-eth.medium.com/how-to-create-generative-animated-nft-art-in-under-an-hour-e7dab1785c56 on how it works.
And here's the repo: https://github.com/jalagar/Generative_Gif_Engine
Feel free to follow me on twitter: https://twitter.com/jalagar_eth for more updates. DM on Twitter or create an issue/discussion on the repo for a faster response.
You can see all 1k of them on https://opensea.io/collection/genesis-bouncing-ball. Let me know if you have any questions!

authors: NotApplicabIe YusukeWasabi jalagar joeybolohan xddyyy

repo: HashLips/generative-art-node


text:
feat: superficial makeover

Switched from npm to bun
Switched from grommet to shadcn (Radix + Tailwind)
TypeScript + Vite
Routes (WIP):

Conversations: /edaga/
Replies: /edaga/replies/
Topics: /edaga/topics/
Effectively refactored (WIP)

Hope you like it 🙏🏾

Wow Leslie, thank you for taking a shot at this! It looks really fantastic.

There are some issues that are causing the CI to fail, like certain variables being declared and then not used. Is that something y'd be able to clean up?

Regarding hardcoding /edaga/ as a path, I can hook this up to something like onRender to get a free static page. Then we can avoid Github pages. If there's enough interest on your side I can even go buy a proper domain for this.

Wow Leslie, thank you for taking a shot at this! It looks really fantastic.

There are some issues that are causing the CI to fail, like certain variables being declared and then not used. Is that something you'd be able to clean up?
Regarding hardcoding /edaga/ as a path, I can hook this up to something like onRender to get a free static page. Then we can avoid Github pages. If there's enough interest on your side to keep working on this I can even go buy a proper domain for this.

Glad you like it!
Sorted out the linting issues. ✅
Hardcoded path-wise:
I've added an exported BASE_PATH variable in src/App.tsx that routes and links are now using.
After deploying as is (with the /edaga path) to make sure everything's working, I'd say it's worth commenting out line 8 and seeing if it works as is.

Wow Leslie, thank you for taking a shot at this! It looks really fantastic.

There are some issues that are causing the CI to fail, like certain variables being declared and then not used. Is that something you'd be able to clean up?
Regarding hardcoding /edaga/ as a path, I can hook this up to something like onRender to get a free static page. Then we can avoid Github pages. If there's enough interest on your side to keep working on this I can even go buy a proper domain for this.

I forgot to add: very interested in continuing to work on this.
It’s a great idea (even if only as a high effort MVP).
When we can get things like use-wallet in, it’ll be one of the default DApps I use to test my mobile wallet (Casa [Famiglia]).


text:
lint server

Hi,
In the package.json, the "lint" job only lints "shared" & "client".
Why don't you lint "server" also ?
Moreover, the "node" env is set in the eslintrc.

Send a PR! :smile:

Done ! https://github.com/Hashnode/mern-starter/pull/57

authors: mayankchd sylvainlap

repo: Hashnode/mern-starter


text:
Adding dark-to-light mode toggle

Adds a toggle that allows user to shift from dark to white mode and vice-versa.

Closing the PR as this feature has already been merged here

repo: Hashnode/starter-kit


text:
haxelib selfupdate weird path solving [OSX]

This is weird. Tried to change path with haxelib setup and keeps appending /usr/lib/ to the beginning of the path.
wiyarMacBook:waterplay wiyarmir$ haxelib
Haxe Library Manager 3.1.0-rc.4 - (c)2006-2013 Haxe Foundation
```
```
wiyarMacBook:waterplay wiyarmir$ haxelib setup
Please enter haxelib repository path with write access
Hit enter for default (/Users/wiyarmir/lib/haxe/lib)
Path :
haxelib repository is now /Users/wiyarmir/lib/haxe/lib/
```
```
wiyarMacBook:waterplay wiyarmir$ haxelib selfupdate
Haxelib was already up to date...
Error writing file /usr/bin//usr/lib/haxe/haxelib. Please ensure you have write permissions.
  /usr/bin//usr/lib/haxe/haxelib: No such file or directory
```
```
wiyarMacBook:waterplay wiyarmir$ which haxelib
/usr/bin/haxelib
```
```
wiyarMacBook:waterplay wiyarmir$ ls -la /usr/bin/haxelib
lrwxr-xr-x  1 root  wheel  21  7 ene 21:44 /usr/bin/haxelib -> /usr/lib/haxe/haxelib
```

Not sure what was the problem here, but I think it's now fixed by the new update mechanism (#172)

authors: nadako wiyarmir

repo: HaxeFoundation/haxelib


text:
Windows uninstaller "Full" doesn't uninstall anything

Greetings,
When using Uninstall.exe to uninstall Haxe 3.2.1, we are asked to select the type of uninstall, with the choices Default, Full and Custom. None of these choices actually check anything for me (Windows 7 64 bit), which can be expected from Default and Custom, but I don't think this is the expected behavior for Full.
Thank you!

@waneck @andyli i believe this is a haxe issue?

Aw, crap, I believe you're right. I'll submit this again in the proper place. Thanks!

No problem!


text:
Error when training on youtubemix

When running CUDA_VISIBLE_DEVICES=1,2,3,4,7 python -m train wandb=null experiment=sashimi-youtubemix dataset=youtubemix, I get the following error:
Traceback (most recent call last):
File "/data/al451/state-spaces/train.py", line 553, in main
train(config)
File "/data/al451/state-spaces/train.py", line 498, in train
trainer.fit(model)
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 740, in fit
self._call_and_handle_interrupt(
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 685, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 777, in _fit_impl
self._run(model, ckpt_path=ckpt_path)
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1199, in _run
self._dispatch()
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1279, in _dispatch
self.training_type_plugin.start_training(self)
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 202, in start_training
self._results = trainer.run_stage()
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1289, in run_stage
return self._run_train()
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1311, in _run_train
self._run_sanity_check(self.lightning_module)
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1371, in _run_sanity_check
self._evaluation_loop._reload_evaluation_dataloaders()
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 170, in _reload_evaluation_dataloaders
self.trainer.reset_val_dataloader()
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/data_loading.py", line 551, in reset_val_dataloader
self.num_val_batches, self.val_dataloaders = self._reset_eval_dataloader(
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/data_loading.py", line 508, in _reset_eval_dataloader
if has_len_all_ranks(dataloader, self.training_type_plugin, module)
File "/home/al451/.local/lib/python3.8/site-packages/pytorch_lightning/utilities/data.py", line 118, in has_len_all_ranks
raise MisconfigurationException(
pytorch_lightning.utilities.exceptions.MisconfigurationException: Total length of Dataloader across ranks is zero. Please make sure that it returns at least 1 batch.
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Hi, can you confirm if single GPU training works for you?

repo: HazyResearch/state-spaces


text:
606 Update pagination active page button colour

Changes
This changes the colour of the button indicating an active page, to blue so it is clearer to see.

Checks
Important: please complete these before merging.

[x] Run migrations, if any.
[x] Update changelog.md, including migration instructions if any.
[x] Run unit tests.

There's more than one pagination use (rules table), so find them all and change them also.
The primary blue would ideally be the Co Connect brand blue like the rest of the button

authors: AndyRae Dev-Akashili

repo: Health-Informatics-UoN/CaRROT-Mapper


text:
Map JSON without keys

My JSON dictionary:
{
   "type":"playlist",
   "lastUpdated":1537534023,
   "list":[
      [
         456239399,
         "first",
         false
      ],
      [
         321312312,
         "second",
         true
      ]
   ]
}

I tried to do this via Codable, but it didn't work well.
Do you have some ideas how to map this via ObjectMapper?

@KompoD you should be able map your JSON to the following model class:
class Result: Mappable {
    var type: String?
    var lastUpdated: Int64?
    var list: [[Any]]?

    required init?(map: Map) { }

    func mapping(map: Map) {
        type <- map["type"]
        lastUpdated <- map["lastUpdated"]
        list <- map["list"]
    }
}

using map(JSONString:) function of Mapper class like:
let result = Mapper<Result>().map(JSONString: jsonString)

@gcharita Thank you, it works!

authors: KompoD gcharita

repo: Hearst-DD/ObjectMapper


text:
新腾讯数据源不支持科创版？

你好，新腾讯数据源不支持科创版？688开头的股票代码都无法显示。
另，在窗口点击设置后，会弹出故障窗口：
行：82
Char：17
错误：无效字符
代码：0
URL：http://stock.plusii.com/settings.html?{"token"%3A"ShadowStock_QQ"%2C"callback"%3A"ShadowStock.settingsCallback"%2C"refreshInterval"%3A8000%2C"blackMode"%3Afalse%2C"simplifiedMode"%3Afalse%2C"displayColumns"%3A"cookieDisplayColumns"%2C"availableColumns"%3A"cookieAvailableColumns"%2C"actionsColumnId"%3A60}
之后无论怎么操作设置窗口都无法关闭，且左右两测选单栏空白。
重新安装软件也不好用，重新启动电脑也无法避免。

是的，发现同样的问题。688开头的看不到，请作者关注一下，辛苦了。

改版辛苦了；
新版V4.X我在使用中发现 Ctrl + ] 增大窗口不透明度 并不能使窗口完全不透明，调整到最大程度还是会显示背景，不知道怎么设置？
电脑使Win10系统。
Thanks & Regards
Yuan Baolin | 袁宝林
中冶焦耐 (大连) 工程技术有限公司
ACRE COKING & REFRACTORY ENGINEERING CONSULTING CORPORATION (DALIAN), MCC.
电话(Tel)         : (+86) 411-82461108
内线(Sub Tel)  : 81108
邮箱(Email)     : @.***
发件人： 大飞飞
发送时间： 2022-03-21 21:31
收件人： HeddaZ/Shadowin
抄送： Borery; Author
主题： Re: [HeddaZ/Shadowin] 新腾讯数据源不支持科创版？ (Issue #44)
换数据源之后，还真没注意到科创板被漏了。不好意思，目前已经升级并添加支持了。
此外关于无效字符报错的问题，请打开“IE 设置”，进入“高级”选项卡，取消允许调试程序的勾选框即可。
您的设备默认值可能被安全软件修改过了，亦或者【重置 IE 设置】也行。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

authors: Borery rayjoy

repo: HeddaZ/Shadowin


text:
Test perm_row_col with identity matrix

Summary
Test that id parity matrix is identity matrix or permutation of identity matrix no cnots are returned.
Details and comments

Looks good! I don't know what's the right way, but should we set some random seed always when using np.random?

repo: Helsinki-Qubits/qiskit-terra


text:
🛑 Search API is down

In eda9649, Search API (https://api-search.henchman.io/health) was down:

HTTP code: 502
Response time: 590 ms

Resolved: Search API is back up in a48c5f7 after 6 minutes.

repo: Henchman-Legal/status


text:
CPU problems

Sorry for another issue, but i find difficult to understand why (using the demo example) the CPU goes up to 45% and chrome is slow if i open a new tab
I am testing with two chrome tabs (if i use firefox CPU is too much high really)
I tried also the direct chat on https://talky.io/ and the demo here http://simplewebrtc.com/demo.html and it's the same, most of the times the CPU has peaks of 45/48% and the middle range is 38/41% per tab
I am wondering if something is producing this charging or if it's normal, since trying for example https://vline.com CPU stay between 30/35%
Thank you again!

does it also happen on apprtc.appspot.com? Generally that's a browser problem and there is little one can do (such as reducing the capture size and or framerate)
Google has some undocumented flags to deal with this though.

@fippo  just tested apprtc and it never goes up to 39% here.
While (tested again) talky.io is about 42/47%  i don't understand why since, as streams comes they are pushed into the remote video, is there anything charging toom uch the dom ? i don't know... :(

Ok tested with 2 different PCs on apprtc it's the same so it's not a library problem sorry for that.
If you still have some tip and suggestion to leave a good video quality but slow down the CPU usage that is appreciated, thank you man!

video encoding is just very expensive -- chrome 42 just managed to reduce the cpu load but it's still expensive.
check https://test.webrtc.org/ and http://webrtc.github.io/samples/src/content/getusermedia/resolution/ --- passing the same constraints into simplewebrtc is done via the media object in the constructor

thanks :+1:

authors: fippo poshetz

repo: HenrikJoreteg/SimpleWebRTC


text:
There are no commands defined in the "multi-auth" namespace.

i have laravel 5.4.3 i am getting folloing error on Xampp
There are no commands defined in the "multi-auth" namespace.
i have  added services provider register function as well as env =local

Please post your composer.json

repo: Hesto/multi-auth


text:
gramatron  Segmentation fault on Ubuntu20.04

I installed Gramatron from scratch,and run the ruby test,it has this error:
root@test:/home/Gramatron/src/gramfuzz-mutator# ./run_campaign.sh /home/Gramatron/grammars/ruby/source_automata.json test_output "/tmp/mruby/bin/mruby @@"
./run_campaign.sh: line 34: 1026037 Segmentation fault      $FUZZ_MAIN -m none -a $AUTOMATON -i $INPUT_DIR -o $OUTPUT_DIR -- $RUNCMD
then I use this command to see what happens:
../afl-gf/afl-fuzz -m none -a /home/Gramatron/grammars/ruby/source_automata.json -i /tmp/inputs -o ruby_output -- /tmp/mruby/bin/mruby @@
...
[-]  SYSTEM ERROR : Unable to open '/tmp/inputs/001.aut.aut'
Stop location : link_or_copy(), src/afl-fuzz-init.c:760
OS message : No such file or directory
then I list the inputs folder:
root@test:/tmp/inputs# ls
001.aut  004  007  010  013  016  019  022  025  028  031  034  037  040  043  046  049  052  055  058  061  064  067  070  073  076  079  082  085  088  091  094  097  100
002      005  008  011  014  017  020  023  026  029  032  035  038  041  044  047  050  053  056  059  062  065  068  071  074  077  080  083  086  089  092  095  098
003      006  009  012  015  018  021  024  027  030  033  036  039  042  045  048  051  054  057  060  063  066  069  072  075  078  081  084  087  090  093  096  099
which is not the same as the inputs folder in your docker image:
root@fda4e3695b91:/tmp/inputs# ls
001      005.aut  010      014.aut  019      023.aut  028      032.aut  037      041.aut  046      050.aut  055      059.aut  064      068.aut  073      077.aut  082      086.aut  091      095.aut  100
001.aut  006      010.aut  015      019.aut  024      028.aut  033      037.aut  042      046.aut  051      055.aut  060      064.aut  069      073.aut  078      082.aut  087      091.aut  096      100.aut
002      006.aut  011      015.aut  020      024.aut  029      033.aut  038      042.aut  047      051.aut  056      060.aut  065      069.aut  074      078.aut  083      087.aut  092      096.aut
002.aut  007      011.aut  016      020.aut  025      029.aut  034      038.aut  043      047.aut  052      056.aut  061      065.aut  070      074.aut  079      083.aut  088      092.aut  097
003      007.aut  012      016.aut  021      025.aut  030      034.aut  039      043.aut  048      052.aut  057      061.aut  066      070.aut  075      079.aut  084      088.aut  093      097.aut
003.aut  008      012.aut  017      021.aut  026      030.aut  035      039.aut  044      048.aut  053      057.aut  062      066.aut  071      075.aut  080      084.aut  089      093.aut  098
004      008.aut  013      017.aut  022      026.aut  031      035.aut  040      044.aut  049      053.aut  058      062.aut  067      071.aut  076      080.aut  085      089.aut  094      098.aut
004.aut  009      013.aut  018      022.aut  027      031.aut  036      040.aut  045      049.aut  054      058.aut  063      067.aut  072      076.aut  081      085.aut  090      094.aut  099
005      009.aut  014      018.aut  023      027.aut  032      036.aut  041      045.aut  050      054.aut  059      063.aut  068      072.aut  077      081.aut  086      090.aut  095      099.aut
I just pull the code down,build and run,I don't know why this happens?

Hi, sorry for the late response. The reason why this was happening because apparently the globals that were keeping track of the initial and final states read from the automaton description file were being overwritten after the custom mutator library was loaded in. This was a behavior I did not see when testing on Xenial (16.04) but did observe it when running on focal (20.04). To address this issue, I've pushed a minor hack. Let me know if the problem still persists. For your convenience, I've pushed a separate docker image with Gramatron setup on focal as well. The instructions to get the focal image are listed here.

authors: phoenixltx prashast

repo: HexHive/Gramatron


text:
new mod: Max Health Fix by DarkhaxDev

imagine not having your health capped every time you join a world from a bug that Mojang has neglected to fix for 10 bucking years.
sure, bonus health rarely comes up in gameplay that doesn't somehow involve user created content like mods or data packs, but come on Micros**t, there is already a fix!
[/rant] ANYWAY...
Checklist:

[ ] ~Bumped pack.toml version number (if merging to master)~ N/A
[x] Ran installer with -s both to ensure server-only mods work (Done, but is this even relevant if I'm not adding a server-only mod?)
[x] Ran packwiz refresh just before final commit

Thanks!

repo: HexxyCraft/modpack


text:
Using Java's printing for logging

Fixes #92

Some tests seem to be broken (brobably because of changes done. Try to check those and release probably tomorrow.

Could we use https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#join-T...- here in order to avoid converting an array to List?

That's already done with commit b053abc. It just seemed to use a bit more memory in Maven build, but at least code is simpler.


text:
【设置】-【编辑器】tooltips 消失

判断由 #43 关联的提交引发
问题代码：

.b3-tooltips:hover, .b3-tooltips:focus-within {
  overflow: hidden;
}

repo: Hi-Windom/winsay


text:
Feature Request: Select MC version

It will be nice if there was settings for minecraft version so we can select >1.11, 1.12-1.13 or 1.14+ =)

What would change in the program if we added the feature?
I can see adding some extra information in the compatibility menu (such as removing compatibility for >1.11 if 1.12 sounds are used), but that's about it.

repo: HielkeMinecraft/OpenNoteBlockStudio


text:
[Bug]

设备信息

扩展版本: [v2.19.26]

描述问题

获取标注时只能获取一级和二级标题，三级标题开始无法获取
复现步骤

比如这本书第一章1.2节JavaScript实现
我只对正文内容进行了标注，导出时可以获得如下格式

### 1.2 JavaScript实现
虽然JavaScript和ECMAScript基本上是同义词，但JavaScript远远不限于ECMA-262所定义的那样。没错，完整的JavaScript实现包含以下几个部分（见图1-1）：

这里有一个三级标题 1.2.1 ECMAScript 并未导出

ECMAScript，即ECMA-262定义的语言，并不局限于Web浏览器。

后面还有一个四级标题 1．ECMAScript版本 并未导出

期待的正常行为

三四级标题可以正常识别导出。我注意这本书目录中只有一二级标题，但正文中有三四级标题，是因为这个原因导致无法导出三四级标题吗？
截图

导出缺少1.2.1 三级标题，是因为被算作正文了吗？

额外信息

不知道是不是因为三四级标题在正文中出现而目录中没有导致的这个问题，不带小标题导致整理标注比较麻烦，希望能明白这是什么原因

感谢你的使用和反馈。是的，扩展一般只能够导出目录中出现的标题。但是可以间接将其他标题导出。
第一种方法是，用单独的标注类型划记你所需要导出而目录中没有的标题，然后在设置中添加前缀。比如，现在需要导出 1.2.1 ECMAScript 这个标题，首先，用 马克笔 标注它：

Details

然后，将 二级标注 前缀设置为 ### （注意最后有一个空格）、后缀设置为空（什么也不填），如下：

Details

那么 1.2.1 ECMAScript 导出来之后，将变成  ### 1.2.1 ECMAScript。
这种方法要求你用单独的标注来标记内容，也就是说，如果用 马克笔 来标注目标标题，那么就不能将它用来标注正文了（因为标注内容导出来之后将被添加你所设置好的前后缀）。
第二种方法是，使用正则表达式。注意到三级标题前面有三个数字标记。比如  1.2.1 ECMAScript 中的 1.2.1 。借助这一点，可以创建如下正则替换 s/^([0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2} .*)$/### $1/ 并将其勾选：

Details

然后标记你所需要导出的标题标记（不需要使用单独的标注类型）：

Details

之后导出来就会成为  ### 1.2.1 ECMAScript，四级标题可类似设置。

谢谢你的及时回复，我了解是什么情况了，我决定用正则表达式匹配了，这个问题应该解决了，谢谢！

authors: Higurashi-kagome dragon-liu

repo: Higurashi-kagome/wereader


text:
Add css to card

Add hover effect to card that are benificial to reader with out go into the detail .
https://github.com/HimanshuNarware/CareerZunction_Intern/assets/154527778/93faf28e-9f4b-4a88-824e-dd1d43341ee0

@HimanshuNarware Please take a look at it; it looks awesome.

@pandeyji711 doesn't match with the theme of the website.

@HimanshuNarware can you suggest some!!

@HimanshuNarware can you suggest some!!

just use colors that match with the theme of the website.

@HimanshuNarware please review

@HimanshuNarware I think its looks good  and matched with theam

@HimanshuNarware please review this

I pushed the updated code to this branch , please review and merge

@pandeyji711  your pr is messing with others code that why  I am closing this PR


text:
addMergeVars  and handlebars problem with loop

I've a problem using "addMergeVars" adding an array for a variable:
$playlists = [
         ['channel'=>'UC7HDT4RR9sXmuuEqClX_05w', 'cname'=>'channel1'],
         ['channel'=>'UCsT0YIqwnpJCM-mx7-gSA4Q', 'cname'=>'channel2']
        ];
...
$message->addTo($email,$firstname)
            ->addMergeVars($email, [
                [ 'name'  => 'fname',  'content' => $firstname],
                [ 'name'  => 'playlists',  'content' =>  $playlists],
            ]);

the handlebars template on mandrill is something like:
{{fname}}<br/>

{{#each playlists}}
      channel: {{channel}}
 {{/each}}

now.. {{fname}} is parsed correctly,  but the loop  fails,  it doesn't render anything.
I need some help

the problem seems in the bundle  because using  the official PHP mandrill package  I have correct behavior.

the problem was in my array, sorry.  It seems to work now

repo: Hipaway-Travel/HipMandrillBundle


text:
scan fails when non-Espressif device present

The scan feature works very nicely for ESP8266 and ESP32. But, when neither of those is connected and instead something else is (e.g. Pico), scan exits with an exception:
$ xs-dev scan
⠧ Scanning for devices.../usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/index.js:15
    throw up;
    ^

Error: Command failed with exit code 1: esptool.py --port /dev/tty.usbmodem14101 read_mac
Traceback (most recent call last):
  File "/Users/hoddie/.espressif/python_env/idf4.4_py3.8_env/lib/python3.8/site-packages/serial/serialposix.py", line 398, in _reconfigure_port
    orig_attr = termios.tcgetattr(self.fd)
termios.error: (6, 'Device not configured')

During handling of the above exception, another exception occurred:
...

I unintentionally tangled together two topics here:

There are many kinds of devices that could be connected to the computer using serial. Not all of them will be development boards. There's no way to know which might be development boards (hence scan!). So, when the scan of a given port fails, the scan should continue with the next candidate port.
Detecting Pico. That's trickier. When Pico is in install mode (power up with boot button pressed) it appears on the computer as a disk volume. When in run mode, there may be a serial port, but that  depends on the installed project. Moddable SDK projects set-up a serial port for xsbug on debug builds. That could be detected in a scan.

I intended this issue to be about (1) only. I think (2) is a separate development task.

FWIW – an easy way to see this problem is to attach the Moddable Programmer to USB but not a device. The serial port will work, but won't reply eventually leading to an exception from esptool.py  as above.

For the pico discovery, it looks like picotool could help with getting device info, as long as the chip is in BOOTSEL mode.
Capturing errors / exceptions from esptool shouldn't been too bad to allow for scanning without interruption. :+1:

authors: HipsterBrown phoddie

repo: HipsterBrown/xs-dev


text:
-o1のファイル名もしくはディレクトリ名の指定ミス？

C:\become-yukarin\become-yukarin>python scripts\extract_acoustic_feature.py -i1 ../My_ATR503/.wav -i2 ../Sasara_ATR503/.wav -o1 ../out_MyATR503/.npy -o2 ../out_SasaraATR503/.npy
C:\Anaconda3\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
['class',
'contains',
'delattr',
'dict',
'dir',
'doc',
'eq',
'format',
'ge',
'getattribute',
'gt',
'hash',
'init',
'init_subclass',
'le',
'lt',
'module',
'ne',
'new',
'reduce',
'reduce_ex',
'repr',
'setattr',
'sizeof',
'str',
'subclasshook',
'weakref',
'_get_args',
'_get_kwargs',
'alpha',
'disable_alignment',
'enable_overwrite',
'f0_ceil1',
'f0_ceil2',
'f0_estimating_method',
'f0_floor1',
'f0_floor2',
'frame_period',
'ignore_feature',
'input1_directory',
'input2_directory',
'order',
'output1_directory',
'output2_directory',
'pad_second',
'pre_converter1_config',
'pre_converter1_model',
'sample_rate',
'top_db']
Traceback (most recent call last):
File "C:\Anaconda3\lib\pathlib.py", line 1226, in mkdir
self._accessor.mkdir(self, mode)
File "C:\Anaconda3\lib\pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), args)
OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。: '..\out_MyATR503\.npy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "scripts\extract_acoustic_feature.py", line 208, in
main()
File "scripts\extract_acoustic_feature.py", line 197, in main
arguments.output1_directory.mkdir(exist_ok=True)
File "C:\Anaconda3\lib\pathlib.py", line 1235, in mkdir
if not exist_ok or not self.is_dir():
File "C:\Anaconda3\lib\pathlib.py", line 1326, in is_dir
return S_ISDIR(self.stat().st_mode)
File "C:\Anaconda3\lib\pathlib.py", line 1136, in stat
return self.accessor.stat(self)
File "C:\Anaconda3\lib\pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), args)
OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。: '..\out_MyATR503\.npy'
C:\become-yukarin\become-yukarin>python scripts\extract_acoustic_feature.py -i1 ../My_ATR503/.wav -i2 ../Sasara_ATR503/.wav -o1 ../out_MyATR503/.npy -o2 ../out_SasaraATR503/.npy
C:\Anaconda3\lib\site-packages\h5py_init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
['class',
'contains',
'delattr',
'dict',
'dir',
'doc',
'eq',
'format',
'ge',
'getattribute',
'gt',
'hash',
'init',
'init_subclass',
'le',
'lt',
'module',
'ne',
'new',
'reduce',
'reduce_ex',
'repr',
'setattr',
'sizeof',
'str',
'subclasshook',
'weakref',
'_get_args',
'_get_kwargs',
'alpha',
'disable_alignment',
'enable_overwrite',
'f0_ceil1',
'f0_ceil2',
'f0_estimating_method',
'f0_floor1',
'f0_floor2',
'frame_period',
'ignore_feature',
'input1_directory',
'input2_directory',
'order',
'output1_directory',
'output2_directory',
'pad_second',
'pre_converter1_config',
'pre_converter1_model',
'sample_rate',
'top_db']
Traceback (most recent call last):
File "C:\Anaconda3\lib\pathlib.py", line 1226, in mkdir
self._accessor.mkdir(self, mode)
File "C:\Anaconda3\lib\pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), args)
OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。: '..\out_MyATR503\.npy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "scripts\extract_acoustic_feature.py", line 208, in
main()
File "scripts\extract_acoustic_feature.py", line 197, in main
arguments.output1_directory.mkdir(exist_ok=True)
File "C:\Anaconda3\lib\pathlib.py", line 1235, in mkdir
if not exist_ok or not self.is_dir():
File "C:\Anaconda3\lib\pathlib.py", line 1326, in is_dir
return S_ISDIR(self.stat().st_mode)
File "C:\Anaconda3\lib\pathlib.py", line 1136, in stat
return self._accessor.stat(self)
File "C:\Anaconda3\lib\pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), args)
OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。: '..\out_MyATR503\.npy'
-o1　../out/MyATR503/*.npyが間違っていますか？

出力パスはディレクトリを想定しています。ディレクトリのパスを指定してください。
あと、重要そうなエラーメッセージのみを書くようにしていただけると、後から見直しやすいので助かります。

repo: Hiroshiba/become-yukarin


text:
Add support for npub input alongside hex pubkeys

Description:
This pull request adds functionality to support both npub and hex public key inputs in the Zap List generator. The changes are minimal and focused on enhancing user experience without altering the core functionality.
Changes made:

HTML changes:

Updated the label for the pubkey input field to indicate support for both npub and hex:
Your Pubkey (npub or hex):
Modified the placeholder text for the pubkey input to reflect the new options:
Enter your npub or hex pubkey

JavaScript changes:

Added a new function convertToHexIfNpub to handle conversion of npub to hex if necessary:function convertToHexIfNpub(pubkey) {
  if (pubkey.startsWith('npub')) {
    try {
      const { type, data } = nip19.decode(pubkey)
      if (type === 'npub') {
        return data
      }
    } catch (error) {
      throw new Error('Invalid npub')
    }
  }
  return pubkey
}

Updated the fetchZapSenders function to use the new conversion function:myPubkey = convertToHexIfNpub(myPubkey)

These changes allow users to input either their npub or hex public key, making the tool more accessible to users who may be more familiar with their npub. The core functionality of the Zap List generator remains unchanged.
Testing:

Windows
Tested with both npub and hex inputs to ensure correct functionality.
Verified that the existing hex input still works as expected.
Confirmed that invalid npub inputs are handled gracefully with an error message.

Let's Go!

Thank you for your fast PRs!
Btw, its okay to leave them as 5 separate ones, it will be a bit easier to review unless there are a lot of conflicts.

Just seeing that last comment now.....

authors: TheWildHustle bitkarrot

repo: HiveTalk/zaplist

license: Unlicense


text:
Investigate HDC SQLite database purging issues

Sqlite database is not purging old queries as expected
https://hivemapper.slack.com/archives/C05JDB2KKH6/p1712773672242689
https://hivemapper.slack.com/archives/C05JDB2KKH6/p1712780318358719

Just started on this, based on exam of 4.5.6 data

Mazar working on this and helping Alexei - Was corrupted and found a procedure to fix.
Not in 4.5.8 - seeing if this is a "general fix" we can implement for all users

Found some way to shrink DB

Reset DBs didn't have an effect
Discovered that some housekeeping was needed first
Applied change, now works via 4.5.12

authors: Masaya-RT mazar-farran


text:
Add table of contents to wiki homepage

This seems like a useful project that I would like to check out, but I could not find any instructions on the website or the wiki.
Apparently GitHub hides the list of pages by default, so it would be good to provide a table of contents on the wiki homepage.

Otherwise it's almost impossible to find these other wiki pages.

Otherwise it's almost impossible to find these other wiki pages.

Welcome to 2022. Where people claim doing one click on a item in strong font, named PAGES makes it impossible to find the pages..

authors: jubalh slhck

repo: Hjdskes/cage


text:
SGSSB: Guarantee a user's staffmon

This PR will make a user gain their staffmon if their username matches the staffmons username

Ill try to fix this when I'm home

Works now

repo: HoeenCoder/SpacialGaze


text:
The disable internal FXAA exeFS 1.1.2 mod @nsobid is wrong

It currently reads:
@nsobid-9A10ED9435C06733DA597D8094D9000AB5D3EE6
It should read:
@nsobid-9A10ED9435C06733DA597D8094D9000AB5D3EE60
(it's missing the zero at the end)

the zeroes at the end doesnt matter

repo: HolographicWings/TOTK-Mods-collection


text:
Cask caveats not shown in caveat summary

brew config output
HOMEBREW_VERSION: 3.1.8-52-geb5f04a
ORIGIN: https://github.com/Homebrew/brew
HEAD: eb5f04a98a507d6cef67fc781fb9313378385b1e
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ca683a631dee04a7cceb3140d721af8004ed85a5
Core tap last commit: 4 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.xS8zAkZjjT/org.macosforge.xquartz:0
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 12.0.5 build 1205
Git: 2.31.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.3.1-x86_64
CLT: 12.5.0.22.9
Xcode: 12.5
XQuartz: 2.7.11 => /opt/X11

brew doctor output
Your system is ready to brew.

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
brew upgrade
What happened (include all command output)?
Caveats for macfuse got shown during install, but not in the caveats summary after the upgrade process finished. Only formula caveats (gh) were shown in the summary
❯ brew upgrade
==> Upgrading 7 outdated packages:
kube-linter 0.2.1 -> 0.2.2
gh 1.9.2 -> 1.10.2
pango 1.48.4 -> 1.48.5
mongodb/brew/mongosh 0.12.1 -> 0.13.1
shfmt 3.2.4 -> 3.3.0
node 16.1.0 -> 16.2.0
libx11 1.7.0 -> 1.7.1
==> Upgrading kube-linter 0.2.1 -> 0.2.2
==> Downloading https://ghcr.io/v2/homebrew/core/kube-linter/manifests/0.2.2
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/kube-linter/blobs/sha256:831b22931fea72de98b288d96f2ff9c13ad078a88ab2600748434dbd7b8dfd65
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:831b22931fea72de98b288d96f2ff9c13ad078a88ab2600748434dbd7b8dfd65?se=2021-05-20T14%3A45%3A00Z&si
######################################################################## 100.0%
==> Pouring kube-linter--0.2.2.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/kube-linter/0.2.2: 5 files, 34.8MB
Removing: /usr/local/Cellar/kube-linter/0.2.1... (5 files, 34.6MB)
Removing: /Users/Max/Library/Caches/Homebrew/kube-linter--0.2.1... (9.8MB)
==> Upgrading gh 1.9.2 -> 1.10.2
==> Downloading https://ghcr.io/v2/homebrew/core/gh/manifests/1.10.2
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gh/blobs/sha256:4196fbac342d41cd1c05ab9319f955aed3563eaefd284b4ff141a07aecc9b7d8
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:4196fbac342d41cd1c05ab9319f955aed3563eaefd284b4ff141a07aecc9b7d8?se=2021-05-20T14%3A45%3A00Z&si
######################################################################## 100.0%
==> Pouring gh--1.10.2.big_sur.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/gh/1.10.2: 89 files, 28.6MB
Removing: /usr/local/Cellar/gh/1.9.2... (89 files, 28.5MB)
==> Upgrading pango 1.48.4 -> 1.48.5
==> Downloading https://ghcr.io/v2/homebrew/core/libx11/manifests/1.7.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libx11/blobs/sha256:9998bb9f54cc7ee1c11cc5dd645efa2ab07542424dd978c87c2b12a59e736dcd
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:9998bb9f54cc7ee1c11cc5dd645efa2ab07542424dd978c87c2b12a59e736dcd?se=2021-05-20T14%3A45%3A00Z&si
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pango/manifests/1.48.5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pango/blobs/sha256:cabbacd4559bb2c843f6e4965f65c6baf5e66a554f127ee2341ac8919fd6e6e7
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:cabbacd4559bb2c843f6e4965f65c6baf5e66a554f127ee2341ac8919fd6e6e7?se=2021-05-20T14%3A45%3A00Z&si
######################################################################## 100.0%
==> Installing dependencies for pango: libx11
==> Installing pango dependency: libx11
==> Pouring libx11--1.7.1.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/libx11/1.7.1: 1,055 files, 7MB
==> Installing pango
==> Pouring pango--1.48.5.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/pango/1.48.5: 64 files, 2.9MB
Removing: /usr/local/Cellar/pango/1.48.4... (64 files, 2.9MB)
==> Upgrading mongodb/brew/mongosh 0.12.1 -> 0.13.1
==> Downloading https://registry.npmjs.org/@mongosh/cli-repl/-/cli-repl-0.13.1.tgz
######################################################################## 100.0%
==> /usr/local/opt/node@14/bin/npm install -ddd --global --build-from-source --cache=/Users/Max/Library/Caches/Homebrew/npm_cache --prefix=/usr/local/Cellar/mongosh/0.13.1/libexec
🍺  /usr/local/Cellar/mongosh/0.13.1: 5,188 files, 30.9MB, built in 42 seconds
Removing: /usr/local/Cellar/mongosh/0.12.1... (5,230 files, 31MB)
==> Upgrading shfmt 3.2.4 -> 3.3.0
==> Downloading https://ghcr.io/v2/homebrew/core/shfmt/manifests/3.3.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/shfmt/blobs/sha256:789f53db9def4a6002efc5f37d0919a5c1e0deb104fdb29583d13392e36e5824
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:789f53db9def4a6002efc5f37d0919a5c1e0deb104fdb29583d13392e36e5824?se=2021-05-20T14%3A45%3A00Z&si
######################################################################## 100.0%
==> Pouring shfmt--3.3.0.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/shfmt/3.3.0: 7 files, 2.9MB
Removing: /usr/local/Cellar/shfmt/3.2.4... (7 files, 2.9MB)
==> Upgrading node 16.1.0 -> 16.2.0
==> Downloading https://ghcr.io/v2/homebrew/core/node/manifests/16.2.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/node/blobs/sha256:5a07b8c8ece7dedaa748a8f93ec08a416fc87977b7ddc04a4c0d30fa3784faa1
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5a07b8c8ece7dedaa748a8f93ec08a416fc87977b7ddc04a4c0d30fa3784faa1?se=2021-05-20T14%3A45%3A00Z&si
######################################################################## 100.0%
==> Pouring node--16.2.0.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/node/16.2.0: 2,784 files, 49MB
Removing: /usr/local/Cellar/node/16.1.0... (2,778 files, 48.9MB)
Removing: /Users/Max/Library/Caches/Homebrew/node--16.1.0... (13.1MB)
==> Upgrading libx11 1.7.1 -> 1.7.1
Removing: /usr/local/Cellar/libx11/1.7.0... (1,055 files, 7MB)
==> Casks with 'auto_updates' or 'version :latest' will not be upgraded; pass `--greedy` to upgrade them.
==> Upgrading 1 outdated package:
macfuse 4.1.0 -> 4.1.2
==> Upgrading macfuse
==> Caveats
You must reboot for the installation of macfuse to take effect.

==> Downloading https://github.com/osxfuse/osxfuse/releases/download/macfuse-4.1.2/macfuse-4.1.2.dmg
==> Downloading from https://github-releases.githubusercontent.com/1867347/bef7db00-b69c-11eb-8f46-85e4f7a57751?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH5
######################################################################## 100.0%
==> Uninstalling packages; your password may be necessary:
io.macfuse.installer.components.core
Password:
io.macfuse.installer.components.preferencepane
==> Running installer for macfuse; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
installer: Package name is macFUSE
installer: Installing at base path /
installer: The install was successful.
==> Changing ownership of paths required by macfuse; your password may be necessary.
==> Purging files for version 4.1.0 of Cask macfuse
🍺  macfuse was successfully upgraded!
==> Caveats
==> gh
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions

What did you expect to happen?
Cask caveats to be listed together with formula caveats.
Step-by-step reproduction instructions (by running brew commands)
Install / upgrade a mix of formula and casks with caveats, e.g. `gh` and `macfuse`

This is working as-expected for now but: it would be good to add this behaviour, I agree 👍🏻

Thanks again @issyl0!

authors: MikeMcQuaid max-ae

repo: Homebrew/brew


text:
Error when trying to install homebrew using shell script

brew doctor output
N/A brew did not install correctly

Verification

[ ] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[ ] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
N/A brew did not install correctly

What were you trying to do (and why)?
I was trying to run the install script for home-brew
What happened (include all command output)?
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew

Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R brandon:admin /opt/homebrew
==> Downloading and installing Homebrew...
HEAD is now at c9fdce3e3 Merge pull request #14658 from MikeMcQuaid/analytics_report_event
Error: Failed to download formula.json!
Failed to download cask.json!
Failed during: /opt/homebrew/bin/brew update --force --quiet

What did you expect to happen?
I expected that homebrew would install correctly. Currently brew is not in my PATH
Step-by-step reproduction instructions (by running brew commands)
`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`

This is probably some network problem but I can see the current error message doesn't help you at all. We should definitely dump the curl stderr here or something.


text:
shims/mac/super/pkg-config: fix shebang

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

https://github.com/Homebrew/brew/pull/12086#issuecomment-922454101

Review period skipped due to critical label.