CAIP Multichain API with permission refactor changes

Explanation
This diff is a bit messy since it also brings in the core PR that refactors the CAIP-25 permission which the caip-multichain-api branch doesn't have yet.
The main thing this PR does is adds getSessionScopes() which massages the new CAIP-25 permission into a NormalizedScopesObject
References

Changelog

@metamask/package-a

: Your change here
: Your change here

@metamask/package-b

: Your change here
: Your change here

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate
[ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@metamaskbot publish-preview


Add Avatar Component

Description
Add an avatar component with Storybook page.
Fixes #30
Key Changes / Features

Uses NgOptimizedImage to optimize performance
Supports manual and default fallbacks through an image placeholder
Storybook story with random avatar images

Further Resources

https://angular.dev/guide/image-optimization
https://www.spartan.ng/components/avatar

Checklist
General

[x] PR title is clear and descriptive
[x] PR description explains the purpose and changes
[x] Code follows project coding standards
[x] Self-review of the code has been done
[x] Changes have been tested locally
[x] Screenshots have been attached (if applicable)

Client (if applicable)

[x] UI changes look good on all screen sizes and browsers
[x] User experience and accessibility have been tested
[x] Added Storybook stories for new components
[x] Components follow design system guidelines (if applicable)

Screenshots

Generally looks good :)


C# example snippets for template deployments are corrupted

File: docs/reference/pkg/azure-native/resources/deployment.md
The Parameters property assignments are missing a value, which doesn't even compile.
It would be useful to have this be an actual working example of how to pass parameters, and also add an example that shows how to use an inline template JSON string rather than a template link.

This appears to be a bug in C# CodeGen.
An example of the broken C# code:
using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var deployment = new AzureNative.Resources.Deployment("deployment", new AzureNative.Resources.DeploymentArgs
        {
            DeploymentName = "my-deployment",
            Properties = new AzureNative.Resources.Inputs.DeploymentPropertiesArgs
            {
                Mode = "Incremental",
                Parameters = ,
                TemplateLink = new AzureNative.Resources.Inputs.TemplateLinkArgs
                {
                    QueryString = "sv=2019-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=<IP_ADDRESS>-<IP_ADDRESS>&spr=https&sig=xxxxxxxx0xxxxxxxxxxxxx%2bxxxxxxxxxxxxxxxxxxxx%3d",
                    Uri = "https://example.com/exampleTemplate.json",
                },
            },
            ResourceGroupName = "my-resource-group",
        });
    }

}

The equivalent correct TypeScript:
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const deployment = new azure_native.resources.Deployment("deployment", {
    deploymentName: "my-deployment",
    properties: {
        mode: "Incremental",
        parameters: {},
        templateLink: {
            queryString: `sv=2019-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=<IP_ADDRESS>-<IP_ADDRESS>&spr=https&sig=xxxxxxxx0xxxxxxxxxxxxx%2bxxxxxxxxxxxxxxxxxxxx%3d`,
            uri: "https://example.com/exampleTemplate.json",
        },
    },
    resourceGroupName: "my-resource-group",
});


dandi gui keeps spinning

tries to access publish.dandiarchive.org
to replicate: click on public dandisets

too old, no longer pertinent, if anythning - I would love more spinning ;)


No Vulnerabilities visible even though system has synced completely.

Is this a request for help?:
It is a request for help.
Is this a BUG REPORT or a FEATURE REQUEST? (choose one):
This is a BUG REPORT.

Version of Anchore Engine and Anchore CLI if applicable:
anchore-cli, version 0.4.1-dev
What happened:
I have installed anchore using the following commands:-
mkdir ~/aevolume
cd ~/aevolume
docker pull docker.io/anchore/anchore-engine:latest
docker create --name ae docker.io/anchore/anchore-engine:latest
docker cp ae:/docker-compose.yaml ~/aevolume/docker-compose.yaml
docker rm ae
docker-compose pull
docker-compose up -d
vim docker-compose.yaml
sudo apt-get install python-pip
git clone https://github.com/anchore/anchore-cli
cd anchore-cli
export ANCHORE_CLI_URL=http://localhost:8228/v1
export ANCHORE_CLI_USER=admin
export ANCHORE_CLI_PASS=foobar
source ~/.profile

I want to find out the vulnerabilities for alpine:latest image.
Image Digest: sha256:bf1684a6e3676389ec861c602e97f27b03f14178e5bc3f70dce198f9f160cce9
Parent Digest: sha256:769fddc7cc2f0a1c35abb2f91432e8beecf83916c421420e6a6da9f8975464b6
Analysis Status: not_analyzed
Image Type: docker
Image ID: 055936d3920576da37aa9bc460d70c5f212028bda1c08c0879aedf03d7a66ea1
Dockerfile Mode: Guessed
Distro: alpine
Distro Version: 3.9.4
Size: 5806080
Architecture: amd64
Layer Count: 1

Full Tag: docker.io/alpine:3.9

Full Tag: docker.io/alpine:latest

$ anchore-cli image wait alpine:3.9
Status: analyzing
Waiting 5.0 seconds for next retry.
Status: analyzing
Waiting 5.0 seconds for next retry.
Status: analyzing
Waiting 5.0 seconds for next retry.
Status: analyzing
Waiting 5.0 seconds for next retry.
Status: analyzing
Waiting 5.0 seconds for next retry.
Status: analyzing
Waiting 5.0 seconds for next retry.
Status: analyzing
Waiting 5.0 seconds for next retry.
Image Digest: sha256:bf1684a6e3676389ec861c602e97f27b03f14178e5bc3f70dce198f9f160cce9
Parent Digest: sha256:769fddc7cc2f0a1c35abb2f91432e8beecf83916c421420e6a6da9f8975464b6
Analysis Status: analyzed
Image Type: docker
Image ID: 055936d3920576da37aa9bc460d70c5f212028bda1c08c0879aedf03d7a66ea1
Dockerfile Mode: Guessed
Distro: alpine
Distro Version: 3.9.4
Size: 5806080
Architecture: amd64
Layer Count: 1

Full Tag: docker.io/alpine:3.9

Full Tag: docker.io/alpine:latest

$ anchore-cli image vuln alpine:3.9 os

Nothing comes after the last command.
$anchore-cli system feeds list

Feed                   Group                  LastSync                          RecordCount
vulnerabilities        alpine:3.3             2019-05-28T08:37:53.593476        457
vulnerabilities        alpine:3.4             2019-05-28T08:37:54.545918        681
vulnerabilities        alpine:3.5             2019-05-28T08:36:15.718445        875
vulnerabilities        alpine:3.6             2019-05-28T08:36:18.967229        1051
vulnerabilities        alpine:3.7             2019-05-28T08:36:22.456991        1125
vulnerabilities        alpine:3.8             2019-05-28T08:37:43.369551        1220
vulnerabilities        alpine:3.9             2019-05-28T08:37:44.656567        1218
vulnerabilities        amzn:2                 2019-05-28T08:37:45.903830        172
vulnerabilities        centos:5               2019-05-28T08:37:47.104866        1323
vulnerabilities        centos:6               2019-05-28T08:37:48.170477        1332
vulnerabilities        centos:7               2019-05-28T08:36:39.281128        791
vulnerabilities        debian:10              2019-05-28T08:37:10.548008        20263
vulnerabilities        debian:7               2019-05-28T08:37:21.928507        20455
vulnerabilities        debian:8               2019-05-28T08:37:23.987828        21713
vulnerabilities        debian:9               2019-05-28T08:37:28.010538        20478
vulnerabilities        debian:unstable        2019-05-28T08:37:31.751848        21135
vulnerabilities        ol:5                   2019-05-28T08:37:33.192367        1232
vulnerabilities        ol:6                   2019-05-28T08:37:34.373439        1412
vulnerabilities        ol:7                   2019-05-28T08:37:35.581793        909
vulnerabilities        ubuntu:12.04           2019-05-28T08:37:36.879804        14948
vulnerabilities        ubuntu:12.10           2019-05-28T08:37:37.819479        5652
vulnerabilities        ubuntu:13.04           2019-05-28T08:37:38.908679        4127
vulnerabilities        ubuntu:14.04           2019-05-28T08:37:00.808987        18576
vulnerabilities        ubuntu:14.10           2019-05-28T08:37:01.936092        4456
vulnerabilities        ubuntu:15.04           2019-05-28T08:37:02.883150        5789
vulnerabilities        ubuntu:15.10           2019-05-28T08:37:03.775061        6513
vulnerabilities        ubuntu:16.04           2019-05-28T08:37:06.525311        15674
vulnerabilities        ubuntu:16.10           2019-05-28T08:37:08.374776        8647
vulnerabilities        ubuntu:17.04           2019-05-28T08:37:41.476778        9157
vulnerabilities        ubuntu:17.10           2019-05-28T08:34:41.875413        7935
vulnerabilities        ubuntu:18.04           2019-05-28T08:35:58.011266        9926
vulnerabilities        ubuntu:18.10           2019-05-28T08:37:50.412415        8013
vulnerabilities        ubuntu:19.04           2019-05-28T08:37:52.467066        6464

What did you expect to happen:
Atleast one vulnerability should have come.

Any relevant log output from /var/log/anchore:
What docker images are you using:
Alpine:latest
How to reproduce the issue:
Commands have been mentioned above.
Anything else we need to know:
It gave vulnerabilities for ubuntu:latest, however not working for alpine.

