Compliation error

This error occured when I try to update certmagic
$ go get -u github.com/mholt/certmagic
# github.com/mholt/certmagic
src/github.com/mholt/certmagic/client.go:98:29: cannot use &leUser (type *user) as type "github.com/go-acme/lego/registration".User in argument to lego.NewConfig:
        *user does not implement "github.com/go-acme/lego/registration".User (wrong type for GetRegistration method)
                have GetRegistration() *"github.com/xenolf/lego/registration".Resource
                want GetRegistration() *"github.com/go-acme/lego/registration".Resource
src/github.com/mholt/certmagic/client.go:103:11: cannot use keyType (type "github.com/xenolf/lego/certcrypto".KeyType) as type "github.com/go-acme/lego/certcrypto".KeyType in field value
src/github.com/mholt/certmagic/client.go:128:72: cannot use "github.com/xenolf/lego/registration".RegisterOptions literal (type "github.com/xenolf/lego/registration".RegisterOptions) as type "github.com/go-acme/lego/registration".RegisterOptions in argument to client.Registration.Register
src/github.com/mholt/certmagic/client.go:132:23: cannot use reg (type *"github.com/go-acme/lego/registration".Resource) as type *"github.com/xenolf/lego/registration".Resource in assignment
src/github.com/mholt/certmagic/client.go:200:33: cannot use "github.com/xenolf/lego/challenge".HTTP01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:203:33: cannot use "github.com/xenolf/lego/challenge".TLSALPN01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:207:32: cannot use "github.com/xenolf/lego/challenge".HTTP01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:208:32: cannot use "github.com/xenolf/lego/challenge".TLSALPN01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:259:54: cannot use request (type "github.com/xenolf/lego/certificate".ObtainRequest) as type "github.com/go-acme/lego/certificate".ObtainRequest in argument to c.acmeClient.Certificate.Obtain
src/github.com/mholt/certmagic/client.go:271:34: cannot use certificate (type *"github.com/go-acme/lego/certificate".Resource) as type *"github.com/xenolf/lego/certificate".Resource in argument to c.config.saveCertResource
src/github.com/mholt/certmagic/client.go:271:34: too many errors

Related to redirection from xenolf/lego to go-acme/lego. Imports should be rewritten to use the later import path.

I am using go dep & I solve this problem
 [[constraint]]
  branch = "master"
  name = "github.com/mholt/certmagic"

+ [[override]]
+  name = "github.com/go-acme/lego"
+  branch = "master"

I don't know [[constraint]] is not work for me
when I try dep ensure -add github.com/go-acme/lego dep tools only install old version
github.com/xenolf/lego and I can't build.


Install forge formatter alone

Is it possible? I'd like to add forge fmt to nixpkgs and treefmt.

It is not, it is a subcommand of forge

It is not, it is a subcommand of forge

@onbjerg please ignore the other issue I just created. I thought this one wasn't created for some reason. Thank you


Error on the simple deployment documentation nginx snippet

Describe the bug
The deployment documentation has a code snippet for configuring nginx that has an unbalanced number of curly braces.
To Reproduce
Steps to reproduce the behavior:

copy and paste the nginx config snippet
reload nginx configuration
see that if fails to reload due to unbalanced curly braces

Expected behavior
That nginx reloads

Issue has been solved


Added lowercase functions and tests.

Awesome, love this feature! Could you do two more things?

Bump version number
add docs for the feature

Awesome, love this feature! Could you do two more things?
* Bump version number

* add docs for the feature

Done!

Awesome, love this feature! Could you do two more things?
* Bump version number

* add docs for the feature

Done!


Import: unsupported texture wrap modes

Only the texture wrap modes CLAMPxCLAMP and REPEATxREPEAT are supported, because those are the only options for wrapping on a Texture Image node.
TextureSettingsTest.gltf

The way I solved this in gltf-blender-importer was to add nodes to the shader graph in between the UV transform and the Image Texture node to perform the wrapping manually for the other wrap modes.
I just saw Blender 2.82 added Wrap (works for REPEAT) and Pingpong (works for MIRRORED_REPEAT) Math nodes which now make this really easy.

Faking it with nodes like this has very small errors near the very edge of the texture compared to the real thing when using linear-filtering (because properly speaking the wrap mode should affect filtering). Otherwise, it works fine.
Here's a branch that implements this if you want to try it.
What's everybody think?

It's impressive.  Somehow I don't think it will be easy to get the exporter doing that too, but maybe just import support for that one is good?

Somehow I don't think it will be easy to get the exporter doing that too

That's why I didn't mention it before, but I don't think it would be too hard for the exporter to guess it actually. Sketch:
# Gather wrap mode from Image Texture's extension property
wrap_s = CLAMP_TO_EDGE if img_texture_node.extension == 'EXTEND' else REPEAT
wrap_t = CLAMP_TO_EDGE if img_texture_node.extension == 'EXTEND' else REPEAT

# Gather wrap mode from this node setup
# [Separate XYZ] => [Math] => [Combine XYZ] => [Image Texture]
#                => [Math] =>
result = gltf2_blender_search_node_tree.from_socket(
    img_texture_node.inputs['Vector'],
    gltf2_blender_search_node_tree.FilterByType(bpy.types.ShaderNodeCombineXYZ)))
if result:
    com_xyz = result[0]

    def gather_wrap(from_socket, default):
        find_node = lambda node:
            isinstance(node, bpy.types.ShaderNodeMath) and \
            node.operation in ['PINGPONG', 'WRAP']
        result = gltf2_blender_search_node_tree.from_socket(from_socket, find_node)
        if result:
            return MIRRORED_REPEAT if result[0].operation == 'PINGPONG' else REPEAT
        return default

    wrap_s = gather_wrap(com_xyz.inputs[0], default=wrap_s)
    wrap_t = gather_wrap(com_xyz.inputs[1], default=wrap_t)


Happy birthday message comes in every hour again and before 1 day

Happy birthday message comes in every hour again and before 1 day

Message Off kar diye abhi


