Bring pointer event data to parity with mouse event data

Specific Demand
The pointer events such as onpointerdown, etc. propagate the separate PointerData struct, which is missing the helper functions that MouseData has. To better support cross-platform applications and sites, PointerData should be updated with the same impls as MouseData for things like getting the pointer coordinates in reference to different spaces.
Implement Suggestion
Create a common trait for both PointerData and MouseData that exposes their common values and holds the implementation logic for the helper functions.

I am willing to take on this work. Here's my more-flushed-out proposal:
It seems to me like this is a good opportunity to fully retire the deprecated public fields in the MouseData struct and move them to a new private struct containing the common fields for both PointerData and MouseData. Then we can provide the common functions like *coordinates, modifiers, etc. via a common impl. We can then more easily convert to the common struct to access the common functions.
The web_sys event binding is a little less clear to me. I am still fairly new to Rust so maybe there's a clean way to share the code for the From impls PointerEvent and MouseEvent to the Data structs but it wasn't obvious to me.

I am willing to take on this work. Here's my more-flushed-out proposal:
It seems to me like this is a good opportunity to fully retire the deprecated public fields in the MouseData struct and move them to a new private struct containing the common fields for both PointerData and MouseData. Then we can provide the common functions like *coordinates, modifiers, etc. via a common impl. We can then more easily convert to the common struct to access the common functions.

This sounds great! I would like to make more of the fields of events private to help transition to a trait based model with https://github.com/DioxusLabs/dioxus/issues/93.
We could event extract the common functions between the PointerData and MouseData structs into a PointInteration trait to allow a function to take either struct.

The web_sys event binding is a little less clear to me. I am still fairly new to Rust so maybe there's a clean way to share the code for the From impls PointerEvent and MouseEvent to the Data structs but it wasn't obvious to me.

I don't think there is any way to share the From impls... Just duplicating those two is fine

One thing that's proving a bit tricky is dealing with the transport layer between the native event and the dioxus event. I can just simply move all the public fields into the private struct, use serde(flatten) to expose them to the event data struct at the same level and leave it at that, but I've been trying to use the MouseButton, Modifiers, etc. types instead to avoid needing to perform conversions back and forth to these types when setting and reading fields. Do you think it's worth doing this and writing custom serde logic to handle the conversions to the native events or sticking with the existing fields and eating the conversion at read/write time?

Or I could modify the interpreter as well so that it writes events in the new structs too

Closing as completed with v0.5 and the revamped events system :)


Dockerfile and .dockerignore for the whisperapi project to create a D…

…ocker image from the .NET Core 2.0 project.

Pull Request accepted.


Wait for targets in smaller steps before entering HTTP probe loop

// Do more frequent listing of targets until we get a non-zero list of
// targets.

1 second should be more frequent than probe interval.
Addresses: https://github.com/google/cloudprober/issues/613
PiperOrigin-RevId: 382204217

:+1:


Add files via upload

Original project + csv file with all the data from Kepler telescope.

I think that you need to add back the csv file?


[Bug] Wrong completion items for the newline char in the schema context.

Enhancement
Case 1

schema Deployment:
    name: str
    volumes?: [Volume]
    image: str
    replica: int = 1
    command: [str]
    labels?: {str:str}

schema Volume:
    name: str
    mountPath: str
    hostPath: str

nginx = Deployment {
    name = "my-nginx"
    image = "nginx:1.14.2"
    volumes = [Volume {
        name = "mydir"
        mountPath = "/test-pd"
        hostPath = "/data"
        # enter newline here.
    }]
    command = ["nginx"]
    labels.run = "my-nginx"
    labels.env = "pre-prod"
}

Case 2
import k8s.api.apps.v1 as appsv1
import k8s.api.core.v1 as corev1