hi @nehaj27 ,
Generally, if the feeds are listed as being present and synced (in your output, they are), and the vulnerability result is empty, the meaning is that there are no detected vulnerabilities in that image.  Over time, as the image content for that particular digest stays static but new vulnerabilities are found (anchore syncs new vulnerability data automatically), they will start appearing in the scan result.  You can synthesize this by looking into an 'older' alpine image - lets take docker.io/node:7.1.0-alpine, which is an image that was pushed three years ago (based on alpine 3.4):

 # anchore-cli image vuln docker.io/node:7.1.0-alpine all
Vulnerability ID        Package                       Severity        Fix               Vulnerability URL
CVE-2016-6301           busybox-1.24.2-r11            High            1.24.2-r12        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6301
CVE-2016-9841           zlib-1.2.8-r2                 High            1.2.11-r0         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9841
CVE-2016-9843           zlib-1.2.8-r2                 High            1.2.11-r0         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9843
CVE-2016-7055           libcrypto1.0-1.0.2j-r0        Low             1.0.2k-r0         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7055
CVE-2016-7055           libssl1.0-1.0.2j-r0           Low             1.0.2k-r0         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7055
CVE-2018-5407           libcrypto1.0-1.0.2j-r0        Low             1.0.2q-r0         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5407
CVE-2018-5407           libssl1.0-1.0.2j-r0           Low             1.0.2q-r0         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5407
...
...
...

Let us know if this helps clarify what you're seeing or if you have further questions!

Thank-you for your comment.
I wanted to know if anchore supports google containers registry?

hi @nehaj27 ,
Anchore does support GCR (in general, docker registries that support v2) - there is some information at our docs site on some specifics for GCR, here - https://docs.anchore.com/current/docs/using/ui_usage/registries/

I'll close out this issue - please open another if there are any follow-up issues/concerns with GCR (new topic)!


Skip calling subscribers when an action doesn't change the state at all

New Features
Skip notifying subscribers when a dispatched action doesn't change the current state at all
What is the new or updated feature that you are suggesting?
Currently, when a dispatch happens, all subscribers (aka listeners) are called.
However, instead, a small performance optimization could be added that only calls listeners if the new state is not referentially equal to the previous state. This could be implemented with just a few extra lines of code in the current dispatch method.
While not necessarily the ideal code, this feature could be implemented as simply as something like this:
     try {
       isDispatching = true
-      currentState = currentReducer(currentState, action)
+      const prevState = currentState;
+      currentState = currentReducer(prevState, action)
+      if (prevState === currentState) {
+        return action
+      }
     } finally {
       isDispatching = false
     }

Why should this feature be included?
The main motivation here is as a performance optimization. If an action changes no state, there's no point to re-call subscribers. This changes lines up quite nicely with the architecture and philosophy of redux: "The intended guarantee is that Redux eventually calls all subscribers with the most recent state available, but not that it always calls each subscriber for each action." In applications that dispatch many actions only of which a few lead to state changes, this performance difference can be quite noticeable.
Possible (imo invalid) objections:
One objection might be that an action that changes no state shouldn't be dispatched in the first place. However, as reducer implementation is a black box from the point of view of an action dispatcher, I don't think it's fair for code at the dispatch site to have to determine if a state change will happen or not.
Another objection might be that this functionality can easily be implemented as a store enhancer, so why change redux core? However, in my opinion, implementing a store enhancer to do this is fairly complex because it ends up needing to overwrite so much of the core redux store logic (related https://github.com/reduxjs/redux/pull/3836#issuecomment-668719187).
A third objection would be that doing a top-level referential equality check on state would mess things up for people who aren't handling data in the store immutably. This is true, however, immutability is required by redux so this isn't a usecase that we need to worry about.
A fourth objection would be that adding an extra conditional to redux's dispatch method would decrease performance for actions that do actually modify state. While this is true, I would think this effect would be so small that it isn't necessary to consider.
Actual downsides:
While I don't think the above objections are valid, there are a few actual downsides that I can imagine. The biggest one is that I'm not sure this change would have the intended effect when redux dev tools are in use. IIUC, redux devtools enhance the store and end up storing a lot of extra metadata in the state (invisibly to the application). So for actions that don't modify application state at all, redux devtools might still modify its extra part of the state, causing the proposed performance optimization to have no affect.
The other possible downside is simply that this is a slight change in existing behavior. While it seems harmless to me, I can't be sure if people are somehow relying on actions with no state changes to still call subscribers.
Questions
So all of that said, two things I'd be curious about: 1) if this change seems like a good one, and 2) if so, if the concern about redux devtools mentioned above is correct and if it would need a workaround or not. Thanks!

There are many use cases where dispatching doesn't update state, but still wants to notify subscribers. This is most common with things that have side effects outside of the dispatch that need to be "cleaned up" after the dispatch completes.
The philosophy quote you have above is in reference to store enhancers or middleware that delays the dispatch, such as when waiting for a network request. It's not intended as a performance optimization, just a reality of how Redux might be used.
If this kind of behavior is wanted, we leave that up to the user, because where you place the de-duplication code is very relevant. Having it in a specific place in your middleware stack could be very important to other middleware that relies on duplicates going through to subscribers. We can't break that behavior at the very core dispatch level, because it becomes impossible to override. Instead, we'll continue to leave this in users' hands.

Thanks for the detailed responses - makes sense that such a change would be overly breaking (even regardless of if it makes sense semantically or not).

(Interestingly, I note that we don't appear to have a if (currentState === prevState) return bailout here, while we do have one in connect.)

That is interesting - perhaps that's a more narrowly-scoped optimization that would make sense. I suppose it could still be a bit breaking, if you had a useSelector(state => state, () => false) call for some reason, but seems like it would be a reasonable improvement in many cases. It would definitely help in the cases where the passed selector or equality function weren't especially trivial (which probably happens more often than it should I expect!)

Another possible optimization which increased performance on one of the projects I worked on dramatically - throttling notifications from Redux and marking certain actions as "passive" causing them update state if needed but not notify.
It is something to be used with care because essentially it breaks default lifecycle of Redux and should not be included in default Redux functionality. But still, maybe someone will find it worth to try:
https://www.npmjs.com/package/redux-notification-enhancer


Update Recommended Private DNS Zone Names to Required

The recommended Private DNS Zone names are required to be used for DNS records to be deployed correctly and certificates to function inside of PaaS services. Could a sentence be added or amended to highlight the necessity of using the correct zone names?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a88af182-32aa-a8f3-359d-b92ae1cfb8c7
Version Independent ID: 01ce07fc-4bc2-def5-9ecd-a80330ad9488
Content: Azure Private Endpoint DNS Configuration
Content Source: articles/private-link/private-endpoint-dns.md
Service: private-link
GitHub Login: @mblanco77
Microsoft Alias: allensu

@shooker
Thanks for your feedback! We will investigate and update as appropriate.

@shooker Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#please-close


[WIP] Add cross lingual document + Fix cpu training

Add cross lingual document.

Job PR-1568-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1568/2/index.html

Job PR-1568-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1568/5/index.html

Job PR-1568-6 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1568/6/index.html

Job PR-1568-11 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1568/11/index.html

Job PR-1568-12 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1568/12/index.html


fix: fix alternative version installation

Pull Request Checklist

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR
[ ] Pre-Commit Checks were ran and passed
[ ] Tests were ran and passed

Description

Ensure correct version is installed
Add extra cache file to ensure distinct caches

Close Issue(s)

Closes #388

@adhtruong, if you want a faster feedback looping when testing things, you can try taking a look at act. Or you can just keep on pushing to this branch to trigger the workflows. Either way is fine. Completely up to you.

@adhtruong, if you want a faster feedback looping when testing things, you can try taking a look at act. Or you can just keep on pushing to this branch to trigger the workflows. Either way is fine. Completely up to you.

Interesting. Will look into this and set up!


Add project to awesome-runners list

Hi @tetchel,
I've spent a bit of time to help people find self-hosted GitHub Action solutions, I think its going to be huge and wanted to help people to discover them.
I am following your project for some time, and am happily using it, so I added it to the list https://github.com/jonico/awesome-runners 🏃
I have also added a badge (if you are interested):

Keep up the great work 👍

Hey, awesome! Thank you!


how to fixed rotate 90 degree in ios

how to fixed rotate 90 degree in ios?

Please don't ignore or delete the issue template. As it stands, without the details required by that template, it is not possible for me to even determine what you are referring to, since Fine Uploader already orients images correctly.
If you are attempting to report a bug or ask for a new feature, please open up a new issue, follow the template, and provide as much detail as possible. For a "how do I do this?" type of question, post on Stack Overflow under the fine-uploader tag.


Prevent deletion’s of .m3u8 after the stream ends

Prevent deletion’s of .m3u8 after the stream ends We want to make playback after the streaming is over the these .m3u8 files are important so how can I prevent from deleting.

in node_trans_session.js file comment out the following lines
// fs.readdir(ouPath, function (err, files) {
//   if (!err) {
//     files.forEach((filename) => {
//       if (filename.endsWith('.ts')
//         || filename.endsWith('.m3u8')
//         || filename.endsWith('.mpd')
//         || filename.endsWith('.m4s')
//         || filename.endsWith('.tmp')) {
//        // fs.unlinkSync(ouPath + '/' + filename);
//       }
//     });
//   }
// });

Hello @gigabyteservice found a solution ? apart that from @pream912 ? facing the same issue.

@pream912  it's same as deleting fs.unlinkSync(ouPath + '/' + filename); files stays but it can only last 2 sec of video no whole video

set hlsFlags to change playlist type.
trans: {     ffmpeg: '/usr/bin/ffmpeg',     tasks: [       {         app: 'live',         hls: true,         hlsFlags: '[hls_time=5:hls_list_size=3:hls_playlist_type=event]',       }     ]   }
P.S: remove hls_flags=delete_segments if its there already.

trans: {
    ffmpeg: '/usr/bin/ffmpeg',
    tasks: [
      {
        app: 'live', // or other
        hls: true,
        hlsFlags: '[hls_time=1:hls_list_size=2:hls_playlist_type=event]',
        dash: true,
        dashFlags: '[f=dash:window_size=3:extra_window_size=5]',
		mp4: true,
        mp4Flags: '[movflags=frag_keyframe+empty_moov]',
        'websocket-flv': true,
      },
    ],
  },

even after following your config, still it's not working. this new config changes not even saving the files while commenting this line  // fs.unlinkSync(ouPath + '/' + filename); at least saving the file but video is not playing. @pream912


Navigation bar customization

Changes

Added three navbar  blocks to base.html template (nav, nav-app-links and nav-default-links) which allow customization of navbar
Refactored render_link_list  to render_link_list and render_documentation_links to allow more customization

Fixes
Fixes #64
Checklist

[x] I have read the CONTRIBUTING doc
[x] Existing unit tests pass locally with my changes
[x] I have added unit tests that prove my that my feature works
[x] I have added necessary documentation

Rebasing confused the actual diff. Will Reopen new PR


New version: NextGP v1.2.0

Registering package: NextGP
Repository: https://github.com/datasciencetoolkit/NextGP.jl
Created by: @datasciencetoolkit
Version: v1.2.0
Commit: 05dbb86b84f2e631c0d83d58a1976d9be9e07323
Reviewed by: @datasciencetoolkit
Reference: https://github.com/datasciencetoolkit/NextGP.jl/issues/60
Description: Next Generation Genomic Prediction Tools

merge approved

[merge approved]


doc: update build section of READMEs and remove misleading comment

Clarify that gx is not needed to run the examples and fix small grammar
errors in READMEs.
Fixes https://github.com/libp2p/go-libp2p-examples/issues/31

Ping @Stebalien. I'd be happy to change things around if you'd like

I'm happy to merge this.

lgtm. once conflicts are resolved, we can merge.i

@bigs @anacrolix rebased and updated. Thank you for reviewing!


[ArPow Stage 4] Remove any prebuilts and enable regression block for roslyn-analyzers

See ArPow stage descriptions for details.

This issue is superseded by https://github.com/dotnet/source-build/issues/3017.


SpaceWire protocol decode

If anybody comes across an extra satellite they can loan me for a bit to do some protocol development, let me know...

The spacewire protocol is available from https://ecss.nl/standard/ecss-e-st-50-12c-rev-1-spacewire-links-nodes-routers-and-networks-15-may-2019/

I am getting a GR740-mini later this month and can take a crack at this.
https://gaisler.com/index.php/products/boards/gr740-mini


Custom equality operator

Is your feature request related to a problem? Please describe.
Hi, thanks for creating this tool. I've been happy tinkering with it, but I've come across a small sharp edge. In testing, I have  habit of using == to compare a result to an expected value. This does not seem to work here since the Element class does not offer a custom equality operator:
>>> from mendeleev import element, O
>>> def f():
...     return element(8)
...
>>> assert f() == O
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AssertionError
>>> assert f() == element(8)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AssertionError
>>> assert O == O  # passes

This is different from usage in other similar implementations, such as OpenMM:
>>> from openmm.app.element import Element
>>> assert Element.getByAtomicNumber(8) == Element.getByAtomicNumber(8)

Describe the solution you'd like
It would be useful for the __eq__ operator to override the default object.__eq__, which defaults to id.  This can be overridden, probably with something that runs through each attribute and checks for them to be equal; I'd be happy to write up a PR if this sounds like a reasonable addition.
Describe alternatives you've considered
This can be worked around easily enough, i.e.
>>> assert f().symbol == O.symbol

Thanks for reporting this, let me have a look and come back to you. Could you describe your use in a bit more detail?

The function above is a stripped-down version of a unit test; we want to pull down an atom from some chemical representation (topology, molecule, etc.) and make sure its element is what we expect. For this I'm used to using ==, which fails as described above. Here is one such unit test for which directly swapping in mendeleev will not give the expected result using ==.

I drafted a PR #43 that should allow for using == and != between operators. I've added simple test cases but I would be grateful if you could have a look and see it that would address you use case. Let me know if you have any comments or suggestions.


[Resolved] Module not found: Error: Can't resolve 'webpack-dev-server' ...  on 1.0.0-beta.18

OS?

Linux CentOS

Versions.

angular-cli: 1.0.0-beta.18
node: 6.9.1
os: linux x64

Hello guys. :)
I tried to update my angular-cli from beta.17 to beta.18. I uninstalled the angular-cli.. Cleaned the npm cache and installed<EMAIL_ADDRESS>I created a new project with ng new ProjectName, but when I tried to ng serve I got:
ERROR in multi main
Module not found: Error: Can't resolve 'webpack-dev-server/client?http://IP:4200/' in '/home/user/.nvm/versions/node/v6.9.1/lib/node_modules/angular-cli/models'
 @ multi main

Anyone?
Thanks :)))