Fix count_tweets in overview.py

Describe the bug
A clear and concise description of what the bug is.
To reproduce
Steps to reproduce the behavior:

Go to ...
Click on ...
Scroll down to ...
See error.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Not possible without the official Twitter API: https://developer.twitter.com/en/docs/twitter-api/tweets/counts/introduction


Add recreate doc fot RWO volume

Proposed changes
Briefly describe the changes you've made here. Remember to add a link to the preview page of your branch.
Checklist before requesting a review

[x] I have followed the instructions in the Contributing and Styleguide documents.
[x] My pull request passes the automated tests. If not, visit pull requests at Travis CI and have a look at the job log.
[x] I have included a link to the appropriate preview page (select your branch from the list).

Missing word. Otherwise LGTM


New logfile entries?

Hello,
i am using version: homebridge-config-ui-x v4.39.1
I have since the update following messages in the logfile:
[28.2.2021, 13:43:50] [Zone1Q2] Switch is currently OFF
root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/kill -9 26142
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
How can i solve these entries?
Thank you for support.
Peter

What you are seeing is not new, it's been there for a long time.
Replace your service supervisor with hb-service (still backed by systemd) and these entries will not be displayed.
Remove your existing service first.
https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command

Hello oznu,
thank you for your answer.
I have running homebridge with the old way.
I am using the following commands.
sudo systemctl restart homebridge
systemctl status homebridge
sudo systemctl stop homebridge
sudo systemctl start homebridge
sudo systemctl disable homebridge
sudo systemctl enable homebridge
The homebridge is running on port 8080 and the files (config.json etc.) are in the directory: /var/homebridge
I have tried to install the hb-service in the following way:
sudo systemctl stop homebridge
sudo systemctl disable homebridge
Then I installed:
sudo hb-service install --user homebridge
After this, i have a empty config.json in an other directory (I think it was /etc/homebridge)?
How can I get all my old homebridge running with hb-service in the old directory or can I copy all files from /var/homebridg to /etc/homebridge ?
Thank you very much for helping,
Peter
Mit freundlichen Grüßen
Dr.-Ing. Peter Heck

