USM memcpy fails with CUDA 11

On CUDA with the sm_75 architecture, sycl_test fails with the following log:
Running 107 test cases...
/home/fabian/Code/hipSYCL/tests/sycl/kernel_invocation.cpp(145): error: in "kernel_invocation_tests/hierarchical_dispatch": check computed == expected has failed [0 != 32640]
/home/fabian/Code/hipSYCL/tests/sycl/kernel_invocation.cpp(145): error: in "kernel_invocation_tests/hierarchical_dispatch": check computed == expected has failed [256 != 98176]
/home/fabian/Code/hipSYCL/tests/sycl/kernel_invocation.cpp(145): error: in "kernel_invocation_tests/hierarchical_dispatch": check computed == expected has failed [512 != 163712]
/home/fabian/Code/hipSYCL/tests/sycl/kernel_invocation.cpp(145): error: in "kernel_invocation_tests/hierarchical_dispatch": check computed == expected has failed [768 != 229248]
[hipSYCL Error] Runtime has registered error: from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 2]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 3]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 5]
....
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4090]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4091]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4092]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4093]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4094]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4095]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4096]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(214): error: in "usm_tests/allocations_in_kernels": check host_explicit_allocation[i] == i + 2 has failed [0 != 4097]
============== hipSYCL error report ==============
hipSYCL has caught the following undhandled asynchronous errors:

   0. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

The application will now be terminated.
terminate called without an active exception
unknown location(0): fatal error: in "usm_tests/allocations_in_kernels": signal: SIGABRT (application abort requested)
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(215): last checkpoint
[hipSYCL Error] Runtime has registered error: from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)
[hipSYCL Error] Runtime has registered error: from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(239): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 1]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(239): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 2]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(239): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 3]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(239): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 4]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(239): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 5]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(239): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 6]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(239): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 7]
....
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(319): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 4091]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(319): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 4092]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(319): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 4093]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(319): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 4094]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(319): error: in "usm_tests/memcpy": check host_data[i] == initial_data[i] has failed [0 != 4095]
============== hipSYCL error report ==============
hipSYCL has caught the following undhandled asynchronous errors:

   0. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

   1. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

   2. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

   3. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

   4. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

   5. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

   6. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

   7. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

The application will now be terminated.
terminate called recursively
unknown location(0): fatal error: in "usm_tests/memcpy": signal: SIGABRT (application abort requested)
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(336): last checkpoint
[hipSYCL Error] Runtime has registered error: from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
....
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(380): error: in "usm_tests/memset": check host_mem[i] == 12 has failed [0 != 0xc]
============== hipSYCL error report ==============
hipSYCL has caught the following undhandled asynchronous errors:

   0. from /home/fabian/Code/hipSYCL/src/runtime/cuda/cuda_queue.cpp:217 @ submit_memcpy(): cuda_queue: Couldn't submit memcpy (error code = CUDA:1)

The application will now be terminated.
terminate called recursively
unknown location(0): fatal error: in "usm_tests/memset": signal: SIGABRT (application abort requested)
/home/fabian/Code/hipSYCL/tests/sycl/usm.cpp(378): last checkpoint

*** 28672 failures are detected in the test module "hipsycl unit tests"

This happens at least for 2ebdc4581cd782b46dfabd810e8a2c634a97098f (develop) and d2de657 (PR #307).
Note: My CUDA version is 11.0 which is not officially supported by Clang version 10 I use, but so far, this has not caused any issues for me elsewhere.

I can reproduce with CUDA 11.0 but only with 11.0, so this seems CUDA 11 specific, and for whatever reason, seems to only affect USM memcpy and not accessors. When setting the environment variable HIPSYCL_DEBUG_LEVEL=3 the issue also disappears...


Added Clipboard icon that will copy code

Can you use this icon and can you make the icon change when clicked to tell the user the code has been copied like to replace the icon with the word “copied” after press the icon
https://www.svgrepo.com/svg/140317/copy

Sure. I will open a new pull request when done


terraform-provider-cloudflare_v4.38.0 plugin crashed!

Confirmation

[X] This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
[X] I have searched the issue tracker and my issue isn't already found.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
cloudflare/cloudflare v4.38.0
terraform_version: v1.8.6
Affected resource(s)
update any resource
Terraform configuration files
resource "cloudflare_ruleset" "transform_bxcredit_request_headers" {
  zone_id = cloudflare_zone.this.id
  name        = "Country Code HTTP request header modification"
  description = "Country Code"
  kind        = "zone"
  phase       = "http_request_late_transform"
  rules {
    action = "rewrite"
    action_parameters {
      headers {
        name      = "BX-Country-Code"
        operation = "set"
        expression = "ip.src.country"
      }
    }
    expression = "true"
    description = " Request Header Country Code Rule"
    enabled = true
  }

  rules {
    action = "rewrite"
    action_parameters {
      headers {
        name      = "x-Internal"
        operation = "set"
        value = "false"
      }
    }
    expression = "(not ip.src in $blackstone_iplist) or (not ip.src in $zscaler_iplist)"
    description = "External user header"
    enabled = true
  }

  rules {
    action = "rewrite"
    action_parameters {
      headers {
        name      = "x-Internal"
        operation = "set"
        value = "true"
      }
    }
    expression = "(ip.src in $blackstone_iplist) or (ip.src in $zscaler_iplist)"
    description = "Internal user on the header"
    enabled = true
  }

  rules {
    action = "rewrite"
    action_parameters {
      headers {
        name      = "x-bot-score"
        operation = "set"
        expression = "to_string(cf.bot_management.score)"
      }
    }
    expression = "true"
    description = "Bot Scores bxcreditpriveeurope"
    enabled = true
  }
}

Link to debug output
can't submit this
Panic output
Stack trace from the terraform-provider-cloudflare_v4.38.0 plugin:
panic: interface conversion: interface {} is nil, not []interface {}
goroutine 10 [running]:
github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider.resourceCloudflareZoneSettingsOverrideStateUpgradeV1.func1(...)
github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider/resource_cloudflare_zone_settings_override_migrate.go:46
github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider.resourceCloudflareZoneSettingsOverrideStateUpgradeV1({0x0?, 0x0?}, 0xc000ac7290, {0x0?, 0x0?})
github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider/resource_cloudflare_zone_settings_override_migrate.go:51 +0x185
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).upgradeJSONState(0xc000010270, {0x207d018, 0xc000a9b170}, 0xd?, 0x1df0e6c?, 0x14?)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.34.0/helper/schema/grpc_provider.go:491 +0x75
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).UpgradeResourceState(0xc000010270, {0x207d018?, 0xc000a9b080?}, 0xc000982760)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.34.0/helper/schema/grpc_provider.go:367 +0x3fa
github.com/hashicorp/terraform-plugin-mux/tf5to6server.v5tov6Server.UpgradeResourceState({{0x208c6d8?, 0xc000010270?}}, {0x207d018?, 0xc000a9b080?}, 0xc0009826a0?)
github.com/hashicorp/terraform-plugin-mux@v0.16.0/tf5to6server/tf5to6server.go:175 +0x143
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).UpgradeResourceState(0x207d050?, {0x207d018?, 0xc00093bb30?}, 0xc0009826a0)
github.com/hashicorp/terraform-plugin-mux@v0.16.0/tf6muxserver/mux_server_UpgradeResourceState.go:36 +0x19f
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).UpgradeResourceState(0xc0007f95e0, {0x207d018?, 0xc00093ae40?}, 0xc00098e5f0)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/tf6server/server.go:751 +0x278
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_UpgradeResourceState_Handler({0x1cffd80?, 0xc0007f95e0}, {0x207d018, 0xc00093ae40}, 0xc0009a4300, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:446 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000e3000, {0x207d018, 0xc00093adb0}, {0x20855a0, 0xc0009ba180}, 0xc00009c240, 0xc000a39770, 0x2eb18b8, 0x0)
google.golang.org/grpc@v1.63.2/server.go:1369 +0xe23
google.golang.org/grpc.(*Server).handleStream(0xc0000e3000, {0x20855a0, 0xc0009ba180}, 0xc00009c240)
google.golang.org/grpc@v1.63.2/server.go:1780 +0x1016
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 8
google.golang.org/grpc@v1.63.2/server.go:1030 +0x135
Error: The terraform-provider-cloudflare_v4.38.0 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Failed generating plan JSON
Exit code: 1
Failed to marshal plan to json: error marshaling prior state: schema version 0 for cloudflare_zone_settings_override.bxcredit_priveeurope_override in state does not match version 1 from the provider
Operation failed: 2 errors occurred:

failed running terraform plan (exit 1)
failed generating plan JSON: failed running command (exit 1)

Expected output
successful plan
Actual output
plan fails
Steps to reproduce
update a resource
tf plan
Additional factoids
No response
References
No response

i'm afraid this issue doesn't make any sense in it's current form. the repro is referencing cloudflare_ruleset in an plan operation, while the crash refers to cloudflare_zone_setttings_override resource and the debug log demonstrates an import operation.
can you please simplify and correct this issue for it to be triaged?


feat: add json rule