Same here

Using angular-cli@latest will install you a weird beta called mobile.whatever instaead of beta.18. You should specify beta.18 when installing.

@alexlacasa86
Same error, 'npm i -g<EMAIL_ADDRESS>with node v7.0.0 on ng serve

What if you run "npm install" in your project directory?

I have angular-cli installed both globally and locally in the package.json. Make sure both of them are the same version. I am currently working with beta18 with no issues.

@knobo Already tried this. Thank you.
@alexlacasa86 I am uninstalling the node version with 'nvm uninstall vX'.. That remove all packages... I cleaned the cache and I maked a new installation. I am trying to generate new project and still getting this error when I try to serve the application. The version of the project is beta.18
LOL installing angular-cli locally fixed the issue. Thank you guys

I installed angular-cli locally and did a npm install, still the same problem after run "ng serve".

Possible to reopen the issue?

What I did was Installing typescript globally<EMAIL_ADDRESS>globally, ng new AppName. npm i<EMAIL_ADDRESS>--save

I updated to the latest 6.* version, deleted node_modules folder and did a npm install again, after this it worked.

updating to the latest versions of node/npm worked for me too ! thanks

this is really frustrating I'm still having this problem,
$ ng version
  angular-cli: 1.0.0-beta.19-3
  node: 7.0.0
  os: linux x64
$ npm -v
  npm: 3.10.9

I did everything here, I started a new project I got this error from the start!
I deleted node_modules and run npm install again same error!!
is there a solution for this?

Hello @yahyaKacem.
If you are using nvm, try to uninstall your node version and install the latest node again. Run 'npm cache clear' and update your npm - 'npm update npm -g'
Try to install angular-cli again. If this not works on beta.19-3, try to install beta.18 before other releases :))
Regards

@mmilkov I did in a new project root directory:
$ nvm uninstall v7.0.0
$ nvm clear-cache
$ nvm install v7.0.0
$ npm cache clean
$ npm install angular-cli -g
$ npm update npm -g
$ rm node_modules -r
$ npm install
$ ng serve

after that npm version became 4.0.1.
but still the same error, then I installed the beta.18 and had the same error.
I also tried with node 6.9.1 and 6.9.0, the same result.
I even tried making a new project after installing the beta.18 but still the same error.
it may be worth mentioning that I get errors during the install of angular-cli:

node-pre-gyp ERR! Tried to download(403): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.1-node-v51-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v51 ABI) (falling back to source compile with node-gyp)

then it complain about 2 missing packages reflect-metadata and portfinder after I install those globaly and locally it work but with the same error:

ERROR in multi main
Module not found: Error: Can't resolve 'webpack-dev-server/client?http://localhost:4200/' in 'project/folder/node_modules/angular-cli/models'
@ multi main

but as you can see it complains about the local angular-cli not the global one 'project/folder/node_modules/angular-cli/models'

My problem was that I have set npm to install the packages in a legacy bundling way by adding this line to /home/user/.npmrc file: legacy-bundling=true, removing that file and reinstalling everything solved my problem.

Running on OSX El Capitan
Updated to the Beta.18 locally and globally made sure to do
npm uninstall angular-cli
npm uninstall angular-cli -g
npm cache clean
make sure it is removed by testing the ng serve
remove the node_modules globally if the angular-cli folder is anywhere outside the project
my build is running fine

I had to install the modules:
webpack-dev-server
ansi-regex
debug
inherits
json3
ms
querystringify
requires-port
sockjs-client
strip-ansi
url-parse

I resolved this issue by installing the dev-dependencies.
ng init
npm i
npm i --only=dev --> somehow npm i does not suffice to install dev dependencies
ng serve

Installing angular-cli locally worked for me.
npm install angular-cli --save-dev

angular cli 1.0.0-rc.2 with latest node + npm on Ubuntu 16.04.2 LTS
this stuff is broken again and earlier fixes do not work anymore.
make angular-cli great again!

webpack-dev-server --no-inline

I just deleted node_modules folder then do "npm install" it worked!

Solved!
Installing right version of angular cli worked!
Angular packages are 4.4.3,
Angular-Cli updated to 1.0.0-beta.28.3


PF2 5.12 sheet updates causing hard to read elements