Dr.-Ing. Peter Heck
Beethovenstraße 5
67685 Weilerbach
Telefon: +49 6374 993322
Mobiltelefon: +49<PHONE_NUMBER>
Von: oznu<EMAIL_ADDRESS>Gesendet: Sonntag, 28. Februar 2021 14:51
An: oznu/homebridge-config-ui-x<EMAIL_ADDRESS>Cc: drheck<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [oznu/homebridge-config-ui-x] New logfile entries? (#1106)
What you are seeing is not new, it's been there for a long time.
Replace your service supervisor with hb-service (still backed by systemd) and these entries will not be displayed.
Remove your existing service first.
https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/oznu/homebridge-config-ui-x/issues/1106#issuecomment-787455562, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4JMTRRE3FVX4SSSYTYP5LTBJC4JANCNFSM4YLB2ZMA.


[BUG] diagnostics are not cleared when vulnerabilities are removed

Describe the bug
diagnostics in pom.xml are not cleared when vulnerabilities are removed, which is super annoying
To Reproduce
Steps to reproduce the behavior:

Open a pom.xml
add a vulnerable dependency, eg.

<dependency>
  <groupId>org.springframework.amqp</groupId>
  <artifactId>spring-amqp</artifactId>
  <version>1.4.4.RELEASE</version><!-- https://www.cvedetails.com/cve/CVE-2016-2173/ -->
</dependency>

Diagnostic shows up
Remove dependency
Error diagnostic is still present, now matching a wrong range

Expected behavior
diagnostics should be removed if there are no problems
Screenshots

VSCode(please complete the following information):

OS: macOS 10.15.7
VSCode version  1.52.1
Dependency Analytics Version 0.3.0-2020-12-03 (latest build from master)

Since we rely on our hosted platform to find vulnerability for the given package, it might take some time based on the network condition.
The best we can do is clear all the diagnostics until we get response from server.
https://github.com/microsoft/language-server-protocol/issues/282

AFAICT, it's not a time-based issue. If it was then the diagnostic would disappear after some time. It just does not


GCC 14 compiler error, int-conversion

GCC 14.1.1.  Some warnings now considered errors.
/home/builder/build/src/xmap/src/state.c:39:36: error: initialization of ‘unsigned char’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
   39 |     .source_ip_addresses         = NULL,

Please add "-Wint-conversion" to Line 38 of file CMakeLists.txt and try again.

@idealeer Are you recommending as workaround or test of potential solution?  Unless this project is discontinued, best solution would be to adjust source (add cast or other change) because future compiler releases will be more strict.

thx, will do the improvement

done


dotnet test does not respect LogFileName -- adds date

From @hpbieker on March 11, 2019 9:59
Steps to reproduce

Install .NET Core 3.0 preview3
Create a test project
Run dotnet test --logger 'trx;LogFileName=somename.trx'

Expected  behavior
A file named somename.trx should be created. In .NET Core 2.2 / Test Execution Command Line Tool Version 15.9.0 I get this behaviour.
Actual behavior
A file named somename_2019-03-11_10-38-36-764.trx was created.
$ dotnet test --logger 'trx;LogFileName=somename.trx'
Test run for C:\Users\nohabie\AppData\Local\Temp\test\bin\Debug\netcoreapp3.0\test.dll(.NETCoreApp,Version=v3.0)
Microsoft (R) Test Execution Command Line Tool Version 16.0.0-preview-20190124-02
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Results File: C:\Users\XXX\AppData\Local\Temp\test\TestResults\somename_2019-03-11_10-38-36-764.trx

Total tests: 1. Passed: 1. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 1,1557 Seconds

Environment data
$ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview3-010431
 Commit:    d72abce213

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.1.7601
 OS Platform: Windows
 RID:         win7-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\

Host (useful for support):
  Version: 3.0.0-preview3-27503-5
  Commit:  3844df9537

.NET Core SDKs installed:
  2.1.600 [C:\Program Files\dotnet\sdk]
  2.2.200 [C:\Program Files\dotnet\sdk]
  3.0.100-preview3-010431 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview3-19153-02 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview3-27503-5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0-preview3-27504-2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Copied from original issue: dotnet/cli#10962

@livarcocc as of today this is by design.
We do this to create unique files. Consider the option as more of a logFilePrefix rather than logFileName.
And changing the param name is contract breaking change so we won't be able to rename it.

But it did not behave this way in In .NET Core 2.2 / Test Execution Command Line Tool Version 15.9.0 I get this behaviour? This change broke my build scripts because the trx file was not found anymore.

You are right on the behavior changing from 15.9.0 to 16.0.0. Let me double check the exact reason we made this change and get back to you.

@hpbieker this was done when dotnet test support at solution level was added i believe. The scenario was that when you ran it at a solution level multiple csprojs are present and multiple trx files are generated. To ensure these don't override each other this change was made.
I'm sorry this broke your build scripts. But I don't see a way to go back to honoring the exact file name without adding a post fix since it will break the multi csproj scenario.
You can look for trx files with a regex that checks for the name you have as the prefix. (This is what we do in the AzureDevops pipelines, to publish the trx-es). I hope the explanation was satisfactory?

BTW: this happens even when running tests against a single .csproj file. We have the same problem where it broke our CI pipes.

@brittonbeckham can you please create a new issue and provide the entire set of logs and screenshots (where applicable) for this?

@ShreyasRmsft This change broke our pipelines too.
Is it normal that a patch version (.NET Core SDK 2.1.602) brings a breaking change like that?

This also broke all of our build pipelines too. Nothing exotic is happening in this section of our pipelines - it's merely pulling the microsoft/dotnet:2.2-sdk Docker image and running dotnet vstest /logger:"trx;LogFileName=report.unit.xml", so it looks like this was a breaking change made in a non-major version update...?

Same here, broke our build pipelines too.

@ShreyasRmsft This change broke our pipelines too. What's going on?

I think MS wants us to open another issue for this, but seems like it shouldn't have been closed. A patch like this to a container image shouldn't have been a breaking change without, at minimum, a minor version number change. We found a work around for the meantime, but this is definitely frustrating.
On the flip side, I am happy and excited about where all this .NET Core stuff is going and have been using it heavily. Having used .NET since v1, i can say I have never been more excited to code in .NET Core. Cheers to the entire team!

@brittonbeckham @Marusyk @Kemyke Apologies for the break here and do acknowledge that we should have called this out broadly and with an equivalent version update. The cause of the change was to address the scenario of multi targeted test project where the log file provided was being overwritten and ending up with data loss. We will revisit the change and see if we could retain the earlier behavior and at the same time address the issue with multi target test projects.

Adding reference to https://github.com/Microsoft/vstest/issues/1978 , we plan to publish an RFC on how trx file name would be generated, will update once that is out.

+1, broke our build chain too. I'm surprised such a change was implemented without any backwards compatibility. Was it not more sensible to implement a "UniqueLogFileName" parameter for those people with the multi-target issue to use, and to leave the behaviour of "LogFileName" untouched/unbroken?

+1, broke our build chain too.

This broke our build scripts that execute inside of Jenkins. The test result collector at the end of our build pipeline stages can no longer find the files. We have many, many dozens of these build scripts, all run inside Docker images. Fixing this is a huge issue for us, and a reason not to adopt the newer .NET Core versions.
The better solution would have been to allow developers the options to change the suffix if we had needed to, rather than forcing it on us and breaking our builds without warning.
Your solution is bad.

+1, broke our build chain too. I'm surprised such a change was implemented without any backwards compatibility. Was it not more sensible to implement a "UniqueLogFileName" parameter for those people with the multi-target issue to use, and to leave the behaviour of "LogFileName" untouched/unbroken?

Broke our scripts as well. I totally agree with @andyturner and @crhairr. It should be backwards compatible and simply provide the possibility to add prefixes/postfixes if needed.

+1 broke my build too

+1 It broke our builds too, it would be better with possibility for prefixes/postfixes.
Also the description in dotnet test -h is now misleading:
Log in trx format using the specified file name: --logger "trx;LogFileName=<TestResults.trx>"

+1 Our scripts are broken now, too.

+1
It broke our builds, too!
Our command: dotnet test --logger "trx;LogFileName=TestResults.trx"

+1 broke our build too.
Microsofts cowboy builder at it again...
Any updates on this?

It was fixed via https://github.com/microsoft/vstest/pull/1996
Release: https://github.com/microsoft/vstest/releases/tag/v16.0.2-preview-20190502-01
Notes: https://github.com/Microsoft/vstest-docs/blob/master/docs/releases.md#1602-preview-20190502-01

@hpbieker this was done when dotnet test support at solution level was added i believe. The scenario was that when you ran it at a solution level multiple csprojs are present and multiple trx files are generated. To ensure these don't override each other this change was made.
I'm sorry this broke your build scripts. But I don't see a way to go back to honoring the exact file name without adding a post fix since it will break the multi csproj scenario.
You can look for trx files with a regex that checks for the name you have as the prefix. (This is what we do in the AzureDevops pipelines, to publish the trx-es). I hope the explanation was satisfactory?

Using the trx regex like TestResult_*.trx in my build script fixed it temporarily until we get the sdk up to date.

Now My tests also are breaking with Microsoft.Net.Test.SDK V16.3.0


Question: Why do asp.net core 2.0 VS 2017 templates still include bower which is already obsolete?

I am surprised to see ASP.net templates for VS 2017 still makes use of bower. Perhaps it's time to clean up obsolete stuff.

See https://github.com/aspnet/Home/issues/2086

Thanks. I know you have a release to deliver but please reconsider your decision to keep bower any longer. I think keeping it any further will make more people to depend on it. And it will be difficult for you to clean it up later. Now is the perfect time imho.


Registering a service with this sample code.

Hello,
To expand on this sample further, have you considered creating a couple of data services and registering these within startup.cs e.g.
public void ConfigureServices(IServiceCollection services)
{
...
services.AddSingleton();
services.AddSingleton();
}

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

ID: e1279b6d-8210-1751-8e37-cf544cd3695d
Version Independent ID: 6dc2d359-8d50-1df3-7983-29fb06bfdbb6
Content: Tutorial - Create a Blazor Server app that uses the Microsoft identity platform for authentication - Microsoft identity platform
Content Source: articles/active-directory/develop/tutorial-blazor-server.md
Service: active-directory
Sub-service: develop
GitHub Login: @knicholasa
Microsoft Alias: nichola

@tejinderrai
Thanks for your feedback! I have assigned this issue to the author who will investigate and update as appropriate.

Hi @tejinderrai are there specific services you want to add, or are you saying that the tutorial would be more useful with any example of adding services? If you can tell me a bit about how this helps you that would help me track the feedback for future updates.
Thanks
Nick

@tejinderrai Thanks for submitting. I'll close this one out for now but we've noted your suggestion for consideration in a future update. If you have specific data services you'd like to see added, please let us know with an @-mention as @knicholasa has requested in https://github.com/MicrosoftDocs/azure-docs/issues/66381#issuecomment-738211751. #please-close


Cloning World?

Hello!
For my project i need to implement determinism with rollback, so I'll need to store copies of the world state potentially several times at every game tick.
From what I can tell, hecs::World does not implement Clone. Is there something else I can do?
I am fairly new to Rust. I tried a local patch of hecs, adding #[derive(Clone)] to World and all its variables. Eventually I ended up rubbing against AtomicUsize and simply put it didn't work out.
Is there a fork or something I can use?
The world doesn't consist of a ton of items but it will be run at up to 60 times per frame on weak hardware, so performance is top priority.

I realized copying the world may not be the best approach after all. Instead, I went with an approach that implements ring buffers inside the components. This way I don't have to copy the world at all.


Button Appearance

The neon color buttons are to bright and doesn't look well with the background contrast

I can make it more appealing. Assign this to me under gssoc-ext and specific level

I would like to work on this issue.

@somyadipghosh please merge the PR

Closed via #839


merge from arlac77/npm-package-template-esm-only

README.md

docs(README): update from template

Codecov Report

Merging #870 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #870   +/-   ##
=======================================
  Coverage   92.42%   92.42%
=======================================
  Files          10       10
  Lines        1373     1373
  Branches      176      176
=======================================
  Hits         1269     1269
  Misses        104      104

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 0ab1fef...ff07437. Read the comment docs.

:tada: This PR is included in version 8.3.15 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error with a debug build

My applications triggered an error only with a debug build. I am (mostly) on ebd70cc. The command line was
mpirun --report-bindings -n 8 -npernode 4 -x LEGION_FREEZE_ON_ERROR --map-by numa:PE=5 ./wrapper.sh /home/bandokihiro/Builds_GPUNodes/DG-Legion/build_debug/exec/solver -logfile logs/log_%.log -hdf5:forcerw -dm:memoize -ll:cpu 0 -ll:util 1 -ll:bgwork 1 -ll:bgworkpin 1 -ll:csize 20000 -ll:rsize 0 -ll:gpu 1 -ll:fsize 14000 -ll:onuma 0 -ll:ocpu 1 -ll:othr 1 -lg:warn -lg:partcheck -lg:safe_ctrlrepl 1 -lg:safe_mapper -ll:force_kthreads

Here is an example backtrace.
gdb.txt

This looks like the relevant part:
#8  0x00007f8597280f36 in __GI___assert_fail (assertion=0x5593876db010 "origin_index < total_spaces", file=0x5593876d44f8 "/home/bandokihiro/Builds_GPUNodes/legion/runtime/legion/legion_replication.cc", line=8580, function=0x5593876db030 "void Legion::Internal::CollectiveMapping::get_children(Legion::AddressSpaceID, Legion::AddressSpaceID, std::vector<unsigned int>&) const") at assert.c:101
#9  0x0000559386354e94 in Legion::Internal::CollectiveMapping::get_children (this=0x7f773c01c7a0, origin=0, local=3, children=std::vector of length 0, capacity 0) at /home/bandokihiro/Builds_GPUNodes/legion/runtime/legion/legion_replication.cc:8580
#10 0x0000559386188c95 in Legion::Internal::EquivalenceSet::initialize_collective_references (this=0x7f772c23de60, local_valid=1) at /home/bandokihiro/Builds_GPUNodes/legion/runtime/legion/legion_analysis.cc:10156
#11 0x0000559386358fe2 in Legion::Internal::ShardManager::deduplicate_equivalence_set_creation (this=0x7f773c020f40, region_node=0x7f77500348c0, mask=..., did=64, first=@0x7f856a36aea3: false) at /home/bandokihiro/Builds_GPUNodes/legion/runtime/legion/legion_replication.cc:9257
#12 0x000055938633615d in Legion::Internal::ReplMergeCloseOp::trigger_mapping (this=0x7f772c23d4a0) at /home/bandokihiro/Builds_GPUNodes/legion/runtime/legion/legion_replication.cc:1456
#13 0x0000559385a4816a in Legion::Internal::Runtime::legion_runtime_task (args=0x7f7750036100, arglen=12, userdata=0x55986ce2a710, userlen=8, p=...) at /home/bandokihiro/Builds_GPUNodes/legion/runtime/legion/runtime.cc:31230

@lightsighter thoughts?

This is likely to be something that I'm not going to fix as this code has already been deleted in the collective instance branch, so the lifetime of this code can be measured in weeks. If you do want me to look at it I need a reproducer.

do you have a rough ETA for the merge of the collective instance branch?

I'm aiming for mid-to-late March at this point, but it's highly variable depending on a lot of factors.

I wasn't able to reproduce with fcced203e so closing this issue.


[Automation] Generate Fluent Lite from purview#package-2021-07-01

[Automation] Generate Fluent Lite from purview#package-2021-07-01

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-purview


Add entity prototype save test

This adds a new test that is intended to ensure that when an entity prototype is spawned into an uninitialized map and then that map gets saved, that the resulting entity is effectively just the prototype. I.e., the entity shouldn't add new components and it shouldn't modify any component data.
This both helps reduce map yml bloat, and reduces the number of dirty components that need to get sent to clients. This is also somewhat related to #8423.
This is currently a draft, because there are many entities that need fixing. Currently mobs and the singularity are exempt from the test, because they aren't map-saveable.
As an example, the  output from the test looks like this:
14) Prototype CrateFoodKvassTank gains a component on spawn: ItemSlots
15) Prototype CableTerminal gains a component on spawn: CollideOnAnchor
16) Prototype BlastDoor gains a component on spawn: SignalReceiver
17) Prototype BlastDoorOpen modifies component on spawn: Occluder. Modified fields: enabled
18) Prototype BlastDoorOpen modifies component on spawn: Physics. Modified fields: canCollide
19) Prototype BlastDoorOpen modifies component on spawn: Airtight. Modified fields: airBlocked
20) Prototype BlastDoorOpen gains a component on spawn: SignalReceiver
21) Prototype WeaponWandPolymorphBase modifies component on spawn: BasicEntityAmmoProvider. Modified fields: count