statefulSet = appsv1.StatefulSet {
    spec: appsv1.StatefulSetSpec{
        serviceName: "foo"
        template: corev1.PodTemplateSpec{}
        selector: {# Enter newline here}
    }
}

Expected items are ["matchExpressions", "matchLabels"]
Case 3
import k8s.api.apps.v1 as appsv1
import k8s.api.core.v1 as corev1

statefulSet = appsv1.StatefulSet {
    spec: appsv1.StatefulSetSpec{
        serviceName: "foo"
        template: corev1.PodTemplateSpec{}
        selector: {
            # Enter newline here
        }
    }
}

Expected items are ["matchExpressions", "matchLabels"]

close by #1476


Porcupine Documentation Issue: Support for Jetson Nano

What is the URL of the doc?
https://picovoice.ai/docs/quick-start/picovoice-python/
What is the nature of the issue?
Has the Jetson Nano been removed from support? I'm no longer seeing a dropdown in the web interface to train models for Jetson Nano. Is there an alternative?

Unfortunately yes, we've deprecated support for Jetson Nano. You could potentially try using the libraries designed for Raspberry Pi, but you'd likely need to make some changes to the SDK yourself and there's no guarantee they will work optimally or at all.
However, if you are an enterprise user or are prepared to engage with us on that level, please contact sales.

Has there been any documentation, or notifications that it's being deprecated? Normally a breaking change like this would be sent out to developers with enough time to migrate. We're a paying customer.


travis: Reduce CI process

In order to test if the retagging and pushing to public images works fine as expected I'd like to remove the condition condition: $TRAVIS_PULL_REQUEST = false once it's ready and before it would get merged anyways. This is will overwrite the public images from a branch but I think it's better to work out a fix on master branch if the code does not work. Once it's verified to work I'll put the condition back into place.

deploy can't run in PRs, regardless of the (redundant) condition.

@froesef Please resolve conflicts


Devel

make some methods in ConnectedComponent virtual for inheritance.

Thanks for those updates.
I rebased the changes because their was some duplicated commits.


Document SQS custom access policy

Maintainer edit: a full solution is documented on this page here.

Hello,
Bottom Line Up Front:

Is it possible to pass a custom access policy to SQS queue created by lift's queue construct
Subscribe SQS queue created by lift's queue construct to SNS topic and apply filter policy for the subscription

Context:
I am currently developing a system where
publisher -> SNS -> filter policy -> SQS -> lambda handler
I am using lift's queue construct to create SQS queue and its handler SQS -> lambda handler
service: email-service

provider:
  name: aws
  runtime: nodejs12.x
  region: ap-southeast-1
  stage: dev
  lambdaHashingVersion: 20201221

constructs:
  EmailQueue:
    type: queue
    worker:
      handler: emailQueueWorker.handler

plugins:
  - serverless-plugin-typescript
  - serverless-lift

Currently, I have been using AWS Console (web) to manually apply filter policy from SNS -> SQS as well as subscribe SQS to an SNS topic.
Then noticed that SNS was unable to send messages to SQS due to SQS created by lift queue construct not having a proper access control policy. I had to manually edit the access policy like below
{
  "Version": "2008-10-17",
  "Statement": [
    {
      "Sid": "Allow-SNS-SendMessage",
      "Effect": "Allow",
      "Principal": {
        "Service": "sns.amazonaws.com"
      },
      "Action": "sqs:*",
      "Resource": "arn:*****:email-service-dev-KeyShoeEmailQueue"
    }
  ]
}

Would there be a way to:

Pass custom access policy to SQS queue created by lift's queue construct? So that SNS can send messages to SQS
Subscribe SQS queue created by lift's construct to SNS topic with filter policy?

Thank you in advance!

Thanks for the details, that makes sense!
From what I understand, SQS queue policies are resources separate from queues (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html).
Is it possible to create a brand new queue policy in resources and make it apply to the Lift queue? For example (not tested!):
constructs:
  emailQueue:
    type: queue
    worker:
      handler: emailQueueWorker.handler

resources:
  Resources:
    ExtraQueuePolicy:
      Type: AWS::SQS::QueuePolicy
      Properties:
        Queues: [ ${construct:emailQueue.queueArn} ]
        PolicyDocument:
          ...

Thanks for the example, let me test it out and get back to you!

Hey! I was able to configure my use-case with the following serverless.yml config file 👍 (took me half a day to configure it properly)
Would it be useful to add a section on how to configure the SQS policy in the docs?
service: generic-service

provider:
  name: aws
  runtime: nodejs12.x
  region: ap-southeast-1
  stage: dev
  lambdaHashingVersion: 20201221

constructs:
  GenericQueue:
    type: queue
    worker:
      handler: genericQueueWorker.handler

resources:
  Resources:
    SubscribeToSNS:
      Type: AWS::SNS::Subscription
      Properties:
        Endpoint: ${construct:GenericQueue.queueArn}
        Protocol: sqs
        TopicArn: arn:of:sns:topic
        RawMessageDelivery: false
        FilterPolicy:
          EVENT_NAME:
            - "any"
            - "one"
            - "of"
            - "these"
    ExtraQueuePolicy:
      Type: AWS::SQS::QueuePolicy
      Properties:
        Queues:
          - ${construct:GenericQueue.queueUrl}
        PolicyDocument:
          Statement:
            - Sid: Allow-SNS-SendMessage-${self:service}
              Effect: Allow
              Principal:
                Service: sns.amazonaws.com
              Action:
                - sqs:*
              Resource: ${construct:GenericQueue.queueArn}

plugins:
  - serverless-plugin-typescript
  - serverless-lift

Thank you for sharing! And glad to hear it worked eventually.
I want to avoid adding too much to the documentation, here is what we can do: if more people have the same need, please add a comment to this issue.
If we discover more people need it (e.g. 2 more comments) we'll add it to the docs.

attempting to apply this  myself  within the iam role  in the provider but  getting  erros on calling  ${construct...}
configValidationMode: error

provider:
  name: aws
  runtime: python3.8
  lambdaHashingVersion: "20201221"
  iam:
    role:
      statements:
        - Effect: Allow
          Principal:
            Service:
             - sns.amazonaws.com
          Action:
            - sqs:SendMessage
          Resource: ${construct:queue.queueArn} # <---HERE
          Condition:
            ArnEquals: !ImportValue sns-event-${sls:stage}

constructs:
  queue:
    type: queue
    worker:
      handler: handler.worker
    alarm: ${env:...}

plugins:
 ...
  - serverless-lift

resources:
  Resources:
    SnsSubscription:
      Type: AWS::SNS::Subscription
      Properties:
        Protocol: sqs
        Endpoint: ${construct:queue.queueArn}
        Region: ${aws:region}
        TopicArn: !ImportValue sns-event-${sls:stage}

I'm getting
 Serverless Error ----------------------------------------

  Configuration error at 'provider.iam.role.statements[0].Resource[0]': unsupported value

  Learn more about configuration validation here: http://slss.io/configuration-validation

  Get Support --------------------------------------------

my package json is
{
  "devDependencies": {
    "serverless": "^2.62.0",
    "serverless-lift": "^1.9.1",
    "serverless-python-requirements": "^5.1.1"
  }
}

Hey @carvajalluis try to use ${construct:queue.queueUrl}
It worked for me when I used queueUrl instead of queueArn
And another way that helped me out was looking at the cloudformation generated by serverless in {serverless_app_folder}.serverless/cloudformation-template-update-stack.json to determine if the ${construct:queue.queueUrl} get successfully passed into the cloudformation
All the best and do let us know how it went for you!

@OkkarMin's solution worked perfectly for me and saved me from having to build the queue and policy as infrastructure in Terraform.

👍  glad to know, a pull request to add this to the documentation would be welcome!

Yes, this should be in the documentation.

Hi, I came here looking for this, thank you @OkkarMin!
Was anyone able to link the Lift Queue construct through DependsOn in the subscription?
Thanks!

This was helpful for me. s3 events can't go through to the queue without it.


Transaction list of asset account not reloaded when adding/deleting transaction

Version 1.0.4+312
where
In main dashboard > balance sheet > any asset account
action
Adding or deleting a transaction.
expected
I expect the app to show/hide the added/removed transaction.
current
Currently a manual reload is necessary (pulling the list down or re-entering view)

Is this intended? When deleting a transaction deep down the list, it would be great if the list would stay at this position/date once reloaded.

Okay. Thank you very much for the explanation and your work in general!


Unable to download Stopwords and also unable to access stopwords zip file manually.

Here is error when I try to download stopwords package in terminal
Code :
>>import nltk
>>nltk.download("stopwords")

Error :
[nltk_data] Error loading stopwords: <urlopen error [WinError 10054]
[nltk_data]     An existing connection was forcibly closed by the
[nltk_data]     remote host>

Then tried to install it manually but the link is doesn't seems to work
Link : stopwords zip link

Some users, particularly those who are using the "Jio" internet provider, have experienced this issue. They seemed to have been able to resolve it by connecting to mobile hotspot temporarily while downloading NLTK resources, or by changing some DNS settings.
There's a bit more info here, perhaps it'll help: #3146

Thanks, yes that's the issue.
I have tried it today it works now!!


refactor(pagination): use build variables for default pagination values

Default values for Page and Size should be provided as build variables.
Closes #831
Verification Steps

Create a binary of CLI by running the following command (pass 20 as default page size):

go build  -ldflags "-X github.com/redhat-developer/app-services-cli/internal/build.DefaultPageNumber="1" -X github.com/redhat-developer/app-services-cli/internal/build.DefaultPageSize="20" -X github.com/redhat-developer/app-services-cli/internal/build.TermsReviewSiteCode="ocm" -X github.com/redhat-developer/app-services-cli/internal/build.TermsReviewEventCode="onlineService" -X github.com/redhat-developer/app-services-cli/internal/build.RepositoryName="app-services-cli" -X github.com/redhat-developer/app-services-cli/internal/build.RepositoryOwner="redhat-developer" -X github.com/redhat-developer/app-services-cli/internal/build.Version="dev" " -o rhoas ./cmd/rhoas

Run the kafka topic list command in verbose mode.

 ./rhoas kafka topic list -v

You should be able to see size route param set to 20.

Type of change

[ ] 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)
[ ] Documentation change
[X] Refactor

Checklist

[ ] Documentation added for the feature
[X] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer

Why we would change those on build out of curiosity.
Some paginations will be different - You would not have more than 10 kafkas, but you are very likely to bet +100 artifacts

Why we would change those on build out of curiosity? It is only for having them global?
Some paginations will be different - We would not have more than 10 kafkas, but you are very likely to get +100 artifacts, consumer groups and topics.
That being said change LGTM

If we are expecting hundreds of items for certain items, the user would still prefer to see 10/20 items at max in a page. Wdyt?
This was a continuation of this thread

I needed. Context. Let's fix build and we can merge it.

Reason why I was asking is that we will pull kafka and registry dataplanes so we need to replicate this in charmil as well

The only reason these are being made as build variables is to support upstream use - we will never change the build value, but other users wishing to make their own build can customize the defaults without code changes.


feat(jsx): improve a-tag types with well known values

ref. #3276

