Solution: AADSTS50020 User account<EMAIL_ADDRESS>from identity provider 'live.com' does not exist in tenant 'MS Azure Cloud' and cannot access the application 'fa4345a4-a730-4230-84a8-7d9651b86739'

If you encounter the below error when running the powershell command
Add-RdsAccount -DeploymentUrl “https://rdbroker.wvd.microsoft.com”
The solution would be to use a domain account or tenant domain account with global administrator rights
Example<EMAIL_ADDRESS>or<EMAIL_ADDRESS>AADSTS50020: User account<EMAIL_ADDRESS>from identity provider 'live.com' does not exist in tenant 'MS Azure Cloud' and cannot access the application 'fa4345a4-a730-4230-84a8-7d9651b86739'(Windows Virtual Desktop Client) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again

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

ID: eab4b2c4-29d9-d759-066f-f7cf633260ca
Version Independent ID: 05c8b237-2c9e-6453-9cbf-9c7a3b7f8b07
Content: Create a tenant in Windows Virtual Desktop (preview)  - Azure
Content Source: articles/virtual-desktop/tenant-setup-azure-active-directory.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@chunsiongtan Thank you for trying out the Windows virtual desktops preview product . We thank you for your contribution and sharing the solution for an issue you encountered. We appreciate the contribution.  Please let us know if you have any further query on this preview feature and we would love to help you.

Hi, I had this issue when trying to deploy using my Visual Studio MSDN subscription, which is a personal microsoft account.
Before starting the tutorial, make sure your AAD is correctly set up and create a user with global admin permissions. Create an office 365 tenant and associate it to your subscription with the new account having an E3/E5 licence.
Once you've done this, sign in to Azure Portal to reset the password and you're ready to begin the tutorial.

Thank you for your contribution. Your understanding is correct . We need to make sure that the currently logged in session is from a work account and it has related licenses if a work account is testing virtual desktops. And if you are trying to provide an eternal user access to the virtual desktop published in your directory , you would need to first add the external user as a MSA (microsoft Account / live ID ) in your tenant .
We will close this issue now . We appreciate the contribution.
Thank you.

Merhaba Mesaj CMDRMiley ``


🔧 [Refactor] [Admin] User contribution list not correctly sorted

🔧 Refactor ticket

User contribution list not correctly sorted.
In the admin when selecting an user the contribution list is not correctly sorted (by date), but confirmation date.

[ ] Figure out if this is correct
[ ] Change sorting if applicable

Not valid


Discord Bots?

Make it so that we can invite bots to the lanyard server (without permissions ofc) so that we can see if our bots is online or not

We already do this upon request, but we have no interest in automating this and it's not possible to give users the ability to invite bots.

Why not make a channel for that?


Add ".exe" to windows executable path if it is not explicitly set

This is a fix for https://github.com/gobuffalo/buffalo/issues/169.

Thanks!!

Whoops, looks like I'm too late to the party. That @markbates is fast! ;-)


Translation and Rotate

Hi, I have some question about Translation and Rotate in data_loader.py.
https://github.com/koyeongmin/PINet_new/blob/fead6baf0210a11444bf02d8fda7b3a33cec8e8c/TuSimple/data_loader.py#L384
Why don't you process target_h when you translate and rotate the image in case that target_h is out of [0, y_size-1]?

Because y_size is height of input image, It will occur error if we make some value at that point.

Probably I didn't make myself clear to you. When you translate and rotate the image, why don't you translate and rotate the target_h that is y coordinates of lane keypoints? In your code, you only translate and rotate target_lanes that is x coordinates of lane keypoints.


Update overview.md

Updated South India Capacity

#sign-off

Part of Azure PostgreSQL product team and approving this change

@sunilagarwal
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

I am part of Azure PG team and own the capacity aspects and report to Sunil. Please merge.

#sign-off


Run on startup not working

Salam! I am not able to get the app to run on start up. I have tried:

set run as administrator as default
adding shortcut to startup folder manually (windows+r then shell:startup+hit enter then paste shortcut)

Is there anything else I can try? Is this just another result of the app not being signed? Thank you!

Wa Alaykoum Assalam !
I honestly have no clue about why it wouldn't work, I'm quite terrible at Windows stuff :P
I'll keep the issue opened inshaAllah, perhaps we can fix it some day or somebody more knowledgeable than me might help you; sorry for the trouble

Looks like the reason it can't is because it needs to be run in admin: https://www.reddit.com/r/ElgatoGaming/comments/9tl2n6/streamdeck_software_not_starting_at_boot/

I'm a complete newbie on Windows, does the app have to run in admin to start ?

Wa Alaikum Salam
allow me to respond to the issue 👀
muezzin by default does not run as admin
that just makes the app dangerous
verify if you can see "muezzin" on Task Manager (open Task Manager > Startup)
make sure the "Command line" is set to C:\Users<your name>\AppData\Local\Programs\muezzin\muezzin.exe

please let me know if you need any tutorials, Insha'Allah i will help (if i'm online on GitHub again)


Regarding the issue of paper evaluation data

Is the Pixel-Level F1 in Table 4 trained on the casia v2 dataset?
Do the six test sets only contain tampered images and no real images?
How is the combined F1 score calculated?

Is the image-Level F1 in Table 2 trained on the casia v2 dataset? test on both real and tempered images?

Hi there, thank you for your interest in our paper, below we answer your questions.

Is the Pixel-Level F1 in Table 4 trained on the casia v2 dataset?
Yes, we only train the model on the CASIA v2 dataset, and evaluate the same model on five different datasets. Please refer to Table 1 for the details.

Do the six test sets only contain tampered images and no real images?
Yes, for evaluating the pixel-level performances, we only leverage tampered images.

How is the combined F1 score calculated?
The combined F1 is the harmonic mean of the pixel-level F1 and the image-level F1 from each dataset. Please refer to the Implementation Details paragraph for the details.

Is the image-Level F1 in Table 2 trained on the casia v2 dataset? test on both real and tempered images?
Yes, similar to the question 1, the model is also trained only on CASIA v2 (Table 1), and tested on both pristine and tampered images.

Please let me know if any further problems. Thanks!


🐛 Issue activity only counts if done by a maintainer

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
For the Maintained check, any issues activity by any Github user increased the score.
https://github.com/ossf/scorecard/issues/1488

What is the new behavior (if this is a feature change)?
Now only if an issue is created, closed, or commented on by a user who is a collaborator, owner, or member will the score be increased.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Codecov Report

Merging #1515 (e30b54e) into main (ab16cdb) will increase coverage by 0.25%.
The diff coverage is 60.41%.

@@            Coverage Diff             @@
##             main    #1515      +/-   ##
==========================================
+ Coverage   50.65%   50.90%   +0.25%
==========================================
  Files          68       68
  Lines        6069     6100      +31
==========================================
+ Hits         3074     3105      +31
- Misses       2792     2793       +1
+ Partials      203      202       -1


[question]

Required Information
Question, Bug, or Feature?  : Question. if not have, will be a feature request
Enter Task Name: docker@2
Issue Description
In one repo, I have several application folders with Dockerfile in each of them. I can't find the option to define the working directory in task Docker@2
    - task: Docker@2
      displayName: 'docker build'
      inputs:
        containerRegistry: $(dockerRegistryServer)
        repository: '$(ImageName)'
        command: build
        Dockerfile: 'Dockerfile'
        tags: $(tag)
        # workingDirectory: $(DirName)    # But this doesn't work as expect.

So how can I build the images in different folders, that means I need set workingDirectory in task Docker@2.
reference in shell commands:
pushd <path>
docker build -t xxxx .
popd

reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/docker?view=azure-devops

Are you looking for the buildContext parameter?

builidContext doesn't work (or I am not sure what's proper usage)
I finally fix it by add path directly in DockerFile: '<path>/Dockerfile', seems this task know how to build the image now.


Ajax Failed