Theres 1822 of these errors.... please help.

collisionwake + ambience + containers are going to be a lot of these I think.

finally getting rid of the init ensurecomp cruft are we

Well starting on it. Something like the [RequiresComponent(typeof(blah))] would still be nice.

collisionwake + ambience + containers are going to be a lot of these I think.

I know a couple hundred are just because the base drink proto is missing DrainableSolution & RefillableSolution, and a bunch are just because of base storage missing ContainerContainer. Fixing 90% of the issues will probably be easy and just involve tweaking base prototypes, the remainder will probably be quite annoying.

I'm tempted to just chuck the rest of the erroring prototypes into the test's list of ignored prototypes and fix them later in smaller PRs. This PR already changes so much yaml & will attract a lot of conflicts.


Handle mentions being None

Not sure why this was None in the first place, which may be worth investigating still. Fixes #48.
Update: I guess it is None when msg_id is not in thread.mentions. I don't know if that's expected or not here, but if it's not an issue then I think the fix is fine.

Update: I guess it is None when msg_id is not in thread.mentions. I don't know if that's expected or not here, but if it's not an issue then I think the fix is fine.

I think you're right. We could also modify the get call to thread.mentions.get(msg._id, {})

I think you're right. We could also modify the get call to thread.mentions.get(msg._id, {})