After the pf2 5.12 updates to how language and speed are displayed on the sheet, the dark theme now has some issues displaying this data. Screenshot attached.

Seems the NPC sheet has similar issues for Initiative, Saving Throws, Senses, and Skills as well.

Fixed in 3.3.6


Fix alignment for 32 bit compilers

I've managed to run etcd + fleet on odroid u3 (ARM) and wandboard (ARM). It seems to work correctly after these few alignments are changed. I believe this patch won't cause much harm? Anyway it work perfectly fine so far, I've expected more failures due frequent sync but I'm using emmc + ssd memory, so it is not so bad.
I'll make some stress tests in a while.

@xiang90 Yeah, certainly comments are required. Is that ok?

Some random thought for implementation: what about add a align int64 field at the head of these structs? It makes code cleaner and doesn't introduce overhead because all these structs are created only once per etcd life cycle.

@yichengq That might be ok, but yet it is still extra variable. There is very little places where alignment is needed, so I'll leave it as it is. For now

@mkaczanowski I would like to merge this, but there is still no guarantee that etcd can work well on 32bit machines. :(

Can you please squash the commits and change the commit message to *: fix alignment for 32 bit compilers

Yeah sure.

@mkaczanowski If we merge this can we ask you to maintain it moving forward and ping you when folks have other questions about etcd + 32bit?

@philips Sorry for late response, I've been away. Yes I'm totally fine with that. I'll help as much as I can.

Can we get this merged?

I believe, yes.

@yichengq That might be ok, but yet it is still extra variable. There is very little places where alignment is needed, so I'll leave it as it is. For now

It's a lot cleaner though and since it's a very specific problem we shouldn't refactor struct fields to address it: https://github.com/openshift/origin/pull/1938

@mkaczanowski We merged https://github.com/coreos/etcd/pull/3249 to fix this issue. It would be great if you can keep an eye on arm build. Thanks!


Which version of caffe2 do you use?

Hello, I get the caffe_old from the url you provide in README.md, but I do not know which version it is.

https://github.com/dongfangduoshou123/DaSiamRPN-Caffe2/issues/7
In this issue, have the url to download the caffe2 version what i used.
In CmakeLists.txt of root dir, has the info of version like:
project(Caffe2 CXX C)
set(CAFFE2_VERSION_MAJOR 0)
set(CAFFE2_VERSION_MINOR 8)
set(CAFFE2_VERSION_PATCH 2)
set(CAFFE2_VERSION
which means the version is 0.8.2

@dongfangduoshou123  Thanks for your quick reply. But I get a problem when using your pytorch.
I successfully install caffe2 to my /xxx/local/anaconda2/lib/python2.7/site-packages: by running python setup.py install using conda env. But I can not  import caffe2, it shows error:
 File "transferToCaffe2.py", line 14, in <module>
    from caffe2.python import core
ImportError: No module named caffe2.python

Of course, I add the dir /xxx/local/anaconda2/lib/python2.7/site-packages: to my PYTHONPATH.
Can you give some advises?

I install caffe2 by use cmake to /usr/local.
your /xxx/local/anaconda2/lib/python2.7/site-packages dir has the caffe2 sub_dir?
maybe you installed it to /xxx/local/anaconda2/lib/python2.7/site-packages/dist-packages

@dongfangduoshou123  Thanks for your reply. Whoops, when I use cmake as you said above, I can  install caffe2 successfully, but got another error when run python transferToCaffe2.py:
WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode.
WARNING:root:Debug message: No module named caffe2_pybind11_state_gpu
CRITICAL:root:Cannot load caffe2.python. Error: /xxx/pytorch_dongfangduoshou123/build/caffe2/python/caffe2_pybind11_state.so: undefined symbol: _ZTVN6caffe213EnforceNotMetE

It's not the transferToCaffe2.py's problem,  caffe2's is import failed.
your caffe2 maybe not installed correctly; this log "WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode."  means you install caffe2 without GPU support.
The useage of this script is just run:
python transferToCaffe2.py
Note:you need edit line 190 (pnet.load_state_dict(torch.load('/opt/about_tracking/SiamRPNBIG.model')))
to your path, I have not add command line support for params yet.
I think you can install caffe2 successfully, and import caffe2 in python successfully(which is your the problem), then the code will be work well.


run hook stop for commands or commands list

I have plugin for database connection. Inside plugin i add stop application hook for closing database connection.
When run node index.js i get list of commands, but not exit to shell.
When run node index.js routes i get routes, but not exit to shell.
Commands start application, with plugins, but when command finished, does not stop application properly.
Need run application stop hook after command finished or command list printed.

The start hook is tied to the server, and the server is never started for the command list. I don't understand your use case i'm afraid.

Yes server not started, but  all plugins loaded. Part of my redis plugin
  const redis_instanse = createClient(app.config.redis) ?? {};
  redis_instanse.on('error', err => app.log.error(`Redis Client Error: ${err}`));
  redis_instanse.connect();

  app.addHelper('redis', redis_instanse);

  app.addAppHook('stop', () => redis_instanse.quit());

When command executed, connection to redis don't closed and command hang up.
I see solution as always run stop application hook.

Then why don't you connect in the start hook?

Because inside command I want use helpers from context like this
  const ctx = app.newMockContext();

  const client = await ctx.redis();
  const res = await client.get('TEST');

That's why start hook not useful. Connect on demand, in my case something like this and for me this is excess code.
  app._redis = null;

  app.addHelper('redis', async (ctx: MojoContext) => {
    if (app._redis == null) {
       app._redis = createClient(app.config.redis['connection'] ?? {});
       app._redis.on('error', err => app.log.error(`Redis Client Error: ${err}`));
       app._redis.connect();
    }

    return redis_instanse;
  });

I'm starting to see your point. Maybe a cleanup hook would make sense that runs at the very end, always. But i'm worried about the implications for testing, since no commands run there.

I think would be great two hooks startup which always run at the begin and cleanup which always run at the end.

Bad idea with additional hooks. Need only two hooks, start and stop. start run before all commands, not only server,
stop always at the end.

That doesn't work, since there are many cases where no command runs at all. Like the test user agent starting and stopping a mock server.

Since nobody came up with a better idea we now have two hooks, command:after and server:stop.


[SPARK-31671][ML] Wrong error message in VectorAssembler

What changes were proposed in this pull request?
When input column lengths can not be inferred and handleInvalid = "keep",  VectorAssembler will throw a runtime exception. However the error message with this exception is not consistent. I change the content of this error message to make it work properly.
Why are the changes needed?
This is a bug. Here is a simple example to reproduce it.
// create a df without vector size
val df = Seq(
  (Vectors.dense(1.0), Vectors.dense(2.0))
).toDF("n1", "n2")

// only set vector size hint for n1 column
val hintedDf = new VectorSizeHint()
  .setInputCol("n1")
  .setSize(1)
  .transform(df)

// assemble n1, n2
val output = new VectorAssembler()
  .setInputCols(Array("n1", "n2"))
  .setOutputCol("features")
  .setHandleInvalid("keep")
  .transform(hintedDf)

// because only n1 has vector size, the error message should tell us to set vector size for n2 too
output.show()

Expected error message:
Can not infer column lengths with handleInvalid = "keep". Consider using VectorSizeHint to add metadata for columns: [n2].

Actual error message:
Can not infer column lengths with handleInvalid = "keep". Consider using VectorSizeHint to add metadata for columns: [n1, n2].

This introduce difficulties when I try to resolve this exception, for I do not know which column required vectorSizeHint. This is especially troublesome when you have a large number of columns to deal with.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Add test in VectorAssemblerSuite.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

The change looks good except one minor comment.

Jenkins test this please

Test build #122508 has started for PR 28487 at commit f3fa686.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27169/
Test PASSed.

Test build #122508 has finished for PR 28487 at commit f3fa686.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122508/
Test PASSed.

Merged to master/3.0/2.4


need change/update history

I found the Windows Terminal (Preview) in Microsoft Store has updated but I cannot find change/update log, so I don't know what's new and which bug has been fixed.

The release notes are in the store listing.

The release notes are in the store listing.

I'm so sorry, but I am not able to find update notes in the store listing, after I switched language to English even. I think an a web page to list update history may be useful.

@HolyChen That looks like it might be a Microsoft Store bug of some sort. I can definitely see a What's new in this version section before the Additional information. And for me the Screenshots come before the People also like section. I guess your version of the store uses a different layout that doesn't include the What's new section.
In any event, you should still able to see the What's new section on the web version of the store. Try this link: Windows Terminal (Preview)


Add Blast Processing Fusion Collab by Robvatopper and more

Song Name
Blast Processing Fusion Collab
Artist Name
OMFG, Toby Fox, Crazy Frog, Daft Punk and more
Source
Youtube
Youtube Link
5wQ2rFS-Zd4
Direct File Link
No response
Song ID
507560
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 26935043
Downloaded: Yes

accept


Expose ChainCode::PrepareCodeTable in Python?

Component
PyDIP 3.3.0
Describe the bug
AFAICT, PyDIP currently doesn't expose PrepareCodeTable (or Code.Delta4()/Code.Delta8()), which means that one cannot convert a list of chaincodes into a list of coordinates (other than by copy-pasting and hard-coding the deltas4/deltas8 tables given in chain_code.h).
Actually the API of PrepareCodeTable is slightly unpythonic (I guess the pointer offsets are usually irrelevant for a python caller), so it may be even better to have e.g. PrepareCodeTable() take no args and just return the position offsets table, but sticking to the C++ API would be fine too.
To Reproduce
N/A
System information:

What OS do you have? Fedora 37
If PyDIP, what version of Python do you have? 3.10

Use the Polygon() method to convert the chain codes to coordinates. Though it doesn't return the coordinates of pixels around the edge of the object, but rather coordinates in between the object and background pixels.
We could expose the PrepareCodeTable() method, returning only the position offsets as a list of 2-tuples (which would be straight-forward to convert to a NumPy array). I agree the offsets are likely not useful in Python code, none of the Image methods that use an offset for indexing are exposed to Python. But then we might as well expose the deltas4 and deltas8 arrays (they're currently not documented, but public).
The alternative is to add a method similar to Polygon() that converts the chain codes to the corresponding pixel coordinates. This could be added to the C++ API, and exposed to Python. Maybe Coordinates(), returning a dip::CoordinateArray.

Unless I am mistaken, Polygon() doesn't allow (at least from Python) to convert to coordinates either?

The dip.Polygon object returned uses the buffer protocol, so you can cast it to a NumPy array. It actually implicitly casts, so you can directly use it as input to NumPy functions. You can also index it directly to get back an (x,y) tuple, and iterate over it.

Ah, sorry, I didn't realize that, thanks for pointing this out.
Still, what I care about is indeed the pixels on the edge, not the coordinates between object and background, so some way of getting coordinates from the chaincode would be appreciated.

Thanks for the quick fix :)


[android_alarm_manager] Update minSdkVersion to 19

Description
Update the minSdkVersion in plugins using hybrid composition to 19 so that runtime exceptions do not occur. See https://github.com/flutter/plugins/pull/2840
Related Issues
flutter/flutter#59894
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

We apologize for the long delay in triaging this PR. We’re in the process of overhauling our PR triage system to respond much more quickly, as well as working through the backlog.
This PR touches a large number of plugins, many of which do not use platform views (e.g., device_info, path_provider, etc.) If there are still plugins where this is an issue, please file new PRs that target individual plugins using platform views, and we'll make sure they are reviewed quickly. Thanks!


Update 'connect [Slack] workspace' link to create a new classic app

The current link to https://api.slack.com/apps?new_app=1 takes the user to create a new application however the current integration requires what's considered a "classic" Slack app which can be created by going to https://api.slack.com/apps?new_classic_app=1 instead.

[x] Slack has signed the Atlassian Corporate CLA

Thanks, @marks. @utluiz or @mvlasovatl will get this merged & released when they can.


feat: ztinywave

Future roadmap

I'm working on dynamic source analyzer using AST to completely de-obfuscate the JavaScript Obfuscater.
It's origin is my personal IDA plug-in which can completely resolve dynamically calculated static values but it's not general purpose ready.
Asdefuser project will be updated infrequently to support other environments rather than the UserScript applicable.
UserScript version will evolve to reduce the version change: from decoding the string value to hide AdBlock use instead

Due to roadmap issues, I'm not adding tinywave into asdefuser package. It's only available at UserScript only yet.


3.47 minutes to import a database with 67 records/17 classes. An I doing something wrong?

Hi Guys
I'm playing around with OrientDB to see if it could be part of a technology stack for a big client of mine. Thank you for a great product. I just want to know if the following is normal and if I should be worried about it.
Linux Version: Arch Linux (updated)
OrientDB Version: 2.0.4 - vanilla out the box, no config changes.
Computer: I7 Intel 3.2Mhz
Sata 3: 6Gbit/s with Seagate 7200rpm drive
Total clusers: 17
Total records 67
If I import a database that was exported via the studio, it takes 3.47 minutes (or 208264 ms) to complete. zsh tells me it put a "user" load of 53 and a system load of 35. That seems very high for 67 records. When you monitor the realtime harddisk I/O, it is at 80 - 90% constantly. It's like it is moving gigs of data to get those 17 clusters structured. The actual import of the 67 records takes only 0.22 seconds.
The output is a follows:
Non merge mode (-merge=false): removing all default non security classes
- Class ORIDs was removed.
- Class OFunction was removed.
- Class E was removed.
- Class V was removed.
- Class _studio was removed.
- Class ORestricted was removed.
- Class OTriggered was removed.
- Class OSchedule was removed.
Removed 8 classes.
Importing database info...OK
Importing clusters...
- Creating cluster 'internal'...OK, assigned id=0
- Creating cluster 'default'...OK, assigned id=3
- Creating cluster 'orole'...OK, assigned id=4
- Creating cluster 'ouser'...OK, assigned id=5
- Creating cluster 'ofunction'...OK, assigned id=6
- Creating cluster 'oschedule'...OK, assigned id=7
- Creating cluster 'orids'...OK, assigned id=8
- Creating cluster 'v'...OK, assigned id=9
- Creating cluster 'e'...OK, assigned id=10
- Creating cluster '_studio'...OK, assigned id=11
- Creating cluster 'distributor'...OK, assigned id=12
- Creating cluster 'games'...OK, assigned id=13
- Creating cluster 'software'...OK, assigned id=14
- Creating cluster 'hasgames'...OK, assigned id=15
- Creating cluster 'hassoftware'...OK, assigned id=16
- Creating cluster 'currencies'...OK, assigned id=17
- Creating cluster 'hascurrency'...OK, assigned id=18
Rebuilding indexes of truncated clusters ...
Done 2 indexes were rebuilt.
Done. Imported 17 clusters
Importing database schema...OK (18 classes)

Importing records...

Started migration of links (-migrateLinks=true). Links are going to be updated according to new RIDs:
- Cluster games... Completed migration of 12 records in current cluster
- Cluster currencies... Completed migration of 3 records in current cluster
- Cluster ouser... Completed migration of 3 records in current cluster
- Cluster hasgames... Completed migration of 25 records in current cluster
- Cluster e... Completed migration of 0 records in current cluster
- Cluster hascurrency... Completed migration of 0 records in current cluster
- Cluster oschedule... Completed migration of 0 records in current cluster
- Cluster v... Completed migration of 0 records in current cluster
- Cluster software... Completed migration of 2 records in current cluster
- Cluster orole... Completed migration of 3 records in current cluster
- Cluster default... Completed migration of 0 records in current cluster
- Cluster ofunction... Completed migration of 0 records in current cluster
- Cluster _studio... Completed migration of 9 records in current cluster
- Cluster orids... Completed migration of 0 records in current cluster
- Cluster distributor... Completed migration of 4 records in current cluster
- Cluster hassoftware... Completed migration of 5 records in current cluster
Total links updated: 66

Done. Imported 67 records in 0.22 secs

Importing indexes ...
- Index 'dictionary'...OK
- Index 'OUser.name'...OK
- Index 'ORole.name'...OK
Done. Created 3 indexes.
Importing manual index entries...
- Index 'dictionary'...OK (0 entries)
Done. Imported 1 indexes.
Rebuild of stale indexes...
Stale indexes were rebuilt...
Deleting RID Mapping table...OK

Database import completed in 208264 ms

sudo /opt/orientdb/bin/console.sh  53.35s user 35.87s system 0% cpu 49:02:31.68 total

Other that that I'm glad to report that queries itself are relatively quick
select * from Games
Query executed in 0.575 sec. Returned 12 record(s) (first run/non-cached)
Query executed in 0.011 sec. Returned 12 record(s) (second run/cached)

I would just like to know if this is something that should be considered normal or should out the box variables be changed?
Thank you

Sorry guys, figured this isn't a support forum. It's an issue tracker for code. My question doesn't belong here and I'm closing it.

Yes, the Community Group is the best place for it:
https://groups.google.com/forum/#!forum/orient-database

Thank you Ivca, I didn't know about that and will ask there.


[WIP] Inclusion of Pluggable Components (.NET) SDK docs

Signed-off-by: Phillip Hoff<EMAIL_ADDRESS>Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
This includes the new Pluggable Components (.NET) SDK docs from the dapr-sandbox/components-dotnet-sdk repo in preparation for the preview of those SDKs alongside Dapr 1.10.
Issue reference

@hhunter-ms @greenie-msft This is a draft of changes for inclusion of docs for the new Dapr Pluggable Components .NET (and eventually other) SDKs. If you have any feedback on structure, please let me know.

The changes look good, but it looks like the build is failing. Is that because it's trying to validate links for pages that are not merged yet?

The changes look good, but it looks like the build is failing. Is that because it's trying to validate links for pages that are not merged yet?

@greenie-msft I think the build failures are likely (at least, in part) due to the need to add a new Git submodule to the .NET SDK repo's docs, and that doesn't actually exist yet because those changes themselves are also WIP.  What will likely have to happen is that the SDK-specific changes get committed first, and then this change.


Missing release tags?

Looks like 0.16.0. 0.17.0, and 0.18.0 have all been published to npm without any tags created. Might come in handy at some point.

Good idea! I will try do the next release properly 🙇


Netbird doesn't work with Keycloak with LDAPS for Account Delegation

Describe the problem
While running Netbird with Keycloak I can authenticate and connect while using the local accounts, but when I enable account federation with LDAPS on Keycloak, the authentication stops working and I can no longer login or use Netbird.
To Reproduce
Steps to reproduce the behavior:

Install the latest Netbird version with the script
Connect Netbird with Keycloak
Keycloak has LDAPS account federation enabled
Try to connect to Netbird with SSO
After authenticating with Keycloak, see the Netbird loading screen with no responses.
Get the screen popup error: "Request failed with status code 401 Error: Token invalid"

Expected behavior
The Netbird dashboard should load.
Are you using NetBird Cloud?
No, Netbird selfhosted
NetBird version
0.28.3
Screenshots

Additional context
Netbird works if Keycloak doesn't use LDAPS federated users, when adding the Federated users it stops working, I also get the following error some times: ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Get "https://admin-keycloak.example.com:443/admin/realms/netbird/users?max=150": unexpected EOF

Hello @michelangelo136 , can you share the management logs?

Hello @bcmmbaga, here are the logs.
management-1  | 2024-06-27T14:34:55Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Post "https://sso.example.com/realms/netbird/protocol/openid-connect/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers) management-1  | 2024-06-27T14:34:55Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-27T14:34:55Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-27T14:35:05Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Post "https://sso.example.com/realms/netbird/protocol/openid-connect/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers) management-1  | 2024-06-27T14:35:05Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-27T14:35:05Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-27T14:35:15Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Post "https://sso.example.com/realms/netbird/protocol/openid-connect/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers) management-1  | 2024-06-27T14:35:15Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-27T14:35:15Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401

Hello @bcmmbaga, here are the logs.
management-1 | 2024-06-27T14:34:55Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Post "https://sso.example.com/realms/netbird/protocol/openid-connect/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers) management-1 | 2024-06-27T14:34:55Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1 | 2024-06-27T14:34:55Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1 | 2024-06-27T14:35:05Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Post "https://sso.example.com/realms/netbird/protocol/openid-connect/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers) management-1 | 2024-06-27T14:35:05Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1 | 2024-06-27T14:35:05Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1 | 2024-06-27T14:35:15Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Post "https://sso.example.com/realms/netbird/protocol/openid-connect/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers) management-1 | 2024-06-27T14:35:15Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1 | 2024-06-27T14:35:15Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401

There are missing initial logs when starting the management. Can you restart the management, and then share the logs afterwards?

I restarted the management service, these is the log, the fqdn and the realm have been redacted replaced by redacted.
management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:455: loading OIDC configuration from the provided IDP configuration endpoint https://sso.example.com/realms/example/.well-known/openid-configuration management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:460: loaded OIDC configuration from the provided IDP configuration endpoint: https://sso.example.com/realms/example/.well-known/openid-configuration management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:462: overriding HttpConfig.AuthIssuer with a new value https://sso.example.com/realms/example, previously configured value: https://sso.example.com/realms/example management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:466: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://sso.example.com/realms/example/protocol/openid-connect/certs, previously configured value: https://sso.example.com/realms/example/protocol/openid-connect/certs                                                                                management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:492: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: https://sso.example.com/realms/example/protocol/openid-connect/token, previously configured value: https://sso.example.com/realms/example/protocol/openid-connect/token management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:495: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: https://sso.example.com/realms/example/protocol/openid-connect/auth, previously configured value: https://sso.example.com/realms/example/protocol/openid-connect/auth management-1  | 2024-06-28T12:13:23Z INFO management/server/telemetry/app_metrics.go:177: enabled application metrics and exposing on http://<IP_ADDRESS>:8081 management-1  | 2024-06-28T12:13:23Z INFO management/server/store.go:128: using SQLite store engine management-1  | 2024-06-28T12:13:23Z INFO management/server/migration/migration.go:130: No records in table peers, no migration needed management-1  | 2024-06-28T12:13:23Z INFO management/server/migration/migration.go:130: No records in table peers, no migration needed management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:173: geo location service has been initialized from /var/lib/netbird/ management-1  | 2024-06-28T12:13:23Z INFO management/server/account.go:902: single account mode enabled, accounts number 1 management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:292: running gRPC backward compatibility server: [::]:33073 management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:324: management server version 0.28.3 management-1  | 2024-06-28T12:13:23Z INFO management/cmd/management.go:325: running HTTP server and gRPC server on the same port: [::]:443 management-1  | 2024-06-28T12:13:33Z WARN management/server/account.go:942: failed warming up cache due to error: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:13:34Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: unexpected EOF management-1  | 2024-06-28T12:13:34Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:13:34Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:13:44Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:13:44Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:13:44Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/groups status 401 management-1  | 2024-06-28T12:13:45Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Get "https://sso-admin.example.com:443/admin/realms/example/users?max=162": unexpected EOF management-1  | 2024-06-28T12:13:45Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:13:45Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response 994037172: GET /api/peers status 401 management-1  | 2024-06-28T12:13:55Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:13:55Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:13:55Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:14:20Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:14:20Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:14:20Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:14:31Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:14:31Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:14:31Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:14:41Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:14:41Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:14:41Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response 884359798: GET /api/users status 401 management-1  | 2024-06-28T12:14:52Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:14:52Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:14:52Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:15:08Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:15:08Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:15:08Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:15:18Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:15:18Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:15:18Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:15:19Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Get "https://sso-admin.example.com:443/admin/realms/example/users/count?": unexpected EOF management-1  | 2024-06-28T12:15:19Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:15:19Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:15:30Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:15:30Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:15:30Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:15:31Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: Get "https://sso-admin.example.com:443/admin/realms/example/users?max=162": unexpected EOF management-1  | 2024-06-28T12:15:31Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:15:31Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response 620562561: GET /api/users status 401 management-1  | 2024-06-28T12:15:42Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:15:42Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:15:42Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:15:53Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:16:04Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:16:04Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:16:04Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401 management-1  | 2024-06-28T12:16:19Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: context deadline exceeded (Client.Timeout or context cancellation while reading body) management-1  | 2024-06-28T12:16:19Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-06-28T12:16:19Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response 701924560: GET /api/users status 401

Hello @bcmmbaga, will you need other logs from the system or something from the management file?

@michelangelo136 There is an issue with the Keycloak LDAP federator becoming slow, causing timeouts when starting the management as we fetch the user list from Keycloak. Could you take a look at https://github.com/keycloak/keycloak/issues/10005? Also, please consider upgrading Keycloak and retesting to see if the issue has been resolved from their side.

With the latest Keycloak version the problem still persists.

@michelangelo136 Have you tried this https://github.com/netbirdio/netbird/issues/2142#issuecomment-2182390323 ? I have same problem and when i try this i can use keycloak with ldaps and netbird.

Seeing the same issue still. Any recommendations?

@relay2334 Try this comment https://github.com/netbirdio/netbird/issues/2142#issuecomment-2209552043

@michelangelo136 hi
Initially, netbird didn't work for me with LDAPS federation. Solving for me is in the netbird kk-client settings (client and backend) I turned off the function:
Clients > netbird backend (and 2nd netbird-client) > Client scopes > netbird-backend-dedicated (and 2nd netbird-client-dedicated) > Scope ON > switch to OFF

I followed a method mentioned above making an inter-realm authentication and having a separate netbird realm that authenticates on the primary one, I will try your method in the upcoming week, it will hopefully work nicely and won't cause an outage, hopefully this will help streamline the user authentication process.
Thanks for sharing!

@michelangelo136 Thanks your sharing. How did you make the "inter-realm" authentication work?
Let's say you have Realm A with LDAP and Realm B (without LDAP) for Netbird ? Did you configure in Realm B an "identity provider" of type "Keycloak OpenID" that points to Realm A or did you use another way?

@cmacheret yes that's how I did it, effectively the netbird realm authenticates using open id connect to the main realm.
I can look up the config on Monday and post it here as a lot of things are undocumented and you need to find how they work through trial and error.

@michelangelo136 that would be great, thanks

@michelangelo136 Hi, any chance you had time to check your config? It would be really great if you could share it. Thanks in advance!

Hi @cmacheret, sorry for the delay, quite a lot of stuff lately, in the Netbird Realm you need to go to Identity Providers and create a new Keycloak OpenID provider
Alias = Your provider name (write anything you want here)
Under the OpenID Connection Settings populate the metadata URLs based on the https://keycloak.example.com/realms/example-realm/.well-known/openid-configuration contents (replace keycloak, example and example-realm with your own values)
Then set the following
Client authentication: Client secret sent as post
Client ID: "The client ID that you will create in your keycloak-example/prod realm"
Client Secret: "The secret taken from the client you created in your prod realm"
Client Assertion Signature Algorithm: "By default is ES256"
Send 'id_token_hint' in logout requests: On
Leave all of the other option to the "off" state.
Then, in your prod Realm create a new OpenID client and give it a name of your choice.
Client ID: Anything you would like
Root URL: Your keycloak - Netbird realm url, eg: https://keycloak.example.com/realms/netbird
Valid redirect URIs: You need to set the following values:

https://keycloak.example.com/*
https://keycloak.example.com/realms/netbird/broker/your-Client-ID/endpoint
Web Origins: +
Client Authentication: On
Authentication Flow: Standard Flow, Direct Access grants

Then go to the Credentials Tab and set the Client Authenticator to "Client ID and Secret" and use generated secret to populate the Client Secret for the Identity Provider in the netbird Realm.

That should be what I did and it worked, hopefully, it work for you as well.

Thanks a lot @michelangelo136


[Bug]: There is no SQL in the execution plan

ODC version
odc431
OB version

What happened?

What did you expect to happen?

How can we reproduce it (as minimally and precisely as possible)?
After entering SQL, click on the execution plan
Anything else we need to know?
No response

Fixed In Commit b8310dbf525090e447de8ab108fba352e21af1e0
------
畅晚
Mon Jul 8 09:36:58 2024 +0800

Problem not fixed

Fixed In Commit d7addf8113ff4e6e6fd30003509e26d4d8ebac08
------
畅晚
Wed Jul 10 13:58:11 2024 +0800

pass


Social login usage links are broken

From documentation in : https://firebase.flutter.dev/docs/auth/usage/
Links for social login usage as: https://firebase.flutter.dev/docs/auth/usage/social#apple or any other one provided are broken

Duplicate of https://github.com/FirebaseExtended/flutterfire/issues/6751


Event Names Reflection for LAG Interfaces

To Address https://github.com/open-traffic-generator/snappi-ixnetwork/issues/460


[testsuite] Minor convenience changes

Offloading independent changes handy in other (future) PRs.
My motivation for using real time as start offset of the TimeService mock was that I wanted to place assert timestamp != 0 at certain places.

@rvansa do you want it in 9.0.x branch too?


lf0 question about convert phase

Hi,
I wonder why you normalize f0 series before feeding to the f0encoder in convert.py.
However, this kind of normalization for f0 isn't used in preprocessing phase.

Hi, normalizing f0 aims to remove the speaker characteristics. During preprocessing phase, f0 is not normalized, but during training and inference, f0 is normalized as shown below:
https://github.com/Wendison/VQMIVC/blob/851b4f5ca5bb60c11fea6a618affeb4979b17cf3/dataset.py#L45
https://github.com/Wendison/VQMIVC/blob/851b4f5ca5bb60c11fea6a618affeb4979b17cf3/convert_example.py#L53

Hi,
thank you for your explanation!!!
I have another question about perplexity when training the model with another dataset.
I found that the perplexity didn't keep increasing (have run around 360 epochs in the figure), was it reasonable?
And do you have any suggestions to verify this issue?


Several minor edit suggestions for batch-norm.md

Job d2l-zh/PR-932/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-932/


Search doesn't return expected results when large number of partial matches exist

Storage Explorer Version: 1.11.0
Build Number: 20191105.2
Platform/OS: Windows 10
Architecture: x64
Regression From:  unknown
Bug Description
Searching by prefix in a Data Lake Gen 1 account does not find files that exist and match supplied prefix.  It seems as if ASE only searches the first 1000 files, then gives up.  I have a large number of files that match a portion of the search prefix, but if my file isn't in the first 1000, it isn't found.  Ex: with 1000 files named xxx_000 through xxx_999, search by prefix cannot find a file named xxx_999a.
NOTE: This is my interpretation of the behavior, which may be incorrect.  What I can say with certainty is that not all existing files that match the supplied prefix are returned under all conditions.
Steps to Reproduce
Have an ADLA Gen 1 storage account with > 1000 similarly named files.
Search for one that would be towards the end of the list, lexicographically sorted.
Expected Experience
Any file that exists in the account, and matches the prefix should be returned.
Actual Experience
Existing files that match the prefix are not returned under some conditions.
Additional Context
Large number of potential prefix matches.

The retirement of ADLS Gen1 is now less than three months away. As previously announced the service will be retired on 29 February 2024. With this date now close approaching we are going to close this issue as "won't fix". Documentation on how to migrate your data to ADLS Gen2/blob storage can be found here: https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-migrate-gen1-to-gen2-azure-portal
If you have any non ADLS Gen1 feedback for Storage Explorer, please feel free to open a new issue: https://github.com/microsoft/AzureStorageExplorer/issues/new/choose
This issue will now no longer be monitored.


Chess pieces

Icon name
chess-pawn, chess-rook, chess-knight, chess-bishop, chess-queen, chess-king
Use cases

Chess-related applications
Chess-related educational materials
Chess-related branding/merchandise
Algebraic notation (with symbols instead of letters)

Design ideas

This example would need to be adapted to have similar style to other icons, of course
Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

Can you think of any additional usecases?

I agree with, @jguddas, we probably need additional use cases to be able to add these.
In the meantime, I drew these just for fun:

Can you think of any additional usecases?

I edited issue to include more of them

I agree with, @jguddas, we probably need additional use cases to be able to add these.
In the meantime, I drew these just for fun:

Try more minimalist, I guess. 😁

Here's my candidate:

Here's my candidate:

Great insight, @karsa-mistmere.
For the pawn, I prefer the third row over the others. It feels smooth, and the circle is distinct from the rest of its part. Is there any chance we can make the circle smaller, but not as small as in the first and second rows? The third one's circle looks big enough for me, but if we can't make it smaller, just leave the third row as it is. The extra line is not really necessary; this detail adds a look to the pawn that has an arm.
For the rook, I prefer the first row. The dent looks better when inside than outside. I feel it resembles a pitchfork or comb when outside. I don't know if you feel the same. The third row feels like pieces on a variant of a chess game. It is more detailed than the rest and doesn't seem like a rook to me. (Yes, there are a lot of chess variants. It is weird to play them, by the way. Chess960 was my favorite.)
For the knight, I prefer the second one. Eyes are not really necessary. In the real world, eyes don't catch more attention. However, the curve does. The way you curve the head of the knight feels great in how it attaches to the base.
For the bishop, I prefer the first one. I like how it feels bulbous. The second one reminds me of a lamp shape. (I don't know if it is the same; my brain says that.)
For the king, the second one is great.
For the queen, same as the king.
For the bases, try to make them match for all of them. Any mention of bases above is just minor. Let me know how you got it.

Great insight, @karsa-mistmere.
For the pawn, I prefer the third row over the others. It feels smooth, and the circle is distinct from the rest of its part. Is there any chance we can make the circle smaller, but not as small as in the first and second rows? The third one's circle looks big enough for me, but if we can't make it smaller, just leave the third row as it is. The extra line could be added.
For the rook, I prefer the first row. The dent looks better when inside than outside. I feel it resembles a pitchfork or comb when outside. I don't know if you feel the same. The third row feels like pieces on a variant of a chess game. It is more detailed than the rest and doesn't seem like a rook to me. (Yes, there are a lot of chess variants. It is weird to play them, by the way. Chess960 was my favorite.)
For the knight, I prefer the second one. Eyes are not really necessary. In the real world, eyes don't catch more attention. However, the curve does. The way you curve the head of the knight feels great in how it attaches to the base.
For the bishop, I prefer the first one. I like how it feels bulbous. The second one reminds me of a lamp shape. (I don't know if it is the same; my brain says that.)
For the king, the second one is great.
For the queen, same as the king.
For the bases, try to make them match for all of them. Any mention of bases above is just minor. Let me know how you got it.

The king, queen, and rook could be used to symbolize strength, courage, or power. The pawn could be used to symbolize quotes / concepts about persevering, courage, etc. (being the weakest to becoming the strongest)


issues/88: create middleware that adds the real client IP address

What:

Create middleware that adds the real client IP address
Note that this is on a best effort basis. Finding the true client IP address is a precarious process[1]

Why:

Fixes: https://github.com/komuw/ong/issues/88

Ref:

https://adam-p.ca/blog/2022/03/x-forwarded-for/

Codecov Report
Base: 72.25% // Head: 72.26% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (4eace43) compared to base (c9fdb51).
Patch coverage: 72.41% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #187      +/-   ##
==========================================
+ Coverage   72.25%   72.26%   +0.01%
==========================================
  Files          31       32       +1
  Lines        2076     2221     +145
==========================================
+ Hits         1500     1605     +105
- Misses        506      537      +31
- Partials       70       79       +9

Impacted Files
Coverage Δ

cookie/cookie.go
76.14% <ø> (ø)

sess/sess.go
83.33% <ø> (ø)

middleware/client_ip.go
72.41% <72.41%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix(geosearch): support for routing

Geosearch routing support is missing. This adds it :)

We're good to go now cc @samouss :)

After checking with @samouss we're need to post pone this PR to rethink the flow of control.

We're probably gonna have to do deeper work. Let's close this PR for now.


ZEVA - forecast report confirmation checkbox

Please implement the confirmation checkbox associated with the forecast report (please see https://www.figma.com/design/ijCyqDXXGVGDmmyfaXzPhk/ZEVA?node-id=50-193). The save button should be disabled until this checkbox and all other checkboxes are checked. After saving, if the user clicks the "Edit" button (top right of page), then all the checkboxes should become unchecked.

Both situations worked for me.


Get data From notification Opening the App and not the push

Is there a way to get the data of the push without taping the notification?
I want to open the app and trigger an alert with the notification data.

#192  same

Sorry not the same,
# Expected Behaviour
On app open and notification not tape trigger onNotificationOpen() or a new method
#Actual Behaviour
On app open and notification not tape nothing happend, the message is lost.
#Reproduce Scenario

Send push to the cliente
Open the app
See if something triggers

you could get the information from your own backend system that is sending the messages


[move-prover] add a hook-point for loop unrolling workflow

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)

Do you mind filing this in third_party/move? You can also do here but this
is ready now
On Sat, Mar 18, 2023 at 5:47 PM Meng Xu @.***> wrote:

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests
https://github.com/move-language/move/blob/main/CONTRIBUTING.md#developer-workflow
?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with
clear instructions for verifying that your changes work.)
You can view, comment on, or merge this pull request online at:
https://github.com/move-language/move/pull/992
Commit Summary

f498d35
https://github.com/move-language/move/pull/992/commits/f498d3585d60d44085979f21018c5e0d821d44c1
[move-prover] add a hook-point for loop unrolling workflow

File Changes
(1 file https://github.com/move-language/move/pull/992/files)

M language/move-prover/bytecode/src/loop_analysis.rs
https://github.com/move-language/move/pull/992/files#diff-9ba6c6dec301c0ccc9e7bcdfa4e2b7b073d3c2a9af600e187889a2e97d3b3b75
(71)

Patch Links:

https://github.com/move-language/move/pull/992.patch
https://github.com/move-language/move/pull/992.diff

—
Reply to this email directly, view it on GitHub
https://github.com/move-language/move/pull/992, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC2MSOWADKCMC4HSC4TK4J3W4ZJRZANCNFSM6AAAAAAV7Y3YO4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Will move it to third_party/move.

Run into some issues with third_party/move (mostly due to not being on a Mac). Plus, as I am not sure how test cases are run there, I'll develop here for a bit longer and once I get tests passing I'll patch up third_party/move and submit PRs from there.

Run into some issues with third_party/move (mostly due to not being on a Mac). Plus, as I am not sure how test cases are run there, I'll develop here for a bit longer and once I get tests passing I'll patch up third_party/move and submit PRs from there.

Not sure what issues that could be. You do not need to run copybara, only 'admins' do this. Relevant tests in third_party/move are all run as part of standard CI. But no issue to develop here and then sync into aptos-core.

@meng-xu-cs , this PR seems to have conflicts.


FSSurfaceReport MGHImage incompatibility

This has started popping up in nibabies CI
Node: nibabies_23_0_wf.single_subject_01_1mo_wf.infant_anat_wf.anat_reports_wf.recon_report
Working directory: /scratch/nibabies_23_0_wf/single_subject_01_1mo_wf/infant_anat_wf/anat_reports_wf/recon_report

Node inputs:

compress_report = auto
hemi = both
out_report = report.svg
subject_id = <undefined>
subjects_dir = <undefined>

Traceback (most recent call last):
  File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
    result = self._run_interface(execute=True)
  File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
    return self._run_command(execute)
  File "/opt/conda/lib/python3.9/site-packages/nipype/pipeline/engine/nodes.py", line 771, in _run_command
    raise NodeExecutionError(msg)
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node recon_report.

Traceback:
	Traceback (most recent call last):
	  File "/opt/conda/lib/python3.9/site-packages/nipype/interfaces/base/core.py", line 398, in run
	    runtime = self._run_interface(runtime)
	  File "/opt/conda/lib/python3.9/site-packages/smriprep/interfaces/reports.py", line 197, in _run_interface
	    plot_registration(
	  File "/opt/conda/lib/python3.9/site-packages/niworkflows/viz/utils.py", line 377, in plot_registration
	    display = plot_anat(anat_nii, **plot_params)
	  File "/opt/conda/lib/python3.9/site-packages/nilearn/plotting/img_plotting.py", line 472, in plot_anat
	    display = plot_img(anat_img, cut_coords=cut_coords,
	  File "/opt/conda/lib/python3.9/site-packages/nilearn/plotting/img_plotting.py", line 264, in plot_img
	    display = _plot_img_with_bg(
	  File "/opt/conda/lib/python3.9/site-packages/nilearn/plotting/img_plotting.py", line 201, in _plot_img_with_bg
	    display.add_overlay(new_img_like(img, data, affine),
	  File "/opt/conda/lib/python3.9/site-packages/nilearn/plotting/displays/_slicers.py", line 273, in add_overlay
	    ims = self._map_show(img, type='imshow', threshold=threshold, **kwargs)
	  File "/opt/conda/lib/python3.9/site-packages/nilearn/plotting/displays/_slicers.py", line 349, in _map_show
	    img = reorder_img(img, resample=resampling_interpolation)
	  File "/opt/conda/lib/python3.9/site-packages/nilearn/image/resampling.py", line 740, in reorder_img
	    return resample_img(img, target_affine=target_affine,
	  File "/opt/conda/lib/python3.9/site-packages/nilearn/image/resampling.py", line 451, in resample_img
	    sform, sform_code = img.get_sform(coded=True)
	AttributeError: 'MGHImage' object has no attribute 'get_sform'

The problematic section
https://github.com/nipreps/smriprep/blob/1a078959ab289d341effd5b3a05ba09c77fcadbf/smriprep/interfaces/reports.py#L184-L185
Tested coercing these MGHImages into Nifti1Images, and it seemed to do the trick. I'm not entirely sure what package upgrade is causing this..

Nilearn had a recent release. This doesn't look like anything that would have changed in nibabel.


[demo] Add Security Context for all demo components

Some secured environments, such as OpenShift, require pods to run under a defined security context. This is done for some demo components but not all.

I am working with Openshift and I have many problems deploying this chart. It does not work out of the box.
A work in progress howto guide is here
https://gist.github.com/realtimetodie/c69563c6b9398f22e6621083f6027dba

@realtimetodie What about SecurityContext for the components? Do you need to specify that as well?

In OpenShift, it is enough to define an empty security context
spec:
  securityContext: {}

This means, the current setup with the various runAsUser: 43 configurations causes errors in OpenShift.

This isn't needed, in fact the opposite may be required for proper OpenShift support


Strange formatting for monster boxes floats

In my document, I need to be able to float monster boxes. But if they are close to a page break, the formatted is affected, most notably by extra vertical space being inserted as well as the text color no longer being correct.
I've attached the source and the generated PDF. Notice how the monster box is place on the next page as a single box, but there is extra space located above the monster stats, and the text for the monster stats is not red as it should be.
The PDF was generated with the command pdflatex  -file-line-error   -interaction=nonstopmode "\input" main.tex
test.tar.gz

Could you please attach your MWE as a gist or place it within a code block?

Using tcolorbox directly instead of inside a figure does the trick:
\begin{monsterbox}[float, floatplacement=b]{Monster Foo}
  % ...
\end{monsterbox}

Thanks for pointing out the float parameter! That should clean up my uses of paperbox as a sidebar. I had been wrapping it in a floating figure.
@kwvanderlinde, does that fix your issue?

Wonderful @benwebber! That perfectly handles the problem!

By the way, floatplacement sets the default for float. If you are like me and you float some things to the top and some to the bottom, just use float=X each time, where "X" is any of the normal float placement codes (b, t, !b, !t, !ht, etc.). float* also works for floats that span both columns, but you must also supply width=\textwidth to get it to span the full width of the text area of the page.


Dialog before and after a song

What is your question?
I already used the lua script for the beginning dialog, i cant figure out how to also add some at the end. Plz help

Copy the script, then open the copied script, rename onStartCountdown to onEndSong and remove not seenCutscene from the script.

That did add an end dialog, but it loops after the end dialog.

That did add an end dialog, but it loops after the end dialog.

That did add an end dialog, but it loops after the end dialog.

Sorry for the spam my internet sent multiple requests


Add validator for reactive forms

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request

This is a nice directive, but it would be cool to use it as a validator on reactive forms, too!

This is implemented in version 3.0.1 onwards


Specify canvas size in other units than pixel for printing

Is your feature request related to a problem? Please describe.
It would be cool to use slidev for more than just presentations.
With a theme, you could use it to write letters, CVs, etc., in markdown with Vue.
I believe it's currently not possible because the canvas size can be changed to match standard paper sizes, but only in pixel using canvasWidth and canvasRatio. That makes it challenging to define accurate paper sizes.
Describe the solution you'd like
It would be great to allow entering the page size of the PDF in metric and imperial units. That would ensure accurate, consistent measures independent of the devices used for printing.
It would also be fine if this is only possible for PDFs exported documents. Playwright allows entering the PDF page size as string | number that includes units like 120cm.
Describe alternatives you've considered
I investigated the theming and addon extendability to check if this could be accomplished like that, but I couldn't find how. Let me know if this is possible.
Thank you.

I think this would still be a handy feature


fix toml parsing of double type

Fix toml config file parsing for options that map to type Double. Previously setting a value in toml config for a long option type would result in, e.g. :
Value of 'tx-pool-limit-by-account-percentage' is a float

There's one failing unit test @bl0up
defaultValueForOptionMustMatchType

org.hyperledger.besu.cli.TomlConfigFileDefaultProviderTest

picocli.CommandLine$ParameterException: Invalid TOML configuration: org.apache.tuweni.toml.TomlParseError: Unexpected 'a-double-value-option', expected a newline or end-of-input (line 10, column 75)
	at app//org.hyperledger.besu.cli.util.TomlConfigFileDefaultProvider.loadConfigurationFromFile(TomlConfigFileDefaultProvider.java:158)
	at app//org.hyperledger.besu.cli.util.TomlConfigFileDefaultProvider.defaultValue(TomlConfigFileDefaultProvider.java:52)
	at app//org.hyperledger.besu.cli.TomlConfigFileDefaultProviderTest.defaultValueForOptionMustMatchType(TomlConfigFileDefaultProviderTest.java:158)
	at java.base@11.0.17/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base@11.0.17/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base@11.0.17/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

I merged the latest changes from besu in my branch and now, tests that were ok before are failing. How can I fix this?

I merged the latest changes from besu in my branch and now, tests that were ok before are failing. How can I fix this?

drat, you hit a flaky acceptance test - should be ok on next run. https://app.circleci.com/pipelines/github/hyperledger/besu/19525/workflows/34c44170-8228-488a-b885-6dfa7c81f131/jobs/119210

so now you're just waiting on a review :)

I merged the latest changes from besu in my branch and now, tests that were ok before are failing. How can I fix this?

drat, you hit a flaky acceptance test - should be ok on next run. https://app.circleci.com/pipelines/github/hyperledger/besu/19525/workflows/34c44170-8228-488a-b885-6dfa7c81f131/jobs/119210

so now you're just waiting on a review :)

Yes, that was the issue. I'll wait for the review then! :)