Refactor LiteralUnion type. It moves to utils directory and renamed to StringLiteralUnion.
Improve a-tag types with well known values like meta-tag(#3276).

The author should do the following, if applicable

[ ] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code
[x] Add TSDoc/JSDoc to document the code

Should I separate pull requests, refactoring and feature?

@ssssota
Super cool!
You don't have to separate the PR. Let's go with it. Thank you!


program: fix - change authority account in DeleteUser struct to mutable

The authority account in the delete_user instruction needs to be mutable for it to pass, as the authority's balance will change once the Drift user is deleted. The IDL marks this account as mutable, but the actual source code does not, so it causes issues if you add the repo as a dependency and try to make a CPI call.

getting a really weird merge conflict, just add this to be faster: https://github.com/drift-labs/protocol-v2/commit/15c28092f61493acd70fa2e8065ea46b60c137af


Please indicate which setting no longer works in the new shared experience.

The following note appears at the bottom of this page.  Can you elaborate on exactly what 'setting no longer works for the new shared experience'?

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

ID: b523280d-569c-bad0-209f-b428837f3e3b
Version Independent ID: 0a11f32d-874b-2eba-32fb-52b3fc7e78f3
Content: Turn on external sharing notifications for OneDrive
Content Source: OneDrive/turn-on-external-sharing-notifications.md
Service: one-drive
GitHub Login: @kaarins
Microsoft Alias: kaarins

@TracyGH Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@TracyGH thanks for reaching out.  From what I can see it looks like the note is referring to the screenshot where it says "an anonymous access link is created or changed."

@scanum this can be closed thanks.

@TracyGH Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Update supported and tested platform information

Currently, we say The SymPhoNy framework is developed and tested on Ubuntu 12.04 LTS
Maybe we need to be more specific on what the supported and tested platform is.  As there is at least one known issue when using the framework on 32-bit Ubuntu (see simphony/simphony-jyulb#26)

I agree, it should be  Ubuntu 12.04 LTS 64bit


Add translator name for Portugese, Brazilian

Add Marcelo Dapper (mdapper) as a translator for Portugese, Brazilian

Summary

Test plan

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3720   +/-   ##
=======================================
  Coverage   62.64%   62.64%
=======================================
  Files         183      183
  Lines        6709     6709
  Branches        6        6
=======================================
  Hits         4203     4203
  Misses       2503     2503
  Partials        3        3

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 b8602e1...10473bc. Read the comment docs.

Thank you for all your help ❤


➕ Added golang and cpp flairs (even with #5)

this is a compliment to the flairs added in https://github.com/benawad/vscode-stories/pull/44

I'm not going to validate flair on server anymore


fix(CX-2461): artwork image missing after submitting an artwork

The type of this PR is: Bugfix

This PR resolves CX-2461
Description

Artwork image was missing on the artworks screen and on the list view when artwork is added with SWA.
A new Model was created in this PR specifically for storing submission details.
The data is removed when the new session starts.
https://user-images.githubusercontent.com/36167539/160787164-1723e28b-4e78-463b-8c9f-f06a61594739.mp4
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Images of the artworks added from SWA now are displayed in MyCollection and on the Artwork page correctly -daria

iOS user-facing changes

Android user-facing changes

Dev changes

Closing this PR for inactivity, please feel free to reopen it if it's still a work in progress.


Trailing commas in Array pattern matching fails to parse.

I have code that looks like:
switch (left, right) {
    | (
        LevelNode _ _ _ [|
          LevelNode _ _ _ leftRightValues,
          LevelNode _ leftLeftCount _ leftLeftValues
        |],
        right
      ) when leftDepth - rightDepth == 2 =>

if I add a trailing comma after the second pattern in the array, I get a compilation error. Tested with version 1.4.0 of Reason. I can upgrade if this is already fixed.

fixed


Does fastseq support cpu

No, we only support GPU currently.

No, we only support GPU currently.

Does fastseq support windows

No, we only support GPU currently.

Does fastseq support windows

Yes


Provide dataset

Can you share the COCO2017 and VOC datasets you used?

Hi @Ultraman0729, we have released the datasets at https://zenodo.org/record/8007046.


Example in docs for custom has missing argument to Json.Decode.at

The documentation for the custom function provides the following snippet of code as an example:
    userDecoder : Decoder User
    userDecoder =
      decode User
        |> required "id" int
        |> custom (at [ "profile", "name" ])
        |> required "email" string

Shouldn't that be custom (at ["profile", "name"] string)? If I understand correctly, custom's first argument should be a decoder, not a Decoder a -> Decoder a function.
Thanks!

Yep! Fixed in a518dc0fcd05c7ccc139dfc90d7b48c033363197
Thanks @alex-lew!


Help component popup width does not format correctly

Bug Report
When using the experimental help component and opening a draggable help window, it is not possible to adjust the width of the dialog.  See work around below.
Example
As per the documentation example, consider calling as:
this.ref = this.draggableHelpWindowDialogService.open({
   items: [{url: 'https://github.com/Teradata/covalent/blob/develop/README.md'}],
   dialogConfig: { width: '500px'}
});

When doing this, the help width and dialog content width does not adjust.
What is the expected behavior?
The window should adjust to the size passed
What is the motivation / use case for changing the behavior?
Which version of Angular and Material, and which browser and OS does this issue affect?
Used with latest experimental code from head of the nightly branch
Details and workaround
The issue is partially because of a fixed width set in the help-window component style.
See: https://github.com/Teradata/covalent/blob/develop/src/platform/experimental/help/help-window/help-window.component.scss#L7
As a work around in our current application I am setting the following at the global style scope:
td-help-window {
   display: block !important;
   width: 100%;
   height: 100%;

   td-help {
      width: 100% !important;
   }
}

I didn't see the best way to fix this more generically in the code base and cover any corner cases.  Posting here in case anyone else runs up against this issue.

@abierbaum Thank you for reporting this bug. We are currently working on making some improvements to this component, so we will address this too soon.

Fixed as part of #1478


pyls-mypy messages are not displayed correctly in some cases

Related to  #3045
Problem Description
Some error messages from pyls-mypy are not displayed correctly.  In general it happens for complicated error messages including generic types like List[T]. As far as I can see the output form pyls-mypy is correct and contains correct string.
What steps reproduce the problem?

Install pyls-mypy using pip

Type the following code in spyder and observe the reported code analysis message :

from typing import List

def f(*arg : List[float]) -> float:

    a1,a2 = arg

    return a1*a2

What is the expected output? What do you see instead?
 We'll address this as soon as we move to work in Spyder 5 (in a couple of months).

spyder/plugins/editor/widgets/codeeditor.py line 2506 is msg = msg.split(']')[-1]
Might be the cause of the problem.
If you want a quick and easy workaround insert a msg.replace("]", "]") into your pyls_mypy/plugins.py

spyder/plugins/editor/widgets/codeeditor.py line 2506 is msg = msg.split(']')[-1]
Might be the cause of the problem.

Why is that the case? Could you expand on your answer so we can fix the problem in our side?

I cannot comment on the specific line of code, but if the full message reads (as stated above):
Incompatible return value type (got "List[float]", expected "float")

It will be obviously distorted by splitting on ].

Pylint as far as i can tell returns it's messages like 'message': '[{}] {}'.format(diag['symbol'], diag['message']), where the symbol is a type of short indicator text e.g. missing-docstring as this is redundant information spyder contains code to remove the [ ] part. This is done by the line mentioned above. Some of the messages returned by pyls plugins (like the exaple provided by adam) get cut in half by this line of code. To fix it on your side, i would suggest only applying the cutting line of code to messages from pylint.

Changing lines 2504 - 2506
if '[' in msg and ']' in msg:                 # Remove extra redundant info from pyling messages                 msg = msg.split(']')[-1]
To something like
if src == 'pylint' and '[' in msg and ']' in msg:                 # Remove extra redundant info from pyling messages                 msg = msg.split(']')[-1]
should do the trick imho.

Great! Thanks a lot @Richardk2n for finding the cause of this problem and @adam-urbanczyk for providing an example to understand why we're not parsing MyPy messages correctly.
@steff456, please work on this one.

Thanks @Richardk2n your fix works!


Automatically inherit deeper relations

To make adding more card suggestions more fruitous, suggestions should automatically inherit all superior and inferior relations respectively.
This should, however, only be done once the suggestion has enough upvotes vs downvotes to prevent "poisoning" the relationship trees with erroneous suggestions.
The same upvote criteria should be used for any deeper inherited relations. Ie. If A > B > C, and A > B is in good standing, before inheriting C we should also check B > C is in good standing.
Examples:
If A > B and B > C,
then A > C
If A > B and C > D
then when D > A is added, also D > B, C > B, C > A ("superior AND superior' superiors > inferior AND inferior' inferiors")
Cards like N > A and D > M are unrelated to the scenario. ("NOT superior' inferiors OR inferior' superiors")

We could use another column in obsoteles table to indicate if the relation was inherited from a specific obsoletes row (id).
This way we could add the inheritable relations immediately, but only show them in UI / API if the source relation is in good standing. Likewise, any votes for inherited relations should also affect the source relation. This way downvoting would at some point hide the inherited relations.


Add inital skeleton for placeManifestWork controller

Signed-off-by: melserngawy<EMAIL_ADDRESS>

/cc @jnpacker

do we need to use kubernetes library of 0.26.0? if not necessary, we should still use 0.24.0 for this pr. Otherwise there will be some compatible issue with other lib.

do we need to use kubernetes library of 0.26.0? if not necessary, we should still use 0.24.0 for this pr. Otherwise there will be some compatible issue with other lib.

No need for 0.26.0, just mistake while updating the vendor. I fixed, it build fine in my machine with below warnings.
WARN [linters context] gosimple is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.
WARN [linters context] staticcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.
WARN [linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.
WARN [linters context] unused is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.

I think we start using go 1.19

/approve
/lgtm


Tree View nodes do not indicate their positions in set

Describe the bug
Tree nodes do not indicate their levels, positions in the data set and data set sizes.
This functionality will be necessary when the complete set of available nodes is not present in the DOM due to dynamic loading.  Therefore, each node should have aria-level, aria-setsize, and aria-posinset specified so the screen reader user hears these values as they interact with the tree nodes.
How to reproduce
https://stackblitz.com/github/clane/clarityTest2/tree/master/clarity-test-app
Steps to reproduce the behavior:

Read the tree nodes of any Tree View example using a screen reader
Observe that the screen reader does not announce any information regarding the level of the treenode, the overall data set size and the treenode's position in the data set.

Expected behavior
Use aria-level, aria-setsize, and aria-posinset as seen at https://www.w3.org/TR/wai-aria-practices-1.1/#TreeView
Versions
App

Angular: [e.g. 6]
Node: [e.g. 8.10.0]
Clarity: [e.g. 0.12.5]

Device:

Type: [e.g. MacBook]
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional notes
Add any other notes about the problem here.

For aria-setsize it seems like Clarity will be able to provide the ability to set this but it will be up to the consumer/api to provide a tree with the correct information in some cases. ClrTreeView does support use cases where the data displayed is recursive or has an unknown depth - do we have any guidance on this?
For aria-level Clarity will need to add a service to generate and track levels properly as the nodes are generated.

Definitely a defect, but not as high priority as the others - basically the tree view node equivalent of infinite scrolling where you don't know where the "end" is

This is probably resolved by #3569

Took another look and this issue is not resolved by #3569.

Clarity cares deeply about accessibility, and we work with our accessibility team to identify and triage issues. We have an internal tracking system to identify and verify accessibility issues, which has captured this already. Some issues with Clarity Angular are difficult to solve without causing side effects or breaking changes, and we have to balance concerns with fixing issues and breaking changes. As we build out Clarity Core, we are able to address these root cause accessibility issues and recommend adopting the Clarity Core implementations as they become available. We are closing this issue as we have the issues tracked internally. Please follow our development and releases to see when we release relevant Clarity Core components to make this possible.


update short for tool import

In fact, it does not list function.
Signed-off-by: Xiang Dai<EMAIL_ADDRESS>

Can we close this, because the current description is correct?

Still has question, since file param must need, use "[]" is not good.

Still has question, since file param must need, use "[]" is not good since it means optional for most case.

Aah, I see your point. I wasn't aware of the fact that the bracket syntax in CLI help means optional. Yes, the argument is definitely required. Is there place that documents a canonical syntax for CLI's?
Would it be sufficient to remove the brackets change it to
  Use:  "imports FILE",

"Command description syntax" chapter in https://en.wikipedia.org/wiki/Command-line_interface may help you.

Oh nice! Thank you :) Tanka definitely does not accord to these guidelines, opened an issue for this

update done.

Closing in favor of #94


sort-recent on GUI

Thank you again for hyprswitch. It is very good, an excellent app, it allowed me (finally) switching to hyprland.
Coming from Windows, XFCE, Gnome, I am – since years – used to the option --sort-recent. My config sets this option anywhere. I'd like to report minor ‘issues’.
The option --sort-recent activates the Apps in correct order, the functionality is as expected. Perfect.
However, the GUI displays (from left to right) workspace 1, then workspace 2, etc.
Instead, I expect the GUI to display the timeline, i.e., (from left to right) App1, App2, etc., as activated.
Example: Let’s say I have activated
Thunderbird on Workspace 8, then Kitty on workspace 2 and finally Firefox on Workspace 3.
Then the GUI displays (from left to right): Kitty, then Firefox and Thunderbird (they are sorted by workspaces).
But I expect (from left to right): Firefox (left), then Kitty, Thunderbird (right): as activated, irrespective of the workspaces.
Actually, I thought that --ignore-workspaces would do this job, but it serves some other purpose.
Here is my config:
$submap_switch =   switch window
# allows repeated switching with same keypress that starts the submap
binde=ALT, TAB, exec, hyprswitch --daemon --sort-recent --ignore-workspaces --do-initial-execute
bind=ALT, TAB, submap, $submap_switch

# allows repeated switching with same keypress that starts the submap
binde=ALT SHIFT, TAB, exec, hyprswitch --daemon --sort-recent --ignore-workspaces --do-initial-execute --reverse
bind=ALT SHIFT, TAB, submap, $submap_switch
#
submap=$submap_switch
	# allow repeated window switching in submap (same keys as repeating while starting)
	binde=ALT, TAB, exec, hyprswitch --daemon --sort-recent --ignore-workspaces
	binde=ALT SHIFT, TAB, exec, hyprswitch --daemon --sort-recent --ignore-workspaces --reverse

	# exit submap and kill hyprswitch
	bindrt=ALT, ALT_L, exec, hyprswitch --stop-daemon
	bindrt=ALT, ALT_L, submap, reset

	# if it somehow doesn't close on releasing $switch_release, escape can close too
	bindr=,escape, exec, hyprswitch --stop-daemon
	bindr=,escape, submap, reset
submap=reset

All CLI arguments under the Sorting related section only change the order of windows, not how they are displayed in the UI
The UI displays the windows based on their actual position to mimic your desktop.
v1.2.0 now shows the order of windows in the bottom right corner, but I have no plans to rewrite the UI to display the windows in the order they would be selected, (i also dont know how that should look with more than one window per workspace).

Hello again. This code snippet above used to trigger on release of Alt+Tab. However, the release functionality stopped working a week ago or so. Any ideas?

@aloispichler the Gui-keyboard config seems broken, it seems like the release of the modifier key doesn't close hyprswitch any more

Just switched to the git version of hyprland and it just works again (I use bindrt to close with the same key press that opened hyprswitch)

Here is another point: the GUI highlights the selected app by changing the color of its border to red. Using the laptop outdoors, this is often barely visible.

I made red a bit brighter, but the next release allows for custom css so you can just add ```css
.client_active {
border: 3px solid rgba(239, 9, 9, 0.94);
background-color: rgba(200, 9, 9, 0.80);
}
to a css file and include it with the new --custom-css flag

Looks nice and works well. Thank you!


[Bug] Persist docs performance issue

Resolves #608
Description
It appears that incremental catalog generation actually takes longer in databricks than generating the catalog all at once. This appears to be partially due to the column comment queries that are required while building the catalog. Running one query to build this all at once is faster once there is more than roughly 5 models. Given how small this break even number, and how infrequently it would be beneficial, it's probably a lot easier to simply turn off incremental catalog generation.
Checklist

[ ] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

Closed in favor of https://github.com/databricks/dbt-databricks/pull/616


Update query callbacks if the client changes

Fixes #83

Codecov Report

Merging #84 into master will not change coverage by %.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #84   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           16        16
  Lines          281       281
  Branches        54        54
=========================================
  Hits           281       281

Impacted Files
Coverage Δ

src/hooks/useMutation/useMutation.ts
100.00% <ø> (ø)

src/hooks/useQuery/useQuery.ts
100.00% <ø> (ø)

src/hooks/useSuspenseQuery/useSuspenseQuery.ts
100.00% <ø> (ø)

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 ffe7031...018a827. Read the comment docs.

Thanks @josejulio 👍


Allow types supporting String.Chars protocol to be used in string operations

Supports the use-case where a struct is assigned to a variable and might have string comparisons and/or filters performed on it.
For example:
{{ template.name | split: "." }}
{{ template | split: "." }}
{% if template.name contains "foo" %}bar{% endif %}
{% if template contains "foo" %}bar{% endif %}

In this case, template is a struct whose String.Chars implementation returns the name.
This is also inline with the Liquid gem behavior of calling to_s on variables before using them in string operations.

Thank you for this. I'm planning on doing another release in the next few days and will merge this in with the other fixes.


More inset aware component

Enhancement for https://github.com/google/accompanist/issues/207

Crash, because of measureInsetAwareState function in InsetAwareScaffold.
Close and wait for #409.


new gitea release 1.14.0

https://github.com/go-gitea/gitea/releases/tag/v1.14.0

I have to double check this one because it has a bunch of breaking changes, mainly about the fail2ban setup https://blog.gitea.io/2021/04/gitea-1.14.0-is-released/

This
https://github.com/thomas-maurice/ansible-role-gitea/blob/ed984bb95a5e5d00ea911c0efb5212d02613cfdb/templates/fail2ban/filter.conf.j2#L3
should be this
failregex =  .*(Failed authentication attempt|invalid credentials|Attempted access of unknown user).* from <HOST>
according to https://docs.gitea.io/en-us/fail2ban-setup/

https://github.com/go-gitea/gitea/releases/tag/v1.14.3 is there btw.

https://github.com/go-gitea/gitea/releases/tag/v1.14.5 is there btw.

You can push a new commit with the 1.14.6 now :)

BTW there is a more up to date gitea role at https://github.com/roles-ansible/ansible_role_gitea.git

Thank a lot, I'll be using this one for now :)


[Bug]: graceful shutdown not being set on manager

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
<EMAIL_ADDRESS>Version
1.21.0
What version of Kubernetes are you using?
1.28
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
YAML manifest
What happened?
I noticed that the smart shutdown is not being applied to the controller manager. This could cause hard stops to happen as the controller manager will still default to 30s if this is not implemented.
Cluster resource
No response
Relevant log output
No response
Code of Conduct

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

The fix for this issue has been reverted because it introduces a regression.
We need to discuss more about what we need to do to fix this issue.


CSOM SendEmail unreliable

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
We are using the method
Microsoft.SharePoint.Client.Utilities.Utility.SendEmail(ClientContext, EmailProperties)
to send mails from a backend web API hosted in Azure App Service to Office 365 users.
We are expecting to get all of those mails delivered to the recipient.
Observed Behavior
This works about 90% of the time. Sometimes it fails.
When it fails:
The subsequent call to ClientContext.ExecuteQuery() fails with an error stating that the IP of the sender has been banned:
Microsoft.SharePoint.Client.ServerException: Mailbox unavailable. The server response was: 5.7.606 Access denied, banned sending IP [<IP_ADDRESS>]. To request removal from this list please visit https://sender.office.com/ and follow the directions. For more information please go to  http://go.microsoft.com/fwlink/?LinkID=526655 (AS16012609) [DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com]
As this is happening on the Microsoft side, the banned IP is obviously not our server. It is one of Microsofts own mail servers. The IP address varies but the one mentioned above is the one that we mostly see in the error message. I also tried to delist it using the link from the error but that didn't help.
As I've said the mail is being sent by Microsoft's own servers. Interestingly some of those seem to be blacklisted at other Microsoft servers. We implemented a retry mechanism that seems to solve it because on the second or third try the mail will get sent by another server which is OK.
Also important to know:

All mails are sent to internal recipients known to the site (they are in the hidden user list) to which the ClientContext is connected.
The executed code is always the same and so are the recipients. The same mail sent to the same recipient sometimes just fails.
About 30 of those mails get sent per day - so it is not a matter of a massive number of mails. And they are not all sent at the same time. Sometimes 2 or 3 get sent at the same time.

Steps to Reproduce
Sadly it is hard to reproduce. In other words it's not like "do this" and then it fails.
Question
Is there anything we could do to avoid the blacklisted servers? This is still a test system and I'm afraid of using that in production as those mails are important and there's no guarantee that we won't get 3 times in a row on a blacklisted server.

Same issue here,
Using the method SendMail
var emailp = new EmailProperties();
emailp.To = to;
emailp.From = "";
emailp.Body = body;
emailp.Subject = subject;
Utility.SendEmail(ctx, emailp);
ctx.ExecuteQueryRetry();

We are getting the following exception:
Mailbox unavailable. The server response was: 5.7.606 Access denied, banned sending IP [xxx.xxx.xxx.xxx].
To request removal from this list please visit https://sender.office.com/ and follow the directions.
For more information please go to http://go.microsoft.com/fwlink/?LinkID=526655 (AS16012609) [VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com]

This has been happening for a while and delisting the IPs seems not to work at all....

The same issue happens here too, with an extra flavor: a random Unable to send to all recipients exception, even if is only a maximum of 5 email recipients and all of them have active and working internal accounts.

Same issue here but I'm using SharePoint REST API. Our custom solution sends two emails in sequence and the first one usually works but the second gets this Access denied error. This seems to have started a week or two ago? Before that, we never had any issues (even though we don't use this solution every day).
I don't think this is a problem in CSOM, but in the internal operations of SharePoint and Exchange Online where Microsoft basically has blacklisted themselves.

I also have the same issue, through REST - SP.Utilities.Utility.SendEmail.
I've tried removing the listing but when I next time got another IP in the error message I realized it would be a never ending job.

{
"readyState":4,
"responseText":"{
"error":{
"code":"-1,
System.Net.Mail.SmtpFailedRecipientException",
"message":{
"lang":"sv-SE",
"value":"Mailbox unavailable. The server response was: 5.7.606 Access denied, banned sending IP [<IP_ADDRESS>]. To request removal from this list please visit https://sender.office.com/ and follow the directions. For more information please go to  http://go.microsoft.com/fwlink/?LinkID=526655 (AS16012609) [AM5EUR03FT007.eop-EUR03.prod.protection.outlook.com]"
}
}
}",
"responseJSON":{
"error":{
"code":"-1,
System.Net.Mail.SmtpFailedRecipientException",
"message":{
"lang":"sv-SE",
"value":"Mailbox unavailable. The server response was: 5.7.606 Access denied, banned sending IP [<IP_ADDRESS>]. To request removal from this list please visit https://sender.office.com/ and follow the directions. For more information please go to  http://go.microsoft.com/fwlink/?LinkID=526655 (AS16012609) [AM5EUR03FT007.eop-EUR03.prod.protection.outlook.com]"
}
}
},
"status":500,
"statusText":"error"
}

The same here:

Error sending e-mailMicrosoft.SharePoint.Client.ServerException:
Mailbox unavailable. The server response was: 5.7.606 Access denied, banned sending IP [52.105.xxx.xxx]. To request removal from this list please visit https://sender.office.com/ and follow the directions. For more information please go to  http://go.microsoft.com/fwlink/?LinkID=526655 (AS16012609) [DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com]
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at ...

I wonder if it's related to: https://admin.microsoft.com/AdminPortal/Home#/MessageCenter?id=MC192693
Best regards
Tobias

Experiencing the same issues here.

Folks, I'm removing the "needs MS review" tag here as a team in Microsoft (Exchange) is already aware of the issue and has a workitem assigned to solve it (as mentioned before). Happy to leave this open here and close it once the fix has been reported to be deployed

I was wondering if there have been any updates on the ETA for the fix to address this issue?
We have tried numerous times using https://sender.office.com/ to delist the blocked IP’s but to no avail.

@proce
you'd better not bet on a fix for this issue. It's not like they'll have to code for weeks to correct it, it's just a matter of learning what a 'Whitelist' is and using it on their servers. They would have done it months ago if they had wanted to...


Error of syntax highliting when recognizing invert operator in python

Hi! I'm using vscode for python and found a problem.
I wrote something like:
from elasticsearch_dsl import Q

def missing(field: str) -> Q:
    return ~Q('exists', **{'field': field})

vscode highlights the ~ symbol with error bad operand type for unary ~: strpylint(invalid-unary-operand-type). But I can run this code and it works just fine.

The error message seems to think the return type of Q() is a string, can you confirm that is correct? Or perhaps you can cast return value into the type required before applying ~.

Q() returns specific type for elasticsearch_dsl query, it is definitely not a string. And this type(s) contains overload for __invert__, so I don't need to cast it to something else.

Please file this issue against the python extension


dblquad gives different results under scipy 0.17.1 and 0.18.1

We are seeing different results (leading to a test regression) when upgrading to scipy 0.18.1 from version 0.17.1.  The call that gives different results seems to be line 102 of https://github.com/clawpack/pyclaw/blob/master/examples/euler_3d/Sedov.py.  See also https://github.com/clawpack/pyclaw/issues/555.

@ketch there's a couple of bug fixes in 0.18.1, but it's not clear that those are wrong. Looking at your test result, it complains about:
norm of expected data: 71.8833212966
norm of test data    : 71.879558627
test error           : 0.0107725438014
reltol  : 1e-06

Are you sure that the expected result is correct? It seems to just be whatever dblquad gave you before.
If you do think that the results you got with 0.17.1 were more accurate, could you provide a reproducible example?

Thanks for your attention to this.
That's right. My concern is that, as far as I can tell, none of those fixes were intended to change the numerical values returned by dblquad.  So this appears to be an unintended change -- a bug.
Was one of those commits expected to change the return value?  If you could point me to it then I could see if it should improve things for my application.

The relevant commits are here: https://github.com/scipy/scipy/commits/master/scipy/integrate/quadpack.py --- some things appear indeed wrong eg epsrel/epsabs are ignored, which is probably the cause.

@pv Thanks, you're right!  We were also seeing a huge slowdown, which is explained by the fact that the error tolerances are ignored (you can see that in our code the tolerances are set very loose and we have to evaluate a large number of integrals.  This is definitely a bug.

Grr. This, gh-6898 and https://github.com/scipy/scipy/pull/6495 seem to make the case for a 0.18.2

I think gh-6495 is not super high prio, but if we can get this fixed well before we get to 0.19.0 then yes, agree that 0.18.2 makes sense.

Fixed by https://github.com/scipy/scipy/pull/6965.


Fix the ThroughputExceeded exception, add missing ones

The exception string used to raise ThroughputExceeded in the exception mapping was wrong.
Multiple exceptions were not mapped. Added the missing mappings.

Current coverage is 85.91%

Merging #3 into master will not affect coverage as of 27aa688

@@            master      #3   diff @@
======================================
  Files            4       4
  Stmts          291     291
  Branches        62      62
  Methods          0       0
======================================
  Hit            250     250
  Partial         14      14
  Missed          27      27

Review entire Coverage Diff as of 27aa688

Powered by Codecov. Updated on successful CI builds.

:+1:


Create MissingH1.md

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Tutorial is an unrecognized type, please add it to 'type_mapping' section in .openpublishing.publish.config.json.
Line 38: [Error] call W:\eroc-s.optemp\packages\opbuild.manifestprocessor.1.52.0-alpha-1368-g52be8ea\tools\Microsoft.OpenPublishing.Build.Applications.ManifestProcessor.exe to rewrite .manifest.json failed
Line 55: [Error] Call W:\eroc-s.optemp\packages\opbuild.scripts.1.52.0-alpha-1368-g52be8ea\tools\opbuild\manifest.processor.ps1 failed.
[Warning] Cannot find docset information for repository: f097c955-34e8-37a4-7384-716248eab8ad and docset name: e2eprod-azure-cli-docs. Please make sure the docset is correctly provisioned
[Warning] Multiple input files are attempting to write to the same output file "TOC.json". Please rename at least 1 of following input files to ensure no duplicate output files: "TOC.yml, TOC.md".
[Warning] Multiple input files are attempting to write to the same output file "TOC.mta.json". Please rename at least 1 of following input files to ensure no duplicate output files: "TOC.yml, TOC.md".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Handle direct deletion of StatefulSet

From @tamalsaha on May 30, 2017 22:16
Say, someone deletes the underlying StatefulSet directly. In that case, operator should mark the DB as Dormant. This will give an easy way to resume the DB.
Copied from original issue: kubedb/operator#53

Dup https://github.com/kubedb/project/issues/153


[Fix] Issue when the time is cleared if a date is selected

What changed?

Before
After

Time is set to 00:00:00
Time is now kept

If a date is selected then selecting the time closes the control
The control does now stays open

@punker76 this PR can be merged, if desired


quark-<IP_ADDRESS> on debian stretch

[...]
CXX      libquark_common_a-chainparams.o
chainparams.cpp: In constructor ‘CMainParams::CMainParams()’:
chainparams.cpp:193:52: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[PUBKEY_ADDRESS] = list_of(58);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:194:51: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[SCRIPT_ADDRESS] = list_of(9);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:195:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[SECRET_KEY] =     list_of(186);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:196:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:197:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp: In constructor ‘CTestNetParams::CTestNetParams()’:
chainparams.cpp:258:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[PUBKEY_ADDRESS] = list_of(119);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:259:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[SCRIPT_ADDRESS] = list_of(199);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:260:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[SECRET_KEY]     = list_of(247);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:261:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:262:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94);
^
In file included from /usr/include/c++/6/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
Makefile:3325: recipe for target 'libquark_common_a-chainparams.o' failed
make[2]: *** [libquark_common_a-chainparams.o] Error 1
make[2]: Leaving directory '/root/Work/quark-<IP_ADDRESS>/src'
Makefile:6646: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/Work/quark-<IP_ADDRESS>/src'
Makefile:573: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Me too

And me too


Implemented wandb entity configuration

Weights and biases organizes its runs across several entities (users or teams). Team entities allow several users to push related runs to the same place. This simple PR allows nanotron users to select which entity they would like to push their logs using the general.entity configuration.

wouldn't it make sense to submit it as a PR to the main nanotron codebase?

Well, I guess it could be useful in the main nanotron codebase. What kind of PRs should be submitted to swiss-ai/nanotron then?

If we submit upstream to the official nanotron codebase it might take a while. So do push things here.


ant deploy fails on buildCLI, following vagrant workflow

I'm not sure if this is a docker timeout problem, that needs to be increase more than 240s or that the docker host is dead
ant deploy

Error here
...
deploySlaves:
     [exec] The invoker hosts are [(0, '<IP_ADDRESS>', False)]
     [exec] Removing invoker0        at <IP_ADDRESS>:4243     0.1 sec   did nothing
     [exec] Skipping pull
     [exec] Starting invoker0        at <IP_ADDRESS>:4243     0.8 sec   SUCCEEDED
     [exec] Container 3f4477a118fb003a at <IP_ADDRESS>:4243     0.0 sec   SUCCEEDED
     [exec]   has imageId   sha256:f95ca34f5978089680f9f3c7b8ad43adf1c10d63ec8ee1befb3105bb471f4a4e
     [exec] Checking invoker0                                               15.3 sec   SUCCEEDED
     [exec] <IP_ADDRESS>:12001
     [exec] invoker0 is alive
     [exec]
     [exec] Tried to deploy 1 invokers. All done in 16.2 sec.

waitController:

waitComponent:
     [exec] controller is alive

waitActivator:

waitComponent:
     [exec] activator is alive

buildCLI:
    [mkdir] Created dir: /home/vagrant/openwhisk/build/tools/cli
     [copy] Copying 6 files to /home/vagrant/openwhisk/build/tools/cli
     [copy] Copying 40 files to /home/vagrant/openwhisk/build/tools/cli/openwhisk
     [move] Moving 1 file to /home/vagrant/openwhisk/build/tools/cli/openwhisk
     [move] Moving 1 file to /home/vagrant/openwhisk/build/tools/cli/openwhisk
     [exec] Wed May  4 19:04:50 UTC 2016
     [exec] With timeout 240, running:  docker  "build" "-t" "whisk/cli" "/home/vagrant/openwhisk/build/tools/cli"
     [exec] Cannot connect to the Docker daemon. Is the docker daemon running on this host?
     [exec] docker process has pid 12321
     [exec] 12321 pts/0    00:00:00 bash
     [exec] 12321 is still in the ps output. Must still be running.
     [exec] Docker process 12321 finished in time with status 1.
     [exec] Sleeping for 60 seconds to allow recovery (even though it wasn't killed)
     [exec] Done sleeping
     [exec] Wed May  4 19:05:55 UTC 2016
     [exec] With timeout 240, running:  docker  "build" "-t" "whisk/cli" "/home/vagrant/openwhisk/build/tools/cli"
     [exec] docker process has pid 13036
     [exec] 13036 pts/0    00:00:00 bash
     [exec] 13036 is still in the ps output. Must still be running.
     [exec] Cannot connect to the Docker daemon. Is the docker daemon running on this host?
     [exec] Docker process 13036 finished in time with status 1.
     [exec] Sleeping for 60 seconds to allow recovery (even though it wasn't killed)
     [exec] Cannot connect to the Docker daemon. Is the docker daemon running on this host?
     [exec] Done sleeping
     [exec] Wed May  4 19:07:00 UTC 2016
     [exec] With timeout 240, running:  docker  "build" "-t" "whisk/cli" "/home/vagrant/openwhisk/build/tools/cli"
     [exec] docker process has pid 13827
     [exec] 13827 pts/0    00:00:00 bash
     [exec] 13827 is still in the ps output. Must still be running.
     [exec] Docker process 13827 finished in time with status 1.
     [exec] Sleeping for 60 seconds to allow recovery (even though it wasn't killed)
     [exec] Done sleeping
     [exec] Wed May  4 19:08:05 UTC 2016
     [exec] With timeout 240, running:  docker  "build" "-t" "whisk/cli" "/home/vagrant/openwhisk/build/tools/cli"
     [exec] docker process has pid 14529
     [exec] 14529 pts/0    00:00:00 bash
     [exec] 14529 is still in the ps output. Must still be running.
     [exec] Cannot connect to the Docker daemon. Is the docker daemon running on this host?
     [exec] Docker process 14529 finished in time with status 1.
     [exec] Sleeping for 60 seconds to allow recovery (even though it wasn't killed)
     [exec] Cannot connect to the Docker daemon. Is the docker daemon running on this host?
     [exec] Done sleeping
     [exec] Wed May  4 19:09:10 UTC 2016
     [exec] With timeout 240, running:  docker  "build" "-t" "whisk/cli" "/home/vagrant/openwhisk/build/tools/cli"
     [exec] docker process has pid 15231
     [exec] 15231 pts/0    00:00:00 bash
     [exec] 15231 is still in the ps output. Must still be running.
     [exec] Docker process 15231 finished in time with status 1.
     [exec] Sleeping for 60 seconds to allow recovery (even though it wasn't killed)
     [exec] Done sleeping
     [exec] dockerWithRetry exiting with 1

BUILD FAILED
/home/vagrant/openwhisk/build.xml:55: The following error occurred while executing this line:
/home/vagrant/openwhisk/tools/cli/build.xml:44: exec returned: 1

Total time: 6 minutes 58 seconds

It's not ideal that the CLI is built as part of deploy (@markusthoemmes will want to weigh in here) but there is a container build step in the current setup and this looks like it timed out also. I think this is related to your other issue - and perhaps bumping the default timeout across the board is best.

@rabbah I ran ant reploy again and still failed
Then I did docker ps and I got the error Cannot connect to the Docker daemon. Is the docker daemon running on this host?
So I logout and vagrant reload and vagrant ssh and now docker host is running and docker ps worked.
So it looks like added a verifcation step in the README for the user to check that docker ps works before running ant deploy
The root cause would be to figure out why docker host is not running after a failure in build or deploy, but I was not sure which one was the culprit

If docker is not up ant build won't work either.

@rabbah thanks I'm closing this issue since I'm going to handle in #321 by telling user to check if docker host is running before running ant build


[release-v1.29] Allow query server talk to Prometheus

Description
This changeset allows Tigera query server talk to Prometheus to retrieve historical summary data. The extra Prometheus client certificate bundle is mounted into the queryserver container. When the request is made from queryserver to Prometheus, it will use the manager service account token to do authorization. Additional RBACs are added to the manager cluster role.
Pick https://github.com/tigera/operator/pull/2329 into release-v1.29 branch.
For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/merge-when-ready delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.


Snippet finish line

This adds coverage for everything which wasn't covered, save for the Compute and ResourceNameTrait snippets, which are addressed elsewhere.

Closes #295

Closes #285


Host contamination with flutter, dart, vpython and depot_tools

Each of the above listed tools attempt to store temporary data, configs, and build cache in directories outside of bitbake's control. These tend to be:

$HOME
$XDG_CONFIG_HOME
$XDG_CACHE_HOME
$XDG_DATA_HOME

This can negatively affect the reproducibility of build artifacts by allowing individual recipes to adjust global caches and configs.
To catch these accesses I use an immutable build container where the user's home directory is also read only.
This is the only layer in my testing that has recipes that attempt to interact with the users home directory.

Can you share more info on an immutable container?  I would like to switch to this in CI.  Then there is no need for more of these issues in the future.
thanks!

Yeah, I use the crops container as a starting point.  The ssh volume mount is just for some internal stuff. It can be ignored for general builds.
https://man.archlinux.org/man/podman-run.1#Running_container_in_read-only_mode

@StaticRocket cool thanks.  I’ll get this implemented before I head out of town on Thursday

resolved with https://github.com/meta-flutter/meta-flutter/pull/611


Try to fix visualiser CPU issue

This may be the fix to the visualiser CPU bug. Needs people to test!

Im getting this error, not sure if im doing something wrong. I can´t see the widget.
2023-11-11 14:25:24,184 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop: Traceback (most recent call last):   File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run     self._context.run(self._callback, *self._args)   File "/home/gibranlp/.local/lib/python3.11/site-packages/libqtile/core/manager.py", line 937, in f     func(*args)   File "/home/gibranlp/.local/lib/python3.11/site-packages/libqtile/bar.py", line 673, in _actual_draw     i.draw()   File "/usr/lib/python3.11/site-packages/qtile_extras/widget/visualiser.py", line 224, in draw     diff = t - self._last_time                ^^^^^^^^^^^^^^^   File "/home/gibranlp/.local/lib/python3.11/site-packages/libqtile/command/base.py", line 281, in __getattr__     raise AttributeError(f"{self.__class__} has no attribute {name}") AttributeError: <class 'qtile_extras.widget.visualiser.Visualiser'> has no attribute _last_time 2023-11-11 14:25:24,332 ERROR libqtile wlan.py:poll():L78 Wlan: Probably your wlan device is switched off or  otherwise not present in your system.

Hi,
i have the visualiser working since yesterday with no CPU issues, i have some issues with Mpris and Upower but i think its my system.

Im going to make a clean install of my system on this days and will try it again.
Cheers

That's amazing news. I'll tidy this up and get it merged then. Do let me know if you're still having issues with those other widgets.


Update Plugin Artifacts Links for v0.138.0

Automated changes by create-pull-request GitHub action

 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.


Simplifying some of the standard templates

For most of the standard templates (e.g. queue trigger, blob trigger) the templates should be a clean starting point, just receiving the trigger input, not performing convoluted operations on additional tables, etc. I shouldn't have to configure a table connection when starting from a queue template.
I think we're struggling with defining the difference between templates that people use day to day as starting points, v.s. samples that demonstrate different capabilities. I think many of the templates we have now are samples that should be moved to the samples repo.

@soninaren @christopheranderson @davidebbo

:shipit:

Merged


React-Router V7

Hello,
With the recent release of react-router v7 & remix being merged into the react-router codebase: just wondering if there are plans to follow the merge to RRv7?

https://github.com/remix-pwa/monorepo/issues/284


[ASTGen] Generalize findSyntaxNodeInSourceFile(wantOutermost:true)

When wantOutermost is true, keep looking the parent nodes as long as the position is the same as the innermost matching node, and return the last matching node found.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

included in https://github.com/apple/swift/pull/69761


Load Image

Add an option to upload an image from your computer to there.
adding an option to drop various custom images or pngs there.

I would like to work on this issue.

Add an option to upload an image from your computer to there.
adding an option to drop various custom images or pngs there.

Do you mean by export option?

No importing an diagram or something from your laptop to the canvas or the editor.

Thank you for assigning me this issue.

Thank you for assigning me this issue.

Do read the updated description above carefully before raising the PR.
You are assigned this for 4 days


Update tests for Find feature

Updating tests for related classes: StringUtil, FindCommand, FindCommandParser
Work in progress

Codecov Report

Merging #125 (e6fdded) into master (0eeb183) will increase coverage by 0.16%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #125      +/-   ##
============================================
+ Coverage     50.88%   51.04%   +0.16%
- Complexity      560      562       +2
============================================
  Files           113      113
  Lines          2443     2443
  Branches        292      292
============================================
+ Hits           1243     1247       +4
+ Misses         1119     1114       -5
- Partials         81       82       +1

Impacted Files
Coverage Δ

...in/java/seedu/address/commons/util/StringUtil.java
62.85% <0.00%> (+11.42%)
: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 0eeb183...e6fdded. Read the comment docs.


[5.7] Add Log::fake()

This PR introduces the ability to fake the logger, like you can with many other services during testing. There are a couple of instances where faking the logger can come in handy. I wanted to ensure that certain logging was happening in the Exception handler, depending on certain criteria in my tests. This fake helped me make that happen.
It takes into account the new logging system introduced in 5.6. I think the implementation (shown in the examples) is the way to go, but I'd say I'm a lightweight logger user, so feedback and criticisms to improve this is appreciated.
Basic example
Log::fake();

Log::alert('Donuts have arrived');

Log::assertLogged('alert', function ($message, $context) {
    return str_contains($message, 'Donuts');
});

Channels and stacks
My thinking with channels and stacks is that keeping them separated and checking them the way they are called on the facade makes for a more consistent experience, instead of passing through a string or stack array as another argument to the assert methods.
Channel example
Log::fake();

Log::channel('slack')->alert('Donuts have arrived');

Log::assertLogged('alert');  ❌ FAILS
Log::channel('slack')->assertLogged('alert');  ✅ PASSES

Stack example
Log::fake();

Log::stack(['bugsnag', 'sentry'])->alert('Donuts have arrived');

Log::assertLogged('alert'); ❌ FAILS
Log::stack(['bugsnag', 'sentry'])->assertLogged('alert');  ✅ PASSES
Log::stack(['sentry', 'bugsnag'])->assertLogged('alert');  ✅ PASSES

I put this up on laravel/ideas a while ago and it seems there are a few people out there that might benefit from this: https://github.com/laravel/ideas/issues/1084

Thanks heaps for taking the time to look over this!
I totally agree asserting nothing was logged doesn’t have any value.
So for real world example of when I actually used this kind of thing in a project: we started tracking, via Bugsnag, API throttle exceptions. Under the exception handler hood, Laravel makes these not be reported, so I wrote a test to make sure that, when hitting the API limit, the exception was using the logger to hit bugsnag, and then made the required adjustments needed to ensure the exceptions were reported in the handler.
But definately not something I’ve needed to do since, but when I did it was handy.

No worries Taylor, thanks for checking it out

For those wanting this, I’ll throw it in a package and you can still use it in your tests. Will post here when it is ready.

Here is the packaged version for anyone interested in this: https://github.com/timacdonald/log-fake

You can use MessageLogged event
\Event::fake();
\Event::assertDispatched(MessageLogged::class, function ($e) use ($message) {
    return $e->message === $message
});

its help to me, and this dont require package and Log::fake();
@timacdonald

@Hatsunyan Genius, genius everywhere ...


Refactor kustomize patches for interoperability

non-GVK'ded yaml files break some CM tools such as the very
kustomize/kpt cfg subcommand. Instead of removing the yaml extension,
which might be deceptive, inline the patches.
Proof: error in https://github.com/ContainerSolutions/trow/issues/183#issue-716028785

Ah, excellent. This looks great. Let me test it first, but this should be good to go.

@amouat Done. Please review https://github.com/ContainerSolutions/trow/pull/185/commits/6c9151371e7f925b465dcdeca726255cc53fd590

Looks good, thanks.


UI bug when switch account in case standing on the Token Detail screen

Describe the bug
UI bug when switch account in case standing on the Token Detail screen
To reproduce the behavior
Version test: v1.0.1 (134)
Steps:

Open the app
Stand on Substrate account
Search on Substrate token and go to the Token detail screen
Switch to EVM account then obsserve the screen displayed

Actual: UI bugs

Expect: Back to Homepage screen

Version test: v1.0.1(141)
Devices test: IP 11
Validation passed.


Build failure: octave (with packages/plugins)

Steps To Reproduce
Steps to reproduce the behavior:

include the following in your NixOS configuration:

environment.systemPackages = with pkgs; [
  (octaveFull.withPackages (packages: [ pkgs.symbolic <and your other plugins...> ]))
];

Build log
       error: function 'anonymous lambda' called with unexpected argument 'octavePackages'

       at /nix/store/4cpakzyvfw1rmm9v5i3387x6jd2h1v86-source/pkgs/development/interpreters/octave/build-env.nix:1:1:

            1| { lib, stdenv, octave, buildEnv
             | ^
            2| , makeWrapper, texinfo

Additional context
I believe this problem was caused by commit 63d05d9.
The file pkgs/development/interpreters/octave/build-env.nix was modified, removing the input octavePackages on line 3.
Apparently, this input was unused, but pkgs/development/interpreters/octave/default.nix calls the above file with this extra input on line 210.
I'm pretty new to NixOS and nix, but I think either of the following actions would fix the issue:

Remove the inherited octavePackages on line 210 of octave/default.nix, as it appears unused anyway
Re-add the missing octavePackages input to octave/build-env.nix

Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.43, NixOS, 24.11 (Vicuna), 24.11.20240802.d049530`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/920a6ivyd50598z8djw9x3mr33gys0j5-source`

Add a :+1: reaction to issues you find important.

This should be fixed by https://github.com/NixOS/nixpkgs/pull/332822

This should be fixed by #332822

Just saw that now! That should fix it, yeah. Thanks for pointing that out!


fixing the compilation error of the C++ interface on ubuntu

Hi,
I have had a compilation error in the C++ code on my mac and an ubuntu machine.
$ make

make: Warning: File `Makefile' has modification time 6.1e+04 s in the future
g++ -Wall -std=c++0x -g -c tinyxml2.cpp -o tinyxml2.o -w -I/windflo/C++ -O2
g++ -Wall -std=c++0x -g -c WindScenario.cpp -o WindScenario.o -w -I/windflo/C++ -O2
g++ -Wall -std=c++0x -g -c WindFarmLayoutEvaluator.cpp -o WindFarmLayoutEvaluator.o -w -I/windflo/C++ -O2
g++ -Wall -std=c++0x -g -c KusiakLayoutEvaluator.cpp -o KusiakLayoutEvaluator.o -w -I/windflo/C++ -O2
KusiakLayoutEvaluator.cpp: In member function 'virtual double KusiakLayoutEvaluator::evaluate(Matrix<double>*)':
KusiakLayoutEvaluator.cpp:33:24: error: 'numeric_limits' is not a member of 'std'
   if (wfr <= 0) return std::numeric_limits<double>::max();
                        ^
KusiakLayoutEvaluator.cpp:33:44: error: expected primary-expression before 'double'
   if (wfr <= 0) return std::numeric_limits<double>::max();
                                            ^
KusiakLayoutEvaluator.cpp:33:44: error: expected ';' before 'double'
KusiakLayoutEvaluator.cpp:33:50: error: expected unqualified-id before '>' token
   if (wfr <= 0) return std::numeric_limits<double>::max();
                                                  ^
make: *** [KusiakLayoutEvaluator.o] Error 1

I just had to add #include <limits> in C++/KusiakLayoutEvaluator.h

Hi @rethore, thanks for your work here. As this pull request also included your Python folder, I simply patched this in e96ecebdaf611b91a46879eb6a813b6f5e2e0d5e

Yes, I didn't intend to have the more recent commits in this pull request. I have made a python wrapper for the C++ API. It's working fine for my purpose, but I haven't wrapped the GA. If you are interested to add the Python wrapper to your list of API's I can add the GA wrapper. I can also prepare a simple Python script equivalent in to your basic example so that the Python API mirror the other ones.

I'm glad you've got that; it looks nice. We've discussed having a python API, but are hoping for a pure python implementation.