That's true, although using mutable defaults for keyword arguments is a bit of a Python "gotcha", so using None is probably preferred.

Oh, that's right. Well, then :+1:


Discrepancy in the file/event Notification Inputs Specification

General Summary
We've observed a discrepancy within the file management API: the file/event notification is specified to have path and kind as inputs (see https://github.com/luna/enso/blob/master/doc/language-server/specification/enso-protocol.md#fileevent ), however the current implementation actually passes a single event input (that wraps path and kind) and this behavior seems to be covered by test (see https://github.com/luna/enso/blob/master/engine/language-server/src/test/scala/org/enso/languageserver/websocket/rpc/ReceivesTreeUpdatesHandlerTest.scala#L114 ).
Steps to Reproduce
Compare the linked files.
Expected Result
Either specification should follow the implementation (and specify that the notification has a single event input) or the other way around.
Personally, I'd prefer the latter (having two inputs, instead of spurious type just to wrap them into event) but this doesn't make much difference.
Actual Result
I see discrepancy.
Enso Version
Latest master, i.e. 25494bbb4315d7d6d625424280dfdee0e49dd045

Should be resolved by matching the spec.


Add call validation to CommandPalette

Code from confused user™:
@tool
extends EditorScript

func bundle_audio():
	print("Hello World")

func _run():
	var command_palette = get_editor_interface().get_command_palette()

	var name = "audio/bundle"
	command_palette.remove_command(name)

	command_palette.add_command("Bundle Audio", name, bundle_audio)

	print("command added")

The EditorScript instance is gone before the command is run, so it can't be called. However editor palette doesn't do any call validation and it just fails silently.
This PR adds error messages:

I would probably use a toast for this. I don't see a reason to raise a blocking popup.

Fails building:
In file included from ./core/object/method_bind.h:34,
                 from ./core/object/class_db.h:34,
                 from ./core/object/ref_counted.h:34,
                 from ./core/io/resource_uid.h:34,
                 from ./core/io/resource.h:34,
                 from ./core/input/input_event.h:35,
                 from ./core/input/shortcut.h:34,
                 from ./editor/editor_command_palette.h:34,
                 from editor/editor_command_palette.cpp:31:
./core/variant/binder_common.h: In instantiation of 'void call_with_variant_args_helper(T*, void (T::*)(P ...), const Variant**, Callable::CallError&, IndexSequence<Is ...>) [with T = EditorCommandPalette; P = {String&}; long unsigned int ...Is = {0}]':
./core/variant/binder_common.h:417:40:   required from 'void call_with_variant_args(T*, void (T::*)(P ...), const Variant**, int, Callable::CallError&) [with T = EditorCommandPalette; P = {String&}]'
./core/object/callable_method_pointer.h:104:25:   required from 'void CallableCustomMethodPointer<T, P>::call(const Variant**, int, Variant&, Callable::CallError&) const [with T = EditorCommandPalette; P = {String&}]'
./core/object/callable_method_pointer.h:100:15:   required from here
Error: ./core/variant/binder_common.h:303:25: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String'
  303 |  (p_instance->*p_method)(VariantCasterAndValidate<P>::cast(p_args, Is, r_error)...);
      |  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I know, but I can't decipher the error.

execute_command takes a String &, but you're passing a String.
Apparently the direct call syntax handles that fine but callable_mp is more picky.

I added const and it magically works now.


DINO finetune

hello
Where can I find the finetune_*_dino.py
thank you!