Hello,
This PR add json rule for allow check is the string value is an valid json (array, array of object, object or any json)
/!\  Question :
How i can fix the localization message (the switch is not work because argument is {1}
Note: i have also try with :
return `The ${field} field must be an valid json ${type === 'array_object' ? 'array of object' : type}.`;

Thanks.

I thank you for the wonderful and detailed commits for this PR. Unfortunately, I have strict requirements when accepting new rules such as this one. I don't see this rule being used commonly and some rules, in general, will be deprecated in V3.
Again thanks for the PR and I hope to see more of your continuous contributions to vee-validate.


"No suggestions" doesn't show in the intellisense box

Trigger "no suggestions"

It's overlayed on the text behind it.

Fixed with https://github.com/Microsoft/vscode/commit/d679ee8d4b8e5ca7433bea0391b8f7a240d0cd20


Function-style metaInfo broken with keep-alive

When I use vue-meta with vue-router and <keep-alive>, I can't reliably use the function-style metaInfo.
I have two pages in my application, with the following in their component definitions:
// Page one
...
metaInfo: {
	title: 'Hello world!'
},
...

// Page 2
...
metaInfo: function () {
	return {
		title: 'Route name: ' + this.$route.name
	};
},
...

When I load my application and enter page one, I will see "Hello world!" as the page title. When I switch to page 2, I will see something like "Route name: pageTwoRouteName" as expected. However when I then switch back to page one, the page title is something like "Route name: pageOneRouteName". (The route names are what I have defined in my route configuration.)
It seems that when using a function to return the values for metaInfo, vue-meta starts $watching for the changes but never stores or calls the unwatch callback that would stop listening to the changes and writing, in my case, a new title for the component that has been transitioned out and deactivated but is still alive in the background.
If this is the case then I suspect similar unexpected results happen in any situation where components that use function-style metaInfo are used for a component that is not destroyed when navigating away from them, so it's not vue-router-specific issue even if it's probably the most common use case.
I can work on a PR later on but maybe someone can confirm if this is what's actually happening. If so, maybe just adding the unwatch callbacks to deactivated and beforeDestroy  will do the trick.

It would be indeed awesome if could create a PR to check if the component is deactivated to not watch it.

when keep-alive,

Having this problem too. When using keep-alive the meta tags for that view will stay in the DOM. When navigating instead of updating them new ones are added.
Any ideas for strategies to avoid / circumvent this?

It should be fixed with last version of vue-meta

this bug has not fix yet


Support for templates

Original question: Is it possible to have support for templates? I'd like to use this but provide my own HTML instead of what the original toaster is using. It would be nice to be able to replace {{toaster.body}} with a specific template.
EDIT
I noticed there is code for toaster.html in there but is it possible to specify a template?

Is there no way to pass data from the pop() method that can be used when the template is rendered? I notice that body and bodyTemplate unfortunately get combined. It would be useful when using the ng-included template if there were a way to pass data through to the scope. An extra parameter on the end of the pop function that takes an object such as "{ name: 'dave', message:'user not found' }" would be useful so that the template could bind to {{name}} and {{message}} accordingly.


[Feature] [#2381] Add println(Object...) to io.vavr.API

Implemented the request of the issue #2381

Codecov Report

Merging #2386 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2386      +/-   ##
============================================
+ Coverage     95.81%   95.81%   +<.01%
- Complexity     5426     5427       +1
============================================
  Files            94       94
  Lines         13108    13110       +2
  Branches       1608     1608
============================================
+ Hits          12559    12561       +2
  Misses          402      402
  Partials        147      147

Impacted Files
Coverage Δ
Complexity Δ

vavr/src-gen/main/java/io/vavr/API.java
83.39% <100%> (+0.02%)
222 <1> (+1)
:arrow_up:

Continue to review full report at Codecov.

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


sRGB to linear color space conversion not working

If I understand texconv's commandline flags correctly, one should be able to convert an input image from sRGB color space to linear color space by using -srgbi and a format without the _SRGB suffix.
However, this does not seem to work for me.
texconv.exe -y -srgbi -f BC7_UNORM assets/models/Default_albedo.jpg

texdiag.exe info assets/models/Default_albedo.dds
Microsoft (R) DirectX Texture Diagnostic Tool [DirectXTex] Version 2<IP_ADDRESS>
Copyright (C) Microsoft Corp.

assets/models/Default_albedo.dds
        width = 2048
       height = 2048
        depth = 1
    mipLevels = 12
    arraySize = 1
       format = BC7_UNORM
    dimension = 2D
   alpha mode = Unknown
       images = 12
   pixel size = 5461 (KB)

Viewing the resulting DDS texture in a texture viewer, or in-engine shows the texture to be too bright.
I've also tried R8G8B8A8_UNORM as format, but the result does not change.
If I use BC7_UNORM_SRGB or R8G8B8A8_UNORM_SRGB as target format the texture looks normal in the viewer and in-engine.
texconv Version 2<IP_ADDRESS>
Texture Viewer:

In-Engine:

Source Image:

Looks like there's a bug in the GPU compress handling here for this case.


chore: fix assertion to be more lenient

What /why
These assertions were set to check bbox length to be 9, but actually they only need to be size 8 (or larger is also fine).
This makes the recent auxilliary class addition backward compatible with old bbox size (support both length 8 and 9 bbox)

You should probably upgrade the version in this PR!


SVG task fail when creating new svg icon to sprite folder

When you have a gulp --dev running and you create a new icon inside a SVG sprite folder, the task will shut down with an error

But if you create the icon inside svg folder outside the sprite folder, it works normally, nothing breaks.
Does anyone have the same behavior?

@ronaldruzicka so you are trying to add new icon while devstack is performing initial build?

@kettanaito when gulp --dev is running and you create a new icon directly inside a sprite folder (gfx/sprite) you get that error. But I'm not sure how much we can do about it, it's probably mostly for the plugin developers. But you can just create icon inside gfx folder and then move it to ,gfx/sprite and it works.

I think we can close this issue, because it's not a bug on our side


Update datetime formats

Updated all the datetimes I could find to be a more readable format

Need to update all instances of date("g:i a",strtotime()) to date("g:i a",strtotime())

Fixed that datetime issue as well as an issue where the ticket times were pulled instead of reply time in tickets/show.blade.php


Correct IE9 support status

http://cl.ly/image/0Z461V1s371S
http://cl.ly/image/2b0m2T1F3y1X
etc...
I think it is misleading to list IE 9 under browser support.

Agreed. I'll remove from prefix list as well for autoprefixer.

@jlukic Thanks for merging.
Removing the IE9 prefixes might break for some users that are already using SUI in IE9 in some way so I would vote to save removing them for the next major version. (Though they could just build themselves with a change in the settings file)
For reference of anyone else who tries to get IE9 working here are the issues I encountered getting Semantic working in IE9:

IE9's 4096 rules / file size limit: Use BlessCSS to work around
Default 'easeOutExpo' transition default in some modules not available, set to 'linear' instead. I didn't spend too much time on this one -- not sure why it wasn't available.
DOM MutationObserver is used in several modules. I used the polyfill from Polymer
Dropdown (and perhaps other modules) break when using transition: 'none' or falling back to jQuery animations. This is a bug not specific to IE as of 1.8.3. IE9 has not CSS3 transition support, so Semantic will correctly use the fallback however the dropdown will not show because of the bug. I worked around with this CSS:

.ui.dropdown.active .menu:not(.transition)
  display: block !important
  visibility: visible !important

I haven't used some of the other popular modules such as popup, sidebar, etc. but dropdown, modal, search, and accordion work fine with the above steps.


Add test cases for red/api/editor/settings.js

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
To improve code coverage, I added test cases for red/api/editor/settings.js.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage increased (+0.2%) to 76.481% when pulling 67c268e13dda22db9201f764a48fb4236b87a5ce on kazuhitoyokoi:master-addtestcases4settings.js into ce85c8d986f69c8fc2e5d8bbebbcbd8c9800ca6d on node-red:master.

Thanks - please try to target the dev brand from now on, unless it is a bug fix for the 0.19 stream of code.

@knolleary Okay, I'll use 'dev' branch from the next pull request.


Heavy use of NFD FIB

While running the unit tests, I do nfd-status. It can be see that ndn-python-repo is using "register prefix" to track individual files.
/putfile_client/check/%14%F8P%C1/notify nexthops={face=323 (cost=0), face=324 (cost=0)}
/delete_client/check/%DD%FE%A4%A5/notify nexthops={face=323 (cost=0), face=324 (cost=0)}

In our application where we insert dozens of files at the same time we see many such file-specific entries in NFD's FIB. Having many FIB entries slows down NFD and is not the intention of a "route" in a forwarder. Normally, the application just does "register prefix" to register one route with NFD such as /putfile_client/check. Then it internally does "set interest filter" to handle the more specific interest names.
Do you agree that it is not right to use the forwarder's FIB to track individual files like /putfile_client/check/%14%F8P%C1/notify ?

These prefixes are registered on the client side (putfile.py and delete.py) to receive the status of a particular insertion/deletion process. Once the insertion/deletion finishes, these prefixes will be unregistered:
https://github.com/UCLA-IRL/ndn-python-repo/blob/fc831b9d60fc5feeae438895f9d5ed8d2a80a27f/ndn_python_repo/clients/command_checker.py#L90
Or if the client process quits, NFD will automatically unregister these prefixes.
So these prefix registrations are only temporary, and will eventually go away.

Hi Zhaoning,
I just looked at the piece of code you quoted. In the _unsubscribe_inactive_processes, the PubSub unsubscribe method is invoked. In this method, the topic is just removed from an internal data structure, but the prefix is not unregistered. I am not so familiar with the Repo so maybe I don't see all the details. But I would have assumed that the app's unregister method needs to be called for cleanup, is that right?

Hi Zhaoning,
I just looked at the piece of code you quoted. In the _unsubscribe_inactive_processes, the PubSub unsubscribe method is invoked. In this method, the topic is just removed from an internal data structure, but the prefix is not unregistered. I am not so familiar with the Repo so maybe I don't see all the details. But I would have assumed that the app's unregister method needs to be called for cleanup, is that right?

Hi Zhaoning,
I just looked at the piece of code you quoted. In the _unsubscribe_inactive_processes, the PubSub unsubscribe method is invoked. In this method, the topic is just removed from an internal data structure, but the prefix is not unregistered. I am not so familiar with the Repo so maybe I don't see all the details. But I would have assumed that the app's unregister method needs to be called for cleanup, is that right?

Hi Philipp,
I think you are right that I forgot to call unregister(). Thanks for catching this.

Hi Zhaoning,
I just looked at the piece of code you quoted. In the _unsubscribe_inactive_processes, the PubSub unsubscribe method is invoked. In this method, the topic is just removed from an internal data structure, but the prefix is not unregistered. I am not so familiar with the Repo so maybe I don't see all the details. But I would have assumed that the app's unregister method needs to be called for cleanup, is that right?

Hi Philipp,
I think you are right that I forgot to call unregister(). Thanks for catching this.

I confirm that this issue is fixes. You can close if you want. Thanks a lot!

I confirm that this issue is fixes. You can close if you want. Thanks a lot!


Are ECDSA/ECC certificates supported on hlkx file signatures?

Background, more than two years ago SSL.com (which is one of the supported EV code certificate providers) switched to ECDSA/ECC certificates instead of RSA.
Based on code examples I managed to create tool which is able to sign hlkx files with certificate they provided in Yubikey FIPS.
With that my submission (Submission ID:<PHONE_NUMBER>697077071 ) did pass "Package Acceptance" step but failed on "Preparation" step

and only thing which exists error log is message Signature validation failed while opening the pacakge
Question is that should this be supported?
Also it looks to be that my submission is now stuck in way that I cannot update it but it also didn't went to manual review which looks like bug on portal.
PS. Example documentation page about this topic is https://learn.microsoft.com/en-us/windows-hardware/test/hlk/user/hlk-signing-with-an-hsm#packagedigitalsignaturemanager but it looks to be missing submit feedback button.

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

ID: 855a80c4-930e-4609-f05d-c516e9057135
Version Independent ID: 855a80c4-930e-4609-f05d-c516e9057135
Content: Update a hardware submission - Windows drivers
Content Source: windows-driver-docs-pr/dashboard/hardware-submission-update.md
Product: windows-hardware
Technology: dashboard
GitHub Login: @anaharris-ms
Microsoft Alias: anaharris

Hi @olljanat,
So sorry you are having trouble. As this is not a doc issue, you need to contact customer support here: Technical support issues.

@anaharris-ms it is doc issue on that sense that there is no any mentioning that which certificate types are/aren't supported. Page https://learn.microsoft.com/en-us/windows-hardware/drivers/dashboard/code-signing-reqs#where-to-get-code-signing-certificates clearly says that SSL.com certificates are supported and their page and their page https://www.ssl.com/certificates/ev-code-signing/buy/ says that those can be used signing kernel drivers.
I also created ticket for them and got answer:

hlkx file can only be signed and submitted with an RSA issued EV Code Signing Certificate. I believe you signed your using Yubikey. Yubikeys only supports ECDSA/ECC algorithms. RSA Certificates can only be issued through an HSM or eSigner.

and if that really is hard requirement it should be written to documentation.
SSL.com EV code signing certificate was cheapest option when ordered with Yubikey but their competitors have better price on HSM/Cloud Signing products.
Sure I can contact technical support too but still this should be publicly documented.


Update CollectionView on data changes

Currently, the List widget does not detect changes to the items array. Even worse, when only a single element is removed from the array and the array is set again, all ListItems will be destroyed and re-created.
We should implement a mechanism to update only the affected item widgets, i.e. remove rows for deleted data items, create rows for new data items, and update rows for changed items.
One option is to add support for Backbone collections, another option could be implementing a change detection mechanism such as the one used in d3.js.

https://github.com/eclipsesource/tabris-js/issues/271

We didn't want to introduce a dependency to Backbone nor to provide a List type of our own at this point.
In order to support dynamic updates, we've implemented a low-level API to modify a CollectionView's items using the methods insert and remove (commit 27fa3bf15d5bc7be9cd8af628c35ad7911637b97).

Since we have insert/remove implemented and a separate bug for data binding (https://github.com/eclipsesource/tabris-js/issues/671), we can close this issue.


1.2.0 => 1.3.X ISessionStateFeature is not available

After upgrading to 1.3.0 all my tests based on WebApplicationFactory fail with the following error ISessionStateFeature is not available
I can see recently an issue WRT to this #455, and PR #463. However I am not using SessionState

To clarify I get the same error with 1.3.0 and 1.3.2

Can you share a repro of how you are setting things up? The service registration/middleware setup is probably sufficient

Closing due to no updates. Feel free to reopen if you're still hitting it with the requested information


Access logs don't follow documented format

Hi there -- according to documentation, the default Traefik access log format should be:
<remote_IP_address> - <client_user_name_if_available> [<timestamp>] "<request_method> <request_path> <request_protocol>" <origin_server_HTTP_status> <origin_server_content_size> "<request_referrer>" "<request_user_agent>" <number_of_requests_received_since_Traefik_started> "<Traefik_frontend_name>" "<Traefik_backend_URL>" <request_duration_in_ms>ms

When I run:
$ docker run -traefik:v2.1.6 --ping --accesslog=true

And then separately trigger the /ping endpoint:
$ docker exec 012f6d76d399 wget localhost:8080/ping

I expect to see the backend and front URL fields rendered with quotes every time.
What did you expect to see?
<IP_ADDRESS> - - [13/Mar/2020:18:49:07 +0000] "GET /ping HTTP/1.1" 200 2 "-" "-" 1 "ping@internal" "-" 0ms

What did you see instead?
<IP_ADDRESS> - - [13/Mar/2020:18:49:07 +0000] "GET /ping HTTP/1.1" 200 2 "-" "-" 1 "ping@internal" - 0ms

Note the "-" vs. - in the last field before the request_duration_in_ms field.

No additional configuration was performed.

Closed by #6484.


SignatureDoesNotMatch

Hi Danial,
First, great job. Thanks for your hard work. However, I'm getting this error when trying to upload a file on S3:
POST http://mybucket.s3.amazonaws.com/ 403 (Forbidden)
The Response tab in Chrome Dev tool shows this:
The request signature we calculated does not match the signature you provided. Check your key and signing method.
The Headers tab in Chrome Dev tool shows this:
General
Remote Address:<IP_ADDRESS>:80
Request URL:http://mybucket.s3.amazonaws.com/
Request Method:POST
Status Code:403 Forbidden
Response Headers
HTTP/1.1 403 Forbidden
Access-Control-Allow-Origin: http://localhost:9000
Access-Control-Allow-Methods: POST, GET, HEAD
Access-Control-Max-Age: 3000
Access-Control-Allow-Credentials: true
Vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method
x-amz-request-id: DFB731E92DB5820B
x-amz-id-2: tZrw6xer350J+WnNki/qmHVBQai15k1rgVMbwkuSDcR/xxP6AflQjj4JL4XZWvMl
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 08 Jul 2015 17:38:11 GMT
Connection: close
Server: AmazonS3
Request Headers
POST / HTTP/1.1
Host: mybucket.s3.amazonaws.com
Connection: keep-alive
Content-Length: 4006
Pragma: no-cache
Cache-Control: no-cache
Accept: application/json, text/plain, /
Origin: http://localhost:9000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryOVBxRm16QJhOxPsR
Referer: http://localhost:9000/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8,ca;q=0.6,es;q=0.4,fr;q=0.2
Request Payload
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="key"
accelerator.md
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="AWSAccessKeyId"
[MYACCESSKEYGOESHERE]
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="acl"
private
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="policy"
[MYPOLICYGOESHERE]
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="signature"
[MYSIGNATUREGOESHERE]
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="Content-Type"
application/octet-stream
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="filename"
accelerator.md
------WebKitFormBoundaryOVBxRm16QJhOxPsR
Content-Disposition: form-data; name="file"; filename="accelerator.md"
Content-Type: application/octet-stream
------WebKitFormBoundaryOVBxRm16QJhOxPsR--
Here's the function I'm using to upload the files:
Upload.upload({
	url: 'http://mybucket.s3.amazonaws.com',
	method: 'POST',
	fields: {
		key: file.name, // the key to store the file on S3, could be file name or customized
		AWSAccessKeyId: 'myaccesskeyid',
		acl: 'private', // sets the access to the uploaded file in the bucket: private or public
		policy: $scope.policy, // base64-encoded json policy (see article below)
		signature: $scope.signature, // base64-encoded signature based on policy string (see article below)
		"Content-Type": file.type != '' ? file.type : 'application/octet-stream', // content type of the file (NotEmpty)
		filename: file.name // this is needed for Flash polyfill IE8-9
	},
	file: file
}).progress(function (evt) {
	var progressPercentage = parseInt(100.0 * evt.loaded / evt.total);
	console.log('progress: ' + progressPercentage + '% ' + evt.config.file.name);
}).success(function (data, status, headers, config) {
	console.log('file ' + config.file.name + 'uploaded. Response: ' + data);
}).error(function (data, status, headers, config) {
	console.log('error status: ' + status);
});

I used the generator you have in your demo page, with my Access Key ID, Secret Access Key, and have $scope.policy and $scope.signature set with the values. Chrome dev tools shows me the same values so in theory the signature is the same. I'm not sure what I'm missing here.
Any help with this?
Thank you!

Found the error. Somehow I used wrong keys to generate the signature. Thanks again for your work!

We are seeing the same error, but we are definitely using the correct keys

Us too -- @cjthomp did you ever get this figured out?


Optimize dockerfile

Copy package.json and yarn.lock on the same step
Delete apt database after installing dependencies

Delete apt database after installing dependencies

why is it needed?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3187

Relevant Lines:
8484

💛  - Coveralls

Delete apt database after installing dependencies

why is it needed?

Just making image smaller


eeRead should return dict

I think that this was intended to return the typed dict

I will add this to the FT_EE_Read branch.


Update to Azure Asp.Net Core Logging Extension/Integration Breaks Net Core Blob Logging

Describe the bug
We have a .Net Core app running on Azure App services and it's configured to log to the Azure Blob.
It's running .Net Core 2.2 and previously the logs were written to the Blob storage correctly. At some point the site extension got updated and now the logs aren't working - only the "applicationLog.csv" file is created in the Blob, not the .txt file that actually contains the application logs.
The app service for which logging has stopped working is using ASP.NET Core Logging Integration version "3.1.0-preview1-19508-20".
Some of our other app services (also running on .Net Core 2.2, and some on 2.1) are using these site extensions:
ASP.NET Core Logging Extensions version "2.2.0"
ASP.NET Core Extensions version "2.1.0-preview2-final"
Is it possible the 3.x versions of the extension are not compatible with 2.x app services?

@anurse  thoughts?

Something does seem to be messed up with the site extension. It seems to be missing 3.0 content as well. cc @davidfowl

Yeah both the 3.0 and 3.1 are missing content. They only have ones for 2.1 and 2.2.
@DanielStout5 I don't see why a 2.x application would stop logging though; the only thing that seems weird is that you are targeting 2.1-preview2

Going to dupe this over to https://github.com/aspnet/AspNetCore/issues/15381 . It's a very similar issue. We need to crack open the site extension and figure out what's going on.


[S3 API] S3 integration test

Added facilities for S3 integration test
Added test case for multipart upload
Minor refactoring

Codecov Report
Attention: Patch coverage is 47.82609% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 31.57%. Comparing base (51174b2) to head (3eb8745).

Files
Patch %
Lines

...va/com/github/ambry/frontend/s3/S3ListHandler.java
0.00%
7 Missing :warning:

...ambry/frontend/s3/S3MultipartListPartsHandler.java
0.00%
3 Missing :warning:

.../frontend/s3/S3MultipartCompleteUploadHandler.java
80.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2757       +/-   ##
=============================================
+ Coverage          0   31.57%   +31.57%
- Complexity        0     5281     +5281
=============================================
  Files             0      837      +837
  Lines             0    71246    +71246
  Branches          0     8552     +8552
=============================================
+ Hits              0    22496    +22496
- Misses            0    47002    +47002
- Partials          0     1748     +1748

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Audible Plugin Not loading

My audible plugin is not loading.  Im running on a raspberry pi (Arm64).   I tried a verbose import and it seems my plugin path is empty.  I tried changing the location of my scripts based on a post I read in this discussion board, but that didnt seem to solve the issue.
root@5474aacfeb61:/# beet --version
beets version 1.6.0
Python version 3.10.11
plugins: chroma, convert, embedart, fetchart, lastgenre, replaygain, scrub, web
root@5474aacfeb61:/# beet -v import /untagged
user configuration: /config/config.yaml
data directory: /config
plugin paths:
Sending event: pluginload
library database: /config/musiclibrary.blb
library directory: /music
Sending event: library_opened
Sending event: import_begin
state file could not be read: [Errno 2] No such file or directory: '/config/state.pickle'
state file could not be read: [Errno 2] No such file or directory: '/config/state.pickle'
Sending event: import_task_created
Sending event: import_task_start
Looking up: /untagged/AnimalFarm
Tagging  -
No album ID found.
Search terms:  -
Album might be VA: True
chroma: acoustid album candidates: 0
Evaluating 0 candidates.
/untagged/AnimalFarm (1 items)
Sending event: import_task_before_choice
Sending event: before_choose_candidate
No matching release found for 1 tracks.
For help, see: https://beets.readthedocs.org/en/latest/faq.html#nomatch
[S]kip, Use as-is, as Tracks, Group albums, Enter search, enter Id, aBort? S
Sending event: import_task_choice
state file could not be read: [Errno 2] No such file or directory: '/config/state.pickle'
Sending event: import
Sending event: cli_exit
root@5474aacfeb61:/#
docker compose
version: "3"
services:
beets:
image: lscr.io/linuxserver/beets:latest
container_name: beets
environment:
# Update as needed
- PUID=1000
- PGID=1001
- TZ=America/US
volumes:
- ./config:/config
- ./plugins:/plugins
- ./scripts:/custom-cont-init.d
- /media/pi/CribShare/Books/AudioBooks:/audiobooks
- /media/pi/CribShare/Books/AudioBookUpload/untagged:/untagged
restart: unless-stopped

@Doug411 You'll need to add the plugin to the list of plugins to load from your config file. Right now you're only loading:

plugins: chroma, convert, embedart, fetchart, lastgenre, replaygain, scrub, web

It should load once you add audible to the list of plugins in /config/config.yaml.

Thanks for the response
This is my config.yaml.  Audible it there, but not loading.   I pulled the config.yaml  directly from the WIKI and just updated the Plex section (not showing my token).   MuicBrainz is doing the lookup even though I have it set to disabled, and audible isnt loading.
add audible to the list of plugins
copyartifacts is optional but recommended if you're manually specifying metadata via metadata.yml, see the "Importing non-audible content" section
plugins: audible copyartifacts edit fromfilename scrub
directory: /audiobooks
Place books in their own folders to be compatible with Booksonic and Audiobookshelf servers
paths:
  # For books that belong to a series
  "albumtype:audiobook series_name::.+ series_position::.+": $albumartist/%ifdef{series_name}/%ifdef{series_position} - $album%aunique{}/$track - $title
  "albumtype:audiobook series_name::.+": $albumartist/%ifdef{series_name}/$album%aunique{}/$track - $title
  # Stand-alone books
  "albumtype:audiobook": $albumartist/$album%aunique{}/$track - $title
  default: $albumartist/$album%aunique{}/$track - $title
  singleton: Non-Album/$artist - $title
  comp: Compilations/$album%aunique{}/$track - $title
  albumtype_soundtrack: Soundtracks/$album/$track $title
disables musicbrainz lookup, as it doesn't help for audiobooks
musicbrainz:
  enabled: no
audible:
  # if the number of files in the book is the same as the number of chapters from Audible,
  # attempt to match each file to an audible chapter
  match_chapters: true
  source_weight: 0.0 # disable the source_weight penalty
  fetch_art: true # whether to retrieve cover art
  include_narrator_in_artists: true # include author and narrator in artist tag. Or just author
  keep_series_reference_in_title: true # set to false to remove ", Book X" from end of titles
  keep_series_reference_in_subtitle: true # set to false to remove subtitle if it contains the series name and the word book ex. "Book 1 in Great Series", "Great Series, Book 1"
write_description_file: true # output desc.txt
  write_reader_file: true # output reader.txt
copyartifacts:
  extensions: .yml # so that metadata.yml is copied, see below
scrub:
  auto: yes # optional, enabling this is personal preference
plex:
  host: <IP_ADDRESS>
  port: 33300
token: X # Your plex token

Something else to try is to look at the contents of the .yml file in the docker container to rule out the possibility that the config isn't being mapped correctly into the container.

This is the exact same problem I'm having..

Another thing to do to help diagnose where the breakdown is would be to run pip3 list and ensure that beets-audible is listed as an installed python package. If it's not listed then the installation isn't set up correctly.

I have this same issue. It appears that the docker image doesn't auto-install the audible plugin, but the beets plugin page doesnt have any details on HOW to install. A manual pip install should work, but whats the proper name?

@Doug411 Every re-creation of the container clears the manually installed plugings as well. It does not appear to be storing them in the /plugins directory mapped as a volume. So what is the correct way to install the plugins when using a docker container?

@Doug411 I believe I have this issue figured out. If I'm correct, you are using seanap's branch off of this instead of the original? I was. There are two issues related to seanap's config which need to be addressed. I will create an issue over there as well.
First:
The mapping of the scripts directory is incorrect in Seanap's compose.
It should be: ./scripts:/custom-cont-init.d
not: ./scripts:/config/custom-cont-init.d
Second:
Seanap's guide doesn't include a very important step from this github.

If you fix the mapping of the scripts directory, then add in your plugins properly like this says. Everything works!
@gtronset you can probably mark this resolved now if they confirm.
@Doug411 and @SpencerMKSmith  give this a try.

Closing this to clean up old issues. This also seems to be caused by using the fork.


Use check_call in tests to ensure command succeeds

Hi Scott and thanks for the suggestion, this is now merged!


fix(sdk): sweep crashes when wandb folder is symlink

Description
Creating a sweep (using wand sweep my_sweep.yaml) crashes when my wandb folder is a symlink. (I do this because lots of runs can take considerable space so I save them on a different drive). The problem is caused by the mkdir_exists_ok folder, which raises a FileExistsError for symlinks (as symlinks are just files). I added a check for symlinks which resolved the issue.

@moredatarequired could you please take a look?

@jjcmoon , can you give me some more information about your setup, or provide a unit test that fails without your patch? I'm unable to reproduce the issue. os.mkdirs should resolve symlinks as necessary before creating directories, and at least on my machine it does.
Here's the unit test I wrote to try to replicate the issue:
def test_mkdir_exist_ok_allows_symlinks(tmp_path):
    dir_base = tmp_path / "valid" / "directory"
    dir_base.mkdir(parents=True)
    symlink_name = tmp_path / "symlink"
    symlink_name.symlink_to(dir_base.parent)
    mkdir_exists_ok(symlink_name)  # Directory exists as a symlink, doesn't raise FileExistsError.
    new_link_dir = symlink_name / "directory" / "new_dir"
    mkdir_exists_ok(new_link_dir). # Directory doesn't exist but symlink needs resolution, also doesn't raise FileExistsError.
    assert new_link_dir.is_dir()
    assert new_link_dir.resolve() == dir_base.resolve() / "new_dir"

I was expecting based on your PR that at least one of the mkdir_exists_ok calls would fail, but neither seem to.


selectrum-completion-in-region does not respect a remote (TRAMP) environment

Here is how I reproduce this.
When there is no selectrum-completion-in-region (prior to 8857a8fbf05aaaf231eff9c681427166c286bf35):

Find a remote file.  For example, C-x C-f /ssh:vm00:/home/fan/works/hybmem/scripts/.
Execute a shell command: M-! ls ~/, then press <TAB>.
Home files on this remote machine are shown.  This is expected.

However when I use master:

Find a remote file.  For example, C-x C-f /ssh:vm00:/home/fan/works/hybmem/scripts/.
Execute a shell command: M-! ls ~/, then press <TAB>.
Home files on my local machine are shown.

Originally posted by @Raphus-cucullatus in https://github.com/raxod502/selectrum/issues/100#issuecomment-636470100

Thanks for the report.


Fix #78710 - Another duplicate stat call on workspace roots

Prevent a double stat call on workspace roots if Explorer is refreshed and has autoReveal enabled. See #78710. For review by @isidorn

@gjsjohnmurray thanks for your PR.
However I do not think this approach is good. So what you changed here is that we resolve to the resource only when refresh is called. This is not correct in general, since the file in the explorer can be selected for many other reasons, and at that time the resource is not resolved.
You can check out the callers of explorerService.select.
I think this fixes your issue out of luck.
I think we need a different approach. We need to figure out why the stat is called two times on refresh and try to prevent one of them.
Putting a breakopint in the select method might be a good start.
Thanks a let me know what you think

@isidorn thanks for your prompt review.
In my original investigation I already used breakpoints in explorerService.ts and found what caused the duplicate stat calls on root dir(s) when refresh() is called.
One was caused by the event fired unconditionally from here:
https://github.com/microsoft/vscode/blob/9c2cc80fcdab2c949294771daa05f61652ca009e/src/vs/workbench/contrib/files/common/explorerService.ts#L188
The other (conditional upon autoReveal being true and there being an active editor) arose from the select call here:
https://github.com/microsoft/vscode/blob/9c2cc80fcdab2c949294771daa05f61652ca009e/src/vs/workbench/contrib/files/common/explorerService.ts#L194
So my main change was to move the event-firing into an else-block. This eliminated the doubled stat.
However, when testing my change using fsprovider-sample and with autoReveal=true and the active editor being a file in a subfolder of the root, I noticed that the refresh didn't make a stat call for the subfolder. For example, given this situation:

a refresh called stat() for the following:

memfs:/
memfs:/xyz
memfs:/xyz/def

but there was no stat() for memfs:/folder
I solved that by adding the optional third parameter to the select method and having the select() call from refresh() set this parameter. That causes select's fileService.resolve() call to no longer set [resource] as its resolveTo option. Doing this fixed the missing stat() call.

Thanks for your PR, however after reviewing your change more and looking into it myself I decided to leave the current not optimal behavior.
Reason being there are too many corner cases, and this code is rather tedious. So changing anything will most likely end in more bugs.
Since the proposed imporvement is not ideal I would prefer to keep this PR open and maybe merge it in the future.
Hope that makes sense

@isidorn OK. I certainly don't want to create more bugs. But I hope the issue eventually gets resolved.

Closing as will not merge due to the explanation above. Hope that makes sense, and thank you again for your contributions


Add maptiles generation code and Dockerfile.

This PR imports the maptiles generation code from m-lab/piecewise and adds a Dockerfile to build a container which includes all the dependencies to generate the maptiles.

I've created a new PR without the extra json files, which are now downloaded from a GCS bucket. Closing.

I've created a new PR without the extra json files, which are now downloaded from a GCS bucket. Closing.


PNG / JPEG Compressor: Optimize images from a folder

What's the Problem?
Hi, sorry if I make some mistakes in my English.
DevToys are cool, easy and amazing.
The main request is simple as: Drop/Select a folder, push a button... and all images in a folder are optimized.
I know that it's easier to say than to implement...
So, I think that it's better divide it in 3 chained subfeatures:

Drop/Select a Folder.
Ask if scan subfolders too.
Overwrite original files

Optionally save a backup... (and where).

So, I know that technically they are 3 different features but I think they are close related and I don't know how to isolate them in the whole context of dropping a folder (more on Solution/Idea).
Drop/Select Folders
It could be nice if a folder can be dropped on window or selected, and then all .png/.jpg found in that folder will be added to the list.  (Well, the term "added to the list" it's not what I really mean, I'll explain it in Solution/Idea section too). Selecting multiple folder at a time can be a plus, but it adds ambiguity when asking if iterate subfolders or how to make backups...
Ask for subfolders
Well, it's a easy one. Iterate over whole folder tree optimizing images, there can be some cases that we don't want to do it, so it better ask for it.
Overwrite original files (and optionally save a backup)
Well, we have a little problem here.
In the current tool workflow: Save All button asks for a folder, then optimized images are saved without any folder estructure in the selected folder. It can be usefull for individual images from the same folder; and it saves a overwrite checkbox (if want to overwrite, you select original folder; if want to keep original images, you select another folder).
But, it messes the things up if files added to the list are from different folders (but I'm not reporting it as a bug, as I see that it's inherent to the current tool workflow with indidual files and fixing it's nearly impossible without changing the workflow itself); but it's important when working with folders.
So, initially it seems that It would be "If a folder is selected/dropped keep folder structure when saving" that "Overwrite original files"; but if we want to keep original files along with compressed ones it will be tedious renaming/moving files from multiple subfolders before moving compressed files to the original ones ubication.  As said before, If "selecting/dropping multiple folders at a time" is implemented can be a mess too. So i think it better, "change and make a backup" than "create new and replace"
Solution/Idea
As I said, it's  easier to say that to implement...
The best way I think to handle it with a different workflow than individual files. "Adding" the files to the list waiting to be saved make the implementation much more complex (for example, if they are mixed individual files with folder ones) and it can be not clear how to handle it.
First of all, in my idea I need the next visual controls (or options), and i think they are useful for individual files too:

"Overwrite original files" CheckBox

"Make backup" preferred tri-state visual control (RadioGroup, ComboBox, etc.) with "No", "Same Folder", "Ask Folder".  This control one only enabled if previous CheckBox is enabled too.

Let's go to see how I'think it would work:

A folder is selected/dropped.

Don't follow current individual files workflow, make another one with a If/Switch/Case whatever.

Ask if iterate with subfolders
If (Overwrite is unchecked) or ((Overwrite is checked) and (Make backup is "Ask Folder")) then ask for an OutputBaseFolder

else OutputBaseFolder := InputFolder

For every .png/.jpg found (going inside subfolders or not)

DON'T add it to the list. DON'T touch the list at all.

Optimize it.
Backup and Save.

If (Overwrite is checked) then

If  (Make backup is "Same Folder") then copy (moving/renaming is faster) original in its folder with other name (maybe Filename_backup.png).
If  (Make backup is "Ask Folder") then copy (moving/renaming can be faster if it's the same disc) original in OutputBaseFolder with it's subfolder structure and it's original filename.
Save compressed file in it original location.

Else (Overwrite is not checked)

Save compressed file in OutputBaseFolder with it's subfolder structure and it's original filename.

Finished, maybe show some statistics and fireworks.

Alternatives
The main alternative I see it's a PowerShell script that iterates over the folder (and subfolders), optimize them, save in original location...; but I believe that the feature it's usefull and fantastic enough to be implemented inside the tool than make an Out-The-Box script.
As i said in Solution/Idea section, Adding the files to the list make it too much complex and it's ambiguous how to handle them when saved. So I opted for a straight forward strategy with my idea.
To be honest, the current workflow of the tool for indidual files makes difficult expand it's usefulness to folder trees.
Priorities

Capability
Priority

Drop/select a folder, push a button... and all images in a folder are optimized
Must

Drop/select multiple folders at a time
Could

Option to load images from subfolders
Should

Overwrite original files
Must

Option to make backups (and where)
Could

DevToys Version
Versión <IP_ADDRESS> | X64 | RELEASE | 3f367f1 | 3f367f1
Comments
There are many things can be more flexible or optional, but in my opinion they only will add unnecessarily complexity:

Selecting more than one folder at same time make a little conflict with iterating subfolders: Must we ask per folder added or only one time? I prefer last.
Customize how to make the backup if it's chosen to make it in same image folder (changing extension, make a subdir, etc.) with a RegEx in a TEdit.
Filter: Only .png / Only .jpg / Both.
Keep FileTime CheckBox.
Don't rewrite file if no change is made.
What to do if a file is erroneous?
Make Ask Folders a CheckBox instead a dialog?

As final note: In mi honest opinion, individual files should go nearly the same straightforward workflow as folders.

Hello,
Thanks for your suggestion. We just made a change that allows users to select a folder to import in PNG / JPEG Compressor and some other tools. See #308
I will mark the current one as resolved then :)


DEVPROD-4197: Add host uptime scheduler

DEVPROD-4197
Description

For non-production environments, allow users to configure an uptime schedule when spawning a host

This PR is not feature complete for the product, but I wanted to put something up for @Kimchelly to use in staging/beta before I leave for vacation.
I'll implement this on the edit modal in a new PR.

Reorganize spawn host modal slightly according to Will's designs
Add validation preventing users from saving if they don't have at least 24 hours of sleep time/week. A warning is showed if they have less than 48 hours of sleep time (but they can still save). The messaging text is dependent on whether the user is running for continuous days or sleeping at night.

Screenshots

On production, the interface for selecting an unexpirable host will change slightly from the current checkbox, but it still looks good without the host scheduling section:

Testing

Update transformer unit tests
I didn't have time to add e2e tests 😢 I will add those in a followup PR, but I think this is low-risk for the time being since it won't be deployed to users.
Will also add validation unit tests separately!

Ah one more thing I would fix is that I can't spawn an unexpirable host against production; I can spawn an expirable host though!


Broken link

When trying to update, the update fails. The download link is broken also
https://github.com/qooob/authentic-theme/releases/download/18.49-5/authentic-theme-18.49-5.wbt.gz
System hostname	SBTWebCentOS7.localdomain (<IP_ADDRESS>)
Operating system	CentOS Linux 7.3.1611
Webmin version	1.840
Virtualmin version	5.07
Theme version	Authentic Theme 18.48. Latest available release 18.49-5
Time on system	Tuesday, May 23, 2017 1:06 PM
Kernel and CPU	Linux 3.10.0-514.16.1.el7.x86_64 on x86_64
Processor information	Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz, 4 cores
System uptime	5 days, 5 hours, 47 minutes
Running processes	178
CPU load averages	0.00 (1 min) 0.01 (5 mins) 0.05 (15 mins)
Real memory	7.61 GB total / 1.22 GB used
Virtual memory	3.91 GB total / 0 bytes used
Local disk space	45.97 GB total / 30.52 GB free / 15.45 GB used
Package updates	All installed packages are up to date

I second that.

Dupe: https://github.com/qooob/authentic-theme/issues/787


Add :csp_nonce_assign_key to ash_admin options (fix for /issues/91)

Contributor checklist

[x] Bug fixes include regression tests
[x] Features include unit/acceptance tests

🚀 Thank you for your contribution! 🚀


Contact details for VR collaboration

I see in your readme that you are currently not working on VR. Would you be interested in a VR development position? I cannot find your contact details. Could you contact me so we can continue this conversation?
Best regards,
Juan

Hi Juan, I'm not on the market right now, but I'll let you know if I've any extra time in the future for some collaborating!
Cheers,
Ian


shims/mac/super: add gnumake symlink

[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?

Some builds look for a gnumake and execute that instead. This avoids
our shims since macOS provides a /usr/bin/gnumake.

Review period will end on 2022-01-25 at 00:00:00 UTC.

Review period skipped due to critical label.


Fails with Mojo::SQLite 3.003

Statistics about the relation between Mojo::SQLite version number and testing success: http://analysis.cpantesters.org/reports_by_field?distv=Slovo-2019.09.19;field=mod%3AMojo%3A%3ASQLite;order=2na
Sample fail report: http://www.cpantesters.org/cpan/report/107981068

It seem that this happens as of DBD::SQLite 1.63_05 2019-07-12. Thanks. Fixing it.


Create first release: 1.0.0

Release notes should be:

release version: 1.0.0
First formal release of the controlled vocabularies and product definitions for the NCAS Data Project.
Release date: YYYY-MM-DD
All files generated from Google spreadsheets used to manage the development of the vocabularies.
Directories and files are structured as follows:

AMF_CVs/<vocabulary>.json - JSON version of each vocubulary - for use with pyessv library.
product-definitions/spreadsheet/<spreadsheet_name>.xlsx - directly converted from google spreadsheets used to develop the product definitions.
product-definitions/tsv/<spreadsheet_name>/*.tsv - each worksheet with the product definition google spreadsheets is converted to a tab-delimited variables file.

Done


detecting and recognizing multiple persons in the same frame

Expected behavior.
[detecting and then recognizing all the faces appearing in the video frame.]
Actual behavior.
[only detect and recognize a single face among all the faces present in front on the camera]
OS and hardware information.

Operating system: [Ubuntu 16.04]

getAllFaceBoundingBoxes will get all of them that dlib detects. You can try using another library for face detection if that's not working well.

i tried to use the getallFaceboundingboxes instead of the get the largest face function but nothing changes when i run the demo when i change something in the aligndlib file what should i do to apply the changes (excuse me i'm a newbie in python)

just add " --multi " in front of Infer in the code to make it work.


question about type

What is the purpose of the WebSocketMessageType enum, considering that all your send methods require byte data rather than a string type? If I'm forced to convert to UTF8 bytes, that's as good as binary in my mind. When would you use the enum? When would you use the "close" value of that enum?
I would assume that all packets on a given channel have the same Content-Type and Content-Encoding headers because HTTP would only send them with the initial connection. Is that right? What do you send for those values? I would like to be able to specify that my data is deflated UTF8 JSON.

After reading the WebSocket spec I think I understand. I didn't realize it goes all the way down to the message headers.


Squiggle Playground code/results divider should be resizable

Description:
In the Squiggle Playground, I think it would be beneficial for the user to be able to resize the code window (shrinking the results) so that when they have a lot of horizontal code, they can view it all

Alternatively (or in addition to this), we could wrap lines in the editor. (Related: #774).


Is it possible to run webserver, scheduler and flower in single container?

I am running airflow with Celery Executor by running the docker-compose-CeleryExecutor.yml file. Everything is working as intended. With one command I am able to run this image which I was not able to do with official image of apache/airflow. I am new with docker, I am a web developer.
I am running high with number of docker containers that I can deploy. So I've been given an unusual requirement If I can reduce the number of docker containers that are needed by airflow with Celery executor.
As webserver, scheduler and Flower are part of a same image, is it possible that I can deploy them in a single container?

The LocalExecutor example runs webserver and scheduler in a single container.
You can modify the entrypoint.sh file to start flower as well.

@wittfabian I understand that. But Celery executor is providing us multiple Celery workers on several machines which is a huge advantage for us. Now they are running over the limit of docker containers and asked me if it's somehow possible to run webserver, scheduler and flower in a single container.

You can add a case to https://github.com/puckel/docker-airflow/blob/master/script/entrypoint.sh#L110 that starts webserver, scheduler and flower in a single container.

Issue solved?

@wittfabian It's not resolved yet. I'm facing errors when trying to initialize them that way. It's likely because I'm doing it wrong. I'll try resolving this on this weekend. I'm taking some help from my DevOps team member. I've forwarded this possible solution to them. I'll update and close this issue very soon. Please don't close it for being inactive.

No, I only ask because I wanted to know if I can still help :)

Thanks for reaching out.  They told me it should work if I know how to. I'll definitely try again and let you know the progress. Puckel's image was very quick to set up than setting up official apache-airflow.

You can also use the official one. I'm just trying to match the official one to Puckel's image.


Add copy-to-clipboard function to Getting Started docs

Task
Go through the docs in the Get Started section of the CockroachDB docs and add the Copy-to-Clipboard function for executable code blocks.
Context:
Many of our code blocks are written so users can copy and paste them directly into a terminal. To make that easier, add a Copy to Clipboard feature by placing
{% include copy-clipboard.html %}
on the line directly preceding the code block, for example:
{% include copy-clipboard.html %}
~~~ shell
$ go get -u github.com/lib/pq
~~~

Important:

Use the Copy to Clipboard function only for code blocks with commands that can be executed, not for the code blocks that show the response of the execution.
If a code block contains more than one command, split it into multiple code blocks, one per command, and use the copy-to-clipboard function for each.

I'm taking this one for writing day. I probably won't be able to get through all the Getting Started docs, but I'm making a best effort. \

Done.


[WIP] Update RAI for latest SDK/CLI

Try to get rid of spurious MLFlow run, and update to latest SDK/CLI

Massively superseded


Notifications with buttons and long messages look broken

These notifications have long messages:
notificationService.notify({
	severity: Severity.Error,
	message: 'Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you\'re on macOS Sierra or later, you\'ll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information.',
	source: 'update service',
});

No buttons:

No buttons expanded:

Buttons:

I would expect the same behavior of collapse/expand independent of whether buttons are present or otherwise.

@joaomoreno cannot reproduce on macOS at least:

Are you on Linux?

Yes, this was on Linux.

This happens for notifications that are triggered early enough that the workbench is not done loading yet and did not receive a layout call yet.

Verification tip??

@roblourens Try running that snippet at the ctor of the active viewlet (eg Search), that's how it reprod: if messages were sent to the notification service before the workbench was ready.


make user id type to be infer from adapter

Problems
Currently, lucia only supports the string type userId, it makes difficult to apply that use existing integer userId or other types.
This was changed to enable user input through Generic. (Just play with TS)
Features

When using schema as a constructor (ex: drizzle), the corresponding type is automatically used as the type of userId.

Mongodb's id type should be always string (afaik)

In other cases, use it as the Generic argument of Adapter.

const adapter = new Mysql2Adapter<number>(...);

WIP

[ ] prisma

Please let me know if you have any discuss or problems with the direction of the work.

Thanks for the PR but can you open a new feature request first? The change could possibly be a breaking change


The app loads video a lot while seeking

The app starts loading video whenever I seek. I'm assuming the app doesn't import the full video right away. This just doesn't happen when seeking forward but backward too, even tho the player has already went past the previous parts of video and they should be played instantly. I think it doesn't keep the video in ram? I've already tried changing the decoder options.
Now admittedly I'm on a low-end device but at the same time this doesn't happen in MX, vlc and xplayer. I hope you can identity and fix it.

Idk if it's a known issue or not. But let me know if you need a screen recording or something.

Would adding an option to disable previews while seeking be a good enough solution for you?

Previews seem to work fine in other apps.
Also It's not just about seeking but skipping the video forward and backward too. Idk what's c1ausing it but probably a problem related to base mpv. I wish i could help further but i'm not a developer. See if you can find something otherwise you can close the issue.

Just to be sure, are you seeking from the seekbar or by using gestures?

When seeking video both the loading & seeking indicator apears at the same time.
I think when seeking only seeking indicator should appear & when it's loading there should be loading indicator.

Ah! Now that you mention it gestures doesn't seem to have this problem. There's minor loading but that's normal. I was using seekbar.

Yes, since the I've made it so seeing with the seekbar is precise, but gestures aren't.

Great. Thanks a lot


Style/AccessorGrouping false positive with multiple contexts

Consider the following code:
module Foo
  class Bar
    attr_accessor :baz
  end

  class << self
    attr_accessor :bop
  end
end

The attr_accessor accessors are in different contexts, but rubocop sees them as the same:
=> foo.rb:3:5: C: Style/AccessorGrouping: Group together all attr_accessor attributes.

Rubocop version: 1.5.2.
If this is a "good first issue to have a go at" I can try?

This false positive cannot be reproduced. Can you try it with the latest RuboCop (1.18.1) ?

This false positive cannot be reproduced. Can you try it with the latest RuboCop (1.18.1) ?

I do apologise, it was a delayed "cached" error in my IDE!

I do apologise, it was a delayed "cached" error in my IDE!


Escape hashes less

Input:
- Recalculate secondary dependencies between rounds (#378)

Current output:
- Recalculate secondary dependencies between rounds (\#378)

Come up with logic that allows us to escape the hash character # in fewer cases. Only escape if the character would start an ATX heading.

Note: Make a test case to ensure numeric character references (e.g. M) don't break.

Note: Make a test case to ensure numeric character references (e.g. M) don't break.

I think the following should do the trick:

Move escaping from text renderer to paragraph renderer.
Escape first # char of each line if it is only preceded by 0 or more whitespace.

I think the following should do the trick:

Move escaping from text renderer to paragraph renderer.
Escape first # char of each line if it is only preceded by 0 or more whitespace.


Improve performance

Description
For now, the performance is not good enough (it's possible improve), and current version (v4.0.0) of Bootstrap there are a XSS vulnerability.

Now on Chrome Audits

Now on WEbPageTest


Forward wasmer-sandbox feature to sp-sandbox

This fixes an issue where the wasmer-sandbox feature wasn't properly forwarded to sp-sandbox. The effect was that even though sc-executor was providing a wasmer sandbox (instead of a wasmi one), it wasn't used because sp-sandbox was using the embedded executor (as it should in production use cases to not rely on the sandboxing host functions). The reason why we need this forwarding is because sp-sandbox is part of the runtime and features supplied on the CLI are only applied when piped through the node-runtime crate.
You can see the effects from it in this PR where there is no difference in weight.  The bug was introduced by: https://github.com/paritytech/substrate/pull/9592.
I reran the end-to-end benchmarks on Linux with the following CLI:
cargo run --release --features runtime-benchmarks,[wasmer-sandbox] -- --extra --dev --execution=wasm --wasm-execution=compiled -p pallet_contracts -e ink_erc20_transfer

The results now clearly indicate that they were run with different execution engines. Unfortunately, it confirmed our suspicion that wasmer is even slower than wasmi on these example contracts. Weight benchmarks suggest that slowness of host function calling might be responsible.
ink_erc20_transfer, wasmi

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    g   mean µs  sigma µs       %
    0      5529     5.575    0.1%
    1      8053     6.898    0.0%

Quality and confidence:
param     error
g         1.267

Model:
Time ~=     5529
    + g     2523
              µs

ink_er20_transfer, wasmer

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    g   mean µs  sigma µs       %
    0      5744     152.7    2.6%
    1     12000     141.7    1.1%

Quality and confidence:
param     error
g         29.76

Model:
Time ~=     5744
    + g     6260
              µs

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

solang_erc20_transfer, wasmi

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    g   mean µs  sigma µs       %
    0      1909     8.551    0.4%
    1      2057     10.93    0.5%

Quality and confidence:
param     error
g         1.983

Model:
Time ~=     1909
    + g    147.5
              µs

solang_erc20_transfer, wasmer

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    g   mean µs  sigma µs       %
    0      3423     121.5    3.5%
    1      3678     61.12    1.6%

Quality and confidence:
param     error
g         19.43

Model:
Time ~=     3423
    + g    255.2
              µs

bot merge


Update silencer-lib, silencer-plugin to 1.7.0

Updates

com.github.ghik:silencer-lib
com.github.ghik:silencer-plugin

from 1.6.0 to 1.7.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.ghik" } ]

labels: library-update, semver-minor

This is moving to the sbt-http4s-org plugin in #3400. We don't really need this if we proceed with that.

Let's close it then?

I left it open so we don't forget to upgrade it if we end up abandoning the plugin, but we're not using the new feature anyway, so it's not a tragedy if we forget.  So, yeah, let's close.


YubiDeck USB protocol updated

Docs: https://zhousensor.notion.site/USB-c2905d560f25434a896b0bd12d1aa022
See downstream data protocol (下行数据结构(c语言)V3.0版本) for the changed struct.
Will hopefully have a translated version for you in the coming days.

Don't need to rush the translated version, I can mostly understand what's going on.
For inputs, is TouchValue[0] still top left sensor? For lights, is TouchArea[0] still on the left side?

Much appreciated. Neither ZhouSensor nor I can say for certain atm - I'd assume so, but testing is the best way to go.

It's done!

Thank you so much!
On November 17, 2022 12:43:51 PM EST, si yuan @.***> wrote:

It's done!
--
Reply to this email directly or view it on GitHub:
https://github.com/4yn/slidershim/issues/8#issuecomment-1318987759
You are receiving this because you authored the thread.
Message ID: @.***>


Use set of strings for tags instead of one string

Fixes #310

Coverage decreased (-0.03%) to 81.292% when pulling 8ca71d9c3c5e9c2896862c84cc6560efd5b2087d on tags into 0317c0b488fda119b2b41a583b7d43f75444706a on master.

Replaced by #324 PR


Extra Padding

I am trying to use jsonwebtoken with react-native. In debug version, everything is fine. However when I create a release bundle, I am getting extra padding which is failing the verification at the server side.
Here is the difference in debug version and release version signatures:
9qKUuvNSO_VU3B7g2H-lHrt18HRZV4TQN2ZLbdkpVbQ ( debug)
9qKUuvNSO_VU3B7g2H-lHrt18HRZV4TQN2ZLbdkpVbQVbQAAAAA (release)
Any ideas why this may be happening?

@clozr did you manage to figure out what happened?
Can you reproduce it with an example of payload and secret you could share here?

@clozr any chance your release process uses Browserify? I had a very similar issue, in Firefox, specifically. I expect it had to with the version of buffer Browserify was bundling for the browser. Sorry I cannot provide further details.

Closing. @clozr if you still have the issue or you solved it and you want to share what happened it be free to open or comment even if the issue is closed.


Add "How to use with ctrlp/asyncomplete.vim" is needed ?

Is there a demand for additions to the docs(vim help)?

CtrlP
asyncomplete.vim

mr.vim support plugins

CtrlP source
asyncomplete.vim source

Note:
Add configurable asyncomplete.vim source plugin: https://github.com/tsuyoshicho/asyncomplete-anylist


New Watch App project configuration from Xcode14 does not receive push notifications using Firebase Cloud Messaging

Description
Xcode14 also eliminates the WatchKit Extension and allows everything to be integrated into the WatchKit App, as shown in the following Apple document.
https://developer.apple.com/documentation/watchkit/wkapplication
This will also affect the processing of bundle identifiers, and there will be cases where the bundle identifier that can be retrieved programmatically will no longer have the watchkitextension.
Example: [[NSBundle mainBundle] bundleIdentifier]
Xcode13:com.sample.bundle.app.watchkitapp.watchkitextension
Xcode14:com.sample.bundle.app.watchkitapp
There is some functions in the Firebase Cloud Messaging framework that falls under this issue. It is FIRMessagingAppIdentifier and FIRMessagingBundleIDByRemovingLastPartFrom.
This functions handles removing the last element of the bundleID. (I understand the purpose is to remove ".watchkitextension").
As noted in the source code comments, this is done in the watchKitExtension, so the
This processing is performed to obtain the bundleId of watchKitApp.
However, starting with Xcode14, there will be cases where this process itself will no longer be necessary.
If you adopt the new WatchApp project structure from Xcode14, you will need to use
Messaging may not be able to send push notifications to the Apple Watch app.
We would appreciate your consideration to address this issue as soon as possible.
Reproducing the issue
Create a new Watch App project in Xcode14.
Develop a Watch App to use and receive Firebadse Cloud messaging.
Attempt to send messages through Firebase console or API, etc.
Firebase SDK Version
9.5.0
Xcode Version
14.0
Installation Method
Swift Package Manager
Firebase Product(s)
Messaging
Targeted Platforms
watchOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

This should be fixed with https://github.com/firebase/firebase-ios-sdk/pull/10324.


Connection VIA DSN?

connection = connect({
'host': '<IP_ADDRESS>',
'port': 5433,
'user': 'some_user',
'password': 'some_password',
'database': 'a_database'
})

any way to do it like pyodbc:
e.g.
vertica_python.connect('host=xxx.xxx.xxx;dsn=vertica;uid=vertica')
?

I don't think so (but I'm not totally familiar with ODBC, which is how this project came to exist in the first place). Because this library doesn't use ODBC at all (it's a Python implementation of the actual protocol, and doesn't require any ODBC libraries to be installed), we don't have any kind of ODBC config file that would support the format you're asking about.

Thanks, I thought I'll be more easy to use if we specify less details although this connector is awesome already.
:)

@zer0n can you close this?

@jberka done


Implement server-side coverage command

Running flow coverage on the file below, in the Nuclide codebase, occupies the Flow server for two minutes on my machine:
Nuclide/pkg/nuclide-reprint-js/lib/printers/complex/printLiteral.js
This is because coverage is implemented using the dump-types server command, which forces all of the types to be stringified and sent across the process boundary. The file above, for whatever reason, has types that are ridiculously long when stringified. To solve this, I've added a new coverage command to the server, which simply returns a boolean depending on whether the region is covered or not. With this change, running flow coverage on the file above is basically instantaneous, and the output is identical to the output without this change.
I will follow up with another PR to add detailed coverage information to the JSON output, so Nuclide can switch from dump-types to coverage for its coverage display. Then we can get away from this pathological behavior.
Of course, this PR doesn't fix dump-types. But it solves my immediate problem and seems like the right long-term call for coverage anyway.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.

FYI, I just ran coverage over all the files in the Nuclide pkg directory and summed up the results, and they were the same both before and after this command (although the before took about 2 hours to run, and after took about 2 minutes):
covered:   202364
uncovered: 19411
percentage: 91.25%


cannot execute binary file: Exec format error

When running rclone 1.33 x64 on FreeBSD (FreeNAS 9.10) I get the following message.
cannot execute binary file: Exec format error
I can also run rclone without arguments and have it display v1.26 which I thought was equally strange.

I just tried rclone v1.33 on my FreeBSD 10.1 VM and it seems to work OK.
Are you sure you downloaded the right package amd64 vs 386 vs arm ? That is what the error "Exec format error" suggests.  Or maybe it got corrupted somehow so you could try re-downloading it.

I can also run rclone without arguments and have it display v1.26 which I thought was equally strange.

Is there an old rclone in your path somewhere?

The download from the official RClone page for FreeBSD x64 is corrupt.
Downloaded twice from there and once from the GitHub mirror before it
finally succeeded.
I also had an older version in my Path.
You can now close this ticket! Cheers.
On Wednesday, 28 September 2016, Nick Craig-Wood<EMAIL_ADDRESS>wrote:

I just tried rclone v1.33 on my FreeBSD 10.1 VM and it seems to work OK.
Are you sure you downloaded the right package amd64 vs 386 vs arm ? That
is what the error "Exec format error" suggests. Or maybe it got corrupted
somehow so you could try re-downloading it.
I can also run rclone without arguments and have it display v1.26 which I
thought was equally strange.
Is there an old rclone in your path somewhere?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ncw/rclone/issues/743#issuecomment-249880425, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE1j8wqLCjc6bLe8vZyp-M7uq71cAs2Nks5quScjgaJpZM4KHNk6
.

--
Adrian Mace

Hmm there is another issue about the downloads being wrong here #745
Assuming that wasn't you too under a pseudonym, I wonder if there is a problem with the CDN I'm using...
Did you do the downloading under freebsd? What tool did you use?

The other ticket is not a dupe :)

Not me, I downloaded using wget on FreeBSD and tried both the 'current' and
version specific release.
Cheers,
On Thursday, 29 September 2016, Nick Craig-Wood<EMAIL_ADDRESS>wrote:

Hmm there is another issue about the downloads being wrong here #745
https://github.com/ncw/rclone/issues/745
Assuming that wasn't you too under a pseudonym, I wonder if there is a
problem with the CDN I'm using...
Did you do the downloading under freebsd? What tool did you use?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ncw/rclone/issues/743#issuecomment-250230436, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE1j8yZhV9rLmMIzPEYpXjy05oWrZ5fxks5qup3YgaJpZM4KHNk6
.

--
Adrian Mace

@adrianmace
What do you get if you do this?
$ cd /tmp/
$ wget 'http://downloads.rclone.org/rclone-v1.33-freebsd-amd64.zip'
--2016-10-01 17:37:46--  http://downloads.rclone.org/rclone-v1.33-freebsd-amd64.zip
Resolving downloads.rclone.org (downloads.rclone.org)... <IP_ADDRESS>
Connecting to downloads.rclone.org (downloads.rclone.org)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3657436 (3.5M) [application/zip]
Saving to: ‘rclone-v1.33-freebsd-amd64.zip.1’

rclone-v1.33-freebs 100%[===================>]   3.49M  3.78MB/s    in 0.9s

2016-10-01 17:37:47 (3.78 MB/s) - ‘rclone-v1.33-freebsd-amd64.zip’ saved [3657436/3657436]

$ md5sum rclone-v1.33-freebsd-amd64.zip
43e9f2fa785f154b0ea243b04eb08279  rclone-v1.33-freebsd-amd64.zip

$ unzip rclone-v1.33-freebsd-amd64.zip
$ md5sum rclone-v1.33-freebsd-amd64/rclone
07a660c90472909bac8baaa7a47de7ef  rclone-v1.33-freebsd-amd64/rclone

$ strings rclone-v1.33-freebsd-amd64/rclone | grep v1.33
v1.33
$

I'm going to assume this is fixed now since I haven't had any other complaints about it - please reopen if not


No module named 'django.core.urlresolvers'

Hello, I wanted to install this plugin and this happens when I make migrations. Any ideas?
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "D:\Final-project\env\lib\site-packages\django\core\management_init_.py", line 401, in execute_from_command_line
utility.execute()
File "D:\Final-project\env\lib\site-packages\django\core\management_init_.py", line 377, in execute
django.setup()
File "D:\Final-project\env\lib\site-packages\django_init_.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "D:\Final-project\env\lib\site-packages\django\apps\registry.py", line 114, in populate
app_config.import_models()
File "D:\Final-project\env\lib\site-packages\django\apps\config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "C:\Users\lukas\AppData\Local\Programs\Python\Python38-32\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "D:\Final-project\env\lib\site-packages\image_gallery\models.py", line 4, in
from django.core.urlresolvers import reverse
ModuleNotFoundError: No module named 'django.core.urlresolvers'

I'm guessing this is a version mismatch of some sort because in Django 2 you would use from django.urls import reverse instead of from django.core.urlresolvers import reverse.

I'm guessing this is a version mismatch of some sort because in Django 2 you would use from django.urls import reverse instead of from django.core.urlresolvers import reverse.

Oh yeah, I had version Django 3. Thank you for replying.

Oh yeah, I had version Django 3. Thank you for replying.

Oh yeah, I had version Django 3. Thank you for replying.

If this didn't fix your issue I'd recommend updating the version of cmsplugin-image-gallery.
Perhaps the install_requires in this project's setup.py could be changed to indicate the incompatibility with old Django 1.x versions by requiring that Django is recent enough?

Oh yeah, I had version Django 3. Thank you for replying.

If this didn't fix your issue I'd recommend updating the version of cmsplugin-image-gallery.
Perhaps the install_requires in this project's setup.py could be changed to indicate the incompatibility with old Django 1.x versions by requiring that Django is recent enough?

I had installed the newest version.
I wanted any plugin that can be used with Django 3 and I got already one.

I had installed the newest version.
I wanted any plugin that can be used with Django 3 and I got already one.


Address devMode log flooding concern raised by Greg Huber (on Dev List)

Address devMode log flooding concern raised by Greg Huber in the Struts Dev List review of the 2.5.19 test build.
Changes:

Introduce a static count-limiter for the devMode set warning in OgnlValueStack.  It limits the total number of log warnings produced to 250 total, after which it switches to trace level logs to avoid log flooding.

This is a single change which should be safe enough to include in a revised 2.5.19 build (and cherry-picked into the 2.6 master branch as well).  Since the log flooding could be somewhat annoying to developers, a compromise like this might be a reasonable response.

The limit value of 250 was a best-guess at balanced number to apply the limit.  If the Apache Struts Team has a preferred limit value to use instead, the value can be changed to match that.
A value of 100 or 150 seemed too low (quickly buried in historical logs as the number of log-warns-per-request can get there fairly quickly).  A configurable value might be nice, but is too complicated for a "quick-fix" response to the concern raised.

Coverage increased (+0.001%) to 46.979% when pulling 87fa5bddf25e8141eca814a5c9e29d4f04286cb7 on JCgH4164838Gh792C124B5:localS2_25x_B1 into 45161e88f95035c63e799213ee529e923a7decc1 on apache:struts-2-5-x.

Too much hustle for the logs. Just remove it or change to trace. I would also suggest to do the same for all other logs introduced in previous commit.

Hello @aleksandr-m  and @sepe81 .
The previous commit has been updated with changes that should address the concern for


PulldownButton

@lenniezelk yes, this is still available. Are you still interested in working on it?


feat(babel-plugin-espower): async-await support

Call assertionVisitor with appropriate async/generator flags
feat(espower): disambiguate between function calls and async/yield expressions by jamestalmage · Pull Request #23 · power-assert-js/espower

@jamestalmage Thank you for your great contribution, again and again!

@twada done.

@jamestalmage Looks good to me.
I'm going to cut a new 1.1.0 release soon.

Just released babel-plugin-espower 1.1.0 :tada:


Fixes the test of the qt= parameter.

R: @philipwalton
CC: @addyosmani @wibblymat @gauntface
Fixes #35
Mocks Date.now() so that we can reliably test the qt= offset.
It also bumps the version in package.json to 1.0.1, to get it ready to be deployed.
Tests are still broken in Firefox; that's being tracked in #22

Lgtm


update infix to postfix

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
I corrected the infix to postfix file. It did not contain all the cases and previous code was not running.
Checklist

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

Related Issues or Pull Requests
#4754

@atarax665 yes, I take care of all the guidance.