Bot Info
Deployment Environment: Azure Bot Service
Issue Description
I got "ajaxExtended call failed" error when i'm trying to create Azure Web App bot (With LUIS template).
Reproduction Steps
Start creating Web App Bot in Azure Portal
Set the parameters (in my case I'm using a new resource group)
Press "create" button
Expected Behavior
The bot should be created without any errors.
Error:

same here. I can register apps directly. Looks like error creating LUIS app ??
8BjuiWTgucMN.js:6 [Microsoft_Azure_BotService]  14:12:33 Resource/Create/ViewModels/CreateBladeViewModel 5 CreateBladeViewModel: Failed creating LUIS app _errorData: undefined _sourceErrorLevel: undefined baseTypes: ["MsPortalFx.Errors.AjaxError","MsPortalFx.Errors.Error"] code: undefined data: {"type":"POST","requestId":"bfd35b2f-653b-4610-9ade-ad15621a4067","sessionId":"06609b39bd504ce5ad43dd4920c055ed","status":500,"statusText":"Internal Server Error","duration":1337.000000057742} errorLevel: 2 errorThrown: Internal Server Error extension: Microsoft_Azure_BotService handled: undefined innerErrors: [] jqXHR: {"readyState":4,"responseText":"{\"Error\":{\"Code\":\"ServiceError\",\"Message\":null,\"InnerHttpError\":null}}","responseJSON":{"Error":{"Code":"ServiceError","Message":null,"InnerHttpError":null}},"status":500,"statusText":"Internal Server Error"} message: ajaxExtended call failed name: Error source: undefined stack: null textStatus: error timestamp: 2194611.499999999 type: MsPortalFx.Errors.AjaxError

Thank you for reporting this.  The issue has been escalated, and we will be releasing a fix asap.

@apichafoko and @aamuz Which region were you attempting to create the bot in?

@EricDahlvang  I was trying to create in West Europe. I tried the qna template and that works. It's just the luis template that is not working.

@EricDahlvang the same for me. I've tested all diferent options and combinations (Changing different bot regions with different luis regions, the same regions, etc) but it always ends in the same error.

@aamuz @apichafoko  A fix for this has been deployed.  Creating bots with the LUIS template is functional is all regions.  Please try again, and let us know if you run into any other issues.


[main] Upgrade to latest dependencies

release -dprotaso
/cc knative-sandbox/eventing-writers knative-sandbox/serving-writers
/assign knative-sandbox/eventing-writers knative-sandbox/serving-writers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack 65c463a...e9a8475:
  > e9a8475 Update community files (# 208)
  > 4621ee6 Update community files (# 207)
  > 9dabf7c Update community files (# 206)
  > 782bbaa drop warning (# 204)
  > 92c7e36 Fix the buoy invocation (# 203)
  > 123a278 :broom: Migrate to using the `go run` instead of `go install` (# 172)
  > a645040 Update community files (# 201)
  > 81e30c2 remove references to git markdown checking (# 199)
  > e3be8da Update community files (# 197)
bumping k8s.io/klog/v2 43cc75f...0990e81:
  > 0990e81 Merge pull request # 342 from pohly/harshanarayana-reviewer
  > 33351c0 Merge pull request # 341 from pohly/contextual-logging-state-fix
  > 442891b OWNERS: add harshanarayana
  > ea66a13 Merge pull request # 337 from pohly/testing-logger-stop
  > c2d5a45 contextual logging: enable by default again
  > 7a070b4 Merge pull request # 333 from harshanarayana/tests/GIT-275-add-additional-test-for-kv
  > 9405f8e ktesting: stop using testing.T when test completes
  > 265aa25 Merge pull request # 327 from pohly/buffer-logger
  > 280fc18 GIT-275: add tests for int and struct keys
  > 78f38f6 ktesting: fix type assertion
  > ca252b1 Merge pull request # 328 from pohly/fatal-backtrace-revert
  > 325472d ktesting: capture log data in memory
  > 66544b3 ktesting: use black box testing
  > 49e17d5 Merge pull request # 332 from harshanarayana/bug/GIT-331/fix-variable-shadown
  > c5c3132 klog.Fatal: document behavior and alternatives
  > 6b3fb0b Merge pull request # 329 from pohly/apidiff-fix
  > 9c48b7d Merge pull request # 330 from pohly/logtools-removal
  > e4329d2 GIT-331: fix shadowing key from the kv pair
  > c977919 klog.Fatal: revert dumping of all stack backtraces to stderr
  > ea35802 Merge pull request # 320 from pohly/state-restore
  > 49d73a5 GitHub: use apidiff with more recent Go
  > e9884d2 remove hack/tools
  > a585df9 Merge pull request # 326 from pohly/remove-trim-duplicates
  > 3c90bf9 refactor global state
  > 788efcd Merge pull request # 325 from pohly/logr-marshaler
  > cebb190 internal: remove unused TrimDuplicates
  > 296f5e6 save and restore state
  > 42bf7a2 Merge pull request # 322 from pohly/kobjs-performance
  > 369b848 support logr.Marshaler
  > cc2ce06 Merge pull request # 315 from pohly/logcheck-regexp
  > 87ca629 Merge pull request # 324 from pohly/trim-duplicates
  > 8a3e48e replace KObjs with KObjSlice
  > c697110 Merge pull request # 314 from pohly/stop-flush-daemon-clarification
  > 5079582 logcheck: fix detection of invalid * regexp in filter
  > 7a827a0 Merge pull request # 319 from pohly/klog-help-texts
  > 4c3943c use faster MergeKVs
  > ff92e06 test: add benchmark for KObjs
  > d07cbbf Merge pull request # 313 from pohly/logcheck-contextual-logging
  > 47f254f StopFlushDaemon: document flushing on shutdown
  > 2910cb1 README.md: clarify -logtostderr
  > 6f47a32 klogr: simplify test failure message
  > 4a4a786 Merge pull request # 297 from pohly/logcheck-contextual-logging
  > 7179178 hack/tools: drop dependency on golangci-lint
  > e2432e8 serialize: add MergeKVs as faster TrimDuplicates alternative
  > b46e95d Merge pull request # 311 from pohly/contextual-logging-stable
  > 1876dee logcheck: harmonize report messages
  > e6d69a5 serialize: benchmark and test TrimDuplicates
  > 7b1c318 Merge pull request # 310 from pohly/fork-clock
  > 36e44e7 promote non-test APIs to stable
  > 216a02e logcheck: add check for With* and NewContext
  > e3af9af dependencies: avoid k8s.io/utils, fork clock code instead
  > 317fe52 logcheck: optionally warn about using direct klog logging
  > 41995aa logcheck: detect if V().Enabled()
  > 5b4c326 logcheck: warn about functions with both Logger and Context
  > 567c037 logcheck: support logr.Logger
  > c4c35ff logcheck: support import renaming and improve klog.V(2) handling
  > df531eb logcheck: support running as golangci-lint plugin
  > 3f08024 logcheck: also check for format specifier in calls like klog.Info
  > 0c36cf7 logcheck: move into package
  > 93980ca logcheck: add test cases for parameter check
bumping k8s.io/api e08b72c...f89a761:
  > f89a761 Update dependencies to v0.23.9 tag
bumping k8s.io/client-go 14fa49e...11f68c5:
  > 11f68c5 Update dependencies to v0.23.9 tag
bumping knative.dev/pkg e60d250...f78a006:
  > f78a006 upgrade to latest dependencies (# 2573)
  > d02dcd0 allow drainer to be reset (# 2572)
  > 894c2f2 SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (# 2566)
  > 4f6a775 Remove pkg/pool (# 2568)
  > 9a1245b Update actions (# 2571)
  > 0049fdd Update community files (# 2570)
  > 52261a1 Update community files (# 2569)
  > 7b8b060 Add tracing.SetupDynamicPublishingWithInitialValue (# 2558)
  > a01dfed bump to k8s 0.23.9 (# 2565)
  > 449f7e6 Update community files (# 2564)
  > ed7ab1d upgrade to latest dependencies (# 2559)
  > 6c9c1c6 remove defunct markdown linting variable (# 2552)
  > 3764d73 fix linting (# 2555)
  > a286510 upgrade to latest dependencies (# 2554)
  > 1a5e168 Update community files (# 2553)
  > c488837 Add reconcile for ValidatingWebhookConfiguration and MutatingWebhookConfiguration. (# 2550)
  > 1ad02a5 Drop error from changeset.Get signature (# 2549)
  > 473ba31 Bump min go version to  1.18 && read build info from embedded binary (# 2548)
  > f1f36a2 Fix subresource update logic. (# 2546)
  > 418e138 Update community files (# 2545)
bumping k8s.io/apimachinery 276a8a7...276a8a7:
bumping k8s.io/gengo 4627b89...397b4ae:
  > 397b4ae Merge pull request # 227 from SimonBaeumer/add-gitignore
  > 940203f Merge pull request # 226 from SimonBaeumer/add-link-to-code-generator
  > 6697a9b Add IDE config files to .gitignore
  > 6c88d16 Add link to code-generator tree in introduction text
  > 7b3c0fe Add .idea/ to .gitignore
bumping k8s.io/code-generator 31c00a6...31c00a6:

looks like most of the failures are due to not using go v1.18 in the tests... #364  should fix that

/lgtm
/approve


Allow bearer token file for auth

This also enabled the use of service account provided tokens.

@simon3z, @oschreib  please review.

@abonas Updated as per your review, added test in for non-existent token file.

@jimmidyson @abonas it's looks good to me, however, I'd rather have a "full loop" test (e.g give the client a token file, make sure that it reads it properly and sends the right token to destination) and not only argument error checks.

@oschreib Fair point. Let me add that in too.

@jimmidyson @abonas it's looks good to me, however, I'd rather have a "full loop" test (e.g give the client a token file, make sure that it reads it properly and sends the right token to destination) and not only argument error checks.

:+1:  agree

@oschreib @abonas Added - https://github.com/abonas/kubeclient/pull/98/files#diff-1efd65c010e2f18aadd1dd73e84c68fdR365

@abonas Good catch! Updated

@abonas Updated tests as requested

:+1:  from my side.
@simon3z ?

@simon3z Addressed your comments.

:+1: ready for merge


Agregar una guia y referencia

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Sorry, link only guide additions are not accepted. Plus W3S has a bad reputation.

Hi,
As there has been no response from your end for a while, we are closing this PR.
Feel free to request this PR to be reopened, if you still wish to make the changes you originally added.  Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding! ✈


Litmus API returns 500 when accessing SSO users project

What happened:
After adding the dex configuration I try to access a user project information via the API endpoint GET /get_user_with_project/{username} but I got 500 errors for every SSO user.
What you expected to happen:
The API should have returned the projects that the user is currently part of. It is possible to get the project information for the other users that are created via the litmus chaos centre but not for the SSO users. Also, the API returns an empty 500 error without any message. So better error handling should also be implemented.
Where can this issue be corrected? (optional)

How to reproduce it (as minimally and precisely as possible):
Login using SSO and then using the API try to access this endpoint GET /get_user_with_project/{username} you will get 500 error.
Anything else we need to know?:

Fix: https://github.com/litmuschaos/litmus/pull/3529


ci: remove unnecessary pre-build step

Description

remove unnecessary pre-build steps

Motivation and Context

related to #609
speed up CI

How has this been tested?

CI

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Coverage remained the same at 97.872% when pulling e6c7479826a0c41647a089c56978e11611bbc041 on remove-pre-build into 35ac1dbd29ff0953f978373dd6add081819087de on master.


Prepending component attributes causes an exception when said attribute is missing in calling template

Laravel Version: 8.13
PHP Version: 7.4
Database Driver & Version: none

Description:
Rendering a component with prepended attributes but without overriding that attribute in the calling template yields an error.
Steps To Reproduce:

composer create-project laravel/laravel testing
php artisan make:component TestComponent
Copy the example from the docs into the template

<div {{ $attributes->merge(['data-controller' => $attributes->prepends('profile-controller')]) }}>
    {{ $slot }}
</div>

attempt to render the component without 'data-controller' specified.

Rendering this component like so: <x-test-component data-controller="some-controller" /> works as expected.
Rendering this component like so: <x-test-component /> yields the following error:

I would expect to have the string profile-controller to be the default and only value present if no attribute named data-controller is specified.

I've hotfixed this locally by adding a __toString method to AppendableAttributeValue like so:
<?php

namespace Illuminate\View;

class AppendableAttributeValue
{
    /**
     * The attribute value.
     *
     * @var mixed
     */
    public $value;

    /**
     * Create a new appendable attribute value.
     *
     * @param  mixed  $value
     * @return void
     */
    public function __construct($value)
    {
        $this->value = $value;
    }

    public function __toString()
    {
        return (string)$this->value;
    }
}

Copy the example from the docs into the template

Which example?

@driesvints the one from the Non-class attribute merging section. I've provided it verbatim in my original post.

Copy paste your TestComponent please.

It's just an empty default Component stub:
<?php

namespace App\View\Components;

use Illuminate\View\Component;

class TestComponent extends Component
{
    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    /**
     * Get the view / contents that represent the component.
     *
     * @return \Illuminate\Contracts\View\View|string
     */
    public function render()
    {
        return view('components.test-component');
    }
}

Thanks. I managed to reproduce this. I think the __toString solution is a valid one. Can you PR it? A test would be useful as well.

Sure, I'll link it here when it's ready.

Fixed in #35131


Understanding Next..JS by Building a Create-Next-App starter kit

Proposed title of article
Understanding Next..JS by Building a Create-Next-App starter kit
Proposed article introduction
Next.js is an open-source development framework built on top of Node.js enabling React based web applications functionalities such as server-side rendering and generating static websites. A starter kit is a set of pre-existing code that you can launch to automate your repetitive tasks. It has a language, a framework, and a pattern for a specific use case. So this article will show you the pre-existing code of create-next-app and how they fit together to offer the features that next.js provided.
Key takeaways
-The readers will be able to understand the technologies that are incorporated to offer the next.js features.
-The readers will be able to understand next.js errors better since everything under its hood will be well explained.
-The readers will understand next.js project structure better and the features that its offers.
Article quality
Unlike other articles, this article will focus on how to start a next.js project manually while explaining the technologies that offer its features.
References
-https://dev.to/calguzman/how-to-create-a-basic-structure-for-a-next-js-app-manually-or-using-a-boilerplate-tool-3h9g
-https://nextjs.org/docs/api-reference/create-next-app
Conclusion
Templates to use as guides

What do you think of this topic? @WanjaMIKE

I think it's over saturated @ahmadmardeni1 We already have articles on different aspects of Next.js. We can close it

Thank you @WanjaMIKE
Thank you for submitting your topic. @Moscode
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀


Add migrations to Graph CLI, bump mappings from 0.0.1 to 0.0.2 automatically

Resolves #233.
This is a prerequisite to us releasing new versions of graph-ts and graph-cli.
When running graph codegen, graph build or graph codegen, migrations are now applied to subgraphs. The first migration that is added in this PR automatically bumps apiVersion of mappings from 0.0.1 to 0.0.2.
In action: First, running graph codegen before the migration has run (note the Apply migrations messages):
$ graph codegen
  Apply migration: Bump mapping apiVersion from 0.0.1 to 0.0.2
✔ Apply migrations
⚠ Warnings while loading subgraph from subgraph.yaml: Warnings in subgraph.yaml:

    Path: description
    The description is still the one from the example subgraph.
    Please update it to tell users more about your subgraph.

✔ Load subgraph from subgraph.yaml
  Load contract ABI from abis/Gravity.json
✔ Load contract ABIs
  Generate types for contract ABI: Gravity (abis/Gravity.json)
  Write types to generated/Gravity/Gravity.ts
✔ Generate types for contract ABIs
✔ Load GraphQL schema from schema.graphql
  Write types to generated/schema.ts
✔ Generate types for GraphQL schema

Types generated successfully

Second, running graph codegen after the migration has run (note the Skip migration message):
$ graph codegen
  Skip migration: Bump mapping apiVersion from 0.0.1 to 0.0.2
✔ Apply migrations
⚠ Warnings while loading subgraph from subgraph.yaml: Warnings in subgraph.yaml:

    Path: description
    The description is still the one from the example subgraph.
    Please update it to tell users more about your subgraph.

✔ Load subgraph from subgraph.yaml
  Load contract ABI from abis/Gravity.json
✔ Load contract ABIs
  Generate types for contract ABI: Gravity (abis/Gravity.json)
  Write types to generated/Gravity/Gravity.ts
✔ Generate types for contract ABIs
✔ Load GraphQL schema from schema.graphql
  Write types to generated/schema.ts
✔ Generate types for GraphQL schema

Types generated successfully

And the git diff output after running the above:
git diff subgraph.yaml
diff --git a/subgraph.yaml b/subgraph.yaml
index dbebe88..b115478 100644
--- a/subgraph.yaml
+++ b/subgraph.yaml
@@ -12,7 +12,7 @@ dataSources:
       abi: Gravity
     mapping:
       kind: ethereum/events
-      apiVersion: 0.0.1
+      apiVersion: 0.0.2
       language: wasm/assemblyscript
       entities:
         - Gravatar

Looks good. An input -> output test might be nice but I don't know how feasible that is. Ideally, we'd run this migration based on the graph-ts version, rather than running it based on the graph-cli version as this is doing right now. But they're usually bumped together so in practice this also works.

@leodasvacas Yeah, I've got full I/O tests in the back of my mind but it would be a lot of work right now.
We could check the @graphprotocol/graph-ts version in package.json as well if that makes sense to you. Is that what you're suggesting: graph-ts >= x.y.z + apiVersion: 0.0.1 -> run the migration?

@Jannis exactly, that would be good. We can apply the migration regardless of the current apiVersion, to cover the case where user is going from a newer version to an older one.

@leodasvacas I don't like applying the migration regardless of the current apiVersion, because the patching isn't granular enough — it operates on the entire file and if we ever add apiVersion: 0.0.1 anywhere else, it would overwrite that.
I've made the migration stricter now: Only migrate mappings from 0.0.1 to 0.0.2 if the graph-ts dependency is installed and > 0.5.1 (our current version). So the next time we release a new graph-ts version, the migration would kick in, but not with 0.5.1 yet.


Need Help

Hi,
Thanks for providing this package for auth0 integration. We are planning to use this in our application.
I have couple of questions on this:

Is there a way where the Auth0 UI widget can be customized so that when a new user opens it, we should bring up the widget with Sign Up tab active instead of Log In?

When I login into this Auth0 using the package, I noted that we get a verification email but the user is still able to log in before the email is verified. Is this the inherent feature of Auth0 or there is some settings in the package which we need to do?

Thanks

Is there a way where the Auth0 UI widget can be customized so that when a new user opens it, we should bring up the widget with Sign Up tab active instead of Log In?

It's totally configurable, please check the Auth0-Lock official doc: https://auth0.com/docs/libraries/lock/v11/configuration#initialscreen-string-
And there is an example:
https://github.com/xcv58/meteor-auth0/blob/master/examples/sample-app/client/main.js#L14-L20

When I login into this Auth0 using the package, I noted that we get a verification email but the user is still able to log in before the email is verified. Is this the inherent feature of Auth0 or there is some settings in the package which we need to do?

It should be configured via Auth0 itself, please check https://auth0.com/rules/email-verified


Failed to connect [Error]

Description
it don't allow me to play music, it shows error:
Failed to connect to [server.region]
( log included down in the post )
Version info
Client used:
Output of java -jar Lavalink.jar --version:

       .   _                  _ _       _    __ _ _
      /\\ | | __ ___   ____ _| (_)_ __ | | __\ \ \ \
     ( ( )| |/ _` \ \ / / _` | | | '_ \| |/ / \ \ \ \
      \\/ | | (_| |\ V / (_| | | | | | |   <   ) ) ) )
       '  |_|\__,_| \_/ \__,_|_|_|_| |_|_|\_\ / / / /
    =========================================/_/_/_/

        Version:        <IP_ADDRESS>
        Build:          828
        Build time:     31.07.2019 11:02:24 CEST
        Branch          master
        Commit:         d9c9aa0
        Commit time:    31.07.2019 10:59:59 CEST
        JVM:            11.0.4
        Lavaplayer      1.3.19

spring.log

Hey we have this issue too. We fixed it by changing our voice region to Europe. A lot of servers our bot is in are affected as well.

I did and still same issue ( i changed every region that on the serverlist ) still nothing works for me

same problem here (eu-central)

We believe this is a Cloudflare problem

Starting to think a bunch of companies held a secret conference and all plotted to ruin the week of bot developers.

Is there something we can do to fix this atm?

Is there something we can do to fix this atm?

The only workaround seems to migrate to a server that isn't affected.

Same thing here, it's mainly cloudflare.  I'm reading into discord API changes, and it seems that they made some major changes.  I'll link them here below as i find the related ones.
below is the exception from my spring.log, repeated across every public discord websocket
java.lang.IllegalStateException: Failed to connect to wss://sydney49.discord.media/?v=4
        at space.npstr.magma.impl.connections.hax.ClosingUndertowWebSocketClient$1.handleFailed(ClosingUndertowWebSocketClient.java:73) ~[impl-0.12.3.jar!/:na]
        at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.AbstractIoFuture$1.run(AbstractIoFuture.java:211) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.IoUtils$2.execute(IoUtils.java:70) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:354) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.AbstractIoFuture.runAllNotifiers(AbstractIoFuture.java:233) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:251) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.FutureResult.setException(FutureResult.java:89) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at io.undertow.websockets.client.WebSocketClient$ConnectionBuilder$2.notify(WebSocketClient.java:342) ~[undertow-core-2.0.26.Final.jar!/:2.0.26.Final]
        at org.xnio.AbstractIoFuture$1.run(AbstractIoFuture.java:211) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.IoUtils$2.execute(IoUtils.java:70) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:354) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.AbstractIoFuture.runAllNotifiers(AbstractIoFuture.java:233) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:251) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.FutureResult.setException(FutureResult.java:89) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.http.HttpUpgrade$HttpUpgradeState$StringWriteListener.handleEvent(HttpUpgrade.java:391) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.http.HttpUpgrade$HttpUpgradeState$StringWriteListener.handleEvent(HttpUpgrade.java:372) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.writeReady(WriteReadyHandler.java:65) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at io.undertow.protocols.ssl.SslConduit$SslWriteReadyHandler.writeReady(SslConduit.java:1273) ~[undertow-core-2.0.26.Final.jar!/:2.0.26.Final]
        at io.undertow.protocols.ssl.SslConduit$3.run(SslConduit.java:275) ~[undertow-core-2.0.26.Final.jar!/:2.0.26.Final]
        at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:582) ~[xnio-nio-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.nio.WorkerThread.run(WorkerThread.java:466) ~[xnio-nio-3.3.8.Final.jar!/:3.3.8.Final]
Caused by: java.nio.channels.ClosedChannelException: null
        at io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:369) ~[undertow-core-2.0.26.Final.jar!/:2.0.26.Final]
        at org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:150) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        at org.xnio.http.HttpUpgrade$HttpUpgradeState$StringWriteListener.handleEvent(HttpUpgrade.java:385) ~[xnio-api-3.3.8.Final.jar!/:3.3.8.Final]
        ... 7 common frames omitted

It seems to be an issue with cloudflare directly, because when i do a simple curl against the v4 api base, I get a 404.

Although according to discord API docs, we should be using v3, but it seems that Lavalilnk is set up for v4....

Here's a v4 curl from a proper linux box...
root@vcli-ytdl-test:~# curl sydney49.discord.media/?v=4/hello -v
* Expire in 0 ms for 6 (transfer 0x5623a93f2f50)
* Expire in 1 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 1 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 2 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 2 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 2 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 0 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 2 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 1 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 1 ms for 1 (transfer 0x5623a93f2f50)
* Expire in 1 ms for 1 (transfer 0x5623a93f2f50)
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Expire in 149998 ms for 3 (transfer 0x5623a93f2f50)
* Expire in 200 ms for 4 (transfer 0x5623a93f2f50)
* Connected to sydney49.discord.media (<IP_ADDRESS>) port 80 (#0)
> GET /?v=4/hello HTTP/1.1
> Host: sydney49.discord.media
> User-Agent: curl/7.64.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Thu, 17 Oct 2019 11:22:28 GMT
< Content-Length: 0
< Connection: keep-alive
< Set-Cookie: __cfduid=d53f2f49139c720dca5309785fcf37c3e1571311348; expires=Fri, 16-Oct-20 11:22:28 GMT; path=/; domain=.discord.media; HttpOnly
< CF-Cache-Status: DYNAMIC
< Server: cloudflare
< CF-RAY: 5271e5192fd546ea-EWR
<
* Connection #0 to host sydney49.discord.media left intact

and respectively a v3
root@vcli-ytdl-test:~# curl sydney49.discord.media/?v=3/hello -v
* Expire in 0 ms for 6 (transfer 0x564cd8d57f50)
* Expire in 1 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 1 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 2 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 2 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 2 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 0 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 2 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 1 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 1 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 4 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 1 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 1 ms for 1 (transfer 0x564cd8d57f50)
* Expire in 1 ms for 1 (transfer 0x564cd8d57f50)
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Expire in 149997 ms for 3 (transfer 0x564cd8d57f50)
* Expire in 200 ms for 4 (transfer 0x564cd8d57f50)
* Connected to sydney49.discord.media (<IP_ADDRESS>) port 80 (#0)
> GET /?v=3/hello HTTP/1.1
> Host: sydney49.discord.media
> User-Agent: curl/7.64.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Thu, 17 Oct 2019 11:23:41 GMT
< Content-Length: 0
< Connection: keep-alive
< Set-Cookie: __cfduid=d88b1def1545b11853fd6d9c2aec460a71571311420; expires=Fri, 16-Oct-20 11:23:40 GMT; path=/; domain=.discord.media; HttpOnly
< CF-Cache-Status: DYNAMIC
< Server: cloudflare
< CF-RAY: 5271e6dd2afce710-EWR
<
* Connection #0 to host sydney49.discord.media left intact

Judging by this, it seems their API is all kinds of screwy and nobody has noticed yet...

Now that i've slept, and have woken up and had coffee in my system, I'm going to be doing some more investigation.
Here goes nothing.

Now that i've slept, and have woken up and had coffee in my system, I'm going to be doing some more investigation.
Here goes nothing.

Mainly this happened after the ban wave for the bot developers who abused the API to broadcast messages from they're bots ( Sadly i was one of them who got suspended ).
After that, bots all of sudden started to lose ( connection / not stable / refuse to connect to API )
i think there's a major change that happened but no one told us about it.

@AutrixSalv Cool, thanks for the heads up.  I opened an issue here on Github for Discord
https://github.com/discordapp/discord-api-docs/issues/1149

@wertyy102 v4 is the version that should be used, but it isn't documented.

Latest news on the issue for anyone scrolling, and possibly incorrect implementation on lavalink's end due to breaking api changes similar to discord.py.

Our investigation of this issue continues, and we've isolated 2 specific issues.
We recently changed our voice servers to proxy TCP traffic through cloudflare to stop some variants of naive DoS attacks.
Correct client implementations should have handled this change seamlessly. We announced that we would do this change back in July in the API server: https://canary.discordapp.com/channels/81384788765712384/381871767846780928/601151474738790512 and the proper way of connecting to our voice infra has been documented for a while now: c606741
The first issue is due to an incorrect implementation of our voice API in discord.py - I had committed a fix for this in July: Rapptz/discord.py@8fdcb4d however - no version has been released since June. So, discord.py doesn't work, because it's implementation is wrong. This is probably the issue affecting small bots using discord.py. This should be resolved in the next discord.py release (1.2.4) - and upgrading the dependency to that version when released should resole the issue.
The second is some DoS protection measure triggering on larger bots, causing them their connections to fail, regardless of library. This is the issue we are currently investigating.

We think the second issue is now resolved - based on our findings, the issue was not Cloudflare's fault. Specifically, as part of this change, we started supporting and allowing clients to negotiate a TLS v1.3 connection to our voice servers. This seems to break something deep down in Lavalink, and thus causes the connection handshake to hang and timeout.

In the interim, I've gone ahead and disabled TLS 1.3 - meaning connections will fall back to the old TLS 1.2 default.

Anyone still having this issue should revert from Java v14 to v13.

Anyone still having this issue should revert from Java v14 to v13.

I'm using v13 and still getting the problem

I am using java 14 and getting the issue. I thought it might be my dns servers but its not.

I'm using Java 14 and getting the issue too.
Private bot for 2 guilds only, around 100 users...


Make sure we have an ending drag event when flick is fired.

When a flick event is fired the previous drag event does not set end as true, so this fires another drag event prior to the flick to ensure we have an end drag event.
I've need this when combining flick and drag events on the same elements.
Better solution maybe to understand when the trigger on 168 wasn't actually firing for drag, but i've not had chance to really read the JS, so this is just a quick-cheap fix.

Hey,
Thanks a lot for the PR!
Would you mind adding a test case to illustrate this issue?


[DOCS] Jenkins docs for signing and verifying using a Jenkins pipeline

Small doc related pr

I've had to update how the pipeline uses cosign credentials, as When deploying this it wasn't working (this time), I believe previously the config for docker within the pipeline was already authenticated with quay, meaning it was skipping the setp each time

@JasonPowr what is the status of this PR?

@JasonPowr what is the status of this PR?

@lance This pr should be good to go, although there may be better documentation out there by now


issues about briage

Hello, thank you very much for providing such an excellent image. After deploying with Greenlink Cloud SSH, the address obtained by DSM is <IP_ADDRESS>, and it is unable to communicate with the host and mount Samba devices on the host. I am considering that the issue may arise in the briage method. Can you obtain the address 172.17.0. * as the internal address of DSM to try to solve this problem? Thank you for reading.
您好，非常感谢您提供如此优秀的镜像，我使用绿联云ssh部署后，DSM获取到的地址是<IP_ADDRESS>，无法和宿主机通信，不能挂载宿主机samba设备。我考虑问题可能出现在briage这种方式上，能否获取172.17.0.*的地址作为DSM内部地址，以尝试解决这个问题，感谢阅读。

Thank you for your reply and providing such an excellent product. I have installed iputils and attempted to ping other devices and hosts, both of which can be pinged and mounted with Samba from other devices. However, I am unable to mount Samba from the host, resulting in data interoperability issues.

感谢回复以及提供如此优秀的产品，我安装了iputils并尝试ping其他设备和宿主机，都可以ping通，也可以挂载其他设备的samba，但是无法挂载宿主机的samba，导致数据无法互通。

I am installed on a UGREEN-NAS device, Like synology or QNAP. I hope to be able to mount the host's directory through vDSM for data sharing. Currently, vDSM can mount other devices on the local area network, but it cannot mount the host's samba.

How do I give the container a dedicated IP address?
By default the container uses bridge networking, and is reachable by the IP of the docker host.
If you want to give it a seperate IP address, create a MACVLAN network that matches your local subnet:
$ docker network create -d macvlan \
    --subnet=<IP_ADDRESS>/24 \
    --gateway=<IP_ADDRESS> \
    --ip-range=<IP_ADDRESS>/28 \
    -o parent=eth0 macvlan0

And change the network of the container to macvlan0 in your run command:
 --network macvlan0 --ip=<IP_ADDRESS>

This has the advantage that you don't need to do any portmapping anymore.

Thank You very much， it works!

如何为容器提供专用IP地址？
默认情况下，容器使用桥接网络，并且可以通过docker主机的IP访问。
如果你想给它一个单独的IP地址，创建一个匹配你本地网的MACVLAN网络：
$ docker network create -d macvlan \
    --subnet=<IP_ADDRESS>/24 \
    --gateway=<IP_ADDRESS> \
    --ip-range=<IP_ADDRESS>/28 \
    -o parent=eth0 macvlan0

并在您的运行命令中将容器的网络更改为macvlan0：
 --network macvlan0 --ip=<IP_ADDRESS>

这样做的好处是您不再需要进行任何终端口投射。

If I have tailscale installed on my system with an intranet ip of 100.64.0.X/32, how do I use this command to connect via tailscale?

version: '3.8'
services:
vm:
container_name: dsm
image: kroese/virtual-dsm:latest
restart: on-failure
environment:
DISK_SIZE: "32G"
RAM_SIZE: "512M"
CPU_CORES: "1"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 5000:5000
- 5001:5001
volumes:
- ./data:/storage
networks:
macvlan0:
ipv4_address: <IP_ADDRESS>
networks:
macvlan0:
external: true
I wrote it this way, docker-compose.yml, and although he ran it, it didn't work correctly, and I don't know how to write docker-compose.yml correctly to make it work

@ziyou2 Can you tell what didn't work correctly? Because first you were talking about Tailscale so Im a bit confused.

Tailscale solution didn't work because I was using the headscale build
I tried to “docker exec” dsm container and install headscale, but it didn't work

You can login to vDSM, go to Package Center, and search for Tailscale and you will see the app, install it, and it will work fine.

Tailscale solution didn't work because I was using the headscale build
version: "3"
services:
dsm:
container_name: dsm
image: kroese/virtual-dsm:latest
environment:
DISK_SIZE: "16G"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 5000:5000
- 5001:5001
volumes:
- ./data:/storage
networks:
vdsm:
ipv4_address: <IP_ADDRESS>
networks:
vdsm:
external: true
I use this docker-compose after editing it myself although it returns Creating dsm ... done, but it doesn't work properly

@a11505 Hello, I see that you are using ugreen cloud and can normally use macvlan, but I find that ugreen cloud has not installed MACVLAN-related kernel modules
# lsmod | grep macvlan
# opkg info kmod-macvlan
Package: kmod-macvlan
Version: 5.10.186-1
Depends: kernel (= 5.10.186-1-64a64673aeb2b14d6f0f78fbfb7a1f84)
Status: unknown ok not-installed
Section: kernel
Architecture: x86_64
Size: 10967
Filename: kmod-macvlan_5.10.186-1_x86_64.ipk
Description: A kernel module which allows one to create virtual interfaces that
 map packets to or from specific MAC addresses to a particular interface

I try to install it manully, but got
# opkg install kmod-macvlan
Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Unknown package 'kmod-macvlan'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.186-1-64a64673aeb2b14d6f0f78fbfb7a1f84) for kmod-macvlan
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-macvlan found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-macvlan.

If  using docker to create an image without kmod-macvlan, I would get an error
docker: Error response from daemon: failed to create the macvlan port: operation not supported.

Could you please tell me how to solve it?

是的，绿联云没有该模块，且没有兼容的模块可以安装，极空间支持MACVLAN，我有多台设备，该解决方案在极空间有效，绿联云使用openwrt作为底层，有天生缺陷，可能无解。
---Original---
From: @.>
Date: Tue, Jul 4, 2023 00:17 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [kroese/virtual-dsm] issues about briage (Issue #24)
@a11505 Hello, I see that you are using ugreen cloud and can normally use macvlan, but I find that ugreen cloud has not installed MACVLAN-related kernel modules
lsmod | grep macvlan # opkg info kmod-macvlan Package: kmod-macvlan Version: 5.10.186-1 Depends: kernel (= 5.10.186-1-64a64673aeb2b14d6f0f78fbfb7a1f84) Status: unknown ok not-installed Section: kernel Architecture: x86_64 Size: 10967 Filename: kmod-macvlan_5.10.186-1_x86_64.ipk Description: A kernel module which allows one to create virtual interfaces that  map packets to or from specific MAC addresses to a particular interface
I try to install it manully, but got
opkg install kmod-macvlan Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest. Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest. Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest. Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest. Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest. Unknown package 'kmod-macvlan'. Collected errors:  * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.186-1-64a64673aeb2b14d6f0f78fbfb7a1f84) for kmod-macvlan  * pkg_hash_fetch_best_installation_candidate: Packages for kmod-macvlan found, but incompatible with the architectures configured  * opkg_install_cmd: Cannot install package kmod-macvlan.
If  using docker to create an image without kmod-macvlan, I would get an error
docker: Error response from daemon: failed to create the macvlan port: operation not supported.
Could you please tell me how to solve it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Generate active record class: syntax for resulting code not correct

define public property part       as character no-undo. get. set.
should be
define public property part       as character no-undo get. set.
No "." after no-undo.

Thanks for letting me know! I will change it.
--
Patrick Tingen
Op do 7 mrt. 2019 om 13:25 schreef Steven Peeters<EMAIL_ADDRESS>
:

define public property part as character no-undo. get. set.
should be
define public property part as character no-undo get. set.
No "." after no-undo.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/patrickTingen/DataDigger/issues/47, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFuwHeDPq5WozmhZYX-NIKQ4W_nG3rLIks5vUQUbgaJpZM4bjEKG
.


Formatting of react code is bad

Issue Type: Bug
Write any return function for react component and it formats in an unreadable way
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (8.56GB free)

Process Argv
D:\Projects\testing\src --crash-reporter-id dd6813e1-947b-47b6-b21b-53bf41d02faf

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.1.13

verilog
Gty
0.1.5

vscode-JS-CSS-HTML-formatter
lon
0.2.3

python
ms-
2020.11.371526539

jupyter
ms-
2020.11.392013122

cpptools
ms-
1.1.2

html5-boilerplate
sid
1.1.1

/needsMoreInfo
Please provide screenshot of the problem.
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled
Most likely installed formatter extension causes problems.

Fixed issue by resetting vscode probably an extension issue!
On Thu, 3 Dec, 2020, 19:38 Andrii Dieiev<EMAIL_ADDRESS>wrote:

/needsMoreInfo
Please provide screenshot of the problem.
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions
Disabled
Most likely installed formatter extension causes problems.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/111809#issuecomment-738016356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANHH7KHD7X5VRAIRS6ZVCNLSS6LWHANCNFSM4UL4CQOA
.

/causedByExtension


Improve feedback messages for upload errors

Current behavior: if an error happens during the upload of files to iRODS, Metalnx displays not enough space in most cases.
Desired behavior: have better feedback messages for users to understand what has actually happened.

Closed on release 1.1.0


Add 0.12 and iojs to required tests; Add 0.13 as optional

CLA is valid!

Coverage remained the same at 100.0% when pulling 75b96e08b58a222c74383eca06d5ea4220dd1203 on mridgway-patch-1 into 767a2369a45ee4a0b22403e159e5aab77d8960c3 on master.

:shipit:


Discard non-FISH channels when viewing the regional spot images

We could read a config (clicked-and-dragged) or more likely an env var to get rid of the channels slider and minimise the data load potential, since we only care about 1 channel for the regional spots visualisation.

In a similar vein as #1


Benchmark constellation-rs/amadeus's parquet implementation

We might want to use constellation-rs/amadeus's parquet, which claims a 1.5-17x speedup, or maybe even attempt to merge it upstream.
One should also consider just how big of an overhead we are talking about when it comes to reading parquet files and how this relates to Ballista's persistence story.

What they have seems just like a fork of what's in arrow-rs, I doubt it will be faster than @jorgecarleitao 's parquet2/arrow2 implementation ;)

Ah, I see, ok, I'll take a look at that :)

for parquet2, you can play around with it with the code in https://github.com/apache/arrow-datafusion/pull/68. I am also curious how amadeus' implementation performs.

https://github.com/constellation-rs/amadeus appears to be abandoned so closing.
FWIW there was work in February of this year to port across many of the ideas from parquet2, which brought the two into roughly the same ballpark. Depending on benchmark selection you could make either perform better  Now that parquet supports predicate pushdown the story is significantly less nuanced.


add preload of device list

Description
Add device list to return of device groups
Fixes # (issue)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[X] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] I run go fmt ./... to check that my code is properly formatted
[X] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #639 (71f9f5d) into main (c22c510) will increase coverage by 0.06%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #639      +/-   ##
==========================================
+ Coverage   31.76%   31.82%   +0.06%
==========================================
  Files          37       37
  Lines        3970     3981      +11
==========================================
+ Hits         1261     1267       +6
- Misses       2530     2535       +5
  Partials      179      179

Impacted Files
Coverage Δ

pkg/services/devicegroups.go
29.87% <0.00%> (ø)

pkg/services/devices.go
59.03% <0.00%> (-1.88%)
:arrow_down:

pkg/services/images.go
17.46% <0.00%> (+0.87%)
:arrow_up:

Continue to review full report at Codecov.

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


[BUG] Line floating on the screen

Description of the bug
https://github.com/UniKonf/vibey/assets/59419650/40c03c63-1adf-498c-8aec-2c57df6baac9
Please add screenshots (if applicable)
No response
Add any other context about the problem here
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Varghab please fix this issue with new pr.


Effortless Raspberry Pi support

We need a solid and effortless way to move art projects from prototyping to deployment. Some people may choose to run their projects on full-size computers, but I suspect most people will want to use some flavor of embedded device.
It's still an open question as to what the best way to do this would be. For example, one way of doing this may be an automatic SD card image builder. You give it a Processing sketch, and it gives you an SD card image.
I suspect the best option, though, will be an interactive way to develop and deploy sketches on a Raspberry Pi. This could be a distro that runs a web-based interactive development environment for Javascript. Something like nide or Cloud9.
Ideally, the rPI would be "connected" to an account once, then you could push code to it from a web-based editor any time the device has internet connectivity. Of course, sketches must run offline, and must be deployable offline. None of this can require internet access.

How about using https://resin.io/? They seem to allow pushing 'directly' to Raspberry Pi's - all you need to do is write an SD card once.


"Redirecting to ActBlue" exit pages for donation plans

We should have a redirect page that users are sent to for 3 sec after they click a donation plan from the homepage, explaining that they are leaving the site and being sent to ActBlue

don't think this is needed if the buttons are clearer about what's about to happen


Add best practice around recursive file resources

I'm 👍 on this, but I chose not to merge it because I'm curious if anyone else has any other general advice around recurse => true. Other examples, other use cases, or other alternatives.

@npwalker made some edits, mainly to include reference to when it's ok to use recurse => true. Please review. Thanks!

@npwalker Did you mean to include the template file in this PR?
Also, I'm happy with @reidmv 's changes and will merge this unless I hear any other feedback soon.

@natemccurdy yes we should have a template here I think and this was my first PR trying to make something in here so I included the template.
I went ahead and squashed this down to 2 commits.


Removed root key in included payload

When returning included data as sideload it returns the following:
{
"user": {"id": 1, "name": "test"},
"0":{"sideloadresource":[{"id": 1}],[]}
}

What it should return
{
"user": {"id": 1, "name": "test"},
"sideloadresource":[{"id": 1]}]
}

My fix removed the empty array as well removed the 0 key on root sideload.
Hope this fix does not cause other issues.

I can't merge a failing build.


1110 | Cows and Bulls game | C++

Title -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code
[ ] Improving Code
[x] Improving Documentation
[x] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[x] Python
[x] C++
[x] Java
[x] SQL

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

I wanted to do this


web_search_agent_streamlit.py NameError: name 'model' is not defined

The streamlit version of the web search agent (Pydantic AI) is broken:
$ cd ai-agents-masterclass/pydantic-ai
$ python web_search_agent_streamlit.py
Traceback (most recent call last):
  File "/.../ai-agents-masterclass/pydantic-ai/web_search_agent_streamlit.py", line 24, in <module>
    model,
    ^^^^^
NameError: name 'model' is not defined

I got the same error. Readme is wrong.
I had to run:
streamlit run streamlit_ui.py

I updated the README @aalstes, thank you for pointing that out! And thanks for opening this issue @mberth!

And thank you for your amazing YouTube content! Best channel I know about for learning about AI agents.


Use prop types from deprecated-react-native-prop-types

Starting with React Native 0.68, using Prop Types from react-native emits a warning because this is deprecated:

ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.

This PR simply loads them from the new deprecated-react-native-prop-types package, as recommended in the warning above.

Tested in our own app... I second this!

Tested here too and it fixes the warning. Would be great to merge it

PLEASE MERGE IT THIS

Also would like to see this merged

@renchap there is a lint warning in Video.js: Strings must use singlequote.
If that's what keeping this PR from being merged, can you please update it?


Allow custom namespace prefixing when useRedisSets is disabled

Is your feature request related to a problem? Please describe.
Currently, when useRedisSets is set to false, the library automatically adds a default prefix (``sets:namespace:*`) to the namespace.
https://github.com/jaredwray/keyv/blob/4e59d1c5cd65b505b9a38dc7b20e6c8a4f7b9264/packages/valkey/src/index.ts#L43
This behavior can be restrictive for developers who want more flexibility in managing their namespaces. Is there a specific reason for enforcing this prefix?
Or is it some legasl reason why it add this prefix?
Describe the solution you'd like
I propose removing the default prefix for namespaces when useRedisSets is disabled. Instead, allow consumers/programmers to define their own prefixing strategy for namespaces. This approach would provide greater control and customization for library users.

@johannbrynjar - we have plans to do a big overhaul to valkey using iovalkey in 2025 with the following changes:

removing useRedisSets this has caused more issues than anything and in the new @keyv/redis package we removed it completely.
Better Namespace Support - We are now adding better namespace support and you can see it on the new @keyv/redis driver as an example.

This will be a breaking change but do plan to get to this in the first 2-3 months of 2025. You can see what we have done here with the latest redis version: https://github.com/jaredwray/keyv/tree/main/packages/redis
I will close this out until we get started on this feature and will create a new issue with the upgrade and tag you in it.


Excel data file is corrupt

The Excel data file 'default_of_credit_card_clients__courseware_version_1_21_19.xls' appears to be corrupt. It produces a warning in Excel and does not open in read_excel():
xlrd.biffh.XLRDError: Unsupported format, or corrupt file: Expected BOF record; found b'\n\n\n\n\n<!D'

@atsats I am able to open the file in Excel and in Pandas. Perhaps trying cloning the repo again, or downloading the file individually, as you may have had an issue with your download becoming corrupted. If you're still having issues, could you indicate your Pandas version and other details of your system?

Can I add a loan prediction project based on Matplotlib, numpy and pandas .

Hi @Tomyzon1728, this sounds like a separate issue. If you are suggesting adding a new project to this repo, that would not be appropriate since the repo consists only of the code demonstrated in the accompanying book. However if you have questions or comments related to the book, please use the form on my website: https://www.steveklosterman.com/book/. Thanks!
@atsats I'm assuming your issue has been resolved by now. If not please feel free to reopen this issue. Thank you.


Installing pigpio via pip does not install pigpio.py

I tried to install pigpio with the following command on a Raspberry Pi for Python 3.4:
sudo pip3 install pigpio

This tries to install pigpio 1.40 and only makes the directory /usr/local/lib/python3.4/dist-packages/pigpio-1.40.dist-info, but no file /usr/local/lib/python3.4/dist-packages/pigpio.py.
Installing the previous version 1.38 with
sudo pip3 install pigpio==1.38

works fine.

I haven't put anything under the pip system.  That is maintained by a third party who may update the version on an ad hoc basis.

You are right. The smallprint tells me that it's @bennuttall. I already contacted him. Sorry, I should have checked!

Sorry about this - I'm not sure how it happened but I'll push up a fixed version asap.

Thanks!!!

Ok that's done. You can't replace files once they're uploaded, so I have uploaded a 1.40.post1 release.


Feature/15 Upload API Documents when master or develop branch is updated

Issue : #15

[x] Buildable
[x] Doxygen products are not uploaded
[ ] See  http://geroshabu.github.io/GeroMachine/develop/html after merging

http://geroshabu.github.io/GeroMachine/develop/html が見れなかった.
修正し, #21 でマージする.


Suggestion: add debug information for VSCode

Hi @Deluze would it be possible to include the VSCode debug files (launch.json and tasks.json) in the template? If not, do you have any recommendations on how to create them?
Thank you very much in advance!

@Deluze, I managed to make debug partially work with the following launch.json file:
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Electron: Main",
            "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
            "runtimeArgs": [
                "--remote-debugging-port=9223",
                "."
            ],
            "windows": {
                "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
            },
            "program": "${workspaceFolder}/src/main.ts",
        },
        {
            "name": "Electron: Renderer",
            "type": "chrome",
            "request": "attach",
            "port": 9223,
            "webRoot": "${workspaceFolder}/src/renderer",
            "timeout": 5000
        }
    ],
    "compounds": [
        {
            "name": "Electron: All",
            "configurations": [
                "Electron: Main",
                "Electron: Renderer"
            ]
        }
    ]
}

The Main process breakpoints are working well with this setup, after adding sourceMap: true to the src/main/tsconfig.json file (and running yarn run dev to compile the code and generate the source-maps). Maybe adding a command to only compile the code, instead of serving it may help, and we could add a task and use preLaunchTask to compile it before starting the debugger.
But I could not make the debugger run with the renderer process. I think the problem is that the renderer window directly uses the file renderer/index.html, which imports main.ts directly. Seems a way to solve it is always to compile the renderer/main.ts to JavaScript, generating the sourcemap and a separate index.html on the build directory, similar to that generated when we run yarn run build, and use this when starting the renderer window.
I hope it helps to add the debug layer to the template.
Best regards


Add Custom::App CloudFormation resource.

Closes https://github.com/remind101/empire/issues/810
This adds a Custom::App resource, so you can provision Empire applications, and set environment variables from CloudFormation stacks. This allows you to provision your entire infrastructure, including Empire apps, and link it all together.
Not quite ready, because I think there's some UX things to address first, but I'm pretty excited about what this enables.
TODO

[ ] Environment variables set by CloudFormation probably shouldn't be editable (or visible) from emp set.
[ ] Docs
[ ] Can we use Custom::Empire::App?

This is really neat :)

Thinking about this a bit, I think you should be able to control whether an environment variable is secret (hidden from emp env) and whether an environment variable is locked by the context that set it (e.g. stack id).
There's certain things that we'd want to make both locked and secret (like DATABASE_URL) and certain things that we might want to just set as sensible defaults when a new environment is brought up.

i can't get over how cool this is going to be. 95% of the variables set within my empire apps are from cloudformation via stacker. being able to define everything within cloudformation is going to be life changing.
👍 👍 💯

https://github.com/remind101/empire/pull/855 should be used instead

Closing in favor of https://github.com/remind101/empire/pull/855


Add credential provider support

This is a draft of the changes to add credential provider support. Not meant to be merged before further work.
Usage would be something like:
    config.credential_provider = Some(Arc::new(|| async {
        tokio::time::sleep(std::time::Duration::from_secs(1)).await;
        Ok((Some("username".to_string()), Some("password".to_string())))
    }));

Fixes #284

@aembke This is currently basically just a sample, or proof of concept, of what the implementation could be. There's no tests, no sentinel support, etc. But I want to put this out early to you to see if there's a chance that something like this could be merged and to get early feedback on the design.

Hi @nakedible-p, thanks for putting that together. This looks good so I'm happy to merge it behind a new FF sometime this week. I'll cherry-pick this into a working branch and try out a few tests. I might make a few cosmetic changes, such as using a trait object similar to Arc<dyn Resolve> and Arc<dyn ReplicaFilter>, but overall this looks good.

Okay, happy to hand it over as is. You know best what fits in your codebase so it's more efficient that way. All code submitted under CC0, so feel free to do with it as you please. Or if you want me to refine it further, just let me know what you need, happy to do that as well. And disclaimer: 100% untested at this point. I think probably the Debug trait thing is a bit wrong right now.

One question just came to mind - in some cases with clusters it's common for many connections to be created at once. Do you have any preference on whether the client should call the creds callback once for each connection, or just once per cluster sync, or maybe even just once per some interval (combined with some kind of caching perhaps)?

Once for each connection. It's easy enough to build the caching / whatever logic on the credential provider side if necessary.
In practice, with AWS, a token in just in-memory calculation based on the current AWS credentials, so it's cheap to do even if it happens a lot.

Thanks @nakedible-p, this will be cherry-picked and added in https://github.com/aembke/fred.rs/pull/288


Have I fundamentally misused mplite.execute?

Have I fundamentally misused mplite.execute(tasks) expecting the order of returned results to be returned in the same order that tasks are provided or is this a bug?
Minimum repro
import time
import random
from mplite import TaskManager, Task

def task(index):
    time.sleep(random.random() * 2)

    return index

if __name__ == "__main__":
    tasks = [Task(task, (i, )) for i in range(10)]

    with TaskManager(10) as tm:
        res = [k for k, *_ in tm.execute(tasks)]

    assert res == list(range(10))

Current behaviour
Assertion throws because the received results are not in the order they were queued for execution but in the order that they finish.
Expected behaviour
Assertion to pass with res == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

Merged.


Generic of Record<string, ...> cannot be inferred correctly when passed down to callback

I want to create a function, which takes an Record<string, ...>, make the value type generic and pass down the generic to a "callback"-map:
type VarValue = string | number | boolean;

function mapObject<T extends Record<string, VarValue | VarValue[]>>(
    object: T,
    mapValue?: Partial<Record<keyof T, (val: T[keyof T]) => any>>
) {
    // Do something
}

This is the object I would like to pass to mapObject:
const myObject = {
    myProp1: "middle" as "middle" | "center",
    anotherProp: 100
};

Now, when using mapObject the mapValue parameters is a union type of all possible types of the Record value:
mapObject(myObject, {
    myProp1: (val) => {
        //    ^ number | "middle" | "center"         -> should be: "middle" | "center"
    },
    anotherProp: (val) => {
        //        ^ number | "middle" | "center"     -> should be: number
    }
})

Playground: Click here.

You used the wrong issue template, that's why the label "Duplicate" was added. This is the issue template for bug reports: https://raw.githubusercontent.com/microsoft/TypeScript/main/.github/ISSUE_TEMPLATE/Bug_report.md
I don't see a bug here. The type of T[keyof T] is correct, because keyof T is a union of all keys.
You actually want a mapped type: mapValue?: { [P in keyof T]?: (val: T[P]) => any }


Crash Server

Describe the bug
https://streamable.com/cqc2wb
To Reproduce
Steps to reproduce the behavior:

Video ^
Neruina prevented the server from crashing, error below

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):

Occultism Version: occultism-1.20.1-1.89.1
OS: [e.g. Windows] Unbuntu 20
Minecraft Version: 1.20.1
Modpack Link and Version, or list of mods:

Additional context
https://mclo.gs/BIefOWi

You're using the wrong SBL file.
There's two forge versions for 1.20.1 - one for Neoforge & Forge 47.1.3, and one for Forge 47.1.4 and above
I even put a big disclaimer on it and everything


remove users

Description
Remove users who are not members of organisation.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[DO NOT MERGE] cdn new version 2022 01 01 preview

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.

The new APIs that are added are internal APIs and the target for Private preview is Jan/Feb 2022. Please do not merge these APIs as they have not been implemented yet.
Note: The new changes are done on top of a new version release for CDN (2021-06-01) which is later merged into main after this PR(https://github.com/Azure/azure-rest-api-specs/pull/17092) was created.
Please find the preview PR which was reviewed here: https://github.com/Azure/azure-rest-api-specs/pull/17092. This new PR is added to add the missing changes from version 2021-06-01

When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.

January/February

If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[x] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[x] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[x] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@mentat9 : This is the new PR created to address the missing changes from the new version(2021-06-01) that was added.

      "$ref": "./afdx.json#/definitions/AFDStateProperties"

This enum is missing the Canceled value (ref: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#provisioningstate-property). You should add it, but I won't block ARM approval on it. Note: you can add string enum values without an API version change.

Refers to: specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-01-01-preview/cdn.json:6748 in 6db7b08. [](commit_id = 6db7b08a9d9e9e91a3f2cef42cc484a385674363, deletion_comment = False)

Left one comment, signing off from ARM perspective. I also cleaned up labels on the previous PR. Please close it if you are finished with it.

@priyadmurugan  pls fix the lint error. And the "API Readiness Check" failed - it seems the apiVersion hasn't been deployed. The PR will not be merged until the service is deployed.

@tadelesh @qiaozha please help check the go & js sdk breaking changes.

@priyadmurugan pls fix the lint error. And the "API Readiness Check" failed - it seems the apiVersion hasn't been deployed. The PR will not be merged until the service is deployed.

@leni-msft : The error is related to the resource type "operations". we are not planning on adding the "operations" resource type to the older API version. So can we ignore this error and merge?

The API Readiness Check is sending a GET operations request to detect if the new apiVersion has been deployed to prod. It's not just for checking operations API. As explained, swagger cannot be merged to main until the API is deployed.

which endpoint / environment is used for the GET calls?

@priyadmurugan  GET https://management.azure.com/providers/Microsoft.Cdn/operations?api-version=2022-01-01-preview [404 Not Found, 929B, 19ms] . It's also shown in API Readiness Check log.

GET https://management.azure.com/providers/Microsoft.Cdn/operations?api-version=2022-01-01-preview [404 Not Found, 929B, 19ms]

Is it possible to change the endpoint to point to staging environment where this new version will be available sooner? We would like to have this swagger changes merged ASAP, but with ARM SDP, it might take a few weeks for the new version to be available globally. Could you suggest any alternative that we can use. Thanks

We would like to have this swagger changes merged ASAP
May I know the purpose?

We would like to have this swagger changes merged ASAP

May I know the purpose?

new API version is only for internal purposes and will not be used by external customers. Also, we are planning to release this version only to stage environment in RP (cdn) and the api version is currently present only in Brazil US ARM region.  So if we have an alternative to satisfy this check, it would be great.


Fix crash on Android with no manifest permissions.

API allows for null array of permissions. It is now normalized with an empty array.
Fixes #34392

Tested on Android 9, works fine (both when using no permissions or with some toggled).

Thanks!

Works for me too! Thank you!


Remove drop indicators when trying to reorder pages in carousel (compact mode - no thumbnail shown)

Bug Description
I am unable to click-and-drag bars to reorder pages (WAI), yet drop indicators are shown.
Expected Behaviour
No drop indicators should be displayed.
Steps to Reproduce

Try to drag an drop pages in the carousel when it is in compact mode (i.e. on smaller screens).
Observe that drop indicators are shown, despite not supporting the reordering in compact mode.

Screenshots
Video:
https://drive.google.com/file/d/1VAGw-z_XI2eUPIvPj4NSG4hnTmqGZ8zI/view
Additional Context

Plugin Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

AFAIK that‘s currently working as intended, as reordering without seeing what you reorder doesn‘t make much sense.
See #2575.

@swissspidy I'd agree, but not entirely. Moving Nth to Mth spot is definitely not likely. But I think moving Nth to N+1 spot is not so far-fetched.

I think in new designs with the visual pass we'll stop minimizing the thumbnails, so you should never be in this position. Will close this in favor of addressing as part of #3088


Implement upstream tls backend verification with ca cert and optional san

Fixes #813 by implementing tls backend verification via CA cert as well as an optional subject alt name verification on the cert.
Signed-off-by: Steve Sloka<EMAIL_ADDRESS>

I still need to do a full test of this on a live cluster, but wanted to get the code out in front of eyes. One thing I want to do is const the ca.crt in the key unless we go with a dynamic route.
Also, I'm aware the design still isn't merged but thought this was enough to get us started and could easily adapt.

I've been doing some testing of this and I think it needs some more design thought:

If I specify the tls annotation on the service, I can immediately proxy tls to the upstream without verification. This may not be a desire that administrators want to allow, nothing forces a user to specify the ca cert. I wonder if we should rename the validation struct we added to the route's service and add what functionality the tls annotation is doing. (@davecheney)
If the cert is missing then the same for #1 above applies. I think we should also be setting the ingressroute status and reject the change since it's invalid.
I need to further test, but I'm not sure if rotating a cert happened automatically which it should

I think this is ready to go! =)

@stevesloka ping, this is over to you to respond to review comments. Please ping me when it's ready for the next round of review.

@davecheney I think this is ready for another look. The travis build keeps failing, not sure why, I'll kick it again in a bit.


SecretDistributeGeneric Bug on affine.for and scf.for operations

This code snippet is taken from tests/openfhe/end_to_end/simple_sum.mlir
func.func @simple_sum(%arg0: tensor<32xi16>) -> i16 {
  %c0 = arith.constant 0 : index
  %c0_si16 = arith.constant 0 : i16
  %0 = affine.for %i = 0 to 32 iter_args(%sum_iter = %c0_si16) -> i16 {
    %1 = tensor.extract %arg0[%i] : tensor<32xi16>
    %2 = arith.addi %1, %sum_iter : i16
    affine.yield %2 : i16
  }
  return %0 : i16
}

Running this command crashes, not sure why:
$ heir-opt --secretize=entry-function=simple_sum --wrap-generic --secret-distribute-generic tests/openfhe/end_to_end/simple_sum.mlir

Replacing the affine.for with scf.for produces a return-type mismatch error that looks like the following:
tests/openfhe/end_to_end/simple_sum.mlir:15:8: error: 'scf.for' op 0-th region iter_arg and 0-th yielded value have different type: 'i16' != '!secret.secret<i16>'
  %0 = scf.for %i = %lower to %upper step %c1 iter_args(%sum_iter = %c0_si16) -> i16 {
       ^
tests/openfhe/end_to_end/simple_sum.mlir:15:8: note: see current operation:
%4 = "scf.for"(%3, %1, %2, %0) ({
^bb0(%arg1: index, %arg2: i16):
  %5 = "secret.generic"(%arg0) ({
  ^bb0(%arg4: tensor<32xi16>):
    %8 = "tensor.extract"(%arg4, %arg1) : (tensor<32xi16>, index) -> i16
    "secret.yield"(%8) : (i16) -> ()
  }) : (!secret.secret<tensor<32xi16>>) -> !secret.secret<i16>
  %6 = "secret.generic"(%5) ({
  ^bb0(%arg3: i16):
    %7 = "arith.addi"(%arg3, %arg2) <{overflowFlags = #arith.overflow<none>}> : (i16, i16) -> i16
    "secret.yield"(%7) : (i16) -> ()
  }) : (!secret.secret<i16>) -> !secret.secret<i16>
  "scf.yield"(%6) : (!secret.secret<i16>) -> ()
}) : (index, index, index, i16) -> !secret.secret<i16>

Any idea why? @j2kun @asraa

Note: the crash in the first case is due to this assert in DistributeGeneric:
assert(isa<BlockArgument>(value) &&   "not sure what to do here, file a bug");

See https://github.com/google/heir/blob/main/lib/Dialect/Secret/Transforms/DistributeGeneric.cpp#L283-L285

Replacing the affine.for with scf.for produces a return-type mismatch error that looks like the following:

I think this seems to be because the secret.generic is returning a secret type, but the iter_args is a plaintext value. It seems like we should upgrade the initial iter_args value to be secret.cast'ed into a secret type.
Let me investigate the first crash!

Likely the same sort of situation needs to happen for the first case too - let me see if I can tinker with it!

Well at least I left a nice error message 😎


Add filterRender column option to customize the filter that is shown

The filters are now completely customizable if needed.
This is useful for columns that are booleans or columns where you want a dropdown filter.

Superb!!


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

Coverage decreased (-2.1%) to 63.102% when pulling 95475efff409ae709d7036c94969f62a694f7d12 on template-sync-1 into cb21a2e98dddf57fafc69286800945bfec8382cd on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enable to omit passing path = ... within db$track()

This is more important than I initially realized because it's related to the portability of the code.
People might rename the file or execute it in a different folder and then the code will fail.
I think by far the most common will be the RStudio case with .Rmd or .qmd. Hence, just solving it there is a big UX win.
Previous discussion:

https://github.com/laminlabs/laminr/issues/76

@falexwolf In Python do you use absolute paths, relative paths or just the file name?

Sorry for being soo late here 😔
In Python, users can pass any of these and under-the-hood things will be resolved to absolute paths. For portability relative paths are always better.

It might be that it's more robust if R dynamically finds an absolute path and passes that to Python
But if there is no ambiguity about working directory of R and Python session it won't matter
I don't have intuition on this right now

Ok. At the moment it's a relative path but getting an absolute path should be easy so I could switch to that if it's better. I'm not sure if the working directories match either but I would guess {reticulate} tries to make that happen?

This works after #120 so can probably close unless we want to switch to absolute paths.

Can close! 😄


Windows EDGE browser error: 'customElements' is not defined

When opening with windows10 edge browser, empty page shows up and console reads:
"SCRIPT5009: SCRIPT5009: 'customElements' is not defined"
Check using demo site and Windows10 Edge browser:
https://mrin9.github.io/RapiDoc/examples/example2.html

We do not support or test on edge.
RapiDoc is a web-component (custom-element) Edge do not support web-components out of the box
but I believe it should work if you include this polyfill https://www.jsdelivr.com/package/npm/@webcomponents/webcomponentsjs
however we have tested on newer Edge based of chromium and it works just fine
https://www.microsoftedgeinsider.com/en-us/


Broken dependencies after clean clone

The following dependencies aren't found after a fresh clone.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.lightbend.lagom#lagom-sbt-plugin;1.3.1: not found
[error] unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;5.1.0: not found
[error] unresolved dependency: com.github.ddispaltro#sbt-reactjs;0.6.8: not found
[error] unresolved dependency: com.lightbend.conductr#sbt-conductr;2.3.0: not found

To reproduce:

clone
cd into directory
call sbt to open project

It was a miss-configuration on my end. I falsely forced to use scala 2.12.


Use 17.06 as default version

Still missing integration tests so we won't know if this breaks things.
I'll put some serious time into it next week ;(


Add speckle filtering to shipping lane identification notebook

Adding speckle filtering greatly enhances the appearance of the shipping lane notebook outputs:

The current example runs slowly however. If we can find a way to increase performance it would be a great addition to the notebook.

Closing as we don't currently have plans for this - can re-open once we get Sentinel-1 data


[UI]: RTK Migration for Meshery Performance

Notes for Reviewers
This PR fixes #9985

[x] Migration of dataFetch to RTK query for the following api's

api/user/prefs/${selectedK8sContext}

api/user/performance/profile

api/mesh

Signed commits

[x] Yes, I signed my commits.

ScreenRecorder
https://github.com/user-attachments/assets/8d5bba2f-e74a-4e0f-9d1c-eaf929709e4b

@senthil-athiban while you are migrating to rtk , ensure you have added your name beside the section in spreadsheet tracker.
If its missing section do add that also

@sudhanshutech currently I do have access to read, not able to edit the sheet. I'll make sure to add my name once you grant permission for my access request

oh i see . So for now you can add as comment where you we need to add . So i will make sure those are added in the sheet. Meanwhile we will try to get you access also

@senthil-athiban let's discuss this PR during the Meshery dev meeting call, if you would. Please add it as an agenda item to the meeting minutes.


[PIP-264] Parent issue for implementation

Overview
This issue will the parent issue tracking the implementation of PIP-264 (PR, issue that was converted to PR): Enhanced OTel-based metric system
Execution Plan
There are two parallel tracks of implementation:

OpenTelemetry - implementing all changes required to use OpenTelemetry in a low latency system such as Pulsar.
Pulsar - implementing the design per the parent PIP (264). See complete design doc here.

Each part is composed of multiple epics. Some require Saga, divided into epics. The contents of each epic - its breakdown into different stories will be inside each epic, where by each story having its own issue. In Pulsar, many changes will require writing sub-PIPs. They will be linked appropriately inside each story issue.
🔄 = In-progress.
OpenTelemetry track
This track is mainly done in https://github.com/open-telemetry/opentelemetry-java and https://github.com/open-telemetry/opentelemetry-specification.

[ ] 🔄 OTel should be performant enough

[x] https://github.com/apache/pulsar/issues/21122
[ ] 🔄 OTel should be allocation free on the collection path - synchronous instruments
[ ] OTel memory mode should be supported by all readers and exporters
[ ] OTel should be allocation free on Prometheus Exporter
[ ] OTel should be allocation free on OTLP GRPC Exporter
[ ] 🔄 https://github.com/apache/pulsar/issues/21123

[ ] OTel should be bug-free for Pulsar use case

[ ] https://github.com/open-telemetry/opentelemetry-java/issues/5581
[ ] https://github.com/open-telemetry/opentelemetry-java/issues/4901

Pulsar track

[ ] 🔄 https://github.com/apache/pulsar/issues/21124
[ ] Adding BK Metrics API implementation for OTel
[ ] Add support for Pulsar Functions.
[ ] Plugins support for OTel
[ ] All remaining Prometheus metrics are in OTel
[ ] Update All Grafana dashboards.
[ ] Rate should be fully managed.
[ ] Metrics documentation rule (Forcing metrics definition to contain description and units)
[ ] Support metrics in OTel for 100k topics per broker

[ ] Introduce Topic Metrics Groups
[ ] Introduce Filtering
[ ] Performance test to make sure it works just as well as the previous solution

[ ] Deprecate Prometheus system

In OpenTelemetry track, the support for object pooling to reduce memory allocation by almost 98% was implemented and merged but only for asynchronous instruments. I'm starting to work on doing that for synchronous instruments. In between those PRs I'm using the time to design the first sub PIP: creating the infra needed for any developer to use OTel in Pulsar, including Plugins.

@tisonkun Can this not be marked stale all the time?

@asafm I ever talked about the stale bot, you can resume the discussion and I'm on the side to disable it.

https://lists.apache.org/thread/tv774jqohdpx8x0dymsskrd90xwwfvgp
https://lists.apache.org/thread/x2c7xod8y0wvh14nsb6bknf0dq3r9gls
https://lists.apache.org/thread/0woo9h53t109qsmtxsfqlcxzr16n5mn0

I may not have time to implement something alternatives now, so simply disable it makes sense to me.


Javascript plugin

Is there plans to write a javascript plugin? Thank you, would very much appreciate. This project looks awesome.

We do aim to, but we have our hands full at the moment unfortunately :(. However, there is an interest expressed in the community forum, and we would definitely appreciate any contributions. We (the Gauge Team) can definitely commit time to help any contributor get started with the project.
Thanks for checking Gauge out, really welcome the appreciation!

That's great. I understand you're busy and it will take some time, just
wanted to make sure it is on the list somewhere.
Cheers and keep up the great work.
On Wed, Mar 18, 2015 at 10:27 AM, Srikanth<EMAIL_ADDRESS>wrote:

We do aim to, but we have our hands full at the moment unfortunately :(.
However, there is an interest expressed in the community forum
https://groups.google.com/forum/#!topic/getgauge/hAwHJyeNXvI, and we
would definitely appreciate any contributions. We (the Gauge Team) can
definitely commit time to help any contributor get started with the
project.
Thanks for checking Gauge out, really welcome the appreciation!
—
Reply to this email directly or view it on GitHub
https://github.com/getgauge/gauge/issues/119#issuecomment-83021113.

--
Thank you!

I will close this issue. We can track it at #145.

Just an update, @renjithgr is working on a javascript plugin for Gauge.
More details at https://github.com/renjithgr/gauge-js