Hi there! Sorry for the late reply. We conduct DINO finetuning with the linear probing codes, by unfreezing all parameters. We did not apply specific finetuning tricks.


Feat/update text footer

Related issues

Fixes #1563
Description

Motivation & Context

Types of change

Bug fix (non-breaking which fixes an issues)
New feature (non-breaking change which adds functionality)
Refactoring (non-breaking change)
Breaking change (fix or feature that would change existing functionality)

Live previews

https://deploy-preview-{your pr number}--boosted.netlify.app/

Checklist

[ ] I have read the contributing guidelines
[ ] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

No need to create a new PR. You can reopen https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/1564, re-use the same branch and take into account the comments of my code review. I closed it because of inactivity.


Multisig wallet, signing and bip39

This adds features for:

creating a multisig wallet passing M, N and N-1 pub keys in order to generate the redeem script

generating receiving address, no BIP45 for now

signing raw transactions, also for BIP44 wallets

multisig tests, to be improved.

BIP39, now a random mnemonic is generated and stored when creating a wallet. The seed is then derived from the mnemonic

fixes #6


Factories

I would love to see proper Factories.
Will PR @akrabat  ;)

We can probably deprecate/remove the entire "environment" concept in favor of these new factory methods.

Can you provide a code snippet here that demonstrates what you want? I'm thinking something like \Slim\Http\Request::createFromGlobals($_SERVER);. Seem fine?

I was thinking....

class RequestFactory {
   public function __construct(BodyFactory $bodyFactory);

   // returns \Slim\Http\Request
   public function build($attributes, $headers);
}

$request = $requestFactory->build($_SERVER, $headers);

The reason behind it, so we have more control of the Body Object and how it's created. The Request shouldn't know or care how the Body is created, or URI object.

:+1: Will get started today.

@geggleto Couldn't the same be said for headers and uri?

I'm not entirely sold on the need for separate factory classes... a class can know how to make itself, so why not Body::createFromText|Stream(), Uri::createFromGlobals(), Header::createFromGlobals(), and Request::createFromGlobals()? We can always supply a default body (from raw text or a stream resource), and it can easily be overridden with $request->withBody().

I'm just worried about over-engineering for engineering's sake.

For me it's abut reducing the class complexity. Factories are clean and easy to read. For someonek like me who does read the slim source it is nice to have readable code.
I would say choose whatever is readable and testable. Decoupling away from the use of globals inside methods and surfacing them to the signatures is the ultimate goal.
/cc @codeguy

Cool. I've started toying with an abstract factory. I've added the FactoryInterface interface and the FactoryDefault implementation. This will let us recycle the same creation logic in our tests and in the actual codebase. PHP 7 syntax for now while I'm playing around with some ideas.

PHP 7 <3. I like the abstract factory pattern and this is looking quite good.

https://gist.github.com/geggleto/37539ebbd679f28995b4
Been toying around with moving the construction logic.
I really want to rename the Environment class as its a container around _SERVER.
@akrabat @codeguy

I think we should rename the Request class, as in PSR 7 there are differences between ServerRequest and just Request. Slim internally uses ServerRequestInterface, so it would probably be best to reflect that.

Dropping this in here,
https://github.com/geggleto/slim-http
Lot's of refactoring, and renaming.

If we support factories, then https://github.com/http-interop/http-factory is the way to do it.

Maybe starting a discussion but, is it a idea to separate the both? So Slim-Http, Slim-HttpFactory ?
Both can have there respected (dev) requirements and then can even be used seperately.
Let me know :)


customOperation and addRestangularMethod would not use BaseUrl

Hi,
I've been trying to create a custom method named 'upVote' for a resource called 'posts', the posts api url is at "/rest/users/{username}/posts" while the url for the vote action is at "/rest/posts/{postId}/vote".
I have added the following configuration:
RestangularProvider.setBaseUrl(Routing.getBaseUrl() + '/rest');
RestangularProvider.addElementTransformer('posts', false, function(post) {
     post.addRestangularMethod('upVote', 'patch', 'vote', {_token: ajaxToken}, {});
     return post;
});

But the method sends the request to the wrong url (/post/{postId}/vote) and does not use the provided baseUrl at all.
Is there a way to make the method use the baseUrl for it's requests, or am I doing this the wrong way?
Best,
Nima

+1

The easiest way to accomplish this is to add your own custom method:
RestangularProvider.addElementTransformer('posts', false, function(post) {
  post.upVote = function() {...} // add the method here
})


fix(theme): using uw-system as default theme

We had an issue with my.wisconsin.edu defaulting to the uPortal theme rather than uw-system. On top of that, search/marketplace is broken with the uPortal theme ( #559 ). We're not quite operationally ready for uPortal to be the default theme yet, so this changes it back to uw-system.

Contributor License Agreement adherence:

[x] This Contribution is under the terms of Individual Contributor License Agreements (and also Corporate Contributor License Agreements to the extent applicable) appearing in the Apereo CLA roster.

yup, just wanted to put a PR in while we're thinking about it to reflect what we did locally.
An even further-looking solution may be that we use this as an opportunity to de-UW-ify the underlying codebase, and we pull these themes out of the codebase and into our institution-specific overlay.

I agree there are advantages in de-UW-ifying the open source product. Let's maybe think about how to do that in a way that still keeps more real-world examples available to all would-be uPortal-home adopters. Keeping interesting customizations private is an aspect of how we got all forked in our underlying uPortal. Maybe a layer of UW-ification could also be in a public repo or in a public library? Or maybe not worth the complexity -- the UW-ifications are way different in kind and scale than some of our uPortal customizations.


Add Cider Plugin

Control Cider and it's playback with Flow Launcher.

Thank you!
Also since this is my first plugin for Flow Launcher, I was wondering if I only needed to change the version in plugins.json and package.json and run workflow, or do something else in order to push an update globally.

Looking at the workflow in your plugin repo, it will publish a new release when you merge your new pr to main, when doing so make sure you update the version in your plugin.json to a higher version than your current release, for example 1.0.1 and the workflow will automatically publish a new v1.0.1 release for you.
This repo will check for newer plugin version published in your GitHub Releases, if you have published a new v1.0.1,  it will be automatically updated here. So there is no need to submit anything for your plugin updates.
Hope this helps 😄

Looking at the workflow in your plugin repo, it will publish a new release when you merge your new pr to main, when doing so make sure you update the version in your plugin.json to a higher version than your current release, for example 1.0.1 and the workflow will automatically publish a new v1.0.1 release for you.
This repo will check for newer plugin version published in your GitHub Releases, if you have published a new v1.0.1, it will be automatically updated here. So there is no need to submit anything for your plugin updates.
Hope this helps 😄

Thank you so much!


Logic App issues

Fails when it attemps to create group.

Error:
{
"error": {
"code": "Request_BadRequest",
"message": "Object '[ResourceType=User,Id=xxxxx,ChangedProperties=[],NonDefaultProperties=[INTERNAL_SingleResourceQuery]]' referenced from '[ResourceType=Group,Id=xxxxxx,ChangedProperties=[DisplayName,Description,GroupType,MailEnabled,MailNickname,SecurityEnabled,CreatedByAppId,IsPublic],NonDefaultProperties=[INTERNAL_EnableF14M1SchemaEnumTypes,visibility]]' can only be present once as an add/remove change.",
"innerError": {
}
}
}

If anyone is as foolish as me, the reason it errored is because I had specified the service account as an owner in my request.


🛡 Enable ServiceAccount token projection and token requestor

How to categorize this PR?

/area security
/kind enhancement
/merge squash
What this PR does / why we need it:

When the extension is running on a seed with a gardenlet of at least v1.37 then

ServiceAccount token projection is enabled.
the components deployed into shoot namespaces

uses ServiceAccount token projection.
uses a token managed by GRM's token requestor instead of a client certificate.

the Prometheus configuration is adapted.

Which issue(s) this PR fixes:
Part of gardener/gardener#4659
Part of gardener/gardener#4878
Special notes for your reviewer:
✅ ~Depends on #180, hence, PR is in draft state.~
✅ ~Depends on #188, hence, PR is in draft state.~
Release note:

The extension controller uses a projected `ServiceAccount` token in case it runs on a seed with a gardenlet of at least `v1.37` or higher. Similarly, the components deployed into shoot namespaces will no longer use a client certificate but an auto-rotated `ServiceAccount` token which is only valid for `12h`.

/ready

/invite @BeckerMax @timebertt

/ready


Why archaius need to declare Dynamic Property firstly？

Why archaius need to declare Dynamic Property firstly？
Can I use such code as following in my method directly?
void myMethod(){
String v = DynamicPropertyFactory.getInstance().getStringProperty("key1", "default").get();
}

If you follow that pattern, then there isn't any reason to use DynamicProperty. Just get the value from the config directly. I think you will have a memory leak with the code above because it registers callbacks for each instance of the dynamic property that is created (see the comment).

Can I use a cache(e.g ConcurrentHashMap) to store the DynamicProperty to avoid the memory leak problem?

If we don't use callback, should it works rightly? Or can we use a cache (e.g. ConcurrentHashMap) to store the created PropertyWrapper(DynamicStringProperty) to void the memory leak problem?

V1 is deprecated and won't be maintained anymore.


feature: update app generators and templates to use TypeScript for Tailwind config

PR Checklist

Closes #1297
What is the new behavior?
Now new tailwind projects are generated with typescript configuration file.
Generator for tailwind apps are updated to support typescript
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
Project with tailwind ~3.0.0 not be setted correctly cause types definitions (and maybe ts support too) was added in version 3.1.0
[optional] What gif best describes this PR or how it makes you feel?

@redfox-mx will you fix the merge conflict?

Sure n.n
Only I need to add analog files to tailwind content configs too. But currently I'm not at home, maybe tomorrow 🚀

I have some problems :C damn 😭 😭

Hi @brandonroberts would you matter try to test pnpm install and pnpm-lock generation, please?

Thanks! @allcontributors add @redfox-mx for code,infra


gfx_candyflow crash on macOS.

When run on macOS, it complains about the lack of the symbol _perf_start.
Error:
>> Now drawing candyflowdyld: lazy symbol binding failed: Symbol not found: _perf_start
  Referenced from: /Users/vifino/src/sled/./modules/gfx_candyflow.so
  Expected in: flat namespace

dyld: Symbol not found: _perf_start
  Referenced from: /Users/vifino/src/sled/./modules/gfx_candyflow.so
  Expected in: flat namespace

zsh: abort      ./sled

@orithena If you could have a look at why that happens, I'd appreciate it.

gfx_affinematrix also has this problem.

I fixed that with lost symbol by marking it static: As it's simply included then, this is fine.
However, now it complains about another missing symbol..
>> Now drawing affinematrixdyld: lazy symbol binding failed: Symbol not found: _multm3v2_partx
  Referenced from: /Users/vifino/src/sled/./modules/gfx_affinematrix.so
  Expected in: flat namespace

dyld: Symbol not found: _multm3v2_partx
  Referenced from: /Users/vifino/src/sled/./modules/gfx_affinematrix.so
  Expected in: flat namespace

zsh: abort      ./sled

Unsurprisingly, it was the same issue of function being defined in a header, with another static it's fixed. I'll push it.

Oh, you already fixed it, thanks @orithena!

@vifino: Yeah, it came up on linux when compiling with -O0 to get a full backtrace for #35 without variables being optimized out ^^

Ah, excellent, so it wasn't just macOS being weird, great!


Reuse buffer in IntMapBasedHolder processMultiValue()

Reuse the buffer for group ids to reduce garbage.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7955963). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff            @@
##             master   #1920   +/-   ##
========================================
  Coverage          ?   69.5%
========================================
  Files             ?     830
  Lines             ?   40167
  Branches          ?    5391
========================================
  Hits              ?   27920
  Misses            ?   10382
  Partials          ?    1865

Impacted Files
Coverage Δ

...tion/groupby/DictionaryBasedGroupKeyGenerator.java
97.56% <100%> (ø)

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 7955963...7fb1b19. Read the comment docs.


Add log rotation / pruning to docker configuration

Currently, we don't do any automatic log rotation or pruning, so we generate potentially large amounts of log data.  This took down the Mneme node when it filled the disk with logs. Instead we should probably configure some kind of log data; the limit could be pretty big (e.g., 50GB), just some limit so we don't fill the disk.

This killed the Mneme testnet again, and we should fix it before Orthosie.


Directions for finetuning

Hi, do you have any sample scripts to fine-tune and evaluate this model? Little detailed directions might be helpful.  Thanks !

Training and evaluation are conducted simultaneously, simply run "python3 train.py" :)


Update Docs for Configured Cluster Offer

The configured cluster offer now has App Gateway, Database, and Azure Active Directory support.  Update the docs to cover these features.

AB#1155140


2FA not supported..

I can't connect to my account for it is protected by 2FA.
The setup of the integration fails with an error: "unexpected error"
At the same time I  receive the second factor on my telephone..
Can this be added...
Thanks!!

Please search before opening a new issue. See: https://github.com/cyberjunky/home-assistant-garmin_connect/issues/117

Hi Velaar, sorry just missed it. I will close This one


Julian Day support missing

I think Moment.js is missing a method to convert a datetime to a Julian Day. The JD-system is used by astronomers.

I would have used this feature if it existed today.

+1 useful for astronomical purposes

old ticket, but is it implemented?


Add downcasts

Is your feature request related to a problem? Please describe.
I have a configuration where I have a struct containing a mapping that is frequently edited. Different declarations across my mapping require different subsets of that mapping inside their struct, but frequently not the whole thing.
In this same configuration, I sometimes use template-like objects that have definitions and I want to convert them to a more basic type without the definitions. For example:
#Object: {
  name: string
}

#MyTemplate: {
  #foo: string
  name: "foo-\(#foo)"
}

// ERROR: does not unify
#Object & {
  #MyTemplate
  #foo: "bar"
}

In both cases, I have to write a rather verbose and hard-to-understand comprehension to get the desired effect:
#Object & {
  let #expanded = {
    #MyTemplate
    #foo: "bar"
  }
  for k,_ in #Object { "\(k)": #expanded[k] }
}

Describe the solution you'd like
I'd like a kind of "downcasting" conversion that removes any fields in a struct that aren't in another struct. I don't have an informed opinion about syntax, but borrowing from Go's type conversion syntax, something like:
#Object & #Object({
  #MyTemplate
  #foo: "bar"
})

Describe alternatives you've considered
As mentioned above, this is possible in the language already using comprehensions, but is not obvious to those who haven't already dived deep into CUE what this is doing. A lack of user-defined functions makes it difficult to abstract the operation, thus bringing me to ask for language support. I could do something like (untested):
#Downcast: {
  #value: {...}
  #type: {...}
  #output: { for k,_ in #type { "\(k)": #value[k] } }
}

#Object & #Downcast{
  #value: {
    #MyTemplate
    #foo: "bar"
  }
  #type: #Object
}.#output

But this doesn't add terribly much clarity IMO, it just adds indirection.

I just realized that the downcasting should probably imply unifying with its value, so my desired solution would actually look like:
#Object({
  #MyTemplate
  #foo: "bar"
})

I wonder if having a binary operators like Python has for sets:

& for interestion
- for difference
^ for symetic difference
< subset test
> superset test
could be a different take to this issue?

@jlongtine pointed me to a recent discussion https://cuelang.slack.com/archives/CLT3ULF6C/p1599911085226700?thread_ts=1599910691.226200&cid=CLT3ULF6C which discuss a similar % operator.
It could user to keep the same mental model they have about unification (and other binary operator):
#Object % {
  #MyTemplate
  #foo: "bar"
}

While allowing easier chaining:
#Object % {
  #MyTemplate
  #foo: "bar"
} % {
  #MyTemplate
  #foo: "bar"
}

@proppy : I think having full set logic is entering scary territory. Perhaps in a struct package.
@zombiezen : a problem with the T(V) notation is that it doesn't jive well with the builtin syntax and possible functional interpretation of structs that can be a result of generalizing struct.  I wasn't able to come up with something better.
One thought I had though: the plan is to expand the selection operator to allow more types to both facility the query mechanism and label mechanism:
[pattern]: T // Apply T to fields matching pattern (already exists, but the pattern can match more)
(value): T   // create field label from dynamic value.

then the idea was to allow the following corresponding RHS selectors
a.[pattern]
a.(value)

These could be used wherever comprehensions are used now (they create streams). Not that this makes the a[x]operator somewhat redundant.
It is possibly problematic, but one idea would be to overload a.(value). That is, for concrete scalars it looks up a field, but for structs and lists, a.(T) would projects the streamed values of a onto T, discarding any field or element that does not exist in T. This can arguably be sold as a natural extension of the selection mechanism.
Coincidentally, it is also very close in syntax to Go's dynamic cast operator.
Anyway, just brainstorming here. I'm not sure if this actually would make sense logically. But it seems more feasible than T(a) at least.
For completeness of the whole query extension direction: the idea of the pattern selection operator would be allowed to be of the form [fieldPattern: T], either LHS or as RHS selector, where fields are matched as usual, and values of this field are further matched by T. There is more but this is probably already enough context.

This issue has been migrated to https://github.com/cue-lang/cue/issues/454.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Add more libraries

Please propose a list of libraries you want to add.

I found this list with open source libraries:
https://github.com/sobolevn/awesome-cryptography#frameworks-and-libs
Are there any important libraries that are missing?

Nice list, but I want you to propse a list that you are going to add.

I have added several new libraries to https://github.com/cryptocatalog/ultimate-crypto-comparison/tree/add-more-libraries/data.
I'm going to add more libraries in the future, but these should suffice for now to demonstrate the catalog and test for any issues that come with more libraries and more diverse information.

looks good 👍